1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/gst-plugins-nuvdemux/COPYING Tue Oct 24 15:02:26 2006 +0100
1.3 @@ -0,0 +1,340 @@
1.4 + GNU GENERAL PUBLIC LICENSE
1.5 + Version 2, June 1991
1.6 +
1.7 + Copyright (C) 1989, 1991 Free Software Foundation, Inc.
1.8 + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1.9 + Everyone is permitted to copy and distribute verbatim copies
1.10 + of this license document, but changing it is not allowed.
1.11 +
1.12 + Preamble
1.13 +
1.14 + The licenses for most software are designed to take away your
1.15 +freedom to share and change it. By contrast, the GNU General Public
1.16 +License is intended to guarantee your freedom to share and change free
1.17 +software--to make sure the software is free for all its users. This
1.18 +General Public License applies to most of the Free Software
1.19 +Foundation's software and to any other program whose authors commit to
1.20 +using it. (Some other Free Software Foundation software is covered by
1.21 +the GNU Library General Public License instead.) You can apply it to
1.22 +your programs, too.
1.23 +
1.24 + When we speak of free software, we are referring to freedom, not
1.25 +price. Our General Public Licenses are designed to make sure that you
1.26 +have the freedom to distribute copies of free software (and charge for
1.27 +this service if you wish), that you receive source code or can get it
1.28 +if you want it, that you can change the software or use pieces of it
1.29 +in new free programs; and that you know you can do these things.
1.30 +
1.31 + To protect your rights, we need to make restrictions that forbid
1.32 +anyone to deny you these rights or to ask you to surrender the rights.
1.33 +These restrictions translate to certain responsibilities for you if you
1.34 +distribute copies of the software, or if you modify it.
1.35 +
1.36 + For example, if you distribute copies of such a program, whether
1.37 +gratis or for a fee, you must give the recipients all the rights that
1.38 +you have. You must make sure that they, too, receive or can get the
1.39 +source code. And you must show them these terms so they know their
1.40 +rights.
1.41 +
1.42 + We protect your rights with two steps: (1) copyright the software, and
1.43 +(2) offer you this license which gives you legal permission to copy,
1.44 +distribute and/or modify the software.
1.45 +
1.46 + Also, for each author's protection and ours, we want to make certain
1.47 +that everyone understands that there is no warranty for this free
1.48 +software. If the software is modified by someone else and passed on, we
1.49 +want its recipients to know that what they have is not the original, so
1.50 +that any problems introduced by others will not reflect on the original
1.51 +authors' reputations.
1.52 +
1.53 + Finally, any free program is threatened constantly by software
1.54 +patents. We wish to avoid the danger that redistributors of a free
1.55 +program will individually obtain patent licenses, in effect making the
1.56 +program proprietary. To prevent this, we have made it clear that any
1.57 +patent must be licensed for everyone's free use or not licensed at all.
1.58 +
1.59 + The precise terms and conditions for copying, distribution and
1.60 +modification follow.
1.61 +
1.62 + GNU GENERAL PUBLIC LICENSE
1.63 + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1.64 +
1.65 + 0. This License applies to any program or other work which contains
1.66 +a notice placed by the copyright holder saying it may be distributed
1.67 +under the terms of this General Public License. The "Program", below,
1.68 +refers to any such program or work, and a "work based on the Program"
1.69 +means either the Program or any derivative work under copyright law:
1.70 +that is to say, a work containing the Program or a portion of it,
1.71 +either verbatim or with modifications and/or translated into another
1.72 +language. (Hereinafter, translation is included without limitation in
1.73 +the term "modification".) Each licensee is addressed as "you".
1.74 +
1.75 +Activities other than copying, distribution and modification are not
1.76 +covered by this License; they are outside its scope. The act of
1.77 +running the Program is not restricted, and the output from the Program
1.78 +is covered only if its contents constitute a work based on the
1.79 +Program (independent of having been made by running the Program).
1.80 +Whether that is true depends on what the Program does.
1.81 +
1.82 + 1. You may copy and distribute verbatim copies of the Program's
1.83 +source code as you receive it, in any medium, provided that you
1.84 +conspicuously and appropriately publish on each copy an appropriate
1.85 +copyright notice and disclaimer of warranty; keep intact all the
1.86 +notices that refer to this License and to the absence of any warranty;
1.87 +and give any other recipients of the Program a copy of this License
1.88 +along with the Program.
1.89 +
1.90 +You may charge a fee for the physical act of transferring a copy, and
1.91 +you may at your option offer warranty protection in exchange for a fee.
1.92 +
1.93 + 2. You may modify your copy or copies of the Program or any portion
1.94 +of it, thus forming a work based on the Program, and copy and
1.95 +distribute such modifications or work under the terms of Section 1
1.96 +above, provided that you also meet all of these conditions:
1.97 +
1.98 + a) You must cause the modified files to carry prominent notices
1.99 + stating that you changed the files and the date of any change.
1.100 +
1.101 + b) You must cause any work that you distribute or publish, that in
1.102 + whole or in part contains or is derived from the Program or any
1.103 + part thereof, to be licensed as a whole at no charge to all third
1.104 + parties under the terms of this License.
1.105 +
1.106 + c) If the modified program normally reads commands interactively
1.107 + when run, you must cause it, when started running for such
1.108 + interactive use in the most ordinary way, to print or display an
1.109 + announcement including an appropriate copyright notice and a
1.110 + notice that there is no warranty (or else, saying that you provide
1.111 + a warranty) and that users may redistribute the program under
1.112 + these conditions, and telling the user how to view a copy of this
1.113 + License. (Exception: if the Program itself is interactive but
1.114 + does not normally print such an announcement, your work based on
1.115 + the Program is not required to print an announcement.)
1.116 +
1.117 +These requirements apply to the modified work as a whole. If
1.118 +identifiable sections of that work are not derived from the Program,
1.119 +and can be reasonably considered independent and separate works in
1.120 +themselves, then this License, and its terms, do not apply to those
1.121 +sections when you distribute them as separate works. But when you
1.122 +distribute the same sections as part of a whole which is a work based
1.123 +on the Program, the distribution of the whole must be on the terms of
1.124 +this License, whose permissions for other licensees extend to the
1.125 +entire whole, and thus to each and every part regardless of who wrote it.
1.126 +
1.127 +Thus, it is not the intent of this section to claim rights or contest
1.128 +your rights to work written entirely by you; rather, the intent is to
1.129 +exercise the right to control the distribution of derivative or
1.130 +collective works based on the Program.
1.131 +
1.132 +In addition, mere aggregation of another work not based on the Program
1.133 +with the Program (or with a work based on the Program) on a volume of
1.134 +a storage or distribution medium does not bring the other work under
1.135 +the scope of this License.
1.136 +
1.137 + 3. You may copy and distribute the Program (or a work based on it,
1.138 +under Section 2) in object code or executable form under the terms of
1.139 +Sections 1 and 2 above provided that you also do one of the following:
1.140 +
1.141 + a) Accompany it with the complete corresponding machine-readable
1.142 + source code, which must be distributed under the terms of Sections
1.143 + 1 and 2 above on a medium customarily used for software interchange; or,
1.144 +
1.145 + b) Accompany it with a written offer, valid for at least three
1.146 + years, to give any third party, for a charge no more than your
1.147 + cost of physically performing source distribution, a complete
1.148 + machine-readable copy of the corresponding source code, to be
1.149 + distributed under the terms of Sections 1 and 2 above on a medium
1.150 + customarily used for software interchange; or,
1.151 +
1.152 + c) Accompany it with the information you received as to the offer
1.153 + to distribute corresponding source code. (This alternative is
1.154 + allowed only for noncommercial distribution and only if you
1.155 + received the program in object code or executable form with such
1.156 + an offer, in accord with Subsection b above.)
1.157 +
1.158 +The source code for a work means the preferred form of the work for
1.159 +making modifications to it. For an executable work, complete source
1.160 +code means all the source code for all modules it contains, plus any
1.161 +associated interface definition files, plus the scripts used to
1.162 +control compilation and installation of the executable. However, as a
1.163 +special exception, the source code distributed need not include
1.164 +anything that is normally distributed (in either source or binary
1.165 +form) with the major components (compiler, kernel, and so on) of the
1.166 +operating system on which the executable runs, unless that component
1.167 +itself accompanies the executable.
1.168 +
1.169 +If distribution of executable or object code is made by offering
1.170 +access to copy from a designated place, then offering equivalent
1.171 +access to copy the source code from the same place counts as
1.172 +distribution of the source code, even though third parties are not
1.173 +compelled to copy the source along with the object code.
1.174 +
1.175 + 4. You may not copy, modify, sublicense, or distribute the Program
1.176 +except as expressly provided under this License. Any attempt
1.177 +otherwise to copy, modify, sublicense or distribute the Program is
1.178 +void, and will automatically terminate your rights under this License.
1.179 +However, parties who have received copies, or rights, from you under
1.180 +this License will not have their licenses terminated so long as such
1.181 +parties remain in full compliance.
1.182 +
1.183 + 5. You are not required to accept this License, since you have not
1.184 +signed it. However, nothing else grants you permission to modify or
1.185 +distribute the Program or its derivative works. These actions are
1.186 +prohibited by law if you do not accept this License. Therefore, by
1.187 +modifying or distributing the Program (or any work based on the
1.188 +Program), you indicate your acceptance of this License to do so, and
1.189 +all its terms and conditions for copying, distributing or modifying
1.190 +the Program or works based on it.
1.191 +
1.192 + 6. Each time you redistribute the Program (or any work based on the
1.193 +Program), the recipient automatically receives a license from the
1.194 +original licensor to copy, distribute or modify the Program subject to
1.195 +these terms and conditions. You may not impose any further
1.196 +restrictions on the recipients' exercise of the rights granted herein.
1.197 +You are not responsible for enforcing compliance by third parties to
1.198 +this License.
1.199 +
1.200 + 7. If, as a consequence of a court judgment or allegation of patent
1.201 +infringement or for any other reason (not limited to patent issues),
1.202 +conditions are imposed on you (whether by court order, agreement or
1.203 +otherwise) that contradict the conditions of this License, they do not
1.204 +excuse you from the conditions of this License. If you cannot
1.205 +distribute so as to satisfy simultaneously your obligations under this
1.206 +License and any other pertinent obligations, then as a consequence you
1.207 +may not distribute the Program at all. For example, if a patent
1.208 +license would not permit royalty-free redistribution of the Program by
1.209 +all those who receive copies directly or indirectly through you, then
1.210 +the only way you could satisfy both it and this License would be to
1.211 +refrain entirely from distribution of the Program.
1.212 +
1.213 +If any portion of this section is held invalid or unenforceable under
1.214 +any particular circumstance, the balance of the section is intended to
1.215 +apply and the section as a whole is intended to apply in other
1.216 +circumstances.
1.217 +
1.218 +It is not the purpose of this section to induce you to infringe any
1.219 +patents or other property right claims or to contest validity of any
1.220 +such claims; this section has the sole purpose of protecting the
1.221 +integrity of the free software distribution system, which is
1.222 +implemented by public license practices. Many people have made
1.223 +generous contributions to the wide range of software distributed
1.224 +through that system in reliance on consistent application of that
1.225 +system; it is up to the author/donor to decide if he or she is willing
1.226 +to distribute software through any other system and a licensee cannot
1.227 +impose that choice.
1.228 +
1.229 +This section is intended to make thoroughly clear what is believed to
1.230 +be a consequence of the rest of this License.
1.231 +
1.232 + 8. If the distribution and/or use of the Program is restricted in
1.233 +certain countries either by patents or by copyrighted interfaces, the
1.234 +original copyright holder who places the Program under this License
1.235 +may add an explicit geographical distribution limitation excluding
1.236 +those countries, so that distribution is permitted only in or among
1.237 +countries not thus excluded. In such case, this License incorporates
1.238 +the limitation as if written in the body of this License.
1.239 +
1.240 + 9. The Free Software Foundation may publish revised and/or new versions
1.241 +of the General Public License from time to time. Such new versions will
1.242 +be similar in spirit to the present version, but may differ in detail to
1.243 +address new problems or concerns.
1.244 +
1.245 +Each version is given a distinguishing version number. If the Program
1.246 +specifies a version number of this License which applies to it and "any
1.247 +later version", you have the option of following the terms and conditions
1.248 +either of that version or of any later version published by the Free
1.249 +Software Foundation. If the Program does not specify a version number of
1.250 +this License, you may choose any version ever published by the Free Software
1.251 +Foundation.
1.252 +
1.253 + 10. If you wish to incorporate parts of the Program into other free
1.254 +programs whose distribution conditions are different, write to the author
1.255 +to ask for permission. For software which is copyrighted by the Free
1.256 +Software Foundation, write to the Free Software Foundation; we sometimes
1.257 +make exceptions for this. Our decision will be guided by the two goals
1.258 +of preserving the free status of all derivatives of our free software and
1.259 +of promoting the sharing and reuse of software generally.
1.260 +
1.261 + NO WARRANTY
1.262 +
1.263 + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
1.264 +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
1.265 +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
1.266 +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
1.267 +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1.268 +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
1.269 +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
1.270 +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
1.271 +REPAIR OR CORRECTION.
1.272 +
1.273 + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1.274 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1.275 +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1.276 +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1.277 +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
1.278 +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
1.279 +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
1.280 +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1.281 +POSSIBILITY OF SUCH DAMAGES.
1.282 +
1.283 + END OF TERMS AND CONDITIONS
1.284 +
1.285 + How to Apply These Terms to Your New Programs
1.286 +
1.287 + If you develop a new program, and you want it to be of the greatest
1.288 +possible use to the public, the best way to achieve this is to make it
1.289 +free software which everyone can redistribute and change under these terms.
1.290 +
1.291 + To do so, attach the following notices to the program. It is safest
1.292 +to attach them to the start of each source file to most effectively
1.293 +convey the exclusion of warranty; and each file should have at least
1.294 +the "copyright" line and a pointer to where the full notice is found.
1.295 +
1.296 + <one line to give the program's name and a brief idea of what it does.>
1.297 + Copyright (C) <year> <name of author>
1.298 +
1.299 + This program is free software; you can redistribute it and/or modify
1.300 + it under the terms of the GNU General Public License as published by
1.301 + the Free Software Foundation; either version 2 of the License, or
1.302 + (at your option) any later version.
1.303 +
1.304 + This program is distributed in the hope that it will be useful,
1.305 + but WITHOUT ANY WARRANTY; without even the implied warranty of
1.306 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.307 + GNU General Public License for more details.
1.308 +
1.309 + You should have received a copy of the GNU General Public License
1.310 + along with this program; if not, write to the Free Software
1.311 + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1.312 +
1.313 +
1.314 +Also add information on how to contact you by electronic and paper mail.
1.315 +
1.316 +If the program is interactive, make it output a short notice like this
1.317 +when it starts in an interactive mode:
1.318 +
1.319 + Gnomovision version 69, Copyright (C) year name of author
1.320 + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1.321 + This is free software, and you are welcome to redistribute it
1.322 + under certain conditions; type `show c' for details.
1.323 +
1.324 +The hypothetical commands `show w' and `show c' should show the appropriate
1.325 +parts of the General Public License. Of course, the commands you use may
1.326 +be called something other than `show w' and `show c'; they could even be
1.327 +mouse-clicks or menu items--whatever suits your program.
1.328 +
1.329 +You should also get your employer (if you work as a programmer) or your
1.330 +school, if any, to sign a "copyright disclaimer" for the program, if
1.331 +necessary. Here is a sample; alter the names:
1.332 +
1.333 + Yoyodyne, Inc., hereby disclaims all copyright interest in the program
1.334 + `Gnomovision' (which makes passes at compilers) written by James Hacker.
1.335 +
1.336 + <signature of Ty Coon>, 1 April 1989
1.337 + Ty Coon, President of Vice
1.338 +
1.339 +This General Public License does not permit incorporating your program into
1.340 +proprietary programs. If your program is a subroutine library, you may
1.341 +consider it more useful to permit linking proprietary applications with the
1.342 +library. If this is what you want to do, use the GNU Library General
1.343 +Public License instead of this License.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/gst-plugins-nuvdemux/INSTALL Tue Oct 24 15:02:26 2006 +0100
2.3 @@ -0,0 +1,229 @@
2.4 +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
2.5 +Foundation, Inc.
2.6 +
2.7 + This file is free documentation; the Free Software Foundation gives
2.8 +unlimited permission to copy, distribute and modify it.
2.9 +
2.10 +Basic Installation
2.11 +==================
2.12 +
2.13 + These are generic installation instructions.
2.14 +
2.15 + The `configure' shell script attempts to guess correct values for
2.16 +various system-dependent variables used during compilation. It uses
2.17 +those values to create a `Makefile' in each directory of the package.
2.18 +It may also create one or more `.h' files containing system-dependent
2.19 +definitions. Finally, it creates a shell script `config.status' that
2.20 +you can run in the future to recreate the current configuration, and a
2.21 +file `config.log' containing compiler output (useful mainly for
2.22 +debugging `configure').
2.23 +
2.24 + It can also use an optional file (typically called `config.cache'
2.25 +and enabled with `--cache-file=config.cache' or simply `-C') that saves
2.26 +the results of its tests to speed up reconfiguring. (Caching is
2.27 +disabled by default to prevent problems with accidental use of stale
2.28 +cache files.)
2.29 +
2.30 + If you need to do unusual things to compile the package, please try
2.31 +to figure out how `configure' could check whether to do them, and mail
2.32 +diffs or instructions to the address given in the `README' so they can
2.33 +be considered for the next release. If you are using the cache, and at
2.34 +some point `config.cache' contains results you don't want to keep, you
2.35 +may remove or edit it.
2.36 +
2.37 + The file `configure.ac' (or `configure.in') is used to create
2.38 +`configure' by a program called `autoconf'. You only need
2.39 +`configure.ac' if you want to change it or regenerate `configure' using
2.40 +a newer version of `autoconf'.
2.41 +
2.42 +The simplest way to compile this package is:
2.43 +
2.44 + 1. `cd' to the directory containing the package's source code and type
2.45 + `./configure' to configure the package for your system. If you're
2.46 + using `csh' on an old version of System V, you might need to type
2.47 + `sh ./configure' instead to prevent `csh' from trying to execute
2.48 + `configure' itself.
2.49 +
2.50 + Running `configure' takes awhile. While running, it prints some
2.51 + messages telling which features it is checking for.
2.52 +
2.53 + 2. Type `make' to compile the package.
2.54 +
2.55 + 3. Optionally, type `make check' to run any self-tests that come with
2.56 + the package.
2.57 +
2.58 + 4. Type `make install' to install the programs and any data files and
2.59 + documentation.
2.60 +
2.61 + 5. You can remove the program binaries and object files from the
2.62 + source code directory by typing `make clean'. To also remove the
2.63 + files that `configure' created (so you can compile the package for
2.64 + a different kind of computer), type `make distclean'. There is
2.65 + also a `make maintainer-clean' target, but that is intended mainly
2.66 + for the package's developers. If you use it, you may have to get
2.67 + all sorts of other programs in order to regenerate files that came
2.68 + with the distribution.
2.69 +
2.70 +Compilers and Options
2.71 +=====================
2.72 +
2.73 + Some systems require unusual options for compilation or linking that
2.74 +the `configure' script does not know about. Run `./configure --help'
2.75 +for details on some of the pertinent environment variables.
2.76 +
2.77 + You can give `configure' initial values for configuration parameters
2.78 +by setting variables in the command line or in the environment. Here
2.79 +is an example:
2.80 +
2.81 + ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
2.82 +
2.83 + *Note Defining Variables::, for more details.
2.84 +
2.85 +Compiling For Multiple Architectures
2.86 +====================================
2.87 +
2.88 + You can compile the package for more than one kind of computer at the
2.89 +same time, by placing the object files for each architecture in their
2.90 +own directory. To do this, you must use a version of `make' that
2.91 +supports the `VPATH' variable, such as GNU `make'. `cd' to the
2.92 +directory where you want the object files and executables to go and run
2.93 +the `configure' script. `configure' automatically checks for the
2.94 +source code in the directory that `configure' is in and in `..'.
2.95 +
2.96 + If you have to use a `make' that does not support the `VPATH'
2.97 +variable, you have to compile the package for one architecture at a
2.98 +time in the source code directory. After you have installed the
2.99 +package for one architecture, use `make distclean' before reconfiguring
2.100 +for another architecture.
2.101 +
2.102 +Installation Names
2.103 +==================
2.104 +
2.105 + By default, `make install' will install the package's files in
2.106 +`/usr/local/bin', `/usr/local/man', etc. You can specify an
2.107 +installation prefix other than `/usr/local' by giving `configure' the
2.108 +option `--prefix=PATH'.
2.109 +
2.110 + You can specify separate installation prefixes for
2.111 +architecture-specific files and architecture-independent files. If you
2.112 +give `configure' the option `--exec-prefix=PATH', the package will use
2.113 +PATH as the prefix for installing programs and libraries.
2.114 +Documentation and other data files will still use the regular prefix.
2.115 +
2.116 + In addition, if you use an unusual directory layout you can give
2.117 +options like `--bindir=PATH' to specify different values for particular
2.118 +kinds of files. Run `configure --help' for a list of the directories
2.119 +you can set and what kinds of files go in them.
2.120 +
2.121 + If the package supports it, you can cause programs to be installed
2.122 +with an extra prefix or suffix on their names by giving `configure' the
2.123 +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
2.124 +
2.125 +Optional Features
2.126 +=================
2.127 +
2.128 + Some packages pay attention to `--enable-FEATURE' options to
2.129 +`configure', where FEATURE indicates an optional part of the package.
2.130 +They may also pay attention to `--with-PACKAGE' options, where PACKAGE
2.131 +is something like `gnu-as' or `x' (for the X Window System). The
2.132 +`README' should mention any `--enable-' and `--with-' options that the
2.133 +package recognizes.
2.134 +
2.135 + For packages that use the X Window System, `configure' can usually
2.136 +find the X include and library files automatically, but if it doesn't,
2.137 +you can use the `configure' options `--x-includes=DIR' and
2.138 +`--x-libraries=DIR' to specify their locations.
2.139 +
2.140 +Specifying the System Type
2.141 +==========================
2.142 +
2.143 + There may be some features `configure' cannot figure out
2.144 +automatically, but needs to determine by the type of machine the package
2.145 +will run on. Usually, assuming the package is built to be run on the
2.146 +_same_ architectures, `configure' can figure that out, but if it prints
2.147 +a message saying it cannot guess the machine type, give it the
2.148 +`--build=TYPE' option. TYPE can either be a short name for the system
2.149 +type, such as `sun4', or a canonical name which has the form:
2.150 +
2.151 + CPU-COMPANY-SYSTEM
2.152 +
2.153 +where SYSTEM can have one of these forms:
2.154 +
2.155 + OS KERNEL-OS
2.156 +
2.157 + See the file `config.sub' for the possible values of each field. If
2.158 +`config.sub' isn't included in this package, then this package doesn't
2.159 +need to know the machine type.
2.160 +
2.161 + If you are _building_ compiler tools for cross-compiling, you should
2.162 +use the `--target=TYPE' option to select the type of system they will
2.163 +produce code for.
2.164 +
2.165 + If you want to _use_ a cross compiler, that generates code for a
2.166 +platform different from the build platform, you should specify the
2.167 +"host" platform (i.e., that on which the generated programs will
2.168 +eventually be run) with `--host=TYPE'.
2.169 +
2.170 +Sharing Defaults
2.171 +================
2.172 +
2.173 + If you want to set default values for `configure' scripts to share,
2.174 +you can create a site shell script called `config.site' that gives
2.175 +default values for variables like `CC', `cache_file', and `prefix'.
2.176 +`configure' looks for `PREFIX/share/config.site' if it exists, then
2.177 +`PREFIX/etc/config.site' if it exists. Or, you can set the
2.178 +`CONFIG_SITE' environment variable to the location of the site script.
2.179 +A warning: not all `configure' scripts look for a site script.
2.180 +
2.181 +Defining Variables
2.182 +==================
2.183 +
2.184 + Variables not defined in a site shell script can be set in the
2.185 +environment passed to `configure'. However, some packages may run
2.186 +configure again during the build, and the customized values of these
2.187 +variables may be lost. In order to avoid this problem, you should set
2.188 +them in the `configure' command line, using `VAR=value'. For example:
2.189 +
2.190 + ./configure CC=/usr/local2/bin/gcc
2.191 +
2.192 +will cause the specified gcc to be used as the C compiler (unless it is
2.193 +overridden in the site shell script).
2.194 +
2.195 +`configure' Invocation
2.196 +======================
2.197 +
2.198 + `configure' recognizes the following options to control how it
2.199 +operates.
2.200 +
2.201 +`--help'
2.202 +`-h'
2.203 + Print a summary of the options to `configure', and exit.
2.204 +
2.205 +`--version'
2.206 +`-V'
2.207 + Print the version of Autoconf used to generate the `configure'
2.208 + script, and exit.
2.209 +
2.210 +`--cache-file=FILE'
2.211 + Enable the cache: use and save the results of the tests in FILE,
2.212 + traditionally `config.cache'. FILE defaults to `/dev/null' to
2.213 + disable caching.
2.214 +
2.215 +`--config-cache'
2.216 +`-C'
2.217 + Alias for `--cache-file=config.cache'.
2.218 +
2.219 +`--quiet'
2.220 +`--silent'
2.221 +`-q'
2.222 + Do not print messages saying which checks are being made. To
2.223 + suppress all normal output, redirect it to `/dev/null' (any error
2.224 + messages will still be shown).
2.225 +
2.226 +`--srcdir=DIR'
2.227 + Look for the package's source code in directory DIR. Usually
2.228 + `configure' can determine that directory automatically.
2.229 +
2.230 +`configure' also accepts some other, not widely useful, options. Run
2.231 +`configure --help' for more details.
2.232 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/gst-plugins-nuvdemux/Makefile.am Tue Oct 24 15:02:26 2006 +0100
3.3 @@ -0,0 +1,4 @@
3.4 +ACLOCAL_AMFLAGS = -I m4
3.5 +
3.6 +SUBDIRS = src
3.7 +DIST_SUBDIRS = src m4
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/gst-plugins-nuvdemux/aclocal.m4 Tue Oct 24 15:02:26 2006 +0100
4.3 @@ -0,0 +1,7228 @@
4.4 +# generated automatically by aclocal 1.8.5 -*- Autoconf -*-
4.5 +
4.6 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
4.7 +# Free Software Foundation, Inc.
4.8 +# This file is free software; the Free Software Foundation
4.9 +# gives unlimited permission to copy and/or distribute it,
4.10 +# with or without modifications, as long as this notice is preserved.
4.11 +
4.12 +# This program is distributed in the hope that it will be useful,
4.13 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
4.14 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
4.15 +# PARTICULAR PURPOSE.
4.16 +
4.17 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
4.18 +
4.19 +# serial 47 AC_PROG_LIBTOOL
4.20 +
4.21 +
4.22 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
4.23 +# -----------------------------------------------------------
4.24 +# If this macro is not defined by Autoconf, define it here.
4.25 +m4_ifdef([AC_PROVIDE_IFELSE],
4.26 + [],
4.27 + [m4_define([AC_PROVIDE_IFELSE],
4.28 + [m4_ifdef([AC_PROVIDE_$1],
4.29 + [$2], [$3])])])
4.30 +
4.31 +
4.32 +# AC_PROG_LIBTOOL
4.33 +# ---------------
4.34 +AC_DEFUN([AC_PROG_LIBTOOL],
4.35 +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
4.36 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
4.37 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
4.38 + AC_PROVIDE_IFELSE([AC_PROG_CXX],
4.39 + [AC_LIBTOOL_CXX],
4.40 + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
4.41 + ])])
4.42 +dnl And a similar setup for Fortran 77 support
4.43 + AC_PROVIDE_IFELSE([AC_PROG_F77],
4.44 + [AC_LIBTOOL_F77],
4.45 + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
4.46 +])])
4.47 +
4.48 +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
4.49 +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
4.50 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
4.51 + AC_PROVIDE_IFELSE([AC_PROG_GCJ],
4.52 + [AC_LIBTOOL_GCJ],
4.53 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
4.54 + [AC_LIBTOOL_GCJ],
4.55 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
4.56 + [AC_LIBTOOL_GCJ],
4.57 + [ifdef([AC_PROG_GCJ],
4.58 + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
4.59 + ifdef([A][M_PROG_GCJ],
4.60 + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
4.61 + ifdef([LT_AC_PROG_GCJ],
4.62 + [define([LT_AC_PROG_GCJ],
4.63 + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
4.64 +])])# AC_PROG_LIBTOOL
4.65 +
4.66 +
4.67 +# _AC_PROG_LIBTOOL
4.68 +# ----------------
4.69 +AC_DEFUN([_AC_PROG_LIBTOOL],
4.70 +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
4.71 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
4.72 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
4.73 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
4.74 +
4.75 +# This can be used to rebuild libtool when needed
4.76 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
4.77 +
4.78 +# Always use our own libtool.
4.79 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4.80 +AC_SUBST(LIBTOOL)dnl
4.81 +
4.82 +# Prevent multiple expansion
4.83 +define([AC_PROG_LIBTOOL], [])
4.84 +])# _AC_PROG_LIBTOOL
4.85 +
4.86 +
4.87 +# AC_LIBTOOL_SETUP
4.88 +# ----------------
4.89 +AC_DEFUN([AC_LIBTOOL_SETUP],
4.90 +[AC_PREREQ(2.50)dnl
4.91 +AC_REQUIRE([AC_ENABLE_SHARED])dnl
4.92 +AC_REQUIRE([AC_ENABLE_STATIC])dnl
4.93 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
4.94 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
4.95 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
4.96 +AC_REQUIRE([AC_PROG_CC])dnl
4.97 +AC_REQUIRE([AC_PROG_LD])dnl
4.98 +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
4.99 +AC_REQUIRE([AC_PROG_NM])dnl
4.100 +
4.101 +AC_REQUIRE([AC_PROG_LN_S])dnl
4.102 +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
4.103 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4.104 +AC_REQUIRE([AC_OBJEXT])dnl
4.105 +AC_REQUIRE([AC_EXEEXT])dnl
4.106 +dnl
4.107 +
4.108 +AC_LIBTOOL_SYS_MAX_CMD_LEN
4.109 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
4.110 +AC_LIBTOOL_OBJDIR
4.111 +
4.112 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
4.113 +_LT_AC_PROG_ECHO_BACKSLASH
4.114 +
4.115 +case $host_os in
4.116 +aix3*)
4.117 + # AIX sometimes has problems with the GCC collect2 program. For some
4.118 + # reason, if we set the COLLECT_NAMES environment variable, the problems
4.119 + # vanish in a puff of smoke.
4.120 + if test "X${COLLECT_NAMES+set}" != Xset; then
4.121 + COLLECT_NAMES=
4.122 + export COLLECT_NAMES
4.123 + fi
4.124 + ;;
4.125 +esac
4.126 +
4.127 +# Sed substitution that helps us do robust quoting. It backslashifies
4.128 +# metacharacters that are still active within double-quoted strings.
4.129 +Xsed='sed -e 1s/^X//'
4.130 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
4.131 +
4.132 +# Same as above, but do not quote variable references.
4.133 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
4.134 +
4.135 +# Sed substitution to delay expansion of an escaped shell variable in a
4.136 +# double_quote_subst'ed string.
4.137 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4.138 +
4.139 +# Sed substitution to avoid accidental globbing in evaled expressions
4.140 +no_glob_subst='s/\*/\\\*/g'
4.141 +
4.142 +# Constants:
4.143 +rm="rm -f"
4.144 +
4.145 +# Global variables:
4.146 +default_ofile=libtool
4.147 +can_build_shared=yes
4.148 +
4.149 +# All known linkers require a `.a' archive for static linking (except MSVC,
4.150 +# which needs '.lib').
4.151 +libext=a
4.152 +ltmain="$ac_aux_dir/ltmain.sh"
4.153 +ofile="$default_ofile"
4.154 +with_gnu_ld="$lt_cv_prog_gnu_ld"
4.155 +
4.156 +AC_CHECK_TOOL(AR, ar, false)
4.157 +AC_CHECK_TOOL(RANLIB, ranlib, :)
4.158 +AC_CHECK_TOOL(STRIP, strip, :)
4.159 +
4.160 +old_CC="$CC"
4.161 +old_CFLAGS="$CFLAGS"
4.162 +
4.163 +# Set sane defaults for various variables
4.164 +test -z "$AR" && AR=ar
4.165 +test -z "$AR_FLAGS" && AR_FLAGS=cru
4.166 +test -z "$AS" && AS=as
4.167 +test -z "$CC" && CC=cc
4.168 +test -z "$LTCC" && LTCC=$CC
4.169 +test -z "$DLLTOOL" && DLLTOOL=dlltool
4.170 +test -z "$LD" && LD=ld
4.171 +test -z "$LN_S" && LN_S="ln -s"
4.172 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
4.173 +test -z "$NM" && NM=nm
4.174 +test -z "$SED" && SED=sed
4.175 +test -z "$OBJDUMP" && OBJDUMP=objdump
4.176 +test -z "$RANLIB" && RANLIB=:
4.177 +test -z "$STRIP" && STRIP=:
4.178 +test -z "$ac_objext" && ac_objext=o
4.179 +
4.180 +# Determine commands to create old-style static archives.
4.181 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4.182 +old_postinstall_cmds='chmod 644 $oldlib'
4.183 +old_postuninstall_cmds=
4.184 +
4.185 +if test -n "$RANLIB"; then
4.186 + case $host_os in
4.187 + openbsd*)
4.188 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
4.189 + ;;
4.190 + *)
4.191 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
4.192 + ;;
4.193 + esac
4.194 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4.195 +fi
4.196 +
4.197 +_LT_CC_BASENAME([$compiler])
4.198 +
4.199 +# Only perform the check for file, if the check method requires it
4.200 +case $deplibs_check_method in
4.201 +file_magic*)
4.202 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4.203 + AC_PATH_MAGIC
4.204 + fi
4.205 + ;;
4.206 +esac
4.207 +
4.208 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
4.209 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
4.210 +enable_win32_dll=yes, enable_win32_dll=no)
4.211 +
4.212 +AC_ARG_ENABLE([libtool-lock],
4.213 + [AC_HELP_STRING([--disable-libtool-lock],
4.214 + [avoid locking (might break parallel builds)])])
4.215 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4.216 +
4.217 +AC_ARG_WITH([pic],
4.218 + [AC_HELP_STRING([--with-pic],
4.219 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
4.220 + [pic_mode="$withval"],
4.221 + [pic_mode=default])
4.222 +test -z "$pic_mode" && pic_mode=default
4.223 +
4.224 +# Use C for the default configuration in the libtool script
4.225 +tagname=
4.226 +AC_LIBTOOL_LANG_C_CONFIG
4.227 +_LT_AC_TAGCONFIG
4.228 +])# AC_LIBTOOL_SETUP
4.229 +
4.230 +
4.231 +# _LT_AC_SYS_COMPILER
4.232 +# -------------------
4.233 +AC_DEFUN([_LT_AC_SYS_COMPILER],
4.234 +[AC_REQUIRE([AC_PROG_CC])dnl
4.235 +
4.236 +# If no C compiler was specified, use CC.
4.237 +LTCC=${LTCC-"$CC"}
4.238 +
4.239 +# Allow CC to be a program name with arguments.
4.240 +compiler=$CC
4.241 +])# _LT_AC_SYS_COMPILER
4.242 +
4.243 +
4.244 +# _LT_CC_BASENAME(CC)
4.245 +# -------------------
4.246 +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
4.247 +AC_DEFUN([_LT_CC_BASENAME],
4.248 +[for cc_temp in $1""; do
4.249 + case $cc_temp in
4.250 + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
4.251 + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
4.252 + \-*) ;;
4.253 + *) break;;
4.254 + esac
4.255 +done
4.256 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
4.257 +])
4.258 +
4.259 +
4.260 +# _LT_COMPILER_BOILERPLATE
4.261 +# ------------------------
4.262 +# Check for compiler boilerplate output or warnings with
4.263 +# the simple compiler test code.
4.264 +AC_DEFUN([_LT_COMPILER_BOILERPLATE],
4.265 +[ac_outfile=conftest.$ac_objext
4.266 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
4.267 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
4.268 +_lt_compiler_boilerplate=`cat conftest.err`
4.269 +$rm conftest*
4.270 +])# _LT_COMPILER_BOILERPLATE
4.271 +
4.272 +
4.273 +# _LT_LINKER_BOILERPLATE
4.274 +# ----------------------
4.275 +# Check for linker boilerplate output or warnings with
4.276 +# the simple link test code.
4.277 +AC_DEFUN([_LT_LINKER_BOILERPLATE],
4.278 +[ac_outfile=conftest.$ac_objext
4.279 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
4.280 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
4.281 +_lt_linker_boilerplate=`cat conftest.err`
4.282 +$rm conftest*
4.283 +])# _LT_LINKER_BOILERPLATE
4.284 +
4.285 +
4.286 +# _LT_AC_SYS_LIBPATH_AIX
4.287 +# ----------------------
4.288 +# Links a minimal program and checks the executable
4.289 +# for the system default hardcoded library path. In most cases,
4.290 +# this is /usr/lib:/lib, but when the MPI compilers are used
4.291 +# the location of the communication and MPI libs are included too.
4.292 +# If we don't find anything, use the default library path according
4.293 +# to the aix ld manual.
4.294 +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
4.295 +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
4.296 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
4.297 +}'`
4.298 +# Check for a 64-bit object if we didn't find anything.
4.299 +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; }
4.300 +}'`; fi],[])
4.301 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
4.302 +])# _LT_AC_SYS_LIBPATH_AIX
4.303 +
4.304 +
4.305 +# _LT_AC_SHELL_INIT(ARG)
4.306 +# ----------------------
4.307 +AC_DEFUN([_LT_AC_SHELL_INIT],
4.308 +[ifdef([AC_DIVERSION_NOTICE],
4.309 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
4.310 + [AC_DIVERT_PUSH(NOTICE)])
4.311 +$1
4.312 +AC_DIVERT_POP
4.313 +])# _LT_AC_SHELL_INIT
4.314 +
4.315 +
4.316 +# _LT_AC_PROG_ECHO_BACKSLASH
4.317 +# --------------------------
4.318 +# Add some code to the start of the generated configure script which
4.319 +# will find an echo command which doesn't interpret backslashes.
4.320 +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
4.321 +[_LT_AC_SHELL_INIT([
4.322 +# Check that we are running under the correct shell.
4.323 +SHELL=${CONFIG_SHELL-/bin/sh}
4.324 +
4.325 +case X$ECHO in
4.326 +X*--fallback-echo)
4.327 + # Remove one level of quotation (which was required for Make).
4.328 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
4.329 + ;;
4.330 +esac
4.331 +
4.332 +echo=${ECHO-echo}
4.333 +if test "X[$]1" = X--no-reexec; then
4.334 + # Discard the --no-reexec flag, and continue.
4.335 + shift
4.336 +elif test "X[$]1" = X--fallback-echo; then
4.337 + # Avoid inline document here, it may be left over
4.338 + :
4.339 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
4.340 + # Yippee, $echo works!
4.341 + :
4.342 +else
4.343 + # Restart under the correct shell.
4.344 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
4.345 +fi
4.346 +
4.347 +if test "X[$]1" = X--fallback-echo; then
4.348 + # used as fallback echo
4.349 + shift
4.350 + cat <<EOF
4.351 +[$]*
4.352 +EOF
4.353 + exit 0
4.354 +fi
4.355 +
4.356 +# The HP-UX ksh and POSIX shell print the target directory to stdout
4.357 +# if CDPATH is set.
4.358 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4.359 +
4.360 +if test -z "$ECHO"; then
4.361 +if test "X${echo_test_string+set}" != Xset; then
4.362 +# find a string as large as possible, as long as the shell can cope with it
4.363 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
4.364 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
4.365 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
4.366 + echo_test_string=`eval $cmd` &&
4.367 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
4.368 + then
4.369 + break
4.370 + fi
4.371 + done
4.372 +fi
4.373 +
4.374 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
4.375 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
4.376 + test "X$echo_testing_string" = "X$echo_test_string"; then
4.377 + :
4.378 +else
4.379 + # The Solaris, AIX, and Digital Unix default echo programs unquote
4.380 + # backslashes. This makes it impossible to quote backslashes using
4.381 + # echo "$something" | sed 's/\\/\\\\/g'
4.382 + #
4.383 + # So, first we look for a working echo in the user's PATH.
4.384 +
4.385 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4.386 + for dir in $PATH /usr/ucb; do
4.387 + IFS="$lt_save_ifs"
4.388 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
4.389 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
4.390 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
4.391 + test "X$echo_testing_string" = "X$echo_test_string"; then
4.392 + echo="$dir/echo"
4.393 + break
4.394 + fi
4.395 + done
4.396 + IFS="$lt_save_ifs"
4.397 +
4.398 + if test "X$echo" = Xecho; then
4.399 + # We didn't find a better echo, so look for alternatives.
4.400 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
4.401 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
4.402 + test "X$echo_testing_string" = "X$echo_test_string"; then
4.403 + # This shell has a builtin print -r that does the trick.
4.404 + echo='print -r'
4.405 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
4.406 + test "X$CONFIG_SHELL" != X/bin/ksh; then
4.407 + # If we have ksh, try running configure again with it.
4.408 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4.409 + export ORIGINAL_CONFIG_SHELL
4.410 + CONFIG_SHELL=/bin/ksh
4.411 + export CONFIG_SHELL
4.412 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
4.413 + else
4.414 + # Try using printf.
4.415 + echo='printf %s\n'
4.416 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
4.417 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
4.418 + test "X$echo_testing_string" = "X$echo_test_string"; then
4.419 + # Cool, printf works
4.420 + :
4.421 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
4.422 + test "X$echo_testing_string" = 'X\t' &&
4.423 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
4.424 + test "X$echo_testing_string" = "X$echo_test_string"; then
4.425 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
4.426 + export CONFIG_SHELL
4.427 + SHELL="$CONFIG_SHELL"
4.428 + export SHELL
4.429 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
4.430 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
4.431 + test "X$echo_testing_string" = 'X\t' &&
4.432 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
4.433 + test "X$echo_testing_string" = "X$echo_test_string"; then
4.434 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
4.435 + else
4.436 + # maybe with a smaller string...
4.437 + prev=:
4.438 +
4.439 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
4.440 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
4.441 + then
4.442 + break
4.443 + fi
4.444 + prev="$cmd"
4.445 + done
4.446 +
4.447 + if test "$prev" != 'sed 50q "[$]0"'; then
4.448 + echo_test_string=`eval $prev`
4.449 + export echo_test_string
4.450 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
4.451 + else
4.452 + # Oops. We lost completely, so just stick with echo.
4.453 + echo=echo
4.454 + fi
4.455 + fi
4.456 + fi
4.457 + fi
4.458 +fi
4.459 +fi
4.460 +
4.461 +# Copy echo and quote the copy suitably for passing to libtool from
4.462 +# the Makefile, instead of quoting the original, which is used later.
4.463 +ECHO=$echo
4.464 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
4.465 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
4.466 +fi
4.467 +
4.468 +AC_SUBST(ECHO)
4.469 +])])# _LT_AC_PROG_ECHO_BACKSLASH
4.470 +
4.471 +
4.472 +# _LT_AC_LOCK
4.473 +# -----------
4.474 +AC_DEFUN([_LT_AC_LOCK],
4.475 +[AC_ARG_ENABLE([libtool-lock],
4.476 + [AC_HELP_STRING([--disable-libtool-lock],
4.477 + [avoid locking (might break parallel builds)])])
4.478 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4.479 +
4.480 +# Some flags need to be propagated to the compiler or linker for good
4.481 +# libtool support.
4.482 +case $host in
4.483 +ia64-*-hpux*)
4.484 + # Find out which ABI we are using.
4.485 + echo 'int i;' > conftest.$ac_ext
4.486 + if AC_TRY_EVAL(ac_compile); then
4.487 + case `/usr/bin/file conftest.$ac_objext` in
4.488 + *ELF-32*)
4.489 + HPUX_IA64_MODE="32"
4.490 + ;;
4.491 + *ELF-64*)
4.492 + HPUX_IA64_MODE="64"
4.493 + ;;
4.494 + esac
4.495 + fi
4.496 + rm -rf conftest*
4.497 + ;;
4.498 +*-*-irix6*)
4.499 + # Find out which ABI we are using.
4.500 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
4.501 + if AC_TRY_EVAL(ac_compile); then
4.502 + if test "$lt_cv_prog_gnu_ld" = yes; then
4.503 + case `/usr/bin/file conftest.$ac_objext` in
4.504 + *32-bit*)
4.505 + LD="${LD-ld} -melf32bsmip"
4.506 + ;;
4.507 + *N32*)
4.508 + LD="${LD-ld} -melf32bmipn32"
4.509 + ;;
4.510 + *64-bit*)
4.511 + LD="${LD-ld} -melf64bmip"
4.512 + ;;
4.513 + esac
4.514 + else
4.515 + case `/usr/bin/file conftest.$ac_objext` in
4.516 + *32-bit*)
4.517 + LD="${LD-ld} -32"
4.518 + ;;
4.519 + *N32*)
4.520 + LD="${LD-ld} -n32"
4.521 + ;;
4.522 + *64-bit*)
4.523 + LD="${LD-ld} -64"
4.524 + ;;
4.525 + esac
4.526 + fi
4.527 + fi
4.528 + rm -rf conftest*
4.529 + ;;
4.530 +
4.531 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4.532 + # Find out which ABI we are using.
4.533 + echo 'int i;' > conftest.$ac_ext
4.534 + if AC_TRY_EVAL(ac_compile); then
4.535 + case `/usr/bin/file conftest.o` in
4.536 + *32-bit*)
4.537 + case $host in
4.538 + x86_64-*linux*)
4.539 + LD="${LD-ld} -m elf_i386"
4.540 + ;;
4.541 + ppc64-*linux*|powerpc64-*linux*)
4.542 + LD="${LD-ld} -m elf32ppclinux"
4.543 + ;;
4.544 + s390x-*linux*)
4.545 + LD="${LD-ld} -m elf_s390"
4.546 + ;;
4.547 + sparc64-*linux*)
4.548 + LD="${LD-ld} -m elf32_sparc"
4.549 + ;;
4.550 + esac
4.551 + ;;
4.552 + *64-bit*)
4.553 + case $host in
4.554 + x86_64-*linux*)
4.555 + LD="${LD-ld} -m elf_x86_64"
4.556 + ;;
4.557 + ppc*-*linux*|powerpc*-*linux*)
4.558 + LD="${LD-ld} -m elf64ppc"
4.559 + ;;
4.560 + s390*-*linux*)
4.561 + LD="${LD-ld} -m elf64_s390"
4.562 + ;;
4.563 + sparc*-*linux*)
4.564 + LD="${LD-ld} -m elf64_sparc"
4.565 + ;;
4.566 + esac
4.567 + ;;
4.568 + esac
4.569 + fi
4.570 + rm -rf conftest*
4.571 + ;;
4.572 +
4.573 +*-*-sco3.2v5*)
4.574 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4.575 + SAVE_CFLAGS="$CFLAGS"
4.576 + CFLAGS="$CFLAGS -belf"
4.577 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
4.578 + [AC_LANG_PUSH(C)
4.579 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
4.580 + AC_LANG_POP])
4.581 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4.582 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4.583 + CFLAGS="$SAVE_CFLAGS"
4.584 + fi
4.585 + ;;
4.586 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
4.587 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4.588 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
4.589 + AC_CHECK_TOOL(AS, as, false)
4.590 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
4.591 + ;;
4.592 + ])
4.593 +esac
4.594 +
4.595 +need_locks="$enable_libtool_lock"
4.596 +
4.597 +])# _LT_AC_LOCK
4.598 +
4.599 +
4.600 +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
4.601 +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
4.602 +# ----------------------------------------------------------------
4.603 +# Check whether the given compiler option works
4.604 +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
4.605 +[AC_REQUIRE([LT_AC_PROG_SED])
4.606 +AC_CACHE_CHECK([$1], [$2],
4.607 + [$2=no
4.608 + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
4.609 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
4.610 + lt_compiler_flag="$3"
4.611 + # Insert the option either (1) after the last *FLAGS variable, or
4.612 + # (2) before a word containing "conftest.", or (3) at the end.
4.613 + # Note that $ac_compile itself does not contain backslashes and begins
4.614 + # with a dollar sign (not a hyphen), so the echo should work correctly.
4.615 + # The option is referenced via a variable to avoid confusing sed.
4.616 + lt_compile=`echo "$ac_compile" | $SED \
4.617 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
4.618 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
4.619 + -e 's:$: $lt_compiler_flag:'`
4.620 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
4.621 + (eval "$lt_compile" 2>conftest.err)
4.622 + ac_status=$?
4.623 + cat conftest.err >&AS_MESSAGE_LOG_FD
4.624 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
4.625 + if (exit $ac_status) && test -s "$ac_outfile"; then
4.626 + # The compiler can only warn and ignore the option if not recognized
4.627 + # So say no if there are warnings other than the usual output.
4.628 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
4.629 + $SED '/^$/d' conftest.err >conftest.er2
4.630 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
4.631 + $2=yes
4.632 + fi
4.633 + fi
4.634 + $rm conftest*
4.635 +])
4.636 +
4.637 +if test x"[$]$2" = xyes; then
4.638 + ifelse([$5], , :, [$5])
4.639 +else
4.640 + ifelse([$6], , :, [$6])
4.641 +fi
4.642 +])# AC_LIBTOOL_COMPILER_OPTION
4.643 +
4.644 +
4.645 +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
4.646 +# [ACTION-SUCCESS], [ACTION-FAILURE])
4.647 +# ------------------------------------------------------------
4.648 +# Check whether the given compiler option works
4.649 +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
4.650 +[AC_CACHE_CHECK([$1], [$2],
4.651 + [$2=no
4.652 + save_LDFLAGS="$LDFLAGS"
4.653 + LDFLAGS="$LDFLAGS $3"
4.654 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
4.655 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
4.656 + # The linker can only warn and ignore the option if not recognized
4.657 + # So say no if there are warnings
4.658 + if test -s conftest.err; then
4.659 + # Append any errors to the config.log.
4.660 + cat conftest.err 1>&AS_MESSAGE_LOG_FD
4.661 + $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
4.662 + $SED '/^$/d' conftest.err >conftest.er2
4.663 + if diff conftest.exp conftest.er2 >/dev/null; then
4.664 + $2=yes
4.665 + fi
4.666 + else
4.667 + $2=yes
4.668 + fi
4.669 + fi
4.670 + $rm conftest*
4.671 + LDFLAGS="$save_LDFLAGS"
4.672 +])
4.673 +
4.674 +if test x"[$]$2" = xyes; then
4.675 + ifelse([$4], , :, [$4])
4.676 +else
4.677 + ifelse([$5], , :, [$5])
4.678 +fi
4.679 +])# AC_LIBTOOL_LINKER_OPTION
4.680 +
4.681 +
4.682 +# AC_LIBTOOL_SYS_MAX_CMD_LEN
4.683 +# --------------------------
4.684 +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
4.685 +[# find the maximum length of command line arguments
4.686 +AC_MSG_CHECKING([the maximum length of command line arguments])
4.687 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
4.688 + i=0
4.689 + teststring="ABCD"
4.690 +
4.691 + case $build_os in
4.692 + msdosdjgpp*)
4.693 + # On DJGPP, this test can blow up pretty badly due to problems in libc
4.694 + # (any single argument exceeding 2000 bytes causes a buffer overrun
4.695 + # during glob expansion). Even if it were fixed, the result of this
4.696 + # check would be larger than it should be.
4.697 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
4.698 + ;;
4.699 +
4.700 + gnu*)
4.701 + # Under GNU Hurd, this test is not required because there is
4.702 + # no limit to the length of command line arguments.
4.703 + # Libtool will interpret -1 as no limit whatsoever
4.704 + lt_cv_sys_max_cmd_len=-1;
4.705 + ;;
4.706 +
4.707 + cygwin* | mingw*)
4.708 + # On Win9x/ME, this test blows up -- it succeeds, but takes
4.709 + # about 5 minutes as the teststring grows exponentially.
4.710 + # Worse, since 9x/ME are not pre-emptively multitasking,
4.711 + # you end up with a "frozen" computer, even though with patience
4.712 + # the test eventually succeeds (with a max line length of 256k).
4.713 + # Instead, let's just punt: use the minimum linelength reported by
4.714 + # all of the supported platforms: 8192 (on NT/2K/XP).
4.715 + lt_cv_sys_max_cmd_len=8192;
4.716 + ;;
4.717 +
4.718 + amigaos*)
4.719 + # On AmigaOS with pdksh, this test takes hours, literally.
4.720 + # So we just punt and use a minimum line length of 8192.
4.721 + lt_cv_sys_max_cmd_len=8192;
4.722 + ;;
4.723 +
4.724 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4.725 + # This has been around since 386BSD, at least. Likely further.
4.726 + if test -x /sbin/sysctl; then
4.727 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4.728 + elif test -x /usr/sbin/sysctl; then
4.729 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4.730 + else
4.731 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4.732 + fi
4.733 + # And add a safety zone
4.734 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4.735 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4.736 + ;;
4.737 + osf*)
4.738 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4.739 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4.740 + # nice to cause kernel panics so lets avoid the loop below.
4.741 + # First set a reasonable default.
4.742 + lt_cv_sys_max_cmd_len=16384
4.743 + #
4.744 + if test -x /sbin/sysconfig; then
4.745 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4.746 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
4.747 + esac
4.748 + fi
4.749 + ;;
4.750 + *)
4.751 + # If test is not a shell built-in, we'll probably end up computing a
4.752 + # maximum length that is only half of the actual maximum length, but
4.753 + # we can't tell.
4.754 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4.755 + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
4.756 + = "XX$teststring") >/dev/null 2>&1 &&
4.757 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
4.758 + lt_cv_sys_max_cmd_len=$new_result &&
4.759 + test $i != 17 # 1/2 MB should be enough
4.760 + do
4.761 + i=`expr $i + 1`
4.762 + teststring=$teststring$teststring
4.763 + done
4.764 + teststring=
4.765 + # Add a significant safety factor because C++ compilers can tack on massive
4.766 + # amounts of additional arguments before passing them to the linker.
4.767 + # It appears as though 1/2 is a usable value.
4.768 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4.769 + ;;
4.770 + esac
4.771 +])
4.772 +if test -n $lt_cv_sys_max_cmd_len ; then
4.773 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
4.774 +else
4.775 + AC_MSG_RESULT(none)
4.776 +fi
4.777 +])# AC_LIBTOOL_SYS_MAX_CMD_LEN
4.778 +
4.779 +
4.780 +# _LT_AC_CHECK_DLFCN
4.781 +# --------------------
4.782 +AC_DEFUN([_LT_AC_CHECK_DLFCN],
4.783 +[AC_CHECK_HEADERS(dlfcn.h)dnl
4.784 +])# _LT_AC_CHECK_DLFCN
4.785 +
4.786 +
4.787 +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
4.788 +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
4.789 +# ------------------------------------------------------------------
4.790 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
4.791 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
4.792 +if test "$cross_compiling" = yes; then :
4.793 + [$4]
4.794 +else
4.795 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4.796 + lt_status=$lt_dlunknown
4.797 + cat > conftest.$ac_ext <<EOF
4.798 +[#line __oline__ "configure"
4.799 +#include "confdefs.h"
4.800 +
4.801 +#if HAVE_DLFCN_H
4.802 +#include <dlfcn.h>
4.803 +#endif
4.804 +
4.805 +#include <stdio.h>
4.806 +
4.807 +#ifdef RTLD_GLOBAL
4.808 +# define LT_DLGLOBAL RTLD_GLOBAL
4.809 +#else
4.810 +# ifdef DL_GLOBAL
4.811 +# define LT_DLGLOBAL DL_GLOBAL
4.812 +# else
4.813 +# define LT_DLGLOBAL 0
4.814 +# endif
4.815 +#endif
4.816 +
4.817 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
4.818 + find out it does not work in some platform. */
4.819 +#ifndef LT_DLLAZY_OR_NOW
4.820 +# ifdef RTLD_LAZY
4.821 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
4.822 +# else
4.823 +# ifdef DL_LAZY
4.824 +# define LT_DLLAZY_OR_NOW DL_LAZY
4.825 +# else
4.826 +# ifdef RTLD_NOW
4.827 +# define LT_DLLAZY_OR_NOW RTLD_NOW
4.828 +# else
4.829 +# ifdef DL_NOW
4.830 +# define LT_DLLAZY_OR_NOW DL_NOW
4.831 +# else
4.832 +# define LT_DLLAZY_OR_NOW 0
4.833 +# endif
4.834 +# endif
4.835 +# endif
4.836 +# endif
4.837 +#endif
4.838 +
4.839 +#ifdef __cplusplus
4.840 +extern "C" void exit (int);
4.841 +#endif
4.842 +
4.843 +void fnord() { int i=42;}
4.844 +int main ()
4.845 +{
4.846 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
4.847 + int status = $lt_dlunknown;
4.848 +
4.849 + if (self)
4.850 + {
4.851 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
4.852 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
4.853 + /* dlclose (self); */
4.854 + }
4.855 +
4.856 + exit (status);
4.857 +}]
4.858 +EOF
4.859 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
4.860 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
4.861 + lt_status=$?
4.862 + case x$lt_status in
4.863 + x$lt_dlno_uscore) $1 ;;
4.864 + x$lt_dlneed_uscore) $2 ;;
4.865 + x$lt_unknown|x*) $3 ;;
4.866 + esac
4.867 + else :
4.868 + # compilation failed
4.869 + $3
4.870 + fi
4.871 +fi
4.872 +rm -fr conftest*
4.873 +])# _LT_AC_TRY_DLOPEN_SELF
4.874 +
4.875 +
4.876 +# AC_LIBTOOL_DLOPEN_SELF
4.877 +# -------------------
4.878 +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
4.879 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
4.880 +if test "x$enable_dlopen" != xyes; then
4.881 + enable_dlopen=unknown
4.882 + enable_dlopen_self=unknown
4.883 + enable_dlopen_self_static=unknown
4.884 +else
4.885 + lt_cv_dlopen=no
4.886 + lt_cv_dlopen_libs=
4.887 +
4.888 + case $host_os in
4.889 + beos*)
4.890 + lt_cv_dlopen="load_add_on"
4.891 + lt_cv_dlopen_libs=
4.892 + lt_cv_dlopen_self=yes
4.893 + ;;
4.894 +
4.895 + mingw* | pw32*)
4.896 + lt_cv_dlopen="LoadLibrary"
4.897 + lt_cv_dlopen_libs=
4.898 + ;;
4.899 +
4.900 + cygwin*)
4.901 + lt_cv_dlopen="dlopen"
4.902 + lt_cv_dlopen_libs=
4.903 + ;;
4.904 +
4.905 + darwin*)
4.906 + # if libdl is installed we need to link against it
4.907 + AC_CHECK_LIB([dl], [dlopen],
4.908 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
4.909 + lt_cv_dlopen="dyld"
4.910 + lt_cv_dlopen_libs=
4.911 + lt_cv_dlopen_self=yes
4.912 + ])
4.913 + ;;
4.914 +
4.915 + *)
4.916 + AC_CHECK_FUNC([shl_load],
4.917 + [lt_cv_dlopen="shl_load"],
4.918 + [AC_CHECK_LIB([dld], [shl_load],
4.919 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
4.920 + [AC_CHECK_FUNC([dlopen],
4.921 + [lt_cv_dlopen="dlopen"],
4.922 + [AC_CHECK_LIB([dl], [dlopen],
4.923 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
4.924 + [AC_CHECK_LIB([svld], [dlopen],
4.925 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
4.926 + [AC_CHECK_LIB([dld], [dld_link],
4.927 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
4.928 + ])
4.929 + ])
4.930 + ])
4.931 + ])
4.932 + ])
4.933 + ;;
4.934 + esac
4.935 +
4.936 + if test "x$lt_cv_dlopen" != xno; then
4.937 + enable_dlopen=yes
4.938 + else
4.939 + enable_dlopen=no
4.940 + fi
4.941 +
4.942 + case $lt_cv_dlopen in
4.943 + dlopen)
4.944 + save_CPPFLAGS="$CPPFLAGS"
4.945 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
4.946 +
4.947 + save_LDFLAGS="$LDFLAGS"
4.948 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
4.949 +
4.950 + save_LIBS="$LIBS"
4.951 + LIBS="$lt_cv_dlopen_libs $LIBS"
4.952 +
4.953 + AC_CACHE_CHECK([whether a program can dlopen itself],
4.954 + lt_cv_dlopen_self, [dnl
4.955 + _LT_AC_TRY_DLOPEN_SELF(
4.956 + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
4.957 + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
4.958 + ])
4.959 +
4.960 + if test "x$lt_cv_dlopen_self" = xyes; then
4.961 + LDFLAGS="$LDFLAGS $link_static_flag"
4.962 + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
4.963 + lt_cv_dlopen_self_static, [dnl
4.964 + _LT_AC_TRY_DLOPEN_SELF(
4.965 + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
4.966 + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
4.967 + ])
4.968 + fi
4.969 +
4.970 + CPPFLAGS="$save_CPPFLAGS"
4.971 + LDFLAGS="$save_LDFLAGS"
4.972 + LIBS="$save_LIBS"
4.973 + ;;
4.974 + esac
4.975 +
4.976 + case $lt_cv_dlopen_self in
4.977 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
4.978 + *) enable_dlopen_self=unknown ;;
4.979 + esac
4.980 +
4.981 + case $lt_cv_dlopen_self_static in
4.982 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
4.983 + *) enable_dlopen_self_static=unknown ;;
4.984 + esac
4.985 +fi
4.986 +])# AC_LIBTOOL_DLOPEN_SELF
4.987 +
4.988 +
4.989 +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
4.990 +# ---------------------------------
4.991 +# Check to see if options -c and -o are simultaneously supported by compiler
4.992 +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
4.993 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
4.994 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
4.995 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
4.996 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
4.997 + $rm -r conftest 2>/dev/null
4.998 + mkdir conftest
4.999 + cd conftest
4.1000 + mkdir out
4.1001 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
4.1002 +
4.1003 + lt_compiler_flag="-o out/conftest2.$ac_objext"
4.1004 + # Insert the option either (1) after the last *FLAGS variable, or
4.1005 + # (2) before a word containing "conftest.", or (3) at the end.
4.1006 + # Note that $ac_compile itself does not contain backslashes and begins
4.1007 + # with a dollar sign (not a hyphen), so the echo should work correctly.
4.1008 + lt_compile=`echo "$ac_compile" | $SED \
4.1009 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
4.1010 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
4.1011 + -e 's:$: $lt_compiler_flag:'`
4.1012 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
4.1013 + (eval "$lt_compile" 2>out/conftest.err)
4.1014 + ac_status=$?
4.1015 + cat out/conftest.err >&AS_MESSAGE_LOG_FD
4.1016 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
4.1017 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
4.1018 + then
4.1019 + # The compiler can only warn and ignore the option if not recognized
4.1020 + # So say no if there are warnings
4.1021 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
4.1022 + $SED '/^$/d' out/conftest.err >out/conftest.er2
4.1023 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
4.1024 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
4.1025 + fi
4.1026 + fi
4.1027 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
4.1028 + $rm conftest*
4.1029 + # SGI C++ compiler will create directory out/ii_files/ for
4.1030 + # template instantiation
4.1031 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
4.1032 + $rm out/* && rmdir out
4.1033 + cd ..
4.1034 + rmdir conftest
4.1035 + $rm conftest*
4.1036 +])
4.1037 +])# AC_LIBTOOL_PROG_CC_C_O
4.1038 +
4.1039 +
4.1040 +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
4.1041 +# -----------------------------------------
4.1042 +# Check to see if we can do hard links to lock some files if needed
4.1043 +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
4.1044 +[AC_REQUIRE([_LT_AC_LOCK])dnl
4.1045 +
4.1046 +hard_links="nottested"
4.1047 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
4.1048 + # do not overwrite the value of need_locks provided by the user
4.1049 + AC_MSG_CHECKING([if we can lock with hard links])
4.1050 + hard_links=yes
4.1051 + $rm conftest*
4.1052 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
4.1053 + touch conftest.a
4.1054 + ln conftest.a conftest.b 2>&5 || hard_links=no
4.1055 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
4.1056 + AC_MSG_RESULT([$hard_links])
4.1057 + if test "$hard_links" = no; then
4.1058 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
4.1059 + need_locks=warn
4.1060 + fi
4.1061 +else
4.1062 + need_locks=no
4.1063 +fi
4.1064 +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
4.1065 +
4.1066 +
4.1067 +# AC_LIBTOOL_OBJDIR
4.1068 +# -----------------
4.1069 +AC_DEFUN([AC_LIBTOOL_OBJDIR],
4.1070 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
4.1071 +[rm -f .libs 2>/dev/null
4.1072 +mkdir .libs 2>/dev/null
4.1073 +if test -d .libs; then
4.1074 + lt_cv_objdir=.libs
4.1075 +else
4.1076 + # MS-DOS does not allow filenames that begin with a dot.
4.1077 + lt_cv_objdir=_libs
4.1078 +fi
4.1079 +rmdir .libs 2>/dev/null])
4.1080 +objdir=$lt_cv_objdir
4.1081 +])# AC_LIBTOOL_OBJDIR
4.1082 +
4.1083 +
4.1084 +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
4.1085 +# ----------------------------------------------
4.1086 +# Check hardcoding attributes.
4.1087 +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
4.1088 +[AC_MSG_CHECKING([how to hardcode library paths into programs])
4.1089 +_LT_AC_TAGVAR(hardcode_action, $1)=
4.1090 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
4.1091 + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
4.1092 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
4.1093 +
4.1094 + # We can hardcode non-existant directories.
4.1095 + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
4.1096 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
4.1097 + # have to relink, otherwise we might link with an installed library
4.1098 + # when we should be linking with a yet-to-be-installed one
4.1099 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
4.1100 + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
4.1101 + # Linking always hardcodes the temporary library directory.
4.1102 + _LT_AC_TAGVAR(hardcode_action, $1)=relink
4.1103 + else
4.1104 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
4.1105 + _LT_AC_TAGVAR(hardcode_action, $1)=immediate
4.1106 + fi
4.1107 +else
4.1108 + # We cannot hardcode anything, or else we can only hardcode existing
4.1109 + # directories.
4.1110 + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
4.1111 +fi
4.1112 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
4.1113 +
4.1114 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
4.1115 + # Fast installation is not supported
4.1116 + enable_fast_install=no
4.1117 +elif test "$shlibpath_overrides_runpath" = yes ||
4.1118 + test "$enable_shared" = no; then
4.1119 + # Fast installation is not necessary
4.1120 + enable_fast_install=needless
4.1121 +fi
4.1122 +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
4.1123 +
4.1124 +
4.1125 +# AC_LIBTOOL_SYS_LIB_STRIP
4.1126 +# ------------------------
4.1127 +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
4.1128 +[striplib=
4.1129 +old_striplib=
4.1130 +AC_MSG_CHECKING([whether stripping libraries is possible])
4.1131 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
4.1132 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
4.1133 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
4.1134 + AC_MSG_RESULT([yes])
4.1135 +else
4.1136 +# FIXME - insert some real tests, host_os isn't really good enough
4.1137 + case $host_os in
4.1138 + darwin*)
4.1139 + if test -n "$STRIP" ; then
4.1140 + striplib="$STRIP -x"
4.1141 + AC_MSG_RESULT([yes])
4.1142 + else
4.1143 + AC_MSG_RESULT([no])
4.1144 +fi
4.1145 + ;;
4.1146 + *)
4.1147 + AC_MSG_RESULT([no])
4.1148 + ;;
4.1149 + esac
4.1150 +fi
4.1151 +])# AC_LIBTOOL_SYS_LIB_STRIP
4.1152 +
4.1153 +
4.1154 +# AC_LIBTOOL_SYS_DYNAMIC_LINKER
4.1155 +# -----------------------------
4.1156 +# PORTME Fill in your ld.so characteristics
4.1157 +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
4.1158 +[AC_MSG_CHECKING([dynamic linker characteristics])
4.1159 +library_names_spec=
4.1160 +libname_spec='lib$name'
4.1161 +soname_spec=
4.1162 +shrext_cmds=".so"
4.1163 +postinstall_cmds=
4.1164 +postuninstall_cmds=
4.1165 +finish_cmds=
4.1166 +finish_eval=
4.1167 +shlibpath_var=
4.1168 +shlibpath_overrides_runpath=unknown
4.1169 +version_type=none
4.1170 +dynamic_linker="$host_os ld.so"
4.1171 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
4.1172 +if test "$GCC" = yes; then
4.1173 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
4.1174 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
4.1175 + # if the path contains ";" then we assume it to be the separator
4.1176 + # otherwise default to the standard path separator (i.e. ":") - it is
4.1177 + # assumed that no part of a normal pathname contains ";" but that should
4.1178 + # okay in the real world where ";" in dirpaths is itself problematic.
4.1179 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
4.1180 + else
4.1181 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
4.1182 + fi
4.1183 +else
4.1184 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
4.1185 +fi
4.1186 +need_lib_prefix=unknown
4.1187 +hardcode_into_libs=no
4.1188 +
4.1189 +# when you set need_version to no, make sure it does not cause -set_version
4.1190 +# flags to be left without arguments
4.1191 +need_version=unknown
4.1192 +
4.1193 +case $host_os in
4.1194 +aix3*)
4.1195 + version_type=linux
4.1196 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
4.1197 + shlibpath_var=LIBPATH
4.1198 +
4.1199 + # AIX 3 has no versioning support, so we append a major version to the name.
4.1200 + soname_spec='${libname}${release}${shared_ext}$major'
4.1201 + ;;
4.1202 +
4.1203 +aix4* | aix5*)
4.1204 + version_type=linux
4.1205 + need_lib_prefix=no
4.1206 + need_version=no
4.1207 + hardcode_into_libs=yes
4.1208 + if test "$host_cpu" = ia64; then
4.1209 + # AIX 5 supports IA64
4.1210 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4.1211 + shlibpath_var=LD_LIBRARY_PATH
4.1212 + else
4.1213 + # With GCC up to 2.95.x, collect2 would create an import file
4.1214 + # for dependence libraries. The import file would start with
4.1215 + # the line `#! .'. This would cause the generated library to
4.1216 + # depend on `.', always an invalid library. This was fixed in
4.1217 + # development snapshots of GCC prior to 3.0.
4.1218 + case $host_os in
4.1219 + aix4 | aix4.[[01]] | aix4.[[01]].*)
4.1220 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4.1221 + echo ' yes '
4.1222 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
4.1223 + :
4.1224 + else
4.1225 + can_build_shared=no
4.1226 + fi
4.1227 + ;;
4.1228 + esac
4.1229 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4.1230 + # soname into executable. Probably we can add versioning support to
4.1231 + # collect2, so additional links can be useful in future.
4.1232 + if test "$aix_use_runtimelinking" = yes; then
4.1233 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4.1234 + # instead of lib<name>.a to let people know that these are not
4.1235 + # typical AIX shared libraries.
4.1236 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1237 + else
4.1238 + # We preserve .a as extension for shared libraries through AIX4.2
4.1239 + # and later when we are not doing run time linking.
4.1240 + library_names_spec='${libname}${release}.a $libname.a'
4.1241 + soname_spec='${libname}${release}${shared_ext}$major'
4.1242 + fi
4.1243 + shlibpath_var=LIBPATH
4.1244 + fi
4.1245 + ;;
4.1246 +
4.1247 +amigaos*)
4.1248 + library_names_spec='$libname.ixlibrary $libname.a'
4.1249 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
4.1250 + 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'
4.1251 + ;;
4.1252 +
4.1253 +beos*)
4.1254 + library_names_spec='${libname}${shared_ext}'
4.1255 + dynamic_linker="$host_os ld.so"
4.1256 + shlibpath_var=LIBRARY_PATH
4.1257 + ;;
4.1258 +
4.1259 +bsdi[[45]]*)
4.1260 + version_type=linux
4.1261 + need_version=no
4.1262 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1263 + soname_spec='${libname}${release}${shared_ext}$major'
4.1264 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
4.1265 + shlibpath_var=LD_LIBRARY_PATH
4.1266 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4.1267 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
4.1268 + # the default ld.so.conf also contains /usr/contrib/lib and
4.1269 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4.1270 + # libtool to hard-code these into programs
4.1271 + ;;
4.1272 +
4.1273 +cygwin* | mingw* | pw32*)
4.1274 + version_type=windows
4.1275 + shrext_cmds=".dll"
4.1276 + need_version=no
4.1277 + need_lib_prefix=no
4.1278 +
4.1279 + case $GCC,$host_os in
4.1280 + yes,cygwin* | yes,mingw* | yes,pw32*)
4.1281 + library_names_spec='$libname.dll.a'
4.1282 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
4.1283 + postinstall_cmds='base_file=`basename \${file}`~
4.1284 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4.1285 + dldir=$destdir/`dirname \$dlpath`~
4.1286 + test -d \$dldir || mkdir -p \$dldir~
4.1287 + $install_prog $dir/$dlname \$dldir/$dlname~
4.1288 + chmod a+x \$dldir/$dlname'
4.1289 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4.1290 + dlpath=$dir/\$dldll~
4.1291 + $rm \$dlpath'
4.1292 + shlibpath_overrides_runpath=yes
4.1293 +
4.1294 + case $host_os in
4.1295 + cygwin*)
4.1296 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4.1297 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4.1298 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
4.1299 + ;;
4.1300 + mingw*)
4.1301 + # MinGW DLLs use traditional 'lib' prefix
4.1302 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4.1303 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
4.1304 + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
4.1305 + # It is most probably a Windows format PATH printed by
4.1306 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
4.1307 + # path with ; separators, and with drive letters. We can handle the
4.1308 + # drive letters (cygwin fileutils understands them), so leave them,
4.1309 + # especially as we might pass files found there to a mingw objdump,
4.1310 + # which wouldn't understand a cygwinified path. Ahh.
4.1311 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
4.1312 + else
4.1313 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
4.1314 + fi
4.1315 + ;;
4.1316 + pw32*)
4.1317 + # pw32 DLLs use 'pw' prefix rather than 'lib'
4.1318 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4.1319 + ;;
4.1320 + esac
4.1321 + ;;
4.1322 +
4.1323 + *)
4.1324 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
4.1325 + ;;
4.1326 + esac
4.1327 + dynamic_linker='Win32 ld.exe'
4.1328 + # FIXME: first we should search . and the directory the executable is in
4.1329 + shlibpath_var=PATH
4.1330 + ;;
4.1331 +
4.1332 +darwin* | rhapsody*)
4.1333 + dynamic_linker="$host_os dyld"
4.1334 + version_type=darwin
4.1335 + need_lib_prefix=no
4.1336 + need_version=no
4.1337 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4.1338 + soname_spec='${libname}${release}${major}$shared_ext'
4.1339 + shlibpath_overrides_runpath=yes
4.1340 + shlibpath_var=DYLD_LIBRARY_PATH
4.1341 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
4.1342 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4.1343 + if test "$GCC" = yes; then
4.1344 + 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"`
4.1345 + else
4.1346 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
4.1347 + fi
4.1348 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
4.1349 + ;;
4.1350 +
4.1351 +dgux*)
4.1352 + version_type=linux
4.1353 + need_lib_prefix=no
4.1354 + need_version=no
4.1355 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4.1356 + soname_spec='${libname}${release}${shared_ext}$major'
4.1357 + shlibpath_var=LD_LIBRARY_PATH
4.1358 + ;;
4.1359 +
4.1360 +freebsd1*)
4.1361 + dynamic_linker=no
4.1362 + ;;
4.1363 +
4.1364 +kfreebsd*-gnu)
4.1365 + version_type=linux
4.1366 + need_lib_prefix=no
4.1367 + need_version=no
4.1368 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4.1369 + soname_spec='${libname}${release}${shared_ext}$major'
4.1370 + shlibpath_var=LD_LIBRARY_PATH
4.1371 + shlibpath_overrides_runpath=no
4.1372 + hardcode_into_libs=yes
4.1373 + dynamic_linker='GNU ld.so'
4.1374 + ;;
4.1375 +
4.1376 +freebsd* | dragonfly*)
4.1377 + # DragonFly does not have aout. When/if they implement a new
4.1378 + # versioning mechanism, adjust this.
4.1379 + if test -x /usr/bin/objformat; then
4.1380 + objformat=`/usr/bin/objformat`
4.1381 + else
4.1382 + case $host_os in
4.1383 + freebsd[[123]]*) objformat=aout ;;
4.1384 + *) objformat=elf ;;
4.1385 + esac
4.1386 + fi
4.1387 + version_type=freebsd-$objformat
4.1388 + case $version_type in
4.1389 + freebsd-elf*)
4.1390 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4.1391 + need_version=no
4.1392 + need_lib_prefix=no
4.1393 + ;;
4.1394 + freebsd-*)
4.1395 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4.1396 + need_version=yes
4.1397 + ;;
4.1398 + esac
4.1399 + shlibpath_var=LD_LIBRARY_PATH
4.1400 + case $host_os in
4.1401 + freebsd2*)
4.1402 + shlibpath_overrides_runpath=yes
4.1403 + ;;
4.1404 + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
4.1405 + shlibpath_overrides_runpath=yes
4.1406 + hardcode_into_libs=yes
4.1407 + ;;
4.1408 + *) # from 3.2 on
4.1409 + shlibpath_overrides_runpath=no
4.1410 + hardcode_into_libs=yes
4.1411 + ;;
4.1412 + esac
4.1413 + ;;
4.1414 +
4.1415 +gnu*)
4.1416 + version_type=linux
4.1417 + need_lib_prefix=no
4.1418 + need_version=no
4.1419 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4.1420 + soname_spec='${libname}${release}${shared_ext}$major'
4.1421 + shlibpath_var=LD_LIBRARY_PATH
4.1422 + hardcode_into_libs=yes
4.1423 + ;;
4.1424 +
4.1425 +hpux9* | hpux10* | hpux11*)
4.1426 + # Give a soname corresponding to the major version so that dld.sl refuses to
4.1427 + # link against other versions.
4.1428 + version_type=sunos
4.1429 + need_lib_prefix=no
4.1430 + need_version=no
4.1431 + case $host_cpu in
4.1432 + ia64*)
4.1433 + shrext_cmds='.so'
4.1434 + hardcode_into_libs=yes
4.1435 + dynamic_linker="$host_os dld.so"
4.1436 + shlibpath_var=LD_LIBRARY_PATH
4.1437 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4.1438 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1439 + soname_spec='${libname}${release}${shared_ext}$major'
4.1440 + if test "X$HPUX_IA64_MODE" = X32; then
4.1441 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4.1442 + else
4.1443 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
4.1444 + fi
4.1445 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4.1446 + ;;
4.1447 + hppa*64*)
4.1448 + shrext_cmds='.sl'
4.1449 + hardcode_into_libs=yes
4.1450 + dynamic_linker="$host_os dld.sl"
4.1451 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
4.1452 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
4.1453 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1454 + soname_spec='${libname}${release}${shared_ext}$major'
4.1455 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4.1456 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
4.1457 + ;;
4.1458 + *)
4.1459 + shrext_cmds='.sl'
4.1460 + dynamic_linker="$host_os dld.sl"
4.1461 + shlibpath_var=SHLIB_PATH
4.1462 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
4.1463 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1464 + soname_spec='${libname}${release}${shared_ext}$major'
4.1465 + ;;
4.1466 + esac
4.1467 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
4.1468 + postinstall_cmds='chmod 555 $lib'
4.1469 + ;;
4.1470 +
4.1471 +irix5* | irix6* | nonstopux*)
4.1472 + case $host_os in
4.1473 + nonstopux*) version_type=nonstopux ;;
4.1474 + *)
4.1475 + if test "$lt_cv_prog_gnu_ld" = yes; then
4.1476 + version_type=linux
4.1477 + else
4.1478 + version_type=irix
4.1479 + fi ;;
4.1480 + esac
4.1481 + need_lib_prefix=no
4.1482 + need_version=no
4.1483 + soname_spec='${libname}${release}${shared_ext}$major'
4.1484 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4.1485 + case $host_os in
4.1486 + irix5* | nonstopux*)
4.1487 + libsuff= shlibsuff=
4.1488 + ;;
4.1489 + *)
4.1490 + case $LD in # libtool.m4 will add one of these switches to LD
4.1491 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
4.1492 + libsuff= shlibsuff= libmagic=32-bit;;
4.1493 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
4.1494 + libsuff=32 shlibsuff=N32 libmagic=N32;;
4.1495 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
4.1496 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
4.1497 + *) libsuff= shlibsuff= libmagic=never-match;;
4.1498 + esac
4.1499 + ;;
4.1500 + esac
4.1501 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
4.1502 + shlibpath_overrides_runpath=no
4.1503 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4.1504 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
4.1505 + hardcode_into_libs=yes
4.1506 + ;;
4.1507 +
4.1508 +# No shared lib support for Linux oldld, aout, or coff.
4.1509 +linux*oldld* | linux*aout* | linux*coff*)
4.1510 + dynamic_linker=no
4.1511 + ;;
4.1512 +
4.1513 +# This must be Linux ELF.
4.1514 +linux*)
4.1515 + version_type=linux
4.1516 + need_lib_prefix=no
4.1517 + need_version=no
4.1518 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1519 + soname_spec='${libname}${release}${shared_ext}$major'
4.1520 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4.1521 + shlibpath_var=LD_LIBRARY_PATH
4.1522 + shlibpath_overrides_runpath=no
4.1523 + # This implies no fast_install, which is unacceptable.
4.1524 + # Some rework will be needed to allow for fast_install
4.1525 + # before this can be enabled.
4.1526 + hardcode_into_libs=yes
4.1527 +
4.1528 + # Append ld.so.conf contents to the search path
4.1529 + if test -f /etc/ld.so.conf; then
4.1530 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
4.1531 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
4.1532 + fi
4.1533 +
4.1534 + # We used to test for /lib/ld.so.1 and disable shared libraries on
4.1535 + # powerpc, because MkLinux only supported shared libraries with the
4.1536 + # GNU dynamic linker. Since this was broken with cross compilers,
4.1537 + # most powerpc-linux boxes support dynamic linking these days and
4.1538 + # people can always --disable-shared, the test was removed, and we
4.1539 + # assume the GNU/Linux dynamic linker is in use.
4.1540 + dynamic_linker='GNU/Linux ld.so'
4.1541 + ;;
4.1542 +
4.1543 +knetbsd*-gnu)
4.1544 + version_type=linux
4.1545 + need_lib_prefix=no
4.1546 + need_version=no
4.1547 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4.1548 + soname_spec='${libname}${release}${shared_ext}$major'
4.1549 + shlibpath_var=LD_LIBRARY_PATH
4.1550 + shlibpath_overrides_runpath=no
4.1551 + hardcode_into_libs=yes
4.1552 + dynamic_linker='GNU ld.so'
4.1553 + ;;
4.1554 +
4.1555 +netbsd*)
4.1556 + version_type=sunos
4.1557 + need_lib_prefix=no
4.1558 + need_version=no
4.1559 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4.1560 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4.1561 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4.1562 + dynamic_linker='NetBSD (a.out) ld.so'
4.1563 + else
4.1564 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
4.1565 + soname_spec='${libname}${release}${shared_ext}$major'
4.1566 + dynamic_linker='NetBSD ld.elf_so'
4.1567 + fi
4.1568 + shlibpath_var=LD_LIBRARY_PATH
4.1569 + shlibpath_overrides_runpath=yes
4.1570 + hardcode_into_libs=yes
4.1571 + ;;
4.1572 +
4.1573 +newsos6)
4.1574 + version_type=linux
4.1575 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1576 + shlibpath_var=LD_LIBRARY_PATH
4.1577 + shlibpath_overrides_runpath=yes
4.1578 + ;;
4.1579 +
4.1580 +nto-qnx*)
4.1581 + version_type=linux
4.1582 + need_lib_prefix=no
4.1583 + need_version=no
4.1584 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1585 + soname_spec='${libname}${release}${shared_ext}$major'
4.1586 + shlibpath_var=LD_LIBRARY_PATH
4.1587 + shlibpath_overrides_runpath=yes
4.1588 + ;;
4.1589 +
4.1590 +openbsd*)
4.1591 + version_type=sunos
4.1592 + need_lib_prefix=no
4.1593 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
4.1594 + case $host_os in
4.1595 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
4.1596 + *) need_version=no ;;
4.1597 + esac
4.1598 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4.1599 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4.1600 + shlibpath_var=LD_LIBRARY_PATH
4.1601 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4.1602 + case $host_os in
4.1603 + openbsd2.[[89]] | openbsd2.[[89]].*)
4.1604 + shlibpath_overrides_runpath=no
4.1605 + ;;
4.1606 + *)
4.1607 + shlibpath_overrides_runpath=yes
4.1608 + ;;
4.1609 + esac
4.1610 + else
4.1611 + shlibpath_overrides_runpath=yes
4.1612 + fi
4.1613 + ;;
4.1614 +
4.1615 +os2*)
4.1616 + libname_spec='$name'
4.1617 + shrext_cmds=".dll"
4.1618 + need_lib_prefix=no
4.1619 + library_names_spec='$libname${shared_ext} $libname.a'
4.1620 + dynamic_linker='OS/2 ld.exe'
4.1621 + shlibpath_var=LIBPATH
4.1622 + ;;
4.1623 +
4.1624 +osf3* | osf4* | osf5*)
4.1625 + version_type=osf
4.1626 + need_lib_prefix=no
4.1627 + need_version=no
4.1628 + soname_spec='${libname}${release}${shared_ext}$major'
4.1629 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1630 + shlibpath_var=LD_LIBRARY_PATH
4.1631 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4.1632 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
4.1633 + ;;
4.1634 +
4.1635 +sco3.2v5*)
4.1636 + version_type=osf
4.1637 + soname_spec='${libname}${release}${shared_ext}$major'
4.1638 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1639 + shlibpath_var=LD_LIBRARY_PATH
4.1640 + ;;
4.1641 +
4.1642 +solaris*)
4.1643 + version_type=linux
4.1644 + need_lib_prefix=no
4.1645 + need_version=no
4.1646 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1647 + soname_spec='${libname}${release}${shared_ext}$major'
4.1648 + shlibpath_var=LD_LIBRARY_PATH
4.1649 + shlibpath_overrides_runpath=yes
4.1650 + hardcode_into_libs=yes
4.1651 + # ldd complains unless libraries are executable
4.1652 + postinstall_cmds='chmod +x $lib'
4.1653 + ;;
4.1654 +
4.1655 +sunos4*)
4.1656 + version_type=sunos
4.1657 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4.1658 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4.1659 + shlibpath_var=LD_LIBRARY_PATH
4.1660 + shlibpath_overrides_runpath=yes
4.1661 + if test "$with_gnu_ld" = yes; then
4.1662 + need_lib_prefix=no
4.1663 + fi
4.1664 + need_version=yes
4.1665 + ;;
4.1666 +
4.1667 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4.1668 + version_type=linux
4.1669 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1670 + soname_spec='${libname}${release}${shared_ext}$major'
4.1671 + shlibpath_var=LD_LIBRARY_PATH
4.1672 + case $host_vendor in
4.1673 + sni)
4.1674 + shlibpath_overrides_runpath=no
4.1675 + need_lib_prefix=no
4.1676 + export_dynamic_flag_spec='${wl}-Blargedynsym'
4.1677 + runpath_var=LD_RUN_PATH
4.1678 + ;;
4.1679 + siemens)
4.1680 + need_lib_prefix=no
4.1681 + ;;
4.1682 + motorola)
4.1683 + need_lib_prefix=no
4.1684 + need_version=no
4.1685 + shlibpath_overrides_runpath=no
4.1686 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
4.1687 + ;;
4.1688 + esac
4.1689 + ;;
4.1690 +
4.1691 +sysv4*MP*)
4.1692 + if test -d /usr/nec ;then
4.1693 + version_type=linux
4.1694 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4.1695 + soname_spec='$libname${shared_ext}.$major'
4.1696 + shlibpath_var=LD_LIBRARY_PATH
4.1697 + fi
4.1698 + ;;
4.1699 +
4.1700 +uts4*)
4.1701 + version_type=linux
4.1702 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4.1703 + soname_spec='${libname}${release}${shared_ext}$major'
4.1704 + shlibpath_var=LD_LIBRARY_PATH
4.1705 + ;;
4.1706 +
4.1707 +*)
4.1708 + dynamic_linker=no
4.1709 + ;;
4.1710 +esac
4.1711 +AC_MSG_RESULT([$dynamic_linker])
4.1712 +test "$dynamic_linker" = no && can_build_shared=no
4.1713 +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
4.1714 +
4.1715 +
4.1716 +# _LT_AC_TAGCONFIG
4.1717 +# ----------------
4.1718 +AC_DEFUN([_LT_AC_TAGCONFIG],
4.1719 +[AC_ARG_WITH([tags],
4.1720 + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
4.1721 + [include additional configurations @<:@automatic@:>@])],
4.1722 + [tagnames="$withval"])
4.1723 +
4.1724 +if test -f "$ltmain" && test -n "$tagnames"; then
4.1725 + if test ! -f "${ofile}"; then
4.1726 + AC_MSG_WARN([output file `$ofile' does not exist])
4.1727 + fi
4.1728 +
4.1729 + if test -z "$LTCC"; then
4.1730 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
4.1731 + if test -z "$LTCC"; then
4.1732 + AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
4.1733 + else
4.1734 + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
4.1735 + fi
4.1736 + fi
4.1737 +
4.1738 + # Extract list of available tagged configurations in $ofile.
4.1739 + # Note that this assumes the entire list is on one line.
4.1740 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
4.1741 +
4.1742 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4.1743 + for tagname in $tagnames; do
4.1744 + IFS="$lt_save_ifs"
4.1745 + # Check whether tagname contains only valid characters
4.1746 + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
4.1747 + "") ;;
4.1748 + *) AC_MSG_ERROR([invalid tag name: $tagname])
4.1749 + ;;
4.1750 + esac
4.1751 +
4.1752 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
4.1753 + then
4.1754 + AC_MSG_ERROR([tag name \"$tagname\" already exists])
4.1755 + fi
4.1756 +
4.1757 + # Update the list of available tags.
4.1758 + if test -n "$tagname"; then
4.1759 + echo appending configuration tag \"$tagname\" to $ofile
4.1760 +
4.1761 + case $tagname in
4.1762 + CXX)
4.1763 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4.1764 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4.1765 + (test "X$CXX" != "Xg++"))) ; then
4.1766 + AC_LIBTOOL_LANG_CXX_CONFIG
4.1767 + else
4.1768 + tagname=""
4.1769 + fi
4.1770 + ;;
4.1771 +
4.1772 + F77)
4.1773 + if test -n "$F77" && test "X$F77" != "Xno"; then
4.1774 + AC_LIBTOOL_LANG_F77_CONFIG
4.1775 + else
4.1776 + tagname=""
4.1777 + fi
4.1778 + ;;
4.1779 +
4.1780 + GCJ)
4.1781 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
4.1782 + AC_LIBTOOL_LANG_GCJ_CONFIG
4.1783 + else
4.1784 + tagname=""
4.1785 + fi
4.1786 + ;;
4.1787 +
4.1788 + RC)
4.1789 + AC_LIBTOOL_LANG_RC_CONFIG
4.1790 + ;;
4.1791 +
4.1792 + *)
4.1793 + AC_MSG_ERROR([Unsupported tag name: $tagname])
4.1794 + ;;
4.1795 + esac
4.1796 +
4.1797 + # Append the new tag name to the list of available tags.
4.1798 + if test -n "$tagname" ; then
4.1799 + available_tags="$available_tags $tagname"
4.1800 + fi
4.1801 + fi
4.1802 + done
4.1803 + IFS="$lt_save_ifs"
4.1804 +
4.1805 + # Now substitute the updated list of available tags.
4.1806 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
4.1807 + mv "${ofile}T" "$ofile"
4.1808 + chmod +x "$ofile"
4.1809 + else
4.1810 + rm -f "${ofile}T"
4.1811 + AC_MSG_ERROR([unable to update list of available tagged configurations.])
4.1812 + fi
4.1813 +fi
4.1814 +])# _LT_AC_TAGCONFIG
4.1815 +
4.1816 +
4.1817 +# AC_LIBTOOL_DLOPEN
4.1818 +# -----------------
4.1819 +# enable checks for dlopen support
4.1820 +AC_DEFUN([AC_LIBTOOL_DLOPEN],
4.1821 + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
4.1822 +])# AC_LIBTOOL_DLOPEN
4.1823 +
4.1824 +
4.1825 +# AC_LIBTOOL_WIN32_DLL
4.1826 +# --------------------
4.1827 +# declare package support for building win32 DLLs
4.1828 +AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
4.1829 +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
4.1830 +])# AC_LIBTOOL_WIN32_DLL
4.1831 +
4.1832 +
4.1833 +# AC_ENABLE_SHARED([DEFAULT])
4.1834 +# ---------------------------
4.1835 +# implement the --enable-shared flag
4.1836 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4.1837 +AC_DEFUN([AC_ENABLE_SHARED],
4.1838 +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
4.1839 +AC_ARG_ENABLE([shared],
4.1840 + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
4.1841 + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
4.1842 + [p=${PACKAGE-default}
4.1843 + case $enableval in
4.1844 + yes) enable_shared=yes ;;
4.1845 + no) enable_shared=no ;;
4.1846 + *)
4.1847 + enable_shared=no
4.1848 + # Look at the argument we got. We use all the common list separators.
4.1849 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4.1850 + for pkg in $enableval; do
4.1851 + IFS="$lt_save_ifs"
4.1852 + if test "X$pkg" = "X$p"; then
4.1853 + enable_shared=yes
4.1854 + fi
4.1855 + done
4.1856 + IFS="$lt_save_ifs"
4.1857 + ;;
4.1858 + esac],
4.1859 + [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
4.1860 +])# AC_ENABLE_SHARED
4.1861 +
4.1862 +
4.1863 +# AC_DISABLE_SHARED
4.1864 +# -----------------
4.1865 +#- set the default shared flag to --disable-shared
4.1866 +AC_DEFUN([AC_DISABLE_SHARED],
4.1867 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4.1868 +AC_ENABLE_SHARED(no)
4.1869 +])# AC_DISABLE_SHARED
4.1870 +
4.1871 +
4.1872 +# AC_ENABLE_STATIC([DEFAULT])
4.1873 +# ---------------------------
4.1874 +# implement the --enable-static flag
4.1875 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4.1876 +AC_DEFUN([AC_ENABLE_STATIC],
4.1877 +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
4.1878 +AC_ARG_ENABLE([static],
4.1879 + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
4.1880 + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
4.1881 + [p=${PACKAGE-default}
4.1882 + case $enableval in
4.1883 + yes) enable_static=yes ;;
4.1884 + no) enable_static=no ;;
4.1885 + *)
4.1886 + enable_static=no
4.1887 + # Look at the argument we got. We use all the common list separators.
4.1888 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4.1889 + for pkg in $enableval; do
4.1890 + IFS="$lt_save_ifs"
4.1891 + if test "X$pkg" = "X$p"; then
4.1892 + enable_static=yes
4.1893 + fi
4.1894 + done
4.1895 + IFS="$lt_save_ifs"
4.1896 + ;;
4.1897 + esac],
4.1898 + [enable_static=]AC_ENABLE_STATIC_DEFAULT)
4.1899 +])# AC_ENABLE_STATIC
4.1900 +
4.1901 +
4.1902 +# AC_DISABLE_STATIC
4.1903 +# -----------------
4.1904 +# set the default static flag to --disable-static
4.1905 +AC_DEFUN([AC_DISABLE_STATIC],
4.1906 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4.1907 +AC_ENABLE_STATIC(no)
4.1908 +])# AC_DISABLE_STATIC
4.1909 +
4.1910 +
4.1911 +# AC_ENABLE_FAST_INSTALL([DEFAULT])
4.1912 +# ---------------------------------
4.1913 +# implement the --enable-fast-install flag
4.1914 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
4.1915 +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
4.1916 +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
4.1917 +AC_ARG_ENABLE([fast-install],
4.1918 + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
4.1919 + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
4.1920 + [p=${PACKAGE-default}
4.1921 + case $enableval in
4.1922 + yes) enable_fast_install=yes ;;
4.1923 + no) enable_fast_install=no ;;
4.1924 + *)
4.1925 + enable_fast_install=no
4.1926 + # Look at the argument we got. We use all the common list separators.
4.1927 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4.1928 + for pkg in $enableval; do
4.1929 + IFS="$lt_save_ifs"
4.1930 + if test "X$pkg" = "X$p"; then
4.1931 + enable_fast_install=yes
4.1932 + fi
4.1933 + done
4.1934 + IFS="$lt_save_ifs"
4.1935 + ;;
4.1936 + esac],
4.1937 + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
4.1938 +])# AC_ENABLE_FAST_INSTALL
4.1939 +
4.1940 +
4.1941 +# AC_DISABLE_FAST_INSTALL
4.1942 +# -----------------------
4.1943 +# set the default to --disable-fast-install
4.1944 +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
4.1945 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4.1946 +AC_ENABLE_FAST_INSTALL(no)
4.1947 +])# AC_DISABLE_FAST_INSTALL
4.1948 +
4.1949 +
4.1950 +# AC_LIBTOOL_PICMODE([MODE])
4.1951 +# --------------------------
4.1952 +# implement the --with-pic flag
4.1953 +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
4.1954 +AC_DEFUN([AC_LIBTOOL_PICMODE],
4.1955 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4.1956 +pic_mode=ifelse($#,1,$1,default)
4.1957 +])# AC_LIBTOOL_PICMODE
4.1958 +
4.1959 +
4.1960 +# AC_PROG_EGREP
4.1961 +# -------------
4.1962 +# This is predefined starting with Autoconf 2.54, so this conditional
4.1963 +# definition can be removed once we require Autoconf 2.54 or later.
4.1964 +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
4.1965 +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
4.1966 + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4.1967 + then ac_cv_prog_egrep='grep -E'
4.1968 + else ac_cv_prog_egrep='egrep'
4.1969 + fi])
4.1970 + EGREP=$ac_cv_prog_egrep
4.1971 + AC_SUBST([EGREP])
4.1972 +])])
4.1973 +
4.1974 +
4.1975 +# AC_PATH_TOOL_PREFIX
4.1976 +# -------------------
4.1977 +# find a file program which can recognise shared library
4.1978 +AC_DEFUN([AC_PATH_TOOL_PREFIX],
4.1979 +[AC_REQUIRE([AC_PROG_EGREP])dnl
4.1980 +AC_MSG_CHECKING([for $1])
4.1981 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
4.1982 +[case $MAGIC_CMD in
4.1983 +[[\\/*] | ?:[\\/]*])
4.1984 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4.1985 + ;;
4.1986 +*)
4.1987 + lt_save_MAGIC_CMD="$MAGIC_CMD"
4.1988 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4.1989 +dnl $ac_dummy forces splitting on constant user-supplied paths.
4.1990 +dnl POSIX.2 word splitting is done only on the output of word expansions,
4.1991 +dnl not every word. This closes a longstanding sh security hole.
4.1992 + ac_dummy="ifelse([$2], , $PATH, [$2])"
4.1993 + for ac_dir in $ac_dummy; do
4.1994 + IFS="$lt_save_ifs"
4.1995 + test -z "$ac_dir" && ac_dir=.
4.1996 + if test -f $ac_dir/$1; then
4.1997 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
4.1998 + if test -n "$file_magic_test_file"; then
4.1999 + case $deplibs_check_method in
4.2000 + "file_magic "*)
4.2001 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
4.2002 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4.2003 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4.2004 + $EGREP "$file_magic_regex" > /dev/null; then
4.2005 + :
4.2006 + else
4.2007 + cat <<EOF 1>&2
4.2008 +
4.2009 +*** Warning: the command libtool uses to detect shared libraries,
4.2010 +*** $file_magic_cmd, produces output that libtool cannot recognize.
4.2011 +*** The result is that libtool may fail to recognize shared libraries
4.2012 +*** as such. This will affect the creation of libtool libraries that
4.2013 +*** depend on shared libraries, but programs linked with such libtool
4.2014 +*** libraries will work regardless of this problem. Nevertheless, you
4.2015 +*** may want to report the problem to your system manager and/or to
4.2016 +*** bug-libtool@gnu.org
4.2017 +
4.2018 +EOF
4.2019 + fi ;;
4.2020 + esac
4.2021 + fi
4.2022 + break
4.2023 + fi
4.2024 + done
4.2025 + IFS="$lt_save_ifs"
4.2026 + MAGIC_CMD="$lt_save_MAGIC_CMD"
4.2027 + ;;
4.2028 +esac])
4.2029 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4.2030 +if test -n "$MAGIC_CMD"; then
4.2031 + AC_MSG_RESULT($MAGIC_CMD)
4.2032 +else
4.2033 + AC_MSG_RESULT(no)
4.2034 +fi
4.2035 +])# AC_PATH_TOOL_PREFIX
4.2036 +
4.2037 +
4.2038 +# AC_PATH_MAGIC
4.2039 +# -------------
4.2040 +# find a file program which can recognise a shared library
4.2041 +AC_DEFUN([AC_PATH_MAGIC],
4.2042 +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
4.2043 +if test -z "$lt_cv_path_MAGIC_CMD"; then
4.2044 + if test -n "$ac_tool_prefix"; then
4.2045 + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
4.2046 + else
4.2047 + MAGIC_CMD=:
4.2048 + fi
4.2049 +fi
4.2050 +])# AC_PATH_MAGIC
4.2051 +
4.2052 +
4.2053 +# AC_PROG_LD
4.2054 +# ----------
4.2055 +# find the pathname to the GNU or non-GNU linker
4.2056 +AC_DEFUN([AC_PROG_LD],
4.2057 +[AC_ARG_WITH([gnu-ld],
4.2058 + [AC_HELP_STRING([--with-gnu-ld],
4.2059 + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
4.2060 + [test "$withval" = no || with_gnu_ld=yes],
4.2061 + [with_gnu_ld=no])
4.2062 +AC_REQUIRE([LT_AC_PROG_SED])dnl
4.2063 +AC_REQUIRE([AC_PROG_CC])dnl
4.2064 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
4.2065 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
4.2066 +ac_prog=ld
4.2067 +if test "$GCC" = yes; then
4.2068 + # Check if gcc -print-prog-name=ld gives a path.
4.2069 + AC_MSG_CHECKING([for ld used by $CC])
4.2070 + case $host in
4.2071 + *-*-mingw*)
4.2072 + # gcc leaves a trailing carriage return which upsets mingw
4.2073 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4.2074 + *)
4.2075 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4.2076 + esac
4.2077 + case $ac_prog in
4.2078 + # Accept absolute paths.
4.2079 + [[\\/]]* | ?:[[\\/]]*)
4.2080 + re_direlt='/[[^/]][[^/]]*/\.\./'
4.2081 + # Canonicalize the pathname of ld
4.2082 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4.2083 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4.2084 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4.2085 + done
4.2086 + test -z "$LD" && LD="$ac_prog"
4.2087 + ;;
4.2088 + "")
4.2089 + # If it fails, then pretend we aren't using GCC.
4.2090 + ac_prog=ld
4.2091 + ;;
4.2092 + *)
4.2093 + # If it is relative, then search for the first ld in PATH.
4.2094 + with_gnu_ld=unknown
4.2095 + ;;
4.2096 + esac
4.2097 +elif test "$with_gnu_ld" = yes; then
4.2098 + AC_MSG_CHECKING([for GNU ld])
4.2099 +else
4.2100 + AC_MSG_CHECKING([for non-GNU ld])
4.2101 +fi
4.2102 +AC_CACHE_VAL(lt_cv_path_LD,
4.2103 +[if test -z "$LD"; then
4.2104 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4.2105 + for ac_dir in $PATH; do
4.2106 + IFS="$lt_save_ifs"
4.2107 + test -z "$ac_dir" && ac_dir=.
4.2108 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4.2109 + lt_cv_path_LD="$ac_dir/$ac_prog"
4.2110 + # Check to see if the program is GNU ld. I'd rather use --version,
4.2111 + # but apparently some variants of GNU ld only accept -v.
4.2112 + # Break only if it was the GNU/non-GNU ld that we prefer.
4.2113 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4.2114 + *GNU* | *'with BFD'*)
4.2115 + test "$with_gnu_ld" != no && break
4.2116 + ;;
4.2117 + *)
4.2118 + test "$with_gnu_ld" != yes && break
4.2119 + ;;
4.2120 + esac
4.2121 + fi
4.2122 + done
4.2123 + IFS="$lt_save_ifs"
4.2124 +else
4.2125 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
4.2126 +fi])
4.2127 +LD="$lt_cv_path_LD"
4.2128 +if test -n "$LD"; then
4.2129 + AC_MSG_RESULT($LD)
4.2130 +else
4.2131 + AC_MSG_RESULT(no)
4.2132 +fi
4.2133 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
4.2134 +AC_PROG_LD_GNU
4.2135 +])# AC_PROG_LD
4.2136 +
4.2137 +
4.2138 +# AC_PROG_LD_GNU
4.2139 +# --------------
4.2140 +AC_DEFUN([AC_PROG_LD_GNU],
4.2141 +[AC_REQUIRE([AC_PROG_EGREP])dnl
4.2142 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
4.2143 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
4.2144 +case `$LD -v 2>&1 </dev/null` in
4.2145 +*GNU* | *'with BFD'*)
4.2146 + lt_cv_prog_gnu_ld=yes
4.2147 + ;;
4.2148 +*)
4.2149 + lt_cv_prog_gnu_ld=no
4.2150 + ;;
4.2151 +esac])
4.2152 +with_gnu_ld=$lt_cv_prog_gnu_ld
4.2153 +])# AC_PROG_LD_GNU
4.2154 +
4.2155 +
4.2156 +# AC_PROG_LD_RELOAD_FLAG
4.2157 +# ----------------------
4.2158 +# find reload flag for linker
4.2159 +# -- PORTME Some linkers may need a different reload flag.
4.2160 +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
4.2161 +[AC_CACHE_CHECK([for $LD option to reload object files],
4.2162 + lt_cv_ld_reload_flag,
4.2163 + [lt_cv_ld_reload_flag='-r'])
4.2164 +reload_flag=$lt_cv_ld_reload_flag
4.2165 +case $reload_flag in
4.2166 +"" | " "*) ;;
4.2167 +*) reload_flag=" $reload_flag" ;;
4.2168 +esac
4.2169 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
4.2170 +case $host_os in
4.2171 + darwin*)
4.2172 + if test "$GCC" = yes; then
4.2173 + reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4.2174 + else
4.2175 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
4.2176 + fi
4.2177 + ;;
4.2178 +esac
4.2179 +])# AC_PROG_LD_RELOAD_FLAG
4.2180 +
4.2181 +
4.2182 +# AC_DEPLIBS_CHECK_METHOD
4.2183 +# -----------------------
4.2184 +# how to check for library dependencies
4.2185 +# -- PORTME fill in with the dynamic library characteristics
4.2186 +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
4.2187 +[AC_CACHE_CHECK([how to recognise dependent libraries],
4.2188 +lt_cv_deplibs_check_method,
4.2189 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
4.2190 +lt_cv_file_magic_test_file=
4.2191 +lt_cv_deplibs_check_method='unknown'
4.2192 +# Need to set the preceding variable on all platforms that support
4.2193 +# interlibrary dependencies.
4.2194 +# 'none' -- dependencies not supported.
4.2195 +# `unknown' -- same as none, but documents that we really don't know.
4.2196 +# 'pass_all' -- all dependencies passed with no checks.
4.2197 +# 'test_compile' -- check by making test program.
4.2198 +# 'file_magic [[regex]]' -- check by looking for files in library path
4.2199 +# which responds to the $file_magic_cmd with a given extended regex.
4.2200 +# If you have `file' or equivalent on your system and you're not sure
4.2201 +# whether `pass_all' will *always* work, you probably want this one.
4.2202 +
4.2203 +case $host_os in
4.2204 +aix4* | aix5*)
4.2205 + lt_cv_deplibs_check_method=pass_all
4.2206 + ;;
4.2207 +
4.2208 +beos*)
4.2209 + lt_cv_deplibs_check_method=pass_all
4.2210 + ;;
4.2211 +
4.2212 +bsdi[[45]]*)
4.2213 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
4.2214 + lt_cv_file_magic_cmd='/usr/bin/file -L'
4.2215 + lt_cv_file_magic_test_file=/shlib/libc.so
4.2216 + ;;
4.2217 +
4.2218 +cygwin*)
4.2219 + # func_win32_libid is a shell function defined in ltmain.sh
4.2220 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4.2221 + lt_cv_file_magic_cmd='func_win32_libid'
4.2222 + ;;
4.2223 +
4.2224 +mingw* | pw32*)
4.2225 + # Base MSYS/MinGW do not provide the 'file' command needed by
4.2226 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4.2227 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4.2228 + lt_cv_file_magic_cmd='$OBJDUMP -f'
4.2229 + ;;
4.2230 +
4.2231 +darwin* | rhapsody*)
4.2232 + lt_cv_deplibs_check_method=pass_all
4.2233 + ;;
4.2234 +
4.2235 +freebsd* | kfreebsd*-gnu | dragonfly*)
4.2236 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4.2237 + case $host_cpu in
4.2238 + i*86 )
4.2239 + # Not sure whether the presence of OpenBSD here was a mistake.
4.2240 + # Let's accept both of them until this is cleared up.
4.2241 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
4.2242 + lt_cv_file_magic_cmd=/usr/bin/file
4.2243 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4.2244 + ;;
4.2245 + esac
4.2246 + else
4.2247 + lt_cv_deplibs_check_method=pass_all
4.2248 + fi
4.2249 + ;;
4.2250 +
4.2251 +gnu*)
4.2252 + lt_cv_deplibs_check_method=pass_all
4.2253 + ;;
4.2254 +
4.2255 +hpux10.20* | hpux11*)
4.2256 + lt_cv_file_magic_cmd=/usr/bin/file
4.2257 + case $host_cpu in
4.2258 + ia64*)
4.2259 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
4.2260 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4.2261 + ;;
4.2262 + hppa*64*)
4.2263 + [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]']
4.2264 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4.2265 + ;;
4.2266 + *)
4.2267 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
4.2268 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
4.2269 + ;;
4.2270 + esac
4.2271 + ;;
4.2272 +
4.2273 +irix5* | irix6* | nonstopux*)
4.2274 + case $LD in
4.2275 + *-32|*"-32 ") libmagic=32-bit;;
4.2276 + *-n32|*"-n32 ") libmagic=N32;;
4.2277 + *-64|*"-64 ") libmagic=64-bit;;
4.2278 + *) libmagic=never-match;;
4.2279 + esac
4.2280 + lt_cv_deplibs_check_method=pass_all
4.2281 + ;;
4.2282 +
4.2283 +# This must be Linux ELF.
4.2284 +linux*)
4.2285 + lt_cv_deplibs_check_method=pass_all
4.2286 + ;;
4.2287 +
4.2288 +netbsd*)
4.2289 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4.2290 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
4.2291 + else
4.2292 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
4.2293 + fi
4.2294 + ;;
4.2295 +
4.2296 +newos6*)
4.2297 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
4.2298 + lt_cv_file_magic_cmd=/usr/bin/file
4.2299 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
4.2300 + ;;
4.2301 +
4.2302 +nto-qnx*)
4.2303 + lt_cv_deplibs_check_method=unknown
4.2304 + ;;
4.2305 +
4.2306 +openbsd*)
4.2307 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4.2308 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
4.2309 + else
4.2310 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
4.2311 + fi
4.2312 + ;;
4.2313 +
4.2314 +osf3* | osf4* | osf5*)
4.2315 + lt_cv_deplibs_check_method=pass_all
4.2316 + ;;
4.2317 +
4.2318 +sco3.2v5*)
4.2319 + lt_cv_deplibs_check_method=pass_all
4.2320 + ;;
4.2321 +
4.2322 +solaris*)
4.2323 + lt_cv_deplibs_check_method=pass_all
4.2324 + ;;
4.2325 +
4.2326 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4.2327 + case $host_vendor in
4.2328 + motorola)
4.2329 + 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]]'
4.2330 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4.2331 + ;;
4.2332 + ncr)
4.2333 + lt_cv_deplibs_check_method=pass_all
4.2334 + ;;
4.2335 + sequent)
4.2336 + lt_cv_file_magic_cmd='/bin/file'
4.2337 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
4.2338 + ;;
4.2339 + sni)
4.2340 + lt_cv_file_magic_cmd='/bin/file'
4.2341 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
4.2342 + lt_cv_file_magic_test_file=/lib/libc.so
4.2343 + ;;
4.2344 + siemens)
4.2345 + lt_cv_deplibs_check_method=pass_all
4.2346 + ;;
4.2347 + esac
4.2348 + ;;
4.2349 +
4.2350 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
4.2351 + lt_cv_deplibs_check_method=pass_all
4.2352 + ;;
4.2353 +esac
4.2354 +])
4.2355 +file_magic_cmd=$lt_cv_file_magic_cmd
4.2356 +deplibs_check_method=$lt_cv_deplibs_check_method
4.2357 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
4.2358 +])# AC_DEPLIBS_CHECK_METHOD
4.2359 +
4.2360 +
4.2361 +# AC_PROG_NM
4.2362 +# ----------
4.2363 +# find the pathname to a BSD-compatible name lister
4.2364 +AC_DEFUN([AC_PROG_NM],
4.2365 +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
4.2366 +[if test -n "$NM"; then
4.2367 + # Let the user override the test.
4.2368 + lt_cv_path_NM="$NM"
4.2369 +else
4.2370 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4.2371 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4.2372 + IFS="$lt_save_ifs"
4.2373 + test -z "$ac_dir" && ac_dir=.
4.2374 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4.2375 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4.2376 + # Check to see if the nm accepts a BSD-compat flag.
4.2377 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4.2378 + # nm: unknown option "B" ignored
4.2379 + # Tru64's nm complains that /dev/null is an invalid object file
4.2380 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4.2381 + */dev/null* | *'Invalid file or object type'*)
4.2382 + lt_cv_path_NM="$tmp_nm -B"
4.2383 + break
4.2384 + ;;
4.2385 + *)
4.2386 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4.2387 + */dev/null*)
4.2388 + lt_cv_path_NM="$tmp_nm -p"
4.2389 + break
4.2390 + ;;
4.2391 + *)
4.2392 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4.2393 + continue # so that we can try to find one that supports BSD flags
4.2394 + ;;
4.2395 + esac
4.2396 + esac
4.2397 + fi
4.2398 + done
4.2399 + IFS="$lt_save_ifs"
4.2400 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4.2401 +fi])
4.2402 +NM="$lt_cv_path_NM"
4.2403 +])# AC_PROG_NM
4.2404 +
4.2405 +
4.2406 +# AC_CHECK_LIBM
4.2407 +# -------------
4.2408 +# check for math library
4.2409 +AC_DEFUN([AC_CHECK_LIBM],
4.2410 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
4.2411 +LIBM=
4.2412 +case $host in
4.2413 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
4.2414 + # These system don't have libm, or don't need it
4.2415 + ;;
4.2416 +*-ncr-sysv4.3*)
4.2417 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
4.2418 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
4.2419 + ;;
4.2420 +*)
4.2421 + AC_CHECK_LIB(m, cos, LIBM="-lm")
4.2422 + ;;
4.2423 +esac
4.2424 +])# AC_CHECK_LIBM
4.2425 +
4.2426 +
4.2427 +# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
4.2428 +# -----------------------------------
4.2429 +# sets LIBLTDL to the link flags for the libltdl convenience library and
4.2430 +# LTDLINCL to the include flags for the libltdl header and adds
4.2431 +# --enable-ltdl-convenience to the configure arguments. Note that
4.2432 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
4.2433 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
4.2434 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
4.2435 +# (note the single quotes!). If your package is not flat and you're not
4.2436 +# using automake, define top_builddir and top_srcdir appropriately in
4.2437 +# the Makefiles.
4.2438 +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
4.2439 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4.2440 + case $enable_ltdl_convenience in
4.2441 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
4.2442 + "") enable_ltdl_convenience=yes
4.2443 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
4.2444 + esac
4.2445 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
4.2446 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
4.2447 + # For backwards non-gettext consistent compatibility...
4.2448 + INCLTDL="$LTDLINCL"
4.2449 +])# AC_LIBLTDL_CONVENIENCE
4.2450 +
4.2451 +
4.2452 +# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
4.2453 +# -----------------------------------
4.2454 +# sets LIBLTDL to the link flags for the libltdl installable library and
4.2455 +# LTDLINCL to the include flags for the libltdl header and adds
4.2456 +# --enable-ltdl-install to the configure arguments. Note that
4.2457 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
4.2458 +# and an installed libltdl is not found, it is assumed to be `libltdl'.
4.2459 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
4.2460 +# '${top_srcdir}/' (note the single quotes!). If your package is not
4.2461 +# flat and you're not using automake, define top_builddir and top_srcdir
4.2462 +# appropriately in the Makefiles.
4.2463 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
4.2464 +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
4.2465 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4.2466 + AC_CHECK_LIB(ltdl, lt_dlinit,
4.2467 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
4.2468 + [if test x"$enable_ltdl_install" = xno; then
4.2469 + AC_MSG_WARN([libltdl not installed, but installation disabled])
4.2470 + else
4.2471 + enable_ltdl_install=yes
4.2472 + fi
4.2473 + ])
4.2474 + if test x"$enable_ltdl_install" = x"yes"; then
4.2475 + ac_configure_args="$ac_configure_args --enable-ltdl-install"
4.2476 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
4.2477 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
4.2478 + else
4.2479 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
4.2480 + LIBLTDL="-lltdl"
4.2481 + LTDLINCL=
4.2482 + fi
4.2483 + # For backwards non-gettext consistent compatibility...
4.2484 + INCLTDL="$LTDLINCL"
4.2485 +])# AC_LIBLTDL_INSTALLABLE
4.2486 +
4.2487 +
4.2488 +# AC_LIBTOOL_CXX
4.2489 +# --------------
4.2490 +# enable support for C++ libraries
4.2491 +AC_DEFUN([AC_LIBTOOL_CXX],
4.2492 +[AC_REQUIRE([_LT_AC_LANG_CXX])
4.2493 +])# AC_LIBTOOL_CXX
4.2494 +
4.2495 +
4.2496 +# _LT_AC_LANG_CXX
4.2497 +# ---------------
4.2498 +AC_DEFUN([_LT_AC_LANG_CXX],
4.2499 +[AC_REQUIRE([AC_PROG_CXX])
4.2500 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
4.2501 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
4.2502 +])# _LT_AC_LANG_CXX
4.2503 +
4.2504 +# _LT_AC_PROG_CXXCPP
4.2505 +# ---------------
4.2506 +AC_DEFUN([_LT_AC_PROG_CXXCPP],
4.2507 +[
4.2508 +AC_REQUIRE([AC_PROG_CXX])
4.2509 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4.2510 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4.2511 + (test "X$CXX" != "Xg++"))) ; then
4.2512 + AC_PROG_CXXCPP
4.2513 +fi
4.2514 +])# _LT_AC_PROG_CXXCPP
4.2515 +
4.2516 +# AC_LIBTOOL_F77
4.2517 +# --------------
4.2518 +# enable support for Fortran 77 libraries
4.2519 +AC_DEFUN([AC_LIBTOOL_F77],
4.2520 +[AC_REQUIRE([_LT_AC_LANG_F77])
4.2521 +])# AC_LIBTOOL_F77
4.2522 +
4.2523 +
4.2524 +# _LT_AC_LANG_F77
4.2525 +# ---------------
4.2526 +AC_DEFUN([_LT_AC_LANG_F77],
4.2527 +[AC_REQUIRE([AC_PROG_F77])
4.2528 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
4.2529 +])# _LT_AC_LANG_F77
4.2530 +
4.2531 +
4.2532 +# AC_LIBTOOL_GCJ
4.2533 +# --------------
4.2534 +# enable support for GCJ libraries
4.2535 +AC_DEFUN([AC_LIBTOOL_GCJ],
4.2536 +[AC_REQUIRE([_LT_AC_LANG_GCJ])
4.2537 +])# AC_LIBTOOL_GCJ
4.2538 +
4.2539 +
4.2540 +# _LT_AC_LANG_GCJ
4.2541 +# ---------------
4.2542 +AC_DEFUN([_LT_AC_LANG_GCJ],
4.2543 +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
4.2544 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
4.2545 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
4.2546 + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
4.2547 + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
4.2548 + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
4.2549 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
4.2550 +])# _LT_AC_LANG_GCJ
4.2551 +
4.2552 +
4.2553 +# AC_LIBTOOL_RC
4.2554 +# --------------
4.2555 +# enable support for Windows resource files
4.2556 +AC_DEFUN([AC_LIBTOOL_RC],
4.2557 +[AC_REQUIRE([LT_AC_PROG_RC])
4.2558 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
4.2559 +])# AC_LIBTOOL_RC
4.2560 +
4.2561 +
4.2562 +# AC_LIBTOOL_LANG_C_CONFIG
4.2563 +# ------------------------
4.2564 +# Ensure that the configuration vars for the C compiler are
4.2565 +# suitably defined. Those variables are subsequently used by
4.2566 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4.2567 +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
4.2568 +AC_DEFUN([_LT_AC_LANG_C_CONFIG],
4.2569 +[lt_save_CC="$CC"
4.2570 +AC_LANG_PUSH(C)
4.2571 +
4.2572 +# Source file extension for C test sources.
4.2573 +ac_ext=c
4.2574 +
4.2575 +# Object file extension for compiled C test sources.
4.2576 +objext=o
4.2577 +_LT_AC_TAGVAR(objext, $1)=$objext
4.2578 +
4.2579 +# Code to be used in simple compile tests
4.2580 +lt_simple_compile_test_code="int some_variable = 0;\n"
4.2581 +
4.2582 +# Code to be used in simple link tests
4.2583 +lt_simple_link_test_code='int main(){return(0);}\n'
4.2584 +
4.2585 +_LT_AC_SYS_COMPILER
4.2586 +
4.2587 +# save warnings/boilerplate of simple test code
4.2588 +_LT_COMPILER_BOILERPLATE
4.2589 +_LT_LINKER_BOILERPLATE
4.2590 +
4.2591 +#
4.2592 +# Check for any special shared library compilation flags.
4.2593 +#
4.2594 +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
4.2595 +if test "$GCC" = no; then
4.2596 + case $host_os in
4.2597 + sco3.2v5*)
4.2598 + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
4.2599 + ;;
4.2600 + esac
4.2601 +fi
4.2602 +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
4.2603 + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
4.2604 + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
4.2605 + else
4.2606 + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
4.2607 + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
4.2608 + fi
4.2609 +fi
4.2610 +
4.2611 +
4.2612 +#
4.2613 +# Check to make sure the static flag actually works.
4.2614 +#
4.2615 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
4.2616 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
4.2617 + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
4.2618 + [],
4.2619 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
4.2620 +
4.2621 +
4.2622 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
4.2623 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
4.2624 +AC_LIBTOOL_PROG_CC_C_O($1)
4.2625 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4.2626 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
4.2627 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4.2628 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4.2629 +AC_LIBTOOL_SYS_LIB_STRIP
4.2630 +AC_LIBTOOL_DLOPEN_SELF($1)
4.2631 +
4.2632 +# Report which librarie types wil actually be built
4.2633 +AC_MSG_CHECKING([if libtool supports shared libraries])
4.2634 +AC_MSG_RESULT([$can_build_shared])
4.2635 +
4.2636 +AC_MSG_CHECKING([whether to build shared libraries])
4.2637 +test "$can_build_shared" = "no" && enable_shared=no
4.2638 +
4.2639 +# On AIX, shared libraries and static libraries use the same namespace, and
4.2640 +# are all built from PIC.
4.2641 +case $host_os in
4.2642 +aix3*)
4.2643 + test "$enable_shared" = yes && enable_static=no
4.2644 + if test -n "$RANLIB"; then
4.2645 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
4.2646 + postinstall_cmds='$RANLIB $lib'
4.2647 + fi
4.2648 + ;;
4.2649 +
4.2650 +aix4* | aix5*)
4.2651 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4.2652 + test "$enable_shared" = yes && enable_static=no
4.2653 + fi
4.2654 + ;;
4.2655 +esac
4.2656 +AC_MSG_RESULT([$enable_shared])
4.2657 +
4.2658 +AC_MSG_CHECKING([whether to build static libraries])
4.2659 +# Make sure either enable_shared or enable_static is yes.
4.2660 +test "$enable_shared" = yes || enable_static=yes
4.2661 +AC_MSG_RESULT([$enable_static])
4.2662 +
4.2663 +AC_LIBTOOL_CONFIG($1)
4.2664 +
4.2665 +AC_LANG_POP
4.2666 +CC="$lt_save_CC"
4.2667 +])# AC_LIBTOOL_LANG_C_CONFIG
4.2668 +
4.2669 +
4.2670 +# AC_LIBTOOL_LANG_CXX_CONFIG
4.2671 +# --------------------------
4.2672 +# Ensure that the configuration vars for the C compiler are
4.2673 +# suitably defined. Those variables are subsequently used by
4.2674 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4.2675 +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
4.2676 +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
4.2677 +[AC_LANG_PUSH(C++)
4.2678 +AC_REQUIRE([AC_PROG_CXX])
4.2679 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
4.2680 +
4.2681 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4.2682 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
4.2683 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
4.2684 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4.2685 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4.2686 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
4.2687 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4.2688 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4.2689 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4.2690 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4.2691 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
4.2692 +_LT_AC_TAGVAR(module_cmds, $1)=
4.2693 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
4.2694 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4.2695 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4.2696 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
4.2697 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4.2698 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4.2699 +
4.2700 +# Dependencies to place before and after the object being linked:
4.2701 +_LT_AC_TAGVAR(predep_objects, $1)=
4.2702 +_LT_AC_TAGVAR(postdep_objects, $1)=
4.2703 +_LT_AC_TAGVAR(predeps, $1)=
4.2704 +_LT_AC_TAGVAR(postdeps, $1)=
4.2705 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
4.2706 +
4.2707 +# Source file extension for C++ test sources.
4.2708 +ac_ext=cpp
4.2709 +
4.2710 +# Object file extension for compiled C++ test sources.
4.2711 +objext=o
4.2712 +_LT_AC_TAGVAR(objext, $1)=$objext
4.2713 +
4.2714 +# Code to be used in simple compile tests
4.2715 +lt_simple_compile_test_code="int some_variable = 0;\n"
4.2716 +
4.2717 +# Code to be used in simple link tests
4.2718 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
4.2719 +
4.2720 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4.2721 +_LT_AC_SYS_COMPILER
4.2722 +
4.2723 +# save warnings/boilerplate of simple test code
4.2724 +_LT_COMPILER_BOILERPLATE
4.2725 +_LT_LINKER_BOILERPLATE
4.2726 +
4.2727 +# Allow CC to be a program name with arguments.
4.2728 +lt_save_CC=$CC
4.2729 +lt_save_LD=$LD
4.2730 +lt_save_GCC=$GCC
4.2731 +GCC=$GXX
4.2732 +lt_save_with_gnu_ld=$with_gnu_ld
4.2733 +lt_save_path_LD=$lt_cv_path_LD
4.2734 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
4.2735 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
4.2736 +else
4.2737 + unset lt_cv_prog_gnu_ld
4.2738 +fi
4.2739 +if test -n "${lt_cv_path_LDCXX+set}"; then
4.2740 + lt_cv_path_LD=$lt_cv_path_LDCXX
4.2741 +else
4.2742 + unset lt_cv_path_LD
4.2743 +fi
4.2744 +test -z "${LDCXX+set}" || LD=$LDCXX
4.2745 +CC=${CXX-"c++"}
4.2746 +compiler=$CC
4.2747 +_LT_AC_TAGVAR(compiler, $1)=$CC
4.2748 +_LT_CC_BASENAME([$compiler])
4.2749 +
4.2750 +# We don't want -fno-exception wen compiling C++ code, so set the
4.2751 +# no_builtin_flag separately
4.2752 +if test "$GXX" = yes; then
4.2753 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4.2754 +else
4.2755 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
4.2756 +fi
4.2757 +
4.2758 +if test "$GXX" = yes; then
4.2759 + # Set up default GNU C++ configuration
4.2760 +
4.2761 + AC_PROG_LD
4.2762 +
4.2763 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
4.2764 + # archiving commands below assume that GNU ld is being used.
4.2765 + if test "$with_gnu_ld" = yes; then
4.2766 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4.2767 + _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'
4.2768 +
4.2769 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
4.2770 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4.2771 +
4.2772 + # If archive_cmds runs LD, not CC, wlarc should be empty
4.2773 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
4.2774 + # investigate it a little bit more. (MM)
4.2775 + wlarc='${wl}'
4.2776 +
4.2777 + # ancient GNU ld didn't support --whole-archive et. al.
4.2778 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
4.2779 + grep 'no-whole-archive' > /dev/null; then
4.2780 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4.2781 + else
4.2782 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4.2783 + fi
4.2784 + else
4.2785 + with_gnu_ld=no
4.2786 + wlarc=
4.2787 +
4.2788 + # A generic and very simple default shared library creation
4.2789 + # command for GNU C++ for the case where it uses the native
4.2790 + # linker, instead of GNU ld. If possible, this setting should
4.2791 + # overridden to take advantage of the native linker features on
4.2792 + # the platform it is being used on.
4.2793 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
4.2794 + fi
4.2795 +
4.2796 + # Commands to make compiler produce verbose output that lists
4.2797 + # what "hidden" libraries, object files and flags are used when
4.2798 + # linking a shared library.
4.2799 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4.2800 +
4.2801 +else
4.2802 + GXX=no
4.2803 + with_gnu_ld=no
4.2804 + wlarc=
4.2805 +fi
4.2806 +
4.2807 +# PORTME: fill in a description of your system's C++ link characteristics
4.2808 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
4.2809 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes
4.2810 +case $host_os in
4.2811 + aix3*)
4.2812 + # FIXME: insert proper C++ library support
4.2813 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.2814 + ;;
4.2815 + aix4* | aix5*)
4.2816 + if test "$host_cpu" = ia64; then
4.2817 + # On IA64, the linker does run time linking by default, so we don't
4.2818 + # have to do anything special.
4.2819 + aix_use_runtimelinking=no
4.2820 + exp_sym_flag='-Bexport'
4.2821 + no_entry_flag=""
4.2822 + else
4.2823 + aix_use_runtimelinking=no
4.2824 +
4.2825 + # Test if we are trying to use run time linking or normal
4.2826 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
4.2827 + # need to do runtime linking.
4.2828 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
4.2829 + for ld_flag in $LDFLAGS; do
4.2830 + case $ld_flag in
4.2831 + *-brtl*)
4.2832 + aix_use_runtimelinking=yes
4.2833 + break
4.2834 + ;;
4.2835 + esac
4.2836 + done
4.2837 + esac
4.2838 +
4.2839 + exp_sym_flag='-bexport'
4.2840 + no_entry_flag='-bnoentry'
4.2841 + fi
4.2842 +
4.2843 + # When large executables or shared objects are built, AIX ld can
4.2844 + # have problems creating the table of contents. If linking a library
4.2845 + # or program results in "error TOC overflow" add -mminimal-toc to
4.2846 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
4.2847 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
4.2848 +
4.2849 + _LT_AC_TAGVAR(archive_cmds, $1)=''
4.2850 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.2851 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
4.2852 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4.2853 +
4.2854 + if test "$GXX" = yes; then
4.2855 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
4.2856 + # We only want to do this on AIX 4.2 and lower, the check
4.2857 + # below for broken collect2 doesn't work under 4.3+
4.2858 + collect2name=`${CC} -print-prog-name=collect2`
4.2859 + if test -f "$collect2name" && \
4.2860 + strings "$collect2name" | grep resolve_lib_name >/dev/null
4.2861 + then
4.2862 + # We have reworked collect2
4.2863 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.2864 + else
4.2865 + # We have old collect2
4.2866 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
4.2867 + # It fails to find uninstalled libraries when the uninstalled
4.2868 + # path is not listed in the libpath. Setting hardcode_minus_L
4.2869 + # to unsupported forces relinking
4.2870 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4.2871 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.2872 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4.2873 + fi
4.2874 + esac
4.2875 + shared_flag='-shared'
4.2876 + if test "$aix_use_runtimelinking" = yes; then
4.2877 + shared_flag="$shared_flag "'${wl}-G'
4.2878 + fi
4.2879 + else
4.2880 + # not using gcc
4.2881 + if test "$host_cpu" = ia64; then
4.2882 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
4.2883 + # chokes on -Wl,-G. The following line is correct:
4.2884 + shared_flag='-G'
4.2885 + else
4.2886 + if test "$aix_use_runtimelinking" = yes; then
4.2887 + shared_flag='${wl}-G'
4.2888 + else
4.2889 + shared_flag='${wl}-bM:SRE'
4.2890 + fi
4.2891 + fi
4.2892 + fi
4.2893 +
4.2894 + # It seems that -bexpall does not export symbols beginning with
4.2895 + # underscore (_), so it is better to generate a list of symbols to export.
4.2896 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4.2897 + if test "$aix_use_runtimelinking" = yes; then
4.2898 + # Warning - without using the other runtime loading flags (-brtl),
4.2899 + # -berok will link without error, but may produce a broken library.
4.2900 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
4.2901 + # Determine the default libpath from the value encoded in an empty executable.
4.2902 + _LT_AC_SYS_LIBPATH_AIX
4.2903 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4.2904 +
4.2905 + _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"
4.2906 + else
4.2907 + if test "$host_cpu" = ia64; then
4.2908 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
4.2909 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
4.2910 + _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"
4.2911 + else
4.2912 + # Determine the default libpath from the value encoded in an empty executable.
4.2913 + _LT_AC_SYS_LIBPATH_AIX
4.2914 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4.2915 + # Warning - without using the other run time loading flags,
4.2916 + # -berok will link without error, but may produce a broken library.
4.2917 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
4.2918 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
4.2919 + # -bexpall does not export symbols beginning with underscore (_)
4.2920 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4.2921 + # Exported symbols can be pulled into shared objects from archives
4.2922 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
4.2923 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
4.2924 + # This is similar to how AIX traditionally builds its shared libraries.
4.2925 + _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'
4.2926 + fi
4.2927 + fi
4.2928 + ;;
4.2929 + chorus*)
4.2930 + case $cc_basename in
4.2931 + *)
4.2932 + # FIXME: insert proper C++ library support
4.2933 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.2934 + ;;
4.2935 + esac
4.2936 + ;;
4.2937 +
4.2938 +
4.2939 + cygwin* | mingw* | pw32*)
4.2940 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4.2941 + # as there is no search path for DLLs.
4.2942 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.2943 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4.2944 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
4.2945 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4.2946 +
4.2947 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
4.2948 + _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'
4.2949 + # If the export-symbols file already is a .def file (1st line
4.2950 + # is EXPORTS), use it as is; otherwise, prepend...
4.2951 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
4.2952 + cp $export_symbols $output_objdir/$soname.def;
4.2953 + else
4.2954 + echo EXPORTS > $output_objdir/$soname.def;
4.2955 + cat $export_symbols >> $output_objdir/$soname.def;
4.2956 + fi~
4.2957 + $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'
4.2958 + else
4.2959 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.2960 + fi
4.2961 + ;;
4.2962 + darwin* | rhapsody*)
4.2963 + case $host_os in
4.2964 + rhapsody* | darwin1.[[012]])
4.2965 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
4.2966 + ;;
4.2967 + *) # Darwin 1.3 on
4.2968 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
4.2969 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
4.2970 + else
4.2971 + case ${MACOSX_DEPLOYMENT_TARGET} in
4.2972 + 10.[[012]])
4.2973 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
4.2974 + ;;
4.2975 + 10.*)
4.2976 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
4.2977 + ;;
4.2978 + esac
4.2979 + fi
4.2980 + ;;
4.2981 + esac
4.2982 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4.2983 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4.2984 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
4.2985 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4.2986 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
4.2987 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4.2988 +
4.2989 + if test "$GXX" = yes ; then
4.2990 + lt_int_apple_cc_single_mod=no
4.2991 + output_verbose_link_cmd='echo'
4.2992 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
4.2993 + lt_int_apple_cc_single_mod=yes
4.2994 + fi
4.2995 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4.2996 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
4.2997 + else
4.2998 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -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'
4.2999 + fi
4.3000 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4.3001 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4.3002 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4.3003 + _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}'
4.3004 + else
4.3005 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -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}'
4.3006 + fi
4.3007 + _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}'
4.3008 + else
4.3009 + case $cc_basename in
4.3010 + xlc*)
4.3011 + output_verbose_link_cmd='echo'
4.3012 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
4.3013 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4.3014 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4.3015 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4.3016 + _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}'
4.3017 + ;;
4.3018 + *)
4.3019 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3020 + ;;
4.3021 + esac
4.3022 + fi
4.3023 + ;;
4.3024 +
4.3025 + dgux*)
4.3026 + case $cc_basename in
4.3027 + ec++*)
4.3028 + # FIXME: insert proper C++ library support
4.3029 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3030 + ;;
4.3031 + ghcx*)
4.3032 + # Green Hills C++ Compiler
4.3033 + # FIXME: insert proper C++ library support
4.3034 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3035 + ;;
4.3036 + *)
4.3037 + # FIXME: insert proper C++ library support
4.3038 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3039 + ;;
4.3040 + esac
4.3041 + ;;
4.3042 + freebsd[[12]]*)
4.3043 + # C++ shared libraries reported to be fairly broken before switch to ELF
4.3044 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3045 + ;;
4.3046 + freebsd-elf*)
4.3047 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4.3048 + ;;
4.3049 + freebsd* | kfreebsd*-gnu | dragonfly*)
4.3050 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
4.3051 + # conventions
4.3052 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
4.3053 + ;;
4.3054 + gnu*)
4.3055 + ;;
4.3056 + hpux9*)
4.3057 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4.3058 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.3059 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4.3060 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.3061 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4.3062 + # but as the default
4.3063 + # location of the library.
4.3064 +
4.3065 + case $cc_basename in
4.3066 + CC*)
4.3067 + # FIXME: insert proper C++ library support
4.3068 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3069 + ;;
4.3070 + aCC*)
4.3071 + _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'
4.3072 + # Commands to make compiler produce verbose output that lists
4.3073 + # what "hidden" libraries, object files and flags are used when
4.3074 + # linking a shared library.
4.3075 + #
4.3076 + # There doesn't appear to be a way to prevent this compiler from
4.3077 + # explicitly linking system object files so we need to strip them
4.3078 + # from the output so that they don't get included in the library
4.3079 + # dependencies.
4.3080 + 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'
4.3081 + ;;
4.3082 + *)
4.3083 + if test "$GXX" = yes; then
4.3084 + _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'
4.3085 + else
4.3086 + # FIXME: insert proper C++ library support
4.3087 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3088 + fi
4.3089 + ;;
4.3090 + esac
4.3091 + ;;
4.3092 + hpux10*|hpux11*)
4.3093 + if test $with_gnu_ld = no; then
4.3094 + case $host_cpu in
4.3095 + hppa*64*)
4.3096 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4.3097 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4.3098 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.3099 + ;;
4.3100 + ia64*)
4.3101 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.3102 + ;;
4.3103 + *)
4.3104 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4.3105 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.3106 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4.3107 + ;;
4.3108 + esac
4.3109 + fi
4.3110 + case $host_cpu in
4.3111 + hppa*64*)
4.3112 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4.3113 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.3114 + ;;
4.3115 + ia64*)
4.3116 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4.3117 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.3118 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4.3119 + # but as the default
4.3120 + # location of the library.
4.3121 + ;;
4.3122 + *)
4.3123 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.3124 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4.3125 + # but as the default
4.3126 + # location of the library.
4.3127 + ;;
4.3128 + esac
4.3129 +
4.3130 + case $cc_basename in
4.3131 + CC*)
4.3132 + # FIXME: insert proper C++ library support
4.3133 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3134 + ;;
4.3135 + aCC*)
4.3136 + case $host_cpu in
4.3137 + hppa*64*|ia64*)
4.3138 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4.3139 + ;;
4.3140 + *)
4.3141 + _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'
4.3142 + ;;
4.3143 + esac
4.3144 + # Commands to make compiler produce verbose output that lists
4.3145 + # what "hidden" libraries, object files and flags are used when
4.3146 + # linking a shared library.
4.3147 + #
4.3148 + # There doesn't appear to be a way to prevent this compiler from
4.3149 + # explicitly linking system object files so we need to strip them
4.3150 + # from the output so that they don't get included in the library
4.3151 + # dependencies.
4.3152 + 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'
4.3153 + ;;
4.3154 + *)
4.3155 + if test "$GXX" = yes; then
4.3156 + if test $with_gnu_ld = no; then
4.3157 + case $host_cpu in
4.3158 + ia64*|hppa*64*)
4.3159 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4.3160 + ;;
4.3161 + *)
4.3162 + _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'
4.3163 + ;;
4.3164 + esac
4.3165 + fi
4.3166 + else
4.3167 + # FIXME: insert proper C++ library support
4.3168 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3169 + fi
4.3170 + ;;
4.3171 + esac
4.3172 + ;;
4.3173 + irix5* | irix6*)
4.3174 + case $cc_basename in
4.3175 + CC*)
4.3176 + # SGI C++
4.3177 + _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 ${output_objdir}/so_locations -o $lib'
4.3178 +
4.3179 + # Archives containing C++ object files must be created using
4.3180 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
4.3181 + # necessary to make sure instantiated templates are included
4.3182 + # in the archive.
4.3183 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
4.3184 + ;;
4.3185 + *)
4.3186 + if test "$GXX" = yes; then
4.3187 + if test "$with_gnu_ld" = no; then
4.3188 + _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}${output_objdir}/so_locations -o $lib'
4.3189 + else
4.3190 + _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'
4.3191 + fi
4.3192 + fi
4.3193 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4.3194 + ;;
4.3195 + esac
4.3196 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4.3197 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.3198 + ;;
4.3199 + linux*)
4.3200 + case $cc_basename in
4.3201 + KCC*)
4.3202 + # Kuck and Associates, Inc. (KAI) C++ Compiler
4.3203 +
4.3204 + # KCC will only create a shared library if the output file
4.3205 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
4.3206 + # to its proper name (with version) after linking.
4.3207 + _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'
4.3208 + _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'
4.3209 + # Commands to make compiler produce verbose output that lists
4.3210 + # what "hidden" libraries, object files and flags are used when
4.3211 + # linking a shared library.
4.3212 + #
4.3213 + # There doesn't appear to be a way to prevent this compiler from
4.3214 + # explicitly linking system object files so we need to strip them
4.3215 + # from the output so that they don't get included in the library
4.3216 + # dependencies.
4.3217 + 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'
4.3218 +
4.3219 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
4.3220 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4.3221 +
4.3222 + # Archives containing C++ object files must be created using
4.3223 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
4.3224 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
4.3225 + ;;
4.3226 + icpc*)
4.3227 + # Intel C++
4.3228 + with_gnu_ld=yes
4.3229 + # version 8.0 and above of icpc choke on multiply defined symbols
4.3230 + # if we add $predep_objects and $postdep_objects, however 7.1 and
4.3231 + # earlier do not add the objects themselves.
4.3232 + case `$CC -V 2>&1` in
4.3233 + *"Version 7."*)
4.3234 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4.3235 + _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'
4.3236 + ;;
4.3237 + *) # Version 8.0 or newer
4.3238 + tmp_idyn=
4.3239 + case $host_cpu in
4.3240 + ia64*) tmp_idyn=' -i_dynamic';;
4.3241 + esac
4.3242 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4.3243 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4.3244 + ;;
4.3245 + esac
4.3246 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4.3247 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4.3248 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4.3249 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
4.3250 + ;;
4.3251 + pgCC*)
4.3252 + # Portland Group C++ compiler
4.3253 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
4.3254 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
4.3255 +
4.3256 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
4.3257 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4.3258 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
4.3259 + ;;
4.3260 + cxx*)
4.3261 + # Compaq C++
4.3262 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4.3263 + _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'
4.3264 +
4.3265 + runpath_var=LD_RUN_PATH
4.3266 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4.3267 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.3268 +
4.3269 + # Commands to make compiler produce verbose output that lists
4.3270 + # what "hidden" libraries, object files and flags are used when
4.3271 + # linking a shared library.
4.3272 + #
4.3273 + # There doesn't appear to be a way to prevent this compiler from
4.3274 + # explicitly linking system object files so we need to strip them
4.3275 + # from the output so that they don't get included in the library
4.3276 + # dependencies.
4.3277 + 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'
4.3278 + ;;
4.3279 + esac
4.3280 + ;;
4.3281 + lynxos*)
4.3282 + # FIXME: insert proper C++ library support
4.3283 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3284 + ;;
4.3285 + m88k*)
4.3286 + # FIXME: insert proper C++ library support
4.3287 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3288 + ;;
4.3289 + mvs*)
4.3290 + case $cc_basename in
4.3291 + cxx*)
4.3292 + # FIXME: insert proper C++ library support
4.3293 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3294 + ;;
4.3295 + *)
4.3296 + # FIXME: insert proper C++ library support
4.3297 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3298 + ;;
4.3299 + esac
4.3300 + ;;
4.3301 + netbsd*)
4.3302 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4.3303 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
4.3304 + wlarc=
4.3305 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4.3306 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.3307 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.3308 + fi
4.3309 + # Workaround some broken pre-1.5 toolchains
4.3310 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
4.3311 + ;;
4.3312 + openbsd2*)
4.3313 + # C++ shared libraries are fairly broken
4.3314 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3315 + ;;
4.3316 + openbsd*)
4.3317 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.3318 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.3319 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
4.3320 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4.3321 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4.3322 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
4.3323 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4.3324 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4.3325 + fi
4.3326 + output_verbose_link_cmd='echo'
4.3327 + ;;
4.3328 + osf3*)
4.3329 + case $cc_basename in
4.3330 + KCC*)
4.3331 + # Kuck and Associates, Inc. (KAI) C++ Compiler
4.3332 +
4.3333 + # KCC will only create a shared library if the output file
4.3334 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
4.3335 + # to its proper name (with version) after linking.
4.3336 + _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'
4.3337 +
4.3338 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4.3339 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.3340 +
4.3341 + # Archives containing C++ object files must be created using
4.3342 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
4.3343 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
4.3344 +
4.3345 + ;;
4.3346 + RCC*)
4.3347 + # Rational C++ 2.4.1
4.3348 + # FIXME: insert proper C++ library support
4.3349 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3350 + ;;
4.3351 + cxx*)
4.3352 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4.3353 + _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 ${output_objdir}/so_locations -o $lib'
4.3354 +
4.3355 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4.3356 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.3357 +
4.3358 + # Commands to make compiler produce verbose output that lists
4.3359 + # what "hidden" libraries, object files and flags are used when
4.3360 + # linking a shared library.
4.3361 + #
4.3362 + # There doesn't appear to be a way to prevent this compiler from
4.3363 + # explicitly linking system object files so we need to strip them
4.3364 + # from the output so that they don't get included in the library
4.3365 + # dependencies.
4.3366 + 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'
4.3367 + ;;
4.3368 + *)
4.3369 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4.3370 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4.3371 + _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}${output_objdir}/so_locations -o $lib'
4.3372 +
4.3373 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4.3374 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.3375 +
4.3376 + # Commands to make compiler produce verbose output that lists
4.3377 + # what "hidden" libraries, object files and flags are used when
4.3378 + # linking a shared library.
4.3379 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4.3380 +
4.3381 + else
4.3382 + # FIXME: insert proper C++ library support
4.3383 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3384 + fi
4.3385 + ;;
4.3386 + esac
4.3387 + ;;
4.3388 + osf4* | osf5*)
4.3389 + case $cc_basename in
4.3390 + KCC*)
4.3391 + # Kuck and Associates, Inc. (KAI) C++ Compiler
4.3392 +
4.3393 + # KCC will only create a shared library if the output file
4.3394 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
4.3395 + # to its proper name (with version) after linking.
4.3396 + _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'
4.3397 +
4.3398 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4.3399 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.3400 +
4.3401 + # Archives containing C++ object files must be created using
4.3402 + # the KAI C++ compiler.
4.3403 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
4.3404 + ;;
4.3405 + RCC*)
4.3406 + # Rational C++ 2.4.1
4.3407 + # FIXME: insert proper C++ library support
4.3408 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3409 + ;;
4.3410 + cxx*)
4.3411 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4.3412 + _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 ${output_objdir}/so_locations -o $lib'
4.3413 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
4.3414 + echo "-hidden">> $lib.exp~
4.3415 + $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 ${output_objdir}/so_locations -o $lib~
4.3416 + $rm $lib.exp'
4.3417 +
4.3418 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4.3419 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.3420 +
4.3421 + # Commands to make compiler produce verbose output that lists
4.3422 + # what "hidden" libraries, object files and flags are used when
4.3423 + # linking a shared library.
4.3424 + #
4.3425 + # There doesn't appear to be a way to prevent this compiler from
4.3426 + # explicitly linking system object files so we need to strip them
4.3427 + # from the output so that they don't get included in the library
4.3428 + # dependencies.
4.3429 + 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'
4.3430 + ;;
4.3431 + *)
4.3432 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4.3433 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4.3434 + _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}${output_objdir}/so_locations -o $lib'
4.3435 +
4.3436 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4.3437 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.3438 +
4.3439 + # Commands to make compiler produce verbose output that lists
4.3440 + # what "hidden" libraries, object files and flags are used when
4.3441 + # linking a shared library.
4.3442 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4.3443 +
4.3444 + else
4.3445 + # FIXME: insert proper C++ library support
4.3446 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3447 + fi
4.3448 + ;;
4.3449 + esac
4.3450 + ;;
4.3451 + psos*)
4.3452 + # FIXME: insert proper C++ library support
4.3453 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3454 + ;;
4.3455 + sco*)
4.3456 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4.3457 + case $cc_basename in
4.3458 + CC*)
4.3459 + # FIXME: insert proper C++ library support
4.3460 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3461 + ;;
4.3462 + *)
4.3463 + # FIXME: insert proper C++ library support
4.3464 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3465 + ;;
4.3466 + esac
4.3467 + ;;
4.3468 + sunos4*)
4.3469 + case $cc_basename in
4.3470 + CC*)
4.3471 + # Sun C++ 4.x
4.3472 + # FIXME: insert proper C++ library support
4.3473 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3474 + ;;
4.3475 + lcc*)
4.3476 + # Lucid
4.3477 + # FIXME: insert proper C++ library support
4.3478 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3479 + ;;
4.3480 + *)
4.3481 + # FIXME: insert proper C++ library support
4.3482 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3483 + ;;
4.3484 + esac
4.3485 + ;;
4.3486 + solaris*)
4.3487 + case $cc_basename in
4.3488 + CC*)
4.3489 + # Sun C++ 4.2, 5.x and Centerline C++
4.3490 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
4.3491 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
4.3492 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4.3493 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4.3494 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4.3495 +
4.3496 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4.3497 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.3498 + case $host_os in
4.3499 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4.3500 + *)
4.3501 + # The C++ compiler is used as linker so we must use $wl
4.3502 + # flag to pass the commands to the underlying system
4.3503 + # linker. We must also pass each convience library through
4.3504 + # to the system linker between allextract/defaultextract.
4.3505 + # The C++ compiler will combine linker options so we
4.3506 + # cannot just pass the convience library names through
4.3507 + # without $wl.
4.3508 + # Supported since Solaris 2.6 (maybe 2.5.1?)
4.3509 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
4.3510 + ;;
4.3511 + esac
4.3512 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4.3513 +
4.3514 + output_verbose_link_cmd='echo'
4.3515 +
4.3516 + # Archives containing C++ object files must be created using
4.3517 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
4.3518 + # necessary to make sure instantiated templates are included
4.3519 + # in the archive.
4.3520 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
4.3521 + ;;
4.3522 + gcx*)
4.3523 + # Green Hills C++ Compiler
4.3524 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4.3525 +
4.3526 + # The C++ compiler must be used to create the archive.
4.3527 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
4.3528 + ;;
4.3529 + *)
4.3530 + # GNU C++ compiler with Solaris linker
4.3531 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4.3532 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
4.3533 + if $CC --version | grep -v '^2\.7' > /dev/null; then
4.3534 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4.3535 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4.3536 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4.3537 +
4.3538 + # Commands to make compiler produce verbose output that lists
4.3539 + # what "hidden" libraries, object files and flags are used when
4.3540 + # linking a shared library.
4.3541 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
4.3542 + else
4.3543 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
4.3544 + # platform.
4.3545 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4.3546 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4.3547 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4.3548 +
4.3549 + # Commands to make compiler produce verbose output that lists
4.3550 + # what "hidden" libraries, object files and flags are used when
4.3551 + # linking a shared library.
4.3552 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
4.3553 + fi
4.3554 +
4.3555 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
4.3556 + fi
4.3557 + ;;
4.3558 + esac
4.3559 + ;;
4.3560 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
4.3561 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4.3562 + ;;
4.3563 + tandem*)
4.3564 + case $cc_basename in
4.3565 + NCC*)
4.3566 + # NonStop-UX NCC 3.20
4.3567 + # FIXME: insert proper C++ library support
4.3568 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3569 + ;;
4.3570 + *)
4.3571 + # FIXME: insert proper C++ library support
4.3572 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3573 + ;;
4.3574 + esac
4.3575 + ;;
4.3576 + vxworks*)
4.3577 + # FIXME: insert proper C++ library support
4.3578 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3579 + ;;
4.3580 + *)
4.3581 + # FIXME: insert proper C++ library support
4.3582 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.3583 + ;;
4.3584 +esac
4.3585 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
4.3586 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4.3587 +
4.3588 +_LT_AC_TAGVAR(GCC, $1)="$GXX"
4.3589 +_LT_AC_TAGVAR(LD, $1)="$LD"
4.3590 +
4.3591 +AC_LIBTOOL_POSTDEP_PREDEP($1)
4.3592 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
4.3593 +AC_LIBTOOL_PROG_CC_C_O($1)
4.3594 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4.3595 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
4.3596 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4.3597 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4.3598 +AC_LIBTOOL_SYS_LIB_STRIP
4.3599 +AC_LIBTOOL_DLOPEN_SELF($1)
4.3600 +
4.3601 +AC_LIBTOOL_CONFIG($1)
4.3602 +
4.3603 +AC_LANG_POP
4.3604 +CC=$lt_save_CC
4.3605 +LDCXX=$LD
4.3606 +LD=$lt_save_LD
4.3607 +GCC=$lt_save_GCC
4.3608 +with_gnu_ldcxx=$with_gnu_ld
4.3609 +with_gnu_ld=$lt_save_with_gnu_ld
4.3610 +lt_cv_path_LDCXX=$lt_cv_path_LD
4.3611 +lt_cv_path_LD=$lt_save_path_LD
4.3612 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
4.3613 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
4.3614 +])# AC_LIBTOOL_LANG_CXX_CONFIG
4.3615 +
4.3616 +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
4.3617 +# ------------------------
4.3618 +# Figure out "hidden" library dependencies from verbose
4.3619 +# compiler output when linking a shared library.
4.3620 +# Parse the compiler output and extract the necessary
4.3621 +# objects, libraries and library flags.
4.3622 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
4.3623 +dnl we can't use the lt_simple_compile_test_code here,
4.3624 +dnl because it contains code intended for an executable,
4.3625 +dnl not a library. It's possible we should let each
4.3626 +dnl tag define a new lt_????_link_test_code variable,
4.3627 +dnl but it's only used here...
4.3628 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
4.3629 +int a;
4.3630 +void foo (void) { a = 0; }
4.3631 +EOF
4.3632 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
4.3633 +class Foo
4.3634 +{
4.3635 +public:
4.3636 + Foo (void) { a = 0; }
4.3637 +private:
4.3638 + int a;
4.3639 +};
4.3640 +EOF
4.3641 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF
4.3642 + subroutine foo
4.3643 + implicit none
4.3644 + integer*4 a
4.3645 + a=0
4.3646 + return
4.3647 + end
4.3648 +EOF
4.3649 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
4.3650 +public class foo {
4.3651 + private int a;
4.3652 + public void bar (void) {
4.3653 + a = 0;
4.3654 + }
4.3655 +};
4.3656 +EOF
4.3657 +])
4.3658 +dnl Parse the compiler output and extract the necessary
4.3659 +dnl objects, libraries and library flags.
4.3660 +if AC_TRY_EVAL(ac_compile); then
4.3661 + # Parse the compiler output and extract the necessary
4.3662 + # objects, libraries and library flags.
4.3663 +
4.3664 + # Sentinel used to keep track of whether or not we are before
4.3665 + # the conftest object file.
4.3666 + pre_test_object_deps_done=no
4.3667 +
4.3668 + # The `*' in the case matches for architectures that use `case' in
4.3669 + # $output_verbose_cmd can trigger glob expansion during the loop
4.3670 + # eval without this substitution.
4.3671 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
4.3672 +
4.3673 + for p in `eval $output_verbose_link_cmd`; do
4.3674 + case $p in
4.3675 +
4.3676 + -L* | -R* | -l*)
4.3677 + # Some compilers place space between "-{L,R}" and the path.
4.3678 + # Remove the space.
4.3679 + if test $p = "-L" \
4.3680 + || test $p = "-R"; then
4.3681 + prev=$p
4.3682 + continue
4.3683 + else
4.3684 + prev=
4.3685 + fi
4.3686 +
4.3687 + if test "$pre_test_object_deps_done" = no; then
4.3688 + case $p in
4.3689 + -L* | -R*)
4.3690 + # Internal compiler library paths should come after those
4.3691 + # provided the user. The postdeps already come after the
4.3692 + # user supplied libs so there is no need to process them.
4.3693 + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
4.3694 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
4.3695 + else
4.3696 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
4.3697 + fi
4.3698 + ;;
4.3699 + # The "-l" case would never come before the object being
4.3700 + # linked, so don't bother handling this case.
4.3701 + esac
4.3702 + else
4.3703 + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
4.3704 + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
4.3705 + else
4.3706 + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
4.3707 + fi
4.3708 + fi
4.3709 + ;;
4.3710 +
4.3711 + *.$objext)
4.3712 + # This assumes that the test object file only shows up
4.3713 + # once in the compiler output.
4.3714 + if test "$p" = "conftest.$objext"; then
4.3715 + pre_test_object_deps_done=yes
4.3716 + continue
4.3717 + fi
4.3718 +
4.3719 + if test "$pre_test_object_deps_done" = no; then
4.3720 + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
4.3721 + _LT_AC_TAGVAR(predep_objects, $1)="$p"
4.3722 + else
4.3723 + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
4.3724 + fi
4.3725 + else
4.3726 + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
4.3727 + _LT_AC_TAGVAR(postdep_objects, $1)="$p"
4.3728 + else
4.3729 + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
4.3730 + fi
4.3731 + fi
4.3732 + ;;
4.3733 +
4.3734 + *) ;; # Ignore the rest.
4.3735 +
4.3736 + esac
4.3737 + done
4.3738 +
4.3739 + # Clean up.
4.3740 + rm -f a.out a.exe
4.3741 +else
4.3742 + echo "libtool.m4: error: problem compiling $1 test program"
4.3743 +fi
4.3744 +
4.3745 +$rm -f confest.$objext
4.3746 +
4.3747 +# PORTME: override above test on systems where it is broken
4.3748 +ifelse([$1],[CXX],
4.3749 +[case $host_os in
4.3750 +solaris*)
4.3751 + case $cc_basename in
4.3752 + CC*)
4.3753 + # Adding this requires a known-good setup of shared libraries for
4.3754 + # Sun compiler versions before 5.6, else PIC objects from an old
4.3755 + # archive will be linked into the output, leading to subtle bugs.
4.3756 + _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
4.3757 + ;;
4.3758 + esac
4.3759 +esac
4.3760 +])
4.3761 +
4.3762 +case " $_LT_AC_TAGVAR(postdeps, $1) " in
4.3763 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
4.3764 +esac
4.3765 +])# AC_LIBTOOL_POSTDEP_PREDEP
4.3766 +
4.3767 +# AC_LIBTOOL_LANG_F77_CONFIG
4.3768 +# ------------------------
4.3769 +# Ensure that the configuration vars for the C compiler are
4.3770 +# suitably defined. Those variables are subsequently used by
4.3771 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4.3772 +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
4.3773 +AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
4.3774 +[AC_REQUIRE([AC_PROG_F77])
4.3775 +AC_LANG_PUSH(Fortran 77)
4.3776 +
4.3777 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4.3778 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
4.3779 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
4.3780 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4.3781 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4.3782 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
4.3783 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4.3784 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4.3785 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4.3786 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4.3787 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
4.3788 +_LT_AC_TAGVAR(module_cmds, $1)=
4.3789 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
4.3790 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4.3791 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4.3792 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
4.3793 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4.3794 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4.3795 +
4.3796 +# Source file extension for f77 test sources.
4.3797 +ac_ext=f
4.3798 +
4.3799 +# Object file extension for compiled f77 test sources.
4.3800 +objext=o
4.3801 +_LT_AC_TAGVAR(objext, $1)=$objext
4.3802 +
4.3803 +# Code to be used in simple compile tests
4.3804 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
4.3805 +
4.3806 +# Code to be used in simple link tests
4.3807 +lt_simple_link_test_code=" program t\n end\n"
4.3808 +
4.3809 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4.3810 +_LT_AC_SYS_COMPILER
4.3811 +
4.3812 +# save warnings/boilerplate of simple test code
4.3813 +_LT_COMPILER_BOILERPLATE
4.3814 +_LT_LINKER_BOILERPLATE
4.3815 +
4.3816 +# Allow CC to be a program name with arguments.
4.3817 +lt_save_CC="$CC"
4.3818 +CC=${F77-"f77"}
4.3819 +compiler=$CC
4.3820 +_LT_AC_TAGVAR(compiler, $1)=$CC
4.3821 +_LT_CC_BASENAME([$compiler])
4.3822 +
4.3823 +AC_MSG_CHECKING([if libtool supports shared libraries])
4.3824 +AC_MSG_RESULT([$can_build_shared])
4.3825 +
4.3826 +AC_MSG_CHECKING([whether to build shared libraries])
4.3827 +test "$can_build_shared" = "no" && enable_shared=no
4.3828 +
4.3829 +# On AIX, shared libraries and static libraries use the same namespace, and
4.3830 +# are all built from PIC.
4.3831 +case $host_os in
4.3832 +aix3*)
4.3833 + test "$enable_shared" = yes && enable_static=no
4.3834 + if test -n "$RANLIB"; then
4.3835 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
4.3836 + postinstall_cmds='$RANLIB $lib'
4.3837 + fi
4.3838 + ;;
4.3839 +aix4* | aix5*)
4.3840 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4.3841 + test "$enable_shared" = yes && enable_static=no
4.3842 + fi
4.3843 + ;;
4.3844 +esac
4.3845 +AC_MSG_RESULT([$enable_shared])
4.3846 +
4.3847 +AC_MSG_CHECKING([whether to build static libraries])
4.3848 +# Make sure either enable_shared or enable_static is yes.
4.3849 +test "$enable_shared" = yes || enable_static=yes
4.3850 +AC_MSG_RESULT([$enable_static])
4.3851 +
4.3852 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4.3853 +
4.3854 +_LT_AC_TAGVAR(GCC, $1)="$G77"
4.3855 +_LT_AC_TAGVAR(LD, $1)="$LD"
4.3856 +
4.3857 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
4.3858 +AC_LIBTOOL_PROG_CC_C_O($1)
4.3859 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4.3860 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
4.3861 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4.3862 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4.3863 +AC_LIBTOOL_SYS_LIB_STRIP
4.3864 +
4.3865 +
4.3866 +AC_LIBTOOL_CONFIG($1)
4.3867 +
4.3868 +AC_LANG_POP
4.3869 +CC="$lt_save_CC"
4.3870 +])# AC_LIBTOOL_LANG_F77_CONFIG
4.3871 +
4.3872 +
4.3873 +# AC_LIBTOOL_LANG_GCJ_CONFIG
4.3874 +# --------------------------
4.3875 +# Ensure that the configuration vars for the C compiler are
4.3876 +# suitably defined. Those variables are subsequently used by
4.3877 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4.3878 +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
4.3879 +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
4.3880 +[AC_LANG_SAVE
4.3881 +
4.3882 +# Source file extension for Java test sources.
4.3883 +ac_ext=java
4.3884 +
4.3885 +# Object file extension for compiled Java test sources.
4.3886 +objext=o
4.3887 +_LT_AC_TAGVAR(objext, $1)=$objext
4.3888 +
4.3889 +# Code to be used in simple compile tests
4.3890 +lt_simple_compile_test_code="class foo {}\n"
4.3891 +
4.3892 +# Code to be used in simple link tests
4.3893 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
4.3894 +
4.3895 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4.3896 +_LT_AC_SYS_COMPILER
4.3897 +
4.3898 +# save warnings/boilerplate of simple test code
4.3899 +_LT_COMPILER_BOILERPLATE
4.3900 +_LT_LINKER_BOILERPLATE
4.3901 +
4.3902 +# Allow CC to be a program name with arguments.
4.3903 +lt_save_CC="$CC"
4.3904 +CC=${GCJ-"gcj"}
4.3905 +compiler=$CC
4.3906 +_LT_AC_TAGVAR(compiler, $1)=$CC
4.3907 +_LT_CC_BASENAME([$compiler])
4.3908 +
4.3909 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
4.3910 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4.3911 +
4.3912 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4.3913 +
4.3914 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
4.3915 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
4.3916 +AC_LIBTOOL_PROG_CC_C_O($1)
4.3917 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4.3918 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
4.3919 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4.3920 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4.3921 +AC_LIBTOOL_SYS_LIB_STRIP
4.3922 +AC_LIBTOOL_DLOPEN_SELF($1)
4.3923 +
4.3924 +AC_LIBTOOL_CONFIG($1)
4.3925 +
4.3926 +AC_LANG_RESTORE
4.3927 +CC="$lt_save_CC"
4.3928 +])# AC_LIBTOOL_LANG_GCJ_CONFIG
4.3929 +
4.3930 +
4.3931 +# AC_LIBTOOL_LANG_RC_CONFIG
4.3932 +# --------------------------
4.3933 +# Ensure that the configuration vars for the Windows resource compiler are
4.3934 +# suitably defined. Those variables are subsequently used by
4.3935 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4.3936 +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
4.3937 +AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
4.3938 +[AC_LANG_SAVE
4.3939 +
4.3940 +# Source file extension for RC test sources.
4.3941 +ac_ext=rc
4.3942 +
4.3943 +# Object file extension for compiled RC test sources.
4.3944 +objext=o
4.3945 +_LT_AC_TAGVAR(objext, $1)=$objext
4.3946 +
4.3947 +# Code to be used in simple compile tests
4.3948 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
4.3949 +
4.3950 +# Code to be used in simple link tests
4.3951 +lt_simple_link_test_code="$lt_simple_compile_test_code"
4.3952 +
4.3953 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4.3954 +_LT_AC_SYS_COMPILER
4.3955 +
4.3956 +# save warnings/boilerplate of simple test code
4.3957 +_LT_COMPILER_BOILERPLATE
4.3958 +_LT_LINKER_BOILERPLATE
4.3959 +
4.3960 +# Allow CC to be a program name with arguments.
4.3961 +lt_save_CC="$CC"
4.3962 +CC=${RC-"windres"}
4.3963 +compiler=$CC
4.3964 +_LT_AC_TAGVAR(compiler, $1)=$CC
4.3965 +_LT_CC_BASENAME([$compiler])
4.3966 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
4.3967 +
4.3968 +AC_LIBTOOL_CONFIG($1)
4.3969 +
4.3970 +AC_LANG_RESTORE
4.3971 +CC="$lt_save_CC"
4.3972 +])# AC_LIBTOOL_LANG_RC_CONFIG
4.3973 +
4.3974 +
4.3975 +# AC_LIBTOOL_CONFIG([TAGNAME])
4.3976 +# ----------------------------
4.3977 +# If TAGNAME is not passed, then create an initial libtool script
4.3978 +# with a default configuration from the untagged config vars. Otherwise
4.3979 +# add code to config.status for appending the configuration named by
4.3980 +# TAGNAME from the matching tagged config vars.
4.3981 +AC_DEFUN([AC_LIBTOOL_CONFIG],
4.3982 +[# The else clause should only fire when bootstrapping the
4.3983 +# libtool distribution, otherwise you forgot to ship ltmain.sh
4.3984 +# with your package, and you will get complaints that there are
4.3985 +# no rules to generate ltmain.sh.
4.3986 +if test -f "$ltmain"; then
4.3987 + # See if we are running on zsh, and set the options which allow our commands through
4.3988 + # without removal of \ escapes.
4.3989 + if test -n "${ZSH_VERSION+set}" ; then
4.3990 + setopt NO_GLOB_SUBST
4.3991 + fi
4.3992 + # Now quote all the things that may contain metacharacters while being
4.3993 + # careful not to overquote the AC_SUBSTed values. We take copies of the
4.3994 + # variables and quote the copies for generation of the libtool script.
4.3995 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
4.3996 + SED SHELL STRIP \
4.3997 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
4.3998 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
4.3999 + deplibs_check_method reload_flag reload_cmds need_locks \
4.4000 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
4.4001 + lt_cv_sys_global_symbol_to_c_name_address \
4.4002 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
4.4003 + old_postinstall_cmds old_postuninstall_cmds \
4.4004 + _LT_AC_TAGVAR(compiler, $1) \
4.4005 + _LT_AC_TAGVAR(CC, $1) \
4.4006 + _LT_AC_TAGVAR(LD, $1) \
4.4007 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
4.4008 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
4.4009 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
4.4010 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
4.4011 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
4.4012 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
4.4013 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
4.4014 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
4.4015 + _LT_AC_TAGVAR(old_archive_cmds, $1) \
4.4016 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
4.4017 + _LT_AC_TAGVAR(predep_objects, $1) \
4.4018 + _LT_AC_TAGVAR(postdep_objects, $1) \
4.4019 + _LT_AC_TAGVAR(predeps, $1) \
4.4020 + _LT_AC_TAGVAR(postdeps, $1) \
4.4021 + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
4.4022 + _LT_AC_TAGVAR(archive_cmds, $1) \
4.4023 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
4.4024 + _LT_AC_TAGVAR(postinstall_cmds, $1) \
4.4025 + _LT_AC_TAGVAR(postuninstall_cmds, $1) \
4.4026 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
4.4027 + _LT_AC_TAGVAR(allow_undefined_flag, $1) \
4.4028 + _LT_AC_TAGVAR(no_undefined_flag, $1) \
4.4029 + _LT_AC_TAGVAR(export_symbols_cmds, $1) \
4.4030 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
4.4031 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
4.4032 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
4.4033 + _LT_AC_TAGVAR(hardcode_automatic, $1) \
4.4034 + _LT_AC_TAGVAR(module_cmds, $1) \
4.4035 + _LT_AC_TAGVAR(module_expsym_cmds, $1) \
4.4036 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
4.4037 + _LT_AC_TAGVAR(exclude_expsyms, $1) \
4.4038 + _LT_AC_TAGVAR(include_expsyms, $1); do
4.4039 +
4.4040 + case $var in
4.4041 + _LT_AC_TAGVAR(old_archive_cmds, $1) | \
4.4042 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
4.4043 + _LT_AC_TAGVAR(archive_cmds, $1) | \
4.4044 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
4.4045 + _LT_AC_TAGVAR(module_cmds, $1) | \
4.4046 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
4.4047 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
4.4048 + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
4.4049 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
4.4050 + postinstall_cmds | postuninstall_cmds | \
4.4051 + old_postinstall_cmds | old_postuninstall_cmds | \
4.4052 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
4.4053 + # Double-quote double-evaled strings.
4.4054 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
4.4055 + ;;
4.4056 + *)
4.4057 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
4.4058 + ;;
4.4059 + esac
4.4060 + done
4.4061 +
4.4062 + case $lt_echo in
4.4063 + *'\[$]0 --fallback-echo"')
4.4064 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
4.4065 + ;;
4.4066 + esac
4.4067 +
4.4068 +ifelse([$1], [],
4.4069 + [cfgfile="${ofile}T"
4.4070 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
4.4071 + $rm -f "$cfgfile"
4.4072 + AC_MSG_NOTICE([creating $ofile])],
4.4073 + [cfgfile="$ofile"])
4.4074 +
4.4075 + cat <<__EOF__ >> "$cfgfile"
4.4076 +ifelse([$1], [],
4.4077 +[#! $SHELL
4.4078 +
4.4079 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
4.4080 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4.4081 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
4.4082 +#
4.4083 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
4.4084 +# Free Software Foundation, Inc.
4.4085 +#
4.4086 +# This file is part of GNU Libtool:
4.4087 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
4.4088 +#
4.4089 +# This program is free software; you can redistribute it and/or modify
4.4090 +# it under the terms of the GNU General Public License as published by
4.4091 +# the Free Software Foundation; either version 2 of the License, or
4.4092 +# (at your option) any later version.
4.4093 +#
4.4094 +# This program is distributed in the hope that it will be useful, but
4.4095 +# WITHOUT ANY WARRANTY; without even the implied warranty of
4.4096 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4.4097 +# General Public License for more details.
4.4098 +#
4.4099 +# You should have received a copy of the GNU General Public License
4.4100 +# along with this program; if not, write to the Free Software
4.4101 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
4.4102 +#
4.4103 +# As a special exception to the GNU General Public License, if you
4.4104 +# distribute this file as part of a program that contains a
4.4105 +# configuration script generated by Autoconf, you may include it under
4.4106 +# the same distribution terms that you use for the rest of that program.
4.4107 +
4.4108 +# A sed program that does not truncate output.
4.4109 +SED=$lt_SED
4.4110 +
4.4111 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
4.4112 +Xsed="$SED -e 1s/^X//"
4.4113 +
4.4114 +# The HP-UX ksh and POSIX shell print the target directory to stdout
4.4115 +# if CDPATH is set.
4.4116 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4.4117 +
4.4118 +# The names of the tagged configurations supported by this script.
4.4119 +available_tags=
4.4120 +
4.4121 +# ### BEGIN LIBTOOL CONFIG],
4.4122 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
4.4123 +
4.4124 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4.4125 +
4.4126 +# Shell to use when invoking shell scripts.
4.4127 +SHELL=$lt_SHELL
4.4128 +
4.4129 +# Whether or not to build shared libraries.
4.4130 +build_libtool_libs=$enable_shared
4.4131 +
4.4132 +# Whether or not to build static libraries.
4.4133 +build_old_libs=$enable_static
4.4134 +
4.4135 +# Whether or not to add -lc for building shared libraries.
4.4136 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
4.4137 +
4.4138 +# Whether or not to disallow shared libs when runtime libs are static
4.4139 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
4.4140 +
4.4141 +# Whether or not to optimize for fast installation.
4.4142 +fast_install=$enable_fast_install
4.4143 +
4.4144 +# The host system.
4.4145 +host_alias=$host_alias
4.4146 +host=$host
4.4147 +host_os=$host_os
4.4148 +
4.4149 +# The build system.
4.4150 +build_alias=$build_alias
4.4151 +build=$build
4.4152 +build_os=$build_os
4.4153 +
4.4154 +# An echo program that does not interpret backslashes.
4.4155 +echo=$lt_echo
4.4156 +
4.4157 +# The archiver.
4.4158 +AR=$lt_AR
4.4159 +AR_FLAGS=$lt_AR_FLAGS
4.4160 +
4.4161 +# A C compiler.
4.4162 +LTCC=$lt_LTCC
4.4163 +
4.4164 +# A language-specific compiler.
4.4165 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
4.4166 +
4.4167 +# Is the compiler the GNU C compiler?
4.4168 +with_gcc=$_LT_AC_TAGVAR(GCC, $1)
4.4169 +
4.4170 +# An ERE matcher.
4.4171 +EGREP=$lt_EGREP
4.4172 +
4.4173 +# The linker used to build libraries.
4.4174 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
4.4175 +
4.4176 +# Whether we need hard or soft links.
4.4177 +LN_S=$lt_LN_S
4.4178 +
4.4179 +# A BSD-compatible nm program.
4.4180 +NM=$lt_NM
4.4181 +
4.4182 +# A symbol stripping program
4.4183 +STRIP=$lt_STRIP
4.4184 +
4.4185 +# Used to examine libraries when file_magic_cmd begins "file"
4.4186 +MAGIC_CMD=$MAGIC_CMD
4.4187 +
4.4188 +# Used on cygwin: DLL creation program.
4.4189 +DLLTOOL="$DLLTOOL"
4.4190 +
4.4191 +# Used on cygwin: object dumper.
4.4192 +OBJDUMP="$OBJDUMP"
4.4193 +
4.4194 +# Used on cygwin: assembler.
4.4195 +AS="$AS"
4.4196 +
4.4197 +# The name of the directory that contains temporary libtool files.
4.4198 +objdir=$objdir
4.4199 +
4.4200 +# How to create reloadable object files.
4.4201 +reload_flag=$lt_reload_flag
4.4202 +reload_cmds=$lt_reload_cmds
4.4203 +
4.4204 +# How to pass a linker flag through the compiler.
4.4205 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4.4206 +
4.4207 +# Object file suffix (normally "o").
4.4208 +objext="$ac_objext"
4.4209 +
4.4210 +# Old archive suffix (normally "a").
4.4211 +libext="$libext"
4.4212 +
4.4213 +# Shared library suffix (normally ".so").
4.4214 +shrext_cmds='$shrext_cmds'
4.4215 +
4.4216 +# Executable file suffix (normally "").
4.4217 +exeext="$exeext"
4.4218 +
4.4219 +# Additional compiler flags for building library objects.
4.4220 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
4.4221 +pic_mode=$pic_mode
4.4222 +
4.4223 +# What is the maximum length of a command?
4.4224 +max_cmd_len=$lt_cv_sys_max_cmd_len
4.4225 +
4.4226 +# Does compiler simultaneously support -c and -o options?
4.4227 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
4.4228 +
4.4229 +# Must we lock files when doing compilation?
4.4230 +need_locks=$lt_need_locks
4.4231 +
4.4232 +# Do we need the lib prefix for modules?
4.4233 +need_lib_prefix=$need_lib_prefix
4.4234 +
4.4235 +# Do we need a version for libraries?
4.4236 +need_version=$need_version
4.4237 +
4.4238 +# Whether dlopen is supported.
4.4239 +dlopen_support=$enable_dlopen
4.4240 +
4.4241 +# Whether dlopen of programs is supported.
4.4242 +dlopen_self=$enable_dlopen_self
4.4243 +
4.4244 +# Whether dlopen of statically linked programs is supported.
4.4245 +dlopen_self_static=$enable_dlopen_self_static
4.4246 +
4.4247 +# Compiler flag to prevent dynamic linking.
4.4248 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
4.4249 +
4.4250 +# Compiler flag to turn off builtin functions.
4.4251 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
4.4252 +
4.4253 +# Compiler flag to allow reflexive dlopens.
4.4254 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
4.4255 +
4.4256 +# Compiler flag to generate shared objects directly from archives.
4.4257 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
4.4258 +
4.4259 +# Compiler flag to generate thread-safe objects.
4.4260 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
4.4261 +
4.4262 +# Library versioning type.
4.4263 +version_type=$version_type
4.4264 +
4.4265 +# Format of library name prefix.
4.4266 +libname_spec=$lt_libname_spec
4.4267 +
4.4268 +# List of archive names. First name is the real one, the rest are links.
4.4269 +# The last name is the one that the linker finds with -lNAME.
4.4270 +library_names_spec=$lt_library_names_spec
4.4271 +
4.4272 +# The coded name of the library, if different from the real name.
4.4273 +soname_spec=$lt_soname_spec
4.4274 +
4.4275 +# Commands used to build and install an old-style archive.
4.4276 +RANLIB=$lt_RANLIB
4.4277 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
4.4278 +old_postinstall_cmds=$lt_old_postinstall_cmds
4.4279 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
4.4280 +
4.4281 +# Create an old-style archive from a shared archive.
4.4282 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
4.4283 +
4.4284 +# Create a temporary old-style archive to link instead of a shared archive.
4.4285 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
4.4286 +
4.4287 +# Commands used to build and install a shared archive.
4.4288 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
4.4289 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
4.4290 +postinstall_cmds=$lt_postinstall_cmds
4.4291 +postuninstall_cmds=$lt_postuninstall_cmds
4.4292 +
4.4293 +# Commands used to build a loadable module (assumed same as above if empty)
4.4294 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
4.4295 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
4.4296 +
4.4297 +# Commands to strip libraries.
4.4298 +old_striplib=$lt_old_striplib
4.4299 +striplib=$lt_striplib
4.4300 +
4.4301 +# Dependencies to place before the objects being linked to create a
4.4302 +# shared library.
4.4303 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
4.4304 +
4.4305 +# Dependencies to place after the objects being linked to create a
4.4306 +# shared library.
4.4307 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
4.4308 +
4.4309 +# Dependencies to place before the objects being linked to create a
4.4310 +# shared library.
4.4311 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
4.4312 +
4.4313 +# Dependencies to place after the objects being linked to create a
4.4314 +# shared library.
4.4315 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
4.4316 +
4.4317 +# The library search path used internally by the compiler when linking
4.4318 +# a shared library.
4.4319 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
4.4320 +
4.4321 +# Method to check whether dependent libraries are shared objects.
4.4322 +deplibs_check_method=$lt_deplibs_check_method
4.4323 +
4.4324 +# Command to use when deplibs_check_method == file_magic.
4.4325 +file_magic_cmd=$lt_file_magic_cmd
4.4326 +
4.4327 +# Flag that allows shared libraries with undefined symbols to be built.
4.4328 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
4.4329 +
4.4330 +# Flag that forces no undefined symbols.
4.4331 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
4.4332 +
4.4333 +# Commands used to finish a libtool library installation in a directory.
4.4334 +finish_cmds=$lt_finish_cmds
4.4335 +
4.4336 +# Same as above, but a single script fragment to be evaled but not shown.
4.4337 +finish_eval=$lt_finish_eval
4.4338 +
4.4339 +# Take the output of nm and produce a listing of raw symbols and C names.
4.4340 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
4.4341 +
4.4342 +# Transform the output of nm in a proper C declaration
4.4343 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
4.4344 +
4.4345 +# Transform the output of nm in a C name address pair
4.4346 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
4.4347 +
4.4348 +# This is the shared library runtime path variable.
4.4349 +runpath_var=$runpath_var
4.4350 +
4.4351 +# This is the shared library path variable.
4.4352 +shlibpath_var=$shlibpath_var
4.4353 +
4.4354 +# Is shlibpath searched before the hard-coded library search path?
4.4355 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
4.4356 +
4.4357 +# How to hardcode a shared library path into an executable.
4.4358 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
4.4359 +
4.4360 +# Whether we should hardcode library paths into libraries.
4.4361 +hardcode_into_libs=$hardcode_into_libs
4.4362 +
4.4363 +# Flag to hardcode \$libdir into a binary during linking.
4.4364 +# This must work even if \$libdir does not exist.
4.4365 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
4.4366 +
4.4367 +# If ld is used when linking, flag to hardcode \$libdir into
4.4368 +# a binary during linking. This must work even if \$libdir does
4.4369 +# not exist.
4.4370 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
4.4371 +
4.4372 +# Whether we need a single -rpath flag with a separated argument.
4.4373 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
4.4374 +
4.4375 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
4.4376 +# resulting binary.
4.4377 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
4.4378 +
4.4379 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
4.4380 +# resulting binary.
4.4381 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
4.4382 +
4.4383 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
4.4384 +# the resulting binary.
4.4385 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
4.4386 +
4.4387 +# Set to yes if building a shared library automatically hardcodes DIR into the library
4.4388 +# and all subsequent libraries and executables linked against it.
4.4389 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
4.4390 +
4.4391 +# Variables whose values should be saved in libtool wrapper scripts and
4.4392 +# restored at relink time.
4.4393 +variables_saved_for_relink="$variables_saved_for_relink"
4.4394 +
4.4395 +# Whether libtool must link a program against all its dependency libraries.
4.4396 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
4.4397 +
4.4398 +# Compile-time system search path for libraries
4.4399 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
4.4400 +
4.4401 +# Run-time system search path for libraries
4.4402 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
4.4403 +
4.4404 +# Fix the shell variable \$srcfile for the compiler.
4.4405 +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
4.4406 +
4.4407 +# Set to yes if exported symbols are required.
4.4408 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
4.4409 +
4.4410 +# The commands to list exported symbols.
4.4411 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
4.4412 +
4.4413 +# The commands to extract the exported symbol list from a shared archive.
4.4414 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
4.4415 +
4.4416 +# Symbols that should not be listed in the preloaded symbols.
4.4417 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
4.4418 +
4.4419 +# Symbols that must always be exported.
4.4420 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
4.4421 +
4.4422 +ifelse([$1],[],
4.4423 +[# ### END LIBTOOL CONFIG],
4.4424 +[# ### END LIBTOOL TAG CONFIG: $tagname])
4.4425 +
4.4426 +__EOF__
4.4427 +
4.4428 +ifelse([$1],[], [
4.4429 + case $host_os in
4.4430 + aix3*)
4.4431 + cat <<\EOF >> "$cfgfile"
4.4432 +
4.4433 +# AIX sometimes has problems with the GCC collect2 program. For some
4.4434 +# reason, if we set the COLLECT_NAMES environment variable, the problems
4.4435 +# vanish in a puff of smoke.
4.4436 +if test "X${COLLECT_NAMES+set}" != Xset; then
4.4437 + COLLECT_NAMES=
4.4438 + export COLLECT_NAMES
4.4439 +fi
4.4440 +EOF
4.4441 + ;;
4.4442 + esac
4.4443 +
4.4444 + # We use sed instead of cat because bash on DJGPP gets confused if
4.4445 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
4.4446 + # text mode, it properly converts lines to CR/LF. This bash problem
4.4447 + # is reportedly fixed, but why not run on old versions too?
4.4448 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
4.4449 +
4.4450 + mv -f "$cfgfile" "$ofile" || \
4.4451 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
4.4452 + chmod +x "$ofile"
4.4453 +])
4.4454 +else
4.4455 + # If there is no Makefile yet, we rely on a make rule to execute
4.4456 + # `config.status --recheck' to rerun these tests and create the
4.4457 + # libtool script then.
4.4458 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
4.4459 + if test -f "$ltmain_in"; then
4.4460 + test -f Makefile && make "$ltmain"
4.4461 + fi
4.4462 +fi
4.4463 +])# AC_LIBTOOL_CONFIG
4.4464 +
4.4465 +
4.4466 +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
4.4467 +# -------------------------------------------
4.4468 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
4.4469 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
4.4470 +
4.4471 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
4.4472 +
4.4473 +if test "$GCC" = yes; then
4.4474 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4.4475 +
4.4476 + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
4.4477 + lt_cv_prog_compiler_rtti_exceptions,
4.4478 + [-fno-rtti -fno-exceptions], [],
4.4479 + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
4.4480 +fi
4.4481 +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
4.4482 +
4.4483 +
4.4484 +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
4.4485 +# ---------------------------------
4.4486 +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
4.4487 +[AC_REQUIRE([AC_CANONICAL_HOST])
4.4488 +AC_REQUIRE([AC_PROG_NM])
4.4489 +AC_REQUIRE([AC_OBJEXT])
4.4490 +# Check for command to grab the raw symbol name followed by C symbol from nm.
4.4491 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
4.4492 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
4.4493 +[
4.4494 +# These are sane defaults that work on at least a few old systems.
4.4495 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
4.4496 +
4.4497 +# Character class describing NM global symbol codes.
4.4498 +symcode='[[BCDEGRST]]'
4.4499 +
4.4500 +# Regexp to match symbols that can be accessed directly from C.
4.4501 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
4.4502 +
4.4503 +# Transform an extracted symbol line into a proper C declaration
4.4504 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
4.4505 +
4.4506 +# Transform an extracted symbol line into symbol name and symbol address
4.4507 +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'"
4.4508 +
4.4509 +# Define system-specific variables.
4.4510 +case $host_os in
4.4511 +aix*)
4.4512 + symcode='[[BCDT]]'
4.4513 + ;;
4.4514 +cygwin* | mingw* | pw32*)
4.4515 + symcode='[[ABCDGISTW]]'
4.4516 + ;;
4.4517 +hpux*) # Its linker distinguishes data from code symbols
4.4518 + if test "$host_cpu" = ia64; then
4.4519 + symcode='[[ABCDEGRST]]'
4.4520 + fi
4.4521 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4.4522 + 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'"
4.4523 + ;;
4.4524 +linux*)
4.4525 + if test "$host_cpu" = ia64; then
4.4526 + symcode='[[ABCDGIRSTW]]'
4.4527 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4.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'"
4.4529 + fi
4.4530 + ;;
4.4531 +irix* | nonstopux*)
4.4532 + symcode='[[BCDEGRST]]'
4.4533 + ;;
4.4534 +osf*)
4.4535 + symcode='[[BCDEGQRST]]'
4.4536 + ;;
4.4537 +solaris* | sysv5*)
4.4538 + symcode='[[BDRT]]'
4.4539 + ;;
4.4540 +sysv4)
4.4541 + symcode='[[DFNSTU]]'
4.4542 + ;;
4.4543 +esac
4.4544 +
4.4545 +# Handle CRLF in mingw tool chain
4.4546 +opt_cr=
4.4547 +case $build_os in
4.4548 +mingw*)
4.4549 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4.4550 + ;;
4.4551 +esac
4.4552 +
4.4553 +# If we're using GNU nm, then use its standard symbol codes.
4.4554 +case `$NM -V 2>&1` in
4.4555 +*GNU* | *'with BFD'*)
4.4556 + symcode='[[ABCDGIRSTW]]' ;;
4.4557 +esac
4.4558 +
4.4559 +# Try without a prefix undercore, then with it.
4.4560 +for ac_symprfx in "" "_"; do
4.4561 +
4.4562 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4.4563 + symxfrm="\\1 $ac_symprfx\\2 \\2"
4.4564 +
4.4565 + # Write the raw and C identifiers.
4.4566 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4.4567 +
4.4568 + # Check to see that the pipe works correctly.
4.4569 + pipe_works=no
4.4570 +
4.4571 + rm -f conftest*
4.4572 + cat > conftest.$ac_ext <<EOF
4.4573 +#ifdef __cplusplus
4.4574 +extern "C" {
4.4575 +#endif
4.4576 +char nm_test_var;
4.4577 +void nm_test_func(){}
4.4578 +#ifdef __cplusplus
4.4579 +}
4.4580 +#endif
4.4581 +int main(){nm_test_var='a';nm_test_func();return(0);}
4.4582 +EOF
4.4583 +
4.4584 + if AC_TRY_EVAL(ac_compile); then
4.4585 + # Now try to grab the symbols.
4.4586 + nlist=conftest.nm
4.4587 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
4.4588 + # Try sorting and uniquifying the output.
4.4589 + if sort "$nlist" | uniq > "$nlist"T; then
4.4590 + mv -f "$nlist"T "$nlist"
4.4591 + else
4.4592 + rm -f "$nlist"T
4.4593 + fi
4.4594 +
4.4595 + # Make sure that we snagged all the symbols we need.
4.4596 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
4.4597 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
4.4598 + cat <<EOF > conftest.$ac_ext
4.4599 +#ifdef __cplusplus
4.4600 +extern "C" {
4.4601 +#endif
4.4602 +
4.4603 +EOF
4.4604 + # Now generate the symbol file.
4.4605 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
4.4606 +
4.4607 + cat <<EOF >> conftest.$ac_ext
4.4608 +#if defined (__STDC__) && __STDC__
4.4609 +# define lt_ptr_t void *
4.4610 +#else
4.4611 +# define lt_ptr_t char *
4.4612 +# define const
4.4613 +#endif
4.4614 +
4.4615 +/* The mapping between symbol names and symbols. */
4.4616 +const struct {
4.4617 + const char *name;
4.4618 + lt_ptr_t address;
4.4619 +}
4.4620 +lt_preloaded_symbols[[]] =
4.4621 +{
4.4622 +EOF
4.4623 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
4.4624 + cat <<\EOF >> conftest.$ac_ext
4.4625 + {0, (lt_ptr_t) 0}
4.4626 +};
4.4627 +
4.4628 +#ifdef __cplusplus
4.4629 +}
4.4630 +#endif
4.4631 +EOF
4.4632 + # Now try linking the two files.
4.4633 + mv conftest.$ac_objext conftstm.$ac_objext
4.4634 + lt_save_LIBS="$LIBS"
4.4635 + lt_save_CFLAGS="$CFLAGS"
4.4636 + LIBS="conftstm.$ac_objext"
4.4637 + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
4.4638 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
4.4639 + pipe_works=yes
4.4640 + fi
4.4641 + LIBS="$lt_save_LIBS"
4.4642 + CFLAGS="$lt_save_CFLAGS"
4.4643 + else
4.4644 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
4.4645 + fi
4.4646 + else
4.4647 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
4.4648 + fi
4.4649 + else
4.4650 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
4.4651 + fi
4.4652 + else
4.4653 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
4.4654 + cat conftest.$ac_ext >&5
4.4655 + fi
4.4656 + rm -f conftest* conftst*
4.4657 +
4.4658 + # Do not use the global_symbol_pipe unless it works.
4.4659 + if test "$pipe_works" = yes; then
4.4660 + break
4.4661 + else
4.4662 + lt_cv_sys_global_symbol_pipe=
4.4663 + fi
4.4664 +done
4.4665 +])
4.4666 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
4.4667 + lt_cv_sys_global_symbol_to_cdecl=
4.4668 +fi
4.4669 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4.4670 + AC_MSG_RESULT(failed)
4.4671 +else
4.4672 + AC_MSG_RESULT(ok)
4.4673 +fi
4.4674 +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
4.4675 +
4.4676 +
4.4677 +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
4.4678 +# ---------------------------------------
4.4679 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
4.4680 +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
4.4681 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4.4682 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
4.4683 +
4.4684 +AC_MSG_CHECKING([for $compiler option to produce PIC])
4.4685 + ifelse([$1],[CXX],[
4.4686 + # C++ specific cases for pic, static, wl, etc.
4.4687 + if test "$GXX" = yes; then
4.4688 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.4689 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
4.4690 +
4.4691 + case $host_os in
4.4692 + aix*)
4.4693 + # All AIX code is PIC.
4.4694 + if test "$host_cpu" = ia64; then
4.4695 + # AIX 5 now supports IA64 processor
4.4696 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.4697 + fi
4.4698 + ;;
4.4699 + amigaos*)
4.4700 + # FIXME: we need at least 68020 code to build shared libraries, but
4.4701 + # adding the `-m68020' flag to GCC prevents building anything better,
4.4702 + # like `-m68040'.
4.4703 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4.4704 + ;;
4.4705 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4.4706 + # PIC is the default for these OSes.
4.4707 + ;;
4.4708 + mingw* | os2* | pw32*)
4.4709 + # This hack is so that the source file can tell whether it is being
4.4710 + # built for inclusion in a dll (and should export symbols for example).
4.4711 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
4.4712 + ;;
4.4713 + darwin* | rhapsody*)
4.4714 + # PIC is the default on this platform
4.4715 + # Common symbols not allowed in MH_DYLIB files
4.4716 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4.4717 + ;;
4.4718 + *djgpp*)
4.4719 + # DJGPP does not support shared libraries at all
4.4720 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4.4721 + ;;
4.4722 + sysv4*MP*)
4.4723 + if test -d /usr/nec; then
4.4724 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4.4725 + fi
4.4726 + ;;
4.4727 + hpux*)
4.4728 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4.4729 + # not for PA HP-UX.
4.4730 + case $host_cpu in
4.4731 + hppa*64*|ia64*)
4.4732 + ;;
4.4733 + *)
4.4734 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4.4735 + ;;
4.4736 + esac
4.4737 + ;;
4.4738 + *)
4.4739 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4.4740 + ;;
4.4741 + esac
4.4742 + else
4.4743 + case $host_os in
4.4744 + aix4* | aix5*)
4.4745 + # All AIX code is PIC.
4.4746 + if test "$host_cpu" = ia64; then
4.4747 + # AIX 5 now supports IA64 processor
4.4748 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.4749 + else
4.4750 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4.4751 + fi
4.4752 + ;;
4.4753 + chorus*)
4.4754 + case $cc_basename in
4.4755 + cxch68*)
4.4756 + # Green Hills C++ Compiler
4.4757 + # _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"
4.4758 + ;;
4.4759 + esac
4.4760 + ;;
4.4761 + darwin*)
4.4762 + # PIC is the default on this platform
4.4763 + # Common symbols not allowed in MH_DYLIB files
4.4764 + case $cc_basename in
4.4765 + xlc*)
4.4766 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
4.4767 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.4768 + ;;
4.4769 + esac
4.4770 + ;;
4.4771 + dgux*)
4.4772 + case $cc_basename in
4.4773 + ec++*)
4.4774 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4.4775 + ;;
4.4776 + ghcx*)
4.4777 + # Green Hills C++ Compiler
4.4778 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4.4779 + ;;
4.4780 + *)
4.4781 + ;;
4.4782 + esac
4.4783 + ;;
4.4784 + freebsd* | kfreebsd*-gnu | dragonfly*)
4.4785 + # FreeBSD uses GNU C++
4.4786 + ;;
4.4787 + hpux9* | hpux10* | hpux11*)
4.4788 + case $cc_basename in
4.4789 + CC*)
4.4790 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.4791 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
4.4792 + if test "$host_cpu" != ia64; then
4.4793 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4.4794 + fi
4.4795 + ;;
4.4796 + aCC*)
4.4797 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.4798 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
4.4799 + case $host_cpu in
4.4800 + hppa*64*|ia64*)
4.4801 + # +Z the default
4.4802 + ;;
4.4803 + *)
4.4804 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4.4805 + ;;
4.4806 + esac
4.4807 + ;;
4.4808 + *)
4.4809 + ;;
4.4810 + esac
4.4811 + ;;
4.4812 + irix5* | irix6* | nonstopux*)
4.4813 + case $cc_basename in
4.4814 + CC*)
4.4815 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.4816 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4.4817 + # CC pic flag -KPIC is the default.
4.4818 + ;;
4.4819 + *)
4.4820 + ;;
4.4821 + esac
4.4822 + ;;
4.4823 + linux*)
4.4824 + case $cc_basename in
4.4825 + KCC*)
4.4826 + # KAI C++ Compiler
4.4827 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4.4828 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4.4829 + ;;
4.4830 + icpc* | ecpc*)
4.4831 + # Intel C++
4.4832 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.4833 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4.4834 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
4.4835 + ;;
4.4836 + pgCC*)
4.4837 + # Portland Group C++ compiler.
4.4838 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.4839 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4.4840 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.4841 + ;;
4.4842 + cxx*)
4.4843 + # Compaq C++
4.4844 + # Make sure the PIC flag is empty. It appears that all Alpha
4.4845 + # Linux and Compaq Tru64 Unix objects are PIC.
4.4846 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4.4847 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4.4848 + ;;
4.4849 + *)
4.4850 + ;;
4.4851 + esac
4.4852 + ;;
4.4853 + lynxos*)
4.4854 + ;;
4.4855 + m88k*)
4.4856 + ;;
4.4857 + mvs*)
4.4858 + case $cc_basename in
4.4859 + cxx*)
4.4860 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4.4861 + ;;
4.4862 + *)
4.4863 + ;;
4.4864 + esac
4.4865 + ;;
4.4866 + netbsd*)
4.4867 + ;;
4.4868 + osf3* | osf4* | osf5*)
4.4869 + case $cc_basename in
4.4870 + KCC*)
4.4871 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4.4872 + ;;
4.4873 + RCC*)
4.4874 + # Rational C++ 2.4.1
4.4875 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4.4876 + ;;
4.4877 + cxx*)
4.4878 + # Digital/Compaq C++
4.4879 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.4880 + # Make sure the PIC flag is empty. It appears that all Alpha
4.4881 + # Linux and Compaq Tru64 Unix objects are PIC.
4.4882 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4.4883 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4.4884 + ;;
4.4885 + *)
4.4886 + ;;
4.4887 + esac
4.4888 + ;;
4.4889 + psos*)
4.4890 + ;;
4.4891 + sco*)
4.4892 + case $cc_basename in
4.4893 + CC*)
4.4894 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4.4895 + ;;
4.4896 + *)
4.4897 + ;;
4.4898 + esac
4.4899 + ;;
4.4900 + solaris*)
4.4901 + case $cc_basename in
4.4902 + CC*)
4.4903 + # Sun C++ 4.2, 5.x and Centerline C++
4.4904 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4.4905 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.4906 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4.4907 + ;;
4.4908 + gcx*)
4.4909 + # Green Hills C++ Compiler
4.4910 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4.4911 + ;;
4.4912 + *)
4.4913 + ;;
4.4914 + esac
4.4915 + ;;
4.4916 + sunos4*)
4.4917 + case $cc_basename in
4.4918 + CC*)
4.4919 + # Sun C++ 4.x
4.4920 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4.4921 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.4922 + ;;
4.4923 + lcc*)
4.4924 + # Lucid
4.4925 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4.4926 + ;;
4.4927 + *)
4.4928 + ;;
4.4929 + esac
4.4930 + ;;
4.4931 + tandem*)
4.4932 + case $cc_basename in
4.4933 + NCC*)
4.4934 + # NonStop-UX NCC 3.20
4.4935 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4.4936 + ;;
4.4937 + *)
4.4938 + ;;
4.4939 + esac
4.4940 + ;;
4.4941 + unixware*)
4.4942 + ;;
4.4943 + vxworks*)
4.4944 + ;;
4.4945 + *)
4.4946 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4.4947 + ;;
4.4948 + esac
4.4949 + fi
4.4950 +],
4.4951 +[
4.4952 + if test "$GCC" = yes; then
4.4953 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.4954 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
4.4955 +
4.4956 + case $host_os in
4.4957 + aix*)
4.4958 + # All AIX code is PIC.
4.4959 + if test "$host_cpu" = ia64; then
4.4960 + # AIX 5 now supports IA64 processor
4.4961 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.4962 + fi
4.4963 + ;;
4.4964 +
4.4965 + amigaos*)
4.4966 + # FIXME: we need at least 68020 code to build shared libraries, but
4.4967 + # adding the `-m68020' flag to GCC prevents building anything better,
4.4968 + # like `-m68040'.
4.4969 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4.4970 + ;;
4.4971 +
4.4972 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4.4973 + # PIC is the default for these OSes.
4.4974 + ;;
4.4975 +
4.4976 + mingw* | pw32* | os2*)
4.4977 + # This hack is so that the source file can tell whether it is being
4.4978 + # built for inclusion in a dll (and should export symbols for example).
4.4979 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
4.4980 + ;;
4.4981 +
4.4982 + darwin* | rhapsody*)
4.4983 + # PIC is the default on this platform
4.4984 + # Common symbols not allowed in MH_DYLIB files
4.4985 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4.4986 + ;;
4.4987 +
4.4988 + msdosdjgpp*)
4.4989 + # Just because we use GCC doesn't mean we suddenly get shared libraries
4.4990 + # on systems that don't support them.
4.4991 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4.4992 + enable_shared=no
4.4993 + ;;
4.4994 +
4.4995 + sysv4*MP*)
4.4996 + if test -d /usr/nec; then
4.4997 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4.4998 + fi
4.4999 + ;;
4.5000 +
4.5001 + hpux*)
4.5002 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4.5003 + # not for PA HP-UX.
4.5004 + case $host_cpu in
4.5005 + hppa*64*|ia64*)
4.5006 + # +Z the default
4.5007 + ;;
4.5008 + *)
4.5009 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4.5010 + ;;
4.5011 + esac
4.5012 + ;;
4.5013 +
4.5014 + *)
4.5015 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4.5016 + ;;
4.5017 + esac
4.5018 + else
4.5019 + # PORTME Check for flag to pass linker flags through the system compiler.
4.5020 + case $host_os in
4.5021 + aix*)
4.5022 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.5023 + if test "$host_cpu" = ia64; then
4.5024 + # AIX 5 now supports IA64 processor
4.5025 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.5026 + else
4.5027 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4.5028 + fi
4.5029 + ;;
4.5030 + darwin*)
4.5031 + # PIC is the default on this platform
4.5032 + # Common symbols not allowed in MH_DYLIB files
4.5033 + case $cc_basename in
4.5034 + xlc*)
4.5035 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
4.5036 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.5037 + ;;
4.5038 + esac
4.5039 + ;;
4.5040 +
4.5041 + mingw* | pw32* | os2*)
4.5042 + # This hack is so that the source file can tell whether it is being
4.5043 + # built for inclusion in a dll (and should export symbols for example).
4.5044 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
4.5045 + ;;
4.5046 +
4.5047 + hpux9* | hpux10* | hpux11*)
4.5048 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.5049 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4.5050 + # not for PA HP-UX.
4.5051 + case $host_cpu in
4.5052 + hppa*64*|ia64*)
4.5053 + # +Z the default
4.5054 + ;;
4.5055 + *)
4.5056 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4.5057 + ;;
4.5058 + esac
4.5059 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
4.5060 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4.5061 + ;;
4.5062 +
4.5063 + irix5* | irix6* | nonstopux*)
4.5064 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.5065 + # PIC (with -KPIC) is the default.
4.5066 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4.5067 + ;;
4.5068 +
4.5069 + newsos6)
4.5070 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4.5071 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.5072 + ;;
4.5073 +
4.5074 + linux*)
4.5075 + case $cc_basename in
4.5076 + icc* | ecc*)
4.5077 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.5078 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4.5079 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
4.5080 + ;;
4.5081 + pgcc* | pgf77* | pgf90* | pgf95*)
4.5082 + # Portland Group compilers (*not* the Pentium gcc compiler,
4.5083 + # which looks to be a dead project)
4.5084 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.5085 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4.5086 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.5087 + ;;
4.5088 + ccc*)
4.5089 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.5090 + # All Alpha code is PIC.
4.5091 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4.5092 + ;;
4.5093 + esac
4.5094 + ;;
4.5095 +
4.5096 + osf3* | osf4* | osf5*)
4.5097 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.5098 + # All OSF/1 code is PIC.
4.5099 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4.5100 + ;;
4.5101 +
4.5102 + sco3.2v5*)
4.5103 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
4.5104 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
4.5105 + ;;
4.5106 +
4.5107 + solaris*)
4.5108 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4.5109 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.5110 + case $cc_basename in
4.5111 + f77* | f90* | f95*)
4.5112 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4.5113 + *)
4.5114 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4.5115 + esac
4.5116 + ;;
4.5117 +
4.5118 + sunos4*)
4.5119 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4.5120 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4.5121 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.5122 + ;;
4.5123 +
4.5124 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4.5125 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.5126 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4.5127 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.5128 + ;;
4.5129 +
4.5130 + sysv4*MP*)
4.5131 + if test -d /usr/nec ;then
4.5132 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
4.5133 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.5134 + fi
4.5135 + ;;
4.5136 +
4.5137 + unicos*)
4.5138 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4.5139 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4.5140 + ;;
4.5141 +
4.5142 + uts4*)
4.5143 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4.5144 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4.5145 + ;;
4.5146 +
4.5147 + *)
4.5148 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4.5149 + ;;
4.5150 + esac
4.5151 + fi
4.5152 +])
4.5153 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
4.5154 +
4.5155 +#
4.5156 +# Check to make sure the PIC flag actually works.
4.5157 +#
4.5158 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
4.5159 + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
4.5160 + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
4.5161 + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
4.5162 + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
4.5163 + "" | " "*) ;;
4.5164 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
4.5165 + esac],
4.5166 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4.5167 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
4.5168 +fi
4.5169 +case $host_os in
4.5170 + # For platforms which do not support PIC, -DPIC is meaningless:
4.5171 + *djgpp*)
4.5172 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4.5173 + ;;
4.5174 + *)
4.5175 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
4.5176 + ;;
4.5177 +esac
4.5178 +])
4.5179 +
4.5180 +
4.5181 +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
4.5182 +# ------------------------------------
4.5183 +# See if the linker supports building shared libraries.
4.5184 +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
4.5185 +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
4.5186 +ifelse([$1],[CXX],[
4.5187 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4.5188 + case $host_os in
4.5189 + aix4* | aix5*)
4.5190 + # If we're using GNU nm, then we don't want the "-C" option.
4.5191 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
4.5192 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
4.5193 + _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'
4.5194 + else
4.5195 + _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'
4.5196 + fi
4.5197 + ;;
4.5198 + pw32*)
4.5199 + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
4.5200 + ;;
4.5201 + cygwin* | mingw*)
4.5202 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
4.5203 + ;;
4.5204 + *)
4.5205 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4.5206 + ;;
4.5207 + esac
4.5208 +],[
4.5209 + runpath_var=
4.5210 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
4.5211 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4.5212 + _LT_AC_TAGVAR(archive_cmds, $1)=
4.5213 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4.5214 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
4.5215 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
4.5216 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4.5217 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4.5218 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
4.5219 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4.5220 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4.5221 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4.5222 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4.5223 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4.5224 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4.5225 + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4.5226 + _LT_AC_TAGVAR(hardcode_automatic, $1)=no
4.5227 + _LT_AC_TAGVAR(module_cmds, $1)=
4.5228 + _LT_AC_TAGVAR(module_expsym_cmds, $1)=
4.5229 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
4.5230 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4.5231 + # include_expsyms should be a list of space-separated symbols to be *always*
4.5232 + # included in the symbol list
4.5233 + _LT_AC_TAGVAR(include_expsyms, $1)=
4.5234 + # exclude_expsyms can be an extended regexp of symbols to exclude
4.5235 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
4.5236 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
4.5237 + # as well as any symbol that contains `d'.
4.5238 + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
4.5239 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
4.5240 + # platforms (ab)use it in PIC code, but their linkers get confused if
4.5241 + # the symbol is explicitly referenced. Since portable code cannot
4.5242 + # rely on this symbol name, it's probably fine to never include it in
4.5243 + # preloaded symbol tables.
4.5244 + extract_expsyms_cmds=
4.5245 + # Just being paranoid about ensuring that cc_basename is set.
4.5246 + _LT_CC_BASENAME([$compiler])
4.5247 + case $host_os in
4.5248 + cygwin* | mingw* | pw32*)
4.5249 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
4.5250 + # When not using gcc, we currently assume that we are using
4.5251 + # Microsoft Visual C++.
4.5252 + if test "$GCC" != yes; then
4.5253 + with_gnu_ld=no
4.5254 + fi
4.5255 + ;;
4.5256 + openbsd*)
4.5257 + with_gnu_ld=no
4.5258 + ;;
4.5259 + esac
4.5260 +
4.5261 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
4.5262 + if test "$with_gnu_ld" = yes; then
4.5263 + # If archive_cmds runs LD, not CC, wlarc should be empty
4.5264 + wlarc='${wl}'
4.5265 +
4.5266 + # Set some defaults for GNU ld with shared library support. These
4.5267 + # are reset later if shared libraries are not supported. Putting them
4.5268 + # here allows them to be overridden if necessary.
4.5269 + runpath_var=LD_RUN_PATH
4.5270 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
4.5271 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4.5272 + # ancient GNU ld didn't support --whole-archive et. al.
4.5273 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
4.5274 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4.5275 + else
4.5276 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4.5277 + fi
4.5278 + supports_anon_versioning=no
4.5279 + case `$LD -v 2>/dev/null` in
4.5280 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4.5281 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4.5282 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
4.5283 + *\ 2.11.*) ;; # other 2.11 versions
4.5284 + *) supports_anon_versioning=yes ;;
4.5285 + esac
4.5286 +
4.5287 + # See if GNU ld supports shared libraries.
4.5288 + case $host_os in
4.5289 + aix3* | aix4* | aix5*)
4.5290 + # On AIX/PPC, the GNU linker is very broken
4.5291 + if test "$host_cpu" != ia64; then
4.5292 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5293 + cat <<EOF 1>&2
4.5294 +
4.5295 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
4.5296 +*** to be unable to reliably create shared libraries on AIX.
4.5297 +*** Therefore, libtool is disabling shared libraries support. If you
4.5298 +*** really care for shared libraries, you may want to modify your PATH
4.5299 +*** so that a non-GNU linker is found, and then restart.
4.5300 +
4.5301 +EOF
4.5302 + fi
4.5303 + ;;
4.5304 +
4.5305 + amigaos*)
4.5306 + _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)'
4.5307 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.5308 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4.5309 +
4.5310 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
4.5311 + # that the semantics of dynamic libraries on AmigaOS, at least up
4.5312 + # to version 4, is to share data among multiple programs linked
4.5313 + # with the same dynamic library. Since this doesn't match the
4.5314 + # behavior of shared libraries on other platforms, we can't use
4.5315 + # them.
4.5316 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5317 + ;;
4.5318 +
4.5319 + beos*)
4.5320 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4.5321 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4.5322 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
4.5323 + # support --undefined. This deserves some investigation. FIXME
4.5324 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4.5325 + else
4.5326 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5327 + fi
4.5328 + ;;
4.5329 +
4.5330 + cygwin* | mingw* | pw32*)
4.5331 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4.5332 + # as there is no search path for DLLs.
4.5333 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.5334 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4.5335 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
4.5336 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4.5337 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
4.5338 +
4.5339 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
4.5340 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
4.5341 + # If the export-symbols file already is a .def file (1st line
4.5342 + # is EXPORTS), use it as is; otherwise, prepend...
4.5343 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
4.5344 + cp $export_symbols $output_objdir/$soname.def;
4.5345 + else
4.5346 + echo EXPORTS > $output_objdir/$soname.def;
4.5347 + cat $export_symbols >> $output_objdir/$soname.def;
4.5348 + fi~
4.5349 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
4.5350 + else
4.5351 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5352 + fi
4.5353 + ;;
4.5354 +
4.5355 + linux*)
4.5356 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4.5357 + tmp_addflag=
4.5358 + case $cc_basename,$host_cpu in
4.5359 + pgcc*) # Portland Group C compiler
4.5360 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
4.5361 + tmp_addflag=' $pic_flag'
4.5362 + ;;
4.5363 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
4.5364 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
4.5365 + tmp_addflag=' $pic_flag -Mnomain' ;;
4.5366 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
4.5367 + tmp_addflag=' -i_dynamic' ;;
4.5368 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
4.5369 + tmp_addflag=' -i_dynamic -nofor_main' ;;
4.5370 + ifc* | ifort*) # Intel Fortran compiler
4.5371 + tmp_addflag=' -nofor_main' ;;
4.5372 + esac
4.5373 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4.5374 +
4.5375 + if test $supports_anon_versioning = yes; then
4.5376 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
4.5377 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
4.5378 + $echo "local: *; };" >> $output_objdir/$libname.ver~
4.5379 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
4.5380 + fi
4.5381 + else
4.5382 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5383 + fi
4.5384 + ;;
4.5385 +
4.5386 + netbsd*)
4.5387 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4.5388 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4.5389 + wlarc=
4.5390 + else
4.5391 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4.5392 + _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'
4.5393 + fi
4.5394 + ;;
4.5395 +
4.5396 + solaris* | sysv5*)
4.5397 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
4.5398 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5399 + cat <<EOF 1>&2
4.5400 +
4.5401 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
4.5402 +*** create shared libraries on Solaris systems. Therefore, libtool
4.5403 +*** is disabling shared libraries support. We urge you to upgrade GNU
4.5404 +*** binutils to release 2.9.1 or newer. Another option is to modify
4.5405 +*** your PATH or compiler configuration so that the native linker is
4.5406 +*** used, and then restart.
4.5407 +
4.5408 +EOF
4.5409 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4.5410 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4.5411 + _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'
4.5412 + else
4.5413 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5414 + fi
4.5415 + ;;
4.5416 +
4.5417 + sunos4*)
4.5418 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4.5419 + wlarc=
4.5420 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5421 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5422 + ;;
4.5423 +
4.5424 + *)
4.5425 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4.5426 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4.5427 + _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'
4.5428 + else
4.5429 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5430 + fi
4.5431 + ;;
4.5432 + esac
4.5433 +
4.5434 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
4.5435 + runpath_var=
4.5436 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4.5437 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4.5438 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4.5439 + fi
4.5440 + else
4.5441 + # PORTME fill in a description of your system's linker (not GNU ld)
4.5442 + case $host_os in
4.5443 + aix3*)
4.5444 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4.5445 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4.5446 + _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'
4.5447 + # Note: this linker hardcodes the directories in LIBPATH if there
4.5448 + # are no directories specified by -L.
4.5449 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4.5450 + if test "$GCC" = yes && test -z "$link_static_flag"; then
4.5451 + # Neither direct hardcoding nor static linking is supported with a
4.5452 + # broken collect2.
4.5453 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
4.5454 + fi
4.5455 + ;;
4.5456 +
4.5457 + aix4* | aix5*)
4.5458 + if test "$host_cpu" = ia64; then
4.5459 + # On IA64, the linker does run time linking by default, so we don't
4.5460 + # have to do anything special.
4.5461 + aix_use_runtimelinking=no
4.5462 + exp_sym_flag='-Bexport'
4.5463 + no_entry_flag=""
4.5464 + else
4.5465 + # If we're using GNU nm, then we don't want the "-C" option.
4.5466 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
4.5467 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
4.5468 + _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'
4.5469 + else
4.5470 + _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'
4.5471 + fi
4.5472 + aix_use_runtimelinking=no
4.5473 +
4.5474 + # Test if we are trying to use run time linking or normal
4.5475 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
4.5476 + # need to do runtime linking.
4.5477 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
4.5478 + for ld_flag in $LDFLAGS; do
4.5479 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
4.5480 + aix_use_runtimelinking=yes
4.5481 + break
4.5482 + fi
4.5483 + done
4.5484 + esac
4.5485 +
4.5486 + exp_sym_flag='-bexport'
4.5487 + no_entry_flag='-bnoentry'
4.5488 + fi
4.5489 +
4.5490 + # When large executables or shared objects are built, AIX ld can
4.5491 + # have problems creating the table of contents. If linking a library
4.5492 + # or program results in "error TOC overflow" add -mminimal-toc to
4.5493 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
4.5494 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
4.5495 +
4.5496 + _LT_AC_TAGVAR(archive_cmds, $1)=''
4.5497 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5498 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
4.5499 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4.5500 +
4.5501 + if test "$GCC" = yes; then
4.5502 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
4.5503 + # We only want to do this on AIX 4.2 and lower, the check
4.5504 + # below for broken collect2 doesn't work under 4.3+
4.5505 + collect2name=`${CC} -print-prog-name=collect2`
4.5506 + if test -f "$collect2name" && \
4.5507 + strings "$collect2name" | grep resolve_lib_name >/dev/null
4.5508 + then
4.5509 + # We have reworked collect2
4.5510 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5511 + else
4.5512 + # We have old collect2
4.5513 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
4.5514 + # It fails to find uninstalled libraries when the uninstalled
4.5515 + # path is not listed in the libpath. Setting hardcode_minus_L
4.5516 + # to unsupported forces relinking
4.5517 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4.5518 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.5519 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4.5520 + fi
4.5521 + esac
4.5522 + shared_flag='-shared'
4.5523 + if test "$aix_use_runtimelinking" = yes; then
4.5524 + shared_flag="$shared_flag "'${wl}-G'
4.5525 + fi
4.5526 + else
4.5527 + # not using gcc
4.5528 + if test "$host_cpu" = ia64; then
4.5529 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
4.5530 + # chokes on -Wl,-G. The following line is correct:
4.5531 + shared_flag='-G'
4.5532 + else
4.5533 + if test "$aix_use_runtimelinking" = yes; then
4.5534 + shared_flag='${wl}-G'
4.5535 + else
4.5536 + shared_flag='${wl}-bM:SRE'
4.5537 + fi
4.5538 + fi
4.5539 + fi
4.5540 +
4.5541 + # It seems that -bexpall does not export symbols beginning with
4.5542 + # underscore (_), so it is better to generate a list of symbols to export.
4.5543 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4.5544 + if test "$aix_use_runtimelinking" = yes; then
4.5545 + # Warning - without using the other runtime loading flags (-brtl),
4.5546 + # -berok will link without error, but may produce a broken library.
4.5547 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
4.5548 + # Determine the default libpath from the value encoded in an empty executable.
4.5549 + _LT_AC_SYS_LIBPATH_AIX
4.5550 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4.5551 + _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"
4.5552 + else
4.5553 + if test "$host_cpu" = ia64; then
4.5554 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
4.5555 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
4.5556 + _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"
4.5557 + else
4.5558 + # Determine the default libpath from the value encoded in an empty executable.
4.5559 + _LT_AC_SYS_LIBPATH_AIX
4.5560 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4.5561 + # Warning - without using the other run time loading flags,
4.5562 + # -berok will link without error, but may produce a broken library.
4.5563 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
4.5564 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
4.5565 + # -bexpall does not export symbols beginning with underscore (_)
4.5566 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4.5567 + # Exported symbols can be pulled into shared objects from archives
4.5568 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
4.5569 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
4.5570 + # This is similar to how AIX traditionally builds its shared libraries.
4.5571 + _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'
4.5572 + fi
4.5573 + fi
4.5574 + ;;
4.5575 +
4.5576 + amigaos*)
4.5577 + _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)'
4.5578 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.5579 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4.5580 + # see comment about different semantics on the GNU ld section
4.5581 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5582 + ;;
4.5583 +
4.5584 + bsdi[[45]]*)
4.5585 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
4.5586 + ;;
4.5587 +
4.5588 + cygwin* | mingw* | pw32*)
4.5589 + # When not using gcc, we currently assume that we are using
4.5590 + # Microsoft Visual C++.
4.5591 + # hardcode_libdir_flag_spec is actually meaningless, as there is
4.5592 + # no search path for DLLs.
4.5593 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
4.5594 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4.5595 + # Tell ltmain to make .lib files, not .a files.
4.5596 + libext=lib
4.5597 + # Tell ltmain to make .dll files, not .so files.
4.5598 + shrext_cmds=".dll"
4.5599 + # FIXME: Setting linknames here is a bad hack.
4.5600 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
4.5601 + # The linker will automatically build a .lib file if we build a DLL.
4.5602 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
4.5603 + # FIXME: Should let the user specify the lib program.
4.5604 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
4.5605 + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
4.5606 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4.5607 + ;;
4.5608 +
4.5609 + darwin* | rhapsody*)
4.5610 + case $host_os in
4.5611 + rhapsody* | darwin1.[[012]])
4.5612 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
4.5613 + ;;
4.5614 + *) # Darwin 1.3 on
4.5615 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
4.5616 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
4.5617 + else
4.5618 + case ${MACOSX_DEPLOYMENT_TARGET} in
4.5619 + 10.[[012]])
4.5620 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
4.5621 + ;;
4.5622 + 10.*)
4.5623 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
4.5624 + ;;
4.5625 + esac
4.5626 + fi
4.5627 + ;;
4.5628 + esac
4.5629 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4.5630 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4.5631 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
4.5632 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4.5633 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
4.5634 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4.5635 + if test "$GCC" = yes ; then
4.5636 + output_verbose_link_cmd='echo'
4.5637 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
4.5638 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4.5639 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4.5640 + _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}'
4.5641 + _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}'
4.5642 + else
4.5643 + case $cc_basename in
4.5644 + xlc*)
4.5645 + output_verbose_link_cmd='echo'
4.5646 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
4.5647 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4.5648 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4.5649 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4.5650 + _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}'
4.5651 + ;;
4.5652 + *)
4.5653 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5654 + ;;
4.5655 + esac
4.5656 + fi
4.5657 + ;;
4.5658 +
4.5659 + dgux*)
4.5660 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4.5661 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.5662 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5663 + ;;
4.5664 +
4.5665 + freebsd1*)
4.5666 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5667 + ;;
4.5668 +
4.5669 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
4.5670 + # support. Future versions do this automatically, but an explicit c++rt0.o
4.5671 + # does not break anything, and helps significantly (at the cost of a little
4.5672 + # extra space).
4.5673 + freebsd2.2*)
4.5674 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
4.5675 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4.5676 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5677 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5678 + ;;
4.5679 +
4.5680 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
4.5681 + freebsd2*)
4.5682 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4.5683 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5684 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4.5685 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5686 + ;;
4.5687 +
4.5688 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
4.5689 + freebsd* | kfreebsd*-gnu | dragonfly*)
4.5690 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
4.5691 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4.5692 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5693 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5694 + ;;
4.5695 +
4.5696 + hpux9*)
4.5697 + if test "$GCC" = yes; then
4.5698 + _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'
4.5699 + else
4.5700 + _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'
4.5701 + fi
4.5702 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4.5703 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.5704 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5705 +
4.5706 + # hardcode_minus_L: Not really in the search PATH,
4.5707 + # but as the default location of the library.
4.5708 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4.5709 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4.5710 + ;;
4.5711 +
4.5712 + hpux10* | hpux11*)
4.5713 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
4.5714 + case $host_cpu in
4.5715 + hppa*64*|ia64*)
4.5716 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4.5717 + ;;
4.5718 + *)
4.5719 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
4.5720 + ;;
4.5721 + esac
4.5722 + else
4.5723 + case $host_cpu in
4.5724 + hppa*64*|ia64*)
4.5725 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
4.5726 + ;;
4.5727 + *)
4.5728 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
4.5729 + ;;
4.5730 + esac
4.5731 + fi
4.5732 + if test "$with_gnu_ld" = no; then
4.5733 + case $host_cpu in
4.5734 + hppa*64*)
4.5735 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4.5736 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4.5737 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.5738 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4.5739 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5740 + ;;
4.5741 + ia64*)
4.5742 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.5743 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4.5744 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5745 +
4.5746 + # hardcode_minus_L: Not really in the search PATH,
4.5747 + # but as the default location of the library.
4.5748 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4.5749 + ;;
4.5750 + *)
4.5751 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4.5752 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.5753 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5754 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4.5755 +
4.5756 + # hardcode_minus_L: Not really in the search PATH,
4.5757 + # but as the default location of the library.
4.5758 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4.5759 + ;;
4.5760 + esac
4.5761 + fi
4.5762 + ;;
4.5763 +
4.5764 + irix5* | irix6* | nonstopux*)
4.5765 + if test "$GCC" = yes; then
4.5766 + _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'
4.5767 + else
4.5768 + _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'
4.5769 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
4.5770 + fi
4.5771 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4.5772 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.5773 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4.5774 + ;;
4.5775 +
4.5776 + netbsd*)
4.5777 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4.5778 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
4.5779 + else
4.5780 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
4.5781 + fi
4.5782 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4.5783 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5784 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5785 + ;;
4.5786 +
4.5787 + newsos6)
4.5788 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4.5789 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5790 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4.5791 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.5792 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5793 + ;;
4.5794 +
4.5795 + openbsd*)
4.5796 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5797 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5798 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4.5799 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4.5800 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
4.5801 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4.5802 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4.5803 + else
4.5804 + case $host_os in
4.5805 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
4.5806 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4.5807 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4.5808 + ;;
4.5809 + *)
4.5810 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4.5811 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4.5812 + ;;
4.5813 + esac
4.5814 + fi
4.5815 + ;;
4.5816 +
4.5817 + os2*)
4.5818 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.5819 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4.5820 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4.5821 + _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'
4.5822 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
4.5823 + ;;
4.5824 +
4.5825 + osf3*)
4.5826 + if test "$GCC" = yes; then
4.5827 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4.5828 + _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'
4.5829 + else
4.5830 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4.5831 + _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'
4.5832 + fi
4.5833 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4.5834 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.5835 + ;;
4.5836 +
4.5837 + osf4* | osf5*) # as osf3* with the addition of -msym flag
4.5838 + if test "$GCC" = yes; then
4.5839 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4.5840 + _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'
4.5841 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4.5842 + else
4.5843 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4.5844 + _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'
4.5845 + _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~
4.5846 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
4.5847 +
4.5848 + # Both c and cxx compiler support -rpath directly
4.5849 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4.5850 + fi
4.5851 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4.5852 + ;;
4.5853 +
4.5854 + sco3.2v5*)
4.5855 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4.5856 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5857 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
4.5858 + runpath_var=LD_RUN_PATH
4.5859 + hardcode_runpath_var=yes
4.5860 + ;;
4.5861 +
4.5862 + solaris*)
4.5863 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
4.5864 + if test "$GCC" = yes; then
4.5865 + wlarc='${wl}'
4.5866 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4.5867 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4.5868 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
4.5869 + else
4.5870 + wlarc=''
4.5871 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4.5872 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4.5873 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4.5874 + fi
4.5875 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4.5876 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5877 + case $host_os in
4.5878 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4.5879 + *)
4.5880 + # The compiler driver will combine linker options so we
4.5881 + # cannot just pass the convience library names through
4.5882 + # without $wl, iff we do not link with $LD.
4.5883 + # Luckily, gcc supports the same syntax we need for Sun Studio.
4.5884 + # Supported since Solaris 2.6 (maybe 2.5.1?)
4.5885 + case $wlarc in
4.5886 + '')
4.5887 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
4.5888 + *)
4.5889 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
4.5890 + esac ;;
4.5891 + esac
4.5892 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4.5893 + ;;
4.5894 +
4.5895 + sunos4*)
4.5896 + if test "x$host_vendor" = xsequent; then
4.5897 + # Use $CC to link under sequent, because it throws in some extra .o
4.5898 + # files that make .init and .fini sections work.
4.5899 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
4.5900 + else
4.5901 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
4.5902 + fi
4.5903 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.5904 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5905 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4.5906 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5907 + ;;
4.5908 +
4.5909 + sysv4)
4.5910 + case $host_vendor in
4.5911 + sni)
4.5912 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4.5913 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
4.5914 + ;;
4.5915 + siemens)
4.5916 + ## LD is ld it makes a PLAMLIB
4.5917 + ## CC just makes a GrossModule.
4.5918 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
4.5919 + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
4.5920 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4.5921 + ;;
4.5922 + motorola)
4.5923 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4.5924 + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
4.5925 + ;;
4.5926 + esac
4.5927 + runpath_var='LD_RUN_PATH'
4.5928 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5929 + ;;
4.5930 +
4.5931 + sysv4.3*)
4.5932 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4.5933 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5934 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
4.5935 + ;;
4.5936 +
4.5937 + sysv4*MP*)
4.5938 + if test -d /usr/nec; then
4.5939 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4.5940 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5941 + runpath_var=LD_RUN_PATH
4.5942 + hardcode_runpath_var=yes
4.5943 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
4.5944 + fi
4.5945 + ;;
4.5946 +
4.5947 + sysv4.2uw2*)
4.5948 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
4.5949 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4.5950 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4.5951 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5952 + hardcode_runpath_var=yes
4.5953 + runpath_var=LD_RUN_PATH
4.5954 + ;;
4.5955 +
4.5956 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
4.5957 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
4.5958 + if test "$GCC" = yes; then
4.5959 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4.5960 + else
4.5961 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4.5962 + fi
4.5963 + runpath_var='LD_RUN_PATH'
4.5964 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5965 + ;;
4.5966 +
4.5967 + sysv5*)
4.5968 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
4.5969 + # $CC -shared without GNU ld will not create a library from C++
4.5970 + # object files and a static libstdc++, better avoid it by now
4.5971 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4.5972 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4.5973 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4.5974 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4.5975 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5976 + runpath_var='LD_RUN_PATH'
4.5977 + ;;
4.5978 +
4.5979 + uts4*)
4.5980 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4.5981 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4.5982 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4.5983 + ;;
4.5984 +
4.5985 + *)
4.5986 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4.5987 + ;;
4.5988 + esac
4.5989 + fi
4.5990 +])
4.5991 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
4.5992 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
4.5993 +
4.5994 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
4.5995 +if test "$GCC" = yes; then
4.5996 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
4.5997 +fi
4.5998 +
4.5999 +#
4.6000 +# Do we need to explicitly link libc?
4.6001 +#
4.6002 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
4.6003 +x|xyes)
4.6004 + # Assume -lc should be added
4.6005 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
4.6006 +
4.6007 + if test "$enable_shared" = yes && test "$GCC" = yes; then
4.6008 + case $_LT_AC_TAGVAR(archive_cmds, $1) in
4.6009 + *'~'*)
4.6010 + # FIXME: we may have to deal with multi-command sequences.
4.6011 + ;;
4.6012 + '$CC '*)
4.6013 + # Test whether the compiler implicitly links with -lc since on some
4.6014 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
4.6015 + # to ld, don't add -lc before -lgcc.
4.6016 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
4.6017 + $rm conftest*
4.6018 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
4.6019 +
4.6020 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
4.6021 + soname=conftest
4.6022 + lib=conftest
4.6023 + libobjs=conftest.$ac_objext
4.6024 + deplibs=
4.6025 + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4.6026 + compiler_flags=-v
4.6027 + linker_flags=-v
4.6028 + verstring=
4.6029 + output_objdir=.
4.6030 + libname=conftest
4.6031 + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
4.6032 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
4.6033 + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
4.6034 + then
4.6035 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4.6036 + else
4.6037 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
4.6038 + fi
4.6039 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
4.6040 + else
4.6041 + cat conftest.err 1>&5
4.6042 + fi
4.6043 + $rm conftest*
4.6044 + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
4.6045 + ;;
4.6046 + esac
4.6047 + fi
4.6048 + ;;
4.6049 +esac
4.6050 +])# AC_LIBTOOL_PROG_LD_SHLIBS
4.6051 +
4.6052 +
4.6053 +# _LT_AC_FILE_LTDLL_C
4.6054 +# -------------------
4.6055 +# Be careful that the start marker always follows a newline.
4.6056 +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
4.6057 +# /* ltdll.c starts here */
4.6058 +# #define WIN32_LEAN_AND_MEAN
4.6059 +# #include <windows.h>
4.6060 +# #undef WIN32_LEAN_AND_MEAN
4.6061 +# #include <stdio.h>
4.6062 +#
4.6063 +# #ifndef __CYGWIN__
4.6064 +# # ifdef __CYGWIN32__
4.6065 +# # define __CYGWIN__ __CYGWIN32__
4.6066 +# # endif
4.6067 +# #endif
4.6068 +#
4.6069 +# #ifdef __cplusplus
4.6070 +# extern "C" {
4.6071 +# #endif
4.6072 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
4.6073 +# #ifdef __cplusplus
4.6074 +# }
4.6075 +# #endif
4.6076 +#
4.6077 +# #ifdef __CYGWIN__
4.6078 +# #include <cygwin/cygwin_dll.h>
4.6079 +# DECLARE_CYGWIN_DLL( DllMain );
4.6080 +# #endif
4.6081 +# HINSTANCE __hDllInstance_base;
4.6082 +#
4.6083 +# BOOL APIENTRY
4.6084 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
4.6085 +# {
4.6086 +# __hDllInstance_base = hInst;
4.6087 +# return TRUE;
4.6088 +# }
4.6089 +# /* ltdll.c ends here */
4.6090 +])# _LT_AC_FILE_LTDLL_C
4.6091 +
4.6092 +
4.6093 +# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
4.6094 +# ---------------------------------
4.6095 +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
4.6096 +
4.6097 +
4.6098 +# old names
4.6099 +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
4.6100 +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
4.6101 +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
4.6102 +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
4.6103 +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
4.6104 +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
4.6105 +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
4.6106 +
4.6107 +# This is just to silence aclocal about the macro not being used
4.6108 +ifelse([AC_DISABLE_FAST_INSTALL])
4.6109 +
4.6110 +AC_DEFUN([LT_AC_PROG_GCJ],
4.6111 +[AC_CHECK_TOOL(GCJ, gcj, no)
4.6112 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
4.6113 + AC_SUBST(GCJFLAGS)
4.6114 +])
4.6115 +
4.6116 +AC_DEFUN([LT_AC_PROG_RC],
4.6117 +[AC_CHECK_TOOL(RC, windres, no)
4.6118 +])
4.6119 +
4.6120 +# NOTE: This macro has been submitted for inclusion into #
4.6121 +# GNU Autoconf as AC_PROG_SED. When it is available in #
4.6122 +# a released version of Autoconf we should remove this #
4.6123 +# macro and use it instead. #
4.6124 +# LT_AC_PROG_SED
4.6125 +# --------------
4.6126 +# Check for a fully-functional sed program, that truncates
4.6127 +# as few characters as possible. Prefer GNU sed if found.
4.6128 +AC_DEFUN([LT_AC_PROG_SED],
4.6129 +[AC_MSG_CHECKING([for a sed that does not truncate output])
4.6130 +AC_CACHE_VAL(lt_cv_path_SED,
4.6131 +[# Loop through the user's path and test for sed and gsed.
4.6132 +# Then use that list of sed's as ones to test for truncation.
4.6133 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4.6134 +for as_dir in $PATH
4.6135 +do
4.6136 + IFS=$as_save_IFS
4.6137 + test -z "$as_dir" && as_dir=.
4.6138 + for lt_ac_prog in sed gsed; do
4.6139 + for ac_exec_ext in '' $ac_executable_extensions; do
4.6140 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4.6141 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4.6142 + fi
4.6143 + done
4.6144 + done
4.6145 +done
4.6146 +lt_ac_max=0
4.6147 +lt_ac_count=0
4.6148 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4.6149 +# along with /bin/sed that truncates output.
4.6150 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4.6151 + test ! -f $lt_ac_sed && continue
4.6152 + cat /dev/null > conftest.in
4.6153 + lt_ac_count=0
4.6154 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4.6155 + # Check for GNU sed and select it if it is found.
4.6156 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4.6157 + lt_cv_path_SED=$lt_ac_sed
4.6158 + break
4.6159 + fi
4.6160 + while true; do
4.6161 + cat conftest.in conftest.in >conftest.tmp
4.6162 + mv conftest.tmp conftest.in
4.6163 + cp conftest.in conftest.nl
4.6164 + echo >>conftest.nl
4.6165 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4.6166 + cmp -s conftest.out conftest.nl || break
4.6167 + # 10000 chars as input seems more than enough
4.6168 + test $lt_ac_count -gt 10 && break
4.6169 + lt_ac_count=`expr $lt_ac_count + 1`
4.6170 + if test $lt_ac_count -gt $lt_ac_max; then
4.6171 + lt_ac_max=$lt_ac_count
4.6172 + lt_cv_path_SED=$lt_ac_sed
4.6173 + fi
4.6174 + done
4.6175 +done
4.6176 +])
4.6177 +SED=$lt_cv_path_SED
4.6178 +AC_MSG_RESULT([$SED])
4.6179 +])
4.6180 +
4.6181 +
4.6182 +dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
4.6183 +dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
4.6184 +dnl also defines GSTUFF_PKG_ERRORS on error
4.6185 +AC_DEFUN(PKG_CHECK_MODULES, [
4.6186 + succeeded=no
4.6187 +
4.6188 + if test -z "$PKG_CONFIG"; then
4.6189 + AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
4.6190 + fi
4.6191 +
4.6192 + if test "$PKG_CONFIG" = "no" ; then
4.6193 + echo "*** The pkg-config script could not be found. Make sure it is"
4.6194 + echo "*** in your path, or set the PKG_CONFIG environment variable"
4.6195 + echo "*** to the full path to pkg-config."
4.6196 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
4.6197 + else
4.6198 + PKG_CONFIG_MIN_VERSION=0.9.0
4.6199 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
4.6200 + AC_MSG_CHECKING(for $2)
4.6201 +
4.6202 + if $PKG_CONFIG --exists "$2" ; then
4.6203 + AC_MSG_RESULT(yes)
4.6204 + succeeded=yes
4.6205 +
4.6206 + AC_MSG_CHECKING($1_CFLAGS)
4.6207 + $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
4.6208 + AC_MSG_RESULT($$1_CFLAGS)
4.6209 +
4.6210 + AC_MSG_CHECKING($1_LIBS)
4.6211 + $1_LIBS=`$PKG_CONFIG --libs "$2"`
4.6212 + AC_MSG_RESULT($$1_LIBS)
4.6213 + else
4.6214 + $1_CFLAGS=""
4.6215 + $1_LIBS=""
4.6216 + ## If we have a custom action on failure, don't print errors, but
4.6217 + ## do set a variable so people can do so.
4.6218 + $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
4.6219 + ifelse([$4], ,echo $$1_PKG_ERRORS,)
4.6220 + fi
4.6221 +
4.6222 + AC_SUBST($1_CFLAGS)
4.6223 + AC_SUBST($1_LIBS)
4.6224 + else
4.6225 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
4.6226 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
4.6227 + fi
4.6228 + fi
4.6229 +
4.6230 + if test $succeeded = yes; then
4.6231 + ifelse([$3], , :, [$3])
4.6232 + else
4.6233 + ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
4.6234 + fi
4.6235 +])
4.6236 +
4.6237 +
4.6238 +
4.6239 +# -*- Autoconf -*-
4.6240 +# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
4.6241 +# Generated from amversion.in; do not edit by hand.
4.6242 +
4.6243 +# This program is free software; you can redistribute it and/or modify
4.6244 +# it under the terms of the GNU General Public License as published by
4.6245 +# the Free Software Foundation; either version 2, or (at your option)
4.6246 +# any later version.
4.6247 +
4.6248 +# This program is distributed in the hope that it will be useful,
4.6249 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6250 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6251 +# GNU General Public License for more details.
4.6252 +
4.6253 +# You should have received a copy of the GNU General Public License
4.6254 +# along with this program; if not, write to the Free Software
4.6255 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6256 +
4.6257 +# AM_AUTOMAKE_VERSION(VERSION)
4.6258 +# ----------------------------
4.6259 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
4.6260 +# generated from the m4 files accompanying Automake X.Y.
4.6261 +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
4.6262 +
4.6263 +# AM_SET_CURRENT_AUTOMAKE_VERSION
4.6264 +# -------------------------------
4.6265 +# Call AM_AUTOMAKE_VERSION so it can be traced.
4.6266 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
4.6267 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
4.6268 + [AM_AUTOMAKE_VERSION([1.8.5])])
4.6269 +
4.6270 +# Figure out how to run the assembler. -*- Autoconf -*-
4.6271 +
4.6272 +# serial 3
4.6273 +
4.6274 +# Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
4.6275 +
4.6276 +# This program is free software; you can redistribute it and/or modify
4.6277 +# it under the terms of the GNU General Public License as published by
4.6278 +# the Free Software Foundation; either version 2, or (at your option)
4.6279 +# any later version.
4.6280 +
4.6281 +# This program is distributed in the hope that it will be useful,
4.6282 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6283 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6284 +# GNU General Public License for more details.
4.6285 +
4.6286 +# You should have received a copy of the GNU General Public License
4.6287 +# along with this program; if not, write to the Free Software
4.6288 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6289 +# 02111-1307, USA.
4.6290 +
4.6291 +# AM_PROG_AS
4.6292 +# ----------
4.6293 +AC_DEFUN([AM_PROG_AS],
4.6294 +[# By default we simply use the C compiler to build assembly code.
4.6295 +AC_REQUIRE([AC_PROG_CC])
4.6296 +test "${CCAS+set}" = set || CCAS=$CC
4.6297 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4.6298 +AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
4.6299 +AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
4.6300 +])
4.6301 +
4.6302 +# AM_AUX_DIR_EXPAND
4.6303 +
4.6304 +# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4.6305 +
4.6306 +# This program is free software; you can redistribute it and/or modify
4.6307 +# it under the terms of the GNU General Public License as published by
4.6308 +# the Free Software Foundation; either version 2, or (at your option)
4.6309 +# any later version.
4.6310 +
4.6311 +# This program is distributed in the hope that it will be useful,
4.6312 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6313 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6314 +# GNU General Public License for more details.
4.6315 +
4.6316 +# You should have received a copy of the GNU General Public License
4.6317 +# along with this program; if not, write to the Free Software
4.6318 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6319 +# 02111-1307, USA.
4.6320 +
4.6321 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
4.6322 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
4.6323 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
4.6324 +#
4.6325 +# Of course, Automake must honor this variable whenever it calls a
4.6326 +# tool from the auxiliary directory. The problem is that $srcdir (and
4.6327 +# therefore $ac_aux_dir as well) can be either absolute or relative,
4.6328 +# depending on how configure is run. This is pretty annoying, since
4.6329 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
4.6330 +# source directory, any form will work fine, but in subdirectories a
4.6331 +# relative path needs to be adjusted first.
4.6332 +#
4.6333 +# $ac_aux_dir/missing
4.6334 +# fails when called from a subdirectory if $ac_aux_dir is relative
4.6335 +# $top_srcdir/$ac_aux_dir/missing
4.6336 +# fails if $ac_aux_dir is absolute,
4.6337 +# fails when called from a subdirectory in a VPATH build with
4.6338 +# a relative $ac_aux_dir
4.6339 +#
4.6340 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
4.6341 +# are both prefixed by $srcdir. In an in-source build this is usually
4.6342 +# harmless because $srcdir is `.', but things will broke when you
4.6343 +# start a VPATH build or use an absolute $srcdir.
4.6344 +#
4.6345 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
4.6346 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
4.6347 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
4.6348 +# and then we would define $MISSING as
4.6349 +# MISSING="\${SHELL} $am_aux_dir/missing"
4.6350 +# This will work as long as MISSING is not called from configure, because
4.6351 +# unfortunately $(top_srcdir) has no meaning in configure.
4.6352 +# However there are other variables, like CC, which are often used in
4.6353 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
4.6354 +#
4.6355 +# Another solution, used here, is to always expand $ac_aux_dir to an
4.6356 +# absolute PATH. The drawback is that using absolute paths prevent a
4.6357 +# configured tree to be moved without reconfiguration.
4.6358 +
4.6359 +AC_DEFUN([AM_AUX_DIR_EXPAND],
4.6360 +[dnl Rely on autoconf to set up CDPATH properly.
4.6361 +AC_PREREQ([2.50])dnl
4.6362 +# expand $ac_aux_dir to an absolute path
4.6363 +am_aux_dir=`cd $ac_aux_dir && pwd`
4.6364 +])
4.6365 +
4.6366 +# AM_CONDITIONAL -*- Autoconf -*-
4.6367 +
4.6368 +# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
4.6369 +
4.6370 +# This program is free software; you can redistribute it and/or modify
4.6371 +# it under the terms of the GNU General Public License as published by
4.6372 +# the Free Software Foundation; either version 2, or (at your option)
4.6373 +# any later version.
4.6374 +
4.6375 +# This program is distributed in the hope that it will be useful,
4.6376 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6377 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6378 +# GNU General Public License for more details.
4.6379 +
4.6380 +# You should have received a copy of the GNU General Public License
4.6381 +# along with this program; if not, write to the Free Software
4.6382 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6383 +# 02111-1307, USA.
4.6384 +
4.6385 +# serial 6
4.6386 +
4.6387 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
4.6388 +# -------------------------------------
4.6389 +# Define a conditional.
4.6390 +AC_DEFUN([AM_CONDITIONAL],
4.6391 +[AC_PREREQ(2.52)dnl
4.6392 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
4.6393 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
4.6394 +AC_SUBST([$1_TRUE])
4.6395 +AC_SUBST([$1_FALSE])
4.6396 +if $2; then
4.6397 + $1_TRUE=
4.6398 + $1_FALSE='#'
4.6399 +else
4.6400 + $1_TRUE='#'
4.6401 + $1_FALSE=
4.6402 +fi
4.6403 +AC_CONFIG_COMMANDS_PRE(
4.6404 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
4.6405 + AC_MSG_ERROR([conditional "$1" was never defined.
4.6406 +Usually this means the macro was only invoked conditionally.])
4.6407 +fi])])
4.6408 +
4.6409 +# serial 7 -*- Autoconf -*-
4.6410 +
4.6411 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
4.6412 +# Free Software Foundation, Inc.
4.6413 +
4.6414 +# This program is free software; you can redistribute it and/or modify
4.6415 +# it under the terms of the GNU General Public License as published by
4.6416 +# the Free Software Foundation; either version 2, or (at your option)
4.6417 +# any later version.
4.6418 +
4.6419 +# This program is distributed in the hope that it will be useful,
4.6420 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6421 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6422 +# GNU General Public License for more details.
4.6423 +
4.6424 +# You should have received a copy of the GNU General Public License
4.6425 +# along with this program; if not, write to the Free Software
4.6426 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6427 +# 02111-1307, USA.
4.6428 +
4.6429 +
4.6430 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
4.6431 +# written in clear, in which case automake, when reading aclocal.m4,
4.6432 +# will think it sees a *use*, and therefore will trigger all it's
4.6433 +# C support machinery. Also note that it means that autoscan, seeing
4.6434 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
4.6435 +
4.6436 +
4.6437 +
4.6438 +# _AM_DEPENDENCIES(NAME)
4.6439 +# ----------------------
4.6440 +# See how the compiler implements dependency checking.
4.6441 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
4.6442 +# We try a few techniques and use that to set a single cache variable.
4.6443 +#
4.6444 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
4.6445 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
4.6446 +# dependency, and given that the user is not expected to run this macro,
4.6447 +# just rely on AC_PROG_CC.
4.6448 +AC_DEFUN([_AM_DEPENDENCIES],
4.6449 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
4.6450 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
4.6451 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
4.6452 +AC_REQUIRE([AM_DEP_TRACK])dnl
4.6453 +
4.6454 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
4.6455 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
4.6456 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
4.6457 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
4.6458 + [depcc="$$1" am_compiler_list=])
4.6459 +
4.6460 +AC_CACHE_CHECK([dependency style of $depcc],
4.6461 + [am_cv_$1_dependencies_compiler_type],
4.6462 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4.6463 + # We make a subdir and do the tests there. Otherwise we can end up
4.6464 + # making bogus files that we don't know about and never remove. For
4.6465 + # instance it was reported that on HP-UX the gcc test will end up
4.6466 + # making a dummy file named `D' -- because `-MD' means `put the output
4.6467 + # in D'.
4.6468 + mkdir conftest.dir
4.6469 + # Copy depcomp to subdir because otherwise we won't find it if we're
4.6470 + # using a relative directory.
4.6471 + cp "$am_depcomp" conftest.dir
4.6472 + cd conftest.dir
4.6473 + # We will build objects and dependencies in a subdirectory because
4.6474 + # it helps to detect inapplicable dependency modes. For instance
4.6475 + # both Tru64's cc and ICC support -MD to output dependencies as a
4.6476 + # side effect of compilation, but ICC will put the dependencies in
4.6477 + # the current directory while Tru64 will put them in the object
4.6478 + # directory.
4.6479 + mkdir sub
4.6480 +
4.6481 + am_cv_$1_dependencies_compiler_type=none
4.6482 + if test "$am_compiler_list" = ""; then
4.6483 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
4.6484 + fi
4.6485 + for depmode in $am_compiler_list; do
4.6486 + # Setup a source with many dependencies, because some compilers
4.6487 + # like to wrap large dependency lists on column 80 (with \), and
4.6488 + # we should not choose a depcomp mode which is confused by this.
4.6489 + #
4.6490 + # We need to recreate these files for each test, as the compiler may
4.6491 + # overwrite some of them when testing with obscure command lines.
4.6492 + # This happens at least with the AIX C compiler.
4.6493 + : > sub/conftest.c
4.6494 + for i in 1 2 3 4 5 6; do
4.6495 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
4.6496 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4.6497 + # Solaris 8's {/usr,}/bin/sh.
4.6498 + touch sub/conftst$i.h
4.6499 + done
4.6500 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4.6501 +
4.6502 + case $depmode in
4.6503 + nosideeffect)
4.6504 + # after this tag, mechanisms are not by side-effect, so they'll
4.6505 + # only be used when explicitly requested
4.6506 + if test "x$enable_dependency_tracking" = xyes; then
4.6507 + continue
4.6508 + else
4.6509 + break
4.6510 + fi
4.6511 + ;;
4.6512 + none) break ;;
4.6513 + esac
4.6514 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
4.6515 + # mode. It turns out that the SunPro C++ compiler does not properly
4.6516 + # handle `-M -o', and we need to detect this.
4.6517 + if depmode=$depmode \
4.6518 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4.6519 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4.6520 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4.6521 + >/dev/null 2>conftest.err &&
4.6522 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4.6523 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4.6524 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4.6525 + # icc doesn't choke on unknown options, it will just issue warnings
4.6526 + # or remarks (even with -Werror). So we grep stderr for any message
4.6527 + # that says an option was ignored or not supported.
4.6528 + # When given -MP, icc 7.0 and 7.1 complain thusly:
4.6529 + # icc: Command line warning: ignoring option '-M'; no argument required
4.6530 + # The diagnosis changed in icc 8.0:
4.6531 + # icc: Command line remark: option '-MP' not supported
4.6532 + if (grep 'ignoring option' conftest.err ||
4.6533 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4.6534 + am_cv_$1_dependencies_compiler_type=$depmode
4.6535 + break
4.6536 + fi
4.6537 + fi
4.6538 + done
4.6539 +
4.6540 + cd ..
4.6541 + rm -rf conftest.dir
4.6542 +else
4.6543 + am_cv_$1_dependencies_compiler_type=none
4.6544 +fi
4.6545 +])
4.6546 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
4.6547 +AM_CONDITIONAL([am__fastdep$1], [
4.6548 + test "x$enable_dependency_tracking" != xno \
4.6549 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
4.6550 +])
4.6551 +
4.6552 +
4.6553 +# AM_SET_DEPDIR
4.6554 +# -------------
4.6555 +# Choose a directory name for dependency files.
4.6556 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
4.6557 +AC_DEFUN([AM_SET_DEPDIR],
4.6558 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
4.6559 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
4.6560 +])
4.6561 +
4.6562 +
4.6563 +# AM_DEP_TRACK
4.6564 +# ------------
4.6565 +AC_DEFUN([AM_DEP_TRACK],
4.6566 +[AC_ARG_ENABLE(dependency-tracking,
4.6567 +[ --disable-dependency-tracking speeds up one-time build
4.6568 + --enable-dependency-tracking do not reject slow dependency extractors])
4.6569 +if test "x$enable_dependency_tracking" != xno; then
4.6570 + am_depcomp="$ac_aux_dir/depcomp"
4.6571 + AMDEPBACKSLASH='\'
4.6572 +fi
4.6573 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
4.6574 +AC_SUBST([AMDEPBACKSLASH])
4.6575 +])
4.6576 +
4.6577 +# Generate code to set up dependency tracking. -*- Autoconf -*-
4.6578 +
4.6579 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
4.6580 +
4.6581 +# This program is free software; you can redistribute it and/or modify
4.6582 +# it under the terms of the GNU General Public License as published by
4.6583 +# the Free Software Foundation; either version 2, or (at your option)
4.6584 +# any later version.
4.6585 +
4.6586 +# This program is distributed in the hope that it will be useful,
4.6587 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6588 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6589 +# GNU General Public License for more details.
4.6590 +
4.6591 +# You should have received a copy of the GNU General Public License
4.6592 +# along with this program; if not, write to the Free Software
4.6593 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6594 +# 02111-1307, USA.
4.6595 +
4.6596 +#serial 2
4.6597 +
4.6598 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
4.6599 +# ------------------------------
4.6600 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
4.6601 +[for mf in $CONFIG_FILES; do
4.6602 + # Strip MF so we end up with the name of the file.
4.6603 + mf=`echo "$mf" | sed -e 's/:.*$//'`
4.6604 + # Check whether this is an Automake generated Makefile or not.
4.6605 + # We used to match only the files named `Makefile.in', but
4.6606 + # some people rename them; so instead we look at the file content.
4.6607 + # Grep'ing the first line is not enough: some people post-process
4.6608 + # each Makefile.in and add a new line on top of each file to say so.
4.6609 + # So let's grep whole file.
4.6610 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4.6611 + dirpart=`AS_DIRNAME("$mf")`
4.6612 + else
4.6613 + continue
4.6614 + fi
4.6615 + grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
4.6616 + # Extract the definition of DEP_FILES from the Makefile without
4.6617 + # running `make'.
4.6618 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4.6619 + test -z "$DEPDIR" && continue
4.6620 + # When using ansi2knr, U may be empty or an underscore; expand it
4.6621 + U=`sed -n 's/^U = //p' < "$mf"`
4.6622 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4.6623 + # We invoke sed twice because it is the simplest approach to
4.6624 + # changing $(DEPDIR) to its actual value in the expansion.
4.6625 + for file in `sed -n '
4.6626 + /^DEP_FILES = .*\\\\$/ {
4.6627 + s/^DEP_FILES = //
4.6628 + :loop
4.6629 + s/\\\\$//
4.6630 + p
4.6631 + n
4.6632 + /\\\\$/ b loop
4.6633 + p
4.6634 + }
4.6635 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4.6636 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4.6637 + # Make sure the directory exists.
4.6638 + test -f "$dirpart/$file" && continue
4.6639 + fdir=`AS_DIRNAME(["$file"])`
4.6640 + AS_MKDIR_P([$dirpart/$fdir])
4.6641 + # echo "creating $dirpart/$file"
4.6642 + echo '# dummy' > "$dirpart/$file"
4.6643 + done
4.6644 +done
4.6645 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
4.6646 +
4.6647 +
4.6648 +# AM_OUTPUT_DEPENDENCY_COMMANDS
4.6649 +# -----------------------------
4.6650 +# This macro should only be invoked once -- use via AC_REQUIRE.
4.6651 +#
4.6652 +# This code is only required when automatic dependency tracking
4.6653 +# is enabled. FIXME. This creates each `.P' file that we will
4.6654 +# need in order to bootstrap the dependency handling code.
4.6655 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
4.6656 +[AC_CONFIG_COMMANDS([depfiles],
4.6657 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
4.6658 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
4.6659 +])
4.6660 +
4.6661 +# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
4.6662 +
4.6663 +# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
4.6664 +
4.6665 +# This program is free software; you can redistribute it and/or modify
4.6666 +# it under the terms of the GNU General Public License as published by
4.6667 +# the Free Software Foundation; either version 2, or (at your option)
4.6668 +# any later version.
4.6669 +
4.6670 +# This program is distributed in the hope that it will be useful,
4.6671 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6672 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6673 +# GNU General Public License for more details.
4.6674 +
4.6675 +# You should have received a copy of the GNU General Public License
4.6676 +# along with this program; if not, write to the Free Software
4.6677 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6678 +# 02111-1307, USA.
4.6679 +
4.6680 +# serial 7
4.6681 +
4.6682 +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
4.6683 +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
4.6684 +
4.6685 +# Do all the work for Automake. -*- Autoconf -*-
4.6686 +
4.6687 +# This macro actually does too much some checks are only needed if
4.6688 +# your package does certain things. But this isn't really a big deal.
4.6689 +
4.6690 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4.6691 +# Free Software Foundation, Inc.
4.6692 +
4.6693 +# This program is free software; you can redistribute it and/or modify
4.6694 +# it under the terms of the GNU General Public License as published by
4.6695 +# the Free Software Foundation; either version 2, or (at your option)
4.6696 +# any later version.
4.6697 +
4.6698 +# This program is distributed in the hope that it will be useful,
4.6699 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6700 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6701 +# GNU General Public License for more details.
4.6702 +
4.6703 +# You should have received a copy of the GNU General Public License
4.6704 +# along with this program; if not, write to the Free Software
4.6705 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6706 +# 02111-1307, USA.
4.6707 +
4.6708 +# serial 11
4.6709 +
4.6710 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
4.6711 +# AM_INIT_AUTOMAKE([OPTIONS])
4.6712 +# -----------------------------------------------
4.6713 +# The call with PACKAGE and VERSION arguments is the old style
4.6714 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
4.6715 +# and VERSION should now be passed to AC_INIT and removed from
4.6716 +# the call to AM_INIT_AUTOMAKE.
4.6717 +# We support both call styles for the transition. After
4.6718 +# the next Automake release, Autoconf can make the AC_INIT
4.6719 +# arguments mandatory, and then we can depend on a new Autoconf
4.6720 +# release and drop the old call support.
4.6721 +AC_DEFUN([AM_INIT_AUTOMAKE],
4.6722 +[AC_PREREQ([2.58])dnl
4.6723 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
4.6724 +dnl the ones we care about.
4.6725 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
4.6726 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
4.6727 +AC_REQUIRE([AC_PROG_INSTALL])dnl
4.6728 +# test to see if srcdir already configured
4.6729 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
4.6730 + test -f $srcdir/config.status; then
4.6731 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
4.6732 +fi
4.6733 +
4.6734 +# test whether we have cygpath
4.6735 +if test -z "$CYGPATH_W"; then
4.6736 + if (cygpath --version) >/dev/null 2>/dev/null; then
4.6737 + CYGPATH_W='cygpath -w'
4.6738 + else
4.6739 + CYGPATH_W=echo
4.6740 + fi
4.6741 +fi
4.6742 +AC_SUBST([CYGPATH_W])
4.6743 +
4.6744 +# Define the identity of the package.
4.6745 +dnl Distinguish between old-style and new-style calls.
4.6746 +m4_ifval([$2],
4.6747 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
4.6748 + AC_SUBST([PACKAGE], [$1])dnl
4.6749 + AC_SUBST([VERSION], [$2])],
4.6750 +[_AM_SET_OPTIONS([$1])dnl
4.6751 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
4.6752 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
4.6753 +
4.6754 +_AM_IF_OPTION([no-define],,
4.6755 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
4.6756 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
4.6757 +
4.6758 +# Some tools Automake needs.
4.6759 +AC_REQUIRE([AM_SANITY_CHECK])dnl
4.6760 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
4.6761 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
4.6762 +AM_MISSING_PROG(AUTOCONF, autoconf)
4.6763 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
4.6764 +AM_MISSING_PROG(AUTOHEADER, autoheader)
4.6765 +AM_MISSING_PROG(MAKEINFO, makeinfo)
4.6766 +AM_MISSING_PROG(AMTAR, tar)
4.6767 +AM_PROG_INSTALL_SH
4.6768 +AM_PROG_INSTALL_STRIP
4.6769 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
4.6770 +# We need awk for the "check" target. The system "awk" is bad on
4.6771 +# some platforms.
4.6772 +AC_REQUIRE([AC_PROG_AWK])dnl
4.6773 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
4.6774 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
4.6775 +
4.6776 +_AM_IF_OPTION([no-dependencies],,
4.6777 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
4.6778 + [_AM_DEPENDENCIES(CC)],
4.6779 + [define([AC_PROG_CC],
4.6780 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
4.6781 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
4.6782 + [_AM_DEPENDENCIES(CXX)],
4.6783 + [define([AC_PROG_CXX],
4.6784 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
4.6785 +])
4.6786 +])
4.6787 +
4.6788 +
4.6789 +# When config.status generates a header, we must update the stamp-h file.
4.6790 +# This file resides in the same directory as the config header
4.6791 +# that is generated. The stamp files are numbered to have different names.
4.6792 +
4.6793 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
4.6794 +# loop where config.status creates the headers, so we can generate
4.6795 +# our stamp files there.
4.6796 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
4.6797 +[# Compute $1's index in $config_headers.
4.6798 +_am_stamp_count=1
4.6799 +for _am_header in $config_headers :; do
4.6800 + case $_am_header in
4.6801 + $1 | $1:* )
4.6802 + break ;;
4.6803 + * )
4.6804 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4.6805 + esac
4.6806 +done
4.6807 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
4.6808 +
4.6809 +# AM_PROG_INSTALL_SH
4.6810 +# ------------------
4.6811 +# Define $install_sh.
4.6812 +
4.6813 +# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4.6814 +
4.6815 +# This program is free software; you can redistribute it and/or modify
4.6816 +# it under the terms of the GNU General Public License as published by
4.6817 +# the Free Software Foundation; either version 2, or (at your option)
4.6818 +# any later version.
4.6819 +
4.6820 +# This program is distributed in the hope that it will be useful,
4.6821 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6822 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6823 +# GNU General Public License for more details.
4.6824 +
4.6825 +# You should have received a copy of the GNU General Public License
4.6826 +# along with this program; if not, write to the Free Software
4.6827 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6828 +# 02111-1307, USA.
4.6829 +
4.6830 +AC_DEFUN([AM_PROG_INSTALL_SH],
4.6831 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4.6832 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
4.6833 +AC_SUBST(install_sh)])
4.6834 +
4.6835 +# -*- Autoconf -*-
4.6836 +# Copyright (C) 2003 Free Software Foundation, Inc.
4.6837 +
4.6838 +# This program is free software; you can redistribute it and/or modify
4.6839 +# it under the terms of the GNU General Public License as published by
4.6840 +# the Free Software Foundation; either version 2, or (at your option)
4.6841 +# any later version.
4.6842 +
4.6843 +# This program is distributed in the hope that it will be useful,
4.6844 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6845 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6846 +# GNU General Public License for more details.
4.6847 +
4.6848 +# You should have received a copy of the GNU General Public License
4.6849 +# along with this program; if not, write to the Free Software
4.6850 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6851 +# 02111-1307, USA.
4.6852 +
4.6853 +# serial 1
4.6854 +
4.6855 +# Check whether the underlying file-system supports filenames
4.6856 +# with a leading dot. For instance MS-DOS doesn't.
4.6857 +AC_DEFUN([AM_SET_LEADING_DOT],
4.6858 +[rm -rf .tst 2>/dev/null
4.6859 +mkdir .tst 2>/dev/null
4.6860 +if test -d .tst; then
4.6861 + am__leading_dot=.
4.6862 +else
4.6863 + am__leading_dot=_
4.6864 +fi
4.6865 +rmdir .tst 2>/dev/null
4.6866 +AC_SUBST([am__leading_dot])])
4.6867 +
4.6868 +# Add --enable-maintainer-mode option to configure.
4.6869 +# From Jim Meyering
4.6870 +
4.6871 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
4.6872 +# Free Software Foundation, Inc.
4.6873 +
4.6874 +# This program is free software; you can redistribute it and/or modify
4.6875 +# it under the terms of the GNU General Public License as published by
4.6876 +# the Free Software Foundation; either version 2, or (at your option)
4.6877 +# any later version.
4.6878 +
4.6879 +# This program is distributed in the hope that it will be useful,
4.6880 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6881 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6882 +# GNU General Public License for more details.
4.6883 +
4.6884 +# You should have received a copy of the GNU General Public License
4.6885 +# along with this program; if not, write to the Free Software
4.6886 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6887 +# 02111-1307, USA.
4.6888 +
4.6889 +# serial 3
4.6890 +
4.6891 +AC_DEFUN([AM_MAINTAINER_MODE],
4.6892 +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
4.6893 + dnl maintainer-mode is disabled by default
4.6894 + AC_ARG_ENABLE(maintainer-mode,
4.6895 +[ --enable-maintainer-mode enable make rules and dependencies not useful
4.6896 + (and sometimes confusing) to the casual installer],
4.6897 + USE_MAINTAINER_MODE=$enableval,
4.6898 + USE_MAINTAINER_MODE=no)
4.6899 + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
4.6900 + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
4.6901 + MAINT=$MAINTAINER_MODE_TRUE
4.6902 + AC_SUBST(MAINT)dnl
4.6903 +]
4.6904 +)
4.6905 +
4.6906 +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
4.6907 +
4.6908 +# Check to see how 'make' treats includes. -*- Autoconf -*-
4.6909 +
4.6910 +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4.6911 +
4.6912 +# This program is free software; you can redistribute it and/or modify
4.6913 +# it under the terms of the GNU General Public License as published by
4.6914 +# the Free Software Foundation; either version 2, or (at your option)
4.6915 +# any later version.
4.6916 +
4.6917 +# This program is distributed in the hope that it will be useful,
4.6918 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6919 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6920 +# GNU General Public License for more details.
4.6921 +
4.6922 +# You should have received a copy of the GNU General Public License
4.6923 +# along with this program; if not, write to the Free Software
4.6924 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6925 +# 02111-1307, USA.
4.6926 +
4.6927 +# serial 2
4.6928 +
4.6929 +# AM_MAKE_INCLUDE()
4.6930 +# -----------------
4.6931 +# Check to see how make treats includes.
4.6932 +AC_DEFUN([AM_MAKE_INCLUDE],
4.6933 +[am_make=${MAKE-make}
4.6934 +cat > confinc << 'END'
4.6935 +am__doit:
4.6936 + @echo done
4.6937 +.PHONY: am__doit
4.6938 +END
4.6939 +# If we don't find an include directive, just comment out the code.
4.6940 +AC_MSG_CHECKING([for style of include used by $am_make])
4.6941 +am__include="#"
4.6942 +am__quote=
4.6943 +_am_result=none
4.6944 +# First try GNU make style include.
4.6945 +echo "include confinc" > confmf
4.6946 +# We grep out `Entering directory' and `Leaving directory'
4.6947 +# messages which can occur if `w' ends up in MAKEFLAGS.
4.6948 +# In particular we don't look at `^make:' because GNU make might
4.6949 +# be invoked under some other name (usually "gmake"), in which
4.6950 +# case it prints its new name instead of `make'.
4.6951 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4.6952 + am__include=include
4.6953 + am__quote=
4.6954 + _am_result=GNU
4.6955 +fi
4.6956 +# Now try BSD make style include.
4.6957 +if test "$am__include" = "#"; then
4.6958 + echo '.include "confinc"' > confmf
4.6959 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4.6960 + am__include=.include
4.6961 + am__quote="\""
4.6962 + _am_result=BSD
4.6963 + fi
4.6964 +fi
4.6965 +AC_SUBST([am__include])
4.6966 +AC_SUBST([am__quote])
4.6967 +AC_MSG_RESULT([$_am_result])
4.6968 +rm -f confinc confmf
4.6969 +])
4.6970 +
4.6971 +# -*- Autoconf -*-
4.6972 +
4.6973 +
4.6974 +# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
4.6975 +
4.6976 +# This program is free software; you can redistribute it and/or modify
4.6977 +# it under the terms of the GNU General Public License as published by
4.6978 +# the Free Software Foundation; either version 2, or (at your option)
4.6979 +# any later version.
4.6980 +
4.6981 +# This program is distributed in the hope that it will be useful,
4.6982 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.6983 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.6984 +# GNU General Public License for more details.
4.6985 +
4.6986 +# You should have received a copy of the GNU General Public License
4.6987 +# along with this program; if not, write to the Free Software
4.6988 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.6989 +# 02111-1307, USA.
4.6990 +
4.6991 +# serial 3
4.6992 +
4.6993 +# AM_MISSING_PROG(NAME, PROGRAM)
4.6994 +# ------------------------------
4.6995 +AC_DEFUN([AM_MISSING_PROG],
4.6996 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
4.6997 +$1=${$1-"${am_missing_run}$2"}
4.6998 +AC_SUBST($1)])
4.6999 +
4.7000 +
4.7001 +# AM_MISSING_HAS_RUN
4.7002 +# ------------------
4.7003 +# Define MISSING if not defined so far and test if it supports --run.
4.7004 +# If it does, set am_missing_run to use it, otherwise, to nothing.
4.7005 +AC_DEFUN([AM_MISSING_HAS_RUN],
4.7006 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4.7007 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
4.7008 +# Use eval to expand $SHELL
4.7009 +if eval "$MISSING --run true"; then
4.7010 + am_missing_run="$MISSING --run "
4.7011 +else
4.7012 + am_missing_run=
4.7013 + AC_MSG_WARN([`missing' script is too old or missing])
4.7014 +fi
4.7015 +])
4.7016 +
4.7017 +# AM_PROG_MKDIR_P
4.7018 +# ---------------
4.7019 +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
4.7020 +
4.7021 +# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
4.7022 +
4.7023 +# This program is free software; you can redistribute it and/or modify
4.7024 +# it under the terms of the GNU General Public License as published by
4.7025 +# the Free Software Foundation; either version 2, or (at your option)
4.7026 +# any later version.
4.7027 +
4.7028 +# This program is distributed in the hope that it will be useful,
4.7029 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.7030 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.7031 +# GNU General Public License for more details.
4.7032 +
4.7033 +# You should have received a copy of the GNU General Public License
4.7034 +# along with this program; if not, write to the Free Software
4.7035 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.7036 +# 02111-1307, USA.
4.7037 +
4.7038 +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
4.7039 +# created by `make install' are always world readable, even if the
4.7040 +# installer happens to have an overly restrictive umask (e.g. 077).
4.7041 +# This was a mistake. There are at least two reasons why we must not
4.7042 +# use `-m 0755':
4.7043 +# - it causes special bits like SGID to be ignored,
4.7044 +# - it may be too restrictive (some setups expect 775 directories).
4.7045 +#
4.7046 +# Do not use -m 0755 and let people choose whatever they expect by
4.7047 +# setting umask.
4.7048 +#
4.7049 +# We cannot accept any implementation of `mkdir' that recognizes `-p'.
4.7050 +# Some implementations (such as Solaris 8's) are not thread-safe: if a
4.7051 +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
4.7052 +# concurrently, both version can detect that a/ is missing, but only
4.7053 +# one can create it and the other will error out. Consequently we
4.7054 +# restrict ourselves to GNU make (using the --version option ensures
4.7055 +# this.)
4.7056 +AC_DEFUN([AM_PROG_MKDIR_P],
4.7057 +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
4.7058 + # Keeping the `.' argument allows $(mkdir_p) to be used without
4.7059 + # argument. Indeed, we sometimes output rules like
4.7060 + # $(mkdir_p) $(somedir)
4.7061 + # where $(somedir) is conditionally defined.
4.7062 + # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
4.7063 + # expensive solution, as it forces Make to start a sub-shell.)
4.7064 + mkdir_p='mkdir -p -- .'
4.7065 +else
4.7066 + # On NextStep and OpenStep, the `mkdir' command does not
4.7067 + # recognize any option. It will interpret all options as
4.7068 + # directories to create, and then abort because `.' already
4.7069 + # exists.
4.7070 + for d in ./-p ./--version;
4.7071 + do
4.7072 + test -d $d && rmdir $d
4.7073 + done
4.7074 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
4.7075 + if test -f "$ac_aux_dir/mkinstalldirs"; then
4.7076 + mkdir_p='$(mkinstalldirs)'
4.7077 + else
4.7078 + mkdir_p='$(install_sh) -d'
4.7079 + fi
4.7080 +fi
4.7081 +AC_SUBST([mkdir_p])])
4.7082 +
4.7083 +# Helper functions for option handling. -*- Autoconf -*-
4.7084 +
4.7085 +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4.7086 +
4.7087 +# This program is free software; you can redistribute it and/or modify
4.7088 +# it under the terms of the GNU General Public License as published by
4.7089 +# the Free Software Foundation; either version 2, or (at your option)
4.7090 +# any later version.
4.7091 +
4.7092 +# This program is distributed in the hope that it will be useful,
4.7093 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.7094 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.7095 +# GNU General Public License for more details.
4.7096 +
4.7097 +# You should have received a copy of the GNU General Public License
4.7098 +# along with this program; if not, write to the Free Software
4.7099 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.7100 +# 02111-1307, USA.
4.7101 +
4.7102 +# serial 2
4.7103 +
4.7104 +# _AM_MANGLE_OPTION(NAME)
4.7105 +# -----------------------
4.7106 +AC_DEFUN([_AM_MANGLE_OPTION],
4.7107 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
4.7108 +
4.7109 +# _AM_SET_OPTION(NAME)
4.7110 +# ------------------------------
4.7111 +# Set option NAME. Presently that only means defining a flag for this option.
4.7112 +AC_DEFUN([_AM_SET_OPTION],
4.7113 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
4.7114 +
4.7115 +# _AM_SET_OPTIONS(OPTIONS)
4.7116 +# ----------------------------------
4.7117 +# OPTIONS is a space-separated list of Automake options.
4.7118 +AC_DEFUN([_AM_SET_OPTIONS],
4.7119 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
4.7120 +
4.7121 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
4.7122 +# -------------------------------------------
4.7123 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
4.7124 +AC_DEFUN([_AM_IF_OPTION],
4.7125 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
4.7126 +
4.7127 +#
4.7128 +# Check to make sure that the build environment is sane.
4.7129 +#
4.7130 +
4.7131 +# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
4.7132 +
4.7133 +# This program is free software; you can redistribute it and/or modify
4.7134 +# it under the terms of the GNU General Public License as published by
4.7135 +# the Free Software Foundation; either version 2, or (at your option)
4.7136 +# any later version.
4.7137 +
4.7138 +# This program is distributed in the hope that it will be useful,
4.7139 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.7140 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.7141 +# GNU General Public License for more details.
4.7142 +
4.7143 +# You should have received a copy of the GNU General Public License
4.7144 +# along with this program; if not, write to the Free Software
4.7145 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.7146 +# 02111-1307, USA.
4.7147 +
4.7148 +# serial 3
4.7149 +
4.7150 +# AM_SANITY_CHECK
4.7151 +# ---------------
4.7152 +AC_DEFUN([AM_SANITY_CHECK],
4.7153 +[AC_MSG_CHECKING([whether build environment is sane])
4.7154 +# Just in case
4.7155 +sleep 1
4.7156 +echo timestamp > conftest.file
4.7157 +# Do `set' in a subshell so we don't clobber the current shell's
4.7158 +# arguments. Must try -L first in case configure is actually a
4.7159 +# symlink; some systems play weird games with the mod time of symlinks
4.7160 +# (eg FreeBSD returns the mod time of the symlink's containing
4.7161 +# directory).
4.7162 +if (
4.7163 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
4.7164 + if test "$[*]" = "X"; then
4.7165 + # -L didn't work.
4.7166 + set X `ls -t $srcdir/configure conftest.file`
4.7167 + fi
4.7168 + rm -f conftest.file
4.7169 + if test "$[*]" != "X $srcdir/configure conftest.file" \
4.7170 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
4.7171 +
4.7172 + # If neither matched, then we have a broken ls. This can happen
4.7173 + # if, for instance, CONFIG_SHELL is bash and it inherits a
4.7174 + # broken ls alias from the environment. This has actually
4.7175 + # happened. Such a system could not be considered "sane".
4.7176 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
4.7177 +alias in your environment])
4.7178 + fi
4.7179 +
4.7180 + test "$[2]" = conftest.file
4.7181 + )
4.7182 +then
4.7183 + # Ok.
4.7184 + :
4.7185 +else
4.7186 + AC_MSG_ERROR([newly created file is older than distributed files!
4.7187 +Check your system clock])
4.7188 +fi
4.7189 +AC_MSG_RESULT(yes)])
4.7190 +
4.7191 +# AM_PROG_INSTALL_STRIP
4.7192 +
4.7193 +# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4.7194 +
4.7195 +# This program is free software; you can redistribute it and/or modify
4.7196 +# it under the terms of the GNU General Public License as published by
4.7197 +# the Free Software Foundation; either version 2, or (at your option)
4.7198 +# any later version.
4.7199 +
4.7200 +# This program is distributed in the hope that it will be useful,
4.7201 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
4.7202 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.7203 +# GNU General Public License for more details.
4.7204 +
4.7205 +# You should have received a copy of the GNU General Public License
4.7206 +# along with this program; if not, write to the Free Software
4.7207 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4.7208 +# 02111-1307, USA.
4.7209 +
4.7210 +# One issue with vendor `install' (even GNU) is that you can't
4.7211 +# specify the program used to strip binaries. This is especially
4.7212 +# annoying in cross-compiling environments, where the build's strip
4.7213 +# is unlikely to handle the host's binaries.
4.7214 +# Fortunately install-sh will honor a STRIPPROG variable, so we
4.7215 +# always use install-sh in `make install-strip', and initialize
4.7216 +# STRIPPROG with the value of the STRIP variable (set by the user).
4.7217 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
4.7218 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
4.7219 +# Installed binaries are usually stripped using `strip' when the user
4.7220 +# run `make install-strip'. However `strip' might not be the right
4.7221 +# tool to use in cross-compilation environments, therefore Automake
4.7222 +# will honor the `STRIP' environment variable to overrule this program.
4.7223 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
4.7224 +if test "$cross_compiling" != no; then
4.7225 + AC_CHECK_TOOL([STRIP], [strip], :)
4.7226 +fi
4.7227 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
4.7228 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
4.7229 +
4.7230 +m4_include([m4/as-compiler-flag.m4])
4.7231 +m4_include([m4/as-version.m4])
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/gst-plugins-nuvdemux/autogen.sh Tue Oct 24 15:02:26 2006 +0100
5.3 @@ -0,0 +1,115 @@
5.4 +#!/bin/sh
5.5 +# Run this to generate all the initial makefiles, etc.
5.6 +
5.7 +# Not all echo versions allow -n, so we check what is possible. This test is
5.8 +# based on the one in autoconf.
5.9 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5.10 + *c*,-n*) ECHO_N= ;;
5.11 + *c*,* ) ECHO_N=-n ;;
5.12 + *) ECHO_N= ;;
5.13 +esac
5.14 +
5.15 +
5.16 +# some terminal codes ...
5.17 +boldface="`tput bold 2>/dev/null`"
5.18 +normal="`tput sgr0 2>/dev/null`"
5.19 +printbold() {
5.20 + echo $ECHO_N "$boldface"
5.21 + echo "$@"
5.22 + echo $ECHO_N "$normal"
5.23 +}
5.24 +printerr() {
5.25 + echo "$@" >&2
5.26 +}
5.27 +
5.28 +# Usage:
5.29 +# compare_versions MIN_VERSION ACTUAL_VERSION
5.30 +# returns true if ACTUAL_VERSION >= MIN_VERSION
5.31 +compare_versions() {
5.32 + ch_min_version=$1
5.33 + ch_actual_version=$2
5.34 + ch_status=0
5.35 + IFS="${IFS= }"; ch_save_IFS="$IFS"; IFS="."
5.36 + set $ch_actual_version
5.37 + for ch_min in $ch_min_version; do
5.38 + ch_cur=`echo $1 | sed 's/[^0-9].*$//'`; shift # remove letter suffixes
5.39 + if [ -z "$ch_min" ]; then break; fi
5.40 + if [ -z "$ch_cur" ]; then ch_status=1; break; fi
5.41 + if [ $ch_cur -gt $ch_min ]; then break; fi
5.42 + if [ $ch_cur -lt $ch_min ]; then ch_status=1; break; fi
5.43 + done
5.44 + IFS="$ch_save_IFS"
5.45 + return $ch_status
5.46 +}
5.47 +
5.48 +# Usage:
5.49 +# version_check PACKAGE VARIABLE CHECKPROGS MIN_VERSION SOURCE
5.50 +# checks to see if the package is available
5.51 +version_check() {
5.52 + vc_package=$1
5.53 + vc_variable=$2
5.54 + vc_checkprogs=$3
5.55 + vc_min_version=$4
5.56 + vc_source=$5
5.57 + vc_status=1
5.58 +
5.59 + vc_checkprog=`eval echo "\\$$vc_variable"`
5.60 + if [ -n "$vc_checkprog" ]; then
5.61 + printbold "using $vc_checkprog for $vc_package"
5.62 + return 0
5.63 + fi
5.64 +
5.65 + printbold "checking for $vc_package >= $vc_min_version..."
5.66 + for vc_checkprog in $vc_checkprogs; do
5.67 + echo $ECHO_N " testing $vc_checkprog... "
5.68 + if $vc_checkprog --version < /dev/null > /dev/null 2>&1; then
5.69 + vc_actual_version=`$vc_checkprog --version | head -n 1 | \
5.70 + sed 's/^.*[ ]\([0-9.]*[a-z]*\).*$/\1/'`
5.71 + if compare_versions $vc_min_version $vc_actual_version; then
5.72 + echo "found $vc_actual_version"
5.73 + # set variable
5.74 + eval "$vc_variable=$vc_checkprog"
5.75 + vc_status=0
5.76 + break
5.77 + else
5.78 + echo "too old (found version $vc_actual_version)"
5.79 + fi
5.80 + else
5.81 + echo "not found."
5.82 + fi
5.83 + done
5.84 + if [ "$vc_status" != 0 ]; then
5.85 + printerr "***Error***: You must have $vc_package >= $vc_min_version installed"
5.86 + printerr " to build $PKG_NAME. Download the appropriate package for"
5.87 + printerr " from your distribution or get the source tarball at"
5.88 + printerr " $vc_source"
5.89 + printerr
5.90 + fi
5.91 + return $vc_status
5.92 +}
5.93 +
5.94 +#tell Mandrake autoconf wrapper we want autoconf 2.5x, not 2.13
5.95 +WANT_AUTOCONF_2_5=1
5.96 +export WANT_AUTOCONF_2_5
5.97 +version_check autoreconf AUTORECONF 'autoreconf' 2.50 \
5.98 + "http://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.50.tar.gz" || DIE=1
5.99 +
5.100 +automake_progs="automake automake-1.9 automake-1.8 automake-1.7 automake-1.6 automake-1.5"
5.101 +
5.102 +version_check automake AUTOMAKE "$automake_progs" 1.5 \
5.103 + "http://ftp.gnu.org/pub/gnu/automake/automake-1.5.tar.gz" || DIE=1
5.104 +ACLOCAL=`echo $AUTOMAKE | sed s/automake/aclocal/`
5.105 +
5.106 +export AUTOMAKE ACLOCAL
5.107 +# gtkdocize
5.108 +autoreconf --install || exit 1
5.109 +
5.110 +#conf_flags="--enable-maintainer-mode"
5.111 +
5.112 +if test x$NOCONFIGURE = x; then
5.113 + printbold Running $srcdir/configure $conf_flags "$@" ...
5.114 + ./configure $conf_flags "$@" \
5.115 + && echo Now type \`make\' to compile $PKG_NAME || exit 1
5.116 +else
5.117 + echo Skipping configure process.
5.118 +fi
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/gst-plugins-nuvdemux/autom4te.cache/output.0 Tue Oct 24 15:02:26 2006 +0100
6.3 @@ -0,0 +1,23553 @@
6.4 +@%:@! /bin/sh
6.5 +@%:@ Guess values for system-dependent variables and create Makefiles.
6.6 +@%:@ Generated by GNU Autoconf 2.59.
6.7 +@%:@
6.8 +@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
6.9 +@%:@ This configure script is free software; the Free Software Foundation
6.10 +@%:@ gives unlimited permission to copy, distribute and modify it.
6.11 +## --------------------- ##
6.12 +## M4sh Initialization. ##
6.13 +## --------------------- ##
6.14 +
6.15 +# Be Bourne compatible
6.16 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6.17 + emulate sh
6.18 + NULLCMD=:
6.19 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6.20 + # is contrary to our usage. Disable this feature.
6.21 + alias -g '${1+"$@"}'='"$@"'
6.22 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6.23 + set -o posix
6.24 +fi
6.25 +DUALCASE=1; export DUALCASE # for MKS sh
6.26 +
6.27 +# Support unset when possible.
6.28 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6.29 + as_unset=unset
6.30 +else
6.31 + as_unset=false
6.32 +fi
6.33 +
6.34 +
6.35 +# Work around bugs in pre-3.0 UWIN ksh.
6.36 +$as_unset ENV MAIL MAILPATH
6.37 +PS1='$ '
6.38 +PS2='> '
6.39 +PS4='+ '
6.40 +
6.41 +# NLS nuisances.
6.42 +for as_var in \
6.43 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6.44 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6.45 + LC_TELEPHONE LC_TIME
6.46 +do
6.47 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6.48 + eval $as_var=C; export $as_var
6.49 + else
6.50 + $as_unset $as_var
6.51 + fi
6.52 +done
6.53 +
6.54 +# Required to use basename.
6.55 +if expr a : '\(a\)' >/dev/null 2>&1; then
6.56 + as_expr=expr
6.57 +else
6.58 + as_expr=false
6.59 +fi
6.60 +
6.61 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6.62 + as_basename=basename
6.63 +else
6.64 + as_basename=false
6.65 +fi
6.66 +
6.67 +
6.68 +# Name of the executable.
6.69 +as_me=`$as_basename "$0" ||
6.70 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6.71 + X"$0" : 'X\(//\)$' \| \
6.72 + X"$0" : 'X\(/\)$' \| \
6.73 + . : '\(.\)' 2>/dev/null ||
6.74 +echo X/"$0" |
6.75 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6.76 + /^X\/\(\/\/\)$/{ s//\1/; q; }
6.77 + /^X\/\(\/\).*/{ s//\1/; q; }
6.78 + s/.*/./; q'`
6.79 +
6.80 +
6.81 +# PATH needs CR, and LINENO needs CR and PATH.
6.82 +# Avoid depending upon Character Ranges.
6.83 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6.84 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6.85 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6.86 +as_cr_digits='0123456789'
6.87 +as_cr_alnum=$as_cr_Letters$as_cr_digits
6.88 +
6.89 +# The user is always right.
6.90 +if test "${PATH_SEPARATOR+set}" != set; then
6.91 + echo "#! /bin/sh" >conf$$.sh
6.92 + echo "exit 0" >>conf$$.sh
6.93 + chmod +x conf$$.sh
6.94 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6.95 + PATH_SEPARATOR=';'
6.96 + else
6.97 + PATH_SEPARATOR=:
6.98 + fi
6.99 + rm -f conf$$.sh
6.100 +fi
6.101 +
6.102 +
6.103 + as_lineno_1=$LINENO
6.104 + as_lineno_2=$LINENO
6.105 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6.106 + test "x$as_lineno_1" != "x$as_lineno_2" &&
6.107 + test "x$as_lineno_3" = "x$as_lineno_2" || {
6.108 + # Find who we are. Look in the path if we contain no path at all
6.109 + # relative or not.
6.110 + case $0 in
6.111 + *[\\/]* ) as_myself=$0 ;;
6.112 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.113 +for as_dir in $PATH
6.114 +do
6.115 + IFS=$as_save_IFS
6.116 + test -z "$as_dir" && as_dir=.
6.117 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6.118 +done
6.119 +
6.120 + ;;
6.121 + esac
6.122 + # We did not find ourselves, most probably we were run as `sh COMMAND'
6.123 + # in which case we are not to be found in the path.
6.124 + if test "x$as_myself" = x; then
6.125 + as_myself=$0
6.126 + fi
6.127 + if test ! -f "$as_myself"; then
6.128 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
6.129 + { (exit 1); exit 1; }; }
6.130 + fi
6.131 + case $CONFIG_SHELL in
6.132 + '')
6.133 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.134 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6.135 +do
6.136 + IFS=$as_save_IFS
6.137 + test -z "$as_dir" && as_dir=.
6.138 + for as_base in sh bash ksh sh5; do
6.139 + case $as_dir in
6.140 + /*)
6.141 + if ("$as_dir/$as_base" -c '
6.142 + as_lineno_1=$LINENO
6.143 + as_lineno_2=$LINENO
6.144 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6.145 + test "x$as_lineno_1" != "x$as_lineno_2" &&
6.146 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6.147 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6.148 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6.149 + CONFIG_SHELL=$as_dir/$as_base
6.150 + export CONFIG_SHELL
6.151 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6.152 + fi;;
6.153 + esac
6.154 + done
6.155 +done
6.156 +;;
6.157 + esac
6.158 +
6.159 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6.160 + # uniformly replaced by the line number. The first 'sed' inserts a
6.161 + # line-number line before each line; the second 'sed' does the real
6.162 + # work. The second script uses 'N' to pair each line-number line
6.163 + # with the numbered line, and appends trailing '-' during
6.164 + # substitution so that $LINENO is not a special case at line end.
6.165 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6.166 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6.167 + sed '=' <$as_myself |
6.168 + sed '
6.169 + N
6.170 + s,$,-,
6.171 + : loop
6.172 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6.173 + t loop
6.174 + s,-$,,
6.175 + s,^['$as_cr_digits']*\n,,
6.176 + ' >$as_me.lineno &&
6.177 + chmod +x $as_me.lineno ||
6.178 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6.179 + { (exit 1); exit 1; }; }
6.180 +
6.181 + # Don't try to exec as it changes $[0], causing all sort of problems
6.182 + # (the dirname of $[0] is not the place where we might find the
6.183 + # original and so on. Autoconf is especially sensible to this).
6.184 + . ./$as_me.lineno
6.185 + # Exit status is that of the last command.
6.186 + exit
6.187 +}
6.188 +
6.189 +
6.190 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6.191 + *c*,-n*) ECHO_N= ECHO_C='
6.192 +' ECHO_T=' ' ;;
6.193 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6.194 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6.195 +esac
6.196 +
6.197 +if expr a : '\(a\)' >/dev/null 2>&1; then
6.198 + as_expr=expr
6.199 +else
6.200 + as_expr=false
6.201 +fi
6.202 +
6.203 +rm -f conf$$ conf$$.exe conf$$.file
6.204 +echo >conf$$.file
6.205 +if ln -s conf$$.file conf$$ 2>/dev/null; then
6.206 + # We could just check for DJGPP; but this test a) works b) is more generic
6.207 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6.208 + if test -f conf$$.exe; then
6.209 + # Don't use ln at all; we don't have any links
6.210 + as_ln_s='cp -p'
6.211 + else
6.212 + as_ln_s='ln -s'
6.213 + fi
6.214 +elif ln conf$$.file conf$$ 2>/dev/null; then
6.215 + as_ln_s=ln
6.216 +else
6.217 + as_ln_s='cp -p'
6.218 +fi
6.219 +rm -f conf$$ conf$$.exe conf$$.file
6.220 +
6.221 +if mkdir -p . 2>/dev/null; then
6.222 + as_mkdir_p=:
6.223 +else
6.224 + test -d ./-p && rmdir ./-p
6.225 + as_mkdir_p=false
6.226 +fi
6.227 +
6.228 +as_executable_p="test -f"
6.229 +
6.230 +# Sed expression to map a string onto a valid CPP name.
6.231 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6.232 +
6.233 +# Sed expression to map a string onto a valid variable name.
6.234 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6.235 +
6.236 +
6.237 +# IFS
6.238 +# We need space, tab and new line, in precisely that order.
6.239 +as_nl='
6.240 +'
6.241 +IFS=" $as_nl"
6.242 +
6.243 +# CDPATH.
6.244 +$as_unset CDPATH
6.245 +
6.246 +
6.247 +
6.248 +# Check that we are running under the correct shell.
6.249 +SHELL=${CONFIG_SHELL-/bin/sh}
6.250 +
6.251 +case X$ECHO in
6.252 +X*--fallback-echo)
6.253 + # Remove one level of quotation (which was required for Make).
6.254 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
6.255 + ;;
6.256 +esac
6.257 +
6.258 +echo=${ECHO-echo}
6.259 +if test "X$1" = X--no-reexec; then
6.260 + # Discard the --no-reexec flag, and continue.
6.261 + shift
6.262 +elif test "X$1" = X--fallback-echo; then
6.263 + # Avoid inline document here, it may be left over
6.264 + :
6.265 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
6.266 + # Yippee, $echo works!
6.267 + :
6.268 +else
6.269 + # Restart under the correct shell.
6.270 + exec $SHELL "$0" --no-reexec ${1+"$@"}
6.271 +fi
6.272 +
6.273 +if test "X$1" = X--fallback-echo; then
6.274 + # used as fallback echo
6.275 + shift
6.276 + cat <<EOF
6.277 +$*
6.278 +EOF
6.279 + exit 0
6.280 +fi
6.281 +
6.282 +# The HP-UX ksh and POSIX shell print the target directory to stdout
6.283 +# if CDPATH is set.
6.284 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6.285 +
6.286 +if test -z "$ECHO"; then
6.287 +if test "X${echo_test_string+set}" != Xset; then
6.288 +# find a string as large as possible, as long as the shell can cope with it
6.289 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
6.290 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
6.291 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
6.292 + echo_test_string=`eval $cmd` &&
6.293 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
6.294 + then
6.295 + break
6.296 + fi
6.297 + done
6.298 +fi
6.299 +
6.300 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
6.301 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
6.302 + test "X$echo_testing_string" = "X$echo_test_string"; then
6.303 + :
6.304 +else
6.305 + # The Solaris, AIX, and Digital Unix default echo programs unquote
6.306 + # backslashes. This makes it impossible to quote backslashes using
6.307 + # echo "$something" | sed 's/\\/\\\\/g'
6.308 + #
6.309 + # So, first we look for a working echo in the user's PATH.
6.310 +
6.311 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.312 + for dir in $PATH /usr/ucb; do
6.313 + IFS="$lt_save_ifs"
6.314 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
6.315 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
6.316 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
6.317 + test "X$echo_testing_string" = "X$echo_test_string"; then
6.318 + echo="$dir/echo"
6.319 + break
6.320 + fi
6.321 + done
6.322 + IFS="$lt_save_ifs"
6.323 +
6.324 + if test "X$echo" = Xecho; then
6.325 + # We didn't find a better echo, so look for alternatives.
6.326 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
6.327 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
6.328 + test "X$echo_testing_string" = "X$echo_test_string"; then
6.329 + # This shell has a builtin print -r that does the trick.
6.330 + echo='print -r'
6.331 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
6.332 + test "X$CONFIG_SHELL" != X/bin/ksh; then
6.333 + # If we have ksh, try running configure again with it.
6.334 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6.335 + export ORIGINAL_CONFIG_SHELL
6.336 + CONFIG_SHELL=/bin/ksh
6.337 + export CONFIG_SHELL
6.338 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
6.339 + else
6.340 + # Try using printf.
6.341 + echo='printf %s\n'
6.342 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
6.343 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
6.344 + test "X$echo_testing_string" = "X$echo_test_string"; then
6.345 + # Cool, printf works
6.346 + :
6.347 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
6.348 + test "X$echo_testing_string" = 'X\t' &&
6.349 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
6.350 + test "X$echo_testing_string" = "X$echo_test_string"; then
6.351 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
6.352 + export CONFIG_SHELL
6.353 + SHELL="$CONFIG_SHELL"
6.354 + export SHELL
6.355 + echo="$CONFIG_SHELL $0 --fallback-echo"
6.356 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
6.357 + test "X$echo_testing_string" = 'X\t' &&
6.358 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
6.359 + test "X$echo_testing_string" = "X$echo_test_string"; then
6.360 + echo="$CONFIG_SHELL $0 --fallback-echo"
6.361 + else
6.362 + # maybe with a smaller string...
6.363 + prev=:
6.364 +
6.365 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
6.366 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
6.367 + then
6.368 + break
6.369 + fi
6.370 + prev="$cmd"
6.371 + done
6.372 +
6.373 + if test "$prev" != 'sed 50q "$0"'; then
6.374 + echo_test_string=`eval $prev`
6.375 + export echo_test_string
6.376 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
6.377 + else
6.378 + # Oops. We lost completely, so just stick with echo.
6.379 + echo=echo
6.380 + fi
6.381 + fi
6.382 + fi
6.383 + fi
6.384 +fi
6.385 +fi
6.386 +
6.387 +# Copy echo and quote the copy suitably for passing to libtool from
6.388 +# the Makefile, instead of quoting the original, which is used later.
6.389 +ECHO=$echo
6.390 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
6.391 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
6.392 +fi
6.393 +
6.394 +
6.395 +
6.396 +
6.397 +tagnames=${tagnames+${tagnames},}CXX
6.398 +
6.399 +tagnames=${tagnames+${tagnames},}F77
6.400 +
6.401 +# Name of the host.
6.402 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
6.403 +# so uname gets run too.
6.404 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
6.405 +
6.406 +exec 6>&1
6.407 +
6.408 +#
6.409 +# Initializations.
6.410 +#
6.411 +ac_default_prefix=/usr/local
6.412 +ac_config_libobj_dir=.
6.413 +cross_compiling=no
6.414 +subdirs=
6.415 +MFLAGS=
6.416 +MAKEFLAGS=
6.417 +SHELL=${CONFIG_SHELL-/bin/sh}
6.418 +
6.419 +# Maximum number of lines to put in a shell here document.
6.420 +# This variable seems obsolete. It should probably be removed, and
6.421 +# only ac_max_sed_lines should be used.
6.422 +: ${ac_max_here_lines=38}
6.423 +
6.424 +# Identity of this package.
6.425 +PACKAGE_NAME=
6.426 +PACKAGE_TARNAME=
6.427 +PACKAGE_VERSION=
6.428 +PACKAGE_STRING=
6.429 +PACKAGE_BUGREPORT=
6.430 +
6.431 +# Factoring default headers for most tests.
6.432 +ac_includes_default="\
6.433 +#include <stdio.h>
6.434 +#if HAVE_SYS_TYPES_H
6.435 +# include <sys/types.h>
6.436 +#endif
6.437 +#if HAVE_SYS_STAT_H
6.438 +# include <sys/stat.h>
6.439 +#endif
6.440 +#if STDC_HEADERS
6.441 +# include <stdlib.h>
6.442 +# include <stddef.h>
6.443 +#else
6.444 +# if HAVE_STDLIB_H
6.445 +# include <stdlib.h>
6.446 +# endif
6.447 +#endif
6.448 +#if HAVE_STRING_H
6.449 +# if !STDC_HEADERS && HAVE_MEMORY_H
6.450 +# include <memory.h>
6.451 +# endif
6.452 +# include <string.h>
6.453 +#endif
6.454 +#if HAVE_STRINGS_H
6.455 +# include <strings.h>
6.456 +#endif
6.457 +#if HAVE_INTTYPES_H
6.458 +# include <inttypes.h>
6.459 +#else
6.460 +# if HAVE_STDINT_H
6.461 +# include <stdint.h>
6.462 +# endif
6.463 +#endif
6.464 +#if HAVE_UNISTD_H
6.465 +# include <unistd.h>
6.466 +#endif"
6.467 +
6.468 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GST_PLUGINS_VERSION GST_PLUGINS_VERSION_RELEASE GST_PLUGINS_VERSION_MAJOR GST_PLUGINS_VERSION_MINOR GST_PLUGINS_VERSION_MICRO GST_PLUGINS_VERSION_NANO PACKAGE VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ACLOCAL_AMFLAGS CCAS CCASFLAGS ERROR_CFLAGS HAVE_CXX HAVE_PKGCONFIG PKG_CONFIG GST_CFLAGS GST_LIBS GST_MAJORMINOR GST_BASE_CFLAGS GST_BASE_LIBS GST_PLUGINS_BASE_CFLAGS GST_PLUGINS_BASE_LIBS plugindir GST_PLUGIN_LDFLAGS LIB@&t@OBJS LTLIBOBJS'
6.469 +ac_subst_files=''
6.470 +
6.471 +# Initialize some variables set by options.
6.472 +ac_init_help=
6.473 +ac_init_version=false
6.474 +# The variables have the same names as the options, with
6.475 +# dashes changed to underlines.
6.476 +cache_file=/dev/null
6.477 +exec_prefix=NONE
6.478 +no_create=
6.479 +no_recursion=
6.480 +prefix=NONE
6.481 +program_prefix=NONE
6.482 +program_suffix=NONE
6.483 +program_transform_name=s,x,x,
6.484 +silent=
6.485 +site=
6.486 +srcdir=
6.487 +verbose=
6.488 +x_includes=NONE
6.489 +x_libraries=NONE
6.490 +
6.491 +# Installation directory options.
6.492 +# These are left unexpanded so users can "make install exec_prefix=/foo"
6.493 +# and all the variables that are supposed to be based on exec_prefix
6.494 +# by default will actually change.
6.495 +# Use braces instead of parens because sh, perl, etc. also accept them.
6.496 +bindir='${exec_prefix}/bin'
6.497 +sbindir='${exec_prefix}/sbin'
6.498 +libexecdir='${exec_prefix}/libexec'
6.499 +datadir='${prefix}/share'
6.500 +sysconfdir='${prefix}/etc'
6.501 +sharedstatedir='${prefix}/com'
6.502 +localstatedir='${prefix}/var'
6.503 +libdir='${exec_prefix}/lib'
6.504 +includedir='${prefix}/include'
6.505 +oldincludedir='/usr/include'
6.506 +infodir='${prefix}/info'
6.507 +mandir='${prefix}/man'
6.508 +
6.509 +ac_prev=
6.510 +for ac_option
6.511 +do
6.512 + # If the previous option needs an argument, assign it.
6.513 + if test -n "$ac_prev"; then
6.514 + eval "$ac_prev=\$ac_option"
6.515 + ac_prev=
6.516 + continue
6.517 + fi
6.518 +
6.519 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
6.520 +
6.521 + # Accept the important Cygnus configure options, so we can diagnose typos.
6.522 +
6.523 + case $ac_option in
6.524 +
6.525 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
6.526 + ac_prev=bindir ;;
6.527 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
6.528 + bindir=$ac_optarg ;;
6.529 +
6.530 + -build | --build | --buil | --bui | --bu)
6.531 + ac_prev=build_alias ;;
6.532 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
6.533 + build_alias=$ac_optarg ;;
6.534 +
6.535 + -cache-file | --cache-file | --cache-fil | --cache-fi \
6.536 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6.537 + ac_prev=cache_file ;;
6.538 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6.539 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
6.540 + cache_file=$ac_optarg ;;
6.541 +
6.542 + --config-cache | -C)
6.543 + cache_file=config.cache ;;
6.544 +
6.545 + -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
6.546 + ac_prev=datadir ;;
6.547 + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
6.548 + | --da=*)
6.549 + datadir=$ac_optarg ;;
6.550 +
6.551 + -disable-* | --disable-*)
6.552 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
6.553 + # Reject names that are not valid shell variable names.
6.554 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6.555 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6.556 + { (exit 1); exit 1; }; }
6.557 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6.558 + eval "enable_$ac_feature=no" ;;
6.559 +
6.560 + -enable-* | --enable-*)
6.561 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
6.562 + # Reject names that are not valid shell variable names.
6.563 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6.564 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6.565 + { (exit 1); exit 1; }; }
6.566 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6.567 + case $ac_option in
6.568 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6.569 + *) ac_optarg=yes ;;
6.570 + esac
6.571 + eval "enable_$ac_feature='$ac_optarg'" ;;
6.572 +
6.573 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
6.574 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
6.575 + | --exec | --exe | --ex)
6.576 + ac_prev=exec_prefix ;;
6.577 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
6.578 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
6.579 + | --exec=* | --exe=* | --ex=*)
6.580 + exec_prefix=$ac_optarg ;;
6.581 +
6.582 + -gas | --gas | --ga | --g)
6.583 + # Obsolete; use --with-gas.
6.584 + with_gas=yes ;;
6.585 +
6.586 + -help | --help | --hel | --he | -h)
6.587 + ac_init_help=long ;;
6.588 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
6.589 + ac_init_help=recursive ;;
6.590 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
6.591 + ac_init_help=short ;;
6.592 +
6.593 + -host | --host | --hos | --ho)
6.594 + ac_prev=host_alias ;;
6.595 + -host=* | --host=* | --hos=* | --ho=*)
6.596 + host_alias=$ac_optarg ;;
6.597 +
6.598 + -includedir | --includedir | --includedi | --included | --include \
6.599 + | --includ | --inclu | --incl | --inc)
6.600 + ac_prev=includedir ;;
6.601 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
6.602 + | --includ=* | --inclu=* | --incl=* | --inc=*)
6.603 + includedir=$ac_optarg ;;
6.604 +
6.605 + -infodir | --infodir | --infodi | --infod | --info | --inf)
6.606 + ac_prev=infodir ;;
6.607 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
6.608 + infodir=$ac_optarg ;;
6.609 +
6.610 + -libdir | --libdir | --libdi | --libd)
6.611 + ac_prev=libdir ;;
6.612 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
6.613 + libdir=$ac_optarg ;;
6.614 +
6.615 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
6.616 + | --libexe | --libex | --libe)
6.617 + ac_prev=libexecdir ;;
6.618 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
6.619 + | --libexe=* | --libex=* | --libe=*)
6.620 + libexecdir=$ac_optarg ;;
6.621 +
6.622 + -localstatedir | --localstatedir | --localstatedi | --localstated \
6.623 + | --localstate | --localstat | --localsta | --localst \
6.624 + | --locals | --local | --loca | --loc | --lo)
6.625 + ac_prev=localstatedir ;;
6.626 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
6.627 + | --localstate=* | --localstat=* | --localsta=* | --localst=* \
6.628 + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
6.629 + localstatedir=$ac_optarg ;;
6.630 +
6.631 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
6.632 + ac_prev=mandir ;;
6.633 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
6.634 + mandir=$ac_optarg ;;
6.635 +
6.636 + -nfp | --nfp | --nf)
6.637 + # Obsolete; use --without-fp.
6.638 + with_fp=no ;;
6.639 +
6.640 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
6.641 + | --no-cr | --no-c | -n)
6.642 + no_create=yes ;;
6.643 +
6.644 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
6.645 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
6.646 + no_recursion=yes ;;
6.647 +
6.648 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
6.649 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
6.650 + | --oldin | --oldi | --old | --ol | --o)
6.651 + ac_prev=oldincludedir ;;
6.652 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
6.653 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
6.654 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
6.655 + oldincludedir=$ac_optarg ;;
6.656 +
6.657 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6.658 + ac_prev=prefix ;;
6.659 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6.660 + prefix=$ac_optarg ;;
6.661 +
6.662 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
6.663 + | --program-pre | --program-pr | --program-p)
6.664 + ac_prev=program_prefix ;;
6.665 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
6.666 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
6.667 + program_prefix=$ac_optarg ;;
6.668 +
6.669 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
6.670 + | --program-suf | --program-su | --program-s)
6.671 + ac_prev=program_suffix ;;
6.672 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
6.673 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
6.674 + program_suffix=$ac_optarg ;;
6.675 +
6.676 + -program-transform-name | --program-transform-name \
6.677 + | --program-transform-nam | --program-transform-na \
6.678 + | --program-transform-n | --program-transform- \
6.679 + | --program-transform | --program-transfor \
6.680 + | --program-transfo | --program-transf \
6.681 + | --program-trans | --program-tran \
6.682 + | --progr-tra | --program-tr | --program-t)
6.683 + ac_prev=program_transform_name ;;
6.684 + -program-transform-name=* | --program-transform-name=* \
6.685 + | --program-transform-nam=* | --program-transform-na=* \
6.686 + | --program-transform-n=* | --program-transform-=* \
6.687 + | --program-transform=* | --program-transfor=* \
6.688 + | --program-transfo=* | --program-transf=* \
6.689 + | --program-trans=* | --program-tran=* \
6.690 + | --progr-tra=* | --program-tr=* | --program-t=*)
6.691 + program_transform_name=$ac_optarg ;;
6.692 +
6.693 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6.694 + | -silent | --silent | --silen | --sile | --sil)
6.695 + silent=yes ;;
6.696 +
6.697 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
6.698 + ac_prev=sbindir ;;
6.699 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
6.700 + | --sbi=* | --sb=*)
6.701 + sbindir=$ac_optarg ;;
6.702 +
6.703 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
6.704 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
6.705 + | --sharedst | --shareds | --shared | --share | --shar \
6.706 + | --sha | --sh)
6.707 + ac_prev=sharedstatedir ;;
6.708 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
6.709 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
6.710 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
6.711 + | --sha=* | --sh=*)
6.712 + sharedstatedir=$ac_optarg ;;
6.713 +
6.714 + -site | --site | --sit)
6.715 + ac_prev=site ;;
6.716 + -site=* | --site=* | --sit=*)
6.717 + site=$ac_optarg ;;
6.718 +
6.719 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6.720 + ac_prev=srcdir ;;
6.721 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6.722 + srcdir=$ac_optarg ;;
6.723 +
6.724 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
6.725 + | --syscon | --sysco | --sysc | --sys | --sy)
6.726 + ac_prev=sysconfdir ;;
6.727 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
6.728 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
6.729 + sysconfdir=$ac_optarg ;;
6.730 +
6.731 + -target | --target | --targe | --targ | --tar | --ta | --t)
6.732 + ac_prev=target_alias ;;
6.733 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
6.734 + target_alias=$ac_optarg ;;
6.735 +
6.736 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
6.737 + verbose=yes ;;
6.738 +
6.739 + -version | --version | --versio | --versi | --vers | -V)
6.740 + ac_init_version=: ;;
6.741 +
6.742 + -with-* | --with-*)
6.743 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
6.744 + # Reject names that are not valid shell variable names.
6.745 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6.746 + { echo "$as_me: error: invalid package name: $ac_package" >&2
6.747 + { (exit 1); exit 1; }; }
6.748 + ac_package=`echo $ac_package| sed 's/-/_/g'`
6.749 + case $ac_option in
6.750 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6.751 + *) ac_optarg=yes ;;
6.752 + esac
6.753 + eval "with_$ac_package='$ac_optarg'" ;;
6.754 +
6.755 + -without-* | --without-*)
6.756 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6.757 + # Reject names that are not valid shell variable names.
6.758 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6.759 + { echo "$as_me: error: invalid package name: $ac_package" >&2
6.760 + { (exit 1); exit 1; }; }
6.761 + ac_package=`echo $ac_package | sed 's/-/_/g'`
6.762 + eval "with_$ac_package=no" ;;
6.763 +
6.764 + --x)
6.765 + # Obsolete; use --with-x.
6.766 + with_x=yes ;;
6.767 +
6.768 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
6.769 + | --x-incl | --x-inc | --x-in | --x-i)
6.770 + ac_prev=x_includes ;;
6.771 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
6.772 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
6.773 + x_includes=$ac_optarg ;;
6.774 +
6.775 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
6.776 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
6.777 + ac_prev=x_libraries ;;
6.778 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
6.779 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
6.780 + x_libraries=$ac_optarg ;;
6.781 +
6.782 + -*) { echo "$as_me: error: unrecognized option: $ac_option
6.783 +Try \`$0 --help' for more information." >&2
6.784 + { (exit 1); exit 1; }; }
6.785 + ;;
6.786 +
6.787 + *=*)
6.788 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
6.789 + # Reject names that are not valid shell variable names.
6.790 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6.791 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6.792 + { (exit 1); exit 1; }; }
6.793 + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6.794 + eval "$ac_envvar='$ac_optarg'"
6.795 + export $ac_envvar ;;
6.796 +
6.797 + *)
6.798 + # FIXME: should be removed in autoconf 3.0.
6.799 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6.800 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6.801 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6.802 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6.803 + ;;
6.804 +
6.805 + esac
6.806 +done
6.807 +
6.808 +if test -n "$ac_prev"; then
6.809 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
6.810 + { echo "$as_me: error: missing argument to $ac_option" >&2
6.811 + { (exit 1); exit 1; }; }
6.812 +fi
6.813 +
6.814 +# Be sure to have absolute paths.
6.815 +for ac_var in exec_prefix prefix
6.816 +do
6.817 + eval ac_val=$`echo $ac_var`
6.818 + case $ac_val in
6.819 + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6.820 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6.821 + { (exit 1); exit 1; }; };;
6.822 + esac
6.823 +done
6.824 +
6.825 +# Be sure to have absolute paths.
6.826 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
6.827 + localstatedir libdir includedir oldincludedir infodir mandir
6.828 +do
6.829 + eval ac_val=$`echo $ac_var`
6.830 + case $ac_val in
6.831 + [\\/$]* | ?:[\\/]* ) ;;
6.832 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6.833 + { (exit 1); exit 1; }; };;
6.834 + esac
6.835 +done
6.836 +
6.837 +# There might be people who depend on the old broken behavior: `$host'
6.838 +# used to hold the argument of --host etc.
6.839 +# FIXME: To remove some day.
6.840 +build=$build_alias
6.841 +host=$host_alias
6.842 +target=$target_alias
6.843 +
6.844 +# FIXME: To remove some day.
6.845 +if test "x$host_alias" != x; then
6.846 + if test "x$build_alias" = x; then
6.847 + cross_compiling=maybe
6.848 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6.849 + If a cross compiler is detected then cross compile mode will be used." >&2
6.850 + elif test "x$build_alias" != "x$host_alias"; then
6.851 + cross_compiling=yes
6.852 + fi
6.853 +fi
6.854 +
6.855 +ac_tool_prefix=
6.856 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
6.857 +
6.858 +test "$silent" = yes && exec 6>/dev/null
6.859 +
6.860 +
6.861 +# Find the source files, if location was not specified.
6.862 +if test -z "$srcdir"; then
6.863 + ac_srcdir_defaulted=yes
6.864 + # Try the directory containing this script, then its parent.
6.865 + ac_confdir=`(dirname "$0") 2>/dev/null ||
6.866 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.867 + X"$0" : 'X\(//\)[^/]' \| \
6.868 + X"$0" : 'X\(//\)$' \| \
6.869 + X"$0" : 'X\(/\)' \| \
6.870 + . : '\(.\)' 2>/dev/null ||
6.871 +echo X"$0" |
6.872 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.873 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.874 + /^X\(\/\/\)$/{ s//\1/; q; }
6.875 + /^X\(\/\).*/{ s//\1/; q; }
6.876 + s/.*/./; q'`
6.877 + srcdir=$ac_confdir
6.878 + if test ! -r $srcdir/$ac_unique_file; then
6.879 + srcdir=..
6.880 + fi
6.881 +else
6.882 + ac_srcdir_defaulted=no
6.883 +fi
6.884 +if test ! -r $srcdir/$ac_unique_file; then
6.885 + if test "$ac_srcdir_defaulted" = yes; then
6.886 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
6.887 + { (exit 1); exit 1; }; }
6.888 + else
6.889 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6.890 + { (exit 1); exit 1; }; }
6.891 + fi
6.892 +fi
6.893 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
6.894 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
6.895 + { (exit 1); exit 1; }; }
6.896 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
6.897 +ac_env_build_alias_set=${build_alias+set}
6.898 +ac_env_build_alias_value=$build_alias
6.899 +ac_cv_env_build_alias_set=${build_alias+set}
6.900 +ac_cv_env_build_alias_value=$build_alias
6.901 +ac_env_host_alias_set=${host_alias+set}
6.902 +ac_env_host_alias_value=$host_alias
6.903 +ac_cv_env_host_alias_set=${host_alias+set}
6.904 +ac_cv_env_host_alias_value=$host_alias
6.905 +ac_env_target_alias_set=${target_alias+set}
6.906 +ac_env_target_alias_value=$target_alias
6.907 +ac_cv_env_target_alias_set=${target_alias+set}
6.908 +ac_cv_env_target_alias_value=$target_alias
6.909 +ac_env_CC_set=${CC+set}
6.910 +ac_env_CC_value=$CC
6.911 +ac_cv_env_CC_set=${CC+set}
6.912 +ac_cv_env_CC_value=$CC
6.913 +ac_env_CFLAGS_set=${CFLAGS+set}
6.914 +ac_env_CFLAGS_value=$CFLAGS
6.915 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
6.916 +ac_cv_env_CFLAGS_value=$CFLAGS
6.917 +ac_env_LDFLAGS_set=${LDFLAGS+set}
6.918 +ac_env_LDFLAGS_value=$LDFLAGS
6.919 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
6.920 +ac_cv_env_LDFLAGS_value=$LDFLAGS
6.921 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
6.922 +ac_env_CPPFLAGS_value=$CPPFLAGS
6.923 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
6.924 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
6.925 +ac_env_CPP_set=${CPP+set}
6.926 +ac_env_CPP_value=$CPP
6.927 +ac_cv_env_CPP_set=${CPP+set}
6.928 +ac_cv_env_CPP_value=$CPP
6.929 +ac_env_CXX_set=${CXX+set}
6.930 +ac_env_CXX_value=$CXX
6.931 +ac_cv_env_CXX_set=${CXX+set}
6.932 +ac_cv_env_CXX_value=$CXX
6.933 +ac_env_CXXFLAGS_set=${CXXFLAGS+set}
6.934 +ac_env_CXXFLAGS_value=$CXXFLAGS
6.935 +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
6.936 +ac_cv_env_CXXFLAGS_value=$CXXFLAGS
6.937 +ac_env_CXXCPP_set=${CXXCPP+set}
6.938 +ac_env_CXXCPP_value=$CXXCPP
6.939 +ac_cv_env_CXXCPP_set=${CXXCPP+set}
6.940 +ac_cv_env_CXXCPP_value=$CXXCPP
6.941 +ac_env_F77_set=${F77+set}
6.942 +ac_env_F77_value=$F77
6.943 +ac_cv_env_F77_set=${F77+set}
6.944 +ac_cv_env_F77_value=$F77
6.945 +ac_env_FFLAGS_set=${FFLAGS+set}
6.946 +ac_env_FFLAGS_value=$FFLAGS
6.947 +ac_cv_env_FFLAGS_set=${FFLAGS+set}
6.948 +ac_cv_env_FFLAGS_value=$FFLAGS
6.949 +ac_env_CCAS_set=${CCAS+set}
6.950 +ac_env_CCAS_value=$CCAS
6.951 +ac_cv_env_CCAS_set=${CCAS+set}
6.952 +ac_cv_env_CCAS_value=$CCAS
6.953 +ac_env_CCASFLAGS_set=${CCASFLAGS+set}
6.954 +ac_env_CCASFLAGS_value=$CCASFLAGS
6.955 +ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
6.956 +ac_cv_env_CCASFLAGS_value=$CCASFLAGS
6.957 +
6.958 +#
6.959 +# Report the --help message.
6.960 +#
6.961 +if test "$ac_init_help" = "long"; then
6.962 + # Omit some internal or obsolete options to make the list less imposing.
6.963 + # This message is too long to be a string in the A/UX 3.1 sh.
6.964 + cat <<_ACEOF
6.965 +\`configure' configures this package to adapt to many kinds of systems.
6.966 +
6.967 +Usage: $0 [OPTION]... [VAR=VALUE]...
6.968 +
6.969 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
6.970 +VAR=VALUE. See below for descriptions of some of the useful variables.
6.971 +
6.972 +Defaults for the options are specified in brackets.
6.973 +
6.974 +Configuration:
6.975 + -h, --help display this help and exit
6.976 + --help=short display options specific to this package
6.977 + --help=recursive display the short help of all the included packages
6.978 + -V, --version display version information and exit
6.979 + -q, --quiet, --silent do not print \`checking...' messages
6.980 + --cache-file=FILE cache test results in FILE [disabled]
6.981 + -C, --config-cache alias for \`--cache-file=config.cache'
6.982 + -n, --no-create do not create output files
6.983 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
6.984 +
6.985 +_ACEOF
6.986 +
6.987 + cat <<_ACEOF
6.988 +Installation directories:
6.989 + --prefix=PREFIX install architecture-independent files in PREFIX
6.990 + [$ac_default_prefix]
6.991 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
6.992 + [PREFIX]
6.993 +
6.994 +By default, \`make install' will install all the files in
6.995 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
6.996 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
6.997 +for instance \`--prefix=\$HOME'.
6.998 +
6.999 +For better control, use the options below.
6.1000 +
6.1001 +Fine tuning of the installation directories:
6.1002 + --bindir=DIR user executables [EPREFIX/bin]
6.1003 + --sbindir=DIR system admin executables [EPREFIX/sbin]
6.1004 + --libexecdir=DIR program executables [EPREFIX/libexec]
6.1005 + --datadir=DIR read-only architecture-independent data [PREFIX/share]
6.1006 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
6.1007 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
6.1008 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
6.1009 + --libdir=DIR object code libraries [EPREFIX/lib]
6.1010 + --includedir=DIR C header files [PREFIX/include]
6.1011 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
6.1012 + --infodir=DIR info documentation [PREFIX/info]
6.1013 + --mandir=DIR man documentation [PREFIX/man]
6.1014 +_ACEOF
6.1015 +
6.1016 + cat <<\_ACEOF
6.1017 +
6.1018 +Program names:
6.1019 + --program-prefix=PREFIX prepend PREFIX to installed program names
6.1020 + --program-suffix=SUFFIX append SUFFIX to installed program names
6.1021 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
6.1022 +
6.1023 +System types:
6.1024 + --build=BUILD configure for building on BUILD [guessed]
6.1025 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
6.1026 + --target=TARGET configure for building compilers for TARGET [HOST]
6.1027 +_ACEOF
6.1028 +fi
6.1029 +
6.1030 +if test -n "$ac_init_help"; then
6.1031 +
6.1032 + cat <<\_ACEOF
6.1033 +
6.1034 +Optional Features:
6.1035 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
6.1036 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
6.1037 + --enable-static@<:@=PKGS@:>@
6.1038 + build static libraries @<:@default=no@:>@
6.1039 + --enable-maintainer-mode enable make rules and dependencies not useful
6.1040 + (and sometimes confusing) to the casual installer
6.1041 + --enable-shared@<:@=PKGS@:>@
6.1042 + build shared libraries @<:@default=yes@:>@
6.1043 + --enable-fast-install@<:@=PKGS@:>@
6.1044 + optimize for fast installation @<:@default=yes@:>@
6.1045 + --disable-dependency-tracking speeds up one-time build
6.1046 + --enable-dependency-tracking do not reject slow dependency extractors
6.1047 + --disable-libtool-lock avoid locking (might break parallel builds)
6.1048 +
6.1049 +Optional Packages:
6.1050 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
6.1051 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
6.1052 + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
6.1053 + --with-pic try to use only PIC/non-PIC objects @<:@default=use
6.1054 + both@:>@
6.1055 + --with-tags@<:@=TAGS@:>@
6.1056 + include additional configurations @<:@automatic@:>@
6.1057 +
6.1058 +Some influential environment variables:
6.1059 + CC C compiler command
6.1060 + CFLAGS C compiler flags
6.1061 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
6.1062 + nonstandard directory <lib dir>
6.1063 + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
6.1064 + headers in a nonstandard directory <include dir>
6.1065 + CPP C preprocessor
6.1066 + CXX C++ compiler command
6.1067 + CXXFLAGS C++ compiler flags
6.1068 + CXXCPP C++ preprocessor
6.1069 + F77 Fortran 77 compiler command
6.1070 + FFLAGS Fortran 77 compiler flags
6.1071 + CCAS assembler compiler command (defaults to CC)
6.1072 + CCASFLAGS assembler compiler flags (defaults to CFLAGS)
6.1073 +
6.1074 +Use these variables to override the choices made by `configure' or to help
6.1075 +it to find libraries and programs with nonstandard names/locations.
6.1076 +
6.1077 +_ACEOF
6.1078 +fi
6.1079 +
6.1080 +if test "$ac_init_help" = "recursive"; then
6.1081 + # If there are subdirs, report their specific --help.
6.1082 + ac_popdir=`pwd`
6.1083 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
6.1084 + test -d $ac_dir || continue
6.1085 + ac_builddir=.
6.1086 +
6.1087 +if test "$ac_dir" != .; then
6.1088 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6.1089 + # A "../" for each directory in $ac_dir_suffix.
6.1090 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6.1091 +else
6.1092 + ac_dir_suffix= ac_top_builddir=
6.1093 +fi
6.1094 +
6.1095 +case $srcdir in
6.1096 + .) # No --srcdir option. We are building in place.
6.1097 + ac_srcdir=.
6.1098 + if test -z "$ac_top_builddir"; then
6.1099 + ac_top_srcdir=.
6.1100 + else
6.1101 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6.1102 + fi ;;
6.1103 + [\\/]* | ?:[\\/]* ) # Absolute path.
6.1104 + ac_srcdir=$srcdir$ac_dir_suffix;
6.1105 + ac_top_srcdir=$srcdir ;;
6.1106 + *) # Relative path.
6.1107 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6.1108 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
6.1109 +esac
6.1110 +
6.1111 +# Do not use `cd foo && pwd` to compute absolute paths, because
6.1112 +# the directories may not exist.
6.1113 +case `pwd` in
6.1114 +.) ac_abs_builddir="$ac_dir";;
6.1115 +*)
6.1116 + case "$ac_dir" in
6.1117 + .) ac_abs_builddir=`pwd`;;
6.1118 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6.1119 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
6.1120 + esac;;
6.1121 +esac
6.1122 +case $ac_abs_builddir in
6.1123 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
6.1124 +*)
6.1125 + case ${ac_top_builddir}. in
6.1126 + .) ac_abs_top_builddir=$ac_abs_builddir;;
6.1127 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6.1128 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6.1129 + esac;;
6.1130 +esac
6.1131 +case $ac_abs_builddir in
6.1132 +.) ac_abs_srcdir=$ac_srcdir;;
6.1133 +*)
6.1134 + case $ac_srcdir in
6.1135 + .) ac_abs_srcdir=$ac_abs_builddir;;
6.1136 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6.1137 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6.1138 + esac;;
6.1139 +esac
6.1140 +case $ac_abs_builddir in
6.1141 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
6.1142 +*)
6.1143 + case $ac_top_srcdir in
6.1144 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
6.1145 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6.1146 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6.1147 + esac;;
6.1148 +esac
6.1149 +
6.1150 + cd $ac_dir
6.1151 + # Check for guested configure; otherwise get Cygnus style configure.
6.1152 + if test -f $ac_srcdir/configure.gnu; then
6.1153 + echo
6.1154 + $SHELL $ac_srcdir/configure.gnu --help=recursive
6.1155 + elif test -f $ac_srcdir/configure; then
6.1156 + echo
6.1157 + $SHELL $ac_srcdir/configure --help=recursive
6.1158 + elif test -f $ac_srcdir/configure.ac ||
6.1159 + test -f $ac_srcdir/configure.in; then
6.1160 + echo
6.1161 + $ac_configure --help
6.1162 + else
6.1163 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
6.1164 + fi
6.1165 + cd "$ac_popdir"
6.1166 + done
6.1167 +fi
6.1168 +
6.1169 +test -n "$ac_init_help" && exit 0
6.1170 +if $ac_init_version; then
6.1171 + cat <<\_ACEOF
6.1172 +
6.1173 +Copyright (C) 2003 Free Software Foundation, Inc.
6.1174 +This configure script is free software; the Free Software Foundation
6.1175 +gives unlimited permission to copy, distribute and modify it.
6.1176 +_ACEOF
6.1177 + exit 0
6.1178 +fi
6.1179 +exec 5>config.log
6.1180 +cat >&5 <<_ACEOF
6.1181 +This file contains any messages produced by compilers while
6.1182 +running configure, to aid debugging if configure makes a mistake.
6.1183 +
6.1184 +It was created by $as_me, which was
6.1185 +generated by GNU Autoconf 2.59. Invocation command line was
6.1186 +
6.1187 + $ $0 $@
6.1188 +
6.1189 +_ACEOF
6.1190 +{
6.1191 +cat <<_ASUNAME
6.1192 +@%:@@%:@ --------- @%:@@%:@
6.1193 +@%:@@%:@ Platform. @%:@@%:@
6.1194 +@%:@@%:@ --------- @%:@@%:@
6.1195 +
6.1196 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
6.1197 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
6.1198 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
6.1199 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
6.1200 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
6.1201 +
6.1202 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
6.1203 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
6.1204 +
6.1205 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
6.1206 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
6.1207 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
6.1208 +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
6.1209 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
6.1210 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
6.1211 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
6.1212 +
6.1213 +_ASUNAME
6.1214 +
6.1215 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.1216 +for as_dir in $PATH
6.1217 +do
6.1218 + IFS=$as_save_IFS
6.1219 + test -z "$as_dir" && as_dir=.
6.1220 + echo "PATH: $as_dir"
6.1221 +done
6.1222 +
6.1223 +} >&5
6.1224 +
6.1225 +cat >&5 <<_ACEOF
6.1226 +
6.1227 +
6.1228 +@%:@@%:@ ----------- @%:@@%:@
6.1229 +@%:@@%:@ Core tests. @%:@@%:@
6.1230 +@%:@@%:@ ----------- @%:@@%:@
6.1231 +
6.1232 +_ACEOF
6.1233 +
6.1234 +
6.1235 +# Keep a trace of the command line.
6.1236 +# Strip out --no-create and --no-recursion so they do not pile up.
6.1237 +# Strip out --silent because we don't want to record it for future runs.
6.1238 +# Also quote any args containing shell meta-characters.
6.1239 +# Make two passes to allow for proper duplicate-argument suppression.
6.1240 +ac_configure_args=
6.1241 +ac_configure_args0=
6.1242 +ac_configure_args1=
6.1243 +ac_sep=
6.1244 +ac_must_keep_next=false
6.1245 +for ac_pass in 1 2
6.1246 +do
6.1247 + for ac_arg
6.1248 + do
6.1249 + case $ac_arg in
6.1250 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
6.1251 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6.1252 + | -silent | --silent | --silen | --sile | --sil)
6.1253 + continue ;;
6.1254 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6.1255 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6.1256 + esac
6.1257 + case $ac_pass in
6.1258 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
6.1259 + 2)
6.1260 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
6.1261 + if test $ac_must_keep_next = true; then
6.1262 + ac_must_keep_next=false # Got value, back to normal.
6.1263 + else
6.1264 + case $ac_arg in
6.1265 + *=* | --config-cache | -C | -disable-* | --disable-* \
6.1266 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
6.1267 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
6.1268 + | -with-* | --with-* | -without-* | --without-* | --x)
6.1269 + case "$ac_configure_args0 " in
6.1270 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
6.1271 + esac
6.1272 + ;;
6.1273 + -* ) ac_must_keep_next=true ;;
6.1274 + esac
6.1275 + fi
6.1276 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
6.1277 + # Get rid of the leading space.
6.1278 + ac_sep=" "
6.1279 + ;;
6.1280 + esac
6.1281 + done
6.1282 +done
6.1283 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
6.1284 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
6.1285 +
6.1286 +# When interrupted or exit'd, cleanup temporary files, and complete
6.1287 +# config.log. We remove comments because anyway the quotes in there
6.1288 +# would cause problems or look ugly.
6.1289 +# WARNING: Be sure not to use single quotes in there, as some shells,
6.1290 +# such as our DU 5.0 friend, will then `close' the trap.
6.1291 +trap 'exit_status=$?
6.1292 + # Save into config.log some information that might help in debugging.
6.1293 + {
6.1294 + echo
6.1295 +
6.1296 + cat <<\_ASBOX
6.1297 +@%:@@%:@ ---------------- @%:@@%:@
6.1298 +@%:@@%:@ Cache variables. @%:@@%:@
6.1299 +@%:@@%:@ ---------------- @%:@@%:@
6.1300 +_ASBOX
6.1301 + echo
6.1302 + # The following way of writing the cache mishandles newlines in values,
6.1303 +{
6.1304 + (set) 2>&1 |
6.1305 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
6.1306 + *ac_space=\ *)
6.1307 + sed -n \
6.1308 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
6.1309 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
6.1310 + ;;
6.1311 + *)
6.1312 + sed -n \
6.1313 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6.1314 + ;;
6.1315 + esac;
6.1316 +}
6.1317 + echo
6.1318 +
6.1319 + cat <<\_ASBOX
6.1320 +@%:@@%:@ ----------------- @%:@@%:@
6.1321 +@%:@@%:@ Output variables. @%:@@%:@
6.1322 +@%:@@%:@ ----------------- @%:@@%:@
6.1323 +_ASBOX
6.1324 + echo
6.1325 + for ac_var in $ac_subst_vars
6.1326 + do
6.1327 + eval ac_val=$`echo $ac_var`
6.1328 + echo "$ac_var='"'"'$ac_val'"'"'"
6.1329 + done | sort
6.1330 + echo
6.1331 +
6.1332 + if test -n "$ac_subst_files"; then
6.1333 + cat <<\_ASBOX
6.1334 +@%:@@%:@ ------------- @%:@@%:@
6.1335 +@%:@@%:@ Output files. @%:@@%:@
6.1336 +@%:@@%:@ ------------- @%:@@%:@
6.1337 +_ASBOX
6.1338 + echo
6.1339 + for ac_var in $ac_subst_files
6.1340 + do
6.1341 + eval ac_val=$`echo $ac_var`
6.1342 + echo "$ac_var='"'"'$ac_val'"'"'"
6.1343 + done | sort
6.1344 + echo
6.1345 + fi
6.1346 +
6.1347 + if test -s confdefs.h; then
6.1348 + cat <<\_ASBOX
6.1349 +@%:@@%:@ ----------- @%:@@%:@
6.1350 +@%:@@%:@ confdefs.h. @%:@@%:@
6.1351 +@%:@@%:@ ----------- @%:@@%:@
6.1352 +_ASBOX
6.1353 + echo
6.1354 + sed "/^$/d" confdefs.h | sort
6.1355 + echo
6.1356 + fi
6.1357 + test "$ac_signal" != 0 &&
6.1358 + echo "$as_me: caught signal $ac_signal"
6.1359 + echo "$as_me: exit $exit_status"
6.1360 + } >&5
6.1361 + rm -f core *.core &&
6.1362 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
6.1363 + exit $exit_status
6.1364 + ' 0
6.1365 +for ac_signal in 1 2 13 15; do
6.1366 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
6.1367 +done
6.1368 +ac_signal=0
6.1369 +
6.1370 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
6.1371 +rm -rf conftest* confdefs.h
6.1372 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
6.1373 +echo >confdefs.h
6.1374 +
6.1375 +# Predefined preprocessor variables.
6.1376 +
6.1377 +cat >>confdefs.h <<_ACEOF
6.1378 +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
6.1379 +_ACEOF
6.1380 +
6.1381 +
6.1382 +cat >>confdefs.h <<_ACEOF
6.1383 +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
6.1384 +_ACEOF
6.1385 +
6.1386 +
6.1387 +cat >>confdefs.h <<_ACEOF
6.1388 +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
6.1389 +_ACEOF
6.1390 +
6.1391 +
6.1392 +cat >>confdefs.h <<_ACEOF
6.1393 +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
6.1394 +_ACEOF
6.1395 +
6.1396 +
6.1397 +cat >>confdefs.h <<_ACEOF
6.1398 +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
6.1399 +_ACEOF
6.1400 +
6.1401 +
6.1402 +# Let the site file select an alternate cache file if it wants to.
6.1403 +# Prefer explicitly selected file to automatically selected ones.
6.1404 +if test -z "$CONFIG_SITE"; then
6.1405 + if test "x$prefix" != xNONE; then
6.1406 + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
6.1407 + else
6.1408 + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
6.1409 + fi
6.1410 +fi
6.1411 +for ac_site_file in $CONFIG_SITE; do
6.1412 + if test -r "$ac_site_file"; then
6.1413 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
6.1414 +echo "$as_me: loading site script $ac_site_file" >&6;}
6.1415 + sed 's/^/| /' "$ac_site_file" >&5
6.1416 + . "$ac_site_file"
6.1417 + fi
6.1418 +done
6.1419 +
6.1420 +if test -r "$cache_file"; then
6.1421 + # Some versions of bash will fail to source /dev/null (special
6.1422 + # files actually), so we avoid doing that.
6.1423 + if test -f "$cache_file"; then
6.1424 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6.1425 +echo "$as_me: loading cache $cache_file" >&6;}
6.1426 + case $cache_file in
6.1427 + [\\/]* | ?:[\\/]* ) . $cache_file;;
6.1428 + *) . ./$cache_file;;
6.1429 + esac
6.1430 + fi
6.1431 +else
6.1432 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6.1433 +echo "$as_me: creating cache $cache_file" >&6;}
6.1434 + >$cache_file
6.1435 +fi
6.1436 +
6.1437 +# Check that the precious variables saved in the cache have kept the same
6.1438 +# value.
6.1439 +ac_cache_corrupted=false
6.1440 +for ac_var in `(set) 2>&1 |
6.1441 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
6.1442 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
6.1443 + eval ac_new_set=\$ac_env_${ac_var}_set
6.1444 + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
6.1445 + eval ac_new_val="\$ac_env_${ac_var}_value"
6.1446 + case $ac_old_set,$ac_new_set in
6.1447 + set,)
6.1448 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
6.1449 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
6.1450 + ac_cache_corrupted=: ;;
6.1451 + ,set)
6.1452 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
6.1453 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
6.1454 + ac_cache_corrupted=: ;;
6.1455 + ,);;
6.1456 + *)
6.1457 + if test "x$ac_old_val" != "x$ac_new_val"; then
6.1458 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
6.1459 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
6.1460 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
6.1461 +echo "$as_me: former value: $ac_old_val" >&2;}
6.1462 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
6.1463 +echo "$as_me: current value: $ac_new_val" >&2;}
6.1464 + ac_cache_corrupted=:
6.1465 + fi;;
6.1466 + esac
6.1467 + # Pass precious variables to config.status.
6.1468 + if test "$ac_new_set" = set; then
6.1469 + case $ac_new_val in
6.1470 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
6.1471 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
6.1472 + *) ac_arg=$ac_var=$ac_new_val ;;
6.1473 + esac
6.1474 + case " $ac_configure_args " in
6.1475 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
6.1476 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
6.1477 + esac
6.1478 + fi
6.1479 +done
6.1480 +if $ac_cache_corrupted; then
6.1481 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
6.1482 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
6.1483 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
6.1484 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
6.1485 + { (exit 1); exit 1; }; }
6.1486 +fi
6.1487 +
6.1488 +ac_ext=c
6.1489 +ac_cpp='$CPP $CPPFLAGS'
6.1490 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.1491 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.1492 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.1493 +
6.1494 +
6.1495 +
6.1496 +
6.1497 +
6.1498 +
6.1499 +
6.1500 +
6.1501 +
6.1502 +
6.1503 +
6.1504 +
6.1505 +
6.1506 +
6.1507 +
6.1508 +
6.1509 +
6.1510 +
6.1511 +
6.1512 +ac_aux_dir=
6.1513 +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
6.1514 + if test -f $ac_dir/install-sh; then
6.1515 + ac_aux_dir=$ac_dir
6.1516 + ac_install_sh="$ac_aux_dir/install-sh -c"
6.1517 + break
6.1518 + elif test -f $ac_dir/install.sh; then
6.1519 + ac_aux_dir=$ac_dir
6.1520 + ac_install_sh="$ac_aux_dir/install.sh -c"
6.1521 + break
6.1522 + elif test -f $ac_dir/shtool; then
6.1523 + ac_aux_dir=$ac_dir
6.1524 + ac_install_sh="$ac_aux_dir/shtool install -c"
6.1525 + break
6.1526 + fi
6.1527 +done
6.1528 +if test -z "$ac_aux_dir"; then
6.1529 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
6.1530 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
6.1531 + { (exit 1); exit 1; }; }
6.1532 +fi
6.1533 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
6.1534 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
6.1535 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
6.1536 +
6.1537 +# Make sure we can run config.sub.
6.1538 +$ac_config_sub sun4 >/dev/null 2>&1 ||
6.1539 + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6.1540 +echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6.1541 + { (exit 1); exit 1; }; }
6.1542 +
6.1543 +echo "$as_me:$LINENO: checking build system type" >&5
6.1544 +echo $ECHO_N "checking build system type... $ECHO_C" >&6
6.1545 +if test "${ac_cv_build+set}" = set; then
6.1546 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.1547 +else
6.1548 + ac_cv_build_alias=$build_alias
6.1549 +test -z "$ac_cv_build_alias" &&
6.1550 + ac_cv_build_alias=`$ac_config_guess`
6.1551 +test -z "$ac_cv_build_alias" &&
6.1552 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6.1553 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6.1554 + { (exit 1); exit 1; }; }
6.1555 +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
6.1556 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
6.1557 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
6.1558 + { (exit 1); exit 1; }; }
6.1559 +
6.1560 +fi
6.1561 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6.1562 +echo "${ECHO_T}$ac_cv_build" >&6
6.1563 +build=$ac_cv_build
6.1564 +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6.1565 +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6.1566 +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6.1567 +
6.1568 +
6.1569 +echo "$as_me:$LINENO: checking host system type" >&5
6.1570 +echo $ECHO_N "checking host system type... $ECHO_C" >&6
6.1571 +if test "${ac_cv_host+set}" = set; then
6.1572 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.1573 +else
6.1574 + ac_cv_host_alias=$host_alias
6.1575 +test -z "$ac_cv_host_alias" &&
6.1576 + ac_cv_host_alias=$ac_cv_build_alias
6.1577 +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
6.1578 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
6.1579 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
6.1580 + { (exit 1); exit 1; }; }
6.1581 +
6.1582 +fi
6.1583 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6.1584 +echo "${ECHO_T}$ac_cv_host" >&6
6.1585 +host=$ac_cv_host
6.1586 +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6.1587 +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6.1588 +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6.1589 +
6.1590 +
6.1591 +echo "$as_me:$LINENO: checking target system type" >&5
6.1592 +echo $ECHO_N "checking target system type... $ECHO_C" >&6
6.1593 +if test "${ac_cv_target+set}" = set; then
6.1594 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.1595 +else
6.1596 + ac_cv_target_alias=$target_alias
6.1597 +test "x$ac_cv_target_alias" = "x" &&
6.1598 + ac_cv_target_alias=$ac_cv_host_alias
6.1599 +ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
6.1600 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
6.1601 +echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
6.1602 + { (exit 1); exit 1; }; }
6.1603 +
6.1604 +fi
6.1605 +echo "$as_me:$LINENO: result: $ac_cv_target" >&5
6.1606 +echo "${ECHO_T}$ac_cv_target" >&6
6.1607 +target=$ac_cv_target
6.1608 +target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6.1609 +target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6.1610 +target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6.1611 +
6.1612 +
6.1613 +# The aliases save the names the user supplied, while $host etc.
6.1614 +# will get canonicalized.
6.1615 +test -n "$target_alias" &&
6.1616 + test "$program_prefix$program_suffix$program_transform_name" = \
6.1617 + NONENONEs,x,x, &&
6.1618 + program_prefix=${target_alias}-
6.1619 +
6.1620 +case m4 in
6.1621 + [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;;
6.1622 + *) ac_macro_dir=$srcdir/m4 ;;
6.1623 +esac
6.1624 +if test -d "$ac_macro_dir"; then :
6.1625 +else
6.1626 + { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
6.1627 +echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
6.1628 + { (exit 1); exit 1; }; }
6.1629 +fi
6.1630 +
6.1631 +# Check whether --enable-static or --disable-static was given.
6.1632 +if test "${enable_static+set}" = set; then
6.1633 + enableval="$enable_static"
6.1634 + p=${PACKAGE-default}
6.1635 + case $enableval in
6.1636 + yes) enable_static=yes ;;
6.1637 + no) enable_static=no ;;
6.1638 + *)
6.1639 + enable_static=no
6.1640 + # Look at the argument we got. We use all the common list separators.
6.1641 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6.1642 + for pkg in $enableval; do
6.1643 + IFS="$lt_save_ifs"
6.1644 + if test "X$pkg" = "X$p"; then
6.1645 + enable_static=yes
6.1646 + fi
6.1647 + done
6.1648 + IFS="$lt_save_ifs"
6.1649 + ;;
6.1650 + esac
6.1651 +else
6.1652 + enable_static=no
6.1653 +fi;
6.1654 +
6.1655 +
6.1656 +
6.1657 +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
6.1658 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
6.1659 + # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6.1660 +if test "${enable_maintainer_mode+set}" = set; then
6.1661 + enableval="$enable_maintainer_mode"
6.1662 + USE_MAINTAINER_MODE=$enableval
6.1663 +else
6.1664 + USE_MAINTAINER_MODE=no
6.1665 +fi;
6.1666 + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
6.1667 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
6.1668 +
6.1669 +
6.1670 +if test $USE_MAINTAINER_MODE = yes; then
6.1671 + MAINTAINER_MODE_TRUE=
6.1672 + MAINTAINER_MODE_FALSE='#'
6.1673 +else
6.1674 + MAINTAINER_MODE_TRUE='#'
6.1675 + MAINTAINER_MODE_FALSE=
6.1676 +fi
6.1677 +
6.1678 + MAINT=$MAINTAINER_MODE_TRUE
6.1679 +
6.1680 +
6.1681 +
6.1682 +
6.1683 + PACKAGE=gst-plugins-nuvdemux
6.1684 + GST_PLUGINS_VERSION_MAJOR=0
6.1685 + GST_PLUGINS_VERSION_MINOR=10
6.1686 + GST_PLUGINS_VERSION_MICRO=0
6.1687 + NANO=1
6.1688 + GST_PLUGINS_VERSION_NANO=$NANO
6.1689 + if test "x$NANO" = "x" || test "x$NANO" = "x0";
6.1690 + then
6.1691 + { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for release" >&5
6.1692 +echo "$as_me: configuring gst-plugins-nuvdemux for release" >&6;}
6.1693 + VERSION=0.10.0
6.1694 + GST_PLUGINS_VERSION_RELEASE=1
6.1695 + GST_CVS="no"
6.1696 + else
6.1697 + { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for development with nano $NANO" >&5
6.1698 +echo "$as_me: configuring gst-plugins-nuvdemux for development with nano $NANO" >&6;}
6.1699 + VERSION=0.10.0.$NANO
6.1700 + GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
6.1701 + GST_CVS="yes"
6.1702 + fi
6.1703 +
6.1704 + GST_PLUGINS_VERSION=$VERSION
6.1705 +
6.1706 +cat >>confdefs.h <<_ACEOF
6.1707 +@%:@define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
6.1708 +_ACEOF
6.1709 +
6.1710 +
6.1711 +
6.1712 +cat >>confdefs.h <<_ACEOF
6.1713 +@%:@define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
6.1714 +_ACEOF
6.1715 +
6.1716 +
6.1717 +
6.1718 +
6.1719 +
6.1720 +
6.1721 +
6.1722 +
6.1723 +cat >>confdefs.h <<_ACEOF
6.1724 +@%:@define PACKAGE "$PACKAGE"
6.1725 +_ACEOF
6.1726 +
6.1727 +
6.1728 +
6.1729 +cat >>confdefs.h <<_ACEOF
6.1730 +@%:@define VERSION "$VERSION"
6.1731 +_ACEOF
6.1732 +
6.1733 +
6.1734 +
6.1735 +
6.1736 +am__api_version="1.8"
6.1737 +# Find a good install program. We prefer a C program (faster),
6.1738 +# so one script is as good as another. But avoid the broken or
6.1739 +# incompatible versions:
6.1740 +# SysV /etc/install, /usr/sbin/install
6.1741 +# SunOS /usr/etc/install
6.1742 +# IRIX /sbin/install
6.1743 +# AIX /bin/install
6.1744 +# AmigaOS /C/install, which installs bootblocks on floppy discs
6.1745 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6.1746 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
6.1747 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6.1748 +# OS/2's system install, which has a completely different semantic
6.1749 +# ./install, which can be erroneously created by make from ./install.sh.
6.1750 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6.1751 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6.1752 +if test -z "$INSTALL"; then
6.1753 +if test "${ac_cv_path_install+set}" = set; then
6.1754 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.1755 +else
6.1756 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.1757 +for as_dir in $PATH
6.1758 +do
6.1759 + IFS=$as_save_IFS
6.1760 + test -z "$as_dir" && as_dir=.
6.1761 + # Account for people who put trailing slashes in PATH elements.
6.1762 +case $as_dir/ in
6.1763 + ./ | .// | /cC/* | \
6.1764 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6.1765 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6.1766 + /usr/ucb/* ) ;;
6.1767 + *)
6.1768 + # OSF1 and SCO ODT 3.0 have their own names for install.
6.1769 + # Don't use installbsd from OSF since it installs stuff as root
6.1770 + # by default.
6.1771 + for ac_prog in ginstall scoinst install; do
6.1772 + for ac_exec_ext in '' $ac_executable_extensions; do
6.1773 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6.1774 + if test $ac_prog = install &&
6.1775 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6.1776 + # AIX install. It has an incompatible calling convention.
6.1777 + :
6.1778 + elif test $ac_prog = install &&
6.1779 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6.1780 + # program-specific install script used by HP pwplus--don't use.
6.1781 + :
6.1782 + else
6.1783 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6.1784 + break 3
6.1785 + fi
6.1786 + fi
6.1787 + done
6.1788 + done
6.1789 + ;;
6.1790 +esac
6.1791 +done
6.1792 +
6.1793 +
6.1794 +fi
6.1795 + if test "${ac_cv_path_install+set}" = set; then
6.1796 + INSTALL=$ac_cv_path_install
6.1797 + else
6.1798 + # As a last resort, use the slow shell script. We don't cache a
6.1799 + # path for INSTALL within a source directory, because that will
6.1800 + # break other packages using the cache if that directory is
6.1801 + # removed, or if the path is relative.
6.1802 + INSTALL=$ac_install_sh
6.1803 + fi
6.1804 +fi
6.1805 +echo "$as_me:$LINENO: result: $INSTALL" >&5
6.1806 +echo "${ECHO_T}$INSTALL" >&6
6.1807 +
6.1808 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6.1809 +# It thinks the first close brace ends the variable substitution.
6.1810 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6.1811 +
6.1812 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6.1813 +
6.1814 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6.1815 +
6.1816 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
6.1817 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
6.1818 +# Just in case
6.1819 +sleep 1
6.1820 +echo timestamp > conftest.file
6.1821 +# Do `set' in a subshell so we don't clobber the current shell's
6.1822 +# arguments. Must try -L first in case configure is actually a
6.1823 +# symlink; some systems play weird games with the mod time of symlinks
6.1824 +# (eg FreeBSD returns the mod time of the symlink's containing
6.1825 +# directory).
6.1826 +if (
6.1827 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
6.1828 + if test "$*" = "X"; then
6.1829 + # -L didn't work.
6.1830 + set X `ls -t $srcdir/configure conftest.file`
6.1831 + fi
6.1832 + rm -f conftest.file
6.1833 + if test "$*" != "X $srcdir/configure conftest.file" \
6.1834 + && test "$*" != "X conftest.file $srcdir/configure"; then
6.1835 +
6.1836 + # If neither matched, then we have a broken ls. This can happen
6.1837 + # if, for instance, CONFIG_SHELL is bash and it inherits a
6.1838 + # broken ls alias from the environment. This has actually
6.1839 + # happened. Such a system could not be considered "sane".
6.1840 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
6.1841 +alias in your environment" >&5
6.1842 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
6.1843 +alias in your environment" >&2;}
6.1844 + { (exit 1); exit 1; }; }
6.1845 + fi
6.1846 +
6.1847 + test "$2" = conftest.file
6.1848 + )
6.1849 +then
6.1850 + # Ok.
6.1851 + :
6.1852 +else
6.1853 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
6.1854 +Check your system clock" >&5
6.1855 +echo "$as_me: error: newly created file is older than distributed files!
6.1856 +Check your system clock" >&2;}
6.1857 + { (exit 1); exit 1; }; }
6.1858 +fi
6.1859 +echo "$as_me:$LINENO: result: yes" >&5
6.1860 +echo "${ECHO_T}yes" >&6
6.1861 +test "$program_prefix" != NONE &&
6.1862 + program_transform_name="s,^,$program_prefix,;$program_transform_name"
6.1863 +# Use a double $ so make ignores it.
6.1864 +test "$program_suffix" != NONE &&
6.1865 + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
6.1866 +# Double any \ or $. echo might interpret backslashes.
6.1867 +# By default was `s,x,x', remove it if useless.
6.1868 +cat <<\_ACEOF >conftest.sed
6.1869 +s/[\\$]/&&/g;s/;s,x,x,$//
6.1870 +_ACEOF
6.1871 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
6.1872 +rm conftest.sed
6.1873 +
6.1874 +# expand $ac_aux_dir to an absolute path
6.1875 +am_aux_dir=`cd $ac_aux_dir && pwd`
6.1876 +
6.1877 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
6.1878 +# Use eval to expand $SHELL
6.1879 +if eval "$MISSING --run true"; then
6.1880 + am_missing_run="$MISSING --run "
6.1881 +else
6.1882 + am_missing_run=
6.1883 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
6.1884 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
6.1885 +fi
6.1886 +
6.1887 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
6.1888 + # Keeping the `.' argument allows $(mkdir_p) to be used without
6.1889 + # argument. Indeed, we sometimes output rules like
6.1890 + # $(mkdir_p) $(somedir)
6.1891 + # where $(somedir) is conditionally defined.
6.1892 + # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
6.1893 + # expensive solution, as it forces Make to start a sub-shell.)
6.1894 + mkdir_p='mkdir -p -- .'
6.1895 +else
6.1896 + # On NextStep and OpenStep, the `mkdir' command does not
6.1897 + # recognize any option. It will interpret all options as
6.1898 + # directories to create, and then abort because `.' already
6.1899 + # exists.
6.1900 + for d in ./-p ./--version;
6.1901 + do
6.1902 + test -d $d && rmdir $d
6.1903 + done
6.1904 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
6.1905 + if test -f "$ac_aux_dir/mkinstalldirs"; then
6.1906 + mkdir_p='$(mkinstalldirs)'
6.1907 + else
6.1908 + mkdir_p='$(install_sh) -d'
6.1909 + fi
6.1910 +fi
6.1911 +
6.1912 +for ac_prog in gawk mawk nawk awk
6.1913 +do
6.1914 + # Extract the first word of "$ac_prog", so it can be a program name with args.
6.1915 +set dummy $ac_prog; ac_word=$2
6.1916 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.1917 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.1918 +if test "${ac_cv_prog_AWK+set}" = set; then
6.1919 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.1920 +else
6.1921 + if test -n "$AWK"; then
6.1922 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
6.1923 +else
6.1924 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.1925 +for as_dir in $PATH
6.1926 +do
6.1927 + IFS=$as_save_IFS
6.1928 + test -z "$as_dir" && as_dir=.
6.1929 + for ac_exec_ext in '' $ac_executable_extensions; do
6.1930 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.1931 + ac_cv_prog_AWK="$ac_prog"
6.1932 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.1933 + break 2
6.1934 + fi
6.1935 +done
6.1936 +done
6.1937 +
6.1938 +fi
6.1939 +fi
6.1940 +AWK=$ac_cv_prog_AWK
6.1941 +if test -n "$AWK"; then
6.1942 + echo "$as_me:$LINENO: result: $AWK" >&5
6.1943 +echo "${ECHO_T}$AWK" >&6
6.1944 +else
6.1945 + echo "$as_me:$LINENO: result: no" >&5
6.1946 +echo "${ECHO_T}no" >&6
6.1947 +fi
6.1948 +
6.1949 + test -n "$AWK" && break
6.1950 +done
6.1951 +
6.1952 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6.1953 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6.1954 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6.1955 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6.1956 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.1957 +else
6.1958 + cat >conftest.make <<\_ACEOF
6.1959 +all:
6.1960 + @echo 'ac_maketemp="$(MAKE)"'
6.1961 +_ACEOF
6.1962 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6.1963 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6.1964 +if test -n "$ac_maketemp"; then
6.1965 + eval ac_cv_prog_make_${ac_make}_set=yes
6.1966 +else
6.1967 + eval ac_cv_prog_make_${ac_make}_set=no
6.1968 +fi
6.1969 +rm -f conftest.make
6.1970 +fi
6.1971 +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6.1972 + echo "$as_me:$LINENO: result: yes" >&5
6.1973 +echo "${ECHO_T}yes" >&6
6.1974 + SET_MAKE=
6.1975 +else
6.1976 + echo "$as_me:$LINENO: result: no" >&5
6.1977 +echo "${ECHO_T}no" >&6
6.1978 + SET_MAKE="MAKE=${MAKE-make}"
6.1979 +fi
6.1980 +
6.1981 +rm -rf .tst 2>/dev/null
6.1982 +mkdir .tst 2>/dev/null
6.1983 +if test -d .tst; then
6.1984 + am__leading_dot=.
6.1985 +else
6.1986 + am__leading_dot=_
6.1987 +fi
6.1988 +rmdir .tst 2>/dev/null
6.1989 +
6.1990 +# test to see if srcdir already configured
6.1991 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
6.1992 + test -f $srcdir/config.status; then
6.1993 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
6.1994 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
6.1995 + { (exit 1); exit 1; }; }
6.1996 +fi
6.1997 +
6.1998 +# test whether we have cygpath
6.1999 +if test -z "$CYGPATH_W"; then
6.2000 + if (cygpath --version) >/dev/null 2>/dev/null; then
6.2001 + CYGPATH_W='cygpath -w'
6.2002 + else
6.2003 + CYGPATH_W=echo
6.2004 + fi
6.2005 +fi
6.2006 +
6.2007 +
6.2008 +# Define the identity of the package.
6.2009 + PACKAGE=$PACKAGE
6.2010 + VERSION=$VERSION
6.2011 +
6.2012 +
6.2013 +cat >>confdefs.h <<_ACEOF
6.2014 +@%:@define PACKAGE "$PACKAGE"
6.2015 +_ACEOF
6.2016 +
6.2017 +
6.2018 +cat >>confdefs.h <<_ACEOF
6.2019 +@%:@define VERSION "$VERSION"
6.2020 +_ACEOF
6.2021 +
6.2022 +# Some tools Automake needs.
6.2023 +
6.2024 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6.2025 +
6.2026 +
6.2027 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
6.2028 +
6.2029 +
6.2030 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6.2031 +
6.2032 +
6.2033 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
6.2034 +
6.2035 +
6.2036 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
6.2037 +
6.2038 +
6.2039 +AMTAR=${AMTAR-"${am_missing_run}tar"}
6.2040 +
6.2041 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
6.2042 +
6.2043 +# Installed binaries are usually stripped using `strip' when the user
6.2044 +# run `make install-strip'. However `strip' might not be the right
6.2045 +# tool to use in cross-compilation environments, therefore Automake
6.2046 +# will honor the `STRIP' environment variable to overrule this program.
6.2047 +if test "$cross_compiling" != no; then
6.2048 + if test -n "$ac_tool_prefix"; then
6.2049 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6.2050 +set dummy ${ac_tool_prefix}strip; ac_word=$2
6.2051 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2052 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2053 +if test "${ac_cv_prog_STRIP+set}" = set; then
6.2054 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2055 +else
6.2056 + if test -n "$STRIP"; then
6.2057 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6.2058 +else
6.2059 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2060 +for as_dir in $PATH
6.2061 +do
6.2062 + IFS=$as_save_IFS
6.2063 + test -z "$as_dir" && as_dir=.
6.2064 + for ac_exec_ext in '' $ac_executable_extensions; do
6.2065 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2066 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6.2067 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2068 + break 2
6.2069 + fi
6.2070 +done
6.2071 +done
6.2072 +
6.2073 +fi
6.2074 +fi
6.2075 +STRIP=$ac_cv_prog_STRIP
6.2076 +if test -n "$STRIP"; then
6.2077 + echo "$as_me:$LINENO: result: $STRIP" >&5
6.2078 +echo "${ECHO_T}$STRIP" >&6
6.2079 +else
6.2080 + echo "$as_me:$LINENO: result: no" >&5
6.2081 +echo "${ECHO_T}no" >&6
6.2082 +fi
6.2083 +
6.2084 +fi
6.2085 +if test -z "$ac_cv_prog_STRIP"; then
6.2086 + ac_ct_STRIP=$STRIP
6.2087 + # Extract the first word of "strip", so it can be a program name with args.
6.2088 +set dummy strip; ac_word=$2
6.2089 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2090 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2091 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6.2092 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2093 +else
6.2094 + if test -n "$ac_ct_STRIP"; then
6.2095 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6.2096 +else
6.2097 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2098 +for as_dir in $PATH
6.2099 +do
6.2100 + IFS=$as_save_IFS
6.2101 + test -z "$as_dir" && as_dir=.
6.2102 + for ac_exec_ext in '' $ac_executable_extensions; do
6.2103 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2104 + ac_cv_prog_ac_ct_STRIP="strip"
6.2105 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2106 + break 2
6.2107 + fi
6.2108 +done
6.2109 +done
6.2110 +
6.2111 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6.2112 +fi
6.2113 +fi
6.2114 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6.2115 +if test -n "$ac_ct_STRIP"; then
6.2116 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6.2117 +echo "${ECHO_T}$ac_ct_STRIP" >&6
6.2118 +else
6.2119 + echo "$as_me:$LINENO: result: no" >&5
6.2120 +echo "${ECHO_T}no" >&6
6.2121 +fi
6.2122 +
6.2123 + STRIP=$ac_ct_STRIP
6.2124 +else
6.2125 + STRIP="$ac_cv_prog_STRIP"
6.2126 +fi
6.2127 +
6.2128 +fi
6.2129 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
6.2130 +
6.2131 +# We need awk for the "check" target. The system "awk" is bad on
6.2132 +# some platforms.
6.2133 +
6.2134 +
6.2135 +
6.2136 +
6.2137 +# Check whether --enable-shared or --disable-shared was given.
6.2138 +if test "${enable_shared+set}" = set; then
6.2139 + enableval="$enable_shared"
6.2140 + p=${PACKAGE-default}
6.2141 + case $enableval in
6.2142 + yes) enable_shared=yes ;;
6.2143 + no) enable_shared=no ;;
6.2144 + *)
6.2145 + enable_shared=no
6.2146 + # Look at the argument we got. We use all the common list separators.
6.2147 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6.2148 + for pkg in $enableval; do
6.2149 + IFS="$lt_save_ifs"
6.2150 + if test "X$pkg" = "X$p"; then
6.2151 + enable_shared=yes
6.2152 + fi
6.2153 + done
6.2154 + IFS="$lt_save_ifs"
6.2155 + ;;
6.2156 + esac
6.2157 +else
6.2158 + enable_shared=yes
6.2159 +fi;
6.2160 +
6.2161 +# Check whether --enable-fast-install or --disable-fast-install was given.
6.2162 +if test "${enable_fast_install+set}" = set; then
6.2163 + enableval="$enable_fast_install"
6.2164 + p=${PACKAGE-default}
6.2165 + case $enableval in
6.2166 + yes) enable_fast_install=yes ;;
6.2167 + no) enable_fast_install=no ;;
6.2168 + *)
6.2169 + enable_fast_install=no
6.2170 + # Look at the argument we got. We use all the common list separators.
6.2171 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6.2172 + for pkg in $enableval; do
6.2173 + IFS="$lt_save_ifs"
6.2174 + if test "X$pkg" = "X$p"; then
6.2175 + enable_fast_install=yes
6.2176 + fi
6.2177 + done
6.2178 + IFS="$lt_save_ifs"
6.2179 + ;;
6.2180 + esac
6.2181 +else
6.2182 + enable_fast_install=yes
6.2183 +fi;
6.2184 +
6.2185 +DEPDIR="${am__leading_dot}deps"
6.2186 +
6.2187 + ac_config_commands="$ac_config_commands depfiles"
6.2188 +
6.2189 +
6.2190 +am_make=${MAKE-make}
6.2191 +cat > confinc << 'END'
6.2192 +am__doit:
6.2193 + @echo done
6.2194 +.PHONY: am__doit
6.2195 +END
6.2196 +# If we don't find an include directive, just comment out the code.
6.2197 +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
6.2198 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
6.2199 +am__include="#"
6.2200 +am__quote=
6.2201 +_am_result=none
6.2202 +# First try GNU make style include.
6.2203 +echo "include confinc" > confmf
6.2204 +# We grep out `Entering directory' and `Leaving directory'
6.2205 +# messages which can occur if `w' ends up in MAKEFLAGS.
6.2206 +# In particular we don't look at `^make:' because GNU make might
6.2207 +# be invoked under some other name (usually "gmake"), in which
6.2208 +# case it prints its new name instead of `make'.
6.2209 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
6.2210 + am__include=include
6.2211 + am__quote=
6.2212 + _am_result=GNU
6.2213 +fi
6.2214 +# Now try BSD make style include.
6.2215 +if test "$am__include" = "#"; then
6.2216 + echo '.include "confinc"' > confmf
6.2217 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
6.2218 + am__include=.include
6.2219 + am__quote="\""
6.2220 + _am_result=BSD
6.2221 + fi
6.2222 +fi
6.2223 +
6.2224 +
6.2225 +echo "$as_me:$LINENO: result: $_am_result" >&5
6.2226 +echo "${ECHO_T}$_am_result" >&6
6.2227 +rm -f confinc confmf
6.2228 +
6.2229 +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
6.2230 +if test "${enable_dependency_tracking+set}" = set; then
6.2231 + enableval="$enable_dependency_tracking"
6.2232 +
6.2233 +fi;
6.2234 +if test "x$enable_dependency_tracking" != xno; then
6.2235 + am_depcomp="$ac_aux_dir/depcomp"
6.2236 + AMDEPBACKSLASH='\'
6.2237 +fi
6.2238 +
6.2239 +
6.2240 +if test "x$enable_dependency_tracking" != xno; then
6.2241 + AMDEP_TRUE=
6.2242 + AMDEP_FALSE='#'
6.2243 +else
6.2244 + AMDEP_TRUE='#'
6.2245 + AMDEP_FALSE=
6.2246 +fi
6.2247 +
6.2248 +
6.2249 +
6.2250 +ac_ext=c
6.2251 +ac_cpp='$CPP $CPPFLAGS'
6.2252 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.2253 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.2254 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.2255 +if test -n "$ac_tool_prefix"; then
6.2256 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6.2257 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
6.2258 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2259 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2260 +if test "${ac_cv_prog_CC+set}" = set; then
6.2261 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2262 +else
6.2263 + if test -n "$CC"; then
6.2264 + ac_cv_prog_CC="$CC" # Let the user override the test.
6.2265 +else
6.2266 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2267 +for as_dir in $PATH
6.2268 +do
6.2269 + IFS=$as_save_IFS
6.2270 + test -z "$as_dir" && as_dir=.
6.2271 + for ac_exec_ext in '' $ac_executable_extensions; do
6.2272 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2273 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
6.2274 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2275 + break 2
6.2276 + fi
6.2277 +done
6.2278 +done
6.2279 +
6.2280 +fi
6.2281 +fi
6.2282 +CC=$ac_cv_prog_CC
6.2283 +if test -n "$CC"; then
6.2284 + echo "$as_me:$LINENO: result: $CC" >&5
6.2285 +echo "${ECHO_T}$CC" >&6
6.2286 +else
6.2287 + echo "$as_me:$LINENO: result: no" >&5
6.2288 +echo "${ECHO_T}no" >&6
6.2289 +fi
6.2290 +
6.2291 +fi
6.2292 +if test -z "$ac_cv_prog_CC"; then
6.2293 + ac_ct_CC=$CC
6.2294 + # Extract the first word of "gcc", so it can be a program name with args.
6.2295 +set dummy gcc; ac_word=$2
6.2296 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2297 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2298 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.2299 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2300 +else
6.2301 + if test -n "$ac_ct_CC"; then
6.2302 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.2303 +else
6.2304 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2305 +for as_dir in $PATH
6.2306 +do
6.2307 + IFS=$as_save_IFS
6.2308 + test -z "$as_dir" && as_dir=.
6.2309 + for ac_exec_ext in '' $ac_executable_extensions; do
6.2310 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2311 + ac_cv_prog_ac_ct_CC="gcc"
6.2312 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2313 + break 2
6.2314 + fi
6.2315 +done
6.2316 +done
6.2317 +
6.2318 +fi
6.2319 +fi
6.2320 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.2321 +if test -n "$ac_ct_CC"; then
6.2322 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.2323 +echo "${ECHO_T}$ac_ct_CC" >&6
6.2324 +else
6.2325 + echo "$as_me:$LINENO: result: no" >&5
6.2326 +echo "${ECHO_T}no" >&6
6.2327 +fi
6.2328 +
6.2329 + CC=$ac_ct_CC
6.2330 +else
6.2331 + CC="$ac_cv_prog_CC"
6.2332 +fi
6.2333 +
6.2334 +if test -z "$CC"; then
6.2335 + if test -n "$ac_tool_prefix"; then
6.2336 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6.2337 +set dummy ${ac_tool_prefix}cc; ac_word=$2
6.2338 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2339 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2340 +if test "${ac_cv_prog_CC+set}" = set; then
6.2341 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2342 +else
6.2343 + if test -n "$CC"; then
6.2344 + ac_cv_prog_CC="$CC" # Let the user override the test.
6.2345 +else
6.2346 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2347 +for as_dir in $PATH
6.2348 +do
6.2349 + IFS=$as_save_IFS
6.2350 + test -z "$as_dir" && as_dir=.
6.2351 + for ac_exec_ext in '' $ac_executable_extensions; do
6.2352 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2353 + ac_cv_prog_CC="${ac_tool_prefix}cc"
6.2354 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2355 + break 2
6.2356 + fi
6.2357 +done
6.2358 +done
6.2359 +
6.2360 +fi
6.2361 +fi
6.2362 +CC=$ac_cv_prog_CC
6.2363 +if test -n "$CC"; then
6.2364 + echo "$as_me:$LINENO: result: $CC" >&5
6.2365 +echo "${ECHO_T}$CC" >&6
6.2366 +else
6.2367 + echo "$as_me:$LINENO: result: no" >&5
6.2368 +echo "${ECHO_T}no" >&6
6.2369 +fi
6.2370 +
6.2371 +fi
6.2372 +if test -z "$ac_cv_prog_CC"; then
6.2373 + ac_ct_CC=$CC
6.2374 + # Extract the first word of "cc", so it can be a program name with args.
6.2375 +set dummy cc; ac_word=$2
6.2376 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2377 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2378 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.2379 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2380 +else
6.2381 + if test -n "$ac_ct_CC"; then
6.2382 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.2383 +else
6.2384 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2385 +for as_dir in $PATH
6.2386 +do
6.2387 + IFS=$as_save_IFS
6.2388 + test -z "$as_dir" && as_dir=.
6.2389 + for ac_exec_ext in '' $ac_executable_extensions; do
6.2390 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2391 + ac_cv_prog_ac_ct_CC="cc"
6.2392 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2393 + break 2
6.2394 + fi
6.2395 +done
6.2396 +done
6.2397 +
6.2398 +fi
6.2399 +fi
6.2400 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.2401 +if test -n "$ac_ct_CC"; then
6.2402 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.2403 +echo "${ECHO_T}$ac_ct_CC" >&6
6.2404 +else
6.2405 + echo "$as_me:$LINENO: result: no" >&5
6.2406 +echo "${ECHO_T}no" >&6
6.2407 +fi
6.2408 +
6.2409 + CC=$ac_ct_CC
6.2410 +else
6.2411 + CC="$ac_cv_prog_CC"
6.2412 +fi
6.2413 +
6.2414 +fi
6.2415 +if test -z "$CC"; then
6.2416 + # Extract the first word of "cc", so it can be a program name with args.
6.2417 +set dummy cc; ac_word=$2
6.2418 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2419 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2420 +if test "${ac_cv_prog_CC+set}" = set; then
6.2421 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2422 +else
6.2423 + if test -n "$CC"; then
6.2424 + ac_cv_prog_CC="$CC" # Let the user override the test.
6.2425 +else
6.2426 + ac_prog_rejected=no
6.2427 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2428 +for as_dir in $PATH
6.2429 +do
6.2430 + IFS=$as_save_IFS
6.2431 + test -z "$as_dir" && as_dir=.
6.2432 + for ac_exec_ext in '' $ac_executable_extensions; do
6.2433 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2434 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6.2435 + ac_prog_rejected=yes
6.2436 + continue
6.2437 + fi
6.2438 + ac_cv_prog_CC="cc"
6.2439 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2440 + break 2
6.2441 + fi
6.2442 +done
6.2443 +done
6.2444 +
6.2445 +if test $ac_prog_rejected = yes; then
6.2446 + # We found a bogon in the path, so make sure we never use it.
6.2447 + set dummy $ac_cv_prog_CC
6.2448 + shift
6.2449 + if test $@%:@ != 0; then
6.2450 + # We chose a different compiler from the bogus one.
6.2451 + # However, it has the same basename, so the bogon will be chosen
6.2452 + # first if we set CC to just the basename; use the full file name.
6.2453 + shift
6.2454 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6.2455 + fi
6.2456 +fi
6.2457 +fi
6.2458 +fi
6.2459 +CC=$ac_cv_prog_CC
6.2460 +if test -n "$CC"; then
6.2461 + echo "$as_me:$LINENO: result: $CC" >&5
6.2462 +echo "${ECHO_T}$CC" >&6
6.2463 +else
6.2464 + echo "$as_me:$LINENO: result: no" >&5
6.2465 +echo "${ECHO_T}no" >&6
6.2466 +fi
6.2467 +
6.2468 +fi
6.2469 +if test -z "$CC"; then
6.2470 + if test -n "$ac_tool_prefix"; then
6.2471 + for ac_prog in cl
6.2472 + do
6.2473 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6.2474 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6.2475 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2476 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2477 +if test "${ac_cv_prog_CC+set}" = set; then
6.2478 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2479 +else
6.2480 + if test -n "$CC"; then
6.2481 + ac_cv_prog_CC="$CC" # Let the user override the test.
6.2482 +else
6.2483 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2484 +for as_dir in $PATH
6.2485 +do
6.2486 + IFS=$as_save_IFS
6.2487 + test -z "$as_dir" && as_dir=.
6.2488 + for ac_exec_ext in '' $ac_executable_extensions; do
6.2489 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2490 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6.2491 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2492 + break 2
6.2493 + fi
6.2494 +done
6.2495 +done
6.2496 +
6.2497 +fi
6.2498 +fi
6.2499 +CC=$ac_cv_prog_CC
6.2500 +if test -n "$CC"; then
6.2501 + echo "$as_me:$LINENO: result: $CC" >&5
6.2502 +echo "${ECHO_T}$CC" >&6
6.2503 +else
6.2504 + echo "$as_me:$LINENO: result: no" >&5
6.2505 +echo "${ECHO_T}no" >&6
6.2506 +fi
6.2507 +
6.2508 + test -n "$CC" && break
6.2509 + done
6.2510 +fi
6.2511 +if test -z "$CC"; then
6.2512 + ac_ct_CC=$CC
6.2513 + for ac_prog in cl
6.2514 +do
6.2515 + # Extract the first word of "$ac_prog", so it can be a program name with args.
6.2516 +set dummy $ac_prog; ac_word=$2
6.2517 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.2518 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.2519 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.2520 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2521 +else
6.2522 + if test -n "$ac_ct_CC"; then
6.2523 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.2524 +else
6.2525 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.2526 +for as_dir in $PATH
6.2527 +do
6.2528 + IFS=$as_save_IFS
6.2529 + test -z "$as_dir" && as_dir=.
6.2530 + for ac_exec_ext in '' $ac_executable_extensions; do
6.2531 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.2532 + ac_cv_prog_ac_ct_CC="$ac_prog"
6.2533 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.2534 + break 2
6.2535 + fi
6.2536 +done
6.2537 +done
6.2538 +
6.2539 +fi
6.2540 +fi
6.2541 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.2542 +if test -n "$ac_ct_CC"; then
6.2543 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.2544 +echo "${ECHO_T}$ac_ct_CC" >&6
6.2545 +else
6.2546 + echo "$as_me:$LINENO: result: no" >&5
6.2547 +echo "${ECHO_T}no" >&6
6.2548 +fi
6.2549 +
6.2550 + test -n "$ac_ct_CC" && break
6.2551 +done
6.2552 +
6.2553 + CC=$ac_ct_CC
6.2554 +fi
6.2555 +
6.2556 +fi
6.2557 +
6.2558 +
6.2559 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6.2560 +See \`config.log' for more details." >&5
6.2561 +echo "$as_me: error: no acceptable C compiler found in \$PATH
6.2562 +See \`config.log' for more details." >&2;}
6.2563 + { (exit 1); exit 1; }; }
6.2564 +
6.2565 +# Provide some information about the compiler.
6.2566 +echo "$as_me:$LINENO:" \
6.2567 + "checking for C compiler version" >&5
6.2568 +ac_compiler=`set X $ac_compile; echo $2`
6.2569 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6.2570 + (eval $ac_compiler --version </dev/null >&5) 2>&5
6.2571 + ac_status=$?
6.2572 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2573 + (exit $ac_status); }
6.2574 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6.2575 + (eval $ac_compiler -v </dev/null >&5) 2>&5
6.2576 + ac_status=$?
6.2577 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2578 + (exit $ac_status); }
6.2579 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6.2580 + (eval $ac_compiler -V </dev/null >&5) 2>&5
6.2581 + ac_status=$?
6.2582 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2583 + (exit $ac_status); }
6.2584 +
6.2585 +cat >conftest.$ac_ext <<_ACEOF
6.2586 +/* confdefs.h. */
6.2587 +_ACEOF
6.2588 +cat confdefs.h >>conftest.$ac_ext
6.2589 +cat >>conftest.$ac_ext <<_ACEOF
6.2590 +/* end confdefs.h. */
6.2591 +
6.2592 +int
6.2593 +main ()
6.2594 +{
6.2595 +
6.2596 + ;
6.2597 + return 0;
6.2598 +}
6.2599 +_ACEOF
6.2600 +ac_clean_files_save=$ac_clean_files
6.2601 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
6.2602 +# Try to create an executable without -o first, disregard a.out.
6.2603 +# It will help us diagnose broken compilers, and finding out an intuition
6.2604 +# of exeext.
6.2605 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
6.2606 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
6.2607 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
6.2608 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
6.2609 + (eval $ac_link_default) 2>&5
6.2610 + ac_status=$?
6.2611 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2612 + (exit $ac_status); }; then
6.2613 + # Find the output, starting from the most likely. This scheme is
6.2614 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
6.2615 +# resort.
6.2616 +
6.2617 +# Be careful to initialize this variable, since it used to be cached.
6.2618 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
6.2619 +ac_cv_exeext=
6.2620 +# b.out is created by i960 compilers.
6.2621 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
6.2622 +do
6.2623 + test -f "$ac_file" || continue
6.2624 + case $ac_file in
6.2625 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
6.2626 + ;;
6.2627 + conftest.$ac_ext )
6.2628 + # This is the source file.
6.2629 + ;;
6.2630 + [ab].out )
6.2631 + # We found the default executable, but exeext='' is most
6.2632 + # certainly right.
6.2633 + break;;
6.2634 + *.* )
6.2635 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6.2636 + # FIXME: I believe we export ac_cv_exeext for Libtool,
6.2637 + # but it would be cool to find out if it's true. Does anybody
6.2638 + # maintain Libtool? --akim.
6.2639 + export ac_cv_exeext
6.2640 + break;;
6.2641 + * )
6.2642 + break;;
6.2643 + esac
6.2644 +done
6.2645 +else
6.2646 + echo "$as_me: failed program was:" >&5
6.2647 +sed 's/^/| /' conftest.$ac_ext >&5
6.2648 +
6.2649 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
6.2650 +See \`config.log' for more details." >&5
6.2651 +echo "$as_me: error: C compiler cannot create executables
6.2652 +See \`config.log' for more details." >&2;}
6.2653 + { (exit 77); exit 77; }; }
6.2654 +fi
6.2655 +
6.2656 +ac_exeext=$ac_cv_exeext
6.2657 +echo "$as_me:$LINENO: result: $ac_file" >&5
6.2658 +echo "${ECHO_T}$ac_file" >&6
6.2659 +
6.2660 +# Check the compiler produces executables we can run. If not, either
6.2661 +# the compiler is broken, or we cross compile.
6.2662 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
6.2663 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
6.2664 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
6.2665 +# If not cross compiling, check that we can run a simple program.
6.2666 +if test "$cross_compiling" != yes; then
6.2667 + if { ac_try='./$ac_file'
6.2668 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2669 + (eval $ac_try) 2>&5
6.2670 + ac_status=$?
6.2671 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2672 + (exit $ac_status); }; }; then
6.2673 + cross_compiling=no
6.2674 + else
6.2675 + if test "$cross_compiling" = maybe; then
6.2676 + cross_compiling=yes
6.2677 + else
6.2678 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
6.2679 +If you meant to cross compile, use \`--host'.
6.2680 +See \`config.log' for more details." >&5
6.2681 +echo "$as_me: error: cannot run C compiled programs.
6.2682 +If you meant to cross compile, use \`--host'.
6.2683 +See \`config.log' for more details." >&2;}
6.2684 + { (exit 1); exit 1; }; }
6.2685 + fi
6.2686 + fi
6.2687 +fi
6.2688 +echo "$as_me:$LINENO: result: yes" >&5
6.2689 +echo "${ECHO_T}yes" >&6
6.2690 +
6.2691 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
6.2692 +ac_clean_files=$ac_clean_files_save
6.2693 +# Check the compiler produces executables we can run. If not, either
6.2694 +# the compiler is broken, or we cross compile.
6.2695 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
6.2696 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
6.2697 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
6.2698 +echo "${ECHO_T}$cross_compiling" >&6
6.2699 +
6.2700 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
6.2701 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
6.2702 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.2703 + (eval $ac_link) 2>&5
6.2704 + ac_status=$?
6.2705 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2706 + (exit $ac_status); }; then
6.2707 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
6.2708 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
6.2709 +# work properly (i.e., refer to `conftest.exe'), while it won't with
6.2710 +# `rm'.
6.2711 +for ac_file in conftest.exe conftest conftest.*; do
6.2712 + test -f "$ac_file" || continue
6.2713 + case $ac_file in
6.2714 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
6.2715 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6.2716 + export ac_cv_exeext
6.2717 + break;;
6.2718 + * ) break;;
6.2719 + esac
6.2720 +done
6.2721 +else
6.2722 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
6.2723 +See \`config.log' for more details." >&5
6.2724 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
6.2725 +See \`config.log' for more details." >&2;}
6.2726 + { (exit 1); exit 1; }; }
6.2727 +fi
6.2728 +
6.2729 +rm -f conftest$ac_cv_exeext
6.2730 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
6.2731 +echo "${ECHO_T}$ac_cv_exeext" >&6
6.2732 +
6.2733 +rm -f conftest.$ac_ext
6.2734 +EXEEXT=$ac_cv_exeext
6.2735 +ac_exeext=$EXEEXT
6.2736 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
6.2737 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
6.2738 +if test "${ac_cv_objext+set}" = set; then
6.2739 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2740 +else
6.2741 + cat >conftest.$ac_ext <<_ACEOF
6.2742 +/* confdefs.h. */
6.2743 +_ACEOF
6.2744 +cat confdefs.h >>conftest.$ac_ext
6.2745 +cat >>conftest.$ac_ext <<_ACEOF
6.2746 +/* end confdefs.h. */
6.2747 +
6.2748 +int
6.2749 +main ()
6.2750 +{
6.2751 +
6.2752 + ;
6.2753 + return 0;
6.2754 +}
6.2755 +_ACEOF
6.2756 +rm -f conftest.o conftest.obj
6.2757 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.2758 + (eval $ac_compile) 2>&5
6.2759 + ac_status=$?
6.2760 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2761 + (exit $ac_status); }; then
6.2762 + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
6.2763 + case $ac_file in
6.2764 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
6.2765 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
6.2766 + break;;
6.2767 + esac
6.2768 +done
6.2769 +else
6.2770 + echo "$as_me: failed program was:" >&5
6.2771 +sed 's/^/| /' conftest.$ac_ext >&5
6.2772 +
6.2773 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
6.2774 +See \`config.log' for more details." >&5
6.2775 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
6.2776 +See \`config.log' for more details." >&2;}
6.2777 + { (exit 1); exit 1; }; }
6.2778 +fi
6.2779 +
6.2780 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
6.2781 +fi
6.2782 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
6.2783 +echo "${ECHO_T}$ac_cv_objext" >&6
6.2784 +OBJEXT=$ac_cv_objext
6.2785 +ac_objext=$OBJEXT
6.2786 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6.2787 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6.2788 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
6.2789 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2790 +else
6.2791 + cat >conftest.$ac_ext <<_ACEOF
6.2792 +/* confdefs.h. */
6.2793 +_ACEOF
6.2794 +cat confdefs.h >>conftest.$ac_ext
6.2795 +cat >>conftest.$ac_ext <<_ACEOF
6.2796 +/* end confdefs.h. */
6.2797 +
6.2798 +int
6.2799 +main ()
6.2800 +{
6.2801 +#ifndef __GNUC__
6.2802 + choke me
6.2803 +#endif
6.2804 +
6.2805 + ;
6.2806 + return 0;
6.2807 +}
6.2808 +_ACEOF
6.2809 +rm -f conftest.$ac_objext
6.2810 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.2811 + (eval $ac_compile) 2>conftest.er1
6.2812 + ac_status=$?
6.2813 + grep -v '^ *+' conftest.er1 >conftest.err
6.2814 + rm -f conftest.er1
6.2815 + cat conftest.err >&5
6.2816 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2817 + (exit $ac_status); } &&
6.2818 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.2819 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2820 + (eval $ac_try) 2>&5
6.2821 + ac_status=$?
6.2822 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2823 + (exit $ac_status); }; } &&
6.2824 + { ac_try='test -s conftest.$ac_objext'
6.2825 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2826 + (eval $ac_try) 2>&5
6.2827 + ac_status=$?
6.2828 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2829 + (exit $ac_status); }; }; then
6.2830 + ac_compiler_gnu=yes
6.2831 +else
6.2832 + echo "$as_me: failed program was:" >&5
6.2833 +sed 's/^/| /' conftest.$ac_ext >&5
6.2834 +
6.2835 +ac_compiler_gnu=no
6.2836 +fi
6.2837 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.2838 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
6.2839 +
6.2840 +fi
6.2841 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6.2842 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6.2843 +GCC=`test $ac_compiler_gnu = yes && echo yes`
6.2844 +ac_test_CFLAGS=${CFLAGS+set}
6.2845 +ac_save_CFLAGS=$CFLAGS
6.2846 +CFLAGS="-g"
6.2847 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6.2848 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6.2849 +if test "${ac_cv_prog_cc_g+set}" = set; then
6.2850 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2851 +else
6.2852 + cat >conftest.$ac_ext <<_ACEOF
6.2853 +/* confdefs.h. */
6.2854 +_ACEOF
6.2855 +cat confdefs.h >>conftest.$ac_ext
6.2856 +cat >>conftest.$ac_ext <<_ACEOF
6.2857 +/* end confdefs.h. */
6.2858 +
6.2859 +int
6.2860 +main ()
6.2861 +{
6.2862 +
6.2863 + ;
6.2864 + return 0;
6.2865 +}
6.2866 +_ACEOF
6.2867 +rm -f conftest.$ac_objext
6.2868 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.2869 + (eval $ac_compile) 2>conftest.er1
6.2870 + ac_status=$?
6.2871 + grep -v '^ *+' conftest.er1 >conftest.err
6.2872 + rm -f conftest.er1
6.2873 + cat conftest.err >&5
6.2874 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2875 + (exit $ac_status); } &&
6.2876 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.2877 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2878 + (eval $ac_try) 2>&5
6.2879 + ac_status=$?
6.2880 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2881 + (exit $ac_status); }; } &&
6.2882 + { ac_try='test -s conftest.$ac_objext'
6.2883 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2884 + (eval $ac_try) 2>&5
6.2885 + ac_status=$?
6.2886 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2887 + (exit $ac_status); }; }; then
6.2888 + ac_cv_prog_cc_g=yes
6.2889 +else
6.2890 + echo "$as_me: failed program was:" >&5
6.2891 +sed 's/^/| /' conftest.$ac_ext >&5
6.2892 +
6.2893 +ac_cv_prog_cc_g=no
6.2894 +fi
6.2895 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.2896 +fi
6.2897 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6.2898 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6.2899 +if test "$ac_test_CFLAGS" = set; then
6.2900 + CFLAGS=$ac_save_CFLAGS
6.2901 +elif test $ac_cv_prog_cc_g = yes; then
6.2902 + if test "$GCC" = yes; then
6.2903 + CFLAGS="-g -O2"
6.2904 + else
6.2905 + CFLAGS="-g"
6.2906 + fi
6.2907 +else
6.2908 + if test "$GCC" = yes; then
6.2909 + CFLAGS="-O2"
6.2910 + else
6.2911 + CFLAGS=
6.2912 + fi
6.2913 +fi
6.2914 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6.2915 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6.2916 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
6.2917 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.2918 +else
6.2919 + ac_cv_prog_cc_stdc=no
6.2920 +ac_save_CC=$CC
6.2921 +cat >conftest.$ac_ext <<_ACEOF
6.2922 +/* confdefs.h. */
6.2923 +_ACEOF
6.2924 +cat confdefs.h >>conftest.$ac_ext
6.2925 +cat >>conftest.$ac_ext <<_ACEOF
6.2926 +/* end confdefs.h. */
6.2927 +#include <stdarg.h>
6.2928 +#include <stdio.h>
6.2929 +#include <sys/types.h>
6.2930 +#include <sys/stat.h>
6.2931 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6.2932 +struct buf { int x; };
6.2933 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
6.2934 +static char *e (p, i)
6.2935 + char **p;
6.2936 + int i;
6.2937 +{
6.2938 + return p[i];
6.2939 +}
6.2940 +static char *f (char * (*g) (char **, int), char **p, ...)
6.2941 +{
6.2942 + char *s;
6.2943 + va_list v;
6.2944 + va_start (v,p);
6.2945 + s = g (p, va_arg (v,int));
6.2946 + va_end (v);
6.2947 + return s;
6.2948 +}
6.2949 +
6.2950 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6.2951 + function prototypes and stuff, but not '\xHH' hex character constants.
6.2952 + These don't provoke an error unfortunately, instead are silently treated
6.2953 + as 'x'. The following induces an error, until -std1 is added to get
6.2954 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6.2955 + array size at least. It's necessary to write '\x00'==0 to get something
6.2956 + that's true only with -std1. */
6.2957 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6.2958 +
6.2959 +int test (int i, double x);
6.2960 +struct s1 {int (*f) (int a);};
6.2961 +struct s2 {int (*f) (double a);};
6.2962 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6.2963 +int argc;
6.2964 +char **argv;
6.2965 +int
6.2966 +main ()
6.2967 +{
6.2968 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6.2969 + ;
6.2970 + return 0;
6.2971 +}
6.2972 +_ACEOF
6.2973 +# Don't try gcc -ansi; that turns off useful extensions and
6.2974 +# breaks some systems' header files.
6.2975 +# AIX -qlanglvl=ansi
6.2976 +# Ultrix and OSF/1 -std1
6.2977 +# HP-UX 10.20 and later -Ae
6.2978 +# HP-UX older versions -Aa -D_HPUX_SOURCE
6.2979 +# SVR4 -Xc -D__EXTENSIONS__
6.2980 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6.2981 +do
6.2982 + CC="$ac_save_CC $ac_arg"
6.2983 + rm -f conftest.$ac_objext
6.2984 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.2985 + (eval $ac_compile) 2>conftest.er1
6.2986 + ac_status=$?
6.2987 + grep -v '^ *+' conftest.er1 >conftest.err
6.2988 + rm -f conftest.er1
6.2989 + cat conftest.err >&5
6.2990 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2991 + (exit $ac_status); } &&
6.2992 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.2993 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.2994 + (eval $ac_try) 2>&5
6.2995 + ac_status=$?
6.2996 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.2997 + (exit $ac_status); }; } &&
6.2998 + { ac_try='test -s conftest.$ac_objext'
6.2999 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3000 + (eval $ac_try) 2>&5
6.3001 + ac_status=$?
6.3002 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3003 + (exit $ac_status); }; }; then
6.3004 + ac_cv_prog_cc_stdc=$ac_arg
6.3005 +break
6.3006 +else
6.3007 + echo "$as_me: failed program was:" >&5
6.3008 +sed 's/^/| /' conftest.$ac_ext >&5
6.3009 +
6.3010 +fi
6.3011 +rm -f conftest.err conftest.$ac_objext
6.3012 +done
6.3013 +rm -f conftest.$ac_ext conftest.$ac_objext
6.3014 +CC=$ac_save_CC
6.3015 +
6.3016 +fi
6.3017 +
6.3018 +case "x$ac_cv_prog_cc_stdc" in
6.3019 + x|xno)
6.3020 + echo "$as_me:$LINENO: result: none needed" >&5
6.3021 +echo "${ECHO_T}none needed" >&6 ;;
6.3022 + *)
6.3023 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6.3024 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6.3025 + CC="$CC $ac_cv_prog_cc_stdc" ;;
6.3026 +esac
6.3027 +
6.3028 +# Some people use a C++ compiler to compile C. Since we use `exit',
6.3029 +# in C++ we need to declare it. In case someone uses the same compiler
6.3030 +# for both compiling C and C++ we need to have the C++ compiler decide
6.3031 +# the declaration of exit, since it's the most demanding environment.
6.3032 +cat >conftest.$ac_ext <<_ACEOF
6.3033 +@%:@ifndef __cplusplus
6.3034 + choke me
6.3035 +@%:@endif
6.3036 +_ACEOF
6.3037 +rm -f conftest.$ac_objext
6.3038 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3039 + (eval $ac_compile) 2>conftest.er1
6.3040 + ac_status=$?
6.3041 + grep -v '^ *+' conftest.er1 >conftest.err
6.3042 + rm -f conftest.er1
6.3043 + cat conftest.err >&5
6.3044 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3045 + (exit $ac_status); } &&
6.3046 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.3047 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3048 + (eval $ac_try) 2>&5
6.3049 + ac_status=$?
6.3050 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3051 + (exit $ac_status); }; } &&
6.3052 + { ac_try='test -s conftest.$ac_objext'
6.3053 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3054 + (eval $ac_try) 2>&5
6.3055 + ac_status=$?
6.3056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3057 + (exit $ac_status); }; }; then
6.3058 + for ac_declaration in \
6.3059 + '' \
6.3060 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
6.3061 + 'extern "C" void std::exit (int); using std::exit;' \
6.3062 + 'extern "C" void exit (int) throw ();' \
6.3063 + 'extern "C" void exit (int);' \
6.3064 + 'void exit (int);'
6.3065 +do
6.3066 + cat >conftest.$ac_ext <<_ACEOF
6.3067 +/* confdefs.h. */
6.3068 +_ACEOF
6.3069 +cat confdefs.h >>conftest.$ac_ext
6.3070 +cat >>conftest.$ac_ext <<_ACEOF
6.3071 +/* end confdefs.h. */
6.3072 +$ac_declaration
6.3073 +@%:@include <stdlib.h>
6.3074 +int
6.3075 +main ()
6.3076 +{
6.3077 +exit (42);
6.3078 + ;
6.3079 + return 0;
6.3080 +}
6.3081 +_ACEOF
6.3082 +rm -f conftest.$ac_objext
6.3083 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3084 + (eval $ac_compile) 2>conftest.er1
6.3085 + ac_status=$?
6.3086 + grep -v '^ *+' conftest.er1 >conftest.err
6.3087 + rm -f conftest.er1
6.3088 + cat conftest.err >&5
6.3089 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3090 + (exit $ac_status); } &&
6.3091 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.3092 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3093 + (eval $ac_try) 2>&5
6.3094 + ac_status=$?
6.3095 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3096 + (exit $ac_status); }; } &&
6.3097 + { ac_try='test -s conftest.$ac_objext'
6.3098 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3099 + (eval $ac_try) 2>&5
6.3100 + ac_status=$?
6.3101 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3102 + (exit $ac_status); }; }; then
6.3103 + :
6.3104 +else
6.3105 + echo "$as_me: failed program was:" >&5
6.3106 +sed 's/^/| /' conftest.$ac_ext >&5
6.3107 +
6.3108 +continue
6.3109 +fi
6.3110 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.3111 + cat >conftest.$ac_ext <<_ACEOF
6.3112 +/* confdefs.h. */
6.3113 +_ACEOF
6.3114 +cat confdefs.h >>conftest.$ac_ext
6.3115 +cat >>conftest.$ac_ext <<_ACEOF
6.3116 +/* end confdefs.h. */
6.3117 +$ac_declaration
6.3118 +int
6.3119 +main ()
6.3120 +{
6.3121 +exit (42);
6.3122 + ;
6.3123 + return 0;
6.3124 +}
6.3125 +_ACEOF
6.3126 +rm -f conftest.$ac_objext
6.3127 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3128 + (eval $ac_compile) 2>conftest.er1
6.3129 + ac_status=$?
6.3130 + grep -v '^ *+' conftest.er1 >conftest.err
6.3131 + rm -f conftest.er1
6.3132 + cat conftest.err >&5
6.3133 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3134 + (exit $ac_status); } &&
6.3135 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.3136 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3137 + (eval $ac_try) 2>&5
6.3138 + ac_status=$?
6.3139 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3140 + (exit $ac_status); }; } &&
6.3141 + { ac_try='test -s conftest.$ac_objext'
6.3142 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3143 + (eval $ac_try) 2>&5
6.3144 + ac_status=$?
6.3145 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3146 + (exit $ac_status); }; }; then
6.3147 + break
6.3148 +else
6.3149 + echo "$as_me: failed program was:" >&5
6.3150 +sed 's/^/| /' conftest.$ac_ext >&5
6.3151 +
6.3152 +fi
6.3153 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.3154 +done
6.3155 +rm -f conftest*
6.3156 +if test -n "$ac_declaration"; then
6.3157 + echo '#ifdef __cplusplus' >>confdefs.h
6.3158 + echo $ac_declaration >>confdefs.h
6.3159 + echo '#endif' >>confdefs.h
6.3160 +fi
6.3161 +
6.3162 +else
6.3163 + echo "$as_me: failed program was:" >&5
6.3164 +sed 's/^/| /' conftest.$ac_ext >&5
6.3165 +
6.3166 +fi
6.3167 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.3168 +ac_ext=c
6.3169 +ac_cpp='$CPP $CPPFLAGS'
6.3170 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.3171 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.3172 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.3173 +
6.3174 +depcc="$CC" am_compiler_list=
6.3175 +
6.3176 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6.3177 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6.3178 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6.3179 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.3180 +else
6.3181 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6.3182 + # We make a subdir and do the tests there. Otherwise we can end up
6.3183 + # making bogus files that we don't know about and never remove. For
6.3184 + # instance it was reported that on HP-UX the gcc test will end up
6.3185 + # making a dummy file named `D' -- because `-MD' means `put the output
6.3186 + # in D'.
6.3187 + mkdir conftest.dir
6.3188 + # Copy depcomp to subdir because otherwise we won't find it if we're
6.3189 + # using a relative directory.
6.3190 + cp "$am_depcomp" conftest.dir
6.3191 + cd conftest.dir
6.3192 + # We will build objects and dependencies in a subdirectory because
6.3193 + # it helps to detect inapplicable dependency modes. For instance
6.3194 + # both Tru64's cc and ICC support -MD to output dependencies as a
6.3195 + # side effect of compilation, but ICC will put the dependencies in
6.3196 + # the current directory while Tru64 will put them in the object
6.3197 + # directory.
6.3198 + mkdir sub
6.3199 +
6.3200 + am_cv_CC_dependencies_compiler_type=none
6.3201 + if test "$am_compiler_list" = ""; then
6.3202 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6.3203 + fi
6.3204 + for depmode in $am_compiler_list; do
6.3205 + # Setup a source with many dependencies, because some compilers
6.3206 + # like to wrap large dependency lists on column 80 (with \), and
6.3207 + # we should not choose a depcomp mode which is confused by this.
6.3208 + #
6.3209 + # We need to recreate these files for each test, as the compiler may
6.3210 + # overwrite some of them when testing with obscure command lines.
6.3211 + # This happens at least with the AIX C compiler.
6.3212 + : > sub/conftest.c
6.3213 + for i in 1 2 3 4 5 6; do
6.3214 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
6.3215 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6.3216 + # Solaris 8's {/usr,}/bin/sh.
6.3217 + touch sub/conftst$i.h
6.3218 + done
6.3219 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6.3220 +
6.3221 + case $depmode in
6.3222 + nosideeffect)
6.3223 + # after this tag, mechanisms are not by side-effect, so they'll
6.3224 + # only be used when explicitly requested
6.3225 + if test "x$enable_dependency_tracking" = xyes; then
6.3226 + continue
6.3227 + else
6.3228 + break
6.3229 + fi
6.3230 + ;;
6.3231 + none) break ;;
6.3232 + esac
6.3233 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
6.3234 + # mode. It turns out that the SunPro C++ compiler does not properly
6.3235 + # handle `-M -o', and we need to detect this.
6.3236 + if depmode=$depmode \
6.3237 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6.3238 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6.3239 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6.3240 + >/dev/null 2>conftest.err &&
6.3241 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6.3242 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6.3243 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6.3244 + # icc doesn't choke on unknown options, it will just issue warnings
6.3245 + # or remarks (even with -Werror). So we grep stderr for any message
6.3246 + # that says an option was ignored or not supported.
6.3247 + # When given -MP, icc 7.0 and 7.1 complain thusly:
6.3248 + # icc: Command line warning: ignoring option '-M'; no argument required
6.3249 + # The diagnosis changed in icc 8.0:
6.3250 + # icc: Command line remark: option '-MP' not supported
6.3251 + if (grep 'ignoring option' conftest.err ||
6.3252 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6.3253 + am_cv_CC_dependencies_compiler_type=$depmode
6.3254 + break
6.3255 + fi
6.3256 + fi
6.3257 + done
6.3258 +
6.3259 + cd ..
6.3260 + rm -rf conftest.dir
6.3261 +else
6.3262 + am_cv_CC_dependencies_compiler_type=none
6.3263 +fi
6.3264 +
6.3265 +fi
6.3266 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6.3267 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6.3268 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6.3269 +
6.3270 +
6.3271 +
6.3272 +if
6.3273 + test "x$enable_dependency_tracking" != xno \
6.3274 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6.3275 + am__fastdepCC_TRUE=
6.3276 + am__fastdepCC_FALSE='#'
6.3277 +else
6.3278 + am__fastdepCC_TRUE='#'
6.3279 + am__fastdepCC_FALSE=
6.3280 +fi
6.3281 +
6.3282 +
6.3283 +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6.3284 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
6.3285 +if test "${lt_cv_path_SED+set}" = set; then
6.3286 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.3287 +else
6.3288 + # Loop through the user's path and test for sed and gsed.
6.3289 +# Then use that list of sed's as ones to test for truncation.
6.3290 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.3291 +for as_dir in $PATH
6.3292 +do
6.3293 + IFS=$as_save_IFS
6.3294 + test -z "$as_dir" && as_dir=.
6.3295 + for lt_ac_prog in sed gsed; do
6.3296 + for ac_exec_ext in '' $ac_executable_extensions; do
6.3297 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
6.3298 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6.3299 + fi
6.3300 + done
6.3301 + done
6.3302 +done
6.3303 +lt_ac_max=0
6.3304 +lt_ac_count=0
6.3305 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6.3306 +# along with /bin/sed that truncates output.
6.3307 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6.3308 + test ! -f $lt_ac_sed && continue
6.3309 + cat /dev/null > conftest.in
6.3310 + lt_ac_count=0
6.3311 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6.3312 + # Check for GNU sed and select it if it is found.
6.3313 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6.3314 + lt_cv_path_SED=$lt_ac_sed
6.3315 + break
6.3316 + fi
6.3317 + while true; do
6.3318 + cat conftest.in conftest.in >conftest.tmp
6.3319 + mv conftest.tmp conftest.in
6.3320 + cp conftest.in conftest.nl
6.3321 + echo >>conftest.nl
6.3322 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6.3323 + cmp -s conftest.out conftest.nl || break
6.3324 + # 10000 chars as input seems more than enough
6.3325 + test $lt_ac_count -gt 10 && break
6.3326 + lt_ac_count=`expr $lt_ac_count + 1`
6.3327 + if test $lt_ac_count -gt $lt_ac_max; then
6.3328 + lt_ac_max=$lt_ac_count
6.3329 + lt_cv_path_SED=$lt_ac_sed
6.3330 + fi
6.3331 + done
6.3332 +done
6.3333 +
6.3334 +fi
6.3335 +
6.3336 +SED=$lt_cv_path_SED
6.3337 +echo "$as_me:$LINENO: result: $SED" >&5
6.3338 +echo "${ECHO_T}$SED" >&6
6.3339 +
6.3340 +echo "$as_me:$LINENO: checking for egrep" >&5
6.3341 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6.3342 +if test "${ac_cv_prog_egrep+set}" = set; then
6.3343 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.3344 +else
6.3345 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6.3346 + then ac_cv_prog_egrep='grep -E'
6.3347 + else ac_cv_prog_egrep='egrep'
6.3348 + fi
6.3349 +fi
6.3350 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6.3351 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6.3352 + EGREP=$ac_cv_prog_egrep
6.3353 +
6.3354 +
6.3355 +
6.3356 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
6.3357 +if test "${with_gnu_ld+set}" = set; then
6.3358 + withval="$with_gnu_ld"
6.3359 + test "$withval" = no || with_gnu_ld=yes
6.3360 +else
6.3361 + with_gnu_ld=no
6.3362 +fi;
6.3363 +ac_prog=ld
6.3364 +if test "$GCC" = yes; then
6.3365 + # Check if gcc -print-prog-name=ld gives a path.
6.3366 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6.3367 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
6.3368 + case $host in
6.3369 + *-*-mingw*)
6.3370 + # gcc leaves a trailing carriage return which upsets mingw
6.3371 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6.3372 + *)
6.3373 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6.3374 + esac
6.3375 + case $ac_prog in
6.3376 + # Accept absolute paths.
6.3377 + [\\/]* | ?:[\\/]*)
6.3378 + re_direlt='/[^/][^/]*/\.\./'
6.3379 + # Canonicalize the pathname of ld
6.3380 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6.3381 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6.3382 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6.3383 + done
6.3384 + test -z "$LD" && LD="$ac_prog"
6.3385 + ;;
6.3386 + "")
6.3387 + # If it fails, then pretend we aren't using GCC.
6.3388 + ac_prog=ld
6.3389 + ;;
6.3390 + *)
6.3391 + # If it is relative, then search for the first ld in PATH.
6.3392 + with_gnu_ld=unknown
6.3393 + ;;
6.3394 + esac
6.3395 +elif test "$with_gnu_ld" = yes; then
6.3396 + echo "$as_me:$LINENO: checking for GNU ld" >&5
6.3397 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6.3398 +else
6.3399 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6.3400 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6.3401 +fi
6.3402 +if test "${lt_cv_path_LD+set}" = set; then
6.3403 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.3404 +else
6.3405 + if test -z "$LD"; then
6.3406 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.3407 + for ac_dir in $PATH; do
6.3408 + IFS="$lt_save_ifs"
6.3409 + test -z "$ac_dir" && ac_dir=.
6.3410 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6.3411 + lt_cv_path_LD="$ac_dir/$ac_prog"
6.3412 + # Check to see if the program is GNU ld. I'd rather use --version,
6.3413 + # but apparently some variants of GNU ld only accept -v.
6.3414 + # Break only if it was the GNU/non-GNU ld that we prefer.
6.3415 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6.3416 + *GNU* | *'with BFD'*)
6.3417 + test "$with_gnu_ld" != no && break
6.3418 + ;;
6.3419 + *)
6.3420 + test "$with_gnu_ld" != yes && break
6.3421 + ;;
6.3422 + esac
6.3423 + fi
6.3424 + done
6.3425 + IFS="$lt_save_ifs"
6.3426 +else
6.3427 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
6.3428 +fi
6.3429 +fi
6.3430 +
6.3431 +LD="$lt_cv_path_LD"
6.3432 +if test -n "$LD"; then
6.3433 + echo "$as_me:$LINENO: result: $LD" >&5
6.3434 +echo "${ECHO_T}$LD" >&6
6.3435 +else
6.3436 + echo "$as_me:$LINENO: result: no" >&5
6.3437 +echo "${ECHO_T}no" >&6
6.3438 +fi
6.3439 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6.3440 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6.3441 + { (exit 1); exit 1; }; }
6.3442 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6.3443 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6.3444 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
6.3445 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.3446 +else
6.3447 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
6.3448 +case `$LD -v 2>&1 </dev/null` in
6.3449 +*GNU* | *'with BFD'*)
6.3450 + lt_cv_prog_gnu_ld=yes
6.3451 + ;;
6.3452 +*)
6.3453 + lt_cv_prog_gnu_ld=no
6.3454 + ;;
6.3455 +esac
6.3456 +fi
6.3457 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6.3458 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
6.3459 +with_gnu_ld=$lt_cv_prog_gnu_ld
6.3460 +
6.3461 +
6.3462 +echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6.3463 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
6.3464 +if test "${lt_cv_ld_reload_flag+set}" = set; then
6.3465 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.3466 +else
6.3467 + lt_cv_ld_reload_flag='-r'
6.3468 +fi
6.3469 +echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6.3470 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6.3471 +reload_flag=$lt_cv_ld_reload_flag
6.3472 +case $reload_flag in
6.3473 +"" | " "*) ;;
6.3474 +*) reload_flag=" $reload_flag" ;;
6.3475 +esac
6.3476 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
6.3477 +case $host_os in
6.3478 + darwin*)
6.3479 + if test "$GCC" = yes; then
6.3480 + reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
6.3481 + else
6.3482 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
6.3483 + fi
6.3484 + ;;
6.3485 +esac
6.3486 +
6.3487 +echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6.3488 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
6.3489 +if test "${lt_cv_path_NM+set}" = set; then
6.3490 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.3491 +else
6.3492 + if test -n "$NM"; then
6.3493 + # Let the user override the test.
6.3494 + lt_cv_path_NM="$NM"
6.3495 +else
6.3496 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.3497 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
6.3498 + IFS="$lt_save_ifs"
6.3499 + test -z "$ac_dir" && ac_dir=.
6.3500 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
6.3501 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6.3502 + # Check to see if the nm accepts a BSD-compat flag.
6.3503 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6.3504 + # nm: unknown option "B" ignored
6.3505 + # Tru64's nm complains that /dev/null is an invalid object file
6.3506 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6.3507 + */dev/null* | *'Invalid file or object type'*)
6.3508 + lt_cv_path_NM="$tmp_nm -B"
6.3509 + break
6.3510 + ;;
6.3511 + *)
6.3512 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6.3513 + */dev/null*)
6.3514 + lt_cv_path_NM="$tmp_nm -p"
6.3515 + break
6.3516 + ;;
6.3517 + *)
6.3518 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6.3519 + continue # so that we can try to find one that supports BSD flags
6.3520 + ;;
6.3521 + esac
6.3522 + esac
6.3523 + fi
6.3524 + done
6.3525 + IFS="$lt_save_ifs"
6.3526 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6.3527 +fi
6.3528 +fi
6.3529 +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6.3530 +echo "${ECHO_T}$lt_cv_path_NM" >&6
6.3531 +NM="$lt_cv_path_NM"
6.3532 +
6.3533 +echo "$as_me:$LINENO: checking whether ln -s works" >&5
6.3534 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6.3535 +LN_S=$as_ln_s
6.3536 +if test "$LN_S" = "ln -s"; then
6.3537 + echo "$as_me:$LINENO: result: yes" >&5
6.3538 +echo "${ECHO_T}yes" >&6
6.3539 +else
6.3540 + echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6.3541 +echo "${ECHO_T}no, using $LN_S" >&6
6.3542 +fi
6.3543 +
6.3544 +echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
6.3545 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
6.3546 +if test "${lt_cv_deplibs_check_method+set}" = set; then
6.3547 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.3548 +else
6.3549 + lt_cv_file_magic_cmd='$MAGIC_CMD'
6.3550 +lt_cv_file_magic_test_file=
6.3551 +lt_cv_deplibs_check_method='unknown'
6.3552 +# Need to set the preceding variable on all platforms that support
6.3553 +# interlibrary dependencies.
6.3554 +# 'none' -- dependencies not supported.
6.3555 +# `unknown' -- same as none, but documents that we really don't know.
6.3556 +# 'pass_all' -- all dependencies passed with no checks.
6.3557 +# 'test_compile' -- check by making test program.
6.3558 +# 'file_magic [[regex]]' -- check by looking for files in library path
6.3559 +# which responds to the $file_magic_cmd with a given extended regex.
6.3560 +# If you have `file' or equivalent on your system and you're not sure
6.3561 +# whether `pass_all' will *always* work, you probably want this one.
6.3562 +
6.3563 +case $host_os in
6.3564 +aix4* | aix5*)
6.3565 + lt_cv_deplibs_check_method=pass_all
6.3566 + ;;
6.3567 +
6.3568 +beos*)
6.3569 + lt_cv_deplibs_check_method=pass_all
6.3570 + ;;
6.3571 +
6.3572 +bsdi[45]*)
6.3573 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6.3574 + lt_cv_file_magic_cmd='/usr/bin/file -L'
6.3575 + lt_cv_file_magic_test_file=/shlib/libc.so
6.3576 + ;;
6.3577 +
6.3578 +cygwin*)
6.3579 + # func_win32_libid is a shell function defined in ltmain.sh
6.3580 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6.3581 + lt_cv_file_magic_cmd='func_win32_libid'
6.3582 + ;;
6.3583 +
6.3584 +mingw* | pw32*)
6.3585 + # Base MSYS/MinGW do not provide the 'file' command needed by
6.3586 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6.3587 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6.3588 + lt_cv_file_magic_cmd='$OBJDUMP -f'
6.3589 + ;;
6.3590 +
6.3591 +darwin* | rhapsody*)
6.3592 + lt_cv_deplibs_check_method=pass_all
6.3593 + ;;
6.3594 +
6.3595 +freebsd* | kfreebsd*-gnu | dragonfly*)
6.3596 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6.3597 + case $host_cpu in
6.3598 + i*86 )
6.3599 + # Not sure whether the presence of OpenBSD here was a mistake.
6.3600 + # Let's accept both of them until this is cleared up.
6.3601 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6.3602 + lt_cv_file_magic_cmd=/usr/bin/file
6.3603 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6.3604 + ;;
6.3605 + esac
6.3606 + else
6.3607 + lt_cv_deplibs_check_method=pass_all
6.3608 + fi
6.3609 + ;;
6.3610 +
6.3611 +gnu*)
6.3612 + lt_cv_deplibs_check_method=pass_all
6.3613 + ;;
6.3614 +
6.3615 +hpux10.20* | hpux11*)
6.3616 + lt_cv_file_magic_cmd=/usr/bin/file
6.3617 + case $host_cpu in
6.3618 + ia64*)
6.3619 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6.3620 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6.3621 + ;;
6.3622 + hppa*64*)
6.3623 + 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]'
6.3624 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6.3625 + ;;
6.3626 + *)
6.3627 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6.3628 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
6.3629 + ;;
6.3630 + esac
6.3631 + ;;
6.3632 +
6.3633 +irix5* | irix6* | nonstopux*)
6.3634 + case $LD in
6.3635 + *-32|*"-32 ") libmagic=32-bit;;
6.3636 + *-n32|*"-n32 ") libmagic=N32;;
6.3637 + *-64|*"-64 ") libmagic=64-bit;;
6.3638 + *) libmagic=never-match;;
6.3639 + esac
6.3640 + lt_cv_deplibs_check_method=pass_all
6.3641 + ;;
6.3642 +
6.3643 +# This must be Linux ELF.
6.3644 +linux*)
6.3645 + lt_cv_deplibs_check_method=pass_all
6.3646 + ;;
6.3647 +
6.3648 +netbsd*)
6.3649 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6.3650 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6.3651 + else
6.3652 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6.3653 + fi
6.3654 + ;;
6.3655 +
6.3656 +newos6*)
6.3657 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6.3658 + lt_cv_file_magic_cmd=/usr/bin/file
6.3659 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
6.3660 + ;;
6.3661 +
6.3662 +nto-qnx*)
6.3663 + lt_cv_deplibs_check_method=unknown
6.3664 + ;;
6.3665 +
6.3666 +openbsd*)
6.3667 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.3668 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6.3669 + else
6.3670 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6.3671 + fi
6.3672 + ;;
6.3673 +
6.3674 +osf3* | osf4* | osf5*)
6.3675 + lt_cv_deplibs_check_method=pass_all
6.3676 + ;;
6.3677 +
6.3678 +sco3.2v5*)
6.3679 + lt_cv_deplibs_check_method=pass_all
6.3680 + ;;
6.3681 +
6.3682 +solaris*)
6.3683 + lt_cv_deplibs_check_method=pass_all
6.3684 + ;;
6.3685 +
6.3686 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.3687 + case $host_vendor in
6.3688 + motorola)
6.3689 + 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]'
6.3690 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6.3691 + ;;
6.3692 + ncr)
6.3693 + lt_cv_deplibs_check_method=pass_all
6.3694 + ;;
6.3695 + sequent)
6.3696 + lt_cv_file_magic_cmd='/bin/file'
6.3697 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6.3698 + ;;
6.3699 + sni)
6.3700 + lt_cv_file_magic_cmd='/bin/file'
6.3701 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6.3702 + lt_cv_file_magic_test_file=/lib/libc.so
6.3703 + ;;
6.3704 + siemens)
6.3705 + lt_cv_deplibs_check_method=pass_all
6.3706 + ;;
6.3707 + esac
6.3708 + ;;
6.3709 +
6.3710 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
6.3711 + lt_cv_deplibs_check_method=pass_all
6.3712 + ;;
6.3713 +esac
6.3714 +
6.3715 +fi
6.3716 +echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6.3717 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6.3718 +file_magic_cmd=$lt_cv_file_magic_cmd
6.3719 +deplibs_check_method=$lt_cv_deplibs_check_method
6.3720 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
6.3721 +
6.3722 +
6.3723 +
6.3724 +
6.3725 +# If no C compiler was specified, use CC.
6.3726 +LTCC=${LTCC-"$CC"}
6.3727 +
6.3728 +# Allow CC to be a program name with arguments.
6.3729 +compiler=$CC
6.3730 +
6.3731 +
6.3732 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6.3733 +if test "${enable_libtool_lock+set}" = set; then
6.3734 + enableval="$enable_libtool_lock"
6.3735 +
6.3736 +fi;
6.3737 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6.3738 +
6.3739 +# Some flags need to be propagated to the compiler or linker for good
6.3740 +# libtool support.
6.3741 +case $host in
6.3742 +ia64-*-hpux*)
6.3743 + # Find out which ABI we are using.
6.3744 + echo 'int i;' > conftest.$ac_ext
6.3745 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3746 + (eval $ac_compile) 2>&5
6.3747 + ac_status=$?
6.3748 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3749 + (exit $ac_status); }; then
6.3750 + case `/usr/bin/file conftest.$ac_objext` in
6.3751 + *ELF-32*)
6.3752 + HPUX_IA64_MODE="32"
6.3753 + ;;
6.3754 + *ELF-64*)
6.3755 + HPUX_IA64_MODE="64"
6.3756 + ;;
6.3757 + esac
6.3758 + fi
6.3759 + rm -rf conftest*
6.3760 + ;;
6.3761 +*-*-irix6*)
6.3762 + # Find out which ABI we are using.
6.3763 + echo '#line __oline__ "configure"' > conftest.$ac_ext
6.3764 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3765 + (eval $ac_compile) 2>&5
6.3766 + ac_status=$?
6.3767 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3768 + (exit $ac_status); }; then
6.3769 + if test "$lt_cv_prog_gnu_ld" = yes; then
6.3770 + case `/usr/bin/file conftest.$ac_objext` in
6.3771 + *32-bit*)
6.3772 + LD="${LD-ld} -melf32bsmip"
6.3773 + ;;
6.3774 + *N32*)
6.3775 + LD="${LD-ld} -melf32bmipn32"
6.3776 + ;;
6.3777 + *64-bit*)
6.3778 + LD="${LD-ld} -melf64bmip"
6.3779 + ;;
6.3780 + esac
6.3781 + else
6.3782 + case `/usr/bin/file conftest.$ac_objext` in
6.3783 + *32-bit*)
6.3784 + LD="${LD-ld} -32"
6.3785 + ;;
6.3786 + *N32*)
6.3787 + LD="${LD-ld} -n32"
6.3788 + ;;
6.3789 + *64-bit*)
6.3790 + LD="${LD-ld} -64"
6.3791 + ;;
6.3792 + esac
6.3793 + fi
6.3794 + fi
6.3795 + rm -rf conftest*
6.3796 + ;;
6.3797 +
6.3798 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
6.3799 + # Find out which ABI we are using.
6.3800 + echo 'int i;' > conftest.$ac_ext
6.3801 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.3802 + (eval $ac_compile) 2>&5
6.3803 + ac_status=$?
6.3804 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3805 + (exit $ac_status); }; then
6.3806 + case `/usr/bin/file conftest.o` in
6.3807 + *32-bit*)
6.3808 + case $host in
6.3809 + x86_64-*linux*)
6.3810 + LD="${LD-ld} -m elf_i386"
6.3811 + ;;
6.3812 + ppc64-*linux*|powerpc64-*linux*)
6.3813 + LD="${LD-ld} -m elf32ppclinux"
6.3814 + ;;
6.3815 + s390x-*linux*)
6.3816 + LD="${LD-ld} -m elf_s390"
6.3817 + ;;
6.3818 + sparc64-*linux*)
6.3819 + LD="${LD-ld} -m elf32_sparc"
6.3820 + ;;
6.3821 + esac
6.3822 + ;;
6.3823 + *64-bit*)
6.3824 + case $host in
6.3825 + x86_64-*linux*)
6.3826 + LD="${LD-ld} -m elf_x86_64"
6.3827 + ;;
6.3828 + ppc*-*linux*|powerpc*-*linux*)
6.3829 + LD="${LD-ld} -m elf64ppc"
6.3830 + ;;
6.3831 + s390*-*linux*)
6.3832 + LD="${LD-ld} -m elf64_s390"
6.3833 + ;;
6.3834 + sparc*-*linux*)
6.3835 + LD="${LD-ld} -m elf64_sparc"
6.3836 + ;;
6.3837 + esac
6.3838 + ;;
6.3839 + esac
6.3840 + fi
6.3841 + rm -rf conftest*
6.3842 + ;;
6.3843 +
6.3844 +*-*-sco3.2v5*)
6.3845 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6.3846 + SAVE_CFLAGS="$CFLAGS"
6.3847 + CFLAGS="$CFLAGS -belf"
6.3848 + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6.3849 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6.3850 +if test "${lt_cv_cc_needs_belf+set}" = set; then
6.3851 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.3852 +else
6.3853 + ac_ext=c
6.3854 +ac_cpp='$CPP $CPPFLAGS'
6.3855 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.3856 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.3857 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.3858 +
6.3859 + cat >conftest.$ac_ext <<_ACEOF
6.3860 +/* confdefs.h. */
6.3861 +_ACEOF
6.3862 +cat confdefs.h >>conftest.$ac_ext
6.3863 +cat >>conftest.$ac_ext <<_ACEOF
6.3864 +/* end confdefs.h. */
6.3865 +
6.3866 +int
6.3867 +main ()
6.3868 +{
6.3869 +
6.3870 + ;
6.3871 + return 0;
6.3872 +}
6.3873 +_ACEOF
6.3874 +rm -f conftest.$ac_objext conftest$ac_exeext
6.3875 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.3876 + (eval $ac_link) 2>conftest.er1
6.3877 + ac_status=$?
6.3878 + grep -v '^ *+' conftest.er1 >conftest.err
6.3879 + rm -f conftest.er1
6.3880 + cat conftest.err >&5
6.3881 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3882 + (exit $ac_status); } &&
6.3883 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.3884 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3885 + (eval $ac_try) 2>&5
6.3886 + ac_status=$?
6.3887 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3888 + (exit $ac_status); }; } &&
6.3889 + { ac_try='test -s conftest$ac_exeext'
6.3890 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.3891 + (eval $ac_try) 2>&5
6.3892 + ac_status=$?
6.3893 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3894 + (exit $ac_status); }; }; then
6.3895 + lt_cv_cc_needs_belf=yes
6.3896 +else
6.3897 + echo "$as_me: failed program was:" >&5
6.3898 +sed 's/^/| /' conftest.$ac_ext >&5
6.3899 +
6.3900 +lt_cv_cc_needs_belf=no
6.3901 +fi
6.3902 +rm -f conftest.err conftest.$ac_objext \
6.3903 + conftest$ac_exeext conftest.$ac_ext
6.3904 + ac_ext=c
6.3905 +ac_cpp='$CPP $CPPFLAGS'
6.3906 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.3907 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.3908 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.3909 +
6.3910 +fi
6.3911 +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6.3912 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6.3913 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6.3914 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6.3915 + CFLAGS="$SAVE_CFLAGS"
6.3916 + fi
6.3917 + ;;
6.3918 +
6.3919 +esac
6.3920 +
6.3921 +need_locks="$enable_libtool_lock"
6.3922 +
6.3923 +
6.3924 +ac_ext=c
6.3925 +ac_cpp='$CPP $CPPFLAGS'
6.3926 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.3927 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.3928 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.3929 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6.3930 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6.3931 +# On Suns, sometimes $CPP names a directory.
6.3932 +if test -n "$CPP" && test -d "$CPP"; then
6.3933 + CPP=
6.3934 +fi
6.3935 +if test -z "$CPP"; then
6.3936 + if test "${ac_cv_prog_CPP+set}" = set; then
6.3937 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.3938 +else
6.3939 + # Double quotes because CPP needs to be expanded
6.3940 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6.3941 + do
6.3942 + ac_preproc_ok=false
6.3943 +for ac_c_preproc_warn_flag in '' yes
6.3944 +do
6.3945 + # Use a header file that comes with gcc, so configuring glibc
6.3946 + # with a fresh cross-compiler works.
6.3947 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.3948 + # <limits.h> exists even on freestanding compilers.
6.3949 + # On the NeXT, cc -E runs the code through the compiler's parser,
6.3950 + # not just through cpp. "Syntax error" is here to catch this case.
6.3951 + cat >conftest.$ac_ext <<_ACEOF
6.3952 +/* confdefs.h. */
6.3953 +_ACEOF
6.3954 +cat confdefs.h >>conftest.$ac_ext
6.3955 +cat >>conftest.$ac_ext <<_ACEOF
6.3956 +/* end confdefs.h. */
6.3957 +@%:@ifdef __STDC__
6.3958 +@%:@ include <limits.h>
6.3959 +@%:@else
6.3960 +@%:@ include <assert.h>
6.3961 +@%:@endif
6.3962 + Syntax error
6.3963 +_ACEOF
6.3964 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.3965 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.3966 + ac_status=$?
6.3967 + grep -v '^ *+' conftest.er1 >conftest.err
6.3968 + rm -f conftest.er1
6.3969 + cat conftest.err >&5
6.3970 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.3971 + (exit $ac_status); } >/dev/null; then
6.3972 + if test -s conftest.err; then
6.3973 + ac_cpp_err=$ac_c_preproc_warn_flag
6.3974 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6.3975 + else
6.3976 + ac_cpp_err=
6.3977 + fi
6.3978 +else
6.3979 + ac_cpp_err=yes
6.3980 +fi
6.3981 +if test -z "$ac_cpp_err"; then
6.3982 + :
6.3983 +else
6.3984 + echo "$as_me: failed program was:" >&5
6.3985 +sed 's/^/| /' conftest.$ac_ext >&5
6.3986 +
6.3987 + # Broken: fails on valid input.
6.3988 +continue
6.3989 +fi
6.3990 +rm -f conftest.err conftest.$ac_ext
6.3991 +
6.3992 + # OK, works on sane cases. Now check whether non-existent headers
6.3993 + # can be detected and how.
6.3994 + cat >conftest.$ac_ext <<_ACEOF
6.3995 +/* confdefs.h. */
6.3996 +_ACEOF
6.3997 +cat confdefs.h >>conftest.$ac_ext
6.3998 +cat >>conftest.$ac_ext <<_ACEOF
6.3999 +/* end confdefs.h. */
6.4000 +@%:@include <ac_nonexistent.h>
6.4001 +_ACEOF
6.4002 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.4003 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.4004 + ac_status=$?
6.4005 + grep -v '^ *+' conftest.er1 >conftest.err
6.4006 + rm -f conftest.er1
6.4007 + cat conftest.err >&5
6.4008 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4009 + (exit $ac_status); } >/dev/null; then
6.4010 + if test -s conftest.err; then
6.4011 + ac_cpp_err=$ac_c_preproc_warn_flag
6.4012 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6.4013 + else
6.4014 + ac_cpp_err=
6.4015 + fi
6.4016 +else
6.4017 + ac_cpp_err=yes
6.4018 +fi
6.4019 +if test -z "$ac_cpp_err"; then
6.4020 + # Broken: success on invalid input.
6.4021 +continue
6.4022 +else
6.4023 + echo "$as_me: failed program was:" >&5
6.4024 +sed 's/^/| /' conftest.$ac_ext >&5
6.4025 +
6.4026 + # Passes both tests.
6.4027 +ac_preproc_ok=:
6.4028 +break
6.4029 +fi
6.4030 +rm -f conftest.err conftest.$ac_ext
6.4031 +
6.4032 +done
6.4033 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.4034 +rm -f conftest.err conftest.$ac_ext
6.4035 +if $ac_preproc_ok; then
6.4036 + break
6.4037 +fi
6.4038 +
6.4039 + done
6.4040 + ac_cv_prog_CPP=$CPP
6.4041 +
6.4042 +fi
6.4043 + CPP=$ac_cv_prog_CPP
6.4044 +else
6.4045 + ac_cv_prog_CPP=$CPP
6.4046 +fi
6.4047 +echo "$as_me:$LINENO: result: $CPP" >&5
6.4048 +echo "${ECHO_T}$CPP" >&6
6.4049 +ac_preproc_ok=false
6.4050 +for ac_c_preproc_warn_flag in '' yes
6.4051 +do
6.4052 + # Use a header file that comes with gcc, so configuring glibc
6.4053 + # with a fresh cross-compiler works.
6.4054 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.4055 + # <limits.h> exists even on freestanding compilers.
6.4056 + # On the NeXT, cc -E runs the code through the compiler's parser,
6.4057 + # not just through cpp. "Syntax error" is here to catch this case.
6.4058 + cat >conftest.$ac_ext <<_ACEOF
6.4059 +/* confdefs.h. */
6.4060 +_ACEOF
6.4061 +cat confdefs.h >>conftest.$ac_ext
6.4062 +cat >>conftest.$ac_ext <<_ACEOF
6.4063 +/* end confdefs.h. */
6.4064 +@%:@ifdef __STDC__
6.4065 +@%:@ include <limits.h>
6.4066 +@%:@else
6.4067 +@%:@ include <assert.h>
6.4068 +@%:@endif
6.4069 + Syntax error
6.4070 +_ACEOF
6.4071 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.4072 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.4073 + ac_status=$?
6.4074 + grep -v '^ *+' conftest.er1 >conftest.err
6.4075 + rm -f conftest.er1
6.4076 + cat conftest.err >&5
6.4077 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4078 + (exit $ac_status); } >/dev/null; then
6.4079 + if test -s conftest.err; then
6.4080 + ac_cpp_err=$ac_c_preproc_warn_flag
6.4081 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6.4082 + else
6.4083 + ac_cpp_err=
6.4084 + fi
6.4085 +else
6.4086 + ac_cpp_err=yes
6.4087 +fi
6.4088 +if test -z "$ac_cpp_err"; then
6.4089 + :
6.4090 +else
6.4091 + echo "$as_me: failed program was:" >&5
6.4092 +sed 's/^/| /' conftest.$ac_ext >&5
6.4093 +
6.4094 + # Broken: fails on valid input.
6.4095 +continue
6.4096 +fi
6.4097 +rm -f conftest.err conftest.$ac_ext
6.4098 +
6.4099 + # OK, works on sane cases. Now check whether non-existent headers
6.4100 + # can be detected and how.
6.4101 + cat >conftest.$ac_ext <<_ACEOF
6.4102 +/* confdefs.h. */
6.4103 +_ACEOF
6.4104 +cat confdefs.h >>conftest.$ac_ext
6.4105 +cat >>conftest.$ac_ext <<_ACEOF
6.4106 +/* end confdefs.h. */
6.4107 +@%:@include <ac_nonexistent.h>
6.4108 +_ACEOF
6.4109 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.4110 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.4111 + ac_status=$?
6.4112 + grep -v '^ *+' conftest.er1 >conftest.err
6.4113 + rm -f conftest.er1
6.4114 + cat conftest.err >&5
6.4115 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4116 + (exit $ac_status); } >/dev/null; then
6.4117 + if test -s conftest.err; then
6.4118 + ac_cpp_err=$ac_c_preproc_warn_flag
6.4119 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6.4120 + else
6.4121 + ac_cpp_err=
6.4122 + fi
6.4123 +else
6.4124 + ac_cpp_err=yes
6.4125 +fi
6.4126 +if test -z "$ac_cpp_err"; then
6.4127 + # Broken: success on invalid input.
6.4128 +continue
6.4129 +else
6.4130 + echo "$as_me: failed program was:" >&5
6.4131 +sed 's/^/| /' conftest.$ac_ext >&5
6.4132 +
6.4133 + # Passes both tests.
6.4134 +ac_preproc_ok=:
6.4135 +break
6.4136 +fi
6.4137 +rm -f conftest.err conftest.$ac_ext
6.4138 +
6.4139 +done
6.4140 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.4141 +rm -f conftest.err conftest.$ac_ext
6.4142 +if $ac_preproc_ok; then
6.4143 + :
6.4144 +else
6.4145 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6.4146 +See \`config.log' for more details." >&5
6.4147 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6.4148 +See \`config.log' for more details." >&2;}
6.4149 + { (exit 1); exit 1; }; }
6.4150 +fi
6.4151 +
6.4152 +ac_ext=c
6.4153 +ac_cpp='$CPP $CPPFLAGS'
6.4154 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.4155 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.4156 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.4157 +
6.4158 +
6.4159 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6.4160 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6.4161 +if test "${ac_cv_header_stdc+set}" = set; then
6.4162 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.4163 +else
6.4164 + cat >conftest.$ac_ext <<_ACEOF
6.4165 +/* confdefs.h. */
6.4166 +_ACEOF
6.4167 +cat confdefs.h >>conftest.$ac_ext
6.4168 +cat >>conftest.$ac_ext <<_ACEOF
6.4169 +/* end confdefs.h. */
6.4170 +#include <stdlib.h>
6.4171 +#include <stdarg.h>
6.4172 +#include <string.h>
6.4173 +#include <float.h>
6.4174 +
6.4175 +int
6.4176 +main ()
6.4177 +{
6.4178 +
6.4179 + ;
6.4180 + return 0;
6.4181 +}
6.4182 +_ACEOF
6.4183 +rm -f conftest.$ac_objext
6.4184 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4185 + (eval $ac_compile) 2>conftest.er1
6.4186 + ac_status=$?
6.4187 + grep -v '^ *+' conftest.er1 >conftest.err
6.4188 + rm -f conftest.er1
6.4189 + cat conftest.err >&5
6.4190 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4191 + (exit $ac_status); } &&
6.4192 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.4193 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4194 + (eval $ac_try) 2>&5
6.4195 + ac_status=$?
6.4196 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4197 + (exit $ac_status); }; } &&
6.4198 + { ac_try='test -s conftest.$ac_objext'
6.4199 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4200 + (eval $ac_try) 2>&5
6.4201 + ac_status=$?
6.4202 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4203 + (exit $ac_status); }; }; then
6.4204 + ac_cv_header_stdc=yes
6.4205 +else
6.4206 + echo "$as_me: failed program was:" >&5
6.4207 +sed 's/^/| /' conftest.$ac_ext >&5
6.4208 +
6.4209 +ac_cv_header_stdc=no
6.4210 +fi
6.4211 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4212 +
6.4213 +if test $ac_cv_header_stdc = yes; then
6.4214 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6.4215 + cat >conftest.$ac_ext <<_ACEOF
6.4216 +/* confdefs.h. */
6.4217 +_ACEOF
6.4218 +cat confdefs.h >>conftest.$ac_ext
6.4219 +cat >>conftest.$ac_ext <<_ACEOF
6.4220 +/* end confdefs.h. */
6.4221 +#include <string.h>
6.4222 +
6.4223 +_ACEOF
6.4224 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6.4225 + $EGREP "memchr" >/dev/null 2>&1; then
6.4226 + :
6.4227 +else
6.4228 + ac_cv_header_stdc=no
6.4229 +fi
6.4230 +rm -f conftest*
6.4231 +
6.4232 +fi
6.4233 +
6.4234 +if test $ac_cv_header_stdc = yes; then
6.4235 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6.4236 + cat >conftest.$ac_ext <<_ACEOF
6.4237 +/* confdefs.h. */
6.4238 +_ACEOF
6.4239 +cat confdefs.h >>conftest.$ac_ext
6.4240 +cat >>conftest.$ac_ext <<_ACEOF
6.4241 +/* end confdefs.h. */
6.4242 +#include <stdlib.h>
6.4243 +
6.4244 +_ACEOF
6.4245 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6.4246 + $EGREP "free" >/dev/null 2>&1; then
6.4247 + :
6.4248 +else
6.4249 + ac_cv_header_stdc=no
6.4250 +fi
6.4251 +rm -f conftest*
6.4252 +
6.4253 +fi
6.4254 +
6.4255 +if test $ac_cv_header_stdc = yes; then
6.4256 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6.4257 + if test "$cross_compiling" = yes; then
6.4258 + :
6.4259 +else
6.4260 + cat >conftest.$ac_ext <<_ACEOF
6.4261 +/* confdefs.h. */
6.4262 +_ACEOF
6.4263 +cat confdefs.h >>conftest.$ac_ext
6.4264 +cat >>conftest.$ac_ext <<_ACEOF
6.4265 +/* end confdefs.h. */
6.4266 +#include <ctype.h>
6.4267 +#if ((' ' & 0x0FF) == 0x020)
6.4268 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6.4269 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6.4270 +#else
6.4271 +# define ISLOWER(c) \
6.4272 + (('a' <= (c) && (c) <= 'i') \
6.4273 + || ('j' <= (c) && (c) <= 'r') \
6.4274 + || ('s' <= (c) && (c) <= 'z'))
6.4275 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6.4276 +#endif
6.4277 +
6.4278 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6.4279 +int
6.4280 +main ()
6.4281 +{
6.4282 + int i;
6.4283 + for (i = 0; i < 256; i++)
6.4284 + if (XOR (islower (i), ISLOWER (i))
6.4285 + || toupper (i) != TOUPPER (i))
6.4286 + exit(2);
6.4287 + exit (0);
6.4288 +}
6.4289 +_ACEOF
6.4290 +rm -f conftest$ac_exeext
6.4291 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.4292 + (eval $ac_link) 2>&5
6.4293 + ac_status=$?
6.4294 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4295 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6.4296 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4297 + (eval $ac_try) 2>&5
6.4298 + ac_status=$?
6.4299 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4300 + (exit $ac_status); }; }; then
6.4301 + :
6.4302 +else
6.4303 + echo "$as_me: program exited with status $ac_status" >&5
6.4304 +echo "$as_me: failed program was:" >&5
6.4305 +sed 's/^/| /' conftest.$ac_ext >&5
6.4306 +
6.4307 +( exit $ac_status )
6.4308 +ac_cv_header_stdc=no
6.4309 +fi
6.4310 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6.4311 +fi
6.4312 +fi
6.4313 +fi
6.4314 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6.4315 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
6.4316 +if test $ac_cv_header_stdc = yes; then
6.4317 +
6.4318 +cat >>confdefs.h <<\_ACEOF
6.4319 +@%:@define STDC_HEADERS 1
6.4320 +_ACEOF
6.4321 +
6.4322 +fi
6.4323 +
6.4324 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6.4325 +
6.4326 +
6.4327 +
6.4328 +
6.4329 +
6.4330 +
6.4331 +
6.4332 +
6.4333 +
6.4334 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6.4335 + inttypes.h stdint.h unistd.h
6.4336 +do
6.4337 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6.4338 +echo "$as_me:$LINENO: checking for $ac_header" >&5
6.4339 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6.4340 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6.4341 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.4342 +else
6.4343 + cat >conftest.$ac_ext <<_ACEOF
6.4344 +/* confdefs.h. */
6.4345 +_ACEOF
6.4346 +cat confdefs.h >>conftest.$ac_ext
6.4347 +cat >>conftest.$ac_ext <<_ACEOF
6.4348 +/* end confdefs.h. */
6.4349 +$ac_includes_default
6.4350 +
6.4351 +@%:@include <$ac_header>
6.4352 +_ACEOF
6.4353 +rm -f conftest.$ac_objext
6.4354 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4355 + (eval $ac_compile) 2>conftest.er1
6.4356 + ac_status=$?
6.4357 + grep -v '^ *+' conftest.er1 >conftest.err
6.4358 + rm -f conftest.er1
6.4359 + cat conftest.err >&5
6.4360 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4361 + (exit $ac_status); } &&
6.4362 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.4363 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4364 + (eval $ac_try) 2>&5
6.4365 + ac_status=$?
6.4366 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4367 + (exit $ac_status); }; } &&
6.4368 + { ac_try='test -s conftest.$ac_objext'
6.4369 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4370 + (eval $ac_try) 2>&5
6.4371 + ac_status=$?
6.4372 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4373 + (exit $ac_status); }; }; then
6.4374 + eval "$as_ac_Header=yes"
6.4375 +else
6.4376 + echo "$as_me: failed program was:" >&5
6.4377 +sed 's/^/| /' conftest.$ac_ext >&5
6.4378 +
6.4379 +eval "$as_ac_Header=no"
6.4380 +fi
6.4381 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4382 +fi
6.4383 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6.4384 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6.4385 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
6.4386 + cat >>confdefs.h <<_ACEOF
6.4387 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6.4388 +_ACEOF
6.4389 +
6.4390 +fi
6.4391 +
6.4392 +done
6.4393 +
6.4394 +
6.4395 +
6.4396 +for ac_header in dlfcn.h
6.4397 +do
6.4398 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6.4399 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6.4400 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6.4401 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6.4402 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6.4403 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.4404 +fi
6.4405 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6.4406 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6.4407 +else
6.4408 + # Is the header compilable?
6.4409 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
6.4410 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6.4411 +cat >conftest.$ac_ext <<_ACEOF
6.4412 +/* confdefs.h. */
6.4413 +_ACEOF
6.4414 +cat confdefs.h >>conftest.$ac_ext
6.4415 +cat >>conftest.$ac_ext <<_ACEOF
6.4416 +/* end confdefs.h. */
6.4417 +$ac_includes_default
6.4418 +@%:@include <$ac_header>
6.4419 +_ACEOF
6.4420 +rm -f conftest.$ac_objext
6.4421 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4422 + (eval $ac_compile) 2>conftest.er1
6.4423 + ac_status=$?
6.4424 + grep -v '^ *+' conftest.er1 >conftest.err
6.4425 + rm -f conftest.er1
6.4426 + cat conftest.err >&5
6.4427 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4428 + (exit $ac_status); } &&
6.4429 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.4430 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4431 + (eval $ac_try) 2>&5
6.4432 + ac_status=$?
6.4433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4434 + (exit $ac_status); }; } &&
6.4435 + { ac_try='test -s conftest.$ac_objext'
6.4436 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4437 + (eval $ac_try) 2>&5
6.4438 + ac_status=$?
6.4439 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4440 + (exit $ac_status); }; }; then
6.4441 + ac_header_compiler=yes
6.4442 +else
6.4443 + echo "$as_me: failed program was:" >&5
6.4444 +sed 's/^/| /' conftest.$ac_ext >&5
6.4445 +
6.4446 +ac_header_compiler=no
6.4447 +fi
6.4448 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4449 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6.4450 +echo "${ECHO_T}$ac_header_compiler" >&6
6.4451 +
6.4452 +# Is the header present?
6.4453 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
6.4454 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6.4455 +cat >conftest.$ac_ext <<_ACEOF
6.4456 +/* confdefs.h. */
6.4457 +_ACEOF
6.4458 +cat confdefs.h >>conftest.$ac_ext
6.4459 +cat >>conftest.$ac_ext <<_ACEOF
6.4460 +/* end confdefs.h. */
6.4461 +@%:@include <$ac_header>
6.4462 +_ACEOF
6.4463 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.4464 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.4465 + ac_status=$?
6.4466 + grep -v '^ *+' conftest.er1 >conftest.err
6.4467 + rm -f conftest.er1
6.4468 + cat conftest.err >&5
6.4469 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4470 + (exit $ac_status); } >/dev/null; then
6.4471 + if test -s conftest.err; then
6.4472 + ac_cpp_err=$ac_c_preproc_warn_flag
6.4473 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6.4474 + else
6.4475 + ac_cpp_err=
6.4476 + fi
6.4477 +else
6.4478 + ac_cpp_err=yes
6.4479 +fi
6.4480 +if test -z "$ac_cpp_err"; then
6.4481 + ac_header_preproc=yes
6.4482 +else
6.4483 + echo "$as_me: failed program was:" >&5
6.4484 +sed 's/^/| /' conftest.$ac_ext >&5
6.4485 +
6.4486 + ac_header_preproc=no
6.4487 +fi
6.4488 +rm -f conftest.err conftest.$ac_ext
6.4489 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6.4490 +echo "${ECHO_T}$ac_header_preproc" >&6
6.4491 +
6.4492 +# So? What about this header?
6.4493 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6.4494 + yes:no: )
6.4495 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6.4496 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6.4497 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6.4498 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6.4499 + ac_header_preproc=yes
6.4500 + ;;
6.4501 + no:yes:* )
6.4502 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6.4503 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6.4504 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6.4505 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6.4506 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6.4507 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6.4508 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6.4509 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6.4510 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6.4511 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6.4512 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6.4513 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6.4514 + (
6.4515 + cat <<\_ASBOX
6.4516 +@%:@@%:@ ------------------------------------------ @%:@@%:@
6.4517 +@%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@
6.4518 +@%:@@%:@ ------------------------------------------ @%:@@%:@
6.4519 +_ASBOX
6.4520 + ) |
6.4521 + sed "s/^/$as_me: WARNING: /" >&2
6.4522 + ;;
6.4523 +esac
6.4524 +echo "$as_me:$LINENO: checking for $ac_header" >&5
6.4525 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6.4526 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
6.4527 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.4528 +else
6.4529 + eval "$as_ac_Header=\$ac_header_preproc"
6.4530 +fi
6.4531 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6.4532 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6.4533 +
6.4534 +fi
6.4535 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
6.4536 + cat >>confdefs.h <<_ACEOF
6.4537 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6.4538 +_ACEOF
6.4539 +
6.4540 +fi
6.4541 +
6.4542 +done
6.4543 +
6.4544 +ac_ext=cc
6.4545 +ac_cpp='$CXXCPP $CPPFLAGS'
6.4546 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.4547 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.4548 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.4549 +if test -n "$ac_tool_prefix"; then
6.4550 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6.4551 + do
6.4552 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6.4553 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6.4554 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.4555 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.4556 +if test "${ac_cv_prog_CXX+set}" = set; then
6.4557 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.4558 +else
6.4559 + if test -n "$CXX"; then
6.4560 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
6.4561 +else
6.4562 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.4563 +for as_dir in $PATH
6.4564 +do
6.4565 + IFS=$as_save_IFS
6.4566 + test -z "$as_dir" && as_dir=.
6.4567 + for ac_exec_ext in '' $ac_executable_extensions; do
6.4568 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.4569 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6.4570 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.4571 + break 2
6.4572 + fi
6.4573 +done
6.4574 +done
6.4575 +
6.4576 +fi
6.4577 +fi
6.4578 +CXX=$ac_cv_prog_CXX
6.4579 +if test -n "$CXX"; then
6.4580 + echo "$as_me:$LINENO: result: $CXX" >&5
6.4581 +echo "${ECHO_T}$CXX" >&6
6.4582 +else
6.4583 + echo "$as_me:$LINENO: result: no" >&5
6.4584 +echo "${ECHO_T}no" >&6
6.4585 +fi
6.4586 +
6.4587 + test -n "$CXX" && break
6.4588 + done
6.4589 +fi
6.4590 +if test -z "$CXX"; then
6.4591 + ac_ct_CXX=$CXX
6.4592 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6.4593 +do
6.4594 + # Extract the first word of "$ac_prog", so it can be a program name with args.
6.4595 +set dummy $ac_prog; ac_word=$2
6.4596 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.4597 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.4598 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6.4599 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.4600 +else
6.4601 + if test -n "$ac_ct_CXX"; then
6.4602 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6.4603 +else
6.4604 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.4605 +for as_dir in $PATH
6.4606 +do
6.4607 + IFS=$as_save_IFS
6.4608 + test -z "$as_dir" && as_dir=.
6.4609 + for ac_exec_ext in '' $ac_executable_extensions; do
6.4610 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.4611 + ac_cv_prog_ac_ct_CXX="$ac_prog"
6.4612 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.4613 + break 2
6.4614 + fi
6.4615 +done
6.4616 +done
6.4617 +
6.4618 +fi
6.4619 +fi
6.4620 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6.4621 +if test -n "$ac_ct_CXX"; then
6.4622 + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6.4623 +echo "${ECHO_T}$ac_ct_CXX" >&6
6.4624 +else
6.4625 + echo "$as_me:$LINENO: result: no" >&5
6.4626 +echo "${ECHO_T}no" >&6
6.4627 +fi
6.4628 +
6.4629 + test -n "$ac_ct_CXX" && break
6.4630 +done
6.4631 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6.4632 +
6.4633 + CXX=$ac_ct_CXX
6.4634 +fi
6.4635 +
6.4636 +
6.4637 +# Provide some information about the compiler.
6.4638 +echo "$as_me:$LINENO:" \
6.4639 + "checking for C++ compiler version" >&5
6.4640 +ac_compiler=`set X $ac_compile; echo $2`
6.4641 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6.4642 + (eval $ac_compiler --version </dev/null >&5) 2>&5
6.4643 + ac_status=$?
6.4644 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4645 + (exit $ac_status); }
6.4646 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6.4647 + (eval $ac_compiler -v </dev/null >&5) 2>&5
6.4648 + ac_status=$?
6.4649 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4650 + (exit $ac_status); }
6.4651 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6.4652 + (eval $ac_compiler -V </dev/null >&5) 2>&5
6.4653 + ac_status=$?
6.4654 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4655 + (exit $ac_status); }
6.4656 +
6.4657 +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6.4658 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6.4659 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6.4660 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.4661 +else
6.4662 + cat >conftest.$ac_ext <<_ACEOF
6.4663 +/* confdefs.h. */
6.4664 +_ACEOF
6.4665 +cat confdefs.h >>conftest.$ac_ext
6.4666 +cat >>conftest.$ac_ext <<_ACEOF
6.4667 +/* end confdefs.h. */
6.4668 +
6.4669 +int
6.4670 +main ()
6.4671 +{
6.4672 +#ifndef __GNUC__
6.4673 + choke me
6.4674 +#endif
6.4675 +
6.4676 + ;
6.4677 + return 0;
6.4678 +}
6.4679 +_ACEOF
6.4680 +rm -f conftest.$ac_objext
6.4681 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4682 + (eval $ac_compile) 2>conftest.er1
6.4683 + ac_status=$?
6.4684 + grep -v '^ *+' conftest.er1 >conftest.err
6.4685 + rm -f conftest.er1
6.4686 + cat conftest.err >&5
6.4687 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4688 + (exit $ac_status); } &&
6.4689 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.4690 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4691 + (eval $ac_try) 2>&5
6.4692 + ac_status=$?
6.4693 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4694 + (exit $ac_status); }; } &&
6.4695 + { ac_try='test -s conftest.$ac_objext'
6.4696 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4697 + (eval $ac_try) 2>&5
6.4698 + ac_status=$?
6.4699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4700 + (exit $ac_status); }; }; then
6.4701 + ac_compiler_gnu=yes
6.4702 +else
6.4703 + echo "$as_me: failed program was:" >&5
6.4704 +sed 's/^/| /' conftest.$ac_ext >&5
6.4705 +
6.4706 +ac_compiler_gnu=no
6.4707 +fi
6.4708 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4709 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6.4710 +
6.4711 +fi
6.4712 +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6.4713 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6.4714 +GXX=`test $ac_compiler_gnu = yes && echo yes`
6.4715 +ac_test_CXXFLAGS=${CXXFLAGS+set}
6.4716 +ac_save_CXXFLAGS=$CXXFLAGS
6.4717 +CXXFLAGS="-g"
6.4718 +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6.4719 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6.4720 +if test "${ac_cv_prog_cxx_g+set}" = set; then
6.4721 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.4722 +else
6.4723 + cat >conftest.$ac_ext <<_ACEOF
6.4724 +/* confdefs.h. */
6.4725 +_ACEOF
6.4726 +cat confdefs.h >>conftest.$ac_ext
6.4727 +cat >>conftest.$ac_ext <<_ACEOF
6.4728 +/* end confdefs.h. */
6.4729 +
6.4730 +int
6.4731 +main ()
6.4732 +{
6.4733 +
6.4734 + ;
6.4735 + return 0;
6.4736 +}
6.4737 +_ACEOF
6.4738 +rm -f conftest.$ac_objext
6.4739 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4740 + (eval $ac_compile) 2>conftest.er1
6.4741 + ac_status=$?
6.4742 + grep -v '^ *+' conftest.er1 >conftest.err
6.4743 + rm -f conftest.er1
6.4744 + cat conftest.err >&5
6.4745 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4746 + (exit $ac_status); } &&
6.4747 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.4748 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4749 + (eval $ac_try) 2>&5
6.4750 + ac_status=$?
6.4751 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4752 + (exit $ac_status); }; } &&
6.4753 + { ac_try='test -s conftest.$ac_objext'
6.4754 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4755 + (eval $ac_try) 2>&5
6.4756 + ac_status=$?
6.4757 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4758 + (exit $ac_status); }; }; then
6.4759 + ac_cv_prog_cxx_g=yes
6.4760 +else
6.4761 + echo "$as_me: failed program was:" >&5
6.4762 +sed 's/^/| /' conftest.$ac_ext >&5
6.4763 +
6.4764 +ac_cv_prog_cxx_g=no
6.4765 +fi
6.4766 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4767 +fi
6.4768 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6.4769 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6.4770 +if test "$ac_test_CXXFLAGS" = set; then
6.4771 + CXXFLAGS=$ac_save_CXXFLAGS
6.4772 +elif test $ac_cv_prog_cxx_g = yes; then
6.4773 + if test "$GXX" = yes; then
6.4774 + CXXFLAGS="-g -O2"
6.4775 + else
6.4776 + CXXFLAGS="-g"
6.4777 + fi
6.4778 +else
6.4779 + if test "$GXX" = yes; then
6.4780 + CXXFLAGS="-O2"
6.4781 + else
6.4782 + CXXFLAGS=
6.4783 + fi
6.4784 +fi
6.4785 +for ac_declaration in \
6.4786 + '' \
6.4787 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
6.4788 + 'extern "C" void std::exit (int); using std::exit;' \
6.4789 + 'extern "C" void exit (int) throw ();' \
6.4790 + 'extern "C" void exit (int);' \
6.4791 + 'void exit (int);'
6.4792 +do
6.4793 + cat >conftest.$ac_ext <<_ACEOF
6.4794 +/* confdefs.h. */
6.4795 +_ACEOF
6.4796 +cat confdefs.h >>conftest.$ac_ext
6.4797 +cat >>conftest.$ac_ext <<_ACEOF
6.4798 +/* end confdefs.h. */
6.4799 +$ac_declaration
6.4800 +@%:@include <stdlib.h>
6.4801 +int
6.4802 +main ()
6.4803 +{
6.4804 +exit (42);
6.4805 + ;
6.4806 + return 0;
6.4807 +}
6.4808 +_ACEOF
6.4809 +rm -f conftest.$ac_objext
6.4810 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4811 + (eval $ac_compile) 2>conftest.er1
6.4812 + ac_status=$?
6.4813 + grep -v '^ *+' conftest.er1 >conftest.err
6.4814 + rm -f conftest.er1
6.4815 + cat conftest.err >&5
6.4816 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4817 + (exit $ac_status); } &&
6.4818 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.4819 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4820 + (eval $ac_try) 2>&5
6.4821 + ac_status=$?
6.4822 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4823 + (exit $ac_status); }; } &&
6.4824 + { ac_try='test -s conftest.$ac_objext'
6.4825 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4826 + (eval $ac_try) 2>&5
6.4827 + ac_status=$?
6.4828 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4829 + (exit $ac_status); }; }; then
6.4830 + :
6.4831 +else
6.4832 + echo "$as_me: failed program was:" >&5
6.4833 +sed 's/^/| /' conftest.$ac_ext >&5
6.4834 +
6.4835 +continue
6.4836 +fi
6.4837 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4838 + cat >conftest.$ac_ext <<_ACEOF
6.4839 +/* confdefs.h. */
6.4840 +_ACEOF
6.4841 +cat confdefs.h >>conftest.$ac_ext
6.4842 +cat >>conftest.$ac_ext <<_ACEOF
6.4843 +/* end confdefs.h. */
6.4844 +$ac_declaration
6.4845 +int
6.4846 +main ()
6.4847 +{
6.4848 +exit (42);
6.4849 + ;
6.4850 + return 0;
6.4851 +}
6.4852 +_ACEOF
6.4853 +rm -f conftest.$ac_objext
6.4854 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.4855 + (eval $ac_compile) 2>conftest.er1
6.4856 + ac_status=$?
6.4857 + grep -v '^ *+' conftest.er1 >conftest.err
6.4858 + rm -f conftest.er1
6.4859 + cat conftest.err >&5
6.4860 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4861 + (exit $ac_status); } &&
6.4862 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.4863 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4864 + (eval $ac_try) 2>&5
6.4865 + ac_status=$?
6.4866 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4867 + (exit $ac_status); }; } &&
6.4868 + { ac_try='test -s conftest.$ac_objext'
6.4869 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.4870 + (eval $ac_try) 2>&5
6.4871 + ac_status=$?
6.4872 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.4873 + (exit $ac_status); }; }; then
6.4874 + break
6.4875 +else
6.4876 + echo "$as_me: failed program was:" >&5
6.4877 +sed 's/^/| /' conftest.$ac_ext >&5
6.4878 +
6.4879 +fi
6.4880 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.4881 +done
6.4882 +rm -f conftest*
6.4883 +if test -n "$ac_declaration"; then
6.4884 + echo '#ifdef __cplusplus' >>confdefs.h
6.4885 + echo $ac_declaration >>confdefs.h
6.4886 + echo '#endif' >>confdefs.h
6.4887 +fi
6.4888 +
6.4889 +ac_ext=cc
6.4890 +ac_cpp='$CXXCPP $CPPFLAGS'
6.4891 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.4892 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.4893 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.4894 +
6.4895 +depcc="$CXX" am_compiler_list=
6.4896 +
6.4897 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6.4898 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6.4899 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6.4900 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.4901 +else
6.4902 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6.4903 + # We make a subdir and do the tests there. Otherwise we can end up
6.4904 + # making bogus files that we don't know about and never remove. For
6.4905 + # instance it was reported that on HP-UX the gcc test will end up
6.4906 + # making a dummy file named `D' -- because `-MD' means `put the output
6.4907 + # in D'.
6.4908 + mkdir conftest.dir
6.4909 + # Copy depcomp to subdir because otherwise we won't find it if we're
6.4910 + # using a relative directory.
6.4911 + cp "$am_depcomp" conftest.dir
6.4912 + cd conftest.dir
6.4913 + # We will build objects and dependencies in a subdirectory because
6.4914 + # it helps to detect inapplicable dependency modes. For instance
6.4915 + # both Tru64's cc and ICC support -MD to output dependencies as a
6.4916 + # side effect of compilation, but ICC will put the dependencies in
6.4917 + # the current directory while Tru64 will put them in the object
6.4918 + # directory.
6.4919 + mkdir sub
6.4920 +
6.4921 + am_cv_CXX_dependencies_compiler_type=none
6.4922 + if test "$am_compiler_list" = ""; then
6.4923 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6.4924 + fi
6.4925 + for depmode in $am_compiler_list; do
6.4926 + # Setup a source with many dependencies, because some compilers
6.4927 + # like to wrap large dependency lists on column 80 (with \), and
6.4928 + # we should not choose a depcomp mode which is confused by this.
6.4929 + #
6.4930 + # We need to recreate these files for each test, as the compiler may
6.4931 + # overwrite some of them when testing with obscure command lines.
6.4932 + # This happens at least with the AIX C compiler.
6.4933 + : > sub/conftest.c
6.4934 + for i in 1 2 3 4 5 6; do
6.4935 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
6.4936 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6.4937 + # Solaris 8's {/usr,}/bin/sh.
6.4938 + touch sub/conftst$i.h
6.4939 + done
6.4940 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6.4941 +
6.4942 + case $depmode in
6.4943 + nosideeffect)
6.4944 + # after this tag, mechanisms are not by side-effect, so they'll
6.4945 + # only be used when explicitly requested
6.4946 + if test "x$enable_dependency_tracking" = xyes; then
6.4947 + continue
6.4948 + else
6.4949 + break
6.4950 + fi
6.4951 + ;;
6.4952 + none) break ;;
6.4953 + esac
6.4954 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
6.4955 + # mode. It turns out that the SunPro C++ compiler does not properly
6.4956 + # handle `-M -o', and we need to detect this.
6.4957 + if depmode=$depmode \
6.4958 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6.4959 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6.4960 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6.4961 + >/dev/null 2>conftest.err &&
6.4962 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6.4963 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6.4964 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6.4965 + # icc doesn't choke on unknown options, it will just issue warnings
6.4966 + # or remarks (even with -Werror). So we grep stderr for any message
6.4967 + # that says an option was ignored or not supported.
6.4968 + # When given -MP, icc 7.0 and 7.1 complain thusly:
6.4969 + # icc: Command line warning: ignoring option '-M'; no argument required
6.4970 + # The diagnosis changed in icc 8.0:
6.4971 + # icc: Command line remark: option '-MP' not supported
6.4972 + if (grep 'ignoring option' conftest.err ||
6.4973 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6.4974 + am_cv_CXX_dependencies_compiler_type=$depmode
6.4975 + break
6.4976 + fi
6.4977 + fi
6.4978 + done
6.4979 +
6.4980 + cd ..
6.4981 + rm -rf conftest.dir
6.4982 +else
6.4983 + am_cv_CXX_dependencies_compiler_type=none
6.4984 +fi
6.4985 +
6.4986 +fi
6.4987 +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6.4988 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6.4989 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6.4990 +
6.4991 +
6.4992 +
6.4993 +if
6.4994 + test "x$enable_dependency_tracking" != xno \
6.4995 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6.4996 + am__fastdepCXX_TRUE=
6.4997 + am__fastdepCXX_FALSE='#'
6.4998 +else
6.4999 + am__fastdepCXX_TRUE='#'
6.5000 + am__fastdepCXX_FALSE=
6.5001 +fi
6.5002 +
6.5003 +
6.5004 +
6.5005 +
6.5006 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6.5007 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6.5008 + (test "X$CXX" != "Xg++"))) ; then
6.5009 + ac_ext=cc
6.5010 +ac_cpp='$CXXCPP $CPPFLAGS'
6.5011 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.5012 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.5013 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.5014 +echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6.5015 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6.5016 +if test -z "$CXXCPP"; then
6.5017 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
6.5018 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5019 +else
6.5020 + # Double quotes because CXXCPP needs to be expanded
6.5021 + for CXXCPP in "$CXX -E" "/lib/cpp"
6.5022 + do
6.5023 + ac_preproc_ok=false
6.5024 +for ac_cxx_preproc_warn_flag in '' yes
6.5025 +do
6.5026 + # Use a header file that comes with gcc, so configuring glibc
6.5027 + # with a fresh cross-compiler works.
6.5028 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.5029 + # <limits.h> exists even on freestanding compilers.
6.5030 + # On the NeXT, cc -E runs the code through the compiler's parser,
6.5031 + # not just through cpp. "Syntax error" is here to catch this case.
6.5032 + cat >conftest.$ac_ext <<_ACEOF
6.5033 +/* confdefs.h. */
6.5034 +_ACEOF
6.5035 +cat confdefs.h >>conftest.$ac_ext
6.5036 +cat >>conftest.$ac_ext <<_ACEOF
6.5037 +/* end confdefs.h. */
6.5038 +@%:@ifdef __STDC__
6.5039 +@%:@ include <limits.h>
6.5040 +@%:@else
6.5041 +@%:@ include <assert.h>
6.5042 +@%:@endif
6.5043 + Syntax error
6.5044 +_ACEOF
6.5045 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.5046 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.5047 + ac_status=$?
6.5048 + grep -v '^ *+' conftest.er1 >conftest.err
6.5049 + rm -f conftest.er1
6.5050 + cat conftest.err >&5
6.5051 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5052 + (exit $ac_status); } >/dev/null; then
6.5053 + if test -s conftest.err; then
6.5054 + ac_cpp_err=$ac_cxx_preproc_warn_flag
6.5055 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.5056 + else
6.5057 + ac_cpp_err=
6.5058 + fi
6.5059 +else
6.5060 + ac_cpp_err=yes
6.5061 +fi
6.5062 +if test -z "$ac_cpp_err"; then
6.5063 + :
6.5064 +else
6.5065 + echo "$as_me: failed program was:" >&5
6.5066 +sed 's/^/| /' conftest.$ac_ext >&5
6.5067 +
6.5068 + # Broken: fails on valid input.
6.5069 +continue
6.5070 +fi
6.5071 +rm -f conftest.err conftest.$ac_ext
6.5072 +
6.5073 + # OK, works on sane cases. Now check whether non-existent headers
6.5074 + # can be detected and how.
6.5075 + cat >conftest.$ac_ext <<_ACEOF
6.5076 +/* confdefs.h. */
6.5077 +_ACEOF
6.5078 +cat confdefs.h >>conftest.$ac_ext
6.5079 +cat >>conftest.$ac_ext <<_ACEOF
6.5080 +/* end confdefs.h. */
6.5081 +@%:@include <ac_nonexistent.h>
6.5082 +_ACEOF
6.5083 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.5084 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.5085 + ac_status=$?
6.5086 + grep -v '^ *+' conftest.er1 >conftest.err
6.5087 + rm -f conftest.er1
6.5088 + cat conftest.err >&5
6.5089 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5090 + (exit $ac_status); } >/dev/null; then
6.5091 + if test -s conftest.err; then
6.5092 + ac_cpp_err=$ac_cxx_preproc_warn_flag
6.5093 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.5094 + else
6.5095 + ac_cpp_err=
6.5096 + fi
6.5097 +else
6.5098 + ac_cpp_err=yes
6.5099 +fi
6.5100 +if test -z "$ac_cpp_err"; then
6.5101 + # Broken: success on invalid input.
6.5102 +continue
6.5103 +else
6.5104 + echo "$as_me: failed program was:" >&5
6.5105 +sed 's/^/| /' conftest.$ac_ext >&5
6.5106 +
6.5107 + # Passes both tests.
6.5108 +ac_preproc_ok=:
6.5109 +break
6.5110 +fi
6.5111 +rm -f conftest.err conftest.$ac_ext
6.5112 +
6.5113 +done
6.5114 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.5115 +rm -f conftest.err conftest.$ac_ext
6.5116 +if $ac_preproc_ok; then
6.5117 + break
6.5118 +fi
6.5119 +
6.5120 + done
6.5121 + ac_cv_prog_CXXCPP=$CXXCPP
6.5122 +
6.5123 +fi
6.5124 + CXXCPP=$ac_cv_prog_CXXCPP
6.5125 +else
6.5126 + ac_cv_prog_CXXCPP=$CXXCPP
6.5127 +fi
6.5128 +echo "$as_me:$LINENO: result: $CXXCPP" >&5
6.5129 +echo "${ECHO_T}$CXXCPP" >&6
6.5130 +ac_preproc_ok=false
6.5131 +for ac_cxx_preproc_warn_flag in '' yes
6.5132 +do
6.5133 + # Use a header file that comes with gcc, so configuring glibc
6.5134 + # with a fresh cross-compiler works.
6.5135 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.5136 + # <limits.h> exists even on freestanding compilers.
6.5137 + # On the NeXT, cc -E runs the code through the compiler's parser,
6.5138 + # not just through cpp. "Syntax error" is here to catch this case.
6.5139 + cat >conftest.$ac_ext <<_ACEOF
6.5140 +/* confdefs.h. */
6.5141 +_ACEOF
6.5142 +cat confdefs.h >>conftest.$ac_ext
6.5143 +cat >>conftest.$ac_ext <<_ACEOF
6.5144 +/* end confdefs.h. */
6.5145 +@%:@ifdef __STDC__
6.5146 +@%:@ include <limits.h>
6.5147 +@%:@else
6.5148 +@%:@ include <assert.h>
6.5149 +@%:@endif
6.5150 + Syntax error
6.5151 +_ACEOF
6.5152 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.5153 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.5154 + ac_status=$?
6.5155 + grep -v '^ *+' conftest.er1 >conftest.err
6.5156 + rm -f conftest.er1
6.5157 + cat conftest.err >&5
6.5158 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5159 + (exit $ac_status); } >/dev/null; then
6.5160 + if test -s conftest.err; then
6.5161 + ac_cpp_err=$ac_cxx_preproc_warn_flag
6.5162 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.5163 + else
6.5164 + ac_cpp_err=
6.5165 + fi
6.5166 +else
6.5167 + ac_cpp_err=yes
6.5168 +fi
6.5169 +if test -z "$ac_cpp_err"; then
6.5170 + :
6.5171 +else
6.5172 + echo "$as_me: failed program was:" >&5
6.5173 +sed 's/^/| /' conftest.$ac_ext >&5
6.5174 +
6.5175 + # Broken: fails on valid input.
6.5176 +continue
6.5177 +fi
6.5178 +rm -f conftest.err conftest.$ac_ext
6.5179 +
6.5180 + # OK, works on sane cases. Now check whether non-existent headers
6.5181 + # can be detected and how.
6.5182 + cat >conftest.$ac_ext <<_ACEOF
6.5183 +/* confdefs.h. */
6.5184 +_ACEOF
6.5185 +cat confdefs.h >>conftest.$ac_ext
6.5186 +cat >>conftest.$ac_ext <<_ACEOF
6.5187 +/* end confdefs.h. */
6.5188 +@%:@include <ac_nonexistent.h>
6.5189 +_ACEOF
6.5190 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.5191 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.5192 + ac_status=$?
6.5193 + grep -v '^ *+' conftest.er1 >conftest.err
6.5194 + rm -f conftest.er1
6.5195 + cat conftest.err >&5
6.5196 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5197 + (exit $ac_status); } >/dev/null; then
6.5198 + if test -s conftest.err; then
6.5199 + ac_cpp_err=$ac_cxx_preproc_warn_flag
6.5200 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.5201 + else
6.5202 + ac_cpp_err=
6.5203 + fi
6.5204 +else
6.5205 + ac_cpp_err=yes
6.5206 +fi
6.5207 +if test -z "$ac_cpp_err"; then
6.5208 + # Broken: success on invalid input.
6.5209 +continue
6.5210 +else
6.5211 + echo "$as_me: failed program was:" >&5
6.5212 +sed 's/^/| /' conftest.$ac_ext >&5
6.5213 +
6.5214 + # Passes both tests.
6.5215 +ac_preproc_ok=:
6.5216 +break
6.5217 +fi
6.5218 +rm -f conftest.err conftest.$ac_ext
6.5219 +
6.5220 +done
6.5221 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.5222 +rm -f conftest.err conftest.$ac_ext
6.5223 +if $ac_preproc_ok; then
6.5224 + :
6.5225 +else
6.5226 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6.5227 +See \`config.log' for more details." >&5
6.5228 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6.5229 +See \`config.log' for more details." >&2;}
6.5230 + { (exit 1); exit 1; }; }
6.5231 +fi
6.5232 +
6.5233 +ac_ext=cc
6.5234 +ac_cpp='$CXXCPP $CPPFLAGS'
6.5235 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.5236 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.5237 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.5238 +
6.5239 +fi
6.5240 +
6.5241 +
6.5242 +ac_ext=f
6.5243 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6.5244 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.5245 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6.5246 +if test -n "$ac_tool_prefix"; then
6.5247 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6.5248 + do
6.5249 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6.5250 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6.5251 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5252 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5253 +if test "${ac_cv_prog_F77+set}" = set; then
6.5254 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5255 +else
6.5256 + if test -n "$F77"; then
6.5257 + ac_cv_prog_F77="$F77" # Let the user override the test.
6.5258 +else
6.5259 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5260 +for as_dir in $PATH
6.5261 +do
6.5262 + IFS=$as_save_IFS
6.5263 + test -z "$as_dir" && as_dir=.
6.5264 + for ac_exec_ext in '' $ac_executable_extensions; do
6.5265 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5266 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6.5267 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5268 + break 2
6.5269 + fi
6.5270 +done
6.5271 +done
6.5272 +
6.5273 +fi
6.5274 +fi
6.5275 +F77=$ac_cv_prog_F77
6.5276 +if test -n "$F77"; then
6.5277 + echo "$as_me:$LINENO: result: $F77" >&5
6.5278 +echo "${ECHO_T}$F77" >&6
6.5279 +else
6.5280 + echo "$as_me:$LINENO: result: no" >&5
6.5281 +echo "${ECHO_T}no" >&6
6.5282 +fi
6.5283 +
6.5284 + test -n "$F77" && break
6.5285 + done
6.5286 +fi
6.5287 +if test -z "$F77"; then
6.5288 + ac_ct_F77=$F77
6.5289 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6.5290 +do
6.5291 + # Extract the first word of "$ac_prog", so it can be a program name with args.
6.5292 +set dummy $ac_prog; ac_word=$2
6.5293 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5294 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5295 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6.5296 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5297 +else
6.5298 + if test -n "$ac_ct_F77"; then
6.5299 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6.5300 +else
6.5301 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5302 +for as_dir in $PATH
6.5303 +do
6.5304 + IFS=$as_save_IFS
6.5305 + test -z "$as_dir" && as_dir=.
6.5306 + for ac_exec_ext in '' $ac_executable_extensions; do
6.5307 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5308 + ac_cv_prog_ac_ct_F77="$ac_prog"
6.5309 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5310 + break 2
6.5311 + fi
6.5312 +done
6.5313 +done
6.5314 +
6.5315 +fi
6.5316 +fi
6.5317 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
6.5318 +if test -n "$ac_ct_F77"; then
6.5319 + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6.5320 +echo "${ECHO_T}$ac_ct_F77" >&6
6.5321 +else
6.5322 + echo "$as_me:$LINENO: result: no" >&5
6.5323 +echo "${ECHO_T}no" >&6
6.5324 +fi
6.5325 +
6.5326 + test -n "$ac_ct_F77" && break
6.5327 +done
6.5328 +
6.5329 + F77=$ac_ct_F77
6.5330 +fi
6.5331 +
6.5332 +
6.5333 +# Provide some information about the compiler.
6.5334 +echo "$as_me:__oline__:" \
6.5335 + "checking for Fortran 77 compiler version" >&5
6.5336 +ac_compiler=`set X $ac_compile; echo $2`
6.5337 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6.5338 + (eval $ac_compiler --version </dev/null >&5) 2>&5
6.5339 + ac_status=$?
6.5340 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5341 + (exit $ac_status); }
6.5342 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6.5343 + (eval $ac_compiler -v </dev/null >&5) 2>&5
6.5344 + ac_status=$?
6.5345 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5346 + (exit $ac_status); }
6.5347 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6.5348 + (eval $ac_compiler -V </dev/null >&5) 2>&5
6.5349 + ac_status=$?
6.5350 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5351 + (exit $ac_status); }
6.5352 +rm -f a.out
6.5353 +
6.5354 +# If we don't use `.F' as extension, the preprocessor is not run on the
6.5355 +# input file. (Note that this only needs to work for GNU compilers.)
6.5356 +ac_save_ext=$ac_ext
6.5357 +ac_ext=F
6.5358 +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6.5359 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
6.5360 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6.5361 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5362 +else
6.5363 + cat >conftest.$ac_ext <<_ACEOF
6.5364 + program main
6.5365 +#ifndef __GNUC__
6.5366 + choke me
6.5367 +#endif
6.5368 +
6.5369 + end
6.5370 +_ACEOF
6.5371 +rm -f conftest.$ac_objext
6.5372 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.5373 + (eval $ac_compile) 2>conftest.er1
6.5374 + ac_status=$?
6.5375 + grep -v '^ *+' conftest.er1 >conftest.err
6.5376 + rm -f conftest.er1
6.5377 + cat conftest.err >&5
6.5378 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5379 + (exit $ac_status); } &&
6.5380 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6.5381 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.5382 + (eval $ac_try) 2>&5
6.5383 + ac_status=$?
6.5384 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5385 + (exit $ac_status); }; } &&
6.5386 + { ac_try='test -s conftest.$ac_objext'
6.5387 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.5388 + (eval $ac_try) 2>&5
6.5389 + ac_status=$?
6.5390 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5391 + (exit $ac_status); }; }; then
6.5392 + ac_compiler_gnu=yes
6.5393 +else
6.5394 + echo "$as_me: failed program was:" >&5
6.5395 +sed 's/^/| /' conftest.$ac_ext >&5
6.5396 +
6.5397 +ac_compiler_gnu=no
6.5398 +fi
6.5399 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.5400 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6.5401 +
6.5402 +fi
6.5403 +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6.5404 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6.5405 +ac_ext=$ac_save_ext
6.5406 +ac_test_FFLAGS=${FFLAGS+set}
6.5407 +ac_save_FFLAGS=$FFLAGS
6.5408 +FFLAGS=
6.5409 +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6.5410 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
6.5411 +if test "${ac_cv_prog_f77_g+set}" = set; then
6.5412 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5413 +else
6.5414 + FFLAGS=-g
6.5415 +cat >conftest.$ac_ext <<_ACEOF
6.5416 + program main
6.5417 +
6.5418 + end
6.5419 +_ACEOF
6.5420 +rm -f conftest.$ac_objext
6.5421 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.5422 + (eval $ac_compile) 2>conftest.er1
6.5423 + ac_status=$?
6.5424 + grep -v '^ *+' conftest.er1 >conftest.err
6.5425 + rm -f conftest.er1
6.5426 + cat conftest.err >&5
6.5427 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5428 + (exit $ac_status); } &&
6.5429 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6.5430 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.5431 + (eval $ac_try) 2>&5
6.5432 + ac_status=$?
6.5433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5434 + (exit $ac_status); }; } &&
6.5435 + { ac_try='test -s conftest.$ac_objext'
6.5436 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.5437 + (eval $ac_try) 2>&5
6.5438 + ac_status=$?
6.5439 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5440 + (exit $ac_status); }; }; then
6.5441 + ac_cv_prog_f77_g=yes
6.5442 +else
6.5443 + echo "$as_me: failed program was:" >&5
6.5444 +sed 's/^/| /' conftest.$ac_ext >&5
6.5445 +
6.5446 +ac_cv_prog_f77_g=no
6.5447 +fi
6.5448 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.5449 +
6.5450 +fi
6.5451 +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6.5452 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
6.5453 +if test "$ac_test_FFLAGS" = set; then
6.5454 + FFLAGS=$ac_save_FFLAGS
6.5455 +elif test $ac_cv_prog_f77_g = yes; then
6.5456 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6.5457 + FFLAGS="-g -O2"
6.5458 + else
6.5459 + FFLAGS="-g"
6.5460 + fi
6.5461 +else
6.5462 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6.5463 + FFLAGS="-O2"
6.5464 + else
6.5465 + FFLAGS=
6.5466 + fi
6.5467 +fi
6.5468 +
6.5469 +G77=`test $ac_compiler_gnu = yes && echo yes`
6.5470 +ac_ext=c
6.5471 +ac_cpp='$CPP $CPPFLAGS'
6.5472 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.5473 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.5474 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.5475 +
6.5476 +
6.5477 +
6.5478 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6.5479 +
6.5480 +# find the maximum length of command line arguments
6.5481 +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6.5482 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6.5483 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6.5484 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5485 +else
6.5486 + i=0
6.5487 + teststring="ABCD"
6.5488 +
6.5489 + case $build_os in
6.5490 + msdosdjgpp*)
6.5491 + # On DJGPP, this test can blow up pretty badly due to problems in libc
6.5492 + # (any single argument exceeding 2000 bytes causes a buffer overrun
6.5493 + # during glob expansion). Even if it were fixed, the result of this
6.5494 + # check would be larger than it should be.
6.5495 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
6.5496 + ;;
6.5497 +
6.5498 + gnu*)
6.5499 + # Under GNU Hurd, this test is not required because there is
6.5500 + # no limit to the length of command line arguments.
6.5501 + # Libtool will interpret -1 as no limit whatsoever
6.5502 + lt_cv_sys_max_cmd_len=-1;
6.5503 + ;;
6.5504 +
6.5505 + cygwin* | mingw*)
6.5506 + # On Win9x/ME, this test blows up -- it succeeds, but takes
6.5507 + # about 5 minutes as the teststring grows exponentially.
6.5508 + # Worse, since 9x/ME are not pre-emptively multitasking,
6.5509 + # you end up with a "frozen" computer, even though with patience
6.5510 + # the test eventually succeeds (with a max line length of 256k).
6.5511 + # Instead, let's just punt: use the minimum linelength reported by
6.5512 + # all of the supported platforms: 8192 (on NT/2K/XP).
6.5513 + lt_cv_sys_max_cmd_len=8192;
6.5514 + ;;
6.5515 +
6.5516 + amigaos*)
6.5517 + # On AmigaOS with pdksh, this test takes hours, literally.
6.5518 + # So we just punt and use a minimum line length of 8192.
6.5519 + lt_cv_sys_max_cmd_len=8192;
6.5520 + ;;
6.5521 +
6.5522 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6.5523 + # This has been around since 386BSD, at least. Likely further.
6.5524 + if test -x /sbin/sysctl; then
6.5525 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6.5526 + elif test -x /usr/sbin/sysctl; then
6.5527 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6.5528 + else
6.5529 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6.5530 + fi
6.5531 + # And add a safety zone
6.5532 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6.5533 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6.5534 + ;;
6.5535 + osf*)
6.5536 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6.5537 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6.5538 + # nice to cause kernel panics so lets avoid the loop below.
6.5539 + # First set a reasonable default.
6.5540 + lt_cv_sys_max_cmd_len=16384
6.5541 + #
6.5542 + if test -x /sbin/sysconfig; then
6.5543 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6.5544 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
6.5545 + esac
6.5546 + fi
6.5547 + ;;
6.5548 + *)
6.5549 + # If test is not a shell built-in, we'll probably end up computing a
6.5550 + # maximum length that is only half of the actual maximum length, but
6.5551 + # we can't tell.
6.5552 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6.5553 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6.5554 + = "XX$teststring") >/dev/null 2>&1 &&
6.5555 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
6.5556 + lt_cv_sys_max_cmd_len=$new_result &&
6.5557 + test $i != 17 # 1/2 MB should be enough
6.5558 + do
6.5559 + i=`expr $i + 1`
6.5560 + teststring=$teststring$teststring
6.5561 + done
6.5562 + teststring=
6.5563 + # Add a significant safety factor because C++ compilers can tack on massive
6.5564 + # amounts of additional arguments before passing them to the linker.
6.5565 + # It appears as though 1/2 is a usable value.
6.5566 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6.5567 + ;;
6.5568 + esac
6.5569 +
6.5570 +fi
6.5571 +
6.5572 +if test -n $lt_cv_sys_max_cmd_len ; then
6.5573 + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6.5574 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6.5575 +else
6.5576 + echo "$as_me:$LINENO: result: none" >&5
6.5577 +echo "${ECHO_T}none" >&6
6.5578 +fi
6.5579 +
6.5580 +
6.5581 +
6.5582 +
6.5583 +# Check for command to grab the raw symbol name followed by C symbol from nm.
6.5584 +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6.5585 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6.5586 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6.5587 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5588 +else
6.5589 +
6.5590 +# These are sane defaults that work on at least a few old systems.
6.5591 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6.5592 +
6.5593 +# Character class describing NM global symbol codes.
6.5594 +symcode='[BCDEGRST]'
6.5595 +
6.5596 +# Regexp to match symbols that can be accessed directly from C.
6.5597 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6.5598 +
6.5599 +# Transform an extracted symbol line into a proper C declaration
6.5600 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6.5601 +
6.5602 +# Transform an extracted symbol line into symbol name and symbol address
6.5603 +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'"
6.5604 +
6.5605 +# Define system-specific variables.
6.5606 +case $host_os in
6.5607 +aix*)
6.5608 + symcode='[BCDT]'
6.5609 + ;;
6.5610 +cygwin* | mingw* | pw32*)
6.5611 + symcode='[ABCDGISTW]'
6.5612 + ;;
6.5613 +hpux*) # Its linker distinguishes data from code symbols
6.5614 + if test "$host_cpu" = ia64; then
6.5615 + symcode='[ABCDEGRST]'
6.5616 + fi
6.5617 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6.5618 + 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'"
6.5619 + ;;
6.5620 +linux*)
6.5621 + if test "$host_cpu" = ia64; then
6.5622 + symcode='[ABCDGIRSTW]'
6.5623 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6.5624 + 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'"
6.5625 + fi
6.5626 + ;;
6.5627 +irix* | nonstopux*)
6.5628 + symcode='[BCDEGRST]'
6.5629 + ;;
6.5630 +osf*)
6.5631 + symcode='[BCDEGQRST]'
6.5632 + ;;
6.5633 +solaris* | sysv5*)
6.5634 + symcode='[BDRT]'
6.5635 + ;;
6.5636 +sysv4)
6.5637 + symcode='[DFNSTU]'
6.5638 + ;;
6.5639 +esac
6.5640 +
6.5641 +# Handle CRLF in mingw tool chain
6.5642 +opt_cr=
6.5643 +case $build_os in
6.5644 +mingw*)
6.5645 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6.5646 + ;;
6.5647 +esac
6.5648 +
6.5649 +# If we're using GNU nm, then use its standard symbol codes.
6.5650 +case `$NM -V 2>&1` in
6.5651 +*GNU* | *'with BFD'*)
6.5652 + symcode='[ABCDGIRSTW]' ;;
6.5653 +esac
6.5654 +
6.5655 +# Try without a prefix undercore, then with it.
6.5656 +for ac_symprfx in "" "_"; do
6.5657 +
6.5658 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6.5659 + symxfrm="\\1 $ac_symprfx\\2 \\2"
6.5660 +
6.5661 + # Write the raw and C identifiers.
6.5662 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6.5663 +
6.5664 + # Check to see that the pipe works correctly.
6.5665 + pipe_works=no
6.5666 +
6.5667 + rm -f conftest*
6.5668 + cat > conftest.$ac_ext <<EOF
6.5669 +#ifdef __cplusplus
6.5670 +extern "C" {
6.5671 +#endif
6.5672 +char nm_test_var;
6.5673 +void nm_test_func(){}
6.5674 +#ifdef __cplusplus
6.5675 +}
6.5676 +#endif
6.5677 +int main(){nm_test_var='a';nm_test_func();return(0);}
6.5678 +EOF
6.5679 +
6.5680 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.5681 + (eval $ac_compile) 2>&5
6.5682 + ac_status=$?
6.5683 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5684 + (exit $ac_status); }; then
6.5685 + # Now try to grab the symbols.
6.5686 + nlist=conftest.nm
6.5687 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6.5688 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6.5689 + ac_status=$?
6.5690 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5691 + (exit $ac_status); } && test -s "$nlist"; then
6.5692 + # Try sorting and uniquifying the output.
6.5693 + if sort "$nlist" | uniq > "$nlist"T; then
6.5694 + mv -f "$nlist"T "$nlist"
6.5695 + else
6.5696 + rm -f "$nlist"T
6.5697 + fi
6.5698 +
6.5699 + # Make sure that we snagged all the symbols we need.
6.5700 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
6.5701 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
6.5702 + cat <<EOF > conftest.$ac_ext
6.5703 +#ifdef __cplusplus
6.5704 +extern "C" {
6.5705 +#endif
6.5706 +
6.5707 +EOF
6.5708 + # Now generate the symbol file.
6.5709 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6.5710 +
6.5711 + cat <<EOF >> conftest.$ac_ext
6.5712 +#if defined (__STDC__) && __STDC__
6.5713 +# define lt_ptr_t void *
6.5714 +#else
6.5715 +# define lt_ptr_t char *
6.5716 +# define const
6.5717 +#endif
6.5718 +
6.5719 +/* The mapping between symbol names and symbols. */
6.5720 +const struct {
6.5721 + const char *name;
6.5722 + lt_ptr_t address;
6.5723 +}
6.5724 +lt_preloaded_symbols[] =
6.5725 +{
6.5726 +EOF
6.5727 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6.5728 + cat <<\EOF >> conftest.$ac_ext
6.5729 + {0, (lt_ptr_t) 0}
6.5730 +};
6.5731 +
6.5732 +#ifdef __cplusplus
6.5733 +}
6.5734 +#endif
6.5735 +EOF
6.5736 + # Now try linking the two files.
6.5737 + mv conftest.$ac_objext conftstm.$ac_objext
6.5738 + lt_save_LIBS="$LIBS"
6.5739 + lt_save_CFLAGS="$CFLAGS"
6.5740 + LIBS="conftstm.$ac_objext"
6.5741 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6.5742 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.5743 + (eval $ac_link) 2>&5
6.5744 + ac_status=$?
6.5745 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.5746 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
6.5747 + pipe_works=yes
6.5748 + fi
6.5749 + LIBS="$lt_save_LIBS"
6.5750 + CFLAGS="$lt_save_CFLAGS"
6.5751 + else
6.5752 + echo "cannot find nm_test_func in $nlist" >&5
6.5753 + fi
6.5754 + else
6.5755 + echo "cannot find nm_test_var in $nlist" >&5
6.5756 + fi
6.5757 + else
6.5758 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6.5759 + fi
6.5760 + else
6.5761 + echo "$progname: failed program was:" >&5
6.5762 + cat conftest.$ac_ext >&5
6.5763 + fi
6.5764 + rm -f conftest* conftst*
6.5765 +
6.5766 + # Do not use the global_symbol_pipe unless it works.
6.5767 + if test "$pipe_works" = yes; then
6.5768 + break
6.5769 + else
6.5770 + lt_cv_sys_global_symbol_pipe=
6.5771 + fi
6.5772 +done
6.5773 +
6.5774 +fi
6.5775 +
6.5776 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
6.5777 + lt_cv_sys_global_symbol_to_cdecl=
6.5778 +fi
6.5779 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6.5780 + echo "$as_me:$LINENO: result: failed" >&5
6.5781 +echo "${ECHO_T}failed" >&6
6.5782 +else
6.5783 + echo "$as_me:$LINENO: result: ok" >&5
6.5784 +echo "${ECHO_T}ok" >&6
6.5785 +fi
6.5786 +
6.5787 +echo "$as_me:$LINENO: checking for objdir" >&5
6.5788 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6.5789 +if test "${lt_cv_objdir+set}" = set; then
6.5790 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5791 +else
6.5792 + rm -f .libs 2>/dev/null
6.5793 +mkdir .libs 2>/dev/null
6.5794 +if test -d .libs; then
6.5795 + lt_cv_objdir=.libs
6.5796 +else
6.5797 + # MS-DOS does not allow filenames that begin with a dot.
6.5798 + lt_cv_objdir=_libs
6.5799 +fi
6.5800 +rmdir .libs 2>/dev/null
6.5801 +fi
6.5802 +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6.5803 +echo "${ECHO_T}$lt_cv_objdir" >&6
6.5804 +objdir=$lt_cv_objdir
6.5805 +
6.5806 +
6.5807 +
6.5808 +
6.5809 +
6.5810 +case $host_os in
6.5811 +aix3*)
6.5812 + # AIX sometimes has problems with the GCC collect2 program. For some
6.5813 + # reason, if we set the COLLECT_NAMES environment variable, the problems
6.5814 + # vanish in a puff of smoke.
6.5815 + if test "X${COLLECT_NAMES+set}" != Xset; then
6.5816 + COLLECT_NAMES=
6.5817 + export COLLECT_NAMES
6.5818 + fi
6.5819 + ;;
6.5820 +esac
6.5821 +
6.5822 +# Sed substitution that helps us do robust quoting. It backslashifies
6.5823 +# metacharacters that are still active within double-quoted strings.
6.5824 +Xsed='sed -e 1s/^X//'
6.5825 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6.5826 +
6.5827 +# Same as above, but do not quote variable references.
6.5828 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6.5829 +
6.5830 +# Sed substitution to delay expansion of an escaped shell variable in a
6.5831 +# double_quote_subst'ed string.
6.5832 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6.5833 +
6.5834 +# Sed substitution to avoid accidental globbing in evaled expressions
6.5835 +no_glob_subst='s/\*/\\\*/g'
6.5836 +
6.5837 +# Constants:
6.5838 +rm="rm -f"
6.5839 +
6.5840 +# Global variables:
6.5841 +default_ofile=libtool
6.5842 +can_build_shared=yes
6.5843 +
6.5844 +# All known linkers require a `.a' archive for static linking (except MSVC,
6.5845 +# which needs '.lib').
6.5846 +libext=a
6.5847 +ltmain="$ac_aux_dir/ltmain.sh"
6.5848 +ofile="$default_ofile"
6.5849 +with_gnu_ld="$lt_cv_prog_gnu_ld"
6.5850 +
6.5851 +if test -n "$ac_tool_prefix"; then
6.5852 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6.5853 +set dummy ${ac_tool_prefix}ar; ac_word=$2
6.5854 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5855 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5856 +if test "${ac_cv_prog_AR+set}" = set; then
6.5857 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5858 +else
6.5859 + if test -n "$AR"; then
6.5860 + ac_cv_prog_AR="$AR" # Let the user override the test.
6.5861 +else
6.5862 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5863 +for as_dir in $PATH
6.5864 +do
6.5865 + IFS=$as_save_IFS
6.5866 + test -z "$as_dir" && as_dir=.
6.5867 + for ac_exec_ext in '' $ac_executable_extensions; do
6.5868 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5869 + ac_cv_prog_AR="${ac_tool_prefix}ar"
6.5870 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5871 + break 2
6.5872 + fi
6.5873 +done
6.5874 +done
6.5875 +
6.5876 +fi
6.5877 +fi
6.5878 +AR=$ac_cv_prog_AR
6.5879 +if test -n "$AR"; then
6.5880 + echo "$as_me:$LINENO: result: $AR" >&5
6.5881 +echo "${ECHO_T}$AR" >&6
6.5882 +else
6.5883 + echo "$as_me:$LINENO: result: no" >&5
6.5884 +echo "${ECHO_T}no" >&6
6.5885 +fi
6.5886 +
6.5887 +fi
6.5888 +if test -z "$ac_cv_prog_AR"; then
6.5889 + ac_ct_AR=$AR
6.5890 + # Extract the first word of "ar", so it can be a program name with args.
6.5891 +set dummy ar; ac_word=$2
6.5892 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5893 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5894 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6.5895 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5896 +else
6.5897 + if test -n "$ac_ct_AR"; then
6.5898 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6.5899 +else
6.5900 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5901 +for as_dir in $PATH
6.5902 +do
6.5903 + IFS=$as_save_IFS
6.5904 + test -z "$as_dir" && as_dir=.
6.5905 + for ac_exec_ext in '' $ac_executable_extensions; do
6.5906 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5907 + ac_cv_prog_ac_ct_AR="ar"
6.5908 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5909 + break 2
6.5910 + fi
6.5911 +done
6.5912 +done
6.5913 +
6.5914 + test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6.5915 +fi
6.5916 +fi
6.5917 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
6.5918 +if test -n "$ac_ct_AR"; then
6.5919 + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6.5920 +echo "${ECHO_T}$ac_ct_AR" >&6
6.5921 +else
6.5922 + echo "$as_me:$LINENO: result: no" >&5
6.5923 +echo "${ECHO_T}no" >&6
6.5924 +fi
6.5925 +
6.5926 + AR=$ac_ct_AR
6.5927 +else
6.5928 + AR="$ac_cv_prog_AR"
6.5929 +fi
6.5930 +
6.5931 +if test -n "$ac_tool_prefix"; then
6.5932 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6.5933 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6.5934 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5935 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5936 +if test "${ac_cv_prog_RANLIB+set}" = set; then
6.5937 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5938 +else
6.5939 + if test -n "$RANLIB"; then
6.5940 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6.5941 +else
6.5942 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5943 +for as_dir in $PATH
6.5944 +do
6.5945 + IFS=$as_save_IFS
6.5946 + test -z "$as_dir" && as_dir=.
6.5947 + for ac_exec_ext in '' $ac_executable_extensions; do
6.5948 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5949 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6.5950 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5951 + break 2
6.5952 + fi
6.5953 +done
6.5954 +done
6.5955 +
6.5956 +fi
6.5957 +fi
6.5958 +RANLIB=$ac_cv_prog_RANLIB
6.5959 +if test -n "$RANLIB"; then
6.5960 + echo "$as_me:$LINENO: result: $RANLIB" >&5
6.5961 +echo "${ECHO_T}$RANLIB" >&6
6.5962 +else
6.5963 + echo "$as_me:$LINENO: result: no" >&5
6.5964 +echo "${ECHO_T}no" >&6
6.5965 +fi
6.5966 +
6.5967 +fi
6.5968 +if test -z "$ac_cv_prog_RANLIB"; then
6.5969 + ac_ct_RANLIB=$RANLIB
6.5970 + # Extract the first word of "ranlib", so it can be a program name with args.
6.5971 +set dummy ranlib; ac_word=$2
6.5972 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.5973 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.5974 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6.5975 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.5976 +else
6.5977 + if test -n "$ac_ct_RANLIB"; then
6.5978 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6.5979 +else
6.5980 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.5981 +for as_dir in $PATH
6.5982 +do
6.5983 + IFS=$as_save_IFS
6.5984 + test -z "$as_dir" && as_dir=.
6.5985 + for ac_exec_ext in '' $ac_executable_extensions; do
6.5986 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.5987 + ac_cv_prog_ac_ct_RANLIB="ranlib"
6.5988 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.5989 + break 2
6.5990 + fi
6.5991 +done
6.5992 +done
6.5993 +
6.5994 + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6.5995 +fi
6.5996 +fi
6.5997 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6.5998 +if test -n "$ac_ct_RANLIB"; then
6.5999 + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6.6000 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
6.6001 +else
6.6002 + echo "$as_me:$LINENO: result: no" >&5
6.6003 +echo "${ECHO_T}no" >&6
6.6004 +fi
6.6005 +
6.6006 + RANLIB=$ac_ct_RANLIB
6.6007 +else
6.6008 + RANLIB="$ac_cv_prog_RANLIB"
6.6009 +fi
6.6010 +
6.6011 +if test -n "$ac_tool_prefix"; then
6.6012 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6.6013 +set dummy ${ac_tool_prefix}strip; ac_word=$2
6.6014 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.6015 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.6016 +if test "${ac_cv_prog_STRIP+set}" = set; then
6.6017 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.6018 +else
6.6019 + if test -n "$STRIP"; then
6.6020 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6.6021 +else
6.6022 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.6023 +for as_dir in $PATH
6.6024 +do
6.6025 + IFS=$as_save_IFS
6.6026 + test -z "$as_dir" && as_dir=.
6.6027 + for ac_exec_ext in '' $ac_executable_extensions; do
6.6028 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.6029 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6.6030 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.6031 + break 2
6.6032 + fi
6.6033 +done
6.6034 +done
6.6035 +
6.6036 +fi
6.6037 +fi
6.6038 +STRIP=$ac_cv_prog_STRIP
6.6039 +if test -n "$STRIP"; then
6.6040 + echo "$as_me:$LINENO: result: $STRIP" >&5
6.6041 +echo "${ECHO_T}$STRIP" >&6
6.6042 +else
6.6043 + echo "$as_me:$LINENO: result: no" >&5
6.6044 +echo "${ECHO_T}no" >&6
6.6045 +fi
6.6046 +
6.6047 +fi
6.6048 +if test -z "$ac_cv_prog_STRIP"; then
6.6049 + ac_ct_STRIP=$STRIP
6.6050 + # Extract the first word of "strip", so it can be a program name with args.
6.6051 +set dummy strip; ac_word=$2
6.6052 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.6053 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.6054 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6.6055 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.6056 +else
6.6057 + if test -n "$ac_ct_STRIP"; then
6.6058 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6.6059 +else
6.6060 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.6061 +for as_dir in $PATH
6.6062 +do
6.6063 + IFS=$as_save_IFS
6.6064 + test -z "$as_dir" && as_dir=.
6.6065 + for ac_exec_ext in '' $ac_executable_extensions; do
6.6066 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.6067 + ac_cv_prog_ac_ct_STRIP="strip"
6.6068 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.6069 + break 2
6.6070 + fi
6.6071 +done
6.6072 +done
6.6073 +
6.6074 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6.6075 +fi
6.6076 +fi
6.6077 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6.6078 +if test -n "$ac_ct_STRIP"; then
6.6079 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6.6080 +echo "${ECHO_T}$ac_ct_STRIP" >&6
6.6081 +else
6.6082 + echo "$as_me:$LINENO: result: no" >&5
6.6083 +echo "${ECHO_T}no" >&6
6.6084 +fi
6.6085 +
6.6086 + STRIP=$ac_ct_STRIP
6.6087 +else
6.6088 + STRIP="$ac_cv_prog_STRIP"
6.6089 +fi
6.6090 +
6.6091 +
6.6092 +old_CC="$CC"
6.6093 +old_CFLAGS="$CFLAGS"
6.6094 +
6.6095 +# Set sane defaults for various variables
6.6096 +test -z "$AR" && AR=ar
6.6097 +test -z "$AR_FLAGS" && AR_FLAGS=cru
6.6098 +test -z "$AS" && AS=as
6.6099 +test -z "$CC" && CC=cc
6.6100 +test -z "$LTCC" && LTCC=$CC
6.6101 +test -z "$DLLTOOL" && DLLTOOL=dlltool
6.6102 +test -z "$LD" && LD=ld
6.6103 +test -z "$LN_S" && LN_S="ln -s"
6.6104 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
6.6105 +test -z "$NM" && NM=nm
6.6106 +test -z "$SED" && SED=sed
6.6107 +test -z "$OBJDUMP" && OBJDUMP=objdump
6.6108 +test -z "$RANLIB" && RANLIB=:
6.6109 +test -z "$STRIP" && STRIP=:
6.6110 +test -z "$ac_objext" && ac_objext=o
6.6111 +
6.6112 +# Determine commands to create old-style static archives.
6.6113 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6.6114 +old_postinstall_cmds='chmod 644 $oldlib'
6.6115 +old_postuninstall_cmds=
6.6116 +
6.6117 +if test -n "$RANLIB"; then
6.6118 + case $host_os in
6.6119 + openbsd*)
6.6120 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6.6121 + ;;
6.6122 + *)
6.6123 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
6.6124 + ;;
6.6125 + esac
6.6126 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6.6127 +fi
6.6128 +
6.6129 +for cc_temp in $compiler""; do
6.6130 + case $cc_temp in
6.6131 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.6132 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.6133 + \-*) ;;
6.6134 + *) break;;
6.6135 + esac
6.6136 +done
6.6137 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.6138 +
6.6139 +
6.6140 +# Only perform the check for file, if the check method requires it
6.6141 +case $deplibs_check_method in
6.6142 +file_magic*)
6.6143 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6.6144 + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6.6145 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6.6146 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6.6147 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.6148 +else
6.6149 + case $MAGIC_CMD in
6.6150 +[\\/*] | ?:[\\/]*)
6.6151 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6.6152 + ;;
6.6153 +*)
6.6154 + lt_save_MAGIC_CMD="$MAGIC_CMD"
6.6155 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.6156 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6.6157 + for ac_dir in $ac_dummy; do
6.6158 + IFS="$lt_save_ifs"
6.6159 + test -z "$ac_dir" && ac_dir=.
6.6160 + if test -f $ac_dir/${ac_tool_prefix}file; then
6.6161 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6.6162 + if test -n "$file_magic_test_file"; then
6.6163 + case $deplibs_check_method in
6.6164 + "file_magic "*)
6.6165 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6.6166 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6.6167 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6.6168 + $EGREP "$file_magic_regex" > /dev/null; then
6.6169 + :
6.6170 + else
6.6171 + cat <<EOF 1>&2
6.6172 +
6.6173 +*** Warning: the command libtool uses to detect shared libraries,
6.6174 +*** $file_magic_cmd, produces output that libtool cannot recognize.
6.6175 +*** The result is that libtool may fail to recognize shared libraries
6.6176 +*** as such. This will affect the creation of libtool libraries that
6.6177 +*** depend on shared libraries, but programs linked with such libtool
6.6178 +*** libraries will work regardless of this problem. Nevertheless, you
6.6179 +*** may want to report the problem to your system manager and/or to
6.6180 +*** bug-libtool@gnu.org
6.6181 +
6.6182 +EOF
6.6183 + fi ;;
6.6184 + esac
6.6185 + fi
6.6186 + break
6.6187 + fi
6.6188 + done
6.6189 + IFS="$lt_save_ifs"
6.6190 + MAGIC_CMD="$lt_save_MAGIC_CMD"
6.6191 + ;;
6.6192 +esac
6.6193 +fi
6.6194 +
6.6195 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6.6196 +if test -n "$MAGIC_CMD"; then
6.6197 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6.6198 +echo "${ECHO_T}$MAGIC_CMD" >&6
6.6199 +else
6.6200 + echo "$as_me:$LINENO: result: no" >&5
6.6201 +echo "${ECHO_T}no" >&6
6.6202 +fi
6.6203 +
6.6204 +if test -z "$lt_cv_path_MAGIC_CMD"; then
6.6205 + if test -n "$ac_tool_prefix"; then
6.6206 + echo "$as_me:$LINENO: checking for file" >&5
6.6207 +echo $ECHO_N "checking for file... $ECHO_C" >&6
6.6208 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6.6209 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.6210 +else
6.6211 + case $MAGIC_CMD in
6.6212 +[\\/*] | ?:[\\/]*)
6.6213 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6.6214 + ;;
6.6215 +*)
6.6216 + lt_save_MAGIC_CMD="$MAGIC_CMD"
6.6217 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.6218 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6.6219 + for ac_dir in $ac_dummy; do
6.6220 + IFS="$lt_save_ifs"
6.6221 + test -z "$ac_dir" && ac_dir=.
6.6222 + if test -f $ac_dir/file; then
6.6223 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
6.6224 + if test -n "$file_magic_test_file"; then
6.6225 + case $deplibs_check_method in
6.6226 + "file_magic "*)
6.6227 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6.6228 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6.6229 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6.6230 + $EGREP "$file_magic_regex" > /dev/null; then
6.6231 + :
6.6232 + else
6.6233 + cat <<EOF 1>&2
6.6234 +
6.6235 +*** Warning: the command libtool uses to detect shared libraries,
6.6236 +*** $file_magic_cmd, produces output that libtool cannot recognize.
6.6237 +*** The result is that libtool may fail to recognize shared libraries
6.6238 +*** as such. This will affect the creation of libtool libraries that
6.6239 +*** depend on shared libraries, but programs linked with such libtool
6.6240 +*** libraries will work regardless of this problem. Nevertheless, you
6.6241 +*** may want to report the problem to your system manager and/or to
6.6242 +*** bug-libtool@gnu.org
6.6243 +
6.6244 +EOF
6.6245 + fi ;;
6.6246 + esac
6.6247 + fi
6.6248 + break
6.6249 + fi
6.6250 + done
6.6251 + IFS="$lt_save_ifs"
6.6252 + MAGIC_CMD="$lt_save_MAGIC_CMD"
6.6253 + ;;
6.6254 +esac
6.6255 +fi
6.6256 +
6.6257 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6.6258 +if test -n "$MAGIC_CMD"; then
6.6259 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6.6260 +echo "${ECHO_T}$MAGIC_CMD" >&6
6.6261 +else
6.6262 + echo "$as_me:$LINENO: result: no" >&5
6.6263 +echo "${ECHO_T}no" >&6
6.6264 +fi
6.6265 +
6.6266 + else
6.6267 + MAGIC_CMD=:
6.6268 + fi
6.6269 +fi
6.6270 +
6.6271 + fi
6.6272 + ;;
6.6273 +esac
6.6274 +
6.6275 +enable_dlopen=no
6.6276 +enable_win32_dll=no
6.6277 +
6.6278 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6.6279 +if test "${enable_libtool_lock+set}" = set; then
6.6280 + enableval="$enable_libtool_lock"
6.6281 +
6.6282 +fi;
6.6283 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6.6284 +
6.6285 +
6.6286 +# Check whether --with-pic or --without-pic was given.
6.6287 +if test "${with_pic+set}" = set; then
6.6288 + withval="$with_pic"
6.6289 + pic_mode="$withval"
6.6290 +else
6.6291 + pic_mode=default
6.6292 +fi;
6.6293 +test -z "$pic_mode" && pic_mode=default
6.6294 +
6.6295 +# Use C for the default configuration in the libtool script
6.6296 +tagname=
6.6297 +lt_save_CC="$CC"
6.6298 +ac_ext=c
6.6299 +ac_cpp='$CPP $CPPFLAGS'
6.6300 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.6301 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.6302 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.6303 +
6.6304 +
6.6305 +# Source file extension for C test sources.
6.6306 +ac_ext=c
6.6307 +
6.6308 +# Object file extension for compiled C test sources.
6.6309 +objext=o
6.6310 +objext=$objext
6.6311 +
6.6312 +# Code to be used in simple compile tests
6.6313 +lt_simple_compile_test_code="int some_variable = 0;\n"
6.6314 +
6.6315 +# Code to be used in simple link tests
6.6316 +lt_simple_link_test_code='int main(){return(0);}\n'
6.6317 +
6.6318 +
6.6319 +# If no C compiler was specified, use CC.
6.6320 +LTCC=${LTCC-"$CC"}
6.6321 +
6.6322 +# Allow CC to be a program name with arguments.
6.6323 +compiler=$CC
6.6324 +
6.6325 +
6.6326 +# save warnings/boilerplate of simple test code
6.6327 +ac_outfile=conftest.$ac_objext
6.6328 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6.6329 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.6330 +_lt_compiler_boilerplate=`cat conftest.err`
6.6331 +$rm conftest*
6.6332 +
6.6333 +ac_outfile=conftest.$ac_objext
6.6334 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
6.6335 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.6336 +_lt_linker_boilerplate=`cat conftest.err`
6.6337 +$rm conftest*
6.6338 +
6.6339 +
6.6340 +#
6.6341 +# Check for any special shared library compilation flags.
6.6342 +#
6.6343 +lt_prog_cc_shlib=
6.6344 +if test "$GCC" = no; then
6.6345 + case $host_os in
6.6346 + sco3.2v5*)
6.6347 + lt_prog_cc_shlib='-belf'
6.6348 + ;;
6.6349 + esac
6.6350 +fi
6.6351 +if test -n "$lt_prog_cc_shlib"; then
6.6352 + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6.6353 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6.6354 + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6.6355 + else
6.6356 + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6.6357 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6.6358 + lt_cv_prog_cc_can_build_shared=no
6.6359 + fi
6.6360 +fi
6.6361 +
6.6362 +
6.6363 +#
6.6364 +# Check to make sure the static flag actually works.
6.6365 +#
6.6366 +echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6.6367 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6.6368 +if test "${lt_prog_compiler_static_works+set}" = set; then
6.6369 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.6370 +else
6.6371 + lt_prog_compiler_static_works=no
6.6372 + save_LDFLAGS="$LDFLAGS"
6.6373 + LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6.6374 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
6.6375 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6.6376 + # The linker can only warn and ignore the option if not recognized
6.6377 + # So say no if there are warnings
6.6378 + if test -s conftest.err; then
6.6379 + # Append any errors to the config.log.
6.6380 + cat conftest.err 1>&5
6.6381 + $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
6.6382 + $SED '/^$/d' conftest.err >conftest.er2
6.6383 + if diff conftest.exp conftest.er2 >/dev/null; then
6.6384 + lt_prog_compiler_static_works=yes
6.6385 + fi
6.6386 + else
6.6387 + lt_prog_compiler_static_works=yes
6.6388 + fi
6.6389 + fi
6.6390 + $rm conftest*
6.6391 + LDFLAGS="$save_LDFLAGS"
6.6392 +
6.6393 +fi
6.6394 +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6.6395 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6.6396 +
6.6397 +if test x"$lt_prog_compiler_static_works" = xyes; then
6.6398 + :
6.6399 +else
6.6400 + lt_prog_compiler_static=
6.6401 +fi
6.6402 +
6.6403 +
6.6404 +
6.6405 +## CAVEAT EMPTOR:
6.6406 +## There is no encapsulation within the following macros, do not change
6.6407 +## the running order or otherwise move them around unless you know exactly
6.6408 +## what you are doing...
6.6409 +
6.6410 +lt_prog_compiler_no_builtin_flag=
6.6411 +
6.6412 +if test "$GCC" = yes; then
6.6413 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6.6414 +
6.6415 +
6.6416 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6.6417 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6.6418 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6.6419 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.6420 +else
6.6421 + lt_cv_prog_compiler_rtti_exceptions=no
6.6422 + ac_outfile=conftest.$ac_objext
6.6423 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.6424 + lt_compiler_flag="-fno-rtti -fno-exceptions"
6.6425 + # Insert the option either (1) after the last *FLAGS variable, or
6.6426 + # (2) before a word containing "conftest.", or (3) at the end.
6.6427 + # Note that $ac_compile itself does not contain backslashes and begins
6.6428 + # with a dollar sign (not a hyphen), so the echo should work correctly.
6.6429 + # The option is referenced via a variable to avoid confusing sed.
6.6430 + lt_compile=`echo "$ac_compile" | $SED \
6.6431 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.6432 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.6433 + -e 's:$: $lt_compiler_flag:'`
6.6434 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.6435 + (eval "$lt_compile" 2>conftest.err)
6.6436 + ac_status=$?
6.6437 + cat conftest.err >&5
6.6438 + echo "$as_me:__oline__: \$? = $ac_status" >&5
6.6439 + if (exit $ac_status) && test -s "$ac_outfile"; then
6.6440 + # The compiler can only warn and ignore the option if not recognized
6.6441 + # So say no if there are warnings other than the usual output.
6.6442 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.6443 + $SED '/^$/d' conftest.err >conftest.er2
6.6444 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.6445 + lt_cv_prog_compiler_rtti_exceptions=yes
6.6446 + fi
6.6447 + fi
6.6448 + $rm conftest*
6.6449 +
6.6450 +fi
6.6451 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6.6452 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6.6453 +
6.6454 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6.6455 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6.6456 +else
6.6457 + :
6.6458 +fi
6.6459 +
6.6460 +fi
6.6461 +
6.6462 +lt_prog_compiler_wl=
6.6463 +lt_prog_compiler_pic=
6.6464 +lt_prog_compiler_static=
6.6465 +
6.6466 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6.6467 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6.6468 +
6.6469 + if test "$GCC" = yes; then
6.6470 + lt_prog_compiler_wl='-Wl,'
6.6471 + lt_prog_compiler_static='-static'
6.6472 +
6.6473 + case $host_os in
6.6474 + aix*)
6.6475 + # All AIX code is PIC.
6.6476 + if test "$host_cpu" = ia64; then
6.6477 + # AIX 5 now supports IA64 processor
6.6478 + lt_prog_compiler_static='-Bstatic'
6.6479 + fi
6.6480 + ;;
6.6481 +
6.6482 + amigaos*)
6.6483 + # FIXME: we need at least 68020 code to build shared libraries, but
6.6484 + # adding the `-m68020' flag to GCC prevents building anything better,
6.6485 + # like `-m68040'.
6.6486 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6.6487 + ;;
6.6488 +
6.6489 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6.6490 + # PIC is the default for these OSes.
6.6491 + ;;
6.6492 +
6.6493 + mingw* | pw32* | os2*)
6.6494 + # This hack is so that the source file can tell whether it is being
6.6495 + # built for inclusion in a dll (and should export symbols for example).
6.6496 + lt_prog_compiler_pic='-DDLL_EXPORT'
6.6497 + ;;
6.6498 +
6.6499 + darwin* | rhapsody*)
6.6500 + # PIC is the default on this platform
6.6501 + # Common symbols not allowed in MH_DYLIB files
6.6502 + lt_prog_compiler_pic='-fno-common'
6.6503 + ;;
6.6504 +
6.6505 + msdosdjgpp*)
6.6506 + # Just because we use GCC doesn't mean we suddenly get shared libraries
6.6507 + # on systems that don't support them.
6.6508 + lt_prog_compiler_can_build_shared=no
6.6509 + enable_shared=no
6.6510 + ;;
6.6511 +
6.6512 + sysv4*MP*)
6.6513 + if test -d /usr/nec; then
6.6514 + lt_prog_compiler_pic=-Kconform_pic
6.6515 + fi
6.6516 + ;;
6.6517 +
6.6518 + hpux*)
6.6519 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.6520 + # not for PA HP-UX.
6.6521 + case $host_cpu in
6.6522 + hppa*64*|ia64*)
6.6523 + # +Z the default
6.6524 + ;;
6.6525 + *)
6.6526 + lt_prog_compiler_pic='-fPIC'
6.6527 + ;;
6.6528 + esac
6.6529 + ;;
6.6530 +
6.6531 + *)
6.6532 + lt_prog_compiler_pic='-fPIC'
6.6533 + ;;
6.6534 + esac
6.6535 + else
6.6536 + # PORTME Check for flag to pass linker flags through the system compiler.
6.6537 + case $host_os in
6.6538 + aix*)
6.6539 + lt_prog_compiler_wl='-Wl,'
6.6540 + if test "$host_cpu" = ia64; then
6.6541 + # AIX 5 now supports IA64 processor
6.6542 + lt_prog_compiler_static='-Bstatic'
6.6543 + else
6.6544 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6.6545 + fi
6.6546 + ;;
6.6547 + darwin*)
6.6548 + # PIC is the default on this platform
6.6549 + # Common symbols not allowed in MH_DYLIB files
6.6550 + case $cc_basename in
6.6551 + xlc*)
6.6552 + lt_prog_compiler_pic='-qnocommon'
6.6553 + lt_prog_compiler_wl='-Wl,'
6.6554 + ;;
6.6555 + esac
6.6556 + ;;
6.6557 +
6.6558 + mingw* | pw32* | os2*)
6.6559 + # This hack is so that the source file can tell whether it is being
6.6560 + # built for inclusion in a dll (and should export symbols for example).
6.6561 + lt_prog_compiler_pic='-DDLL_EXPORT'
6.6562 + ;;
6.6563 +
6.6564 + hpux9* | hpux10* | hpux11*)
6.6565 + lt_prog_compiler_wl='-Wl,'
6.6566 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.6567 + # not for PA HP-UX.
6.6568 + case $host_cpu in
6.6569 + hppa*64*|ia64*)
6.6570 + # +Z the default
6.6571 + ;;
6.6572 + *)
6.6573 + lt_prog_compiler_pic='+Z'
6.6574 + ;;
6.6575 + esac
6.6576 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
6.6577 + lt_prog_compiler_static='${wl}-a ${wl}archive'
6.6578 + ;;
6.6579 +
6.6580 + irix5* | irix6* | nonstopux*)
6.6581 + lt_prog_compiler_wl='-Wl,'
6.6582 + # PIC (with -KPIC) is the default.
6.6583 + lt_prog_compiler_static='-non_shared'
6.6584 + ;;
6.6585 +
6.6586 + newsos6)
6.6587 + lt_prog_compiler_pic='-KPIC'
6.6588 + lt_prog_compiler_static='-Bstatic'
6.6589 + ;;
6.6590 +
6.6591 + linux*)
6.6592 + case $cc_basename in
6.6593 + icc* | ecc*)
6.6594 + lt_prog_compiler_wl='-Wl,'
6.6595 + lt_prog_compiler_pic='-KPIC'
6.6596 + lt_prog_compiler_static='-static'
6.6597 + ;;
6.6598 + pgcc* | pgf77* | pgf90* | pgf95*)
6.6599 + # Portland Group compilers (*not* the Pentium gcc compiler,
6.6600 + # which looks to be a dead project)
6.6601 + lt_prog_compiler_wl='-Wl,'
6.6602 + lt_prog_compiler_pic='-fpic'
6.6603 + lt_prog_compiler_static='-Bstatic'
6.6604 + ;;
6.6605 + ccc*)
6.6606 + lt_prog_compiler_wl='-Wl,'
6.6607 + # All Alpha code is PIC.
6.6608 + lt_prog_compiler_static='-non_shared'
6.6609 + ;;
6.6610 + esac
6.6611 + ;;
6.6612 +
6.6613 + osf3* | osf4* | osf5*)
6.6614 + lt_prog_compiler_wl='-Wl,'
6.6615 + # All OSF/1 code is PIC.
6.6616 + lt_prog_compiler_static='-non_shared'
6.6617 + ;;
6.6618 +
6.6619 + sco3.2v5*)
6.6620 + lt_prog_compiler_pic='-Kpic'
6.6621 + lt_prog_compiler_static='-dn'
6.6622 + ;;
6.6623 +
6.6624 + solaris*)
6.6625 + lt_prog_compiler_pic='-KPIC'
6.6626 + lt_prog_compiler_static='-Bstatic'
6.6627 + case $cc_basename in
6.6628 + f77* | f90* | f95*)
6.6629 + lt_prog_compiler_wl='-Qoption ld ';;
6.6630 + *)
6.6631 + lt_prog_compiler_wl='-Wl,';;
6.6632 + esac
6.6633 + ;;
6.6634 +
6.6635 + sunos4*)
6.6636 + lt_prog_compiler_wl='-Qoption ld '
6.6637 + lt_prog_compiler_pic='-PIC'
6.6638 + lt_prog_compiler_static='-Bstatic'
6.6639 + ;;
6.6640 +
6.6641 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.6642 + lt_prog_compiler_wl='-Wl,'
6.6643 + lt_prog_compiler_pic='-KPIC'
6.6644 + lt_prog_compiler_static='-Bstatic'
6.6645 + ;;
6.6646 +
6.6647 + sysv4*MP*)
6.6648 + if test -d /usr/nec ;then
6.6649 + lt_prog_compiler_pic='-Kconform_pic'
6.6650 + lt_prog_compiler_static='-Bstatic'
6.6651 + fi
6.6652 + ;;
6.6653 +
6.6654 + unicos*)
6.6655 + lt_prog_compiler_wl='-Wl,'
6.6656 + lt_prog_compiler_can_build_shared=no
6.6657 + ;;
6.6658 +
6.6659 + uts4*)
6.6660 + lt_prog_compiler_pic='-pic'
6.6661 + lt_prog_compiler_static='-Bstatic'
6.6662 + ;;
6.6663 +
6.6664 + *)
6.6665 + lt_prog_compiler_can_build_shared=no
6.6666 + ;;
6.6667 + esac
6.6668 + fi
6.6669 +
6.6670 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6.6671 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6.6672 +
6.6673 +#
6.6674 +# Check to make sure the PIC flag actually works.
6.6675 +#
6.6676 +if test -n "$lt_prog_compiler_pic"; then
6.6677 +
6.6678 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6.6679 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6.6680 +if test "${lt_prog_compiler_pic_works+set}" = set; then
6.6681 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.6682 +else
6.6683 + lt_prog_compiler_pic_works=no
6.6684 + ac_outfile=conftest.$ac_objext
6.6685 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.6686 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6.6687 + # Insert the option either (1) after the last *FLAGS variable, or
6.6688 + # (2) before a word containing "conftest.", or (3) at the end.
6.6689 + # Note that $ac_compile itself does not contain backslashes and begins
6.6690 + # with a dollar sign (not a hyphen), so the echo should work correctly.
6.6691 + # The option is referenced via a variable to avoid confusing sed.
6.6692 + lt_compile=`echo "$ac_compile" | $SED \
6.6693 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.6694 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.6695 + -e 's:$: $lt_compiler_flag:'`
6.6696 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.6697 + (eval "$lt_compile" 2>conftest.err)
6.6698 + ac_status=$?
6.6699 + cat conftest.err >&5
6.6700 + echo "$as_me:__oline__: \$? = $ac_status" >&5
6.6701 + if (exit $ac_status) && test -s "$ac_outfile"; then
6.6702 + # The compiler can only warn and ignore the option if not recognized
6.6703 + # So say no if there are warnings other than the usual output.
6.6704 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.6705 + $SED '/^$/d' conftest.err >conftest.er2
6.6706 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.6707 + lt_prog_compiler_pic_works=yes
6.6708 + fi
6.6709 + fi
6.6710 + $rm conftest*
6.6711 +
6.6712 +fi
6.6713 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6.6714 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6.6715 +
6.6716 +if test x"$lt_prog_compiler_pic_works" = xyes; then
6.6717 + case $lt_prog_compiler_pic in
6.6718 + "" | " "*) ;;
6.6719 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6.6720 + esac
6.6721 +else
6.6722 + lt_prog_compiler_pic=
6.6723 + lt_prog_compiler_can_build_shared=no
6.6724 +fi
6.6725 +
6.6726 +fi
6.6727 +case $host_os in
6.6728 + # For platforms which do not support PIC, -DPIC is meaningless:
6.6729 + *djgpp*)
6.6730 + lt_prog_compiler_pic=
6.6731 + ;;
6.6732 + *)
6.6733 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6.6734 + ;;
6.6735 +esac
6.6736 +
6.6737 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6.6738 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6.6739 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6.6740 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.6741 +else
6.6742 + lt_cv_prog_compiler_c_o=no
6.6743 + $rm -r conftest 2>/dev/null
6.6744 + mkdir conftest
6.6745 + cd conftest
6.6746 + mkdir out
6.6747 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.6748 +
6.6749 + lt_compiler_flag="-o out/conftest2.$ac_objext"
6.6750 + # Insert the option either (1) after the last *FLAGS variable, or
6.6751 + # (2) before a word containing "conftest.", or (3) at the end.
6.6752 + # Note that $ac_compile itself does not contain backslashes and begins
6.6753 + # with a dollar sign (not a hyphen), so the echo should work correctly.
6.6754 + lt_compile=`echo "$ac_compile" | $SED \
6.6755 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.6756 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.6757 + -e 's:$: $lt_compiler_flag:'`
6.6758 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.6759 + (eval "$lt_compile" 2>out/conftest.err)
6.6760 + ac_status=$?
6.6761 + cat out/conftest.err >&5
6.6762 + echo "$as_me:__oline__: \$? = $ac_status" >&5
6.6763 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
6.6764 + then
6.6765 + # The compiler can only warn and ignore the option if not recognized
6.6766 + # So say no if there are warnings
6.6767 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6.6768 + $SED '/^$/d' out/conftest.err >out/conftest.er2
6.6769 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6.6770 + lt_cv_prog_compiler_c_o=yes
6.6771 + fi
6.6772 + fi
6.6773 + chmod u+w . 2>&5
6.6774 + $rm conftest*
6.6775 + # SGI C++ compiler will create directory out/ii_files/ for
6.6776 + # template instantiation
6.6777 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6.6778 + $rm out/* && rmdir out
6.6779 + cd ..
6.6780 + rmdir conftest
6.6781 + $rm conftest*
6.6782 +
6.6783 +fi
6.6784 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6.6785 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6.6786 +
6.6787 +
6.6788 +hard_links="nottested"
6.6789 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6.6790 + # do not overwrite the value of need_locks provided by the user
6.6791 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6.6792 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6.6793 + hard_links=yes
6.6794 + $rm conftest*
6.6795 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.6796 + touch conftest.a
6.6797 + ln conftest.a conftest.b 2>&5 || hard_links=no
6.6798 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.6799 + echo "$as_me:$LINENO: result: $hard_links" >&5
6.6800 +echo "${ECHO_T}$hard_links" >&6
6.6801 + if test "$hard_links" = no; then
6.6802 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6.6803 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6.6804 + need_locks=warn
6.6805 + fi
6.6806 +else
6.6807 + need_locks=no
6.6808 +fi
6.6809 +
6.6810 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6.6811 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6.6812 +
6.6813 + runpath_var=
6.6814 + allow_undefined_flag=
6.6815 + enable_shared_with_static_runtimes=no
6.6816 + archive_cmds=
6.6817 + archive_expsym_cmds=
6.6818 + old_archive_From_new_cmds=
6.6819 + old_archive_from_expsyms_cmds=
6.6820 + export_dynamic_flag_spec=
6.6821 + whole_archive_flag_spec=
6.6822 + thread_safe_flag_spec=
6.6823 + hardcode_libdir_flag_spec=
6.6824 + hardcode_libdir_flag_spec_ld=
6.6825 + hardcode_libdir_separator=
6.6826 + hardcode_direct=no
6.6827 + hardcode_minus_L=no
6.6828 + hardcode_shlibpath_var=unsupported
6.6829 + link_all_deplibs=unknown
6.6830 + hardcode_automatic=no
6.6831 + module_cmds=
6.6832 + module_expsym_cmds=
6.6833 + always_export_symbols=no
6.6834 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6.6835 + # include_expsyms should be a list of space-separated symbols to be *always*
6.6836 + # included in the symbol list
6.6837 + include_expsyms=
6.6838 + # exclude_expsyms can be an extended regexp of symbols to exclude
6.6839 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
6.6840 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6.6841 + # as well as any symbol that contains `d'.
6.6842 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6.6843 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6.6844 + # platforms (ab)use it in PIC code, but their linkers get confused if
6.6845 + # the symbol is explicitly referenced. Since portable code cannot
6.6846 + # rely on this symbol name, it's probably fine to never include it in
6.6847 + # preloaded symbol tables.
6.6848 + extract_expsyms_cmds=
6.6849 + # Just being paranoid about ensuring that cc_basename is set.
6.6850 + for cc_temp in $compiler""; do
6.6851 + case $cc_temp in
6.6852 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.6853 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.6854 + \-*) ;;
6.6855 + *) break;;
6.6856 + esac
6.6857 +done
6.6858 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.6859 +
6.6860 + case $host_os in
6.6861 + cygwin* | mingw* | pw32*)
6.6862 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
6.6863 + # When not using gcc, we currently assume that we are using
6.6864 + # Microsoft Visual C++.
6.6865 + if test "$GCC" != yes; then
6.6866 + with_gnu_ld=no
6.6867 + fi
6.6868 + ;;
6.6869 + openbsd*)
6.6870 + with_gnu_ld=no
6.6871 + ;;
6.6872 + esac
6.6873 +
6.6874 + ld_shlibs=yes
6.6875 + if test "$with_gnu_ld" = yes; then
6.6876 + # If archive_cmds runs LD, not CC, wlarc should be empty
6.6877 + wlarc='${wl}'
6.6878 +
6.6879 + # Set some defaults for GNU ld with shared library support. These
6.6880 + # are reset later if shared libraries are not supported. Putting them
6.6881 + # here allows them to be overridden if necessary.
6.6882 + runpath_var=LD_RUN_PATH
6.6883 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6.6884 + export_dynamic_flag_spec='${wl}--export-dynamic'
6.6885 + # ancient GNU ld didn't support --whole-archive et. al.
6.6886 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6.6887 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6.6888 + else
6.6889 + whole_archive_flag_spec=
6.6890 + fi
6.6891 + supports_anon_versioning=no
6.6892 + case `$LD -v 2>/dev/null` in
6.6893 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6.6894 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6.6895 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6.6896 + *\ 2.11.*) ;; # other 2.11 versions
6.6897 + *) supports_anon_versioning=yes ;;
6.6898 + esac
6.6899 +
6.6900 + # See if GNU ld supports shared libraries.
6.6901 + case $host_os in
6.6902 + aix3* | aix4* | aix5*)
6.6903 + # On AIX/PPC, the GNU linker is very broken
6.6904 + if test "$host_cpu" != ia64; then
6.6905 + ld_shlibs=no
6.6906 + cat <<EOF 1>&2
6.6907 +
6.6908 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
6.6909 +*** to be unable to reliably create shared libraries on AIX.
6.6910 +*** Therefore, libtool is disabling shared libraries support. If you
6.6911 +*** really care for shared libraries, you may want to modify your PATH
6.6912 +*** so that a non-GNU linker is found, and then restart.
6.6913 +
6.6914 +EOF
6.6915 + fi
6.6916 + ;;
6.6917 +
6.6918 + amigaos*)
6.6919 + 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)'
6.6920 + hardcode_libdir_flag_spec='-L$libdir'
6.6921 + hardcode_minus_L=yes
6.6922 +
6.6923 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6.6924 + # that the semantics of dynamic libraries on AmigaOS, at least up
6.6925 + # to version 4, is to share data among multiple programs linked
6.6926 + # with the same dynamic library. Since this doesn't match the
6.6927 + # behavior of shared libraries on other platforms, we can't use
6.6928 + # them.
6.6929 + ld_shlibs=no
6.6930 + ;;
6.6931 +
6.6932 + beos*)
6.6933 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.6934 + allow_undefined_flag=unsupported
6.6935 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6.6936 + # support --undefined. This deserves some investigation. FIXME
6.6937 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.6938 + else
6.6939 + ld_shlibs=no
6.6940 + fi
6.6941 + ;;
6.6942 +
6.6943 + cygwin* | mingw* | pw32*)
6.6944 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6.6945 + # as there is no search path for DLLs.
6.6946 + hardcode_libdir_flag_spec='-L$libdir'
6.6947 + allow_undefined_flag=unsupported
6.6948 + always_export_symbols=no
6.6949 + enable_shared_with_static_runtimes=yes
6.6950 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6.6951 +
6.6952 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6.6953 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.6954 + # If the export-symbols file already is a .def file (1st line
6.6955 + # is EXPORTS), use it as is; otherwise, prepend...
6.6956 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6.6957 + cp $export_symbols $output_objdir/$soname.def;
6.6958 + else
6.6959 + echo EXPORTS > $output_objdir/$soname.def;
6.6960 + cat $export_symbols >> $output_objdir/$soname.def;
6.6961 + fi~
6.6962 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.6963 + else
6.6964 + ld_shlibs=no
6.6965 + fi
6.6966 + ;;
6.6967 +
6.6968 + linux*)
6.6969 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.6970 + tmp_addflag=
6.6971 + case $cc_basename,$host_cpu in
6.6972 + pgcc*) # Portland Group C compiler
6.6973 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.6974 + tmp_addflag=' $pic_flag'
6.6975 + ;;
6.6976 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6.6977 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.6978 + tmp_addflag=' $pic_flag -Mnomain' ;;
6.6979 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6.6980 + tmp_addflag=' -i_dynamic' ;;
6.6981 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6.6982 + tmp_addflag=' -i_dynamic -nofor_main' ;;
6.6983 + ifc* | ifort*) # Intel Fortran compiler
6.6984 + tmp_addflag=' -nofor_main' ;;
6.6985 + esac
6.6986 + archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.6987 +
6.6988 + if test $supports_anon_versioning = yes; then
6.6989 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6.6990 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6.6991 + $echo "local: *; };" >> $output_objdir/$libname.ver~
6.6992 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6.6993 + fi
6.6994 + else
6.6995 + ld_shlibs=no
6.6996 + fi
6.6997 + ;;
6.6998 +
6.6999 + netbsd*)
6.7000 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.7001 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6.7002 + wlarc=
6.7003 + else
6.7004 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.7005 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.7006 + fi
6.7007 + ;;
6.7008 +
6.7009 + solaris* | sysv5*)
6.7010 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6.7011 + ld_shlibs=no
6.7012 + cat <<EOF 1>&2
6.7013 +
6.7014 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
6.7015 +*** create shared libraries on Solaris systems. Therefore, libtool
6.7016 +*** is disabling shared libraries support. We urge you to upgrade GNU
6.7017 +*** binutils to release 2.9.1 or newer. Another option is to modify
6.7018 +*** your PATH or compiler configuration so that the native linker is
6.7019 +*** used, and then restart.
6.7020 +
6.7021 +EOF
6.7022 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.7023 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.7024 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.7025 + else
6.7026 + ld_shlibs=no
6.7027 + fi
6.7028 + ;;
6.7029 +
6.7030 + sunos4*)
6.7031 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.7032 + wlarc=
6.7033 + hardcode_direct=yes
6.7034 + hardcode_shlibpath_var=no
6.7035 + ;;
6.7036 +
6.7037 + *)
6.7038 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.7039 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.7040 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.7041 + else
6.7042 + ld_shlibs=no
6.7043 + fi
6.7044 + ;;
6.7045 + esac
6.7046 +
6.7047 + if test "$ld_shlibs" = no; then
6.7048 + runpath_var=
6.7049 + hardcode_libdir_flag_spec=
6.7050 + export_dynamic_flag_spec=
6.7051 + whole_archive_flag_spec=
6.7052 + fi
6.7053 + else
6.7054 + # PORTME fill in a description of your system's linker (not GNU ld)
6.7055 + case $host_os in
6.7056 + aix3*)
6.7057 + allow_undefined_flag=unsupported
6.7058 + always_export_symbols=yes
6.7059 + 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'
6.7060 + # Note: this linker hardcodes the directories in LIBPATH if there
6.7061 + # are no directories specified by -L.
6.7062 + hardcode_minus_L=yes
6.7063 + if test "$GCC" = yes && test -z "$link_static_flag"; then
6.7064 + # Neither direct hardcoding nor static linking is supported with a
6.7065 + # broken collect2.
6.7066 + hardcode_direct=unsupported
6.7067 + fi
6.7068 + ;;
6.7069 +
6.7070 + aix4* | aix5*)
6.7071 + if test "$host_cpu" = ia64; then
6.7072 + # On IA64, the linker does run time linking by default, so we don't
6.7073 + # have to do anything special.
6.7074 + aix_use_runtimelinking=no
6.7075 + exp_sym_flag='-Bexport'
6.7076 + no_entry_flag=""
6.7077 + else
6.7078 + # If we're using GNU nm, then we don't want the "-C" option.
6.7079 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
6.7080 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6.7081 + 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'
6.7082 + else
6.7083 + 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'
6.7084 + fi
6.7085 + aix_use_runtimelinking=no
6.7086 +
6.7087 + # Test if we are trying to use run time linking or normal
6.7088 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6.7089 + # need to do runtime linking.
6.7090 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6.7091 + for ld_flag in $LDFLAGS; do
6.7092 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6.7093 + aix_use_runtimelinking=yes
6.7094 + break
6.7095 + fi
6.7096 + done
6.7097 + esac
6.7098 +
6.7099 + exp_sym_flag='-bexport'
6.7100 + no_entry_flag='-bnoentry'
6.7101 + fi
6.7102 +
6.7103 + # When large executables or shared objects are built, AIX ld can
6.7104 + # have problems creating the table of contents. If linking a library
6.7105 + # or program results in "error TOC overflow" add -mminimal-toc to
6.7106 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6.7107 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6.7108 +
6.7109 + archive_cmds=''
6.7110 + hardcode_direct=yes
6.7111 + hardcode_libdir_separator=':'
6.7112 + link_all_deplibs=yes
6.7113 +
6.7114 + if test "$GCC" = yes; then
6.7115 + case $host_os in aix4.[012]|aix4.[012].*)
6.7116 + # We only want to do this on AIX 4.2 and lower, the check
6.7117 + # below for broken collect2 doesn't work under 4.3+
6.7118 + collect2name=`${CC} -print-prog-name=collect2`
6.7119 + if test -f "$collect2name" && \
6.7120 + strings "$collect2name" | grep resolve_lib_name >/dev/null
6.7121 + then
6.7122 + # We have reworked collect2
6.7123 + hardcode_direct=yes
6.7124 + else
6.7125 + # We have old collect2
6.7126 + hardcode_direct=unsupported
6.7127 + # It fails to find uninstalled libraries when the uninstalled
6.7128 + # path is not listed in the libpath. Setting hardcode_minus_L
6.7129 + # to unsupported forces relinking
6.7130 + hardcode_minus_L=yes
6.7131 + hardcode_libdir_flag_spec='-L$libdir'
6.7132 + hardcode_libdir_separator=
6.7133 + fi
6.7134 + esac
6.7135 + shared_flag='-shared'
6.7136 + if test "$aix_use_runtimelinking" = yes; then
6.7137 + shared_flag="$shared_flag "'${wl}-G'
6.7138 + fi
6.7139 + else
6.7140 + # not using gcc
6.7141 + if test "$host_cpu" = ia64; then
6.7142 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6.7143 + # chokes on -Wl,-G. The following line is correct:
6.7144 + shared_flag='-G'
6.7145 + else
6.7146 + if test "$aix_use_runtimelinking" = yes; then
6.7147 + shared_flag='${wl}-G'
6.7148 + else
6.7149 + shared_flag='${wl}-bM:SRE'
6.7150 + fi
6.7151 + fi
6.7152 + fi
6.7153 +
6.7154 + # It seems that -bexpall does not export symbols beginning with
6.7155 + # underscore (_), so it is better to generate a list of symbols to export.
6.7156 + always_export_symbols=yes
6.7157 + if test "$aix_use_runtimelinking" = yes; then
6.7158 + # Warning - without using the other runtime loading flags (-brtl),
6.7159 + # -berok will link without error, but may produce a broken library.
6.7160 + allow_undefined_flag='-berok'
6.7161 + # Determine the default libpath from the value encoded in an empty executable.
6.7162 + cat >conftest.$ac_ext <<_ACEOF
6.7163 +/* confdefs.h. */
6.7164 +_ACEOF
6.7165 +cat confdefs.h >>conftest.$ac_ext
6.7166 +cat >>conftest.$ac_ext <<_ACEOF
6.7167 +/* end confdefs.h. */
6.7168 +
6.7169 +int
6.7170 +main ()
6.7171 +{
6.7172 +
6.7173 + ;
6.7174 + return 0;
6.7175 +}
6.7176 +_ACEOF
6.7177 +rm -f conftest.$ac_objext conftest$ac_exeext
6.7178 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.7179 + (eval $ac_link) 2>conftest.er1
6.7180 + ac_status=$?
6.7181 + grep -v '^ *+' conftest.er1 >conftest.err
6.7182 + rm -f conftest.er1
6.7183 + cat conftest.err >&5
6.7184 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7185 + (exit $ac_status); } &&
6.7186 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.7187 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.7188 + (eval $ac_try) 2>&5
6.7189 + ac_status=$?
6.7190 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7191 + (exit $ac_status); }; } &&
6.7192 + { ac_try='test -s conftest$ac_exeext'
6.7193 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.7194 + (eval $ac_try) 2>&5
6.7195 + ac_status=$?
6.7196 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7197 + (exit $ac_status); }; }; then
6.7198 +
6.7199 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.7200 +}'`
6.7201 +# Check for a 64-bit object if we didn't find anything.
6.7202 +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; }
6.7203 +}'`; fi
6.7204 +else
6.7205 + echo "$as_me: failed program was:" >&5
6.7206 +sed 's/^/| /' conftest.$ac_ext >&5
6.7207 +
6.7208 +fi
6.7209 +rm -f conftest.err conftest.$ac_objext \
6.7210 + conftest$ac_exeext conftest.$ac_ext
6.7211 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.7212 +
6.7213 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6.7214 + 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"
6.7215 + else
6.7216 + if test "$host_cpu" = ia64; then
6.7217 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6.7218 + allow_undefined_flag="-z nodefs"
6.7219 + 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"
6.7220 + else
6.7221 + # Determine the default libpath from the value encoded in an empty executable.
6.7222 + cat >conftest.$ac_ext <<_ACEOF
6.7223 +/* confdefs.h. */
6.7224 +_ACEOF
6.7225 +cat confdefs.h >>conftest.$ac_ext
6.7226 +cat >>conftest.$ac_ext <<_ACEOF
6.7227 +/* end confdefs.h. */
6.7228 +
6.7229 +int
6.7230 +main ()
6.7231 +{
6.7232 +
6.7233 + ;
6.7234 + return 0;
6.7235 +}
6.7236 +_ACEOF
6.7237 +rm -f conftest.$ac_objext conftest$ac_exeext
6.7238 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.7239 + (eval $ac_link) 2>conftest.er1
6.7240 + ac_status=$?
6.7241 + grep -v '^ *+' conftest.er1 >conftest.err
6.7242 + rm -f conftest.er1
6.7243 + cat conftest.err >&5
6.7244 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7245 + (exit $ac_status); } &&
6.7246 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.7247 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.7248 + (eval $ac_try) 2>&5
6.7249 + ac_status=$?
6.7250 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7251 + (exit $ac_status); }; } &&
6.7252 + { ac_try='test -s conftest$ac_exeext'
6.7253 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.7254 + (eval $ac_try) 2>&5
6.7255 + ac_status=$?
6.7256 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7257 + (exit $ac_status); }; }; then
6.7258 +
6.7259 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.7260 +}'`
6.7261 +# Check for a 64-bit object if we didn't find anything.
6.7262 +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; }
6.7263 +}'`; fi
6.7264 +else
6.7265 + echo "$as_me: failed program was:" >&5
6.7266 +sed 's/^/| /' conftest.$ac_ext >&5
6.7267 +
6.7268 +fi
6.7269 +rm -f conftest.err conftest.$ac_objext \
6.7270 + conftest$ac_exeext conftest.$ac_ext
6.7271 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.7272 +
6.7273 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6.7274 + # Warning - without using the other run time loading flags,
6.7275 + # -berok will link without error, but may produce a broken library.
6.7276 + no_undefined_flag=' ${wl}-bernotok'
6.7277 + allow_undefined_flag=' ${wl}-berok'
6.7278 + # -bexpall does not export symbols beginning with underscore (_)
6.7279 + always_export_symbols=yes
6.7280 + # Exported symbols can be pulled into shared objects from archives
6.7281 + whole_archive_flag_spec=' '
6.7282 + archive_cmds_need_lc=yes
6.7283 + # This is similar to how AIX traditionally builds its shared libraries.
6.7284 + 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'
6.7285 + fi
6.7286 + fi
6.7287 + ;;
6.7288 +
6.7289 + amigaos*)
6.7290 + 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)'
6.7291 + hardcode_libdir_flag_spec='-L$libdir'
6.7292 + hardcode_minus_L=yes
6.7293 + # see comment about different semantics on the GNU ld section
6.7294 + ld_shlibs=no
6.7295 + ;;
6.7296 +
6.7297 + bsdi[45]*)
6.7298 + export_dynamic_flag_spec=-rdynamic
6.7299 + ;;
6.7300 +
6.7301 + cygwin* | mingw* | pw32*)
6.7302 + # When not using gcc, we currently assume that we are using
6.7303 + # Microsoft Visual C++.
6.7304 + # hardcode_libdir_flag_spec is actually meaningless, as there is
6.7305 + # no search path for DLLs.
6.7306 + hardcode_libdir_flag_spec=' '
6.7307 + allow_undefined_flag=unsupported
6.7308 + # Tell ltmain to make .lib files, not .a files.
6.7309 + libext=lib
6.7310 + # Tell ltmain to make .dll files, not .so files.
6.7311 + shrext_cmds=".dll"
6.7312 + # FIXME: Setting linknames here is a bad hack.
6.7313 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6.7314 + # The linker will automatically build a .lib file if we build a DLL.
6.7315 + old_archive_From_new_cmds='true'
6.7316 + # FIXME: Should let the user specify the lib program.
6.7317 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
6.7318 + fix_srcfile_path='`cygpath -w "$srcfile"`'
6.7319 + enable_shared_with_static_runtimes=yes
6.7320 + ;;
6.7321 +
6.7322 + darwin* | rhapsody*)
6.7323 + case $host_os in
6.7324 + rhapsody* | darwin1.[012])
6.7325 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
6.7326 + ;;
6.7327 + *) # Darwin 1.3 on
6.7328 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6.7329 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.7330 + else
6.7331 + case ${MACOSX_DEPLOYMENT_TARGET} in
6.7332 + 10.[012])
6.7333 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.7334 + ;;
6.7335 + 10.*)
6.7336 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
6.7337 + ;;
6.7338 + esac
6.7339 + fi
6.7340 + ;;
6.7341 + esac
6.7342 + archive_cmds_need_lc=no
6.7343 + hardcode_direct=no
6.7344 + hardcode_automatic=yes
6.7345 + hardcode_shlibpath_var=unsupported
6.7346 + whole_archive_flag_spec=''
6.7347 + link_all_deplibs=yes
6.7348 + if test "$GCC" = yes ; then
6.7349 + output_verbose_link_cmd='echo'
6.7350 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6.7351 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.7352 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.7353 + 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}'
6.7354 + 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}'
6.7355 + else
6.7356 + case $cc_basename in
6.7357 + xlc*)
6.7358 + output_verbose_link_cmd='echo'
6.7359 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
6.7360 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.7361 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.7362 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6.7363 + 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}'
6.7364 + ;;
6.7365 + *)
6.7366 + ld_shlibs=no
6.7367 + ;;
6.7368 + esac
6.7369 + fi
6.7370 + ;;
6.7371 +
6.7372 + dgux*)
6.7373 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7374 + hardcode_libdir_flag_spec='-L$libdir'
6.7375 + hardcode_shlibpath_var=no
6.7376 + ;;
6.7377 +
6.7378 + freebsd1*)
6.7379 + ld_shlibs=no
6.7380 + ;;
6.7381 +
6.7382 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6.7383 + # support. Future versions do this automatically, but an explicit c++rt0.o
6.7384 + # does not break anything, and helps significantly (at the cost of a little
6.7385 + # extra space).
6.7386 + freebsd2.2*)
6.7387 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6.7388 + hardcode_libdir_flag_spec='-R$libdir'
6.7389 + hardcode_direct=yes
6.7390 + hardcode_shlibpath_var=no
6.7391 + ;;
6.7392 +
6.7393 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6.7394 + freebsd2*)
6.7395 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.7396 + hardcode_direct=yes
6.7397 + hardcode_minus_L=yes
6.7398 + hardcode_shlibpath_var=no
6.7399 + ;;
6.7400 +
6.7401 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6.7402 + freebsd* | kfreebsd*-gnu | dragonfly*)
6.7403 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6.7404 + hardcode_libdir_flag_spec='-R$libdir'
6.7405 + hardcode_direct=yes
6.7406 + hardcode_shlibpath_var=no
6.7407 + ;;
6.7408 +
6.7409 + hpux9*)
6.7410 + if test "$GCC" = yes; then
6.7411 + 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'
6.7412 + else
6.7413 + 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'
6.7414 + fi
6.7415 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6.7416 + hardcode_libdir_separator=:
6.7417 + hardcode_direct=yes
6.7418 +
6.7419 + # hardcode_minus_L: Not really in the search PATH,
6.7420 + # but as the default location of the library.
6.7421 + hardcode_minus_L=yes
6.7422 + export_dynamic_flag_spec='${wl}-E'
6.7423 + ;;
6.7424 +
6.7425 + hpux10* | hpux11*)
6.7426 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6.7427 + case $host_cpu in
6.7428 + hppa*64*|ia64*)
6.7429 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.7430 + ;;
6.7431 + *)
6.7432 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6.7433 + ;;
6.7434 + esac
6.7435 + else
6.7436 + case $host_cpu in
6.7437 + hppa*64*|ia64*)
6.7438 + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7439 + ;;
6.7440 + *)
6.7441 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6.7442 + ;;
6.7443 + esac
6.7444 + fi
6.7445 + if test "$with_gnu_ld" = no; then
6.7446 + case $host_cpu in
6.7447 + hppa*64*)
6.7448 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6.7449 + hardcode_libdir_flag_spec_ld='+b $libdir'
6.7450 + hardcode_libdir_separator=:
6.7451 + hardcode_direct=no
6.7452 + hardcode_shlibpath_var=no
6.7453 + ;;
6.7454 + ia64*)
6.7455 + hardcode_libdir_flag_spec='-L$libdir'
6.7456 + hardcode_direct=no
6.7457 + hardcode_shlibpath_var=no
6.7458 +
6.7459 + # hardcode_minus_L: Not really in the search PATH,
6.7460 + # but as the default location of the library.
6.7461 + hardcode_minus_L=yes
6.7462 + ;;
6.7463 + *)
6.7464 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6.7465 + hardcode_libdir_separator=:
6.7466 + hardcode_direct=yes
6.7467 + export_dynamic_flag_spec='${wl}-E'
6.7468 +
6.7469 + # hardcode_minus_L: Not really in the search PATH,
6.7470 + # but as the default location of the library.
6.7471 + hardcode_minus_L=yes
6.7472 + ;;
6.7473 + esac
6.7474 + fi
6.7475 + ;;
6.7476 +
6.7477 + irix5* | irix6* | nonstopux*)
6.7478 + if test "$GCC" = yes; then
6.7479 + 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'
6.7480 + else
6.7481 + 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'
6.7482 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
6.7483 + fi
6.7484 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6.7485 + hardcode_libdir_separator=:
6.7486 + link_all_deplibs=yes
6.7487 + ;;
6.7488 +
6.7489 + netbsd*)
6.7490 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.7491 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6.7492 + else
6.7493 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6.7494 + fi
6.7495 + hardcode_libdir_flag_spec='-R$libdir'
6.7496 + hardcode_direct=yes
6.7497 + hardcode_shlibpath_var=no
6.7498 + ;;
6.7499 +
6.7500 + newsos6)
6.7501 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7502 + hardcode_direct=yes
6.7503 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6.7504 + hardcode_libdir_separator=:
6.7505 + hardcode_shlibpath_var=no
6.7506 + ;;
6.7507 +
6.7508 + openbsd*)
6.7509 + hardcode_direct=yes
6.7510 + hardcode_shlibpath_var=no
6.7511 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.7512 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.7513 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6.7514 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6.7515 + export_dynamic_flag_spec='${wl}-E'
6.7516 + else
6.7517 + case $host_os in
6.7518 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6.7519 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.7520 + hardcode_libdir_flag_spec='-R$libdir'
6.7521 + ;;
6.7522 + *)
6.7523 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.7524 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6.7525 + ;;
6.7526 + esac
6.7527 + fi
6.7528 + ;;
6.7529 +
6.7530 + os2*)
6.7531 + hardcode_libdir_flag_spec='-L$libdir'
6.7532 + hardcode_minus_L=yes
6.7533 + allow_undefined_flag=unsupported
6.7534 + 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'
6.7535 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6.7536 + ;;
6.7537 +
6.7538 + osf3*)
6.7539 + if test "$GCC" = yes; then
6.7540 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6.7541 + 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'
6.7542 + else
6.7543 + allow_undefined_flag=' -expect_unresolved \*'
6.7544 + 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'
6.7545 + fi
6.7546 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6.7547 + hardcode_libdir_separator=:
6.7548 + ;;
6.7549 +
6.7550 + osf4* | osf5*) # as osf3* with the addition of -msym flag
6.7551 + if test "$GCC" = yes; then
6.7552 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6.7553 + 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'
6.7554 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6.7555 + else
6.7556 + allow_undefined_flag=' -expect_unresolved \*'
6.7557 + 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'
6.7558 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6.7559 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
6.7560 +
6.7561 + # Both c and cxx compiler support -rpath directly
6.7562 + hardcode_libdir_flag_spec='-rpath $libdir'
6.7563 + fi
6.7564 + hardcode_libdir_separator=:
6.7565 + ;;
6.7566 +
6.7567 + sco3.2v5*)
6.7568 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7569 + hardcode_shlibpath_var=no
6.7570 + export_dynamic_flag_spec='${wl}-Bexport'
6.7571 + runpath_var=LD_RUN_PATH
6.7572 + hardcode_runpath_var=yes
6.7573 + ;;
6.7574 +
6.7575 + solaris*)
6.7576 + no_undefined_flag=' -z text'
6.7577 + if test "$GCC" = yes; then
6.7578 + wlarc='${wl}'
6.7579 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.7580 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.7581 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6.7582 + else
6.7583 + wlarc=''
6.7584 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7585 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.7586 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.7587 + fi
6.7588 + hardcode_libdir_flag_spec='-R$libdir'
6.7589 + hardcode_shlibpath_var=no
6.7590 + case $host_os in
6.7591 + solaris2.[0-5] | solaris2.[0-5].*) ;;
6.7592 + *)
6.7593 + # The compiler driver will combine linker options so we
6.7594 + # cannot just pass the convience library names through
6.7595 + # without $wl, iff we do not link with $LD.
6.7596 + # Luckily, gcc supports the same syntax we need for Sun Studio.
6.7597 + # Supported since Solaris 2.6 (maybe 2.5.1?)
6.7598 + case $wlarc in
6.7599 + '')
6.7600 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
6.7601 + *)
6.7602 + whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
6.7603 + esac ;;
6.7604 + esac
6.7605 + link_all_deplibs=yes
6.7606 + ;;
6.7607 +
6.7608 + sunos4*)
6.7609 + if test "x$host_vendor" = xsequent; then
6.7610 + # Use $CC to link under sequent, because it throws in some extra .o
6.7611 + # files that make .init and .fini sections work.
6.7612 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6.7613 + else
6.7614 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6.7615 + fi
6.7616 + hardcode_libdir_flag_spec='-L$libdir'
6.7617 + hardcode_direct=yes
6.7618 + hardcode_minus_L=yes
6.7619 + hardcode_shlibpath_var=no
6.7620 + ;;
6.7621 +
6.7622 + sysv4)
6.7623 + case $host_vendor in
6.7624 + sni)
6.7625 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7626 + hardcode_direct=yes # is this really true???
6.7627 + ;;
6.7628 + siemens)
6.7629 + ## LD is ld it makes a PLAMLIB
6.7630 + ## CC just makes a GrossModule.
6.7631 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.7632 + reload_cmds='$CC -r -o $output$reload_objs'
6.7633 + hardcode_direct=no
6.7634 + ;;
6.7635 + motorola)
6.7636 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7637 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
6.7638 + ;;
6.7639 + esac
6.7640 + runpath_var='LD_RUN_PATH'
6.7641 + hardcode_shlibpath_var=no
6.7642 + ;;
6.7643 +
6.7644 + sysv4.3*)
6.7645 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7646 + hardcode_shlibpath_var=no
6.7647 + export_dynamic_flag_spec='-Bexport'
6.7648 + ;;
6.7649 +
6.7650 + sysv4*MP*)
6.7651 + if test -d /usr/nec; then
6.7652 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7653 + hardcode_shlibpath_var=no
6.7654 + runpath_var=LD_RUN_PATH
6.7655 + hardcode_runpath_var=yes
6.7656 + ld_shlibs=yes
6.7657 + fi
6.7658 + ;;
6.7659 +
6.7660 + sysv4.2uw2*)
6.7661 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.7662 + hardcode_direct=yes
6.7663 + hardcode_minus_L=no
6.7664 + hardcode_shlibpath_var=no
6.7665 + hardcode_runpath_var=yes
6.7666 + runpath_var=LD_RUN_PATH
6.7667 + ;;
6.7668 +
6.7669 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
6.7670 + no_undefined_flag='${wl}-z ${wl}text'
6.7671 + if test "$GCC" = yes; then
6.7672 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.7673 + else
6.7674 + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.7675 + fi
6.7676 + runpath_var='LD_RUN_PATH'
6.7677 + hardcode_shlibpath_var=no
6.7678 + ;;
6.7679 +
6.7680 + sysv5*)
6.7681 + no_undefined_flag=' -z text'
6.7682 + # $CC -shared without GNU ld will not create a library from C++
6.7683 + # object files and a static libstdc++, better avoid it by now
6.7684 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7685 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.7686 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.7687 + hardcode_libdir_flag_spec=
6.7688 + hardcode_shlibpath_var=no
6.7689 + runpath_var='LD_RUN_PATH'
6.7690 + ;;
6.7691 +
6.7692 + uts4*)
6.7693 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.7694 + hardcode_libdir_flag_spec='-L$libdir'
6.7695 + hardcode_shlibpath_var=no
6.7696 + ;;
6.7697 +
6.7698 + *)
6.7699 + ld_shlibs=no
6.7700 + ;;
6.7701 + esac
6.7702 + fi
6.7703 +
6.7704 +echo "$as_me:$LINENO: result: $ld_shlibs" >&5
6.7705 +echo "${ECHO_T}$ld_shlibs" >&6
6.7706 +test "$ld_shlibs" = no && can_build_shared=no
6.7707 +
6.7708 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6.7709 +if test "$GCC" = yes; then
6.7710 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6.7711 +fi
6.7712 +
6.7713 +#
6.7714 +# Do we need to explicitly link libc?
6.7715 +#
6.7716 +case "x$archive_cmds_need_lc" in
6.7717 +x|xyes)
6.7718 + # Assume -lc should be added
6.7719 + archive_cmds_need_lc=yes
6.7720 +
6.7721 + if test "$enable_shared" = yes && test "$GCC" = yes; then
6.7722 + case $archive_cmds in
6.7723 + *'~'*)
6.7724 + # FIXME: we may have to deal with multi-command sequences.
6.7725 + ;;
6.7726 + '$CC '*)
6.7727 + # Test whether the compiler implicitly links with -lc since on some
6.7728 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
6.7729 + # to ld, don't add -lc before -lgcc.
6.7730 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
6.7731 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
6.7732 + $rm conftest*
6.7733 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.7734 +
6.7735 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.7736 + (eval $ac_compile) 2>&5
6.7737 + ac_status=$?
6.7738 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7739 + (exit $ac_status); } 2>conftest.err; then
6.7740 + soname=conftest
6.7741 + lib=conftest
6.7742 + libobjs=conftest.$ac_objext
6.7743 + deplibs=
6.7744 + wl=$lt_prog_compiler_wl
6.7745 + compiler_flags=-v
6.7746 + linker_flags=-v
6.7747 + verstring=
6.7748 + output_objdir=.
6.7749 + libname=conftest
6.7750 + lt_save_allow_undefined_flag=$allow_undefined_flag
6.7751 + allow_undefined_flag=
6.7752 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
6.7753 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
6.7754 + ac_status=$?
6.7755 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.7756 + (exit $ac_status); }
6.7757 + then
6.7758 + archive_cmds_need_lc=no
6.7759 + else
6.7760 + archive_cmds_need_lc=yes
6.7761 + fi
6.7762 + allow_undefined_flag=$lt_save_allow_undefined_flag
6.7763 + else
6.7764 + cat conftest.err 1>&5
6.7765 + fi
6.7766 + $rm conftest*
6.7767 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
6.7768 +echo "${ECHO_T}$archive_cmds_need_lc" >&6
6.7769 + ;;
6.7770 + esac
6.7771 + fi
6.7772 + ;;
6.7773 +esac
6.7774 +
6.7775 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6.7776 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6.7777 +library_names_spec=
6.7778 +libname_spec='lib$name'
6.7779 +soname_spec=
6.7780 +shrext_cmds=".so"
6.7781 +postinstall_cmds=
6.7782 +postuninstall_cmds=
6.7783 +finish_cmds=
6.7784 +finish_eval=
6.7785 +shlibpath_var=
6.7786 +shlibpath_overrides_runpath=unknown
6.7787 +version_type=none
6.7788 +dynamic_linker="$host_os ld.so"
6.7789 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
6.7790 +if test "$GCC" = yes; then
6.7791 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.7792 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6.7793 + # if the path contains ";" then we assume it to be the separator
6.7794 + # otherwise default to the standard path separator (i.e. ":") - it is
6.7795 + # assumed that no part of a normal pathname contains ";" but that should
6.7796 + # okay in the real world where ";" in dirpaths is itself problematic.
6.7797 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.7798 + else
6.7799 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.7800 + fi
6.7801 +else
6.7802 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6.7803 +fi
6.7804 +need_lib_prefix=unknown
6.7805 +hardcode_into_libs=no
6.7806 +
6.7807 +# when you set need_version to no, make sure it does not cause -set_version
6.7808 +# flags to be left without arguments
6.7809 +need_version=unknown
6.7810 +
6.7811 +case $host_os in
6.7812 +aix3*)
6.7813 + version_type=linux
6.7814 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
6.7815 + shlibpath_var=LIBPATH
6.7816 +
6.7817 + # AIX 3 has no versioning support, so we append a major version to the name.
6.7818 + soname_spec='${libname}${release}${shared_ext}$major'
6.7819 + ;;
6.7820 +
6.7821 +aix4* | aix5*)
6.7822 + version_type=linux
6.7823 + need_lib_prefix=no
6.7824 + need_version=no
6.7825 + hardcode_into_libs=yes
6.7826 + if test "$host_cpu" = ia64; then
6.7827 + # AIX 5 supports IA64
6.7828 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6.7829 + shlibpath_var=LD_LIBRARY_PATH
6.7830 + else
6.7831 + # With GCC up to 2.95.x, collect2 would create an import file
6.7832 + # for dependence libraries. The import file would start with
6.7833 + # the line `#! .'. This would cause the generated library to
6.7834 + # depend on `.', always an invalid library. This was fixed in
6.7835 + # development snapshots of GCC prior to 3.0.
6.7836 + case $host_os in
6.7837 + aix4 | aix4.[01] | aix4.[01].*)
6.7838 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6.7839 + echo ' yes '
6.7840 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6.7841 + :
6.7842 + else
6.7843 + can_build_shared=no
6.7844 + fi
6.7845 + ;;
6.7846 + esac
6.7847 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6.7848 + # soname into executable. Probably we can add versioning support to
6.7849 + # collect2, so additional links can be useful in future.
6.7850 + if test "$aix_use_runtimelinking" = yes; then
6.7851 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6.7852 + # instead of lib<name>.a to let people know that these are not
6.7853 + # typical AIX shared libraries.
6.7854 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.7855 + else
6.7856 + # We preserve .a as extension for shared libraries through AIX4.2
6.7857 + # and later when we are not doing run time linking.
6.7858 + library_names_spec='${libname}${release}.a $libname.a'
6.7859 + soname_spec='${libname}${release}${shared_ext}$major'
6.7860 + fi
6.7861 + shlibpath_var=LIBPATH
6.7862 + fi
6.7863 + ;;
6.7864 +
6.7865 +amigaos*)
6.7866 + library_names_spec='$libname.ixlibrary $libname.a'
6.7867 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
6.7868 + 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'
6.7869 + ;;
6.7870 +
6.7871 +beos*)
6.7872 + library_names_spec='${libname}${shared_ext}'
6.7873 + dynamic_linker="$host_os ld.so"
6.7874 + shlibpath_var=LIBRARY_PATH
6.7875 + ;;
6.7876 +
6.7877 +bsdi[45]*)
6.7878 + version_type=linux
6.7879 + need_version=no
6.7880 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.7881 + soname_spec='${libname}${release}${shared_ext}$major'
6.7882 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6.7883 + shlibpath_var=LD_LIBRARY_PATH
6.7884 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6.7885 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6.7886 + # the default ld.so.conf also contains /usr/contrib/lib and
6.7887 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6.7888 + # libtool to hard-code these into programs
6.7889 + ;;
6.7890 +
6.7891 +cygwin* | mingw* | pw32*)
6.7892 + version_type=windows
6.7893 + shrext_cmds=".dll"
6.7894 + need_version=no
6.7895 + need_lib_prefix=no
6.7896 +
6.7897 + case $GCC,$host_os in
6.7898 + yes,cygwin* | yes,mingw* | yes,pw32*)
6.7899 + library_names_spec='$libname.dll.a'
6.7900 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
6.7901 + postinstall_cmds='base_file=`basename \${file}`~
6.7902 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6.7903 + dldir=$destdir/`dirname \$dlpath`~
6.7904 + test -d \$dldir || mkdir -p \$dldir~
6.7905 + $install_prog $dir/$dlname \$dldir/$dlname~
6.7906 + chmod a+x \$dldir/$dlname'
6.7907 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6.7908 + dlpath=$dir/\$dldll~
6.7909 + $rm \$dlpath'
6.7910 + shlibpath_overrides_runpath=yes
6.7911 +
6.7912 + case $host_os in
6.7913 + cygwin*)
6.7914 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6.7915 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.7916 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
6.7917 + ;;
6.7918 + mingw*)
6.7919 + # MinGW DLLs use traditional 'lib' prefix
6.7920 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.7921 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.7922 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
6.7923 + # It is most probably a Windows format PATH printed by
6.7924 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
6.7925 + # path with ; separators, and with drive letters. We can handle the
6.7926 + # drive letters (cygwin fileutils understands them), so leave them,
6.7927 + # especially as we might pass files found there to a mingw objdump,
6.7928 + # which wouldn't understand a cygwinified path. Ahh.
6.7929 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.7930 + else
6.7931 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.7932 + fi
6.7933 + ;;
6.7934 + pw32*)
6.7935 + # pw32 DLLs use 'pw' prefix rather than 'lib'
6.7936 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.7937 + ;;
6.7938 + esac
6.7939 + ;;
6.7940 +
6.7941 + *)
6.7942 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6.7943 + ;;
6.7944 + esac
6.7945 + dynamic_linker='Win32 ld.exe'
6.7946 + # FIXME: first we should search . and the directory the executable is in
6.7947 + shlibpath_var=PATH
6.7948 + ;;
6.7949 +
6.7950 +darwin* | rhapsody*)
6.7951 + dynamic_linker="$host_os dyld"
6.7952 + version_type=darwin
6.7953 + need_lib_prefix=no
6.7954 + need_version=no
6.7955 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6.7956 + soname_spec='${libname}${release}${major}$shared_ext'
6.7957 + shlibpath_overrides_runpath=yes
6.7958 + shlibpath_var=DYLD_LIBRARY_PATH
6.7959 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
6.7960 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6.7961 + if test "$GCC" = yes; then
6.7962 + 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"`
6.7963 + else
6.7964 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
6.7965 + fi
6.7966 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
6.7967 + ;;
6.7968 +
6.7969 +dgux*)
6.7970 + version_type=linux
6.7971 + need_lib_prefix=no
6.7972 + need_version=no
6.7973 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6.7974 + soname_spec='${libname}${release}${shared_ext}$major'
6.7975 + shlibpath_var=LD_LIBRARY_PATH
6.7976 + ;;
6.7977 +
6.7978 +freebsd1*)
6.7979 + dynamic_linker=no
6.7980 + ;;
6.7981 +
6.7982 +kfreebsd*-gnu)
6.7983 + version_type=linux
6.7984 + need_lib_prefix=no
6.7985 + need_version=no
6.7986 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.7987 + soname_spec='${libname}${release}${shared_ext}$major'
6.7988 + shlibpath_var=LD_LIBRARY_PATH
6.7989 + shlibpath_overrides_runpath=no
6.7990 + hardcode_into_libs=yes
6.7991 + dynamic_linker='GNU ld.so'
6.7992 + ;;
6.7993 +
6.7994 +freebsd* | dragonfly*)
6.7995 + # DragonFly does not have aout. When/if they implement a new
6.7996 + # versioning mechanism, adjust this.
6.7997 + if test -x /usr/bin/objformat; then
6.7998 + objformat=`/usr/bin/objformat`
6.7999 + else
6.8000 + case $host_os in
6.8001 + freebsd[123]*) objformat=aout ;;
6.8002 + *) objformat=elf ;;
6.8003 + esac
6.8004 + fi
6.8005 + version_type=freebsd-$objformat
6.8006 + case $version_type in
6.8007 + freebsd-elf*)
6.8008 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6.8009 + need_version=no
6.8010 + need_lib_prefix=no
6.8011 + ;;
6.8012 + freebsd-*)
6.8013 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6.8014 + need_version=yes
6.8015 + ;;
6.8016 + esac
6.8017 + shlibpath_var=LD_LIBRARY_PATH
6.8018 + case $host_os in
6.8019 + freebsd2*)
6.8020 + shlibpath_overrides_runpath=yes
6.8021 + ;;
6.8022 + freebsd3.[01]* | freebsdelf3.[01]*)
6.8023 + shlibpath_overrides_runpath=yes
6.8024 + hardcode_into_libs=yes
6.8025 + ;;
6.8026 + *) # from 3.2 on
6.8027 + shlibpath_overrides_runpath=no
6.8028 + hardcode_into_libs=yes
6.8029 + ;;
6.8030 + esac
6.8031 + ;;
6.8032 +
6.8033 +gnu*)
6.8034 + version_type=linux
6.8035 + need_lib_prefix=no
6.8036 + need_version=no
6.8037 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6.8038 + soname_spec='${libname}${release}${shared_ext}$major'
6.8039 + shlibpath_var=LD_LIBRARY_PATH
6.8040 + hardcode_into_libs=yes
6.8041 + ;;
6.8042 +
6.8043 +hpux9* | hpux10* | hpux11*)
6.8044 + # Give a soname corresponding to the major version so that dld.sl refuses to
6.8045 + # link against other versions.
6.8046 + version_type=sunos
6.8047 + need_lib_prefix=no
6.8048 + need_version=no
6.8049 + case $host_cpu in
6.8050 + ia64*)
6.8051 + shrext_cmds='.so'
6.8052 + hardcode_into_libs=yes
6.8053 + dynamic_linker="$host_os dld.so"
6.8054 + shlibpath_var=LD_LIBRARY_PATH
6.8055 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.8056 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8057 + soname_spec='${libname}${release}${shared_ext}$major'
6.8058 + if test "X$HPUX_IA64_MODE" = X32; then
6.8059 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6.8060 + else
6.8061 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
6.8062 + fi
6.8063 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.8064 + ;;
6.8065 + hppa*64*)
6.8066 + shrext_cmds='.sl'
6.8067 + hardcode_into_libs=yes
6.8068 + dynamic_linker="$host_os dld.sl"
6.8069 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6.8070 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.8071 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8072 + soname_spec='${libname}${release}${shared_ext}$major'
6.8073 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6.8074 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.8075 + ;;
6.8076 + *)
6.8077 + shrext_cmds='.sl'
6.8078 + dynamic_linker="$host_os dld.sl"
6.8079 + shlibpath_var=SHLIB_PATH
6.8080 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6.8081 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8082 + soname_spec='${libname}${release}${shared_ext}$major'
6.8083 + ;;
6.8084 + esac
6.8085 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
6.8086 + postinstall_cmds='chmod 555 $lib'
6.8087 + ;;
6.8088 +
6.8089 +irix5* | irix6* | nonstopux*)
6.8090 + case $host_os in
6.8091 + nonstopux*) version_type=nonstopux ;;
6.8092 + *)
6.8093 + if test "$lt_cv_prog_gnu_ld" = yes; then
6.8094 + version_type=linux
6.8095 + else
6.8096 + version_type=irix
6.8097 + fi ;;
6.8098 + esac
6.8099 + need_lib_prefix=no
6.8100 + need_version=no
6.8101 + soname_spec='${libname}${release}${shared_ext}$major'
6.8102 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6.8103 + case $host_os in
6.8104 + irix5* | nonstopux*)
6.8105 + libsuff= shlibsuff=
6.8106 + ;;
6.8107 + *)
6.8108 + case $LD in # libtool.m4 will add one of these switches to LD
6.8109 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
6.8110 + libsuff= shlibsuff= libmagic=32-bit;;
6.8111 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
6.8112 + libsuff=32 shlibsuff=N32 libmagic=N32;;
6.8113 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
6.8114 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
6.8115 + *) libsuff= shlibsuff= libmagic=never-match;;
6.8116 + esac
6.8117 + ;;
6.8118 + esac
6.8119 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6.8120 + shlibpath_overrides_runpath=no
6.8121 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6.8122 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6.8123 + hardcode_into_libs=yes
6.8124 + ;;
6.8125 +
6.8126 +# No shared lib support for Linux oldld, aout, or coff.
6.8127 +linux*oldld* | linux*aout* | linux*coff*)
6.8128 + dynamic_linker=no
6.8129 + ;;
6.8130 +
6.8131 +# This must be Linux ELF.
6.8132 +linux*)
6.8133 + version_type=linux
6.8134 + need_lib_prefix=no
6.8135 + need_version=no
6.8136 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8137 + soname_spec='${libname}${release}${shared_ext}$major'
6.8138 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6.8139 + shlibpath_var=LD_LIBRARY_PATH
6.8140 + shlibpath_overrides_runpath=no
6.8141 + # This implies no fast_install, which is unacceptable.
6.8142 + # Some rework will be needed to allow for fast_install
6.8143 + # before this can be enabled.
6.8144 + hardcode_into_libs=yes
6.8145 +
6.8146 + # Append ld.so.conf contents to the search path
6.8147 + if test -f /etc/ld.so.conf; then
6.8148 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
6.8149 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6.8150 + fi
6.8151 +
6.8152 + # We used to test for /lib/ld.so.1 and disable shared libraries on
6.8153 + # powerpc, because MkLinux only supported shared libraries with the
6.8154 + # GNU dynamic linker. Since this was broken with cross compilers,
6.8155 + # most powerpc-linux boxes support dynamic linking these days and
6.8156 + # people can always --disable-shared, the test was removed, and we
6.8157 + # assume the GNU/Linux dynamic linker is in use.
6.8158 + dynamic_linker='GNU/Linux ld.so'
6.8159 + ;;
6.8160 +
6.8161 +knetbsd*-gnu)
6.8162 + version_type=linux
6.8163 + need_lib_prefix=no
6.8164 + need_version=no
6.8165 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.8166 + soname_spec='${libname}${release}${shared_ext}$major'
6.8167 + shlibpath_var=LD_LIBRARY_PATH
6.8168 + shlibpath_overrides_runpath=no
6.8169 + hardcode_into_libs=yes
6.8170 + dynamic_linker='GNU ld.so'
6.8171 + ;;
6.8172 +
6.8173 +netbsd*)
6.8174 + version_type=sunos
6.8175 + need_lib_prefix=no
6.8176 + need_version=no
6.8177 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.8178 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.8179 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.8180 + dynamic_linker='NetBSD (a.out) ld.so'
6.8181 + else
6.8182 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.8183 + soname_spec='${libname}${release}${shared_ext}$major'
6.8184 + dynamic_linker='NetBSD ld.elf_so'
6.8185 + fi
6.8186 + shlibpath_var=LD_LIBRARY_PATH
6.8187 + shlibpath_overrides_runpath=yes
6.8188 + hardcode_into_libs=yes
6.8189 + ;;
6.8190 +
6.8191 +newsos6)
6.8192 + version_type=linux
6.8193 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8194 + shlibpath_var=LD_LIBRARY_PATH
6.8195 + shlibpath_overrides_runpath=yes
6.8196 + ;;
6.8197 +
6.8198 +nto-qnx*)
6.8199 + version_type=linux
6.8200 + need_lib_prefix=no
6.8201 + need_version=no
6.8202 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8203 + soname_spec='${libname}${release}${shared_ext}$major'
6.8204 + shlibpath_var=LD_LIBRARY_PATH
6.8205 + shlibpath_overrides_runpath=yes
6.8206 + ;;
6.8207 +
6.8208 +openbsd*)
6.8209 + version_type=sunos
6.8210 + need_lib_prefix=no
6.8211 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6.8212 + case $host_os in
6.8213 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
6.8214 + *) need_version=no ;;
6.8215 + esac
6.8216 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.8217 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.8218 + shlibpath_var=LD_LIBRARY_PATH
6.8219 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.8220 + case $host_os in
6.8221 + openbsd2.[89] | openbsd2.[89].*)
6.8222 + shlibpath_overrides_runpath=no
6.8223 + ;;
6.8224 + *)
6.8225 + shlibpath_overrides_runpath=yes
6.8226 + ;;
6.8227 + esac
6.8228 + else
6.8229 + shlibpath_overrides_runpath=yes
6.8230 + fi
6.8231 + ;;
6.8232 +
6.8233 +os2*)
6.8234 + libname_spec='$name'
6.8235 + shrext_cmds=".dll"
6.8236 + need_lib_prefix=no
6.8237 + library_names_spec='$libname${shared_ext} $libname.a'
6.8238 + dynamic_linker='OS/2 ld.exe'
6.8239 + shlibpath_var=LIBPATH
6.8240 + ;;
6.8241 +
6.8242 +osf3* | osf4* | osf5*)
6.8243 + version_type=osf
6.8244 + need_lib_prefix=no
6.8245 + need_version=no
6.8246 + soname_spec='${libname}${release}${shared_ext}$major'
6.8247 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8248 + shlibpath_var=LD_LIBRARY_PATH
6.8249 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6.8250 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6.8251 + ;;
6.8252 +
6.8253 +sco3.2v5*)
6.8254 + version_type=osf
6.8255 + soname_spec='${libname}${release}${shared_ext}$major'
6.8256 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8257 + shlibpath_var=LD_LIBRARY_PATH
6.8258 + ;;
6.8259 +
6.8260 +solaris*)
6.8261 + version_type=linux
6.8262 + need_lib_prefix=no
6.8263 + need_version=no
6.8264 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8265 + soname_spec='${libname}${release}${shared_ext}$major'
6.8266 + shlibpath_var=LD_LIBRARY_PATH
6.8267 + shlibpath_overrides_runpath=yes
6.8268 + hardcode_into_libs=yes
6.8269 + # ldd complains unless libraries are executable
6.8270 + postinstall_cmds='chmod +x $lib'
6.8271 + ;;
6.8272 +
6.8273 +sunos4*)
6.8274 + version_type=sunos
6.8275 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.8276 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6.8277 + shlibpath_var=LD_LIBRARY_PATH
6.8278 + shlibpath_overrides_runpath=yes
6.8279 + if test "$with_gnu_ld" = yes; then
6.8280 + need_lib_prefix=no
6.8281 + fi
6.8282 + need_version=yes
6.8283 + ;;
6.8284 +
6.8285 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.8286 + version_type=linux
6.8287 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8288 + soname_spec='${libname}${release}${shared_ext}$major'
6.8289 + shlibpath_var=LD_LIBRARY_PATH
6.8290 + case $host_vendor in
6.8291 + sni)
6.8292 + shlibpath_overrides_runpath=no
6.8293 + need_lib_prefix=no
6.8294 + export_dynamic_flag_spec='${wl}-Blargedynsym'
6.8295 + runpath_var=LD_RUN_PATH
6.8296 + ;;
6.8297 + siemens)
6.8298 + need_lib_prefix=no
6.8299 + ;;
6.8300 + motorola)
6.8301 + need_lib_prefix=no
6.8302 + need_version=no
6.8303 + shlibpath_overrides_runpath=no
6.8304 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6.8305 + ;;
6.8306 + esac
6.8307 + ;;
6.8308 +
6.8309 +sysv4*MP*)
6.8310 + if test -d /usr/nec ;then
6.8311 + version_type=linux
6.8312 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6.8313 + soname_spec='$libname${shared_ext}.$major'
6.8314 + shlibpath_var=LD_LIBRARY_PATH
6.8315 + fi
6.8316 + ;;
6.8317 +
6.8318 +uts4*)
6.8319 + version_type=linux
6.8320 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.8321 + soname_spec='${libname}${release}${shared_ext}$major'
6.8322 + shlibpath_var=LD_LIBRARY_PATH
6.8323 + ;;
6.8324 +
6.8325 +*)
6.8326 + dynamic_linker=no
6.8327 + ;;
6.8328 +esac
6.8329 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6.8330 +echo "${ECHO_T}$dynamic_linker" >&6
6.8331 +test "$dynamic_linker" = no && can_build_shared=no
6.8332 +
6.8333 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6.8334 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6.8335 +hardcode_action=
6.8336 +if test -n "$hardcode_libdir_flag_spec" || \
6.8337 + test -n "$runpath_var" || \
6.8338 + test "X$hardcode_automatic" = "Xyes" ; then
6.8339 +
6.8340 + # We can hardcode non-existant directories.
6.8341 + if test "$hardcode_direct" != no &&
6.8342 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
6.8343 + # have to relink, otherwise we might link with an installed library
6.8344 + # when we should be linking with a yet-to-be-installed one
6.8345 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
6.8346 + test "$hardcode_minus_L" != no; then
6.8347 + # Linking always hardcodes the temporary library directory.
6.8348 + hardcode_action=relink
6.8349 + else
6.8350 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
6.8351 + hardcode_action=immediate
6.8352 + fi
6.8353 +else
6.8354 + # We cannot hardcode anything, or else we can only hardcode existing
6.8355 + # directories.
6.8356 + hardcode_action=unsupported
6.8357 +fi
6.8358 +echo "$as_me:$LINENO: result: $hardcode_action" >&5
6.8359 +echo "${ECHO_T}$hardcode_action" >&6
6.8360 +
6.8361 +if test "$hardcode_action" = relink; then
6.8362 + # Fast installation is not supported
6.8363 + enable_fast_install=no
6.8364 +elif test "$shlibpath_overrides_runpath" = yes ||
6.8365 + test "$enable_shared" = no; then
6.8366 + # Fast installation is not necessary
6.8367 + enable_fast_install=needless
6.8368 +fi
6.8369 +
6.8370 +striplib=
6.8371 +old_striplib=
6.8372 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6.8373 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6.8374 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6.8375 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6.8376 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6.8377 + echo "$as_me:$LINENO: result: yes" >&5
6.8378 +echo "${ECHO_T}yes" >&6
6.8379 +else
6.8380 +# FIXME - insert some real tests, host_os isn't really good enough
6.8381 + case $host_os in
6.8382 + darwin*)
6.8383 + if test -n "$STRIP" ; then
6.8384 + striplib="$STRIP -x"
6.8385 + echo "$as_me:$LINENO: result: yes" >&5
6.8386 +echo "${ECHO_T}yes" >&6
6.8387 + else
6.8388 + echo "$as_me:$LINENO: result: no" >&5
6.8389 +echo "${ECHO_T}no" >&6
6.8390 +fi
6.8391 + ;;
6.8392 + *)
6.8393 + echo "$as_me:$LINENO: result: no" >&5
6.8394 +echo "${ECHO_T}no" >&6
6.8395 + ;;
6.8396 + esac
6.8397 +fi
6.8398 +
6.8399 +if test "x$enable_dlopen" != xyes; then
6.8400 + enable_dlopen=unknown
6.8401 + enable_dlopen_self=unknown
6.8402 + enable_dlopen_self_static=unknown
6.8403 +else
6.8404 + lt_cv_dlopen=no
6.8405 + lt_cv_dlopen_libs=
6.8406 +
6.8407 + case $host_os in
6.8408 + beos*)
6.8409 + lt_cv_dlopen="load_add_on"
6.8410 + lt_cv_dlopen_libs=
6.8411 + lt_cv_dlopen_self=yes
6.8412 + ;;
6.8413 +
6.8414 + mingw* | pw32*)
6.8415 + lt_cv_dlopen="LoadLibrary"
6.8416 + lt_cv_dlopen_libs=
6.8417 + ;;
6.8418 +
6.8419 + cygwin*)
6.8420 + lt_cv_dlopen="dlopen"
6.8421 + lt_cv_dlopen_libs=
6.8422 + ;;
6.8423 +
6.8424 + darwin*)
6.8425 + # if libdl is installed we need to link against it
6.8426 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.8427 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.8428 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.8429 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.8430 +else
6.8431 + ac_check_lib_save_LIBS=$LIBS
6.8432 +LIBS="-ldl $LIBS"
6.8433 +cat >conftest.$ac_ext <<_ACEOF
6.8434 +/* confdefs.h. */
6.8435 +_ACEOF
6.8436 +cat confdefs.h >>conftest.$ac_ext
6.8437 +cat >>conftest.$ac_ext <<_ACEOF
6.8438 +/* end confdefs.h. */
6.8439 +
6.8440 +/* Override any gcc2 internal prototype to avoid an error. */
6.8441 +#ifdef __cplusplus
6.8442 +extern "C"
6.8443 +#endif
6.8444 +/* We use char because int might match the return type of a gcc2
6.8445 + builtin and then its argument prototype would still apply. */
6.8446 +char dlopen ();
6.8447 +int
6.8448 +main ()
6.8449 +{
6.8450 +dlopen ();
6.8451 + ;
6.8452 + return 0;
6.8453 +}
6.8454 +_ACEOF
6.8455 +rm -f conftest.$ac_objext conftest$ac_exeext
6.8456 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8457 + (eval $ac_link) 2>conftest.er1
6.8458 + ac_status=$?
6.8459 + grep -v '^ *+' conftest.er1 >conftest.err
6.8460 + rm -f conftest.er1
6.8461 + cat conftest.err >&5
6.8462 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8463 + (exit $ac_status); } &&
6.8464 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8465 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8466 + (eval $ac_try) 2>&5
6.8467 + ac_status=$?
6.8468 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8469 + (exit $ac_status); }; } &&
6.8470 + { ac_try='test -s conftest$ac_exeext'
6.8471 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8472 + (eval $ac_try) 2>&5
6.8473 + ac_status=$?
6.8474 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8475 + (exit $ac_status); }; }; then
6.8476 + ac_cv_lib_dl_dlopen=yes
6.8477 +else
6.8478 + echo "$as_me: failed program was:" >&5
6.8479 +sed 's/^/| /' conftest.$ac_ext >&5
6.8480 +
6.8481 +ac_cv_lib_dl_dlopen=no
6.8482 +fi
6.8483 +rm -f conftest.err conftest.$ac_objext \
6.8484 + conftest$ac_exeext conftest.$ac_ext
6.8485 +LIBS=$ac_check_lib_save_LIBS
6.8486 +fi
6.8487 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.8488 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.8489 +if test $ac_cv_lib_dl_dlopen = yes; then
6.8490 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.8491 +else
6.8492 +
6.8493 + lt_cv_dlopen="dyld"
6.8494 + lt_cv_dlopen_libs=
6.8495 + lt_cv_dlopen_self=yes
6.8496 +
6.8497 +fi
6.8498 +
6.8499 + ;;
6.8500 +
6.8501 + *)
6.8502 + echo "$as_me:$LINENO: checking for shl_load" >&5
6.8503 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
6.8504 +if test "${ac_cv_func_shl_load+set}" = set; then
6.8505 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.8506 +else
6.8507 + cat >conftest.$ac_ext <<_ACEOF
6.8508 +/* confdefs.h. */
6.8509 +_ACEOF
6.8510 +cat confdefs.h >>conftest.$ac_ext
6.8511 +cat >>conftest.$ac_ext <<_ACEOF
6.8512 +/* end confdefs.h. */
6.8513 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
6.8514 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.8515 +#define shl_load innocuous_shl_load
6.8516 +
6.8517 +/* System header to define __stub macros and hopefully few prototypes,
6.8518 + which can conflict with char shl_load (); below.
6.8519 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.8520 + <limits.h> exists even on freestanding compilers. */
6.8521 +
6.8522 +#ifdef __STDC__
6.8523 +# include <limits.h>
6.8524 +#else
6.8525 +# include <assert.h>
6.8526 +#endif
6.8527 +
6.8528 +#undef shl_load
6.8529 +
6.8530 +/* Override any gcc2 internal prototype to avoid an error. */
6.8531 +#ifdef __cplusplus
6.8532 +extern "C"
6.8533 +{
6.8534 +#endif
6.8535 +/* We use char because int might match the return type of a gcc2
6.8536 + builtin and then its argument prototype would still apply. */
6.8537 +char shl_load ();
6.8538 +/* The GNU C library defines this for functions which it implements
6.8539 + to always fail with ENOSYS. Some functions are actually named
6.8540 + something starting with __ and the normal name is an alias. */
6.8541 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
6.8542 +choke me
6.8543 +#else
6.8544 +char (*f) () = shl_load;
6.8545 +#endif
6.8546 +#ifdef __cplusplus
6.8547 +}
6.8548 +#endif
6.8549 +
6.8550 +int
6.8551 +main ()
6.8552 +{
6.8553 +return f != shl_load;
6.8554 + ;
6.8555 + return 0;
6.8556 +}
6.8557 +_ACEOF
6.8558 +rm -f conftest.$ac_objext conftest$ac_exeext
6.8559 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8560 + (eval $ac_link) 2>conftest.er1
6.8561 + ac_status=$?
6.8562 + grep -v '^ *+' conftest.er1 >conftest.err
6.8563 + rm -f conftest.er1
6.8564 + cat conftest.err >&5
6.8565 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8566 + (exit $ac_status); } &&
6.8567 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8568 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8569 + (eval $ac_try) 2>&5
6.8570 + ac_status=$?
6.8571 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8572 + (exit $ac_status); }; } &&
6.8573 + { ac_try='test -s conftest$ac_exeext'
6.8574 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8575 + (eval $ac_try) 2>&5
6.8576 + ac_status=$?
6.8577 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8578 + (exit $ac_status); }; }; then
6.8579 + ac_cv_func_shl_load=yes
6.8580 +else
6.8581 + echo "$as_me: failed program was:" >&5
6.8582 +sed 's/^/| /' conftest.$ac_ext >&5
6.8583 +
6.8584 +ac_cv_func_shl_load=no
6.8585 +fi
6.8586 +rm -f conftest.err conftest.$ac_objext \
6.8587 + conftest$ac_exeext conftest.$ac_ext
6.8588 +fi
6.8589 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
6.8590 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6.8591 +if test $ac_cv_func_shl_load = yes; then
6.8592 + lt_cv_dlopen="shl_load"
6.8593 +else
6.8594 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
6.8595 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
6.8596 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
6.8597 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.8598 +else
6.8599 + ac_check_lib_save_LIBS=$LIBS
6.8600 +LIBS="-ldld $LIBS"
6.8601 +cat >conftest.$ac_ext <<_ACEOF
6.8602 +/* confdefs.h. */
6.8603 +_ACEOF
6.8604 +cat confdefs.h >>conftest.$ac_ext
6.8605 +cat >>conftest.$ac_ext <<_ACEOF
6.8606 +/* end confdefs.h. */
6.8607 +
6.8608 +/* Override any gcc2 internal prototype to avoid an error. */
6.8609 +#ifdef __cplusplus
6.8610 +extern "C"
6.8611 +#endif
6.8612 +/* We use char because int might match the return type of a gcc2
6.8613 + builtin and then its argument prototype would still apply. */
6.8614 +char shl_load ();
6.8615 +int
6.8616 +main ()
6.8617 +{
6.8618 +shl_load ();
6.8619 + ;
6.8620 + return 0;
6.8621 +}
6.8622 +_ACEOF
6.8623 +rm -f conftest.$ac_objext conftest$ac_exeext
6.8624 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8625 + (eval $ac_link) 2>conftest.er1
6.8626 + ac_status=$?
6.8627 + grep -v '^ *+' conftest.er1 >conftest.err
6.8628 + rm -f conftest.er1
6.8629 + cat conftest.err >&5
6.8630 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8631 + (exit $ac_status); } &&
6.8632 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8633 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8634 + (eval $ac_try) 2>&5
6.8635 + ac_status=$?
6.8636 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8637 + (exit $ac_status); }; } &&
6.8638 + { ac_try='test -s conftest$ac_exeext'
6.8639 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8640 + (eval $ac_try) 2>&5
6.8641 + ac_status=$?
6.8642 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8643 + (exit $ac_status); }; }; then
6.8644 + ac_cv_lib_dld_shl_load=yes
6.8645 +else
6.8646 + echo "$as_me: failed program was:" >&5
6.8647 +sed 's/^/| /' conftest.$ac_ext >&5
6.8648 +
6.8649 +ac_cv_lib_dld_shl_load=no
6.8650 +fi
6.8651 +rm -f conftest.err conftest.$ac_objext \
6.8652 + conftest$ac_exeext conftest.$ac_ext
6.8653 +LIBS=$ac_check_lib_save_LIBS
6.8654 +fi
6.8655 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6.8656 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
6.8657 +if test $ac_cv_lib_dld_shl_load = yes; then
6.8658 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
6.8659 +else
6.8660 + echo "$as_me:$LINENO: checking for dlopen" >&5
6.8661 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
6.8662 +if test "${ac_cv_func_dlopen+set}" = set; then
6.8663 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.8664 +else
6.8665 + cat >conftest.$ac_ext <<_ACEOF
6.8666 +/* confdefs.h. */
6.8667 +_ACEOF
6.8668 +cat confdefs.h >>conftest.$ac_ext
6.8669 +cat >>conftest.$ac_ext <<_ACEOF
6.8670 +/* end confdefs.h. */
6.8671 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
6.8672 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.8673 +#define dlopen innocuous_dlopen
6.8674 +
6.8675 +/* System header to define __stub macros and hopefully few prototypes,
6.8676 + which can conflict with char dlopen (); below.
6.8677 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.8678 + <limits.h> exists even on freestanding compilers. */
6.8679 +
6.8680 +#ifdef __STDC__
6.8681 +# include <limits.h>
6.8682 +#else
6.8683 +# include <assert.h>
6.8684 +#endif
6.8685 +
6.8686 +#undef dlopen
6.8687 +
6.8688 +/* Override any gcc2 internal prototype to avoid an error. */
6.8689 +#ifdef __cplusplus
6.8690 +extern "C"
6.8691 +{
6.8692 +#endif
6.8693 +/* We use char because int might match the return type of a gcc2
6.8694 + builtin and then its argument prototype would still apply. */
6.8695 +char dlopen ();
6.8696 +/* The GNU C library defines this for functions which it implements
6.8697 + to always fail with ENOSYS. Some functions are actually named
6.8698 + something starting with __ and the normal name is an alias. */
6.8699 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
6.8700 +choke me
6.8701 +#else
6.8702 +char (*f) () = dlopen;
6.8703 +#endif
6.8704 +#ifdef __cplusplus
6.8705 +}
6.8706 +#endif
6.8707 +
6.8708 +int
6.8709 +main ()
6.8710 +{
6.8711 +return f != dlopen;
6.8712 + ;
6.8713 + return 0;
6.8714 +}
6.8715 +_ACEOF
6.8716 +rm -f conftest.$ac_objext conftest$ac_exeext
6.8717 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8718 + (eval $ac_link) 2>conftest.er1
6.8719 + ac_status=$?
6.8720 + grep -v '^ *+' conftest.er1 >conftest.err
6.8721 + rm -f conftest.er1
6.8722 + cat conftest.err >&5
6.8723 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8724 + (exit $ac_status); } &&
6.8725 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8726 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8727 + (eval $ac_try) 2>&5
6.8728 + ac_status=$?
6.8729 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8730 + (exit $ac_status); }; } &&
6.8731 + { ac_try='test -s conftest$ac_exeext'
6.8732 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8733 + (eval $ac_try) 2>&5
6.8734 + ac_status=$?
6.8735 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8736 + (exit $ac_status); }; }; then
6.8737 + ac_cv_func_dlopen=yes
6.8738 +else
6.8739 + echo "$as_me: failed program was:" >&5
6.8740 +sed 's/^/| /' conftest.$ac_ext >&5
6.8741 +
6.8742 +ac_cv_func_dlopen=no
6.8743 +fi
6.8744 +rm -f conftest.err conftest.$ac_objext \
6.8745 + conftest$ac_exeext conftest.$ac_ext
6.8746 +fi
6.8747 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
6.8748 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
6.8749 +if test $ac_cv_func_dlopen = yes; then
6.8750 + lt_cv_dlopen="dlopen"
6.8751 +else
6.8752 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.8753 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.8754 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.8755 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.8756 +else
6.8757 + ac_check_lib_save_LIBS=$LIBS
6.8758 +LIBS="-ldl $LIBS"
6.8759 +cat >conftest.$ac_ext <<_ACEOF
6.8760 +/* confdefs.h. */
6.8761 +_ACEOF
6.8762 +cat confdefs.h >>conftest.$ac_ext
6.8763 +cat >>conftest.$ac_ext <<_ACEOF
6.8764 +/* end confdefs.h. */
6.8765 +
6.8766 +/* Override any gcc2 internal prototype to avoid an error. */
6.8767 +#ifdef __cplusplus
6.8768 +extern "C"
6.8769 +#endif
6.8770 +/* We use char because int might match the return type of a gcc2
6.8771 + builtin and then its argument prototype would still apply. */
6.8772 +char dlopen ();
6.8773 +int
6.8774 +main ()
6.8775 +{
6.8776 +dlopen ();
6.8777 + ;
6.8778 + return 0;
6.8779 +}
6.8780 +_ACEOF
6.8781 +rm -f conftest.$ac_objext conftest$ac_exeext
6.8782 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8783 + (eval $ac_link) 2>conftest.er1
6.8784 + ac_status=$?
6.8785 + grep -v '^ *+' conftest.er1 >conftest.err
6.8786 + rm -f conftest.er1
6.8787 + cat conftest.err >&5
6.8788 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8789 + (exit $ac_status); } &&
6.8790 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8791 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8792 + (eval $ac_try) 2>&5
6.8793 + ac_status=$?
6.8794 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8795 + (exit $ac_status); }; } &&
6.8796 + { ac_try='test -s conftest$ac_exeext'
6.8797 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8798 + (eval $ac_try) 2>&5
6.8799 + ac_status=$?
6.8800 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8801 + (exit $ac_status); }; }; then
6.8802 + ac_cv_lib_dl_dlopen=yes
6.8803 +else
6.8804 + echo "$as_me: failed program was:" >&5
6.8805 +sed 's/^/| /' conftest.$ac_ext >&5
6.8806 +
6.8807 +ac_cv_lib_dl_dlopen=no
6.8808 +fi
6.8809 +rm -f conftest.err conftest.$ac_objext \
6.8810 + conftest$ac_exeext conftest.$ac_ext
6.8811 +LIBS=$ac_check_lib_save_LIBS
6.8812 +fi
6.8813 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.8814 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.8815 +if test $ac_cv_lib_dl_dlopen = yes; then
6.8816 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.8817 +else
6.8818 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
6.8819 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
6.8820 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
6.8821 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.8822 +else
6.8823 + ac_check_lib_save_LIBS=$LIBS
6.8824 +LIBS="-lsvld $LIBS"
6.8825 +cat >conftest.$ac_ext <<_ACEOF
6.8826 +/* confdefs.h. */
6.8827 +_ACEOF
6.8828 +cat confdefs.h >>conftest.$ac_ext
6.8829 +cat >>conftest.$ac_ext <<_ACEOF
6.8830 +/* end confdefs.h. */
6.8831 +
6.8832 +/* Override any gcc2 internal prototype to avoid an error. */
6.8833 +#ifdef __cplusplus
6.8834 +extern "C"
6.8835 +#endif
6.8836 +/* We use char because int might match the return type of a gcc2
6.8837 + builtin and then its argument prototype would still apply. */
6.8838 +char dlopen ();
6.8839 +int
6.8840 +main ()
6.8841 +{
6.8842 +dlopen ();
6.8843 + ;
6.8844 + return 0;
6.8845 +}
6.8846 +_ACEOF
6.8847 +rm -f conftest.$ac_objext conftest$ac_exeext
6.8848 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8849 + (eval $ac_link) 2>conftest.er1
6.8850 + ac_status=$?
6.8851 + grep -v '^ *+' conftest.er1 >conftest.err
6.8852 + rm -f conftest.er1
6.8853 + cat conftest.err >&5
6.8854 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8855 + (exit $ac_status); } &&
6.8856 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8857 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8858 + (eval $ac_try) 2>&5
6.8859 + ac_status=$?
6.8860 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8861 + (exit $ac_status); }; } &&
6.8862 + { ac_try='test -s conftest$ac_exeext'
6.8863 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8864 + (eval $ac_try) 2>&5
6.8865 + ac_status=$?
6.8866 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8867 + (exit $ac_status); }; }; then
6.8868 + ac_cv_lib_svld_dlopen=yes
6.8869 +else
6.8870 + echo "$as_me: failed program was:" >&5
6.8871 +sed 's/^/| /' conftest.$ac_ext >&5
6.8872 +
6.8873 +ac_cv_lib_svld_dlopen=no
6.8874 +fi
6.8875 +rm -f conftest.err conftest.$ac_objext \
6.8876 + conftest$ac_exeext conftest.$ac_ext
6.8877 +LIBS=$ac_check_lib_save_LIBS
6.8878 +fi
6.8879 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
6.8880 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
6.8881 +if test $ac_cv_lib_svld_dlopen = yes; then
6.8882 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
6.8883 +else
6.8884 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
6.8885 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
6.8886 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
6.8887 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.8888 +else
6.8889 + ac_check_lib_save_LIBS=$LIBS
6.8890 +LIBS="-ldld $LIBS"
6.8891 +cat >conftest.$ac_ext <<_ACEOF
6.8892 +/* confdefs.h. */
6.8893 +_ACEOF
6.8894 +cat confdefs.h >>conftest.$ac_ext
6.8895 +cat >>conftest.$ac_ext <<_ACEOF
6.8896 +/* end confdefs.h. */
6.8897 +
6.8898 +/* Override any gcc2 internal prototype to avoid an error. */
6.8899 +#ifdef __cplusplus
6.8900 +extern "C"
6.8901 +#endif
6.8902 +/* We use char because int might match the return type of a gcc2
6.8903 + builtin and then its argument prototype would still apply. */
6.8904 +char dld_link ();
6.8905 +int
6.8906 +main ()
6.8907 +{
6.8908 +dld_link ();
6.8909 + ;
6.8910 + return 0;
6.8911 +}
6.8912 +_ACEOF
6.8913 +rm -f conftest.$ac_objext conftest$ac_exeext
6.8914 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.8915 + (eval $ac_link) 2>conftest.er1
6.8916 + ac_status=$?
6.8917 + grep -v '^ *+' conftest.er1 >conftest.err
6.8918 + rm -f conftest.er1
6.8919 + cat conftest.err >&5
6.8920 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8921 + (exit $ac_status); } &&
6.8922 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.8923 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8924 + (eval $ac_try) 2>&5
6.8925 + ac_status=$?
6.8926 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8927 + (exit $ac_status); }; } &&
6.8928 + { ac_try='test -s conftest$ac_exeext'
6.8929 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.8930 + (eval $ac_try) 2>&5
6.8931 + ac_status=$?
6.8932 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.8933 + (exit $ac_status); }; }; then
6.8934 + ac_cv_lib_dld_dld_link=yes
6.8935 +else
6.8936 + echo "$as_me: failed program was:" >&5
6.8937 +sed 's/^/| /' conftest.$ac_ext >&5
6.8938 +
6.8939 +ac_cv_lib_dld_dld_link=no
6.8940 +fi
6.8941 +rm -f conftest.err conftest.$ac_objext \
6.8942 + conftest$ac_exeext conftest.$ac_ext
6.8943 +LIBS=$ac_check_lib_save_LIBS
6.8944 +fi
6.8945 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
6.8946 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
6.8947 +if test $ac_cv_lib_dld_dld_link = yes; then
6.8948 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
6.8949 +fi
6.8950 +
6.8951 +
6.8952 +fi
6.8953 +
6.8954 +
6.8955 +fi
6.8956 +
6.8957 +
6.8958 +fi
6.8959 +
6.8960 +
6.8961 +fi
6.8962 +
6.8963 +
6.8964 +fi
6.8965 +
6.8966 + ;;
6.8967 + esac
6.8968 +
6.8969 + if test "x$lt_cv_dlopen" != xno; then
6.8970 + enable_dlopen=yes
6.8971 + else
6.8972 + enable_dlopen=no
6.8973 + fi
6.8974 +
6.8975 + case $lt_cv_dlopen in
6.8976 + dlopen)
6.8977 + save_CPPFLAGS="$CPPFLAGS"
6.8978 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
6.8979 +
6.8980 + save_LDFLAGS="$LDFLAGS"
6.8981 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
6.8982 +
6.8983 + save_LIBS="$LIBS"
6.8984 + LIBS="$lt_cv_dlopen_libs $LIBS"
6.8985 +
6.8986 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
6.8987 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
6.8988 +if test "${lt_cv_dlopen_self+set}" = set; then
6.8989 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.8990 +else
6.8991 + if test "$cross_compiling" = yes; then :
6.8992 + lt_cv_dlopen_self=cross
6.8993 +else
6.8994 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.8995 + lt_status=$lt_dlunknown
6.8996 + cat > conftest.$ac_ext <<EOF
6.8997 +#line __oline__ "configure"
6.8998 +#include "confdefs.h"
6.8999 +
6.9000 +#if HAVE_DLFCN_H
6.9001 +#include <dlfcn.h>
6.9002 +#endif
6.9003 +
6.9004 +#include <stdio.h>
6.9005 +
6.9006 +#ifdef RTLD_GLOBAL
6.9007 +# define LT_DLGLOBAL RTLD_GLOBAL
6.9008 +#else
6.9009 +# ifdef DL_GLOBAL
6.9010 +# define LT_DLGLOBAL DL_GLOBAL
6.9011 +# else
6.9012 +# define LT_DLGLOBAL 0
6.9013 +# endif
6.9014 +#endif
6.9015 +
6.9016 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.9017 + find out it does not work in some platform. */
6.9018 +#ifndef LT_DLLAZY_OR_NOW
6.9019 +# ifdef RTLD_LAZY
6.9020 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.9021 +# else
6.9022 +# ifdef DL_LAZY
6.9023 +# define LT_DLLAZY_OR_NOW DL_LAZY
6.9024 +# else
6.9025 +# ifdef RTLD_NOW
6.9026 +# define LT_DLLAZY_OR_NOW RTLD_NOW
6.9027 +# else
6.9028 +# ifdef DL_NOW
6.9029 +# define LT_DLLAZY_OR_NOW DL_NOW
6.9030 +# else
6.9031 +# define LT_DLLAZY_OR_NOW 0
6.9032 +# endif
6.9033 +# endif
6.9034 +# endif
6.9035 +# endif
6.9036 +#endif
6.9037 +
6.9038 +#ifdef __cplusplus
6.9039 +extern "C" void exit (int);
6.9040 +#endif
6.9041 +
6.9042 +void fnord() { int i=42;}
6.9043 +int main ()
6.9044 +{
6.9045 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.9046 + int status = $lt_dlunknown;
6.9047 +
6.9048 + if (self)
6.9049 + {
6.9050 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.9051 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.9052 + /* dlclose (self); */
6.9053 + }
6.9054 +
6.9055 + exit (status);
6.9056 +}
6.9057 +EOF
6.9058 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.9059 + (eval $ac_link) 2>&5
6.9060 + ac_status=$?
6.9061 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.9062 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.9063 + (./conftest; exit; ) >&5 2>/dev/null
6.9064 + lt_status=$?
6.9065 + case x$lt_status in
6.9066 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
6.9067 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
6.9068 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
6.9069 + esac
6.9070 + else :
6.9071 + # compilation failed
6.9072 + lt_cv_dlopen_self=no
6.9073 + fi
6.9074 +fi
6.9075 +rm -fr conftest*
6.9076 +
6.9077 +
6.9078 +fi
6.9079 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
6.9080 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
6.9081 +
6.9082 + if test "x$lt_cv_dlopen_self" = xyes; then
6.9083 + LDFLAGS="$LDFLAGS $link_static_flag"
6.9084 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
6.9085 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
6.9086 +if test "${lt_cv_dlopen_self_static+set}" = set; then
6.9087 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.9088 +else
6.9089 + if test "$cross_compiling" = yes; then :
6.9090 + lt_cv_dlopen_self_static=cross
6.9091 +else
6.9092 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.9093 + lt_status=$lt_dlunknown
6.9094 + cat > conftest.$ac_ext <<EOF
6.9095 +#line __oline__ "configure"
6.9096 +#include "confdefs.h"
6.9097 +
6.9098 +#if HAVE_DLFCN_H
6.9099 +#include <dlfcn.h>
6.9100 +#endif
6.9101 +
6.9102 +#include <stdio.h>
6.9103 +
6.9104 +#ifdef RTLD_GLOBAL
6.9105 +# define LT_DLGLOBAL RTLD_GLOBAL
6.9106 +#else
6.9107 +# ifdef DL_GLOBAL
6.9108 +# define LT_DLGLOBAL DL_GLOBAL
6.9109 +# else
6.9110 +# define LT_DLGLOBAL 0
6.9111 +# endif
6.9112 +#endif
6.9113 +
6.9114 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.9115 + find out it does not work in some platform. */
6.9116 +#ifndef LT_DLLAZY_OR_NOW
6.9117 +# ifdef RTLD_LAZY
6.9118 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.9119 +# else
6.9120 +# ifdef DL_LAZY
6.9121 +# define LT_DLLAZY_OR_NOW DL_LAZY
6.9122 +# else
6.9123 +# ifdef RTLD_NOW
6.9124 +# define LT_DLLAZY_OR_NOW RTLD_NOW
6.9125 +# else
6.9126 +# ifdef DL_NOW
6.9127 +# define LT_DLLAZY_OR_NOW DL_NOW
6.9128 +# else
6.9129 +# define LT_DLLAZY_OR_NOW 0
6.9130 +# endif
6.9131 +# endif
6.9132 +# endif
6.9133 +# endif
6.9134 +#endif
6.9135 +
6.9136 +#ifdef __cplusplus
6.9137 +extern "C" void exit (int);
6.9138 +#endif
6.9139 +
6.9140 +void fnord() { int i=42;}
6.9141 +int main ()
6.9142 +{
6.9143 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.9144 + int status = $lt_dlunknown;
6.9145 +
6.9146 + if (self)
6.9147 + {
6.9148 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.9149 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.9150 + /* dlclose (self); */
6.9151 + }
6.9152 +
6.9153 + exit (status);
6.9154 +}
6.9155 +EOF
6.9156 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.9157 + (eval $ac_link) 2>&5
6.9158 + ac_status=$?
6.9159 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.9160 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.9161 + (./conftest; exit; ) >&5 2>/dev/null
6.9162 + lt_status=$?
6.9163 + case x$lt_status in
6.9164 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
6.9165 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
6.9166 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
6.9167 + esac
6.9168 + else :
6.9169 + # compilation failed
6.9170 + lt_cv_dlopen_self_static=no
6.9171 + fi
6.9172 +fi
6.9173 +rm -fr conftest*
6.9174 +
6.9175 +
6.9176 +fi
6.9177 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
6.9178 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
6.9179 + fi
6.9180 +
6.9181 + CPPFLAGS="$save_CPPFLAGS"
6.9182 + LDFLAGS="$save_LDFLAGS"
6.9183 + LIBS="$save_LIBS"
6.9184 + ;;
6.9185 + esac
6.9186 +
6.9187 + case $lt_cv_dlopen_self in
6.9188 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
6.9189 + *) enable_dlopen_self=unknown ;;
6.9190 + esac
6.9191 +
6.9192 + case $lt_cv_dlopen_self_static in
6.9193 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
6.9194 + *) enable_dlopen_self_static=unknown ;;
6.9195 + esac
6.9196 +fi
6.9197 +
6.9198 +
6.9199 +# Report which librarie types wil actually be built
6.9200 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
6.9201 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
6.9202 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
6.9203 +echo "${ECHO_T}$can_build_shared" >&6
6.9204 +
6.9205 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
6.9206 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
6.9207 +test "$can_build_shared" = "no" && enable_shared=no
6.9208 +
6.9209 +# On AIX, shared libraries and static libraries use the same namespace, and
6.9210 +# are all built from PIC.
6.9211 +case $host_os in
6.9212 +aix3*)
6.9213 + test "$enable_shared" = yes && enable_static=no
6.9214 + if test -n "$RANLIB"; then
6.9215 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
6.9216 + postinstall_cmds='$RANLIB $lib'
6.9217 + fi
6.9218 + ;;
6.9219 +
6.9220 +aix4* | aix5*)
6.9221 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6.9222 + test "$enable_shared" = yes && enable_static=no
6.9223 + fi
6.9224 + ;;
6.9225 +esac
6.9226 +echo "$as_me:$LINENO: result: $enable_shared" >&5
6.9227 +echo "${ECHO_T}$enable_shared" >&6
6.9228 +
6.9229 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
6.9230 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
6.9231 +# Make sure either enable_shared or enable_static is yes.
6.9232 +test "$enable_shared" = yes || enable_static=yes
6.9233 +echo "$as_me:$LINENO: result: $enable_static" >&5
6.9234 +echo "${ECHO_T}$enable_static" >&6
6.9235 +
6.9236 +# The else clause should only fire when bootstrapping the
6.9237 +# libtool distribution, otherwise you forgot to ship ltmain.sh
6.9238 +# with your package, and you will get complaints that there are
6.9239 +# no rules to generate ltmain.sh.
6.9240 +if test -f "$ltmain"; then
6.9241 + # See if we are running on zsh, and set the options which allow our commands through
6.9242 + # without removal of \ escapes.
6.9243 + if test -n "${ZSH_VERSION+set}" ; then
6.9244 + setopt NO_GLOB_SUBST
6.9245 + fi
6.9246 + # Now quote all the things that may contain metacharacters while being
6.9247 + # careful not to overquote the AC_SUBSTed values. We take copies of the
6.9248 + # variables and quote the copies for generation of the libtool script.
6.9249 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6.9250 + SED SHELL STRIP \
6.9251 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6.9252 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6.9253 + deplibs_check_method reload_flag reload_cmds need_locks \
6.9254 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6.9255 + lt_cv_sys_global_symbol_to_c_name_address \
6.9256 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6.9257 + old_postinstall_cmds old_postuninstall_cmds \
6.9258 + compiler \
6.9259 + CC \
6.9260 + LD \
6.9261 + lt_prog_compiler_wl \
6.9262 + lt_prog_compiler_pic \
6.9263 + lt_prog_compiler_static \
6.9264 + lt_prog_compiler_no_builtin_flag \
6.9265 + export_dynamic_flag_spec \
6.9266 + thread_safe_flag_spec \
6.9267 + whole_archive_flag_spec \
6.9268 + enable_shared_with_static_runtimes \
6.9269 + old_archive_cmds \
6.9270 + old_archive_from_new_cmds \
6.9271 + predep_objects \
6.9272 + postdep_objects \
6.9273 + predeps \
6.9274 + postdeps \
6.9275 + compiler_lib_search_path \
6.9276 + archive_cmds \
6.9277 + archive_expsym_cmds \
6.9278 + postinstall_cmds \
6.9279 + postuninstall_cmds \
6.9280 + old_archive_from_expsyms_cmds \
6.9281 + allow_undefined_flag \
6.9282 + no_undefined_flag \
6.9283 + export_symbols_cmds \
6.9284 + hardcode_libdir_flag_spec \
6.9285 + hardcode_libdir_flag_spec_ld \
6.9286 + hardcode_libdir_separator \
6.9287 + hardcode_automatic \
6.9288 + module_cmds \
6.9289 + module_expsym_cmds \
6.9290 + lt_cv_prog_compiler_c_o \
6.9291 + exclude_expsyms \
6.9292 + include_expsyms; do
6.9293 +
6.9294 + case $var in
6.9295 + old_archive_cmds | \
6.9296 + old_archive_from_new_cmds | \
6.9297 + archive_cmds | \
6.9298 + archive_expsym_cmds | \
6.9299 + module_cmds | \
6.9300 + module_expsym_cmds | \
6.9301 + old_archive_from_expsyms_cmds | \
6.9302 + export_symbols_cmds | \
6.9303 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
6.9304 + postinstall_cmds | postuninstall_cmds | \
6.9305 + old_postinstall_cmds | old_postuninstall_cmds | \
6.9306 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6.9307 + # Double-quote double-evaled strings.
6.9308 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6.9309 + ;;
6.9310 + *)
6.9311 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
6.9312 + ;;
6.9313 + esac
6.9314 + done
6.9315 +
6.9316 + case $lt_echo in
6.9317 + *'\$0 --fallback-echo"')
6.9318 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
6.9319 + ;;
6.9320 + esac
6.9321 +
6.9322 +cfgfile="${ofile}T"
6.9323 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
6.9324 + $rm -f "$cfgfile"
6.9325 + { echo "$as_me:$LINENO: creating $ofile" >&5
6.9326 +echo "$as_me: creating $ofile" >&6;}
6.9327 +
6.9328 + cat <<__EOF__ >> "$cfgfile"
6.9329 +#! $SHELL
6.9330 +
6.9331 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
6.9332 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
6.9333 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
6.9334 +#
6.9335 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
6.9336 +# Free Software Foundation, Inc.
6.9337 +#
6.9338 +# This file is part of GNU Libtool:
6.9339 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
6.9340 +#
6.9341 +# This program is free software; you can redistribute it and/or modify
6.9342 +# it under the terms of the GNU General Public License as published by
6.9343 +# the Free Software Foundation; either version 2 of the License, or
6.9344 +# (at your option) any later version.
6.9345 +#
6.9346 +# This program is distributed in the hope that it will be useful, but
6.9347 +# WITHOUT ANY WARRANTY; without even the implied warranty of
6.9348 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6.9349 +# General Public License for more details.
6.9350 +#
6.9351 +# You should have received a copy of the GNU General Public License
6.9352 +# along with this program; if not, write to the Free Software
6.9353 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
6.9354 +#
6.9355 +# As a special exception to the GNU General Public License, if you
6.9356 +# distribute this file as part of a program that contains a
6.9357 +# configuration script generated by Autoconf, you may include it under
6.9358 +# the same distribution terms that you use for the rest of that program.
6.9359 +
6.9360 +# A sed program that does not truncate output.
6.9361 +SED=$lt_SED
6.9362 +
6.9363 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
6.9364 +Xsed="$SED -e 1s/^X//"
6.9365 +
6.9366 +# The HP-UX ksh and POSIX shell print the target directory to stdout
6.9367 +# if CDPATH is set.
6.9368 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6.9369 +
6.9370 +# The names of the tagged configurations supported by this script.
6.9371 +available_tags=
6.9372 +
6.9373 +# ### BEGIN LIBTOOL CONFIG
6.9374 +
6.9375 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6.9376 +
6.9377 +# Shell to use when invoking shell scripts.
6.9378 +SHELL=$lt_SHELL
6.9379 +
6.9380 +# Whether or not to build shared libraries.
6.9381 +build_libtool_libs=$enable_shared
6.9382 +
6.9383 +# Whether or not to build static libraries.
6.9384 +build_old_libs=$enable_static
6.9385 +
6.9386 +# Whether or not to add -lc for building shared libraries.
6.9387 +build_libtool_need_lc=$archive_cmds_need_lc
6.9388 +
6.9389 +# Whether or not to disallow shared libs when runtime libs are static
6.9390 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
6.9391 +
6.9392 +# Whether or not to optimize for fast installation.
6.9393 +fast_install=$enable_fast_install
6.9394 +
6.9395 +# The host system.
6.9396 +host_alias=$host_alias
6.9397 +host=$host
6.9398 +host_os=$host_os
6.9399 +
6.9400 +# The build system.
6.9401 +build_alias=$build_alias
6.9402 +build=$build
6.9403 +build_os=$build_os
6.9404 +
6.9405 +# An echo program that does not interpret backslashes.
6.9406 +echo=$lt_echo
6.9407 +
6.9408 +# The archiver.
6.9409 +AR=$lt_AR
6.9410 +AR_FLAGS=$lt_AR_FLAGS
6.9411 +
6.9412 +# A C compiler.
6.9413 +LTCC=$lt_LTCC
6.9414 +
6.9415 +# A language-specific compiler.
6.9416 +CC=$lt_compiler
6.9417 +
6.9418 +# Is the compiler the GNU C compiler?
6.9419 +with_gcc=$GCC
6.9420 +
6.9421 +# An ERE matcher.
6.9422 +EGREP=$lt_EGREP
6.9423 +
6.9424 +# The linker used to build libraries.
6.9425 +LD=$lt_LD
6.9426 +
6.9427 +# Whether we need hard or soft links.
6.9428 +LN_S=$lt_LN_S
6.9429 +
6.9430 +# A BSD-compatible nm program.
6.9431 +NM=$lt_NM
6.9432 +
6.9433 +# A symbol stripping program
6.9434 +STRIP=$lt_STRIP
6.9435 +
6.9436 +# Used to examine libraries when file_magic_cmd begins "file"
6.9437 +MAGIC_CMD=$MAGIC_CMD
6.9438 +
6.9439 +# Used on cygwin: DLL creation program.
6.9440 +DLLTOOL="$DLLTOOL"
6.9441 +
6.9442 +# Used on cygwin: object dumper.
6.9443 +OBJDUMP="$OBJDUMP"
6.9444 +
6.9445 +# Used on cygwin: assembler.
6.9446 +AS="$AS"
6.9447 +
6.9448 +# The name of the directory that contains temporary libtool files.
6.9449 +objdir=$objdir
6.9450 +
6.9451 +# How to create reloadable object files.
6.9452 +reload_flag=$lt_reload_flag
6.9453 +reload_cmds=$lt_reload_cmds
6.9454 +
6.9455 +# How to pass a linker flag through the compiler.
6.9456 +wl=$lt_lt_prog_compiler_wl
6.9457 +
6.9458 +# Object file suffix (normally "o").
6.9459 +objext="$ac_objext"
6.9460 +
6.9461 +# Old archive suffix (normally "a").
6.9462 +libext="$libext"
6.9463 +
6.9464 +# Shared library suffix (normally ".so").
6.9465 +shrext_cmds='$shrext_cmds'
6.9466 +
6.9467 +# Executable file suffix (normally "").
6.9468 +exeext="$exeext"
6.9469 +
6.9470 +# Additional compiler flags for building library objects.
6.9471 +pic_flag=$lt_lt_prog_compiler_pic
6.9472 +pic_mode=$pic_mode
6.9473 +
6.9474 +# What is the maximum length of a command?
6.9475 +max_cmd_len=$lt_cv_sys_max_cmd_len
6.9476 +
6.9477 +# Does compiler simultaneously support -c and -o options?
6.9478 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
6.9479 +
6.9480 +# Must we lock files when doing compilation?
6.9481 +need_locks=$lt_need_locks
6.9482 +
6.9483 +# Do we need the lib prefix for modules?
6.9484 +need_lib_prefix=$need_lib_prefix
6.9485 +
6.9486 +# Do we need a version for libraries?
6.9487 +need_version=$need_version
6.9488 +
6.9489 +# Whether dlopen is supported.
6.9490 +dlopen_support=$enable_dlopen
6.9491 +
6.9492 +# Whether dlopen of programs is supported.
6.9493 +dlopen_self=$enable_dlopen_self
6.9494 +
6.9495 +# Whether dlopen of statically linked programs is supported.
6.9496 +dlopen_self_static=$enable_dlopen_self_static
6.9497 +
6.9498 +# Compiler flag to prevent dynamic linking.
6.9499 +link_static_flag=$lt_lt_prog_compiler_static
6.9500 +
6.9501 +# Compiler flag to turn off builtin functions.
6.9502 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
6.9503 +
6.9504 +# Compiler flag to allow reflexive dlopens.
6.9505 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
6.9506 +
6.9507 +# Compiler flag to generate shared objects directly from archives.
6.9508 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
6.9509 +
6.9510 +# Compiler flag to generate thread-safe objects.
6.9511 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
6.9512 +
6.9513 +# Library versioning type.
6.9514 +version_type=$version_type
6.9515 +
6.9516 +# Format of library name prefix.
6.9517 +libname_spec=$lt_libname_spec
6.9518 +
6.9519 +# List of archive names. First name is the real one, the rest are links.
6.9520 +# The last name is the one that the linker finds with -lNAME.
6.9521 +library_names_spec=$lt_library_names_spec
6.9522 +
6.9523 +# The coded name of the library, if different from the real name.
6.9524 +soname_spec=$lt_soname_spec
6.9525 +
6.9526 +# Commands used to build and install an old-style archive.
6.9527 +RANLIB=$lt_RANLIB
6.9528 +old_archive_cmds=$lt_old_archive_cmds
6.9529 +old_postinstall_cmds=$lt_old_postinstall_cmds
6.9530 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
6.9531 +
6.9532 +# Create an old-style archive from a shared archive.
6.9533 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
6.9534 +
6.9535 +# Create a temporary old-style archive to link instead of a shared archive.
6.9536 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
6.9537 +
6.9538 +# Commands used to build and install a shared archive.
6.9539 +archive_cmds=$lt_archive_cmds
6.9540 +archive_expsym_cmds=$lt_archive_expsym_cmds
6.9541 +postinstall_cmds=$lt_postinstall_cmds
6.9542 +postuninstall_cmds=$lt_postuninstall_cmds
6.9543 +
6.9544 +# Commands used to build a loadable module (assumed same as above if empty)
6.9545 +module_cmds=$lt_module_cmds
6.9546 +module_expsym_cmds=$lt_module_expsym_cmds
6.9547 +
6.9548 +# Commands to strip libraries.
6.9549 +old_striplib=$lt_old_striplib
6.9550 +striplib=$lt_striplib
6.9551 +
6.9552 +# Dependencies to place before the objects being linked to create a
6.9553 +# shared library.
6.9554 +predep_objects=$lt_predep_objects
6.9555 +
6.9556 +# Dependencies to place after the objects being linked to create a
6.9557 +# shared library.
6.9558 +postdep_objects=$lt_postdep_objects
6.9559 +
6.9560 +# Dependencies to place before the objects being linked to create a
6.9561 +# shared library.
6.9562 +predeps=$lt_predeps
6.9563 +
6.9564 +# Dependencies to place after the objects being linked to create a
6.9565 +# shared library.
6.9566 +postdeps=$lt_postdeps
6.9567 +
6.9568 +# The library search path used internally by the compiler when linking
6.9569 +# a shared library.
6.9570 +compiler_lib_search_path=$lt_compiler_lib_search_path
6.9571 +
6.9572 +# Method to check whether dependent libraries are shared objects.
6.9573 +deplibs_check_method=$lt_deplibs_check_method
6.9574 +
6.9575 +# Command to use when deplibs_check_method == file_magic.
6.9576 +file_magic_cmd=$lt_file_magic_cmd
6.9577 +
6.9578 +# Flag that allows shared libraries with undefined symbols to be built.
6.9579 +allow_undefined_flag=$lt_allow_undefined_flag
6.9580 +
6.9581 +# Flag that forces no undefined symbols.
6.9582 +no_undefined_flag=$lt_no_undefined_flag
6.9583 +
6.9584 +# Commands used to finish a libtool library installation in a directory.
6.9585 +finish_cmds=$lt_finish_cmds
6.9586 +
6.9587 +# Same as above, but a single script fragment to be evaled but not shown.
6.9588 +finish_eval=$lt_finish_eval
6.9589 +
6.9590 +# Take the output of nm and produce a listing of raw symbols and C names.
6.9591 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6.9592 +
6.9593 +# Transform the output of nm in a proper C declaration
6.9594 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6.9595 +
6.9596 +# Transform the output of nm in a C name address pair
6.9597 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6.9598 +
6.9599 +# This is the shared library runtime path variable.
6.9600 +runpath_var=$runpath_var
6.9601 +
6.9602 +# This is the shared library path variable.
6.9603 +shlibpath_var=$shlibpath_var
6.9604 +
6.9605 +# Is shlibpath searched before the hard-coded library search path?
6.9606 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6.9607 +
6.9608 +# How to hardcode a shared library path into an executable.
6.9609 +hardcode_action=$hardcode_action
6.9610 +
6.9611 +# Whether we should hardcode library paths into libraries.
6.9612 +hardcode_into_libs=$hardcode_into_libs
6.9613 +
6.9614 +# Flag to hardcode \$libdir into a binary during linking.
6.9615 +# This must work even if \$libdir does not exist.
6.9616 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
6.9617 +
6.9618 +# If ld is used when linking, flag to hardcode \$libdir into
6.9619 +# a binary during linking. This must work even if \$libdir does
6.9620 +# not exist.
6.9621 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
6.9622 +
6.9623 +# Whether we need a single -rpath flag with a separated argument.
6.9624 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
6.9625 +
6.9626 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6.9627 +# resulting binary.
6.9628 +hardcode_direct=$hardcode_direct
6.9629 +
6.9630 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6.9631 +# resulting binary.
6.9632 +hardcode_minus_L=$hardcode_minus_L
6.9633 +
6.9634 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6.9635 +# the resulting binary.
6.9636 +hardcode_shlibpath_var=$hardcode_shlibpath_var
6.9637 +
6.9638 +# Set to yes if building a shared library automatically hardcodes DIR into the library
6.9639 +# and all subsequent libraries and executables linked against it.
6.9640 +hardcode_automatic=$hardcode_automatic
6.9641 +
6.9642 +# Variables whose values should be saved in libtool wrapper scripts and
6.9643 +# restored at relink time.
6.9644 +variables_saved_for_relink="$variables_saved_for_relink"
6.9645 +
6.9646 +# Whether libtool must link a program against all its dependency libraries.
6.9647 +link_all_deplibs=$link_all_deplibs
6.9648 +
6.9649 +# Compile-time system search path for libraries
6.9650 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6.9651 +
6.9652 +# Run-time system search path for libraries
6.9653 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6.9654 +
6.9655 +# Fix the shell variable \$srcfile for the compiler.
6.9656 +fix_srcfile_path="$fix_srcfile_path"
6.9657 +
6.9658 +# Set to yes if exported symbols are required.
6.9659 +always_export_symbols=$always_export_symbols
6.9660 +
6.9661 +# The commands to list exported symbols.
6.9662 +export_symbols_cmds=$lt_export_symbols_cmds
6.9663 +
6.9664 +# The commands to extract the exported symbol list from a shared archive.
6.9665 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
6.9666 +
6.9667 +# Symbols that should not be listed in the preloaded symbols.
6.9668 +exclude_expsyms=$lt_exclude_expsyms
6.9669 +
6.9670 +# Symbols that must always be exported.
6.9671 +include_expsyms=$lt_include_expsyms
6.9672 +
6.9673 +# ### END LIBTOOL CONFIG
6.9674 +
6.9675 +__EOF__
6.9676 +
6.9677 +
6.9678 + case $host_os in
6.9679 + aix3*)
6.9680 + cat <<\EOF >> "$cfgfile"
6.9681 +
6.9682 +# AIX sometimes has problems with the GCC collect2 program. For some
6.9683 +# reason, if we set the COLLECT_NAMES environment variable, the problems
6.9684 +# vanish in a puff of smoke.
6.9685 +if test "X${COLLECT_NAMES+set}" != Xset; then
6.9686 + COLLECT_NAMES=
6.9687 + export COLLECT_NAMES
6.9688 +fi
6.9689 +EOF
6.9690 + ;;
6.9691 + esac
6.9692 +
6.9693 + # We use sed instead of cat because bash on DJGPP gets confused if
6.9694 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
6.9695 + # text mode, it properly converts lines to CR/LF. This bash problem
6.9696 + # is reportedly fixed, but why not run on old versions too?
6.9697 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
6.9698 +
6.9699 + mv -f "$cfgfile" "$ofile" || \
6.9700 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
6.9701 + chmod +x "$ofile"
6.9702 +
6.9703 +else
6.9704 + # If there is no Makefile yet, we rely on a make rule to execute
6.9705 + # `config.status --recheck' to rerun these tests and create the
6.9706 + # libtool script then.
6.9707 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6.9708 + if test -f "$ltmain_in"; then
6.9709 + test -f Makefile && make "$ltmain"
6.9710 + fi
6.9711 +fi
6.9712 +
6.9713 +
6.9714 +ac_ext=c
6.9715 +ac_cpp='$CPP $CPPFLAGS'
6.9716 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.9717 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.9718 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.9719 +
6.9720 +CC="$lt_save_CC"
6.9721 +
6.9722 +
6.9723 +# Check whether --with-tags or --without-tags was given.
6.9724 +if test "${with_tags+set}" = set; then
6.9725 + withval="$with_tags"
6.9726 + tagnames="$withval"
6.9727 +fi;
6.9728 +
6.9729 +if test -f "$ltmain" && test -n "$tagnames"; then
6.9730 + if test ! -f "${ofile}"; then
6.9731 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
6.9732 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
6.9733 + fi
6.9734 +
6.9735 + if test -z "$LTCC"; then
6.9736 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
6.9737 + if test -z "$LTCC"; then
6.9738 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
6.9739 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
6.9740 + else
6.9741 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
6.9742 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
6.9743 + fi
6.9744 + fi
6.9745 +
6.9746 + # Extract list of available tagged configurations in $ofile.
6.9747 + # Note that this assumes the entire list is on one line.
6.9748 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
6.9749 +
6.9750 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6.9751 + for tagname in $tagnames; do
6.9752 + IFS="$lt_save_ifs"
6.9753 + # Check whether tagname contains only valid characters
6.9754 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
6.9755 + "") ;;
6.9756 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
6.9757 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
6.9758 + { (exit 1); exit 1; }; }
6.9759 + ;;
6.9760 + esac
6.9761 +
6.9762 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
6.9763 + then
6.9764 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
6.9765 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
6.9766 + { (exit 1); exit 1; }; }
6.9767 + fi
6.9768 +
6.9769 + # Update the list of available tags.
6.9770 + if test -n "$tagname"; then
6.9771 + echo appending configuration tag \"$tagname\" to $ofile
6.9772 +
6.9773 + case $tagname in
6.9774 + CXX)
6.9775 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6.9776 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6.9777 + (test "X$CXX" != "Xg++"))) ; then
6.9778 + ac_ext=cc
6.9779 +ac_cpp='$CXXCPP $CPPFLAGS'
6.9780 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.9781 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.9782 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.9783 +
6.9784 +
6.9785 +
6.9786 +
6.9787 +archive_cmds_need_lc_CXX=no
6.9788 +allow_undefined_flag_CXX=
6.9789 +always_export_symbols_CXX=no
6.9790 +archive_expsym_cmds_CXX=
6.9791 +export_dynamic_flag_spec_CXX=
6.9792 +hardcode_direct_CXX=no
6.9793 +hardcode_libdir_flag_spec_CXX=
6.9794 +hardcode_libdir_flag_spec_ld_CXX=
6.9795 +hardcode_libdir_separator_CXX=
6.9796 +hardcode_minus_L_CXX=no
6.9797 +hardcode_automatic_CXX=no
6.9798 +module_cmds_CXX=
6.9799 +module_expsym_cmds_CXX=
6.9800 +link_all_deplibs_CXX=unknown
6.9801 +old_archive_cmds_CXX=$old_archive_cmds
6.9802 +no_undefined_flag_CXX=
6.9803 +whole_archive_flag_spec_CXX=
6.9804 +enable_shared_with_static_runtimes_CXX=no
6.9805 +
6.9806 +# Dependencies to place before and after the object being linked:
6.9807 +predep_objects_CXX=
6.9808 +postdep_objects_CXX=
6.9809 +predeps_CXX=
6.9810 +postdeps_CXX=
6.9811 +compiler_lib_search_path_CXX=
6.9812 +
6.9813 +# Source file extension for C++ test sources.
6.9814 +ac_ext=cpp
6.9815 +
6.9816 +# Object file extension for compiled C++ test sources.
6.9817 +objext=o
6.9818 +objext_CXX=$objext
6.9819 +
6.9820 +# Code to be used in simple compile tests
6.9821 +lt_simple_compile_test_code="int some_variable = 0;\n"
6.9822 +
6.9823 +# Code to be used in simple link tests
6.9824 +lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
6.9825 +
6.9826 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6.9827 +
6.9828 +# If no C compiler was specified, use CC.
6.9829 +LTCC=${LTCC-"$CC"}
6.9830 +
6.9831 +# Allow CC to be a program name with arguments.
6.9832 +compiler=$CC
6.9833 +
6.9834 +
6.9835 +# save warnings/boilerplate of simple test code
6.9836 +ac_outfile=conftest.$ac_objext
6.9837 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6.9838 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.9839 +_lt_compiler_boilerplate=`cat conftest.err`
6.9840 +$rm conftest*
6.9841 +
6.9842 +ac_outfile=conftest.$ac_objext
6.9843 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
6.9844 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.9845 +_lt_linker_boilerplate=`cat conftest.err`
6.9846 +$rm conftest*
6.9847 +
6.9848 +
6.9849 +# Allow CC to be a program name with arguments.
6.9850 +lt_save_CC=$CC
6.9851 +lt_save_LD=$LD
6.9852 +lt_save_GCC=$GCC
6.9853 +GCC=$GXX
6.9854 +lt_save_with_gnu_ld=$with_gnu_ld
6.9855 +lt_save_path_LD=$lt_cv_path_LD
6.9856 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
6.9857 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
6.9858 +else
6.9859 + unset lt_cv_prog_gnu_ld
6.9860 +fi
6.9861 +if test -n "${lt_cv_path_LDCXX+set}"; then
6.9862 + lt_cv_path_LD=$lt_cv_path_LDCXX
6.9863 +else
6.9864 + unset lt_cv_path_LD
6.9865 +fi
6.9866 +test -z "${LDCXX+set}" || LD=$LDCXX
6.9867 +CC=${CXX-"c++"}
6.9868 +compiler=$CC
6.9869 +compiler_CXX=$CC
6.9870 +for cc_temp in $compiler""; do
6.9871 + case $cc_temp in
6.9872 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.9873 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.9874 + \-*) ;;
6.9875 + *) break;;
6.9876 + esac
6.9877 +done
6.9878 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.9879 +
6.9880 +
6.9881 +# We don't want -fno-exception wen compiling C++ code, so set the
6.9882 +# no_builtin_flag separately
6.9883 +if test "$GXX" = yes; then
6.9884 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
6.9885 +else
6.9886 + lt_prog_compiler_no_builtin_flag_CXX=
6.9887 +fi
6.9888 +
6.9889 +if test "$GXX" = yes; then
6.9890 + # Set up default GNU C++ configuration
6.9891 +
6.9892 +
6.9893 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
6.9894 +if test "${with_gnu_ld+set}" = set; then
6.9895 + withval="$with_gnu_ld"
6.9896 + test "$withval" = no || with_gnu_ld=yes
6.9897 +else
6.9898 + with_gnu_ld=no
6.9899 +fi;
6.9900 +ac_prog=ld
6.9901 +if test "$GCC" = yes; then
6.9902 + # Check if gcc -print-prog-name=ld gives a path.
6.9903 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6.9904 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
6.9905 + case $host in
6.9906 + *-*-mingw*)
6.9907 + # gcc leaves a trailing carriage return which upsets mingw
6.9908 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6.9909 + *)
6.9910 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6.9911 + esac
6.9912 + case $ac_prog in
6.9913 + # Accept absolute paths.
6.9914 + [\\/]* | ?:[\\/]*)
6.9915 + re_direlt='/[^/][^/]*/\.\./'
6.9916 + # Canonicalize the pathname of ld
6.9917 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6.9918 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6.9919 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6.9920 + done
6.9921 + test -z "$LD" && LD="$ac_prog"
6.9922 + ;;
6.9923 + "")
6.9924 + # If it fails, then pretend we aren't using GCC.
6.9925 + ac_prog=ld
6.9926 + ;;
6.9927 + *)
6.9928 + # If it is relative, then search for the first ld in PATH.
6.9929 + with_gnu_ld=unknown
6.9930 + ;;
6.9931 + esac
6.9932 +elif test "$with_gnu_ld" = yes; then
6.9933 + echo "$as_me:$LINENO: checking for GNU ld" >&5
6.9934 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6.9935 +else
6.9936 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6.9937 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6.9938 +fi
6.9939 +if test "${lt_cv_path_LD+set}" = set; then
6.9940 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.9941 +else
6.9942 + if test -z "$LD"; then
6.9943 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6.9944 + for ac_dir in $PATH; do
6.9945 + IFS="$lt_save_ifs"
6.9946 + test -z "$ac_dir" && ac_dir=.
6.9947 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6.9948 + lt_cv_path_LD="$ac_dir/$ac_prog"
6.9949 + # Check to see if the program is GNU ld. I'd rather use --version,
6.9950 + # but apparently some variants of GNU ld only accept -v.
6.9951 + # Break only if it was the GNU/non-GNU ld that we prefer.
6.9952 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6.9953 + *GNU* | *'with BFD'*)
6.9954 + test "$with_gnu_ld" != no && break
6.9955 + ;;
6.9956 + *)
6.9957 + test "$with_gnu_ld" != yes && break
6.9958 + ;;
6.9959 + esac
6.9960 + fi
6.9961 + done
6.9962 + IFS="$lt_save_ifs"
6.9963 +else
6.9964 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
6.9965 +fi
6.9966 +fi
6.9967 +
6.9968 +LD="$lt_cv_path_LD"
6.9969 +if test -n "$LD"; then
6.9970 + echo "$as_me:$LINENO: result: $LD" >&5
6.9971 +echo "${ECHO_T}$LD" >&6
6.9972 +else
6.9973 + echo "$as_me:$LINENO: result: no" >&5
6.9974 +echo "${ECHO_T}no" >&6
6.9975 +fi
6.9976 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6.9977 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6.9978 + { (exit 1); exit 1; }; }
6.9979 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6.9980 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6.9981 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
6.9982 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.9983 +else
6.9984 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
6.9985 +case `$LD -v 2>&1 </dev/null` in
6.9986 +*GNU* | *'with BFD'*)
6.9987 + lt_cv_prog_gnu_ld=yes
6.9988 + ;;
6.9989 +*)
6.9990 + lt_cv_prog_gnu_ld=no
6.9991 + ;;
6.9992 +esac
6.9993 +fi
6.9994 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6.9995 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
6.9996 +with_gnu_ld=$lt_cv_prog_gnu_ld
6.9997 +
6.9998 +
6.9999 +
6.10000 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
6.10001 + # archiving commands below assume that GNU ld is being used.
6.10002 + if test "$with_gnu_ld" = yes; then
6.10003 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.10004 + 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'
6.10005 +
6.10006 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
6.10007 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
6.10008 +
6.10009 + # If archive_cmds runs LD, not CC, wlarc should be empty
6.10010 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
6.10011 + # investigate it a little bit more. (MM)
6.10012 + wlarc='${wl}'
6.10013 +
6.10014 + # ancient GNU ld didn't support --whole-archive et. al.
6.10015 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
6.10016 + grep 'no-whole-archive' > /dev/null; then
6.10017 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6.10018 + else
6.10019 + whole_archive_flag_spec_CXX=
6.10020 + fi
6.10021 + else
6.10022 + with_gnu_ld=no
6.10023 + wlarc=
6.10024 +
6.10025 + # A generic and very simple default shared library creation
6.10026 + # command for GNU C++ for the case where it uses the native
6.10027 + # linker, instead of GNU ld. If possible, this setting should
6.10028 + # overridden to take advantage of the native linker features on
6.10029 + # the platform it is being used on.
6.10030 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
6.10031 + fi
6.10032 +
6.10033 + # Commands to make compiler produce verbose output that lists
6.10034 + # what "hidden" libraries, object files and flags are used when
6.10035 + # linking a shared library.
6.10036 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
6.10037 +
6.10038 +else
6.10039 + GXX=no
6.10040 + with_gnu_ld=no
6.10041 + wlarc=
6.10042 +fi
6.10043 +
6.10044 +# PORTME: fill in a description of your system's C++ link characteristics
6.10045 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6.10046 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6.10047 +ld_shlibs_CXX=yes
6.10048 +case $host_os in
6.10049 + aix3*)
6.10050 + # FIXME: insert proper C++ library support
6.10051 + ld_shlibs_CXX=no
6.10052 + ;;
6.10053 + aix4* | aix5*)
6.10054 + if test "$host_cpu" = ia64; then
6.10055 + # On IA64, the linker does run time linking by default, so we don't
6.10056 + # have to do anything special.
6.10057 + aix_use_runtimelinking=no
6.10058 + exp_sym_flag='-Bexport'
6.10059 + no_entry_flag=""
6.10060 + else
6.10061 + aix_use_runtimelinking=no
6.10062 +
6.10063 + # Test if we are trying to use run time linking or normal
6.10064 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6.10065 + # need to do runtime linking.
6.10066 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6.10067 + for ld_flag in $LDFLAGS; do
6.10068 + case $ld_flag in
6.10069 + *-brtl*)
6.10070 + aix_use_runtimelinking=yes
6.10071 + break
6.10072 + ;;
6.10073 + esac
6.10074 + done
6.10075 + esac
6.10076 +
6.10077 + exp_sym_flag='-bexport'
6.10078 + no_entry_flag='-bnoentry'
6.10079 + fi
6.10080 +
6.10081 + # When large executables or shared objects are built, AIX ld can
6.10082 + # have problems creating the table of contents. If linking a library
6.10083 + # or program results in "error TOC overflow" add -mminimal-toc to
6.10084 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6.10085 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6.10086 +
6.10087 + archive_cmds_CXX=''
6.10088 + hardcode_direct_CXX=yes
6.10089 + hardcode_libdir_separator_CXX=':'
6.10090 + link_all_deplibs_CXX=yes
6.10091 +
6.10092 + if test "$GXX" = yes; then
6.10093 + case $host_os in aix4.[012]|aix4.[012].*)
6.10094 + # We only want to do this on AIX 4.2 and lower, the check
6.10095 + # below for broken collect2 doesn't work under 4.3+
6.10096 + collect2name=`${CC} -print-prog-name=collect2`
6.10097 + if test -f "$collect2name" && \
6.10098 + strings "$collect2name" | grep resolve_lib_name >/dev/null
6.10099 + then
6.10100 + # We have reworked collect2
6.10101 + hardcode_direct_CXX=yes
6.10102 + else
6.10103 + # We have old collect2
6.10104 + hardcode_direct_CXX=unsupported
6.10105 + # It fails to find uninstalled libraries when the uninstalled
6.10106 + # path is not listed in the libpath. Setting hardcode_minus_L
6.10107 + # to unsupported forces relinking
6.10108 + hardcode_minus_L_CXX=yes
6.10109 + hardcode_libdir_flag_spec_CXX='-L$libdir'
6.10110 + hardcode_libdir_separator_CXX=
6.10111 + fi
6.10112 + esac
6.10113 + shared_flag='-shared'
6.10114 + if test "$aix_use_runtimelinking" = yes; then
6.10115 + shared_flag="$shared_flag "'${wl}-G'
6.10116 + fi
6.10117 + else
6.10118 + # not using gcc
6.10119 + if test "$host_cpu" = ia64; then
6.10120 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6.10121 + # chokes on -Wl,-G. The following line is correct:
6.10122 + shared_flag='-G'
6.10123 + else
6.10124 + if test "$aix_use_runtimelinking" = yes; then
6.10125 + shared_flag='${wl}-G'
6.10126 + else
6.10127 + shared_flag='${wl}-bM:SRE'
6.10128 + fi
6.10129 + fi
6.10130 + fi
6.10131 +
6.10132 + # It seems that -bexpall does not export symbols beginning with
6.10133 + # underscore (_), so it is better to generate a list of symbols to export.
6.10134 + always_export_symbols_CXX=yes
6.10135 + if test "$aix_use_runtimelinking" = yes; then
6.10136 + # Warning - without using the other runtime loading flags (-brtl),
6.10137 + # -berok will link without error, but may produce a broken library.
6.10138 + allow_undefined_flag_CXX='-berok'
6.10139 + # Determine the default libpath from the value encoded in an empty executable.
6.10140 + cat >conftest.$ac_ext <<_ACEOF
6.10141 +/* confdefs.h. */
6.10142 +_ACEOF
6.10143 +cat confdefs.h >>conftest.$ac_ext
6.10144 +cat >>conftest.$ac_ext <<_ACEOF
6.10145 +/* end confdefs.h. */
6.10146 +
6.10147 +int
6.10148 +main ()
6.10149 +{
6.10150 +
6.10151 + ;
6.10152 + return 0;
6.10153 +}
6.10154 +_ACEOF
6.10155 +rm -f conftest.$ac_objext conftest$ac_exeext
6.10156 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.10157 + (eval $ac_link) 2>conftest.er1
6.10158 + ac_status=$?
6.10159 + grep -v '^ *+' conftest.er1 >conftest.err
6.10160 + rm -f conftest.er1
6.10161 + cat conftest.err >&5
6.10162 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10163 + (exit $ac_status); } &&
6.10164 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.10165 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.10166 + (eval $ac_try) 2>&5
6.10167 + ac_status=$?
6.10168 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10169 + (exit $ac_status); }; } &&
6.10170 + { ac_try='test -s conftest$ac_exeext'
6.10171 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.10172 + (eval $ac_try) 2>&5
6.10173 + ac_status=$?
6.10174 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10175 + (exit $ac_status); }; }; then
6.10176 +
6.10177 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.10178 +}'`
6.10179 +# Check for a 64-bit object if we didn't find anything.
6.10180 +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; }
6.10181 +}'`; fi
6.10182 +else
6.10183 + echo "$as_me: failed program was:" >&5
6.10184 +sed 's/^/| /' conftest.$ac_ext >&5
6.10185 +
6.10186 +fi
6.10187 +rm -f conftest.err conftest.$ac_objext \
6.10188 + conftest$ac_exeext conftest.$ac_ext
6.10189 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.10190 +
6.10191 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
6.10192 +
6.10193 + 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"
6.10194 + else
6.10195 + if test "$host_cpu" = ia64; then
6.10196 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
6.10197 + allow_undefined_flag_CXX="-z nodefs"
6.10198 + 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"
6.10199 + else
6.10200 + # Determine the default libpath from the value encoded in an empty executable.
6.10201 + cat >conftest.$ac_ext <<_ACEOF
6.10202 +/* confdefs.h. */
6.10203 +_ACEOF
6.10204 +cat confdefs.h >>conftest.$ac_ext
6.10205 +cat >>conftest.$ac_ext <<_ACEOF
6.10206 +/* end confdefs.h. */
6.10207 +
6.10208 +int
6.10209 +main ()
6.10210 +{
6.10211 +
6.10212 + ;
6.10213 + return 0;
6.10214 +}
6.10215 +_ACEOF
6.10216 +rm -f conftest.$ac_objext conftest$ac_exeext
6.10217 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.10218 + (eval $ac_link) 2>conftest.er1
6.10219 + ac_status=$?
6.10220 + grep -v '^ *+' conftest.er1 >conftest.err
6.10221 + rm -f conftest.er1
6.10222 + cat conftest.err >&5
6.10223 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10224 + (exit $ac_status); } &&
6.10225 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.10226 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.10227 + (eval $ac_try) 2>&5
6.10228 + ac_status=$?
6.10229 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10230 + (exit $ac_status); }; } &&
6.10231 + { ac_try='test -s conftest$ac_exeext'
6.10232 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.10233 + (eval $ac_try) 2>&5
6.10234 + ac_status=$?
6.10235 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10236 + (exit $ac_status); }; }; then
6.10237 +
6.10238 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.10239 +}'`
6.10240 +# Check for a 64-bit object if we didn't find anything.
6.10241 +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; }
6.10242 +}'`; fi
6.10243 +else
6.10244 + echo "$as_me: failed program was:" >&5
6.10245 +sed 's/^/| /' conftest.$ac_ext >&5
6.10246 +
6.10247 +fi
6.10248 +rm -f conftest.err conftest.$ac_objext \
6.10249 + conftest$ac_exeext conftest.$ac_ext
6.10250 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.10251 +
6.10252 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
6.10253 + # Warning - without using the other run time loading flags,
6.10254 + # -berok will link without error, but may produce a broken library.
6.10255 + no_undefined_flag_CXX=' ${wl}-bernotok'
6.10256 + allow_undefined_flag_CXX=' ${wl}-berok'
6.10257 + # -bexpall does not export symbols beginning with underscore (_)
6.10258 + always_export_symbols_CXX=yes
6.10259 + # Exported symbols can be pulled into shared objects from archives
6.10260 + whole_archive_flag_spec_CXX=' '
6.10261 + archive_cmds_need_lc_CXX=yes
6.10262 + # This is similar to how AIX traditionally builds its shared libraries.
6.10263 + 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'
6.10264 + fi
6.10265 + fi
6.10266 + ;;
6.10267 + chorus*)
6.10268 + case $cc_basename in
6.10269 + *)
6.10270 + # FIXME: insert proper C++ library support
6.10271 + ld_shlibs_CXX=no
6.10272 + ;;
6.10273 + esac
6.10274 + ;;
6.10275 +
6.10276 +
6.10277 + cygwin* | mingw* | pw32*)
6.10278 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
6.10279 + # as there is no search path for DLLs.
6.10280 + hardcode_libdir_flag_spec_CXX='-L$libdir'
6.10281 + allow_undefined_flag_CXX=unsupported
6.10282 + always_export_symbols_CXX=no
6.10283 + enable_shared_with_static_runtimes_CXX=yes
6.10284 +
6.10285 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6.10286 + 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'
6.10287 + # If the export-symbols file already is a .def file (1st line
6.10288 + # is EXPORTS), use it as is; otherwise, prepend...
6.10289 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6.10290 + cp $export_symbols $output_objdir/$soname.def;
6.10291 + else
6.10292 + echo EXPORTS > $output_objdir/$soname.def;
6.10293 + cat $export_symbols >> $output_objdir/$soname.def;
6.10294 + fi~
6.10295 + $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'
6.10296 + else
6.10297 + ld_shlibs_CXX=no
6.10298 + fi
6.10299 + ;;
6.10300 + darwin* | rhapsody*)
6.10301 + case $host_os in
6.10302 + rhapsody* | darwin1.[012])
6.10303 + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
6.10304 + ;;
6.10305 + *) # Darwin 1.3 on
6.10306 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6.10307 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.10308 + else
6.10309 + case ${MACOSX_DEPLOYMENT_TARGET} in
6.10310 + 10.[012])
6.10311 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.10312 + ;;
6.10313 + 10.*)
6.10314 + allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
6.10315 + ;;
6.10316 + esac
6.10317 + fi
6.10318 + ;;
6.10319 + esac
6.10320 + archive_cmds_need_lc_CXX=no
6.10321 + hardcode_direct_CXX=no
6.10322 + hardcode_automatic_CXX=yes
6.10323 + hardcode_shlibpath_var_CXX=unsupported
6.10324 + whole_archive_flag_spec_CXX=''
6.10325 + link_all_deplibs_CXX=yes
6.10326 +
6.10327 + if test "$GXX" = yes ; then
6.10328 + lt_int_apple_cc_single_mod=no
6.10329 + output_verbose_link_cmd='echo'
6.10330 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
6.10331 + lt_int_apple_cc_single_mod=yes
6.10332 + fi
6.10333 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6.10334 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6.10335 + else
6.10336 + archive_cmds_CXX='$CC -r -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'
6.10337 + fi
6.10338 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.10339 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.10340 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6.10341 + 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}'
6.10342 + else
6.10343 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -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}'
6.10344 + fi
6.10345 + 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}'
6.10346 + else
6.10347 + case $cc_basename in
6.10348 + xlc*)
6.10349 + output_verbose_link_cmd='echo'
6.10350 + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
6.10351 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.10352 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.10353 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6.10354 + 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}'
6.10355 + ;;
6.10356 + *)
6.10357 + ld_shlibs_CXX=no
6.10358 + ;;
6.10359 + esac
6.10360 + fi
6.10361 + ;;
6.10362 +
6.10363 + dgux*)
6.10364 + case $cc_basename in
6.10365 + ec++*)
6.10366 + # FIXME: insert proper C++ library support
6.10367 + ld_shlibs_CXX=no
6.10368 + ;;
6.10369 + ghcx*)
6.10370 + # Green Hills C++ Compiler
6.10371 + # FIXME: insert proper C++ library support
6.10372 + ld_shlibs_CXX=no
6.10373 + ;;
6.10374 + *)
6.10375 + # FIXME: insert proper C++ library support
6.10376 + ld_shlibs_CXX=no
6.10377 + ;;
6.10378 + esac
6.10379 + ;;
6.10380 + freebsd[12]*)
6.10381 + # C++ shared libraries reported to be fairly broken before switch to ELF
6.10382 + ld_shlibs_CXX=no
6.10383 + ;;
6.10384 + freebsd-elf*)
6.10385 + archive_cmds_need_lc_CXX=no
6.10386 + ;;
6.10387 + freebsd* | kfreebsd*-gnu | dragonfly*)
6.10388 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
6.10389 + # conventions
6.10390 + ld_shlibs_CXX=yes
6.10391 + ;;
6.10392 + gnu*)
6.10393 + ;;
6.10394 + hpux9*)
6.10395 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
6.10396 + hardcode_libdir_separator_CXX=:
6.10397 + export_dynamic_flag_spec_CXX='${wl}-E'
6.10398 + hardcode_direct_CXX=yes
6.10399 + hardcode_minus_L_CXX=yes # Not in the search PATH,
6.10400 + # but as the default
6.10401 + # location of the library.
6.10402 +
6.10403 + case $cc_basename in
6.10404 + CC*)
6.10405 + # FIXME: insert proper C++ library support
6.10406 + ld_shlibs_CXX=no
6.10407 + ;;
6.10408 + aCC*)
6.10409 + 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'
6.10410 + # Commands to make compiler produce verbose output that lists
6.10411 + # what "hidden" libraries, object files and flags are used when
6.10412 + # linking a shared library.
6.10413 + #
6.10414 + # There doesn't appear to be a way to prevent this compiler from
6.10415 + # explicitly linking system object files so we need to strip them
6.10416 + # from the output so that they don't get included in the library
6.10417 + # dependencies.
6.10418 + 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'
6.10419 + ;;
6.10420 + *)
6.10421 + if test "$GXX" = yes; then
6.10422 + 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'
6.10423 + else
6.10424 + # FIXME: insert proper C++ library support
6.10425 + ld_shlibs_CXX=no
6.10426 + fi
6.10427 + ;;
6.10428 + esac
6.10429 + ;;
6.10430 + hpux10*|hpux11*)
6.10431 + if test $with_gnu_ld = no; then
6.10432 + case $host_cpu in
6.10433 + hppa*64*)
6.10434 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
6.10435 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
6.10436 + hardcode_libdir_separator_CXX=:
6.10437 + ;;
6.10438 + ia64*)
6.10439 + hardcode_libdir_flag_spec_CXX='-L$libdir'
6.10440 + ;;
6.10441 + *)
6.10442 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
6.10443 + hardcode_libdir_separator_CXX=:
6.10444 + export_dynamic_flag_spec_CXX='${wl}-E'
6.10445 + ;;
6.10446 + esac
6.10447 + fi
6.10448 + case $host_cpu in
6.10449 + hppa*64*)
6.10450 + hardcode_direct_CXX=no
6.10451 + hardcode_shlibpath_var_CXX=no
6.10452 + ;;
6.10453 + ia64*)
6.10454 + hardcode_direct_CXX=no
6.10455 + hardcode_shlibpath_var_CXX=no
6.10456 + hardcode_minus_L_CXX=yes # Not in the search PATH,
6.10457 + # but as the default
6.10458 + # location of the library.
6.10459 + ;;
6.10460 + *)
6.10461 + hardcode_direct_CXX=yes
6.10462 + hardcode_minus_L_CXX=yes # Not in the search PATH,
6.10463 + # but as the default
6.10464 + # location of the library.
6.10465 + ;;
6.10466 + esac
6.10467 +
6.10468 + case $cc_basename in
6.10469 + CC*)
6.10470 + # FIXME: insert proper C++ library support
6.10471 + ld_shlibs_CXX=no
6.10472 + ;;
6.10473 + aCC*)
6.10474 + case $host_cpu in
6.10475 + hppa*64*|ia64*)
6.10476 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
6.10477 + ;;
6.10478 + *)
6.10479 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6.10480 + ;;
6.10481 + esac
6.10482 + # Commands to make compiler produce verbose output that lists
6.10483 + # what "hidden" libraries, object files and flags are used when
6.10484 + # linking a shared library.
6.10485 + #
6.10486 + # There doesn't appear to be a way to prevent this compiler from
6.10487 + # explicitly linking system object files so we need to strip them
6.10488 + # from the output so that they don't get included in the library
6.10489 + # dependencies.
6.10490 + 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'
6.10491 + ;;
6.10492 + *)
6.10493 + if test "$GXX" = yes; then
6.10494 + if test $with_gnu_ld = no; then
6.10495 + case $host_cpu in
6.10496 + ia64*|hppa*64*)
6.10497 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
6.10498 + ;;
6.10499 + *)
6.10500 + 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'
6.10501 + ;;
6.10502 + esac
6.10503 + fi
6.10504 + else
6.10505 + # FIXME: insert proper C++ library support
6.10506 + ld_shlibs_CXX=no
6.10507 + fi
6.10508 + ;;
6.10509 + esac
6.10510 + ;;
6.10511 + irix5* | irix6*)
6.10512 + case $cc_basename in
6.10513 + CC*)
6.10514 + # SGI C++
6.10515 + 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 ${output_objdir}/so_locations -o $lib'
6.10516 +
6.10517 + # Archives containing C++ object files must be created using
6.10518 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
6.10519 + # necessary to make sure instantiated templates are included
6.10520 + # in the archive.
6.10521 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
6.10522 + ;;
6.10523 + *)
6.10524 + if test "$GXX" = yes; then
6.10525 + if test "$with_gnu_ld" = no; then
6.10526 + 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}${output_objdir}/so_locations -o $lib'
6.10527 + else
6.10528 + 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'
6.10529 + fi
6.10530 + fi
6.10531 + link_all_deplibs_CXX=yes
6.10532 + ;;
6.10533 + esac
6.10534 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
6.10535 + hardcode_libdir_separator_CXX=:
6.10536 + ;;
6.10537 + linux*)
6.10538 + case $cc_basename in
6.10539 + KCC*)
6.10540 + # Kuck and Associates, Inc. (KAI) C++ Compiler
6.10541 +
6.10542 + # KCC will only create a shared library if the output file
6.10543 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
6.10544 + # to its proper name (with version) after linking.
6.10545 + 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'
6.10546 + 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'
6.10547 + # Commands to make compiler produce verbose output that lists
6.10548 + # what "hidden" libraries, object files and flags are used when
6.10549 + # linking a shared library.
6.10550 + #
6.10551 + # There doesn't appear to be a way to prevent this compiler from
6.10552 + # explicitly linking system object files so we need to strip them
6.10553 + # from the output so that they don't get included in the library
6.10554 + # dependencies.
6.10555 + 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'
6.10556 +
6.10557 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
6.10558 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
6.10559 +
6.10560 + # Archives containing C++ object files must be created using
6.10561 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6.10562 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
6.10563 + ;;
6.10564 + icpc*)
6.10565 + # Intel C++
6.10566 + with_gnu_ld=yes
6.10567 + # version 8.0 and above of icpc choke on multiply defined symbols
6.10568 + # if we add $predep_objects and $postdep_objects, however 7.1 and
6.10569 + # earlier do not add the objects themselves.
6.10570 + case `$CC -V 2>&1` in
6.10571 + *"Version 7."*)
6.10572 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.10573 + 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'
6.10574 + ;;
6.10575 + *) # Version 8.0 or newer
6.10576 + tmp_idyn=
6.10577 + case $host_cpu in
6.10578 + ia64*) tmp_idyn=' -i_dynamic';;
6.10579 + esac
6.10580 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.10581 + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.10582 + ;;
6.10583 + esac
6.10584 + archive_cmds_need_lc_CXX=no
6.10585 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
6.10586 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
6.10587 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
6.10588 + ;;
6.10589 + pgCC*)
6.10590 + # Portland Group C++ compiler
6.10591 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6.10592 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
6.10593 +
6.10594 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
6.10595 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
6.10596 + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.10597 + ;;
6.10598 + cxx*)
6.10599 + # Compaq C++
6.10600 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.10601 + 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'
6.10602 +
6.10603 + runpath_var=LD_RUN_PATH
6.10604 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
6.10605 + hardcode_libdir_separator_CXX=:
6.10606 +
6.10607 + # Commands to make compiler produce verbose output that lists
6.10608 + # what "hidden" libraries, object files and flags are used when
6.10609 + # linking a shared library.
6.10610 + #
6.10611 + # There doesn't appear to be a way to prevent this compiler from
6.10612 + # explicitly linking system object files so we need to strip them
6.10613 + # from the output so that they don't get included in the library
6.10614 + # dependencies.
6.10615 + 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'
6.10616 + ;;
6.10617 + esac
6.10618 + ;;
6.10619 + lynxos*)
6.10620 + # FIXME: insert proper C++ library support
6.10621 + ld_shlibs_CXX=no
6.10622 + ;;
6.10623 + m88k*)
6.10624 + # FIXME: insert proper C++ library support
6.10625 + ld_shlibs_CXX=no
6.10626 + ;;
6.10627 + mvs*)
6.10628 + case $cc_basename in
6.10629 + cxx*)
6.10630 + # FIXME: insert proper C++ library support
6.10631 + ld_shlibs_CXX=no
6.10632 + ;;
6.10633 + *)
6.10634 + # FIXME: insert proper C++ library support
6.10635 + ld_shlibs_CXX=no
6.10636 + ;;
6.10637 + esac
6.10638 + ;;
6.10639 + netbsd*)
6.10640 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.10641 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
6.10642 + wlarc=
6.10643 + hardcode_libdir_flag_spec_CXX='-R$libdir'
6.10644 + hardcode_direct_CXX=yes
6.10645 + hardcode_shlibpath_var_CXX=no
6.10646 + fi
6.10647 + # Workaround some broken pre-1.5 toolchains
6.10648 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
6.10649 + ;;
6.10650 + openbsd2*)
6.10651 + # C++ shared libraries are fairly broken
6.10652 + ld_shlibs_CXX=no
6.10653 + ;;
6.10654 + openbsd*)
6.10655 + hardcode_direct_CXX=yes
6.10656 + hardcode_shlibpath_var_CXX=no
6.10657 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
6.10658 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
6.10659 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.10660 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
6.10661 + export_dynamic_flag_spec_CXX='${wl}-E'
6.10662 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6.10663 + fi
6.10664 + output_verbose_link_cmd='echo'
6.10665 + ;;
6.10666 + osf3*)
6.10667 + case $cc_basename in
6.10668 + KCC*)
6.10669 + # Kuck and Associates, Inc. (KAI) C++ Compiler
6.10670 +
6.10671 + # KCC will only create a shared library if the output file
6.10672 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
6.10673 + # to its proper name (with version) after linking.
6.10674 + 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'
6.10675 +
6.10676 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
6.10677 + hardcode_libdir_separator_CXX=:
6.10678 +
6.10679 + # Archives containing C++ object files must be created using
6.10680 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
6.10681 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
6.10682 +
6.10683 + ;;
6.10684 + RCC*)
6.10685 + # Rational C++ 2.4.1
6.10686 + # FIXME: insert proper C++ library support
6.10687 + ld_shlibs_CXX=no
6.10688 + ;;
6.10689 + cxx*)
6.10690 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
6.10691 + 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 ${output_objdir}/so_locations -o $lib'
6.10692 +
6.10693 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
6.10694 + hardcode_libdir_separator_CXX=:
6.10695 +
6.10696 + # Commands to make compiler produce verbose output that lists
6.10697 + # what "hidden" libraries, object files and flags are used when
6.10698 + # linking a shared library.
6.10699 + #
6.10700 + # There doesn't appear to be a way to prevent this compiler from
6.10701 + # explicitly linking system object files so we need to strip them
6.10702 + # from the output so that they don't get included in the library
6.10703 + # dependencies.
6.10704 + 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'
6.10705 + ;;
6.10706 + *)
6.10707 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6.10708 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
6.10709 + 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}${output_objdir}/so_locations -o $lib'
6.10710 +
6.10711 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
6.10712 + hardcode_libdir_separator_CXX=:
6.10713 +
6.10714 + # Commands to make compiler produce verbose output that lists
6.10715 + # what "hidden" libraries, object files and flags are used when
6.10716 + # linking a shared library.
6.10717 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
6.10718 +
6.10719 + else
6.10720 + # FIXME: insert proper C++ library support
6.10721 + ld_shlibs_CXX=no
6.10722 + fi
6.10723 + ;;
6.10724 + esac
6.10725 + ;;
6.10726 + osf4* | osf5*)
6.10727 + case $cc_basename in
6.10728 + KCC*)
6.10729 + # Kuck and Associates, Inc. (KAI) C++ Compiler
6.10730 +
6.10731 + # KCC will only create a shared library if the output file
6.10732 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
6.10733 + # to its proper name (with version) after linking.
6.10734 + 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'
6.10735 +
6.10736 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
6.10737 + hardcode_libdir_separator_CXX=:
6.10738 +
6.10739 + # Archives containing C++ object files must be created using
6.10740 + # the KAI C++ compiler.
6.10741 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
6.10742 + ;;
6.10743 + RCC*)
6.10744 + # Rational C++ 2.4.1
6.10745 + # FIXME: insert proper C++ library support
6.10746 + ld_shlibs_CXX=no
6.10747 + ;;
6.10748 + cxx*)
6.10749 + allow_undefined_flag_CXX=' -expect_unresolved \*'
6.10750 + 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 ${output_objdir}/so_locations -o $lib'
6.10751 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
6.10752 + echo "-hidden">> $lib.exp~
6.10753 + $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 ${output_objdir}/so_locations -o $lib~
6.10754 + $rm $lib.exp'
6.10755 +
6.10756 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
6.10757 + hardcode_libdir_separator_CXX=:
6.10758 +
6.10759 + # Commands to make compiler produce verbose output that lists
6.10760 + # what "hidden" libraries, object files and flags are used when
6.10761 + # linking a shared library.
6.10762 + #
6.10763 + # There doesn't appear to be a way to prevent this compiler from
6.10764 + # explicitly linking system object files so we need to strip them
6.10765 + # from the output so that they don't get included in the library
6.10766 + # dependencies.
6.10767 + 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'
6.10768 + ;;
6.10769 + *)
6.10770 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6.10771 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
6.10772 + 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}${output_objdir}/so_locations -o $lib'
6.10773 +
6.10774 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
6.10775 + hardcode_libdir_separator_CXX=:
6.10776 +
6.10777 + # Commands to make compiler produce verbose output that lists
6.10778 + # what "hidden" libraries, object files and flags are used when
6.10779 + # linking a shared library.
6.10780 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
6.10781 +
6.10782 + else
6.10783 + # FIXME: insert proper C++ library support
6.10784 + ld_shlibs_CXX=no
6.10785 + fi
6.10786 + ;;
6.10787 + esac
6.10788 + ;;
6.10789 + psos*)
6.10790 + # FIXME: insert proper C++ library support
6.10791 + ld_shlibs_CXX=no
6.10792 + ;;
6.10793 + sco*)
6.10794 + archive_cmds_need_lc_CXX=no
6.10795 + case $cc_basename in
6.10796 + CC*)
6.10797 + # FIXME: insert proper C++ library support
6.10798 + ld_shlibs_CXX=no
6.10799 + ;;
6.10800 + *)
6.10801 + # FIXME: insert proper C++ library support
6.10802 + ld_shlibs_CXX=no
6.10803 + ;;
6.10804 + esac
6.10805 + ;;
6.10806 + sunos4*)
6.10807 + case $cc_basename in
6.10808 + CC*)
6.10809 + # Sun C++ 4.x
6.10810 + # FIXME: insert proper C++ library support
6.10811 + ld_shlibs_CXX=no
6.10812 + ;;
6.10813 + lcc*)
6.10814 + # Lucid
6.10815 + # FIXME: insert proper C++ library support
6.10816 + ld_shlibs_CXX=no
6.10817 + ;;
6.10818 + *)
6.10819 + # FIXME: insert proper C++ library support
6.10820 + ld_shlibs_CXX=no
6.10821 + ;;
6.10822 + esac
6.10823 + ;;
6.10824 + solaris*)
6.10825 + case $cc_basename in
6.10826 + CC*)
6.10827 + # Sun C++ 4.2, 5.x and Centerline C++
6.10828 + archive_cmds_need_lc_CXX=yes
6.10829 + no_undefined_flag_CXX=' -zdefs'
6.10830 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6.10831 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.10832 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
6.10833 +
6.10834 + hardcode_libdir_flag_spec_CXX='-R$libdir'
6.10835 + hardcode_shlibpath_var_CXX=no
6.10836 + case $host_os in
6.10837 + solaris2.[0-5] | solaris2.[0-5].*) ;;
6.10838 + *)
6.10839 + # The C++ compiler is used as linker so we must use $wl
6.10840 + # flag to pass the commands to the underlying system
6.10841 + # linker. We must also pass each convience library through
6.10842 + # to the system linker between allextract/defaultextract.
6.10843 + # The C++ compiler will combine linker options so we
6.10844 + # cannot just pass the convience library names through
6.10845 + # without $wl.
6.10846 + # Supported since Solaris 2.6 (maybe 2.5.1?)
6.10847 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
6.10848 + ;;
6.10849 + esac
6.10850 + link_all_deplibs_CXX=yes
6.10851 +
6.10852 + output_verbose_link_cmd='echo'
6.10853 +
6.10854 + # Archives containing C++ object files must be created using
6.10855 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
6.10856 + # necessary to make sure instantiated templates are included
6.10857 + # in the archive.
6.10858 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
6.10859 + ;;
6.10860 + gcx*)
6.10861 + # Green Hills C++ Compiler
6.10862 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6.10863 +
6.10864 + # The C++ compiler must be used to create the archive.
6.10865 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
6.10866 + ;;
6.10867 + *)
6.10868 + # GNU C++ compiler with Solaris linker
6.10869 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6.10870 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
6.10871 + if $CC --version | grep -v '^2\.7' > /dev/null; then
6.10872 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6.10873 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.10874 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
6.10875 +
6.10876 + # Commands to make compiler produce verbose output that lists
6.10877 + # what "hidden" libraries, object files and flags are used when
6.10878 + # linking a shared library.
6.10879 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
6.10880 + else
6.10881 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
6.10882 + # platform.
6.10883 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
6.10884 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.10885 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
6.10886 +
6.10887 + # Commands to make compiler produce verbose output that lists
6.10888 + # what "hidden" libraries, object files and flags are used when
6.10889 + # linking a shared library.
6.10890 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
6.10891 + fi
6.10892 +
6.10893 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
6.10894 + fi
6.10895 + ;;
6.10896 + esac
6.10897 + ;;
6.10898 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
6.10899 + archive_cmds_need_lc_CXX=no
6.10900 + ;;
6.10901 + tandem*)
6.10902 + case $cc_basename in
6.10903 + NCC*)
6.10904 + # NonStop-UX NCC 3.20
6.10905 + # FIXME: insert proper C++ library support
6.10906 + ld_shlibs_CXX=no
6.10907 + ;;
6.10908 + *)
6.10909 + # FIXME: insert proper C++ library support
6.10910 + ld_shlibs_CXX=no
6.10911 + ;;
6.10912 + esac
6.10913 + ;;
6.10914 + vxworks*)
6.10915 + # FIXME: insert proper C++ library support
6.10916 + ld_shlibs_CXX=no
6.10917 + ;;
6.10918 + *)
6.10919 + # FIXME: insert proper C++ library support
6.10920 + ld_shlibs_CXX=no
6.10921 + ;;
6.10922 +esac
6.10923 +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
6.10924 +echo "${ECHO_T}$ld_shlibs_CXX" >&6
6.10925 +test "$ld_shlibs_CXX" = no && can_build_shared=no
6.10926 +
6.10927 +GCC_CXX="$GXX"
6.10928 +LD_CXX="$LD"
6.10929 +
6.10930 +## CAVEAT EMPTOR:
6.10931 +## There is no encapsulation within the following macros, do not change
6.10932 +## the running order or otherwise move them around unless you know exactly
6.10933 +## what you are doing...
6.10934 +
6.10935 +cat > conftest.$ac_ext <<EOF
6.10936 +class Foo
6.10937 +{
6.10938 +public:
6.10939 + Foo (void) { a = 0; }
6.10940 +private:
6.10941 + int a;
6.10942 +};
6.10943 +EOF
6.10944 +
6.10945 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.10946 + (eval $ac_compile) 2>&5
6.10947 + ac_status=$?
6.10948 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.10949 + (exit $ac_status); }; then
6.10950 + # Parse the compiler output and extract the necessary
6.10951 + # objects, libraries and library flags.
6.10952 +
6.10953 + # Sentinel used to keep track of whether or not we are before
6.10954 + # the conftest object file.
6.10955 + pre_test_object_deps_done=no
6.10956 +
6.10957 + # The `*' in the case matches for architectures that use `case' in
6.10958 + # $output_verbose_cmd can trigger glob expansion during the loop
6.10959 + # eval without this substitution.
6.10960 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
6.10961 +
6.10962 + for p in `eval $output_verbose_link_cmd`; do
6.10963 + case $p in
6.10964 +
6.10965 + -L* | -R* | -l*)
6.10966 + # Some compilers place space between "-{L,R}" and the path.
6.10967 + # Remove the space.
6.10968 + if test $p = "-L" \
6.10969 + || test $p = "-R"; then
6.10970 + prev=$p
6.10971 + continue
6.10972 + else
6.10973 + prev=
6.10974 + fi
6.10975 +
6.10976 + if test "$pre_test_object_deps_done" = no; then
6.10977 + case $p in
6.10978 + -L* | -R*)
6.10979 + # Internal compiler library paths should come after those
6.10980 + # provided the user. The postdeps already come after the
6.10981 + # user supplied libs so there is no need to process them.
6.10982 + if test -z "$compiler_lib_search_path_CXX"; then
6.10983 + compiler_lib_search_path_CXX="${prev}${p}"
6.10984 + else
6.10985 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
6.10986 + fi
6.10987 + ;;
6.10988 + # The "-l" case would never come before the object being
6.10989 + # linked, so don't bother handling this case.
6.10990 + esac
6.10991 + else
6.10992 + if test -z "$postdeps_CXX"; then
6.10993 + postdeps_CXX="${prev}${p}"
6.10994 + else
6.10995 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
6.10996 + fi
6.10997 + fi
6.10998 + ;;
6.10999 +
6.11000 + *.$objext)
6.11001 + # This assumes that the test object file only shows up
6.11002 + # once in the compiler output.
6.11003 + if test "$p" = "conftest.$objext"; then
6.11004 + pre_test_object_deps_done=yes
6.11005 + continue
6.11006 + fi
6.11007 +
6.11008 + if test "$pre_test_object_deps_done" = no; then
6.11009 + if test -z "$predep_objects_CXX"; then
6.11010 + predep_objects_CXX="$p"
6.11011 + else
6.11012 + predep_objects_CXX="$predep_objects_CXX $p"
6.11013 + fi
6.11014 + else
6.11015 + if test -z "$postdep_objects_CXX"; then
6.11016 + postdep_objects_CXX="$p"
6.11017 + else
6.11018 + postdep_objects_CXX="$postdep_objects_CXX $p"
6.11019 + fi
6.11020 + fi
6.11021 + ;;
6.11022 +
6.11023 + *) ;; # Ignore the rest.
6.11024 +
6.11025 + esac
6.11026 + done
6.11027 +
6.11028 + # Clean up.
6.11029 + rm -f a.out a.exe
6.11030 +else
6.11031 + echo "libtool.m4: error: problem compiling CXX test program"
6.11032 +fi
6.11033 +
6.11034 +$rm -f confest.$objext
6.11035 +
6.11036 +# PORTME: override above test on systems where it is broken
6.11037 +case $host_os in
6.11038 +solaris*)
6.11039 + case $cc_basename in
6.11040 + CC*)
6.11041 + # Adding this requires a known-good setup of shared libraries for
6.11042 + # Sun compiler versions before 5.6, else PIC objects from an old
6.11043 + # archive will be linked into the output, leading to subtle bugs.
6.11044 + postdeps_CXX='-lCstd -lCrun'
6.11045 + ;;
6.11046 + esac
6.11047 +esac
6.11048 +
6.11049 +
6.11050 +case " $postdeps_CXX " in
6.11051 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
6.11052 +esac
6.11053 +
6.11054 +lt_prog_compiler_wl_CXX=
6.11055 +lt_prog_compiler_pic_CXX=
6.11056 +lt_prog_compiler_static_CXX=
6.11057 +
6.11058 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6.11059 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6.11060 +
6.11061 + # C++ specific cases for pic, static, wl, etc.
6.11062 + if test "$GXX" = yes; then
6.11063 + lt_prog_compiler_wl_CXX='-Wl,'
6.11064 + lt_prog_compiler_static_CXX='-static'
6.11065 +
6.11066 + case $host_os in
6.11067 + aix*)
6.11068 + # All AIX code is PIC.
6.11069 + if test "$host_cpu" = ia64; then
6.11070 + # AIX 5 now supports IA64 processor
6.11071 + lt_prog_compiler_static_CXX='-Bstatic'
6.11072 + fi
6.11073 + ;;
6.11074 + amigaos*)
6.11075 + # FIXME: we need at least 68020 code to build shared libraries, but
6.11076 + # adding the `-m68020' flag to GCC prevents building anything better,
6.11077 + # like `-m68040'.
6.11078 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
6.11079 + ;;
6.11080 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6.11081 + # PIC is the default for these OSes.
6.11082 + ;;
6.11083 + mingw* | os2* | pw32*)
6.11084 + # This hack is so that the source file can tell whether it is being
6.11085 + # built for inclusion in a dll (and should export symbols for example).
6.11086 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
6.11087 + ;;
6.11088 + darwin* | rhapsody*)
6.11089 + # PIC is the default on this platform
6.11090 + # Common symbols not allowed in MH_DYLIB files
6.11091 + lt_prog_compiler_pic_CXX='-fno-common'
6.11092 + ;;
6.11093 + *djgpp*)
6.11094 + # DJGPP does not support shared libraries at all
6.11095 + lt_prog_compiler_pic_CXX=
6.11096 + ;;
6.11097 + sysv4*MP*)
6.11098 + if test -d /usr/nec; then
6.11099 + lt_prog_compiler_pic_CXX=-Kconform_pic
6.11100 + fi
6.11101 + ;;
6.11102 + hpux*)
6.11103 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.11104 + # not for PA HP-UX.
6.11105 + case $host_cpu in
6.11106 + hppa*64*|ia64*)
6.11107 + ;;
6.11108 + *)
6.11109 + lt_prog_compiler_pic_CXX='-fPIC'
6.11110 + ;;
6.11111 + esac
6.11112 + ;;
6.11113 + *)
6.11114 + lt_prog_compiler_pic_CXX='-fPIC'
6.11115 + ;;
6.11116 + esac
6.11117 + else
6.11118 + case $host_os in
6.11119 + aix4* | aix5*)
6.11120 + # All AIX code is PIC.
6.11121 + if test "$host_cpu" = ia64; then
6.11122 + # AIX 5 now supports IA64 processor
6.11123 + lt_prog_compiler_static_CXX='-Bstatic'
6.11124 + else
6.11125 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
6.11126 + fi
6.11127 + ;;
6.11128 + chorus*)
6.11129 + case $cc_basename in
6.11130 + cxch68*)
6.11131 + # Green Hills C++ Compiler
6.11132 + # _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"
6.11133 + ;;
6.11134 + esac
6.11135 + ;;
6.11136 + darwin*)
6.11137 + # PIC is the default on this platform
6.11138 + # Common symbols not allowed in MH_DYLIB files
6.11139 + case $cc_basename in
6.11140 + xlc*)
6.11141 + lt_prog_compiler_pic_CXX='-qnocommon'
6.11142 + lt_prog_compiler_wl_CXX='-Wl,'
6.11143 + ;;
6.11144 + esac
6.11145 + ;;
6.11146 + dgux*)
6.11147 + case $cc_basename in
6.11148 + ec++*)
6.11149 + lt_prog_compiler_pic_CXX='-KPIC'
6.11150 + ;;
6.11151 + ghcx*)
6.11152 + # Green Hills C++ Compiler
6.11153 + lt_prog_compiler_pic_CXX='-pic'
6.11154 + ;;
6.11155 + *)
6.11156 + ;;
6.11157 + esac
6.11158 + ;;
6.11159 + freebsd* | kfreebsd*-gnu | dragonfly*)
6.11160 + # FreeBSD uses GNU C++
6.11161 + ;;
6.11162 + hpux9* | hpux10* | hpux11*)
6.11163 + case $cc_basename in
6.11164 + CC*)
6.11165 + lt_prog_compiler_wl_CXX='-Wl,'
6.11166 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
6.11167 + if test "$host_cpu" != ia64; then
6.11168 + lt_prog_compiler_pic_CXX='+Z'
6.11169 + fi
6.11170 + ;;
6.11171 + aCC*)
6.11172 + lt_prog_compiler_wl_CXX='-Wl,'
6.11173 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
6.11174 + case $host_cpu in
6.11175 + hppa*64*|ia64*)
6.11176 + # +Z the default
6.11177 + ;;
6.11178 + *)
6.11179 + lt_prog_compiler_pic_CXX='+Z'
6.11180 + ;;
6.11181 + esac
6.11182 + ;;
6.11183 + *)
6.11184 + ;;
6.11185 + esac
6.11186 + ;;
6.11187 + irix5* | irix6* | nonstopux*)
6.11188 + case $cc_basename in
6.11189 + CC*)
6.11190 + lt_prog_compiler_wl_CXX='-Wl,'
6.11191 + lt_prog_compiler_static_CXX='-non_shared'
6.11192 + # CC pic flag -KPIC is the default.
6.11193 + ;;
6.11194 + *)
6.11195 + ;;
6.11196 + esac
6.11197 + ;;
6.11198 + linux*)
6.11199 + case $cc_basename in
6.11200 + KCC*)
6.11201 + # KAI C++ Compiler
6.11202 + lt_prog_compiler_wl_CXX='--backend -Wl,'
6.11203 + lt_prog_compiler_pic_CXX='-fPIC'
6.11204 + ;;
6.11205 + icpc* | ecpc*)
6.11206 + # Intel C++
6.11207 + lt_prog_compiler_wl_CXX='-Wl,'
6.11208 + lt_prog_compiler_pic_CXX='-KPIC'
6.11209 + lt_prog_compiler_static_CXX='-static'
6.11210 + ;;
6.11211 + pgCC*)
6.11212 + # Portland Group C++ compiler.
6.11213 + lt_prog_compiler_wl_CXX='-Wl,'
6.11214 + lt_prog_compiler_pic_CXX='-fpic'
6.11215 + lt_prog_compiler_static_CXX='-Bstatic'
6.11216 + ;;
6.11217 + cxx*)
6.11218 + # Compaq C++
6.11219 + # Make sure the PIC flag is empty. It appears that all Alpha
6.11220 + # Linux and Compaq Tru64 Unix objects are PIC.
6.11221 + lt_prog_compiler_pic_CXX=
6.11222 + lt_prog_compiler_static_CXX='-non_shared'
6.11223 + ;;
6.11224 + *)
6.11225 + ;;
6.11226 + esac
6.11227 + ;;
6.11228 + lynxos*)
6.11229 + ;;
6.11230 + m88k*)
6.11231 + ;;
6.11232 + mvs*)
6.11233 + case $cc_basename in
6.11234 + cxx*)
6.11235 + lt_prog_compiler_pic_CXX='-W c,exportall'
6.11236 + ;;
6.11237 + *)
6.11238 + ;;
6.11239 + esac
6.11240 + ;;
6.11241 + netbsd*)
6.11242 + ;;
6.11243 + osf3* | osf4* | osf5*)
6.11244 + case $cc_basename in
6.11245 + KCC*)
6.11246 + lt_prog_compiler_wl_CXX='--backend -Wl,'
6.11247 + ;;
6.11248 + RCC*)
6.11249 + # Rational C++ 2.4.1
6.11250 + lt_prog_compiler_pic_CXX='-pic'
6.11251 + ;;
6.11252 + cxx*)
6.11253 + # Digital/Compaq C++
6.11254 + lt_prog_compiler_wl_CXX='-Wl,'
6.11255 + # Make sure the PIC flag is empty. It appears that all Alpha
6.11256 + # Linux and Compaq Tru64 Unix objects are PIC.
6.11257 + lt_prog_compiler_pic_CXX=
6.11258 + lt_prog_compiler_static_CXX='-non_shared'
6.11259 + ;;
6.11260 + *)
6.11261 + ;;
6.11262 + esac
6.11263 + ;;
6.11264 + psos*)
6.11265 + ;;
6.11266 + sco*)
6.11267 + case $cc_basename in
6.11268 + CC*)
6.11269 + lt_prog_compiler_pic_CXX='-fPIC'
6.11270 + ;;
6.11271 + *)
6.11272 + ;;
6.11273 + esac
6.11274 + ;;
6.11275 + solaris*)
6.11276 + case $cc_basename in
6.11277 + CC*)
6.11278 + # Sun C++ 4.2, 5.x and Centerline C++
6.11279 + lt_prog_compiler_pic_CXX='-KPIC'
6.11280 + lt_prog_compiler_static_CXX='-Bstatic'
6.11281 + lt_prog_compiler_wl_CXX='-Qoption ld '
6.11282 + ;;
6.11283 + gcx*)
6.11284 + # Green Hills C++ Compiler
6.11285 + lt_prog_compiler_pic_CXX='-PIC'
6.11286 + ;;
6.11287 + *)
6.11288 + ;;
6.11289 + esac
6.11290 + ;;
6.11291 + sunos4*)
6.11292 + case $cc_basename in
6.11293 + CC*)
6.11294 + # Sun C++ 4.x
6.11295 + lt_prog_compiler_pic_CXX='-pic'
6.11296 + lt_prog_compiler_static_CXX='-Bstatic'
6.11297 + ;;
6.11298 + lcc*)
6.11299 + # Lucid
6.11300 + lt_prog_compiler_pic_CXX='-pic'
6.11301 + ;;
6.11302 + *)
6.11303 + ;;
6.11304 + esac
6.11305 + ;;
6.11306 + tandem*)
6.11307 + case $cc_basename in
6.11308 + NCC*)
6.11309 + # NonStop-UX NCC 3.20
6.11310 + lt_prog_compiler_pic_CXX='-KPIC'
6.11311 + ;;
6.11312 + *)
6.11313 + ;;
6.11314 + esac
6.11315 + ;;
6.11316 + unixware*)
6.11317 + ;;
6.11318 + vxworks*)
6.11319 + ;;
6.11320 + *)
6.11321 + lt_prog_compiler_can_build_shared_CXX=no
6.11322 + ;;
6.11323 + esac
6.11324 + fi
6.11325 +
6.11326 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
6.11327 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
6.11328 +
6.11329 +#
6.11330 +# Check to make sure the PIC flag actually works.
6.11331 +#
6.11332 +if test -n "$lt_prog_compiler_pic_CXX"; then
6.11333 +
6.11334 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
6.11335 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
6.11336 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
6.11337 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.11338 +else
6.11339 + lt_prog_compiler_pic_works_CXX=no
6.11340 + ac_outfile=conftest.$ac_objext
6.11341 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.11342 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
6.11343 + # Insert the option either (1) after the last *FLAGS variable, or
6.11344 + # (2) before a word containing "conftest.", or (3) at the end.
6.11345 + # Note that $ac_compile itself does not contain backslashes and begins
6.11346 + # with a dollar sign (not a hyphen), so the echo should work correctly.
6.11347 + # The option is referenced via a variable to avoid confusing sed.
6.11348 + lt_compile=`echo "$ac_compile" | $SED \
6.11349 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.11350 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.11351 + -e 's:$: $lt_compiler_flag:'`
6.11352 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.11353 + (eval "$lt_compile" 2>conftest.err)
6.11354 + ac_status=$?
6.11355 + cat conftest.err >&5
6.11356 + echo "$as_me:__oline__: \$? = $ac_status" >&5
6.11357 + if (exit $ac_status) && test -s "$ac_outfile"; then
6.11358 + # The compiler can only warn and ignore the option if not recognized
6.11359 + # So say no if there are warnings other than the usual output.
6.11360 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.11361 + $SED '/^$/d' conftest.err >conftest.er2
6.11362 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.11363 + lt_prog_compiler_pic_works_CXX=yes
6.11364 + fi
6.11365 + fi
6.11366 + $rm conftest*
6.11367 +
6.11368 +fi
6.11369 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
6.11370 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
6.11371 +
6.11372 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
6.11373 + case $lt_prog_compiler_pic_CXX in
6.11374 + "" | " "*) ;;
6.11375 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
6.11376 + esac
6.11377 +else
6.11378 + lt_prog_compiler_pic_CXX=
6.11379 + lt_prog_compiler_can_build_shared_CXX=no
6.11380 +fi
6.11381 +
6.11382 +fi
6.11383 +case $host_os in
6.11384 + # For platforms which do not support PIC, -DPIC is meaningless:
6.11385 + *djgpp*)
6.11386 + lt_prog_compiler_pic_CXX=
6.11387 + ;;
6.11388 + *)
6.11389 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
6.11390 + ;;
6.11391 +esac
6.11392 +
6.11393 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6.11394 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6.11395 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
6.11396 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.11397 +else
6.11398 + lt_cv_prog_compiler_c_o_CXX=no
6.11399 + $rm -r conftest 2>/dev/null
6.11400 + mkdir conftest
6.11401 + cd conftest
6.11402 + mkdir out
6.11403 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.11404 +
6.11405 + lt_compiler_flag="-o out/conftest2.$ac_objext"
6.11406 + # Insert the option either (1) after the last *FLAGS variable, or
6.11407 + # (2) before a word containing "conftest.", or (3) at the end.
6.11408 + # Note that $ac_compile itself does not contain backslashes and begins
6.11409 + # with a dollar sign (not a hyphen), so the echo should work correctly.
6.11410 + lt_compile=`echo "$ac_compile" | $SED \
6.11411 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.11412 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.11413 + -e 's:$: $lt_compiler_flag:'`
6.11414 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.11415 + (eval "$lt_compile" 2>out/conftest.err)
6.11416 + ac_status=$?
6.11417 + cat out/conftest.err >&5
6.11418 + echo "$as_me:__oline__: \$? = $ac_status" >&5
6.11419 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
6.11420 + then
6.11421 + # The compiler can only warn and ignore the option if not recognized
6.11422 + # So say no if there are warnings
6.11423 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6.11424 + $SED '/^$/d' out/conftest.err >out/conftest.er2
6.11425 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6.11426 + lt_cv_prog_compiler_c_o_CXX=yes
6.11427 + fi
6.11428 + fi
6.11429 + chmod u+w . 2>&5
6.11430 + $rm conftest*
6.11431 + # SGI C++ compiler will create directory out/ii_files/ for
6.11432 + # template instantiation
6.11433 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6.11434 + $rm out/* && rmdir out
6.11435 + cd ..
6.11436 + rmdir conftest
6.11437 + $rm conftest*
6.11438 +
6.11439 +fi
6.11440 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
6.11441 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
6.11442 +
6.11443 +
6.11444 +hard_links="nottested"
6.11445 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
6.11446 + # do not overwrite the value of need_locks provided by the user
6.11447 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6.11448 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6.11449 + hard_links=yes
6.11450 + $rm conftest*
6.11451 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.11452 + touch conftest.a
6.11453 + ln conftest.a conftest.b 2>&5 || hard_links=no
6.11454 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.11455 + echo "$as_me:$LINENO: result: $hard_links" >&5
6.11456 +echo "${ECHO_T}$hard_links" >&6
6.11457 + if test "$hard_links" = no; then
6.11458 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6.11459 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6.11460 + need_locks=warn
6.11461 + fi
6.11462 +else
6.11463 + need_locks=no
6.11464 +fi
6.11465 +
6.11466 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6.11467 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6.11468 +
6.11469 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6.11470 + case $host_os in
6.11471 + aix4* | aix5*)
6.11472 + # If we're using GNU nm, then we don't want the "-C" option.
6.11473 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
6.11474 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6.11475 + 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'
6.11476 + else
6.11477 + 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'
6.11478 + fi
6.11479 + ;;
6.11480 + pw32*)
6.11481 + export_symbols_cmds_CXX="$ltdll_cmds"
6.11482 + ;;
6.11483 + cygwin* | mingw*)
6.11484 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6.11485 + ;;
6.11486 + *)
6.11487 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6.11488 + ;;
6.11489 + esac
6.11490 +
6.11491 +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
6.11492 +echo "${ECHO_T}$ld_shlibs_CXX" >&6
6.11493 +test "$ld_shlibs_CXX" = no && can_build_shared=no
6.11494 +
6.11495 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6.11496 +if test "$GCC" = yes; then
6.11497 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6.11498 +fi
6.11499 +
6.11500 +#
6.11501 +# Do we need to explicitly link libc?
6.11502 +#
6.11503 +case "x$archive_cmds_need_lc_CXX" in
6.11504 +x|xyes)
6.11505 + # Assume -lc should be added
6.11506 + archive_cmds_need_lc_CXX=yes
6.11507 +
6.11508 + if test "$enable_shared" = yes && test "$GCC" = yes; then
6.11509 + case $archive_cmds_CXX in
6.11510 + *'~'*)
6.11511 + # FIXME: we may have to deal with multi-command sequences.
6.11512 + ;;
6.11513 + '$CC '*)
6.11514 + # Test whether the compiler implicitly links with -lc since on some
6.11515 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
6.11516 + # to ld, don't add -lc before -lgcc.
6.11517 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
6.11518 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
6.11519 + $rm conftest*
6.11520 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.11521 +
6.11522 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.11523 + (eval $ac_compile) 2>&5
6.11524 + ac_status=$?
6.11525 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.11526 + (exit $ac_status); } 2>conftest.err; then
6.11527 + soname=conftest
6.11528 + lib=conftest
6.11529 + libobjs=conftest.$ac_objext
6.11530 + deplibs=
6.11531 + wl=$lt_prog_compiler_wl_CXX
6.11532 + compiler_flags=-v
6.11533 + linker_flags=-v
6.11534 + verstring=
6.11535 + output_objdir=.
6.11536 + libname=conftest
6.11537 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
6.11538 + allow_undefined_flag_CXX=
6.11539 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
6.11540 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
6.11541 + ac_status=$?
6.11542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.11543 + (exit $ac_status); }
6.11544 + then
6.11545 + archive_cmds_need_lc_CXX=no
6.11546 + else
6.11547 + archive_cmds_need_lc_CXX=yes
6.11548 + fi
6.11549 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
6.11550 + else
6.11551 + cat conftest.err 1>&5
6.11552 + fi
6.11553 + $rm conftest*
6.11554 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
6.11555 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
6.11556 + ;;
6.11557 + esac
6.11558 + fi
6.11559 + ;;
6.11560 +esac
6.11561 +
6.11562 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6.11563 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6.11564 +library_names_spec=
6.11565 +libname_spec='lib$name'
6.11566 +soname_spec=
6.11567 +shrext_cmds=".so"
6.11568 +postinstall_cmds=
6.11569 +postuninstall_cmds=
6.11570 +finish_cmds=
6.11571 +finish_eval=
6.11572 +shlibpath_var=
6.11573 +shlibpath_overrides_runpath=unknown
6.11574 +version_type=none
6.11575 +dynamic_linker="$host_os ld.so"
6.11576 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
6.11577 +if test "$GCC" = yes; then
6.11578 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.11579 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6.11580 + # if the path contains ";" then we assume it to be the separator
6.11581 + # otherwise default to the standard path separator (i.e. ":") - it is
6.11582 + # assumed that no part of a normal pathname contains ";" but that should
6.11583 + # okay in the real world where ";" in dirpaths is itself problematic.
6.11584 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.11585 + else
6.11586 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.11587 + fi
6.11588 +else
6.11589 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6.11590 +fi
6.11591 +need_lib_prefix=unknown
6.11592 +hardcode_into_libs=no
6.11593 +
6.11594 +# when you set need_version to no, make sure it does not cause -set_version
6.11595 +# flags to be left without arguments
6.11596 +need_version=unknown
6.11597 +
6.11598 +case $host_os in
6.11599 +aix3*)
6.11600 + version_type=linux
6.11601 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
6.11602 + shlibpath_var=LIBPATH
6.11603 +
6.11604 + # AIX 3 has no versioning support, so we append a major version to the name.
6.11605 + soname_spec='${libname}${release}${shared_ext}$major'
6.11606 + ;;
6.11607 +
6.11608 +aix4* | aix5*)
6.11609 + version_type=linux
6.11610 + need_lib_prefix=no
6.11611 + need_version=no
6.11612 + hardcode_into_libs=yes
6.11613 + if test "$host_cpu" = ia64; then
6.11614 + # AIX 5 supports IA64
6.11615 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6.11616 + shlibpath_var=LD_LIBRARY_PATH
6.11617 + else
6.11618 + # With GCC up to 2.95.x, collect2 would create an import file
6.11619 + # for dependence libraries. The import file would start with
6.11620 + # the line `#! .'. This would cause the generated library to
6.11621 + # depend on `.', always an invalid library. This was fixed in
6.11622 + # development snapshots of GCC prior to 3.0.
6.11623 + case $host_os in
6.11624 + aix4 | aix4.[01] | aix4.[01].*)
6.11625 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6.11626 + echo ' yes '
6.11627 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6.11628 + :
6.11629 + else
6.11630 + can_build_shared=no
6.11631 + fi
6.11632 + ;;
6.11633 + esac
6.11634 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6.11635 + # soname into executable. Probably we can add versioning support to
6.11636 + # collect2, so additional links can be useful in future.
6.11637 + if test "$aix_use_runtimelinking" = yes; then
6.11638 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6.11639 + # instead of lib<name>.a to let people know that these are not
6.11640 + # typical AIX shared libraries.
6.11641 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11642 + else
6.11643 + # We preserve .a as extension for shared libraries through AIX4.2
6.11644 + # and later when we are not doing run time linking.
6.11645 + library_names_spec='${libname}${release}.a $libname.a'
6.11646 + soname_spec='${libname}${release}${shared_ext}$major'
6.11647 + fi
6.11648 + shlibpath_var=LIBPATH
6.11649 + fi
6.11650 + ;;
6.11651 +
6.11652 +amigaos*)
6.11653 + library_names_spec='$libname.ixlibrary $libname.a'
6.11654 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
6.11655 + 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'
6.11656 + ;;
6.11657 +
6.11658 +beos*)
6.11659 + library_names_spec='${libname}${shared_ext}'
6.11660 + dynamic_linker="$host_os ld.so"
6.11661 + shlibpath_var=LIBRARY_PATH
6.11662 + ;;
6.11663 +
6.11664 +bsdi[45]*)
6.11665 + version_type=linux
6.11666 + need_version=no
6.11667 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11668 + soname_spec='${libname}${release}${shared_ext}$major'
6.11669 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6.11670 + shlibpath_var=LD_LIBRARY_PATH
6.11671 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6.11672 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6.11673 + # the default ld.so.conf also contains /usr/contrib/lib and
6.11674 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6.11675 + # libtool to hard-code these into programs
6.11676 + ;;
6.11677 +
6.11678 +cygwin* | mingw* | pw32*)
6.11679 + version_type=windows
6.11680 + shrext_cmds=".dll"
6.11681 + need_version=no
6.11682 + need_lib_prefix=no
6.11683 +
6.11684 + case $GCC,$host_os in
6.11685 + yes,cygwin* | yes,mingw* | yes,pw32*)
6.11686 + library_names_spec='$libname.dll.a'
6.11687 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
6.11688 + postinstall_cmds='base_file=`basename \${file}`~
6.11689 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6.11690 + dldir=$destdir/`dirname \$dlpath`~
6.11691 + test -d \$dldir || mkdir -p \$dldir~
6.11692 + $install_prog $dir/$dlname \$dldir/$dlname~
6.11693 + chmod a+x \$dldir/$dlname'
6.11694 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6.11695 + dlpath=$dir/\$dldll~
6.11696 + $rm \$dlpath'
6.11697 + shlibpath_overrides_runpath=yes
6.11698 +
6.11699 + case $host_os in
6.11700 + cygwin*)
6.11701 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6.11702 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.11703 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
6.11704 + ;;
6.11705 + mingw*)
6.11706 + # MinGW DLLs use traditional 'lib' prefix
6.11707 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.11708 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.11709 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
6.11710 + # It is most probably a Windows format PATH printed by
6.11711 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
6.11712 + # path with ; separators, and with drive letters. We can handle the
6.11713 + # drive letters (cygwin fileutils understands them), so leave them,
6.11714 + # especially as we might pass files found there to a mingw objdump,
6.11715 + # which wouldn't understand a cygwinified path. Ahh.
6.11716 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.11717 + else
6.11718 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.11719 + fi
6.11720 + ;;
6.11721 + pw32*)
6.11722 + # pw32 DLLs use 'pw' prefix rather than 'lib'
6.11723 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.11724 + ;;
6.11725 + esac
6.11726 + ;;
6.11727 +
6.11728 + *)
6.11729 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6.11730 + ;;
6.11731 + esac
6.11732 + dynamic_linker='Win32 ld.exe'
6.11733 + # FIXME: first we should search . and the directory the executable is in
6.11734 + shlibpath_var=PATH
6.11735 + ;;
6.11736 +
6.11737 +darwin* | rhapsody*)
6.11738 + dynamic_linker="$host_os dyld"
6.11739 + version_type=darwin
6.11740 + need_lib_prefix=no
6.11741 + need_version=no
6.11742 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6.11743 + soname_spec='${libname}${release}${major}$shared_ext'
6.11744 + shlibpath_overrides_runpath=yes
6.11745 + shlibpath_var=DYLD_LIBRARY_PATH
6.11746 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
6.11747 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6.11748 + if test "$GCC" = yes; then
6.11749 + 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"`
6.11750 + else
6.11751 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
6.11752 + fi
6.11753 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
6.11754 + ;;
6.11755 +
6.11756 +dgux*)
6.11757 + version_type=linux
6.11758 + need_lib_prefix=no
6.11759 + need_version=no
6.11760 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6.11761 + soname_spec='${libname}${release}${shared_ext}$major'
6.11762 + shlibpath_var=LD_LIBRARY_PATH
6.11763 + ;;
6.11764 +
6.11765 +freebsd1*)
6.11766 + dynamic_linker=no
6.11767 + ;;
6.11768 +
6.11769 +kfreebsd*-gnu)
6.11770 + version_type=linux
6.11771 + need_lib_prefix=no
6.11772 + need_version=no
6.11773 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.11774 + soname_spec='${libname}${release}${shared_ext}$major'
6.11775 + shlibpath_var=LD_LIBRARY_PATH
6.11776 + shlibpath_overrides_runpath=no
6.11777 + hardcode_into_libs=yes
6.11778 + dynamic_linker='GNU ld.so'
6.11779 + ;;
6.11780 +
6.11781 +freebsd* | dragonfly*)
6.11782 + # DragonFly does not have aout. When/if they implement a new
6.11783 + # versioning mechanism, adjust this.
6.11784 + if test -x /usr/bin/objformat; then
6.11785 + objformat=`/usr/bin/objformat`
6.11786 + else
6.11787 + case $host_os in
6.11788 + freebsd[123]*) objformat=aout ;;
6.11789 + *) objformat=elf ;;
6.11790 + esac
6.11791 + fi
6.11792 + version_type=freebsd-$objformat
6.11793 + case $version_type in
6.11794 + freebsd-elf*)
6.11795 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6.11796 + need_version=no
6.11797 + need_lib_prefix=no
6.11798 + ;;
6.11799 + freebsd-*)
6.11800 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6.11801 + need_version=yes
6.11802 + ;;
6.11803 + esac
6.11804 + shlibpath_var=LD_LIBRARY_PATH
6.11805 + case $host_os in
6.11806 + freebsd2*)
6.11807 + shlibpath_overrides_runpath=yes
6.11808 + ;;
6.11809 + freebsd3.[01]* | freebsdelf3.[01]*)
6.11810 + shlibpath_overrides_runpath=yes
6.11811 + hardcode_into_libs=yes
6.11812 + ;;
6.11813 + *) # from 3.2 on
6.11814 + shlibpath_overrides_runpath=no
6.11815 + hardcode_into_libs=yes
6.11816 + ;;
6.11817 + esac
6.11818 + ;;
6.11819 +
6.11820 +gnu*)
6.11821 + version_type=linux
6.11822 + need_lib_prefix=no
6.11823 + need_version=no
6.11824 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6.11825 + soname_spec='${libname}${release}${shared_ext}$major'
6.11826 + shlibpath_var=LD_LIBRARY_PATH
6.11827 + hardcode_into_libs=yes
6.11828 + ;;
6.11829 +
6.11830 +hpux9* | hpux10* | hpux11*)
6.11831 + # Give a soname corresponding to the major version so that dld.sl refuses to
6.11832 + # link against other versions.
6.11833 + version_type=sunos
6.11834 + need_lib_prefix=no
6.11835 + need_version=no
6.11836 + case $host_cpu in
6.11837 + ia64*)
6.11838 + shrext_cmds='.so'
6.11839 + hardcode_into_libs=yes
6.11840 + dynamic_linker="$host_os dld.so"
6.11841 + shlibpath_var=LD_LIBRARY_PATH
6.11842 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.11843 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11844 + soname_spec='${libname}${release}${shared_ext}$major'
6.11845 + if test "X$HPUX_IA64_MODE" = X32; then
6.11846 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6.11847 + else
6.11848 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
6.11849 + fi
6.11850 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.11851 + ;;
6.11852 + hppa*64*)
6.11853 + shrext_cmds='.sl'
6.11854 + hardcode_into_libs=yes
6.11855 + dynamic_linker="$host_os dld.sl"
6.11856 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6.11857 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.11858 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11859 + soname_spec='${libname}${release}${shared_ext}$major'
6.11860 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6.11861 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.11862 + ;;
6.11863 + *)
6.11864 + shrext_cmds='.sl'
6.11865 + dynamic_linker="$host_os dld.sl"
6.11866 + shlibpath_var=SHLIB_PATH
6.11867 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6.11868 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11869 + soname_spec='${libname}${release}${shared_ext}$major'
6.11870 + ;;
6.11871 + esac
6.11872 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
6.11873 + postinstall_cmds='chmod 555 $lib'
6.11874 + ;;
6.11875 +
6.11876 +irix5* | irix6* | nonstopux*)
6.11877 + case $host_os in
6.11878 + nonstopux*) version_type=nonstopux ;;
6.11879 + *)
6.11880 + if test "$lt_cv_prog_gnu_ld" = yes; then
6.11881 + version_type=linux
6.11882 + else
6.11883 + version_type=irix
6.11884 + fi ;;
6.11885 + esac
6.11886 + need_lib_prefix=no
6.11887 + need_version=no
6.11888 + soname_spec='${libname}${release}${shared_ext}$major'
6.11889 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6.11890 + case $host_os in
6.11891 + irix5* | nonstopux*)
6.11892 + libsuff= shlibsuff=
6.11893 + ;;
6.11894 + *)
6.11895 + case $LD in # libtool.m4 will add one of these switches to LD
6.11896 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
6.11897 + libsuff= shlibsuff= libmagic=32-bit;;
6.11898 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
6.11899 + libsuff=32 shlibsuff=N32 libmagic=N32;;
6.11900 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
6.11901 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
6.11902 + *) libsuff= shlibsuff= libmagic=never-match;;
6.11903 + esac
6.11904 + ;;
6.11905 + esac
6.11906 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6.11907 + shlibpath_overrides_runpath=no
6.11908 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6.11909 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6.11910 + hardcode_into_libs=yes
6.11911 + ;;
6.11912 +
6.11913 +# No shared lib support for Linux oldld, aout, or coff.
6.11914 +linux*oldld* | linux*aout* | linux*coff*)
6.11915 + dynamic_linker=no
6.11916 + ;;
6.11917 +
6.11918 +# This must be Linux ELF.
6.11919 +linux*)
6.11920 + version_type=linux
6.11921 + need_lib_prefix=no
6.11922 + need_version=no
6.11923 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11924 + soname_spec='${libname}${release}${shared_ext}$major'
6.11925 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6.11926 + shlibpath_var=LD_LIBRARY_PATH
6.11927 + shlibpath_overrides_runpath=no
6.11928 + # This implies no fast_install, which is unacceptable.
6.11929 + # Some rework will be needed to allow for fast_install
6.11930 + # before this can be enabled.
6.11931 + hardcode_into_libs=yes
6.11932 +
6.11933 + # Append ld.so.conf contents to the search path
6.11934 + if test -f /etc/ld.so.conf; then
6.11935 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
6.11936 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6.11937 + fi
6.11938 +
6.11939 + # We used to test for /lib/ld.so.1 and disable shared libraries on
6.11940 + # powerpc, because MkLinux only supported shared libraries with the
6.11941 + # GNU dynamic linker. Since this was broken with cross compilers,
6.11942 + # most powerpc-linux boxes support dynamic linking these days and
6.11943 + # people can always --disable-shared, the test was removed, and we
6.11944 + # assume the GNU/Linux dynamic linker is in use.
6.11945 + dynamic_linker='GNU/Linux ld.so'
6.11946 + ;;
6.11947 +
6.11948 +knetbsd*-gnu)
6.11949 + version_type=linux
6.11950 + need_lib_prefix=no
6.11951 + need_version=no
6.11952 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.11953 + soname_spec='${libname}${release}${shared_ext}$major'
6.11954 + shlibpath_var=LD_LIBRARY_PATH
6.11955 + shlibpath_overrides_runpath=no
6.11956 + hardcode_into_libs=yes
6.11957 + dynamic_linker='GNU ld.so'
6.11958 + ;;
6.11959 +
6.11960 +netbsd*)
6.11961 + version_type=sunos
6.11962 + need_lib_prefix=no
6.11963 + need_version=no
6.11964 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.11965 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.11966 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.11967 + dynamic_linker='NetBSD (a.out) ld.so'
6.11968 + else
6.11969 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.11970 + soname_spec='${libname}${release}${shared_ext}$major'
6.11971 + dynamic_linker='NetBSD ld.elf_so'
6.11972 + fi
6.11973 + shlibpath_var=LD_LIBRARY_PATH
6.11974 + shlibpath_overrides_runpath=yes
6.11975 + hardcode_into_libs=yes
6.11976 + ;;
6.11977 +
6.11978 +newsos6)
6.11979 + version_type=linux
6.11980 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11981 + shlibpath_var=LD_LIBRARY_PATH
6.11982 + shlibpath_overrides_runpath=yes
6.11983 + ;;
6.11984 +
6.11985 +nto-qnx*)
6.11986 + version_type=linux
6.11987 + need_lib_prefix=no
6.11988 + need_version=no
6.11989 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.11990 + soname_spec='${libname}${release}${shared_ext}$major'
6.11991 + shlibpath_var=LD_LIBRARY_PATH
6.11992 + shlibpath_overrides_runpath=yes
6.11993 + ;;
6.11994 +
6.11995 +openbsd*)
6.11996 + version_type=sunos
6.11997 + need_lib_prefix=no
6.11998 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6.11999 + case $host_os in
6.12000 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
6.12001 + *) need_version=no ;;
6.12002 + esac
6.12003 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.12004 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.12005 + shlibpath_var=LD_LIBRARY_PATH
6.12006 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.12007 + case $host_os in
6.12008 + openbsd2.[89] | openbsd2.[89].*)
6.12009 + shlibpath_overrides_runpath=no
6.12010 + ;;
6.12011 + *)
6.12012 + shlibpath_overrides_runpath=yes
6.12013 + ;;
6.12014 + esac
6.12015 + else
6.12016 + shlibpath_overrides_runpath=yes
6.12017 + fi
6.12018 + ;;
6.12019 +
6.12020 +os2*)
6.12021 + libname_spec='$name'
6.12022 + shrext_cmds=".dll"
6.12023 + need_lib_prefix=no
6.12024 + library_names_spec='$libname${shared_ext} $libname.a'
6.12025 + dynamic_linker='OS/2 ld.exe'
6.12026 + shlibpath_var=LIBPATH
6.12027 + ;;
6.12028 +
6.12029 +osf3* | osf4* | osf5*)
6.12030 + version_type=osf
6.12031 + need_lib_prefix=no
6.12032 + need_version=no
6.12033 + soname_spec='${libname}${release}${shared_ext}$major'
6.12034 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.12035 + shlibpath_var=LD_LIBRARY_PATH
6.12036 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6.12037 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6.12038 + ;;
6.12039 +
6.12040 +sco3.2v5*)
6.12041 + version_type=osf
6.12042 + soname_spec='${libname}${release}${shared_ext}$major'
6.12043 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.12044 + shlibpath_var=LD_LIBRARY_PATH
6.12045 + ;;
6.12046 +
6.12047 +solaris*)
6.12048 + version_type=linux
6.12049 + need_lib_prefix=no
6.12050 + need_version=no
6.12051 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.12052 + soname_spec='${libname}${release}${shared_ext}$major'
6.12053 + shlibpath_var=LD_LIBRARY_PATH
6.12054 + shlibpath_overrides_runpath=yes
6.12055 + hardcode_into_libs=yes
6.12056 + # ldd complains unless libraries are executable
6.12057 + postinstall_cmds='chmod +x $lib'
6.12058 + ;;
6.12059 +
6.12060 +sunos4*)
6.12061 + version_type=sunos
6.12062 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.12063 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6.12064 + shlibpath_var=LD_LIBRARY_PATH
6.12065 + shlibpath_overrides_runpath=yes
6.12066 + if test "$with_gnu_ld" = yes; then
6.12067 + need_lib_prefix=no
6.12068 + fi
6.12069 + need_version=yes
6.12070 + ;;
6.12071 +
6.12072 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.12073 + version_type=linux
6.12074 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.12075 + soname_spec='${libname}${release}${shared_ext}$major'
6.12076 + shlibpath_var=LD_LIBRARY_PATH
6.12077 + case $host_vendor in
6.12078 + sni)
6.12079 + shlibpath_overrides_runpath=no
6.12080 + need_lib_prefix=no
6.12081 + export_dynamic_flag_spec='${wl}-Blargedynsym'
6.12082 + runpath_var=LD_RUN_PATH
6.12083 + ;;
6.12084 + siemens)
6.12085 + need_lib_prefix=no
6.12086 + ;;
6.12087 + motorola)
6.12088 + need_lib_prefix=no
6.12089 + need_version=no
6.12090 + shlibpath_overrides_runpath=no
6.12091 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6.12092 + ;;
6.12093 + esac
6.12094 + ;;
6.12095 +
6.12096 +sysv4*MP*)
6.12097 + if test -d /usr/nec ;then
6.12098 + version_type=linux
6.12099 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6.12100 + soname_spec='$libname${shared_ext}.$major'
6.12101 + shlibpath_var=LD_LIBRARY_PATH
6.12102 + fi
6.12103 + ;;
6.12104 +
6.12105 +uts4*)
6.12106 + version_type=linux
6.12107 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.12108 + soname_spec='${libname}${release}${shared_ext}$major'
6.12109 + shlibpath_var=LD_LIBRARY_PATH
6.12110 + ;;
6.12111 +
6.12112 +*)
6.12113 + dynamic_linker=no
6.12114 + ;;
6.12115 +esac
6.12116 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6.12117 +echo "${ECHO_T}$dynamic_linker" >&6
6.12118 +test "$dynamic_linker" = no && can_build_shared=no
6.12119 +
6.12120 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6.12121 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6.12122 +hardcode_action_CXX=
6.12123 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
6.12124 + test -n "$runpath_var_CXX" || \
6.12125 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
6.12126 +
6.12127 + # We can hardcode non-existant directories.
6.12128 + if test "$hardcode_direct_CXX" != no &&
6.12129 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
6.12130 + # have to relink, otherwise we might link with an installed library
6.12131 + # when we should be linking with a yet-to-be-installed one
6.12132 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
6.12133 + test "$hardcode_minus_L_CXX" != no; then
6.12134 + # Linking always hardcodes the temporary library directory.
6.12135 + hardcode_action_CXX=relink
6.12136 + else
6.12137 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
6.12138 + hardcode_action_CXX=immediate
6.12139 + fi
6.12140 +else
6.12141 + # We cannot hardcode anything, or else we can only hardcode existing
6.12142 + # directories.
6.12143 + hardcode_action_CXX=unsupported
6.12144 +fi
6.12145 +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
6.12146 +echo "${ECHO_T}$hardcode_action_CXX" >&6
6.12147 +
6.12148 +if test "$hardcode_action_CXX" = relink; then
6.12149 + # Fast installation is not supported
6.12150 + enable_fast_install=no
6.12151 +elif test "$shlibpath_overrides_runpath" = yes ||
6.12152 + test "$enable_shared" = no; then
6.12153 + # Fast installation is not necessary
6.12154 + enable_fast_install=needless
6.12155 +fi
6.12156 +
6.12157 +striplib=
6.12158 +old_striplib=
6.12159 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6.12160 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6.12161 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6.12162 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6.12163 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6.12164 + echo "$as_me:$LINENO: result: yes" >&5
6.12165 +echo "${ECHO_T}yes" >&6
6.12166 +else
6.12167 +# FIXME - insert some real tests, host_os isn't really good enough
6.12168 + case $host_os in
6.12169 + darwin*)
6.12170 + if test -n "$STRIP" ; then
6.12171 + striplib="$STRIP -x"
6.12172 + echo "$as_me:$LINENO: result: yes" >&5
6.12173 +echo "${ECHO_T}yes" >&6
6.12174 + else
6.12175 + echo "$as_me:$LINENO: result: no" >&5
6.12176 +echo "${ECHO_T}no" >&6
6.12177 +fi
6.12178 + ;;
6.12179 + *)
6.12180 + echo "$as_me:$LINENO: result: no" >&5
6.12181 +echo "${ECHO_T}no" >&6
6.12182 + ;;
6.12183 + esac
6.12184 +fi
6.12185 +
6.12186 +if test "x$enable_dlopen" != xyes; then
6.12187 + enable_dlopen=unknown
6.12188 + enable_dlopen_self=unknown
6.12189 + enable_dlopen_self_static=unknown
6.12190 +else
6.12191 + lt_cv_dlopen=no
6.12192 + lt_cv_dlopen_libs=
6.12193 +
6.12194 + case $host_os in
6.12195 + beos*)
6.12196 + lt_cv_dlopen="load_add_on"
6.12197 + lt_cv_dlopen_libs=
6.12198 + lt_cv_dlopen_self=yes
6.12199 + ;;
6.12200 +
6.12201 + mingw* | pw32*)
6.12202 + lt_cv_dlopen="LoadLibrary"
6.12203 + lt_cv_dlopen_libs=
6.12204 + ;;
6.12205 +
6.12206 + cygwin*)
6.12207 + lt_cv_dlopen="dlopen"
6.12208 + lt_cv_dlopen_libs=
6.12209 + ;;
6.12210 +
6.12211 + darwin*)
6.12212 + # if libdl is installed we need to link against it
6.12213 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.12214 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.12215 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.12216 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.12217 +else
6.12218 + ac_check_lib_save_LIBS=$LIBS
6.12219 +LIBS="-ldl $LIBS"
6.12220 +cat >conftest.$ac_ext <<_ACEOF
6.12221 +/* confdefs.h. */
6.12222 +_ACEOF
6.12223 +cat confdefs.h >>conftest.$ac_ext
6.12224 +cat >>conftest.$ac_ext <<_ACEOF
6.12225 +/* end confdefs.h. */
6.12226 +
6.12227 +/* Override any gcc2 internal prototype to avoid an error. */
6.12228 +#ifdef __cplusplus
6.12229 +extern "C"
6.12230 +#endif
6.12231 +/* We use char because int might match the return type of a gcc2
6.12232 + builtin and then its argument prototype would still apply. */
6.12233 +char dlopen ();
6.12234 +int
6.12235 +main ()
6.12236 +{
6.12237 +dlopen ();
6.12238 + ;
6.12239 + return 0;
6.12240 +}
6.12241 +_ACEOF
6.12242 +rm -f conftest.$ac_objext conftest$ac_exeext
6.12243 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12244 + (eval $ac_link) 2>conftest.er1
6.12245 + ac_status=$?
6.12246 + grep -v '^ *+' conftest.er1 >conftest.err
6.12247 + rm -f conftest.er1
6.12248 + cat conftest.err >&5
6.12249 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12250 + (exit $ac_status); } &&
6.12251 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12252 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12253 + (eval $ac_try) 2>&5
6.12254 + ac_status=$?
6.12255 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12256 + (exit $ac_status); }; } &&
6.12257 + { ac_try='test -s conftest$ac_exeext'
6.12258 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12259 + (eval $ac_try) 2>&5
6.12260 + ac_status=$?
6.12261 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12262 + (exit $ac_status); }; }; then
6.12263 + ac_cv_lib_dl_dlopen=yes
6.12264 +else
6.12265 + echo "$as_me: failed program was:" >&5
6.12266 +sed 's/^/| /' conftest.$ac_ext >&5
6.12267 +
6.12268 +ac_cv_lib_dl_dlopen=no
6.12269 +fi
6.12270 +rm -f conftest.err conftest.$ac_objext \
6.12271 + conftest$ac_exeext conftest.$ac_ext
6.12272 +LIBS=$ac_check_lib_save_LIBS
6.12273 +fi
6.12274 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.12275 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.12276 +if test $ac_cv_lib_dl_dlopen = yes; then
6.12277 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.12278 +else
6.12279 +
6.12280 + lt_cv_dlopen="dyld"
6.12281 + lt_cv_dlopen_libs=
6.12282 + lt_cv_dlopen_self=yes
6.12283 +
6.12284 +fi
6.12285 +
6.12286 + ;;
6.12287 +
6.12288 + *)
6.12289 + echo "$as_me:$LINENO: checking for shl_load" >&5
6.12290 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
6.12291 +if test "${ac_cv_func_shl_load+set}" = set; then
6.12292 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.12293 +else
6.12294 + cat >conftest.$ac_ext <<_ACEOF
6.12295 +/* confdefs.h. */
6.12296 +_ACEOF
6.12297 +cat confdefs.h >>conftest.$ac_ext
6.12298 +cat >>conftest.$ac_ext <<_ACEOF
6.12299 +/* end confdefs.h. */
6.12300 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
6.12301 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.12302 +#define shl_load innocuous_shl_load
6.12303 +
6.12304 +/* System header to define __stub macros and hopefully few prototypes,
6.12305 + which can conflict with char shl_load (); below.
6.12306 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.12307 + <limits.h> exists even on freestanding compilers. */
6.12308 +
6.12309 +#ifdef __STDC__
6.12310 +# include <limits.h>
6.12311 +#else
6.12312 +# include <assert.h>
6.12313 +#endif
6.12314 +
6.12315 +#undef shl_load
6.12316 +
6.12317 +/* Override any gcc2 internal prototype to avoid an error. */
6.12318 +#ifdef __cplusplus
6.12319 +extern "C"
6.12320 +{
6.12321 +#endif
6.12322 +/* We use char because int might match the return type of a gcc2
6.12323 + builtin and then its argument prototype would still apply. */
6.12324 +char shl_load ();
6.12325 +/* The GNU C library defines this for functions which it implements
6.12326 + to always fail with ENOSYS. Some functions are actually named
6.12327 + something starting with __ and the normal name is an alias. */
6.12328 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
6.12329 +choke me
6.12330 +#else
6.12331 +char (*f) () = shl_load;
6.12332 +#endif
6.12333 +#ifdef __cplusplus
6.12334 +}
6.12335 +#endif
6.12336 +
6.12337 +int
6.12338 +main ()
6.12339 +{
6.12340 +return f != shl_load;
6.12341 + ;
6.12342 + return 0;
6.12343 +}
6.12344 +_ACEOF
6.12345 +rm -f conftest.$ac_objext conftest$ac_exeext
6.12346 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12347 + (eval $ac_link) 2>conftest.er1
6.12348 + ac_status=$?
6.12349 + grep -v '^ *+' conftest.er1 >conftest.err
6.12350 + rm -f conftest.er1
6.12351 + cat conftest.err >&5
6.12352 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12353 + (exit $ac_status); } &&
6.12354 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12355 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12356 + (eval $ac_try) 2>&5
6.12357 + ac_status=$?
6.12358 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12359 + (exit $ac_status); }; } &&
6.12360 + { ac_try='test -s conftest$ac_exeext'
6.12361 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12362 + (eval $ac_try) 2>&5
6.12363 + ac_status=$?
6.12364 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12365 + (exit $ac_status); }; }; then
6.12366 + ac_cv_func_shl_load=yes
6.12367 +else
6.12368 + echo "$as_me: failed program was:" >&5
6.12369 +sed 's/^/| /' conftest.$ac_ext >&5
6.12370 +
6.12371 +ac_cv_func_shl_load=no
6.12372 +fi
6.12373 +rm -f conftest.err conftest.$ac_objext \
6.12374 + conftest$ac_exeext conftest.$ac_ext
6.12375 +fi
6.12376 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
6.12377 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6.12378 +if test $ac_cv_func_shl_load = yes; then
6.12379 + lt_cv_dlopen="shl_load"
6.12380 +else
6.12381 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
6.12382 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
6.12383 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
6.12384 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.12385 +else
6.12386 + ac_check_lib_save_LIBS=$LIBS
6.12387 +LIBS="-ldld $LIBS"
6.12388 +cat >conftest.$ac_ext <<_ACEOF
6.12389 +/* confdefs.h. */
6.12390 +_ACEOF
6.12391 +cat confdefs.h >>conftest.$ac_ext
6.12392 +cat >>conftest.$ac_ext <<_ACEOF
6.12393 +/* end confdefs.h. */
6.12394 +
6.12395 +/* Override any gcc2 internal prototype to avoid an error. */
6.12396 +#ifdef __cplusplus
6.12397 +extern "C"
6.12398 +#endif
6.12399 +/* We use char because int might match the return type of a gcc2
6.12400 + builtin and then its argument prototype would still apply. */
6.12401 +char shl_load ();
6.12402 +int
6.12403 +main ()
6.12404 +{
6.12405 +shl_load ();
6.12406 + ;
6.12407 + return 0;
6.12408 +}
6.12409 +_ACEOF
6.12410 +rm -f conftest.$ac_objext conftest$ac_exeext
6.12411 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12412 + (eval $ac_link) 2>conftest.er1
6.12413 + ac_status=$?
6.12414 + grep -v '^ *+' conftest.er1 >conftest.err
6.12415 + rm -f conftest.er1
6.12416 + cat conftest.err >&5
6.12417 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12418 + (exit $ac_status); } &&
6.12419 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12420 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12421 + (eval $ac_try) 2>&5
6.12422 + ac_status=$?
6.12423 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12424 + (exit $ac_status); }; } &&
6.12425 + { ac_try='test -s conftest$ac_exeext'
6.12426 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12427 + (eval $ac_try) 2>&5
6.12428 + ac_status=$?
6.12429 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12430 + (exit $ac_status); }; }; then
6.12431 + ac_cv_lib_dld_shl_load=yes
6.12432 +else
6.12433 + echo "$as_me: failed program was:" >&5
6.12434 +sed 's/^/| /' conftest.$ac_ext >&5
6.12435 +
6.12436 +ac_cv_lib_dld_shl_load=no
6.12437 +fi
6.12438 +rm -f conftest.err conftest.$ac_objext \
6.12439 + conftest$ac_exeext conftest.$ac_ext
6.12440 +LIBS=$ac_check_lib_save_LIBS
6.12441 +fi
6.12442 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6.12443 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
6.12444 +if test $ac_cv_lib_dld_shl_load = yes; then
6.12445 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
6.12446 +else
6.12447 + echo "$as_me:$LINENO: checking for dlopen" >&5
6.12448 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
6.12449 +if test "${ac_cv_func_dlopen+set}" = set; then
6.12450 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.12451 +else
6.12452 + cat >conftest.$ac_ext <<_ACEOF
6.12453 +/* confdefs.h. */
6.12454 +_ACEOF
6.12455 +cat confdefs.h >>conftest.$ac_ext
6.12456 +cat >>conftest.$ac_ext <<_ACEOF
6.12457 +/* end confdefs.h. */
6.12458 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
6.12459 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.12460 +#define dlopen innocuous_dlopen
6.12461 +
6.12462 +/* System header to define __stub macros and hopefully few prototypes,
6.12463 + which can conflict with char dlopen (); below.
6.12464 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.12465 + <limits.h> exists even on freestanding compilers. */
6.12466 +
6.12467 +#ifdef __STDC__
6.12468 +# include <limits.h>
6.12469 +#else
6.12470 +# include <assert.h>
6.12471 +#endif
6.12472 +
6.12473 +#undef dlopen
6.12474 +
6.12475 +/* Override any gcc2 internal prototype to avoid an error. */
6.12476 +#ifdef __cplusplus
6.12477 +extern "C"
6.12478 +{
6.12479 +#endif
6.12480 +/* We use char because int might match the return type of a gcc2
6.12481 + builtin and then its argument prototype would still apply. */
6.12482 +char dlopen ();
6.12483 +/* The GNU C library defines this for functions which it implements
6.12484 + to always fail with ENOSYS. Some functions are actually named
6.12485 + something starting with __ and the normal name is an alias. */
6.12486 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
6.12487 +choke me
6.12488 +#else
6.12489 +char (*f) () = dlopen;
6.12490 +#endif
6.12491 +#ifdef __cplusplus
6.12492 +}
6.12493 +#endif
6.12494 +
6.12495 +int
6.12496 +main ()
6.12497 +{
6.12498 +return f != dlopen;
6.12499 + ;
6.12500 + return 0;
6.12501 +}
6.12502 +_ACEOF
6.12503 +rm -f conftest.$ac_objext conftest$ac_exeext
6.12504 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12505 + (eval $ac_link) 2>conftest.er1
6.12506 + ac_status=$?
6.12507 + grep -v '^ *+' conftest.er1 >conftest.err
6.12508 + rm -f conftest.er1
6.12509 + cat conftest.err >&5
6.12510 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12511 + (exit $ac_status); } &&
6.12512 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12513 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12514 + (eval $ac_try) 2>&5
6.12515 + ac_status=$?
6.12516 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12517 + (exit $ac_status); }; } &&
6.12518 + { ac_try='test -s conftest$ac_exeext'
6.12519 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12520 + (eval $ac_try) 2>&5
6.12521 + ac_status=$?
6.12522 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12523 + (exit $ac_status); }; }; then
6.12524 + ac_cv_func_dlopen=yes
6.12525 +else
6.12526 + echo "$as_me: failed program was:" >&5
6.12527 +sed 's/^/| /' conftest.$ac_ext >&5
6.12528 +
6.12529 +ac_cv_func_dlopen=no
6.12530 +fi
6.12531 +rm -f conftest.err conftest.$ac_objext \
6.12532 + conftest$ac_exeext conftest.$ac_ext
6.12533 +fi
6.12534 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
6.12535 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
6.12536 +if test $ac_cv_func_dlopen = yes; then
6.12537 + lt_cv_dlopen="dlopen"
6.12538 +else
6.12539 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.12540 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.12541 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.12542 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.12543 +else
6.12544 + ac_check_lib_save_LIBS=$LIBS
6.12545 +LIBS="-ldl $LIBS"
6.12546 +cat >conftest.$ac_ext <<_ACEOF
6.12547 +/* confdefs.h. */
6.12548 +_ACEOF
6.12549 +cat confdefs.h >>conftest.$ac_ext
6.12550 +cat >>conftest.$ac_ext <<_ACEOF
6.12551 +/* end confdefs.h. */
6.12552 +
6.12553 +/* Override any gcc2 internal prototype to avoid an error. */
6.12554 +#ifdef __cplusplus
6.12555 +extern "C"
6.12556 +#endif
6.12557 +/* We use char because int might match the return type of a gcc2
6.12558 + builtin and then its argument prototype would still apply. */
6.12559 +char dlopen ();
6.12560 +int
6.12561 +main ()
6.12562 +{
6.12563 +dlopen ();
6.12564 + ;
6.12565 + return 0;
6.12566 +}
6.12567 +_ACEOF
6.12568 +rm -f conftest.$ac_objext conftest$ac_exeext
6.12569 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12570 + (eval $ac_link) 2>conftest.er1
6.12571 + ac_status=$?
6.12572 + grep -v '^ *+' conftest.er1 >conftest.err
6.12573 + rm -f conftest.er1
6.12574 + cat conftest.err >&5
6.12575 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12576 + (exit $ac_status); } &&
6.12577 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12578 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12579 + (eval $ac_try) 2>&5
6.12580 + ac_status=$?
6.12581 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12582 + (exit $ac_status); }; } &&
6.12583 + { ac_try='test -s conftest$ac_exeext'
6.12584 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12585 + (eval $ac_try) 2>&5
6.12586 + ac_status=$?
6.12587 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12588 + (exit $ac_status); }; }; then
6.12589 + ac_cv_lib_dl_dlopen=yes
6.12590 +else
6.12591 + echo "$as_me: failed program was:" >&5
6.12592 +sed 's/^/| /' conftest.$ac_ext >&5
6.12593 +
6.12594 +ac_cv_lib_dl_dlopen=no
6.12595 +fi
6.12596 +rm -f conftest.err conftest.$ac_objext \
6.12597 + conftest$ac_exeext conftest.$ac_ext
6.12598 +LIBS=$ac_check_lib_save_LIBS
6.12599 +fi
6.12600 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.12601 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.12602 +if test $ac_cv_lib_dl_dlopen = yes; then
6.12603 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.12604 +else
6.12605 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
6.12606 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
6.12607 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
6.12608 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.12609 +else
6.12610 + ac_check_lib_save_LIBS=$LIBS
6.12611 +LIBS="-lsvld $LIBS"
6.12612 +cat >conftest.$ac_ext <<_ACEOF
6.12613 +/* confdefs.h. */
6.12614 +_ACEOF
6.12615 +cat confdefs.h >>conftest.$ac_ext
6.12616 +cat >>conftest.$ac_ext <<_ACEOF
6.12617 +/* end confdefs.h. */
6.12618 +
6.12619 +/* Override any gcc2 internal prototype to avoid an error. */
6.12620 +#ifdef __cplusplus
6.12621 +extern "C"
6.12622 +#endif
6.12623 +/* We use char because int might match the return type of a gcc2
6.12624 + builtin and then its argument prototype would still apply. */
6.12625 +char dlopen ();
6.12626 +int
6.12627 +main ()
6.12628 +{
6.12629 +dlopen ();
6.12630 + ;
6.12631 + return 0;
6.12632 +}
6.12633 +_ACEOF
6.12634 +rm -f conftest.$ac_objext conftest$ac_exeext
6.12635 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12636 + (eval $ac_link) 2>conftest.er1
6.12637 + ac_status=$?
6.12638 + grep -v '^ *+' conftest.er1 >conftest.err
6.12639 + rm -f conftest.er1
6.12640 + cat conftest.err >&5
6.12641 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12642 + (exit $ac_status); } &&
6.12643 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12644 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12645 + (eval $ac_try) 2>&5
6.12646 + ac_status=$?
6.12647 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12648 + (exit $ac_status); }; } &&
6.12649 + { ac_try='test -s conftest$ac_exeext'
6.12650 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12651 + (eval $ac_try) 2>&5
6.12652 + ac_status=$?
6.12653 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12654 + (exit $ac_status); }; }; then
6.12655 + ac_cv_lib_svld_dlopen=yes
6.12656 +else
6.12657 + echo "$as_me: failed program was:" >&5
6.12658 +sed 's/^/| /' conftest.$ac_ext >&5
6.12659 +
6.12660 +ac_cv_lib_svld_dlopen=no
6.12661 +fi
6.12662 +rm -f conftest.err conftest.$ac_objext \
6.12663 + conftest$ac_exeext conftest.$ac_ext
6.12664 +LIBS=$ac_check_lib_save_LIBS
6.12665 +fi
6.12666 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
6.12667 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
6.12668 +if test $ac_cv_lib_svld_dlopen = yes; then
6.12669 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
6.12670 +else
6.12671 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
6.12672 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
6.12673 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
6.12674 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.12675 +else
6.12676 + ac_check_lib_save_LIBS=$LIBS
6.12677 +LIBS="-ldld $LIBS"
6.12678 +cat >conftest.$ac_ext <<_ACEOF
6.12679 +/* confdefs.h. */
6.12680 +_ACEOF
6.12681 +cat confdefs.h >>conftest.$ac_ext
6.12682 +cat >>conftest.$ac_ext <<_ACEOF
6.12683 +/* end confdefs.h. */
6.12684 +
6.12685 +/* Override any gcc2 internal prototype to avoid an error. */
6.12686 +#ifdef __cplusplus
6.12687 +extern "C"
6.12688 +#endif
6.12689 +/* We use char because int might match the return type of a gcc2
6.12690 + builtin and then its argument prototype would still apply. */
6.12691 +char dld_link ();
6.12692 +int
6.12693 +main ()
6.12694 +{
6.12695 +dld_link ();
6.12696 + ;
6.12697 + return 0;
6.12698 +}
6.12699 +_ACEOF
6.12700 +rm -f conftest.$ac_objext conftest$ac_exeext
6.12701 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12702 + (eval $ac_link) 2>conftest.er1
6.12703 + ac_status=$?
6.12704 + grep -v '^ *+' conftest.er1 >conftest.err
6.12705 + rm -f conftest.er1
6.12706 + cat conftest.err >&5
6.12707 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12708 + (exit $ac_status); } &&
6.12709 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.12710 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12711 + (eval $ac_try) 2>&5
6.12712 + ac_status=$?
6.12713 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12714 + (exit $ac_status); }; } &&
6.12715 + { ac_try='test -s conftest$ac_exeext'
6.12716 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.12717 + (eval $ac_try) 2>&5
6.12718 + ac_status=$?
6.12719 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12720 + (exit $ac_status); }; }; then
6.12721 + ac_cv_lib_dld_dld_link=yes
6.12722 +else
6.12723 + echo "$as_me: failed program was:" >&5
6.12724 +sed 's/^/| /' conftest.$ac_ext >&5
6.12725 +
6.12726 +ac_cv_lib_dld_dld_link=no
6.12727 +fi
6.12728 +rm -f conftest.err conftest.$ac_objext \
6.12729 + conftest$ac_exeext conftest.$ac_ext
6.12730 +LIBS=$ac_check_lib_save_LIBS
6.12731 +fi
6.12732 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
6.12733 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
6.12734 +if test $ac_cv_lib_dld_dld_link = yes; then
6.12735 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
6.12736 +fi
6.12737 +
6.12738 +
6.12739 +fi
6.12740 +
6.12741 +
6.12742 +fi
6.12743 +
6.12744 +
6.12745 +fi
6.12746 +
6.12747 +
6.12748 +fi
6.12749 +
6.12750 +
6.12751 +fi
6.12752 +
6.12753 + ;;
6.12754 + esac
6.12755 +
6.12756 + if test "x$lt_cv_dlopen" != xno; then
6.12757 + enable_dlopen=yes
6.12758 + else
6.12759 + enable_dlopen=no
6.12760 + fi
6.12761 +
6.12762 + case $lt_cv_dlopen in
6.12763 + dlopen)
6.12764 + save_CPPFLAGS="$CPPFLAGS"
6.12765 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
6.12766 +
6.12767 + save_LDFLAGS="$LDFLAGS"
6.12768 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
6.12769 +
6.12770 + save_LIBS="$LIBS"
6.12771 + LIBS="$lt_cv_dlopen_libs $LIBS"
6.12772 +
6.12773 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
6.12774 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
6.12775 +if test "${lt_cv_dlopen_self+set}" = set; then
6.12776 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.12777 +else
6.12778 + if test "$cross_compiling" = yes; then :
6.12779 + lt_cv_dlopen_self=cross
6.12780 +else
6.12781 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.12782 + lt_status=$lt_dlunknown
6.12783 + cat > conftest.$ac_ext <<EOF
6.12784 +#line __oline__ "configure"
6.12785 +#include "confdefs.h"
6.12786 +
6.12787 +#if HAVE_DLFCN_H
6.12788 +#include <dlfcn.h>
6.12789 +#endif
6.12790 +
6.12791 +#include <stdio.h>
6.12792 +
6.12793 +#ifdef RTLD_GLOBAL
6.12794 +# define LT_DLGLOBAL RTLD_GLOBAL
6.12795 +#else
6.12796 +# ifdef DL_GLOBAL
6.12797 +# define LT_DLGLOBAL DL_GLOBAL
6.12798 +# else
6.12799 +# define LT_DLGLOBAL 0
6.12800 +# endif
6.12801 +#endif
6.12802 +
6.12803 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.12804 + find out it does not work in some platform. */
6.12805 +#ifndef LT_DLLAZY_OR_NOW
6.12806 +# ifdef RTLD_LAZY
6.12807 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.12808 +# else
6.12809 +# ifdef DL_LAZY
6.12810 +# define LT_DLLAZY_OR_NOW DL_LAZY
6.12811 +# else
6.12812 +# ifdef RTLD_NOW
6.12813 +# define LT_DLLAZY_OR_NOW RTLD_NOW
6.12814 +# else
6.12815 +# ifdef DL_NOW
6.12816 +# define LT_DLLAZY_OR_NOW DL_NOW
6.12817 +# else
6.12818 +# define LT_DLLAZY_OR_NOW 0
6.12819 +# endif
6.12820 +# endif
6.12821 +# endif
6.12822 +# endif
6.12823 +#endif
6.12824 +
6.12825 +#ifdef __cplusplus
6.12826 +extern "C" void exit (int);
6.12827 +#endif
6.12828 +
6.12829 +void fnord() { int i=42;}
6.12830 +int main ()
6.12831 +{
6.12832 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.12833 + int status = $lt_dlunknown;
6.12834 +
6.12835 + if (self)
6.12836 + {
6.12837 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.12838 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.12839 + /* dlclose (self); */
6.12840 + }
6.12841 +
6.12842 + exit (status);
6.12843 +}
6.12844 +EOF
6.12845 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12846 + (eval $ac_link) 2>&5
6.12847 + ac_status=$?
6.12848 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12849 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.12850 + (./conftest; exit; ) >&5 2>/dev/null
6.12851 + lt_status=$?
6.12852 + case x$lt_status in
6.12853 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
6.12854 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
6.12855 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
6.12856 + esac
6.12857 + else :
6.12858 + # compilation failed
6.12859 + lt_cv_dlopen_self=no
6.12860 + fi
6.12861 +fi
6.12862 +rm -fr conftest*
6.12863 +
6.12864 +
6.12865 +fi
6.12866 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
6.12867 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
6.12868 +
6.12869 + if test "x$lt_cv_dlopen_self" = xyes; then
6.12870 + LDFLAGS="$LDFLAGS $link_static_flag"
6.12871 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
6.12872 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
6.12873 +if test "${lt_cv_dlopen_self_static+set}" = set; then
6.12874 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.12875 +else
6.12876 + if test "$cross_compiling" = yes; then :
6.12877 + lt_cv_dlopen_self_static=cross
6.12878 +else
6.12879 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.12880 + lt_status=$lt_dlunknown
6.12881 + cat > conftest.$ac_ext <<EOF
6.12882 +#line __oline__ "configure"
6.12883 +#include "confdefs.h"
6.12884 +
6.12885 +#if HAVE_DLFCN_H
6.12886 +#include <dlfcn.h>
6.12887 +#endif
6.12888 +
6.12889 +#include <stdio.h>
6.12890 +
6.12891 +#ifdef RTLD_GLOBAL
6.12892 +# define LT_DLGLOBAL RTLD_GLOBAL
6.12893 +#else
6.12894 +# ifdef DL_GLOBAL
6.12895 +# define LT_DLGLOBAL DL_GLOBAL
6.12896 +# else
6.12897 +# define LT_DLGLOBAL 0
6.12898 +# endif
6.12899 +#endif
6.12900 +
6.12901 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.12902 + find out it does not work in some platform. */
6.12903 +#ifndef LT_DLLAZY_OR_NOW
6.12904 +# ifdef RTLD_LAZY
6.12905 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.12906 +# else
6.12907 +# ifdef DL_LAZY
6.12908 +# define LT_DLLAZY_OR_NOW DL_LAZY
6.12909 +# else
6.12910 +# ifdef RTLD_NOW
6.12911 +# define LT_DLLAZY_OR_NOW RTLD_NOW
6.12912 +# else
6.12913 +# ifdef DL_NOW
6.12914 +# define LT_DLLAZY_OR_NOW DL_NOW
6.12915 +# else
6.12916 +# define LT_DLLAZY_OR_NOW 0
6.12917 +# endif
6.12918 +# endif
6.12919 +# endif
6.12920 +# endif
6.12921 +#endif
6.12922 +
6.12923 +#ifdef __cplusplus
6.12924 +extern "C" void exit (int);
6.12925 +#endif
6.12926 +
6.12927 +void fnord() { int i=42;}
6.12928 +int main ()
6.12929 +{
6.12930 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.12931 + int status = $lt_dlunknown;
6.12932 +
6.12933 + if (self)
6.12934 + {
6.12935 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.12936 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.12937 + /* dlclose (self); */
6.12938 + }
6.12939 +
6.12940 + exit (status);
6.12941 +}
6.12942 +EOF
6.12943 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.12944 + (eval $ac_link) 2>&5
6.12945 + ac_status=$?
6.12946 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.12947 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.12948 + (./conftest; exit; ) >&5 2>/dev/null
6.12949 + lt_status=$?
6.12950 + case x$lt_status in
6.12951 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
6.12952 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
6.12953 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
6.12954 + esac
6.12955 + else :
6.12956 + # compilation failed
6.12957 + lt_cv_dlopen_self_static=no
6.12958 + fi
6.12959 +fi
6.12960 +rm -fr conftest*
6.12961 +
6.12962 +
6.12963 +fi
6.12964 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
6.12965 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
6.12966 + fi
6.12967 +
6.12968 + CPPFLAGS="$save_CPPFLAGS"
6.12969 + LDFLAGS="$save_LDFLAGS"
6.12970 + LIBS="$save_LIBS"
6.12971 + ;;
6.12972 + esac
6.12973 +
6.12974 + case $lt_cv_dlopen_self in
6.12975 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
6.12976 + *) enable_dlopen_self=unknown ;;
6.12977 + esac
6.12978 +
6.12979 + case $lt_cv_dlopen_self_static in
6.12980 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
6.12981 + *) enable_dlopen_self_static=unknown ;;
6.12982 + esac
6.12983 +fi
6.12984 +
6.12985 +
6.12986 +# The else clause should only fire when bootstrapping the
6.12987 +# libtool distribution, otherwise you forgot to ship ltmain.sh
6.12988 +# with your package, and you will get complaints that there are
6.12989 +# no rules to generate ltmain.sh.
6.12990 +if test -f "$ltmain"; then
6.12991 + # See if we are running on zsh, and set the options which allow our commands through
6.12992 + # without removal of \ escapes.
6.12993 + if test -n "${ZSH_VERSION+set}" ; then
6.12994 + setopt NO_GLOB_SUBST
6.12995 + fi
6.12996 + # Now quote all the things that may contain metacharacters while being
6.12997 + # careful not to overquote the AC_SUBSTed values. We take copies of the
6.12998 + # variables and quote the copies for generation of the libtool script.
6.12999 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6.13000 + SED SHELL STRIP \
6.13001 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6.13002 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6.13003 + deplibs_check_method reload_flag reload_cmds need_locks \
6.13004 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6.13005 + lt_cv_sys_global_symbol_to_c_name_address \
6.13006 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6.13007 + old_postinstall_cmds old_postuninstall_cmds \
6.13008 + compiler_CXX \
6.13009 + CC_CXX \
6.13010 + LD_CXX \
6.13011 + lt_prog_compiler_wl_CXX \
6.13012 + lt_prog_compiler_pic_CXX \
6.13013 + lt_prog_compiler_static_CXX \
6.13014 + lt_prog_compiler_no_builtin_flag_CXX \
6.13015 + export_dynamic_flag_spec_CXX \
6.13016 + thread_safe_flag_spec_CXX \
6.13017 + whole_archive_flag_spec_CXX \
6.13018 + enable_shared_with_static_runtimes_CXX \
6.13019 + old_archive_cmds_CXX \
6.13020 + old_archive_from_new_cmds_CXX \
6.13021 + predep_objects_CXX \
6.13022 + postdep_objects_CXX \
6.13023 + predeps_CXX \
6.13024 + postdeps_CXX \
6.13025 + compiler_lib_search_path_CXX \
6.13026 + archive_cmds_CXX \
6.13027 + archive_expsym_cmds_CXX \
6.13028 + postinstall_cmds_CXX \
6.13029 + postuninstall_cmds_CXX \
6.13030 + old_archive_from_expsyms_cmds_CXX \
6.13031 + allow_undefined_flag_CXX \
6.13032 + no_undefined_flag_CXX \
6.13033 + export_symbols_cmds_CXX \
6.13034 + hardcode_libdir_flag_spec_CXX \
6.13035 + hardcode_libdir_flag_spec_ld_CXX \
6.13036 + hardcode_libdir_separator_CXX \
6.13037 + hardcode_automatic_CXX \
6.13038 + module_cmds_CXX \
6.13039 + module_expsym_cmds_CXX \
6.13040 + lt_cv_prog_compiler_c_o_CXX \
6.13041 + exclude_expsyms_CXX \
6.13042 + include_expsyms_CXX; do
6.13043 +
6.13044 + case $var in
6.13045 + old_archive_cmds_CXX | \
6.13046 + old_archive_from_new_cmds_CXX | \
6.13047 + archive_cmds_CXX | \
6.13048 + archive_expsym_cmds_CXX | \
6.13049 + module_cmds_CXX | \
6.13050 + module_expsym_cmds_CXX | \
6.13051 + old_archive_from_expsyms_cmds_CXX | \
6.13052 + export_symbols_cmds_CXX | \
6.13053 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
6.13054 + postinstall_cmds | postuninstall_cmds | \
6.13055 + old_postinstall_cmds | old_postuninstall_cmds | \
6.13056 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6.13057 + # Double-quote double-evaled strings.
6.13058 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6.13059 + ;;
6.13060 + *)
6.13061 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
6.13062 + ;;
6.13063 + esac
6.13064 + done
6.13065 +
6.13066 + case $lt_echo in
6.13067 + *'\$0 --fallback-echo"')
6.13068 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
6.13069 + ;;
6.13070 + esac
6.13071 +
6.13072 +cfgfile="$ofile"
6.13073 +
6.13074 + cat <<__EOF__ >> "$cfgfile"
6.13075 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
6.13076 +
6.13077 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6.13078 +
6.13079 +# Shell to use when invoking shell scripts.
6.13080 +SHELL=$lt_SHELL
6.13081 +
6.13082 +# Whether or not to build shared libraries.
6.13083 +build_libtool_libs=$enable_shared
6.13084 +
6.13085 +# Whether or not to build static libraries.
6.13086 +build_old_libs=$enable_static
6.13087 +
6.13088 +# Whether or not to add -lc for building shared libraries.
6.13089 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
6.13090 +
6.13091 +# Whether or not to disallow shared libs when runtime libs are static
6.13092 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
6.13093 +
6.13094 +# Whether or not to optimize for fast installation.
6.13095 +fast_install=$enable_fast_install
6.13096 +
6.13097 +# The host system.
6.13098 +host_alias=$host_alias
6.13099 +host=$host
6.13100 +host_os=$host_os
6.13101 +
6.13102 +# The build system.
6.13103 +build_alias=$build_alias
6.13104 +build=$build
6.13105 +build_os=$build_os
6.13106 +
6.13107 +# An echo program that does not interpret backslashes.
6.13108 +echo=$lt_echo
6.13109 +
6.13110 +# The archiver.
6.13111 +AR=$lt_AR
6.13112 +AR_FLAGS=$lt_AR_FLAGS
6.13113 +
6.13114 +# A C compiler.
6.13115 +LTCC=$lt_LTCC
6.13116 +
6.13117 +# A language-specific compiler.
6.13118 +CC=$lt_compiler_CXX
6.13119 +
6.13120 +# Is the compiler the GNU C compiler?
6.13121 +with_gcc=$GCC_CXX
6.13122 +
6.13123 +# An ERE matcher.
6.13124 +EGREP=$lt_EGREP
6.13125 +
6.13126 +# The linker used to build libraries.
6.13127 +LD=$lt_LD_CXX
6.13128 +
6.13129 +# Whether we need hard or soft links.
6.13130 +LN_S=$lt_LN_S
6.13131 +
6.13132 +# A BSD-compatible nm program.
6.13133 +NM=$lt_NM
6.13134 +
6.13135 +# A symbol stripping program
6.13136 +STRIP=$lt_STRIP
6.13137 +
6.13138 +# Used to examine libraries when file_magic_cmd begins "file"
6.13139 +MAGIC_CMD=$MAGIC_CMD
6.13140 +
6.13141 +# Used on cygwin: DLL creation program.
6.13142 +DLLTOOL="$DLLTOOL"
6.13143 +
6.13144 +# Used on cygwin: object dumper.
6.13145 +OBJDUMP="$OBJDUMP"
6.13146 +
6.13147 +# Used on cygwin: assembler.
6.13148 +AS="$AS"
6.13149 +
6.13150 +# The name of the directory that contains temporary libtool files.
6.13151 +objdir=$objdir
6.13152 +
6.13153 +# How to create reloadable object files.
6.13154 +reload_flag=$lt_reload_flag
6.13155 +reload_cmds=$lt_reload_cmds
6.13156 +
6.13157 +# How to pass a linker flag through the compiler.
6.13158 +wl=$lt_lt_prog_compiler_wl_CXX
6.13159 +
6.13160 +# Object file suffix (normally "o").
6.13161 +objext="$ac_objext"
6.13162 +
6.13163 +# Old archive suffix (normally "a").
6.13164 +libext="$libext"
6.13165 +
6.13166 +# Shared library suffix (normally ".so").
6.13167 +shrext_cmds='$shrext_cmds'
6.13168 +
6.13169 +# Executable file suffix (normally "").
6.13170 +exeext="$exeext"
6.13171 +
6.13172 +# Additional compiler flags for building library objects.
6.13173 +pic_flag=$lt_lt_prog_compiler_pic_CXX
6.13174 +pic_mode=$pic_mode
6.13175 +
6.13176 +# What is the maximum length of a command?
6.13177 +max_cmd_len=$lt_cv_sys_max_cmd_len
6.13178 +
6.13179 +# Does compiler simultaneously support -c and -o options?
6.13180 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
6.13181 +
6.13182 +# Must we lock files when doing compilation?
6.13183 +need_locks=$lt_need_locks
6.13184 +
6.13185 +# Do we need the lib prefix for modules?
6.13186 +need_lib_prefix=$need_lib_prefix
6.13187 +
6.13188 +# Do we need a version for libraries?
6.13189 +need_version=$need_version
6.13190 +
6.13191 +# Whether dlopen is supported.
6.13192 +dlopen_support=$enable_dlopen
6.13193 +
6.13194 +# Whether dlopen of programs is supported.
6.13195 +dlopen_self=$enable_dlopen_self
6.13196 +
6.13197 +# Whether dlopen of statically linked programs is supported.
6.13198 +dlopen_self_static=$enable_dlopen_self_static
6.13199 +
6.13200 +# Compiler flag to prevent dynamic linking.
6.13201 +link_static_flag=$lt_lt_prog_compiler_static_CXX
6.13202 +
6.13203 +# Compiler flag to turn off builtin functions.
6.13204 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
6.13205 +
6.13206 +# Compiler flag to allow reflexive dlopens.
6.13207 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
6.13208 +
6.13209 +# Compiler flag to generate shared objects directly from archives.
6.13210 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
6.13211 +
6.13212 +# Compiler flag to generate thread-safe objects.
6.13213 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
6.13214 +
6.13215 +# Library versioning type.
6.13216 +version_type=$version_type
6.13217 +
6.13218 +# Format of library name prefix.
6.13219 +libname_spec=$lt_libname_spec
6.13220 +
6.13221 +# List of archive names. First name is the real one, the rest are links.
6.13222 +# The last name is the one that the linker finds with -lNAME.
6.13223 +library_names_spec=$lt_library_names_spec
6.13224 +
6.13225 +# The coded name of the library, if different from the real name.
6.13226 +soname_spec=$lt_soname_spec
6.13227 +
6.13228 +# Commands used to build and install an old-style archive.
6.13229 +RANLIB=$lt_RANLIB
6.13230 +old_archive_cmds=$lt_old_archive_cmds_CXX
6.13231 +old_postinstall_cmds=$lt_old_postinstall_cmds
6.13232 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
6.13233 +
6.13234 +# Create an old-style archive from a shared archive.
6.13235 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
6.13236 +
6.13237 +# Create a temporary old-style archive to link instead of a shared archive.
6.13238 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
6.13239 +
6.13240 +# Commands used to build and install a shared archive.
6.13241 +archive_cmds=$lt_archive_cmds_CXX
6.13242 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
6.13243 +postinstall_cmds=$lt_postinstall_cmds
6.13244 +postuninstall_cmds=$lt_postuninstall_cmds
6.13245 +
6.13246 +# Commands used to build a loadable module (assumed same as above if empty)
6.13247 +module_cmds=$lt_module_cmds_CXX
6.13248 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
6.13249 +
6.13250 +# Commands to strip libraries.
6.13251 +old_striplib=$lt_old_striplib
6.13252 +striplib=$lt_striplib
6.13253 +
6.13254 +# Dependencies to place before the objects being linked to create a
6.13255 +# shared library.
6.13256 +predep_objects=$lt_predep_objects_CXX
6.13257 +
6.13258 +# Dependencies to place after the objects being linked to create a
6.13259 +# shared library.
6.13260 +postdep_objects=$lt_postdep_objects_CXX
6.13261 +
6.13262 +# Dependencies to place before the objects being linked to create a
6.13263 +# shared library.
6.13264 +predeps=$lt_predeps_CXX
6.13265 +
6.13266 +# Dependencies to place after the objects being linked to create a
6.13267 +# shared library.
6.13268 +postdeps=$lt_postdeps_CXX
6.13269 +
6.13270 +# The library search path used internally by the compiler when linking
6.13271 +# a shared library.
6.13272 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
6.13273 +
6.13274 +# Method to check whether dependent libraries are shared objects.
6.13275 +deplibs_check_method=$lt_deplibs_check_method
6.13276 +
6.13277 +# Command to use when deplibs_check_method == file_magic.
6.13278 +file_magic_cmd=$lt_file_magic_cmd
6.13279 +
6.13280 +# Flag that allows shared libraries with undefined symbols to be built.
6.13281 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
6.13282 +
6.13283 +# Flag that forces no undefined symbols.
6.13284 +no_undefined_flag=$lt_no_undefined_flag_CXX
6.13285 +
6.13286 +# Commands used to finish a libtool library installation in a directory.
6.13287 +finish_cmds=$lt_finish_cmds
6.13288 +
6.13289 +# Same as above, but a single script fragment to be evaled but not shown.
6.13290 +finish_eval=$lt_finish_eval
6.13291 +
6.13292 +# Take the output of nm and produce a listing of raw symbols and C names.
6.13293 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6.13294 +
6.13295 +# Transform the output of nm in a proper C declaration
6.13296 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6.13297 +
6.13298 +# Transform the output of nm in a C name address pair
6.13299 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6.13300 +
6.13301 +# This is the shared library runtime path variable.
6.13302 +runpath_var=$runpath_var
6.13303 +
6.13304 +# This is the shared library path variable.
6.13305 +shlibpath_var=$shlibpath_var
6.13306 +
6.13307 +# Is shlibpath searched before the hard-coded library search path?
6.13308 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6.13309 +
6.13310 +# How to hardcode a shared library path into an executable.
6.13311 +hardcode_action=$hardcode_action_CXX
6.13312 +
6.13313 +# Whether we should hardcode library paths into libraries.
6.13314 +hardcode_into_libs=$hardcode_into_libs
6.13315 +
6.13316 +# Flag to hardcode \$libdir into a binary during linking.
6.13317 +# This must work even if \$libdir does not exist.
6.13318 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
6.13319 +
6.13320 +# If ld is used when linking, flag to hardcode \$libdir into
6.13321 +# a binary during linking. This must work even if \$libdir does
6.13322 +# not exist.
6.13323 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
6.13324 +
6.13325 +# Whether we need a single -rpath flag with a separated argument.
6.13326 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
6.13327 +
6.13328 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6.13329 +# resulting binary.
6.13330 +hardcode_direct=$hardcode_direct_CXX
6.13331 +
6.13332 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6.13333 +# resulting binary.
6.13334 +hardcode_minus_L=$hardcode_minus_L_CXX
6.13335 +
6.13336 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6.13337 +# the resulting binary.
6.13338 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
6.13339 +
6.13340 +# Set to yes if building a shared library automatically hardcodes DIR into the library
6.13341 +# and all subsequent libraries and executables linked against it.
6.13342 +hardcode_automatic=$hardcode_automatic_CXX
6.13343 +
6.13344 +# Variables whose values should be saved in libtool wrapper scripts and
6.13345 +# restored at relink time.
6.13346 +variables_saved_for_relink="$variables_saved_for_relink"
6.13347 +
6.13348 +# Whether libtool must link a program against all its dependency libraries.
6.13349 +link_all_deplibs=$link_all_deplibs_CXX
6.13350 +
6.13351 +# Compile-time system search path for libraries
6.13352 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6.13353 +
6.13354 +# Run-time system search path for libraries
6.13355 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6.13356 +
6.13357 +# Fix the shell variable \$srcfile for the compiler.
6.13358 +fix_srcfile_path="$fix_srcfile_path_CXX"
6.13359 +
6.13360 +# Set to yes if exported symbols are required.
6.13361 +always_export_symbols=$always_export_symbols_CXX
6.13362 +
6.13363 +# The commands to list exported symbols.
6.13364 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
6.13365 +
6.13366 +# The commands to extract the exported symbol list from a shared archive.
6.13367 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
6.13368 +
6.13369 +# Symbols that should not be listed in the preloaded symbols.
6.13370 +exclude_expsyms=$lt_exclude_expsyms_CXX
6.13371 +
6.13372 +# Symbols that must always be exported.
6.13373 +include_expsyms=$lt_include_expsyms_CXX
6.13374 +
6.13375 +# ### END LIBTOOL TAG CONFIG: $tagname
6.13376 +
6.13377 +__EOF__
6.13378 +
6.13379 +
6.13380 +else
6.13381 + # If there is no Makefile yet, we rely on a make rule to execute
6.13382 + # `config.status --recheck' to rerun these tests and create the
6.13383 + # libtool script then.
6.13384 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6.13385 + if test -f "$ltmain_in"; then
6.13386 + test -f Makefile && make "$ltmain"
6.13387 + fi
6.13388 +fi
6.13389 +
6.13390 +
6.13391 +ac_ext=c
6.13392 +ac_cpp='$CPP $CPPFLAGS'
6.13393 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.13394 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.13395 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.13396 +
6.13397 +CC=$lt_save_CC
6.13398 +LDCXX=$LD
6.13399 +LD=$lt_save_LD
6.13400 +GCC=$lt_save_GCC
6.13401 +with_gnu_ldcxx=$with_gnu_ld
6.13402 +with_gnu_ld=$lt_save_with_gnu_ld
6.13403 +lt_cv_path_LDCXX=$lt_cv_path_LD
6.13404 +lt_cv_path_LD=$lt_save_path_LD
6.13405 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
6.13406 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
6.13407 +
6.13408 + else
6.13409 + tagname=""
6.13410 + fi
6.13411 + ;;
6.13412 +
6.13413 + F77)
6.13414 + if test -n "$F77" && test "X$F77" != "Xno"; then
6.13415 +
6.13416 +ac_ext=f
6.13417 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6.13418 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.13419 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6.13420 +
6.13421 +
6.13422 +archive_cmds_need_lc_F77=no
6.13423 +allow_undefined_flag_F77=
6.13424 +always_export_symbols_F77=no
6.13425 +archive_expsym_cmds_F77=
6.13426 +export_dynamic_flag_spec_F77=
6.13427 +hardcode_direct_F77=no
6.13428 +hardcode_libdir_flag_spec_F77=
6.13429 +hardcode_libdir_flag_spec_ld_F77=
6.13430 +hardcode_libdir_separator_F77=
6.13431 +hardcode_minus_L_F77=no
6.13432 +hardcode_automatic_F77=no
6.13433 +module_cmds_F77=
6.13434 +module_expsym_cmds_F77=
6.13435 +link_all_deplibs_F77=unknown
6.13436 +old_archive_cmds_F77=$old_archive_cmds
6.13437 +no_undefined_flag_F77=
6.13438 +whole_archive_flag_spec_F77=
6.13439 +enable_shared_with_static_runtimes_F77=no
6.13440 +
6.13441 +# Source file extension for f77 test sources.
6.13442 +ac_ext=f
6.13443 +
6.13444 +# Object file extension for compiled f77 test sources.
6.13445 +objext=o
6.13446 +objext_F77=$objext
6.13447 +
6.13448 +# Code to be used in simple compile tests
6.13449 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
6.13450 +
6.13451 +# Code to be used in simple link tests
6.13452 +lt_simple_link_test_code=" program t\n end\n"
6.13453 +
6.13454 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6.13455 +
6.13456 +# If no C compiler was specified, use CC.
6.13457 +LTCC=${LTCC-"$CC"}
6.13458 +
6.13459 +# Allow CC to be a program name with arguments.
6.13460 +compiler=$CC
6.13461 +
6.13462 +
6.13463 +# save warnings/boilerplate of simple test code
6.13464 +ac_outfile=conftest.$ac_objext
6.13465 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6.13466 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.13467 +_lt_compiler_boilerplate=`cat conftest.err`
6.13468 +$rm conftest*
6.13469 +
6.13470 +ac_outfile=conftest.$ac_objext
6.13471 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
6.13472 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.13473 +_lt_linker_boilerplate=`cat conftest.err`
6.13474 +$rm conftest*
6.13475 +
6.13476 +
6.13477 +# Allow CC to be a program name with arguments.
6.13478 +lt_save_CC="$CC"
6.13479 +CC=${F77-"f77"}
6.13480 +compiler=$CC
6.13481 +compiler_F77=$CC
6.13482 +for cc_temp in $compiler""; do
6.13483 + case $cc_temp in
6.13484 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.13485 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.13486 + \-*) ;;
6.13487 + *) break;;
6.13488 + esac
6.13489 +done
6.13490 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.13491 +
6.13492 +
6.13493 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
6.13494 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
6.13495 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
6.13496 +echo "${ECHO_T}$can_build_shared" >&6
6.13497 +
6.13498 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
6.13499 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
6.13500 +test "$can_build_shared" = "no" && enable_shared=no
6.13501 +
6.13502 +# On AIX, shared libraries and static libraries use the same namespace, and
6.13503 +# are all built from PIC.
6.13504 +case $host_os in
6.13505 +aix3*)
6.13506 + test "$enable_shared" = yes && enable_static=no
6.13507 + if test -n "$RANLIB"; then
6.13508 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
6.13509 + postinstall_cmds='$RANLIB $lib'
6.13510 + fi
6.13511 + ;;
6.13512 +aix4* | aix5*)
6.13513 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6.13514 + test "$enable_shared" = yes && enable_static=no
6.13515 + fi
6.13516 + ;;
6.13517 +esac
6.13518 +echo "$as_me:$LINENO: result: $enable_shared" >&5
6.13519 +echo "${ECHO_T}$enable_shared" >&6
6.13520 +
6.13521 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
6.13522 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
6.13523 +# Make sure either enable_shared or enable_static is yes.
6.13524 +test "$enable_shared" = yes || enable_static=yes
6.13525 +echo "$as_me:$LINENO: result: $enable_static" >&5
6.13526 +echo "${ECHO_T}$enable_static" >&6
6.13527 +
6.13528 +test "$ld_shlibs_F77" = no && can_build_shared=no
6.13529 +
6.13530 +GCC_F77="$G77"
6.13531 +LD_F77="$LD"
6.13532 +
6.13533 +lt_prog_compiler_wl_F77=
6.13534 +lt_prog_compiler_pic_F77=
6.13535 +lt_prog_compiler_static_F77=
6.13536 +
6.13537 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6.13538 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6.13539 +
6.13540 + if test "$GCC" = yes; then
6.13541 + lt_prog_compiler_wl_F77='-Wl,'
6.13542 + lt_prog_compiler_static_F77='-static'
6.13543 +
6.13544 + case $host_os in
6.13545 + aix*)
6.13546 + # All AIX code is PIC.
6.13547 + if test "$host_cpu" = ia64; then
6.13548 + # AIX 5 now supports IA64 processor
6.13549 + lt_prog_compiler_static_F77='-Bstatic'
6.13550 + fi
6.13551 + ;;
6.13552 +
6.13553 + amigaos*)
6.13554 + # FIXME: we need at least 68020 code to build shared libraries, but
6.13555 + # adding the `-m68020' flag to GCC prevents building anything better,
6.13556 + # like `-m68040'.
6.13557 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
6.13558 + ;;
6.13559 +
6.13560 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6.13561 + # PIC is the default for these OSes.
6.13562 + ;;
6.13563 +
6.13564 + mingw* | pw32* | os2*)
6.13565 + # This hack is so that the source file can tell whether it is being
6.13566 + # built for inclusion in a dll (and should export symbols for example).
6.13567 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
6.13568 + ;;
6.13569 +
6.13570 + darwin* | rhapsody*)
6.13571 + # PIC is the default on this platform
6.13572 + # Common symbols not allowed in MH_DYLIB files
6.13573 + lt_prog_compiler_pic_F77='-fno-common'
6.13574 + ;;
6.13575 +
6.13576 + msdosdjgpp*)
6.13577 + # Just because we use GCC doesn't mean we suddenly get shared libraries
6.13578 + # on systems that don't support them.
6.13579 + lt_prog_compiler_can_build_shared_F77=no
6.13580 + enable_shared=no
6.13581 + ;;
6.13582 +
6.13583 + sysv4*MP*)
6.13584 + if test -d /usr/nec; then
6.13585 + lt_prog_compiler_pic_F77=-Kconform_pic
6.13586 + fi
6.13587 + ;;
6.13588 +
6.13589 + hpux*)
6.13590 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.13591 + # not for PA HP-UX.
6.13592 + case $host_cpu in
6.13593 + hppa*64*|ia64*)
6.13594 + # +Z the default
6.13595 + ;;
6.13596 + *)
6.13597 + lt_prog_compiler_pic_F77='-fPIC'
6.13598 + ;;
6.13599 + esac
6.13600 + ;;
6.13601 +
6.13602 + *)
6.13603 + lt_prog_compiler_pic_F77='-fPIC'
6.13604 + ;;
6.13605 + esac
6.13606 + else
6.13607 + # PORTME Check for flag to pass linker flags through the system compiler.
6.13608 + case $host_os in
6.13609 + aix*)
6.13610 + lt_prog_compiler_wl_F77='-Wl,'
6.13611 + if test "$host_cpu" = ia64; then
6.13612 + # AIX 5 now supports IA64 processor
6.13613 + lt_prog_compiler_static_F77='-Bstatic'
6.13614 + else
6.13615 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
6.13616 + fi
6.13617 + ;;
6.13618 + darwin*)
6.13619 + # PIC is the default on this platform
6.13620 + # Common symbols not allowed in MH_DYLIB files
6.13621 + case $cc_basename in
6.13622 + xlc*)
6.13623 + lt_prog_compiler_pic_F77='-qnocommon'
6.13624 + lt_prog_compiler_wl_F77='-Wl,'
6.13625 + ;;
6.13626 + esac
6.13627 + ;;
6.13628 +
6.13629 + mingw* | pw32* | os2*)
6.13630 + # This hack is so that the source file can tell whether it is being
6.13631 + # built for inclusion in a dll (and should export symbols for example).
6.13632 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
6.13633 + ;;
6.13634 +
6.13635 + hpux9* | hpux10* | hpux11*)
6.13636 + lt_prog_compiler_wl_F77='-Wl,'
6.13637 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.13638 + # not for PA HP-UX.
6.13639 + case $host_cpu in
6.13640 + hppa*64*|ia64*)
6.13641 + # +Z the default
6.13642 + ;;
6.13643 + *)
6.13644 + lt_prog_compiler_pic_F77='+Z'
6.13645 + ;;
6.13646 + esac
6.13647 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
6.13648 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
6.13649 + ;;
6.13650 +
6.13651 + irix5* | irix6* | nonstopux*)
6.13652 + lt_prog_compiler_wl_F77='-Wl,'
6.13653 + # PIC (with -KPIC) is the default.
6.13654 + lt_prog_compiler_static_F77='-non_shared'
6.13655 + ;;
6.13656 +
6.13657 + newsos6)
6.13658 + lt_prog_compiler_pic_F77='-KPIC'
6.13659 + lt_prog_compiler_static_F77='-Bstatic'
6.13660 + ;;
6.13661 +
6.13662 + linux*)
6.13663 + case $cc_basename in
6.13664 + icc* | ecc*)
6.13665 + lt_prog_compiler_wl_F77='-Wl,'
6.13666 + lt_prog_compiler_pic_F77='-KPIC'
6.13667 + lt_prog_compiler_static_F77='-static'
6.13668 + ;;
6.13669 + pgcc* | pgf77* | pgf90* | pgf95*)
6.13670 + # Portland Group compilers (*not* the Pentium gcc compiler,
6.13671 + # which looks to be a dead project)
6.13672 + lt_prog_compiler_wl_F77='-Wl,'
6.13673 + lt_prog_compiler_pic_F77='-fpic'
6.13674 + lt_prog_compiler_static_F77='-Bstatic'
6.13675 + ;;
6.13676 + ccc*)
6.13677 + lt_prog_compiler_wl_F77='-Wl,'
6.13678 + # All Alpha code is PIC.
6.13679 + lt_prog_compiler_static_F77='-non_shared'
6.13680 + ;;
6.13681 + esac
6.13682 + ;;
6.13683 +
6.13684 + osf3* | osf4* | osf5*)
6.13685 + lt_prog_compiler_wl_F77='-Wl,'
6.13686 + # All OSF/1 code is PIC.
6.13687 + lt_prog_compiler_static_F77='-non_shared'
6.13688 + ;;
6.13689 +
6.13690 + sco3.2v5*)
6.13691 + lt_prog_compiler_pic_F77='-Kpic'
6.13692 + lt_prog_compiler_static_F77='-dn'
6.13693 + ;;
6.13694 +
6.13695 + solaris*)
6.13696 + lt_prog_compiler_pic_F77='-KPIC'
6.13697 + lt_prog_compiler_static_F77='-Bstatic'
6.13698 + case $cc_basename in
6.13699 + f77* | f90* | f95*)
6.13700 + lt_prog_compiler_wl_F77='-Qoption ld ';;
6.13701 + *)
6.13702 + lt_prog_compiler_wl_F77='-Wl,';;
6.13703 + esac
6.13704 + ;;
6.13705 +
6.13706 + sunos4*)
6.13707 + lt_prog_compiler_wl_F77='-Qoption ld '
6.13708 + lt_prog_compiler_pic_F77='-PIC'
6.13709 + lt_prog_compiler_static_F77='-Bstatic'
6.13710 + ;;
6.13711 +
6.13712 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.13713 + lt_prog_compiler_wl_F77='-Wl,'
6.13714 + lt_prog_compiler_pic_F77='-KPIC'
6.13715 + lt_prog_compiler_static_F77='-Bstatic'
6.13716 + ;;
6.13717 +
6.13718 + sysv4*MP*)
6.13719 + if test -d /usr/nec ;then
6.13720 + lt_prog_compiler_pic_F77='-Kconform_pic'
6.13721 + lt_prog_compiler_static_F77='-Bstatic'
6.13722 + fi
6.13723 + ;;
6.13724 +
6.13725 + unicos*)
6.13726 + lt_prog_compiler_wl_F77='-Wl,'
6.13727 + lt_prog_compiler_can_build_shared_F77=no
6.13728 + ;;
6.13729 +
6.13730 + uts4*)
6.13731 + lt_prog_compiler_pic_F77='-pic'
6.13732 + lt_prog_compiler_static_F77='-Bstatic'
6.13733 + ;;
6.13734 +
6.13735 + *)
6.13736 + lt_prog_compiler_can_build_shared_F77=no
6.13737 + ;;
6.13738 + esac
6.13739 + fi
6.13740 +
6.13741 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
6.13742 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
6.13743 +
6.13744 +#
6.13745 +# Check to make sure the PIC flag actually works.
6.13746 +#
6.13747 +if test -n "$lt_prog_compiler_pic_F77"; then
6.13748 +
6.13749 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
6.13750 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
6.13751 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
6.13752 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.13753 +else
6.13754 + lt_prog_compiler_pic_works_F77=no
6.13755 + ac_outfile=conftest.$ac_objext
6.13756 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.13757 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
6.13758 + # Insert the option either (1) after the last *FLAGS variable, or
6.13759 + # (2) before a word containing "conftest.", or (3) at the end.
6.13760 + # Note that $ac_compile itself does not contain backslashes and begins
6.13761 + # with a dollar sign (not a hyphen), so the echo should work correctly.
6.13762 + # The option is referenced via a variable to avoid confusing sed.
6.13763 + lt_compile=`echo "$ac_compile" | $SED \
6.13764 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.13765 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.13766 + -e 's:$: $lt_compiler_flag:'`
6.13767 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.13768 + (eval "$lt_compile" 2>conftest.err)
6.13769 + ac_status=$?
6.13770 + cat conftest.err >&5
6.13771 + echo "$as_me:__oline__: \$? = $ac_status" >&5
6.13772 + if (exit $ac_status) && test -s "$ac_outfile"; then
6.13773 + # The compiler can only warn and ignore the option if not recognized
6.13774 + # So say no if there are warnings other than the usual output.
6.13775 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.13776 + $SED '/^$/d' conftest.err >conftest.er2
6.13777 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.13778 + lt_prog_compiler_pic_works_F77=yes
6.13779 + fi
6.13780 + fi
6.13781 + $rm conftest*
6.13782 +
6.13783 +fi
6.13784 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
6.13785 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
6.13786 +
6.13787 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
6.13788 + case $lt_prog_compiler_pic_F77 in
6.13789 + "" | " "*) ;;
6.13790 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
6.13791 + esac
6.13792 +else
6.13793 + lt_prog_compiler_pic_F77=
6.13794 + lt_prog_compiler_can_build_shared_F77=no
6.13795 +fi
6.13796 +
6.13797 +fi
6.13798 +case $host_os in
6.13799 + # For platforms which do not support PIC, -DPIC is meaningless:
6.13800 + *djgpp*)
6.13801 + lt_prog_compiler_pic_F77=
6.13802 + ;;
6.13803 + *)
6.13804 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
6.13805 + ;;
6.13806 +esac
6.13807 +
6.13808 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6.13809 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6.13810 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
6.13811 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.13812 +else
6.13813 + lt_cv_prog_compiler_c_o_F77=no
6.13814 + $rm -r conftest 2>/dev/null
6.13815 + mkdir conftest
6.13816 + cd conftest
6.13817 + mkdir out
6.13818 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.13819 +
6.13820 + lt_compiler_flag="-o out/conftest2.$ac_objext"
6.13821 + # Insert the option either (1) after the last *FLAGS variable, or
6.13822 + # (2) before a word containing "conftest.", or (3) at the end.
6.13823 + # Note that $ac_compile itself does not contain backslashes and begins
6.13824 + # with a dollar sign (not a hyphen), so the echo should work correctly.
6.13825 + lt_compile=`echo "$ac_compile" | $SED \
6.13826 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.13827 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.13828 + -e 's:$: $lt_compiler_flag:'`
6.13829 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.13830 + (eval "$lt_compile" 2>out/conftest.err)
6.13831 + ac_status=$?
6.13832 + cat out/conftest.err >&5
6.13833 + echo "$as_me:__oline__: \$? = $ac_status" >&5
6.13834 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
6.13835 + then
6.13836 + # The compiler can only warn and ignore the option if not recognized
6.13837 + # So say no if there are warnings
6.13838 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6.13839 + $SED '/^$/d' out/conftest.err >out/conftest.er2
6.13840 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6.13841 + lt_cv_prog_compiler_c_o_F77=yes
6.13842 + fi
6.13843 + fi
6.13844 + chmod u+w . 2>&5
6.13845 + $rm conftest*
6.13846 + # SGI C++ compiler will create directory out/ii_files/ for
6.13847 + # template instantiation
6.13848 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6.13849 + $rm out/* && rmdir out
6.13850 + cd ..
6.13851 + rmdir conftest
6.13852 + $rm conftest*
6.13853 +
6.13854 +fi
6.13855 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
6.13856 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
6.13857 +
6.13858 +
6.13859 +hard_links="nottested"
6.13860 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
6.13861 + # do not overwrite the value of need_locks provided by the user
6.13862 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6.13863 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6.13864 + hard_links=yes
6.13865 + $rm conftest*
6.13866 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.13867 + touch conftest.a
6.13868 + ln conftest.a conftest.b 2>&5 || hard_links=no
6.13869 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.13870 + echo "$as_me:$LINENO: result: $hard_links" >&5
6.13871 +echo "${ECHO_T}$hard_links" >&6
6.13872 + if test "$hard_links" = no; then
6.13873 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6.13874 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6.13875 + need_locks=warn
6.13876 + fi
6.13877 +else
6.13878 + need_locks=no
6.13879 +fi
6.13880 +
6.13881 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6.13882 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6.13883 +
6.13884 + runpath_var=
6.13885 + allow_undefined_flag_F77=
6.13886 + enable_shared_with_static_runtimes_F77=no
6.13887 + archive_cmds_F77=
6.13888 + archive_expsym_cmds_F77=
6.13889 + old_archive_From_new_cmds_F77=
6.13890 + old_archive_from_expsyms_cmds_F77=
6.13891 + export_dynamic_flag_spec_F77=
6.13892 + whole_archive_flag_spec_F77=
6.13893 + thread_safe_flag_spec_F77=
6.13894 + hardcode_libdir_flag_spec_F77=
6.13895 + hardcode_libdir_flag_spec_ld_F77=
6.13896 + hardcode_libdir_separator_F77=
6.13897 + hardcode_direct_F77=no
6.13898 + hardcode_minus_L_F77=no
6.13899 + hardcode_shlibpath_var_F77=unsupported
6.13900 + link_all_deplibs_F77=unknown
6.13901 + hardcode_automatic_F77=no
6.13902 + module_cmds_F77=
6.13903 + module_expsym_cmds_F77=
6.13904 + always_export_symbols_F77=no
6.13905 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6.13906 + # include_expsyms should be a list of space-separated symbols to be *always*
6.13907 + # included in the symbol list
6.13908 + include_expsyms_F77=
6.13909 + # exclude_expsyms can be an extended regexp of symbols to exclude
6.13910 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
6.13911 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6.13912 + # as well as any symbol that contains `d'.
6.13913 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
6.13914 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6.13915 + # platforms (ab)use it in PIC code, but their linkers get confused if
6.13916 + # the symbol is explicitly referenced. Since portable code cannot
6.13917 + # rely on this symbol name, it's probably fine to never include it in
6.13918 + # preloaded symbol tables.
6.13919 + extract_expsyms_cmds=
6.13920 + # Just being paranoid about ensuring that cc_basename is set.
6.13921 + for cc_temp in $compiler""; do
6.13922 + case $cc_temp in
6.13923 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.13924 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.13925 + \-*) ;;
6.13926 + *) break;;
6.13927 + esac
6.13928 +done
6.13929 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.13930 +
6.13931 + case $host_os in
6.13932 + cygwin* | mingw* | pw32*)
6.13933 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
6.13934 + # When not using gcc, we currently assume that we are using
6.13935 + # Microsoft Visual C++.
6.13936 + if test "$GCC" != yes; then
6.13937 + with_gnu_ld=no
6.13938 + fi
6.13939 + ;;
6.13940 + openbsd*)
6.13941 + with_gnu_ld=no
6.13942 + ;;
6.13943 + esac
6.13944 +
6.13945 + ld_shlibs_F77=yes
6.13946 + if test "$with_gnu_ld" = yes; then
6.13947 + # If archive_cmds runs LD, not CC, wlarc should be empty
6.13948 + wlarc='${wl}'
6.13949 +
6.13950 + # Set some defaults for GNU ld with shared library support. These
6.13951 + # are reset later if shared libraries are not supported. Putting them
6.13952 + # here allows them to be overridden if necessary.
6.13953 + runpath_var=LD_RUN_PATH
6.13954 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
6.13955 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
6.13956 + # ancient GNU ld didn't support --whole-archive et. al.
6.13957 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6.13958 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6.13959 + else
6.13960 + whole_archive_flag_spec_F77=
6.13961 + fi
6.13962 + supports_anon_versioning=no
6.13963 + case `$LD -v 2>/dev/null` in
6.13964 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6.13965 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6.13966 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6.13967 + *\ 2.11.*) ;; # other 2.11 versions
6.13968 + *) supports_anon_versioning=yes ;;
6.13969 + esac
6.13970 +
6.13971 + # See if GNU ld supports shared libraries.
6.13972 + case $host_os in
6.13973 + aix3* | aix4* | aix5*)
6.13974 + # On AIX/PPC, the GNU linker is very broken
6.13975 + if test "$host_cpu" != ia64; then
6.13976 + ld_shlibs_F77=no
6.13977 + cat <<EOF 1>&2
6.13978 +
6.13979 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
6.13980 +*** to be unable to reliably create shared libraries on AIX.
6.13981 +*** Therefore, libtool is disabling shared libraries support. If you
6.13982 +*** really care for shared libraries, you may want to modify your PATH
6.13983 +*** so that a non-GNU linker is found, and then restart.
6.13984 +
6.13985 +EOF
6.13986 + fi
6.13987 + ;;
6.13988 +
6.13989 + amigaos*)
6.13990 + 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)'
6.13991 + hardcode_libdir_flag_spec_F77='-L$libdir'
6.13992 + hardcode_minus_L_F77=yes
6.13993 +
6.13994 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6.13995 + # that the semantics of dynamic libraries on AmigaOS, at least up
6.13996 + # to version 4, is to share data among multiple programs linked
6.13997 + # with the same dynamic library. Since this doesn't match the
6.13998 + # behavior of shared libraries on other platforms, we can't use
6.13999 + # them.
6.14000 + ld_shlibs_F77=no
6.14001 + ;;
6.14002 +
6.14003 + beos*)
6.14004 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.14005 + allow_undefined_flag_F77=unsupported
6.14006 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6.14007 + # support --undefined. This deserves some investigation. FIXME
6.14008 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.14009 + else
6.14010 + ld_shlibs_F77=no
6.14011 + fi
6.14012 + ;;
6.14013 +
6.14014 + cygwin* | mingw* | pw32*)
6.14015 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
6.14016 + # as there is no search path for DLLs.
6.14017 + hardcode_libdir_flag_spec_F77='-L$libdir'
6.14018 + allow_undefined_flag_F77=unsupported
6.14019 + always_export_symbols_F77=no
6.14020 + enable_shared_with_static_runtimes_F77=yes
6.14021 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6.14022 +
6.14023 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6.14024 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.14025 + # If the export-symbols file already is a .def file (1st line
6.14026 + # is EXPORTS), use it as is; otherwise, prepend...
6.14027 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6.14028 + cp $export_symbols $output_objdir/$soname.def;
6.14029 + else
6.14030 + echo EXPORTS > $output_objdir/$soname.def;
6.14031 + cat $export_symbols >> $output_objdir/$soname.def;
6.14032 + fi~
6.14033 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.14034 + else
6.14035 + ld_shlibs_F77=no
6.14036 + fi
6.14037 + ;;
6.14038 +
6.14039 + linux*)
6.14040 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.14041 + tmp_addflag=
6.14042 + case $cc_basename,$host_cpu in
6.14043 + pgcc*) # Portland Group C compiler
6.14044 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.14045 + tmp_addflag=' $pic_flag'
6.14046 + ;;
6.14047 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6.14048 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.14049 + tmp_addflag=' $pic_flag -Mnomain' ;;
6.14050 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6.14051 + tmp_addflag=' -i_dynamic' ;;
6.14052 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6.14053 + tmp_addflag=' -i_dynamic -nofor_main' ;;
6.14054 + ifc* | ifort*) # Intel Fortran compiler
6.14055 + tmp_addflag=' -nofor_main' ;;
6.14056 + esac
6.14057 + archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.14058 +
6.14059 + if test $supports_anon_versioning = yes; then
6.14060 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
6.14061 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6.14062 + $echo "local: *; };" >> $output_objdir/$libname.ver~
6.14063 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6.14064 + fi
6.14065 + else
6.14066 + ld_shlibs_F77=no
6.14067 + fi
6.14068 + ;;
6.14069 +
6.14070 + netbsd*)
6.14071 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.14072 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6.14073 + wlarc=
6.14074 + else
6.14075 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.14076 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.14077 + fi
6.14078 + ;;
6.14079 +
6.14080 + solaris* | sysv5*)
6.14081 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6.14082 + ld_shlibs_F77=no
6.14083 + cat <<EOF 1>&2
6.14084 +
6.14085 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
6.14086 +*** create shared libraries on Solaris systems. Therefore, libtool
6.14087 +*** is disabling shared libraries support. We urge you to upgrade GNU
6.14088 +*** binutils to release 2.9.1 or newer. Another option is to modify
6.14089 +*** your PATH or compiler configuration so that the native linker is
6.14090 +*** used, and then restart.
6.14091 +
6.14092 +EOF
6.14093 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.14094 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.14095 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.14096 + else
6.14097 + ld_shlibs_F77=no
6.14098 + fi
6.14099 + ;;
6.14100 +
6.14101 + sunos4*)
6.14102 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.14103 + wlarc=
6.14104 + hardcode_direct_F77=yes
6.14105 + hardcode_shlibpath_var_F77=no
6.14106 + ;;
6.14107 +
6.14108 + *)
6.14109 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.14110 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.14111 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.14112 + else
6.14113 + ld_shlibs_F77=no
6.14114 + fi
6.14115 + ;;
6.14116 + esac
6.14117 +
6.14118 + if test "$ld_shlibs_F77" = no; then
6.14119 + runpath_var=
6.14120 + hardcode_libdir_flag_spec_F77=
6.14121 + export_dynamic_flag_spec_F77=
6.14122 + whole_archive_flag_spec_F77=
6.14123 + fi
6.14124 + else
6.14125 + # PORTME fill in a description of your system's linker (not GNU ld)
6.14126 + case $host_os in
6.14127 + aix3*)
6.14128 + allow_undefined_flag_F77=unsupported
6.14129 + always_export_symbols_F77=yes
6.14130 + 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'
6.14131 + # Note: this linker hardcodes the directories in LIBPATH if there
6.14132 + # are no directories specified by -L.
6.14133 + hardcode_minus_L_F77=yes
6.14134 + if test "$GCC" = yes && test -z "$link_static_flag"; then
6.14135 + # Neither direct hardcoding nor static linking is supported with a
6.14136 + # broken collect2.
6.14137 + hardcode_direct_F77=unsupported
6.14138 + fi
6.14139 + ;;
6.14140 +
6.14141 + aix4* | aix5*)
6.14142 + if test "$host_cpu" = ia64; then
6.14143 + # On IA64, the linker does run time linking by default, so we don't
6.14144 + # have to do anything special.
6.14145 + aix_use_runtimelinking=no
6.14146 + exp_sym_flag='-Bexport'
6.14147 + no_entry_flag=""
6.14148 + else
6.14149 + # If we're using GNU nm, then we don't want the "-C" option.
6.14150 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
6.14151 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6.14152 + 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'
6.14153 + else
6.14154 + 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'
6.14155 + fi
6.14156 + aix_use_runtimelinking=no
6.14157 +
6.14158 + # Test if we are trying to use run time linking or normal
6.14159 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6.14160 + # need to do runtime linking.
6.14161 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6.14162 + for ld_flag in $LDFLAGS; do
6.14163 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6.14164 + aix_use_runtimelinking=yes
6.14165 + break
6.14166 + fi
6.14167 + done
6.14168 + esac
6.14169 +
6.14170 + exp_sym_flag='-bexport'
6.14171 + no_entry_flag='-bnoentry'
6.14172 + fi
6.14173 +
6.14174 + # When large executables or shared objects are built, AIX ld can
6.14175 + # have problems creating the table of contents. If linking a library
6.14176 + # or program results in "error TOC overflow" add -mminimal-toc to
6.14177 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6.14178 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6.14179 +
6.14180 + archive_cmds_F77=''
6.14181 + hardcode_direct_F77=yes
6.14182 + hardcode_libdir_separator_F77=':'
6.14183 + link_all_deplibs_F77=yes
6.14184 +
6.14185 + if test "$GCC" = yes; then
6.14186 + case $host_os in aix4.[012]|aix4.[012].*)
6.14187 + # We only want to do this on AIX 4.2 and lower, the check
6.14188 + # below for broken collect2 doesn't work under 4.3+
6.14189 + collect2name=`${CC} -print-prog-name=collect2`
6.14190 + if test -f "$collect2name" && \
6.14191 + strings "$collect2name" | grep resolve_lib_name >/dev/null
6.14192 + then
6.14193 + # We have reworked collect2
6.14194 + hardcode_direct_F77=yes
6.14195 + else
6.14196 + # We have old collect2
6.14197 + hardcode_direct_F77=unsupported
6.14198 + # It fails to find uninstalled libraries when the uninstalled
6.14199 + # path is not listed in the libpath. Setting hardcode_minus_L
6.14200 + # to unsupported forces relinking
6.14201 + hardcode_minus_L_F77=yes
6.14202 + hardcode_libdir_flag_spec_F77='-L$libdir'
6.14203 + hardcode_libdir_separator_F77=
6.14204 + fi
6.14205 + esac
6.14206 + shared_flag='-shared'
6.14207 + if test "$aix_use_runtimelinking" = yes; then
6.14208 + shared_flag="$shared_flag "'${wl}-G'
6.14209 + fi
6.14210 + else
6.14211 + # not using gcc
6.14212 + if test "$host_cpu" = ia64; then
6.14213 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6.14214 + # chokes on -Wl,-G. The following line is correct:
6.14215 + shared_flag='-G'
6.14216 + else
6.14217 + if test "$aix_use_runtimelinking" = yes; then
6.14218 + shared_flag='${wl}-G'
6.14219 + else
6.14220 + shared_flag='${wl}-bM:SRE'
6.14221 + fi
6.14222 + fi
6.14223 + fi
6.14224 +
6.14225 + # It seems that -bexpall does not export symbols beginning with
6.14226 + # underscore (_), so it is better to generate a list of symbols to export.
6.14227 + always_export_symbols_F77=yes
6.14228 + if test "$aix_use_runtimelinking" = yes; then
6.14229 + # Warning - without using the other runtime loading flags (-brtl),
6.14230 + # -berok will link without error, but may produce a broken library.
6.14231 + allow_undefined_flag_F77='-berok'
6.14232 + # Determine the default libpath from the value encoded in an empty executable.
6.14233 + cat >conftest.$ac_ext <<_ACEOF
6.14234 + program main
6.14235 +
6.14236 + end
6.14237 +_ACEOF
6.14238 +rm -f conftest.$ac_objext conftest$ac_exeext
6.14239 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.14240 + (eval $ac_link) 2>conftest.er1
6.14241 + ac_status=$?
6.14242 + grep -v '^ *+' conftest.er1 >conftest.err
6.14243 + rm -f conftest.er1
6.14244 + cat conftest.err >&5
6.14245 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14246 + (exit $ac_status); } &&
6.14247 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6.14248 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.14249 + (eval $ac_try) 2>&5
6.14250 + ac_status=$?
6.14251 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14252 + (exit $ac_status); }; } &&
6.14253 + { ac_try='test -s conftest$ac_exeext'
6.14254 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.14255 + (eval $ac_try) 2>&5
6.14256 + ac_status=$?
6.14257 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14258 + (exit $ac_status); }; }; then
6.14259 +
6.14260 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.14261 +}'`
6.14262 +# Check for a 64-bit object if we didn't find anything.
6.14263 +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; }
6.14264 +}'`; fi
6.14265 +else
6.14266 + echo "$as_me: failed program was:" >&5
6.14267 +sed 's/^/| /' conftest.$ac_ext >&5
6.14268 +
6.14269 +fi
6.14270 +rm -f conftest.err conftest.$ac_objext \
6.14271 + conftest$ac_exeext conftest.$ac_ext
6.14272 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.14273 +
6.14274 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
6.14275 + 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"
6.14276 + else
6.14277 + if test "$host_cpu" = ia64; then
6.14278 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
6.14279 + allow_undefined_flag_F77="-z nodefs"
6.14280 + 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"
6.14281 + else
6.14282 + # Determine the default libpath from the value encoded in an empty executable.
6.14283 + cat >conftest.$ac_ext <<_ACEOF
6.14284 + program main
6.14285 +
6.14286 + end
6.14287 +_ACEOF
6.14288 +rm -f conftest.$ac_objext conftest$ac_exeext
6.14289 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.14290 + (eval $ac_link) 2>conftest.er1
6.14291 + ac_status=$?
6.14292 + grep -v '^ *+' conftest.er1 >conftest.err
6.14293 + rm -f conftest.er1
6.14294 + cat conftest.err >&5
6.14295 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14296 + (exit $ac_status); } &&
6.14297 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6.14298 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.14299 + (eval $ac_try) 2>&5
6.14300 + ac_status=$?
6.14301 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14302 + (exit $ac_status); }; } &&
6.14303 + { ac_try='test -s conftest$ac_exeext'
6.14304 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.14305 + (eval $ac_try) 2>&5
6.14306 + ac_status=$?
6.14307 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14308 + (exit $ac_status); }; }; then
6.14309 +
6.14310 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.14311 +}'`
6.14312 +# Check for a 64-bit object if we didn't find anything.
6.14313 +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; }
6.14314 +}'`; fi
6.14315 +else
6.14316 + echo "$as_me: failed program was:" >&5
6.14317 +sed 's/^/| /' conftest.$ac_ext >&5
6.14318 +
6.14319 +fi
6.14320 +rm -f conftest.err conftest.$ac_objext \
6.14321 + conftest$ac_exeext conftest.$ac_ext
6.14322 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.14323 +
6.14324 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
6.14325 + # Warning - without using the other run time loading flags,
6.14326 + # -berok will link without error, but may produce a broken library.
6.14327 + no_undefined_flag_F77=' ${wl}-bernotok'
6.14328 + allow_undefined_flag_F77=' ${wl}-berok'
6.14329 + # -bexpall does not export symbols beginning with underscore (_)
6.14330 + always_export_symbols_F77=yes
6.14331 + # Exported symbols can be pulled into shared objects from archives
6.14332 + whole_archive_flag_spec_F77=' '
6.14333 + archive_cmds_need_lc_F77=yes
6.14334 + # This is similar to how AIX traditionally builds its shared libraries.
6.14335 + 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'
6.14336 + fi
6.14337 + fi
6.14338 + ;;
6.14339 +
6.14340 + amigaos*)
6.14341 + 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)'
6.14342 + hardcode_libdir_flag_spec_F77='-L$libdir'
6.14343 + hardcode_minus_L_F77=yes
6.14344 + # see comment about different semantics on the GNU ld section
6.14345 + ld_shlibs_F77=no
6.14346 + ;;
6.14347 +
6.14348 + bsdi[45]*)
6.14349 + export_dynamic_flag_spec_F77=-rdynamic
6.14350 + ;;
6.14351 +
6.14352 + cygwin* | mingw* | pw32*)
6.14353 + # When not using gcc, we currently assume that we are using
6.14354 + # Microsoft Visual C++.
6.14355 + # hardcode_libdir_flag_spec is actually meaningless, as there is
6.14356 + # no search path for DLLs.
6.14357 + hardcode_libdir_flag_spec_F77=' '
6.14358 + allow_undefined_flag_F77=unsupported
6.14359 + # Tell ltmain to make .lib files, not .a files.
6.14360 + libext=lib
6.14361 + # Tell ltmain to make .dll files, not .so files.
6.14362 + shrext_cmds=".dll"
6.14363 + # FIXME: Setting linknames here is a bad hack.
6.14364 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6.14365 + # The linker will automatically build a .lib file if we build a DLL.
6.14366 + old_archive_From_new_cmds_F77='true'
6.14367 + # FIXME: Should let the user specify the lib program.
6.14368 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
6.14369 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
6.14370 + enable_shared_with_static_runtimes_F77=yes
6.14371 + ;;
6.14372 +
6.14373 + darwin* | rhapsody*)
6.14374 + case $host_os in
6.14375 + rhapsody* | darwin1.[012])
6.14376 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
6.14377 + ;;
6.14378 + *) # Darwin 1.3 on
6.14379 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6.14380 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.14381 + else
6.14382 + case ${MACOSX_DEPLOYMENT_TARGET} in
6.14383 + 10.[012])
6.14384 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.14385 + ;;
6.14386 + 10.*)
6.14387 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
6.14388 + ;;
6.14389 + esac
6.14390 + fi
6.14391 + ;;
6.14392 + esac
6.14393 + archive_cmds_need_lc_F77=no
6.14394 + hardcode_direct_F77=no
6.14395 + hardcode_automatic_F77=yes
6.14396 + hardcode_shlibpath_var_F77=unsupported
6.14397 + whole_archive_flag_spec_F77=''
6.14398 + link_all_deplibs_F77=yes
6.14399 + if test "$GCC" = yes ; then
6.14400 + output_verbose_link_cmd='echo'
6.14401 + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6.14402 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.14403 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.14404 + archive_expsym_cmds_F77='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}'
6.14405 + 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}'
6.14406 + else
6.14407 + case $cc_basename in
6.14408 + xlc*)
6.14409 + output_verbose_link_cmd='echo'
6.14410 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
6.14411 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.14412 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.14413 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6.14414 + 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}'
6.14415 + ;;
6.14416 + *)
6.14417 + ld_shlibs_F77=no
6.14418 + ;;
6.14419 + esac
6.14420 + fi
6.14421 + ;;
6.14422 +
6.14423 + dgux*)
6.14424 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14425 + hardcode_libdir_flag_spec_F77='-L$libdir'
6.14426 + hardcode_shlibpath_var_F77=no
6.14427 + ;;
6.14428 +
6.14429 + freebsd1*)
6.14430 + ld_shlibs_F77=no
6.14431 + ;;
6.14432 +
6.14433 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6.14434 + # support. Future versions do this automatically, but an explicit c++rt0.o
6.14435 + # does not break anything, and helps significantly (at the cost of a little
6.14436 + # extra space).
6.14437 + freebsd2.2*)
6.14438 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6.14439 + hardcode_libdir_flag_spec_F77='-R$libdir'
6.14440 + hardcode_direct_F77=yes
6.14441 + hardcode_shlibpath_var_F77=no
6.14442 + ;;
6.14443 +
6.14444 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6.14445 + freebsd2*)
6.14446 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.14447 + hardcode_direct_F77=yes
6.14448 + hardcode_minus_L_F77=yes
6.14449 + hardcode_shlibpath_var_F77=no
6.14450 + ;;
6.14451 +
6.14452 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6.14453 + freebsd* | kfreebsd*-gnu | dragonfly*)
6.14454 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6.14455 + hardcode_libdir_flag_spec_F77='-R$libdir'
6.14456 + hardcode_direct_F77=yes
6.14457 + hardcode_shlibpath_var_F77=no
6.14458 + ;;
6.14459 +
6.14460 + hpux9*)
6.14461 + if test "$GCC" = yes; then
6.14462 + 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'
6.14463 + else
6.14464 + 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'
6.14465 + fi
6.14466 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
6.14467 + hardcode_libdir_separator_F77=:
6.14468 + hardcode_direct_F77=yes
6.14469 +
6.14470 + # hardcode_minus_L: Not really in the search PATH,
6.14471 + # but as the default location of the library.
6.14472 + hardcode_minus_L_F77=yes
6.14473 + export_dynamic_flag_spec_F77='${wl}-E'
6.14474 + ;;
6.14475 +
6.14476 + hpux10* | hpux11*)
6.14477 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6.14478 + case $host_cpu in
6.14479 + hppa*64*|ia64*)
6.14480 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.14481 + ;;
6.14482 + *)
6.14483 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6.14484 + ;;
6.14485 + esac
6.14486 + else
6.14487 + case $host_cpu in
6.14488 + hppa*64*|ia64*)
6.14489 + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14490 + ;;
6.14491 + *)
6.14492 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6.14493 + ;;
6.14494 + esac
6.14495 + fi
6.14496 + if test "$with_gnu_ld" = no; then
6.14497 + case $host_cpu in
6.14498 + hppa*64*)
6.14499 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
6.14500 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
6.14501 + hardcode_libdir_separator_F77=:
6.14502 + hardcode_direct_F77=no
6.14503 + hardcode_shlibpath_var_F77=no
6.14504 + ;;
6.14505 + ia64*)
6.14506 + hardcode_libdir_flag_spec_F77='-L$libdir'
6.14507 + hardcode_direct_F77=no
6.14508 + hardcode_shlibpath_var_F77=no
6.14509 +
6.14510 + # hardcode_minus_L: Not really in the search PATH,
6.14511 + # but as the default location of the library.
6.14512 + hardcode_minus_L_F77=yes
6.14513 + ;;
6.14514 + *)
6.14515 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
6.14516 + hardcode_libdir_separator_F77=:
6.14517 + hardcode_direct_F77=yes
6.14518 + export_dynamic_flag_spec_F77='${wl}-E'
6.14519 +
6.14520 + # hardcode_minus_L: Not really in the search PATH,
6.14521 + # but as the default location of the library.
6.14522 + hardcode_minus_L_F77=yes
6.14523 + ;;
6.14524 + esac
6.14525 + fi
6.14526 + ;;
6.14527 +
6.14528 + irix5* | irix6* | nonstopux*)
6.14529 + if test "$GCC" = yes; then
6.14530 + 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'
6.14531 + else
6.14532 + 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'
6.14533 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
6.14534 + fi
6.14535 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
6.14536 + hardcode_libdir_separator_F77=:
6.14537 + link_all_deplibs_F77=yes
6.14538 + ;;
6.14539 +
6.14540 + netbsd*)
6.14541 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.14542 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6.14543 + else
6.14544 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6.14545 + fi
6.14546 + hardcode_libdir_flag_spec_F77='-R$libdir'
6.14547 + hardcode_direct_F77=yes
6.14548 + hardcode_shlibpath_var_F77=no
6.14549 + ;;
6.14550 +
6.14551 + newsos6)
6.14552 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14553 + hardcode_direct_F77=yes
6.14554 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
6.14555 + hardcode_libdir_separator_F77=:
6.14556 + hardcode_shlibpath_var_F77=no
6.14557 + ;;
6.14558 +
6.14559 + openbsd*)
6.14560 + hardcode_direct_F77=yes
6.14561 + hardcode_shlibpath_var_F77=no
6.14562 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.14563 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.14564 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6.14565 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
6.14566 + export_dynamic_flag_spec_F77='${wl}-E'
6.14567 + else
6.14568 + case $host_os in
6.14569 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6.14570 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.14571 + hardcode_libdir_flag_spec_F77='-R$libdir'
6.14572 + ;;
6.14573 + *)
6.14574 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.14575 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
6.14576 + ;;
6.14577 + esac
6.14578 + fi
6.14579 + ;;
6.14580 +
6.14581 + os2*)
6.14582 + hardcode_libdir_flag_spec_F77='-L$libdir'
6.14583 + hardcode_minus_L_F77=yes
6.14584 + allow_undefined_flag_F77=unsupported
6.14585 + 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'
6.14586 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6.14587 + ;;
6.14588 +
6.14589 + osf3*)
6.14590 + if test "$GCC" = yes; then
6.14591 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
6.14592 + 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'
6.14593 + else
6.14594 + allow_undefined_flag_F77=' -expect_unresolved \*'
6.14595 + 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'
6.14596 + fi
6.14597 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
6.14598 + hardcode_libdir_separator_F77=:
6.14599 + ;;
6.14600 +
6.14601 + osf4* | osf5*) # as osf3* with the addition of -msym flag
6.14602 + if test "$GCC" = yes; then
6.14603 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
6.14604 + 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'
6.14605 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
6.14606 + else
6.14607 + allow_undefined_flag_F77=' -expect_unresolved \*'
6.14608 + 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'
6.14609 + 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~
6.14610 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
6.14611 +
6.14612 + # Both c and cxx compiler support -rpath directly
6.14613 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
6.14614 + fi
6.14615 + hardcode_libdir_separator_F77=:
6.14616 + ;;
6.14617 +
6.14618 + sco3.2v5*)
6.14619 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14620 + hardcode_shlibpath_var_F77=no
6.14621 + export_dynamic_flag_spec_F77='${wl}-Bexport'
6.14622 + runpath_var=LD_RUN_PATH
6.14623 + hardcode_runpath_var=yes
6.14624 + ;;
6.14625 +
6.14626 + solaris*)
6.14627 + no_undefined_flag_F77=' -z text'
6.14628 + if test "$GCC" = yes; then
6.14629 + wlarc='${wl}'
6.14630 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.14631 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.14632 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6.14633 + else
6.14634 + wlarc=''
6.14635 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14636 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.14637 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.14638 + fi
6.14639 + hardcode_libdir_flag_spec_F77='-R$libdir'
6.14640 + hardcode_shlibpath_var_F77=no
6.14641 + case $host_os in
6.14642 + solaris2.[0-5] | solaris2.[0-5].*) ;;
6.14643 + *)
6.14644 + # The compiler driver will combine linker options so we
6.14645 + # cannot just pass the convience library names through
6.14646 + # without $wl, iff we do not link with $LD.
6.14647 + # Luckily, gcc supports the same syntax we need for Sun Studio.
6.14648 + # Supported since Solaris 2.6 (maybe 2.5.1?)
6.14649 + case $wlarc in
6.14650 + '')
6.14651 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
6.14652 + *)
6.14653 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
6.14654 + esac ;;
6.14655 + esac
6.14656 + link_all_deplibs_F77=yes
6.14657 + ;;
6.14658 +
6.14659 + sunos4*)
6.14660 + if test "x$host_vendor" = xsequent; then
6.14661 + # Use $CC to link under sequent, because it throws in some extra .o
6.14662 + # files that make .init and .fini sections work.
6.14663 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6.14664 + else
6.14665 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6.14666 + fi
6.14667 + hardcode_libdir_flag_spec_F77='-L$libdir'
6.14668 + hardcode_direct_F77=yes
6.14669 + hardcode_minus_L_F77=yes
6.14670 + hardcode_shlibpath_var_F77=no
6.14671 + ;;
6.14672 +
6.14673 + sysv4)
6.14674 + case $host_vendor in
6.14675 + sni)
6.14676 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14677 + hardcode_direct_F77=yes # is this really true???
6.14678 + ;;
6.14679 + siemens)
6.14680 + ## LD is ld it makes a PLAMLIB
6.14681 + ## CC just makes a GrossModule.
6.14682 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.14683 + reload_cmds_F77='$CC -r -o $output$reload_objs'
6.14684 + hardcode_direct_F77=no
6.14685 + ;;
6.14686 + motorola)
6.14687 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14688 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
6.14689 + ;;
6.14690 + esac
6.14691 + runpath_var='LD_RUN_PATH'
6.14692 + hardcode_shlibpath_var_F77=no
6.14693 + ;;
6.14694 +
6.14695 + sysv4.3*)
6.14696 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14697 + hardcode_shlibpath_var_F77=no
6.14698 + export_dynamic_flag_spec_F77='-Bexport'
6.14699 + ;;
6.14700 +
6.14701 + sysv4*MP*)
6.14702 + if test -d /usr/nec; then
6.14703 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14704 + hardcode_shlibpath_var_F77=no
6.14705 + runpath_var=LD_RUN_PATH
6.14706 + hardcode_runpath_var=yes
6.14707 + ld_shlibs_F77=yes
6.14708 + fi
6.14709 + ;;
6.14710 +
6.14711 + sysv4.2uw2*)
6.14712 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.14713 + hardcode_direct_F77=yes
6.14714 + hardcode_minus_L_F77=no
6.14715 + hardcode_shlibpath_var_F77=no
6.14716 + hardcode_runpath_var=yes
6.14717 + runpath_var=LD_RUN_PATH
6.14718 + ;;
6.14719 +
6.14720 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
6.14721 + no_undefined_flag_F77='${wl}-z ${wl}text'
6.14722 + if test "$GCC" = yes; then
6.14723 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.14724 + else
6.14725 + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.14726 + fi
6.14727 + runpath_var='LD_RUN_PATH'
6.14728 + hardcode_shlibpath_var_F77=no
6.14729 + ;;
6.14730 +
6.14731 + sysv5*)
6.14732 + no_undefined_flag_F77=' -z text'
6.14733 + # $CC -shared without GNU ld will not create a library from C++
6.14734 + # object files and a static libstdc++, better avoid it by now
6.14735 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14736 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.14737 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.14738 + hardcode_libdir_flag_spec_F77=
6.14739 + hardcode_shlibpath_var_F77=no
6.14740 + runpath_var='LD_RUN_PATH'
6.14741 + ;;
6.14742 +
6.14743 + uts4*)
6.14744 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.14745 + hardcode_libdir_flag_spec_F77='-L$libdir'
6.14746 + hardcode_shlibpath_var_F77=no
6.14747 + ;;
6.14748 +
6.14749 + *)
6.14750 + ld_shlibs_F77=no
6.14751 + ;;
6.14752 + esac
6.14753 + fi
6.14754 +
6.14755 +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
6.14756 +echo "${ECHO_T}$ld_shlibs_F77" >&6
6.14757 +test "$ld_shlibs_F77" = no && can_build_shared=no
6.14758 +
6.14759 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6.14760 +if test "$GCC" = yes; then
6.14761 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6.14762 +fi
6.14763 +
6.14764 +#
6.14765 +# Do we need to explicitly link libc?
6.14766 +#
6.14767 +case "x$archive_cmds_need_lc_F77" in
6.14768 +x|xyes)
6.14769 + # Assume -lc should be added
6.14770 + archive_cmds_need_lc_F77=yes
6.14771 +
6.14772 + if test "$enable_shared" = yes && test "$GCC" = yes; then
6.14773 + case $archive_cmds_F77 in
6.14774 + *'~'*)
6.14775 + # FIXME: we may have to deal with multi-command sequences.
6.14776 + ;;
6.14777 + '$CC '*)
6.14778 + # Test whether the compiler implicitly links with -lc since on some
6.14779 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
6.14780 + # to ld, don't add -lc before -lgcc.
6.14781 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
6.14782 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
6.14783 + $rm conftest*
6.14784 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.14785 +
6.14786 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.14787 + (eval $ac_compile) 2>&5
6.14788 + ac_status=$?
6.14789 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14790 + (exit $ac_status); } 2>conftest.err; then
6.14791 + soname=conftest
6.14792 + lib=conftest
6.14793 + libobjs=conftest.$ac_objext
6.14794 + deplibs=
6.14795 + wl=$lt_prog_compiler_wl_F77
6.14796 + compiler_flags=-v
6.14797 + linker_flags=-v
6.14798 + verstring=
6.14799 + output_objdir=.
6.14800 + libname=conftest
6.14801 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
6.14802 + allow_undefined_flag_F77=
6.14803 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
6.14804 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
6.14805 + ac_status=$?
6.14806 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.14807 + (exit $ac_status); }
6.14808 + then
6.14809 + archive_cmds_need_lc_F77=no
6.14810 + else
6.14811 + archive_cmds_need_lc_F77=yes
6.14812 + fi
6.14813 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
6.14814 + else
6.14815 + cat conftest.err 1>&5
6.14816 + fi
6.14817 + $rm conftest*
6.14818 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
6.14819 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
6.14820 + ;;
6.14821 + esac
6.14822 + fi
6.14823 + ;;
6.14824 +esac
6.14825 +
6.14826 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6.14827 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6.14828 +library_names_spec=
6.14829 +libname_spec='lib$name'
6.14830 +soname_spec=
6.14831 +shrext_cmds=".so"
6.14832 +postinstall_cmds=
6.14833 +postuninstall_cmds=
6.14834 +finish_cmds=
6.14835 +finish_eval=
6.14836 +shlibpath_var=
6.14837 +shlibpath_overrides_runpath=unknown
6.14838 +version_type=none
6.14839 +dynamic_linker="$host_os ld.so"
6.14840 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
6.14841 +if test "$GCC" = yes; then
6.14842 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.14843 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6.14844 + # if the path contains ";" then we assume it to be the separator
6.14845 + # otherwise default to the standard path separator (i.e. ":") - it is
6.14846 + # assumed that no part of a normal pathname contains ";" but that should
6.14847 + # okay in the real world where ";" in dirpaths is itself problematic.
6.14848 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.14849 + else
6.14850 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.14851 + fi
6.14852 +else
6.14853 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6.14854 +fi
6.14855 +need_lib_prefix=unknown
6.14856 +hardcode_into_libs=no
6.14857 +
6.14858 +# when you set need_version to no, make sure it does not cause -set_version
6.14859 +# flags to be left without arguments
6.14860 +need_version=unknown
6.14861 +
6.14862 +case $host_os in
6.14863 +aix3*)
6.14864 + version_type=linux
6.14865 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
6.14866 + shlibpath_var=LIBPATH
6.14867 +
6.14868 + # AIX 3 has no versioning support, so we append a major version to the name.
6.14869 + soname_spec='${libname}${release}${shared_ext}$major'
6.14870 + ;;
6.14871 +
6.14872 +aix4* | aix5*)
6.14873 + version_type=linux
6.14874 + need_lib_prefix=no
6.14875 + need_version=no
6.14876 + hardcode_into_libs=yes
6.14877 + if test "$host_cpu" = ia64; then
6.14878 + # AIX 5 supports IA64
6.14879 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6.14880 + shlibpath_var=LD_LIBRARY_PATH
6.14881 + else
6.14882 + # With GCC up to 2.95.x, collect2 would create an import file
6.14883 + # for dependence libraries. The import file would start with
6.14884 + # the line `#! .'. This would cause the generated library to
6.14885 + # depend on `.', always an invalid library. This was fixed in
6.14886 + # development snapshots of GCC prior to 3.0.
6.14887 + case $host_os in
6.14888 + aix4 | aix4.[01] | aix4.[01].*)
6.14889 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6.14890 + echo ' yes '
6.14891 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6.14892 + :
6.14893 + else
6.14894 + can_build_shared=no
6.14895 + fi
6.14896 + ;;
6.14897 + esac
6.14898 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6.14899 + # soname into executable. Probably we can add versioning support to
6.14900 + # collect2, so additional links can be useful in future.
6.14901 + if test "$aix_use_runtimelinking" = yes; then
6.14902 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6.14903 + # instead of lib<name>.a to let people know that these are not
6.14904 + # typical AIX shared libraries.
6.14905 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.14906 + else
6.14907 + # We preserve .a as extension for shared libraries through AIX4.2
6.14908 + # and later when we are not doing run time linking.
6.14909 + library_names_spec='${libname}${release}.a $libname.a'
6.14910 + soname_spec='${libname}${release}${shared_ext}$major'
6.14911 + fi
6.14912 + shlibpath_var=LIBPATH
6.14913 + fi
6.14914 + ;;
6.14915 +
6.14916 +amigaos*)
6.14917 + library_names_spec='$libname.ixlibrary $libname.a'
6.14918 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
6.14919 + 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'
6.14920 + ;;
6.14921 +
6.14922 +beos*)
6.14923 + library_names_spec='${libname}${shared_ext}'
6.14924 + dynamic_linker="$host_os ld.so"
6.14925 + shlibpath_var=LIBRARY_PATH
6.14926 + ;;
6.14927 +
6.14928 +bsdi[45]*)
6.14929 + version_type=linux
6.14930 + need_version=no
6.14931 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.14932 + soname_spec='${libname}${release}${shared_ext}$major'
6.14933 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6.14934 + shlibpath_var=LD_LIBRARY_PATH
6.14935 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6.14936 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6.14937 + # the default ld.so.conf also contains /usr/contrib/lib and
6.14938 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6.14939 + # libtool to hard-code these into programs
6.14940 + ;;
6.14941 +
6.14942 +cygwin* | mingw* | pw32*)
6.14943 + version_type=windows
6.14944 + shrext_cmds=".dll"
6.14945 + need_version=no
6.14946 + need_lib_prefix=no
6.14947 +
6.14948 + case $GCC,$host_os in
6.14949 + yes,cygwin* | yes,mingw* | yes,pw32*)
6.14950 + library_names_spec='$libname.dll.a'
6.14951 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
6.14952 + postinstall_cmds='base_file=`basename \${file}`~
6.14953 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6.14954 + dldir=$destdir/`dirname \$dlpath`~
6.14955 + test -d \$dldir || mkdir -p \$dldir~
6.14956 + $install_prog $dir/$dlname \$dldir/$dlname~
6.14957 + chmod a+x \$dldir/$dlname'
6.14958 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6.14959 + dlpath=$dir/\$dldll~
6.14960 + $rm \$dlpath'
6.14961 + shlibpath_overrides_runpath=yes
6.14962 +
6.14963 + case $host_os in
6.14964 + cygwin*)
6.14965 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6.14966 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.14967 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
6.14968 + ;;
6.14969 + mingw*)
6.14970 + # MinGW DLLs use traditional 'lib' prefix
6.14971 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.14972 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.14973 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
6.14974 + # It is most probably a Windows format PATH printed by
6.14975 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
6.14976 + # path with ; separators, and with drive letters. We can handle the
6.14977 + # drive letters (cygwin fileutils understands them), so leave them,
6.14978 + # especially as we might pass files found there to a mingw objdump,
6.14979 + # which wouldn't understand a cygwinified path. Ahh.
6.14980 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.14981 + else
6.14982 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.14983 + fi
6.14984 + ;;
6.14985 + pw32*)
6.14986 + # pw32 DLLs use 'pw' prefix rather than 'lib'
6.14987 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.14988 + ;;
6.14989 + esac
6.14990 + ;;
6.14991 +
6.14992 + *)
6.14993 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6.14994 + ;;
6.14995 + esac
6.14996 + dynamic_linker='Win32 ld.exe'
6.14997 + # FIXME: first we should search . and the directory the executable is in
6.14998 + shlibpath_var=PATH
6.14999 + ;;
6.15000 +
6.15001 +darwin* | rhapsody*)
6.15002 + dynamic_linker="$host_os dyld"
6.15003 + version_type=darwin
6.15004 + need_lib_prefix=no
6.15005 + need_version=no
6.15006 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6.15007 + soname_spec='${libname}${release}${major}$shared_ext'
6.15008 + shlibpath_overrides_runpath=yes
6.15009 + shlibpath_var=DYLD_LIBRARY_PATH
6.15010 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
6.15011 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6.15012 + if test "$GCC" = yes; then
6.15013 + 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"`
6.15014 + else
6.15015 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
6.15016 + fi
6.15017 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
6.15018 + ;;
6.15019 +
6.15020 +dgux*)
6.15021 + version_type=linux
6.15022 + need_lib_prefix=no
6.15023 + need_version=no
6.15024 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6.15025 + soname_spec='${libname}${release}${shared_ext}$major'
6.15026 + shlibpath_var=LD_LIBRARY_PATH
6.15027 + ;;
6.15028 +
6.15029 +freebsd1*)
6.15030 + dynamic_linker=no
6.15031 + ;;
6.15032 +
6.15033 +kfreebsd*-gnu)
6.15034 + version_type=linux
6.15035 + need_lib_prefix=no
6.15036 + need_version=no
6.15037 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.15038 + soname_spec='${libname}${release}${shared_ext}$major'
6.15039 + shlibpath_var=LD_LIBRARY_PATH
6.15040 + shlibpath_overrides_runpath=no
6.15041 + hardcode_into_libs=yes
6.15042 + dynamic_linker='GNU ld.so'
6.15043 + ;;
6.15044 +
6.15045 +freebsd* | dragonfly*)
6.15046 + # DragonFly does not have aout. When/if they implement a new
6.15047 + # versioning mechanism, adjust this.
6.15048 + if test -x /usr/bin/objformat; then
6.15049 + objformat=`/usr/bin/objformat`
6.15050 + else
6.15051 + case $host_os in
6.15052 + freebsd[123]*) objformat=aout ;;
6.15053 + *) objformat=elf ;;
6.15054 + esac
6.15055 + fi
6.15056 + version_type=freebsd-$objformat
6.15057 + case $version_type in
6.15058 + freebsd-elf*)
6.15059 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6.15060 + need_version=no
6.15061 + need_lib_prefix=no
6.15062 + ;;
6.15063 + freebsd-*)
6.15064 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6.15065 + need_version=yes
6.15066 + ;;
6.15067 + esac
6.15068 + shlibpath_var=LD_LIBRARY_PATH
6.15069 + case $host_os in
6.15070 + freebsd2*)
6.15071 + shlibpath_overrides_runpath=yes
6.15072 + ;;
6.15073 + freebsd3.[01]* | freebsdelf3.[01]*)
6.15074 + shlibpath_overrides_runpath=yes
6.15075 + hardcode_into_libs=yes
6.15076 + ;;
6.15077 + *) # from 3.2 on
6.15078 + shlibpath_overrides_runpath=no
6.15079 + hardcode_into_libs=yes
6.15080 + ;;
6.15081 + esac
6.15082 + ;;
6.15083 +
6.15084 +gnu*)
6.15085 + version_type=linux
6.15086 + need_lib_prefix=no
6.15087 + need_version=no
6.15088 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6.15089 + soname_spec='${libname}${release}${shared_ext}$major'
6.15090 + shlibpath_var=LD_LIBRARY_PATH
6.15091 + hardcode_into_libs=yes
6.15092 + ;;
6.15093 +
6.15094 +hpux9* | hpux10* | hpux11*)
6.15095 + # Give a soname corresponding to the major version so that dld.sl refuses to
6.15096 + # link against other versions.
6.15097 + version_type=sunos
6.15098 + need_lib_prefix=no
6.15099 + need_version=no
6.15100 + case $host_cpu in
6.15101 + ia64*)
6.15102 + shrext_cmds='.so'
6.15103 + hardcode_into_libs=yes
6.15104 + dynamic_linker="$host_os dld.so"
6.15105 + shlibpath_var=LD_LIBRARY_PATH
6.15106 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.15107 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15108 + soname_spec='${libname}${release}${shared_ext}$major'
6.15109 + if test "X$HPUX_IA64_MODE" = X32; then
6.15110 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6.15111 + else
6.15112 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
6.15113 + fi
6.15114 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.15115 + ;;
6.15116 + hppa*64*)
6.15117 + shrext_cmds='.sl'
6.15118 + hardcode_into_libs=yes
6.15119 + dynamic_linker="$host_os dld.sl"
6.15120 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6.15121 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.15122 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15123 + soname_spec='${libname}${release}${shared_ext}$major'
6.15124 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6.15125 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.15126 + ;;
6.15127 + *)
6.15128 + shrext_cmds='.sl'
6.15129 + dynamic_linker="$host_os dld.sl"
6.15130 + shlibpath_var=SHLIB_PATH
6.15131 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6.15132 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15133 + soname_spec='${libname}${release}${shared_ext}$major'
6.15134 + ;;
6.15135 + esac
6.15136 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
6.15137 + postinstall_cmds='chmod 555 $lib'
6.15138 + ;;
6.15139 +
6.15140 +irix5* | irix6* | nonstopux*)
6.15141 + case $host_os in
6.15142 + nonstopux*) version_type=nonstopux ;;
6.15143 + *)
6.15144 + if test "$lt_cv_prog_gnu_ld" = yes; then
6.15145 + version_type=linux
6.15146 + else
6.15147 + version_type=irix
6.15148 + fi ;;
6.15149 + esac
6.15150 + need_lib_prefix=no
6.15151 + need_version=no
6.15152 + soname_spec='${libname}${release}${shared_ext}$major'
6.15153 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6.15154 + case $host_os in
6.15155 + irix5* | nonstopux*)
6.15156 + libsuff= shlibsuff=
6.15157 + ;;
6.15158 + *)
6.15159 + case $LD in # libtool.m4 will add one of these switches to LD
6.15160 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
6.15161 + libsuff= shlibsuff= libmagic=32-bit;;
6.15162 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
6.15163 + libsuff=32 shlibsuff=N32 libmagic=N32;;
6.15164 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
6.15165 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
6.15166 + *) libsuff= shlibsuff= libmagic=never-match;;
6.15167 + esac
6.15168 + ;;
6.15169 + esac
6.15170 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6.15171 + shlibpath_overrides_runpath=no
6.15172 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6.15173 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6.15174 + hardcode_into_libs=yes
6.15175 + ;;
6.15176 +
6.15177 +# No shared lib support for Linux oldld, aout, or coff.
6.15178 +linux*oldld* | linux*aout* | linux*coff*)
6.15179 + dynamic_linker=no
6.15180 + ;;
6.15181 +
6.15182 +# This must be Linux ELF.
6.15183 +linux*)
6.15184 + version_type=linux
6.15185 + need_lib_prefix=no
6.15186 + need_version=no
6.15187 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15188 + soname_spec='${libname}${release}${shared_ext}$major'
6.15189 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6.15190 + shlibpath_var=LD_LIBRARY_PATH
6.15191 + shlibpath_overrides_runpath=no
6.15192 + # This implies no fast_install, which is unacceptable.
6.15193 + # Some rework will be needed to allow for fast_install
6.15194 + # before this can be enabled.
6.15195 + hardcode_into_libs=yes
6.15196 +
6.15197 + # Append ld.so.conf contents to the search path
6.15198 + if test -f /etc/ld.so.conf; then
6.15199 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
6.15200 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6.15201 + fi
6.15202 +
6.15203 + # We used to test for /lib/ld.so.1 and disable shared libraries on
6.15204 + # powerpc, because MkLinux only supported shared libraries with the
6.15205 + # GNU dynamic linker. Since this was broken with cross compilers,
6.15206 + # most powerpc-linux boxes support dynamic linking these days and
6.15207 + # people can always --disable-shared, the test was removed, and we
6.15208 + # assume the GNU/Linux dynamic linker is in use.
6.15209 + dynamic_linker='GNU/Linux ld.so'
6.15210 + ;;
6.15211 +
6.15212 +knetbsd*-gnu)
6.15213 + version_type=linux
6.15214 + need_lib_prefix=no
6.15215 + need_version=no
6.15216 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.15217 + soname_spec='${libname}${release}${shared_ext}$major'
6.15218 + shlibpath_var=LD_LIBRARY_PATH
6.15219 + shlibpath_overrides_runpath=no
6.15220 + hardcode_into_libs=yes
6.15221 + dynamic_linker='GNU ld.so'
6.15222 + ;;
6.15223 +
6.15224 +netbsd*)
6.15225 + version_type=sunos
6.15226 + need_lib_prefix=no
6.15227 + need_version=no
6.15228 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.15229 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.15230 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.15231 + dynamic_linker='NetBSD (a.out) ld.so'
6.15232 + else
6.15233 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.15234 + soname_spec='${libname}${release}${shared_ext}$major'
6.15235 + dynamic_linker='NetBSD ld.elf_so'
6.15236 + fi
6.15237 + shlibpath_var=LD_LIBRARY_PATH
6.15238 + shlibpath_overrides_runpath=yes
6.15239 + hardcode_into_libs=yes
6.15240 + ;;
6.15241 +
6.15242 +newsos6)
6.15243 + version_type=linux
6.15244 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15245 + shlibpath_var=LD_LIBRARY_PATH
6.15246 + shlibpath_overrides_runpath=yes
6.15247 + ;;
6.15248 +
6.15249 +nto-qnx*)
6.15250 + version_type=linux
6.15251 + need_lib_prefix=no
6.15252 + need_version=no
6.15253 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15254 + soname_spec='${libname}${release}${shared_ext}$major'
6.15255 + shlibpath_var=LD_LIBRARY_PATH
6.15256 + shlibpath_overrides_runpath=yes
6.15257 + ;;
6.15258 +
6.15259 +openbsd*)
6.15260 + version_type=sunos
6.15261 + need_lib_prefix=no
6.15262 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6.15263 + case $host_os in
6.15264 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
6.15265 + *) need_version=no ;;
6.15266 + esac
6.15267 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.15268 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.15269 + shlibpath_var=LD_LIBRARY_PATH
6.15270 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.15271 + case $host_os in
6.15272 + openbsd2.[89] | openbsd2.[89].*)
6.15273 + shlibpath_overrides_runpath=no
6.15274 + ;;
6.15275 + *)
6.15276 + shlibpath_overrides_runpath=yes
6.15277 + ;;
6.15278 + esac
6.15279 + else
6.15280 + shlibpath_overrides_runpath=yes
6.15281 + fi
6.15282 + ;;
6.15283 +
6.15284 +os2*)
6.15285 + libname_spec='$name'
6.15286 + shrext_cmds=".dll"
6.15287 + need_lib_prefix=no
6.15288 + library_names_spec='$libname${shared_ext} $libname.a'
6.15289 + dynamic_linker='OS/2 ld.exe'
6.15290 + shlibpath_var=LIBPATH
6.15291 + ;;
6.15292 +
6.15293 +osf3* | osf4* | osf5*)
6.15294 + version_type=osf
6.15295 + need_lib_prefix=no
6.15296 + need_version=no
6.15297 + soname_spec='${libname}${release}${shared_ext}$major'
6.15298 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15299 + shlibpath_var=LD_LIBRARY_PATH
6.15300 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6.15301 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6.15302 + ;;
6.15303 +
6.15304 +sco3.2v5*)
6.15305 + version_type=osf
6.15306 + soname_spec='${libname}${release}${shared_ext}$major'
6.15307 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15308 + shlibpath_var=LD_LIBRARY_PATH
6.15309 + ;;
6.15310 +
6.15311 +solaris*)
6.15312 + version_type=linux
6.15313 + need_lib_prefix=no
6.15314 + need_version=no
6.15315 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15316 + soname_spec='${libname}${release}${shared_ext}$major'
6.15317 + shlibpath_var=LD_LIBRARY_PATH
6.15318 + shlibpath_overrides_runpath=yes
6.15319 + hardcode_into_libs=yes
6.15320 + # ldd complains unless libraries are executable
6.15321 + postinstall_cmds='chmod +x $lib'
6.15322 + ;;
6.15323 +
6.15324 +sunos4*)
6.15325 + version_type=sunos
6.15326 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.15327 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6.15328 + shlibpath_var=LD_LIBRARY_PATH
6.15329 + shlibpath_overrides_runpath=yes
6.15330 + if test "$with_gnu_ld" = yes; then
6.15331 + need_lib_prefix=no
6.15332 + fi
6.15333 + need_version=yes
6.15334 + ;;
6.15335 +
6.15336 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.15337 + version_type=linux
6.15338 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15339 + soname_spec='${libname}${release}${shared_ext}$major'
6.15340 + shlibpath_var=LD_LIBRARY_PATH
6.15341 + case $host_vendor in
6.15342 + sni)
6.15343 + shlibpath_overrides_runpath=no
6.15344 + need_lib_prefix=no
6.15345 + export_dynamic_flag_spec='${wl}-Blargedynsym'
6.15346 + runpath_var=LD_RUN_PATH
6.15347 + ;;
6.15348 + siemens)
6.15349 + need_lib_prefix=no
6.15350 + ;;
6.15351 + motorola)
6.15352 + need_lib_prefix=no
6.15353 + need_version=no
6.15354 + shlibpath_overrides_runpath=no
6.15355 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6.15356 + ;;
6.15357 + esac
6.15358 + ;;
6.15359 +
6.15360 +sysv4*MP*)
6.15361 + if test -d /usr/nec ;then
6.15362 + version_type=linux
6.15363 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6.15364 + soname_spec='$libname${shared_ext}.$major'
6.15365 + shlibpath_var=LD_LIBRARY_PATH
6.15366 + fi
6.15367 + ;;
6.15368 +
6.15369 +uts4*)
6.15370 + version_type=linux
6.15371 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.15372 + soname_spec='${libname}${release}${shared_ext}$major'
6.15373 + shlibpath_var=LD_LIBRARY_PATH
6.15374 + ;;
6.15375 +
6.15376 +*)
6.15377 + dynamic_linker=no
6.15378 + ;;
6.15379 +esac
6.15380 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6.15381 +echo "${ECHO_T}$dynamic_linker" >&6
6.15382 +test "$dynamic_linker" = no && can_build_shared=no
6.15383 +
6.15384 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6.15385 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6.15386 +hardcode_action_F77=
6.15387 +if test -n "$hardcode_libdir_flag_spec_F77" || \
6.15388 + test -n "$runpath_var_F77" || \
6.15389 + test "X$hardcode_automatic_F77" = "Xyes" ; then
6.15390 +
6.15391 + # We can hardcode non-existant directories.
6.15392 + if test "$hardcode_direct_F77" != no &&
6.15393 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
6.15394 + # have to relink, otherwise we might link with an installed library
6.15395 + # when we should be linking with a yet-to-be-installed one
6.15396 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
6.15397 + test "$hardcode_minus_L_F77" != no; then
6.15398 + # Linking always hardcodes the temporary library directory.
6.15399 + hardcode_action_F77=relink
6.15400 + else
6.15401 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
6.15402 + hardcode_action_F77=immediate
6.15403 + fi
6.15404 +else
6.15405 + # We cannot hardcode anything, or else we can only hardcode existing
6.15406 + # directories.
6.15407 + hardcode_action_F77=unsupported
6.15408 +fi
6.15409 +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
6.15410 +echo "${ECHO_T}$hardcode_action_F77" >&6
6.15411 +
6.15412 +if test "$hardcode_action_F77" = relink; then
6.15413 + # Fast installation is not supported
6.15414 + enable_fast_install=no
6.15415 +elif test "$shlibpath_overrides_runpath" = yes ||
6.15416 + test "$enable_shared" = no; then
6.15417 + # Fast installation is not necessary
6.15418 + enable_fast_install=needless
6.15419 +fi
6.15420 +
6.15421 +striplib=
6.15422 +old_striplib=
6.15423 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6.15424 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6.15425 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6.15426 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6.15427 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6.15428 + echo "$as_me:$LINENO: result: yes" >&5
6.15429 +echo "${ECHO_T}yes" >&6
6.15430 +else
6.15431 +# FIXME - insert some real tests, host_os isn't really good enough
6.15432 + case $host_os in
6.15433 + darwin*)
6.15434 + if test -n "$STRIP" ; then
6.15435 + striplib="$STRIP -x"
6.15436 + echo "$as_me:$LINENO: result: yes" >&5
6.15437 +echo "${ECHO_T}yes" >&6
6.15438 + else
6.15439 + echo "$as_me:$LINENO: result: no" >&5
6.15440 +echo "${ECHO_T}no" >&6
6.15441 +fi
6.15442 + ;;
6.15443 + *)
6.15444 + echo "$as_me:$LINENO: result: no" >&5
6.15445 +echo "${ECHO_T}no" >&6
6.15446 + ;;
6.15447 + esac
6.15448 +fi
6.15449 +
6.15450 +
6.15451 +
6.15452 +# The else clause should only fire when bootstrapping the
6.15453 +# libtool distribution, otherwise you forgot to ship ltmain.sh
6.15454 +# with your package, and you will get complaints that there are
6.15455 +# no rules to generate ltmain.sh.
6.15456 +if test -f "$ltmain"; then
6.15457 + # See if we are running on zsh, and set the options which allow our commands through
6.15458 + # without removal of \ escapes.
6.15459 + if test -n "${ZSH_VERSION+set}" ; then
6.15460 + setopt NO_GLOB_SUBST
6.15461 + fi
6.15462 + # Now quote all the things that may contain metacharacters while being
6.15463 + # careful not to overquote the AC_SUBSTed values. We take copies of the
6.15464 + # variables and quote the copies for generation of the libtool script.
6.15465 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6.15466 + SED SHELL STRIP \
6.15467 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6.15468 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6.15469 + deplibs_check_method reload_flag reload_cmds need_locks \
6.15470 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6.15471 + lt_cv_sys_global_symbol_to_c_name_address \
6.15472 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6.15473 + old_postinstall_cmds old_postuninstall_cmds \
6.15474 + compiler_F77 \
6.15475 + CC_F77 \
6.15476 + LD_F77 \
6.15477 + lt_prog_compiler_wl_F77 \
6.15478 + lt_prog_compiler_pic_F77 \
6.15479 + lt_prog_compiler_static_F77 \
6.15480 + lt_prog_compiler_no_builtin_flag_F77 \
6.15481 + export_dynamic_flag_spec_F77 \
6.15482 + thread_safe_flag_spec_F77 \
6.15483 + whole_archive_flag_spec_F77 \
6.15484 + enable_shared_with_static_runtimes_F77 \
6.15485 + old_archive_cmds_F77 \
6.15486 + old_archive_from_new_cmds_F77 \
6.15487 + predep_objects_F77 \
6.15488 + postdep_objects_F77 \
6.15489 + predeps_F77 \
6.15490 + postdeps_F77 \
6.15491 + compiler_lib_search_path_F77 \
6.15492 + archive_cmds_F77 \
6.15493 + archive_expsym_cmds_F77 \
6.15494 + postinstall_cmds_F77 \
6.15495 + postuninstall_cmds_F77 \
6.15496 + old_archive_from_expsyms_cmds_F77 \
6.15497 + allow_undefined_flag_F77 \
6.15498 + no_undefined_flag_F77 \
6.15499 + export_symbols_cmds_F77 \
6.15500 + hardcode_libdir_flag_spec_F77 \
6.15501 + hardcode_libdir_flag_spec_ld_F77 \
6.15502 + hardcode_libdir_separator_F77 \
6.15503 + hardcode_automatic_F77 \
6.15504 + module_cmds_F77 \
6.15505 + module_expsym_cmds_F77 \
6.15506 + lt_cv_prog_compiler_c_o_F77 \
6.15507 + exclude_expsyms_F77 \
6.15508 + include_expsyms_F77; do
6.15509 +
6.15510 + case $var in
6.15511 + old_archive_cmds_F77 | \
6.15512 + old_archive_from_new_cmds_F77 | \
6.15513 + archive_cmds_F77 | \
6.15514 + archive_expsym_cmds_F77 | \
6.15515 + module_cmds_F77 | \
6.15516 + module_expsym_cmds_F77 | \
6.15517 + old_archive_from_expsyms_cmds_F77 | \
6.15518 + export_symbols_cmds_F77 | \
6.15519 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
6.15520 + postinstall_cmds | postuninstall_cmds | \
6.15521 + old_postinstall_cmds | old_postuninstall_cmds | \
6.15522 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6.15523 + # Double-quote double-evaled strings.
6.15524 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6.15525 + ;;
6.15526 + *)
6.15527 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
6.15528 + ;;
6.15529 + esac
6.15530 + done
6.15531 +
6.15532 + case $lt_echo in
6.15533 + *'\$0 --fallback-echo"')
6.15534 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
6.15535 + ;;
6.15536 + esac
6.15537 +
6.15538 +cfgfile="$ofile"
6.15539 +
6.15540 + cat <<__EOF__ >> "$cfgfile"
6.15541 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
6.15542 +
6.15543 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6.15544 +
6.15545 +# Shell to use when invoking shell scripts.
6.15546 +SHELL=$lt_SHELL
6.15547 +
6.15548 +# Whether or not to build shared libraries.
6.15549 +build_libtool_libs=$enable_shared
6.15550 +
6.15551 +# Whether or not to build static libraries.
6.15552 +build_old_libs=$enable_static
6.15553 +
6.15554 +# Whether or not to add -lc for building shared libraries.
6.15555 +build_libtool_need_lc=$archive_cmds_need_lc_F77
6.15556 +
6.15557 +# Whether or not to disallow shared libs when runtime libs are static
6.15558 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
6.15559 +
6.15560 +# Whether or not to optimize for fast installation.
6.15561 +fast_install=$enable_fast_install
6.15562 +
6.15563 +# The host system.
6.15564 +host_alias=$host_alias
6.15565 +host=$host
6.15566 +host_os=$host_os
6.15567 +
6.15568 +# The build system.
6.15569 +build_alias=$build_alias
6.15570 +build=$build
6.15571 +build_os=$build_os
6.15572 +
6.15573 +# An echo program that does not interpret backslashes.
6.15574 +echo=$lt_echo
6.15575 +
6.15576 +# The archiver.
6.15577 +AR=$lt_AR
6.15578 +AR_FLAGS=$lt_AR_FLAGS
6.15579 +
6.15580 +# A C compiler.
6.15581 +LTCC=$lt_LTCC
6.15582 +
6.15583 +# A language-specific compiler.
6.15584 +CC=$lt_compiler_F77
6.15585 +
6.15586 +# Is the compiler the GNU C compiler?
6.15587 +with_gcc=$GCC_F77
6.15588 +
6.15589 +# An ERE matcher.
6.15590 +EGREP=$lt_EGREP
6.15591 +
6.15592 +# The linker used to build libraries.
6.15593 +LD=$lt_LD_F77
6.15594 +
6.15595 +# Whether we need hard or soft links.
6.15596 +LN_S=$lt_LN_S
6.15597 +
6.15598 +# A BSD-compatible nm program.
6.15599 +NM=$lt_NM
6.15600 +
6.15601 +# A symbol stripping program
6.15602 +STRIP=$lt_STRIP
6.15603 +
6.15604 +# Used to examine libraries when file_magic_cmd begins "file"
6.15605 +MAGIC_CMD=$MAGIC_CMD
6.15606 +
6.15607 +# Used on cygwin: DLL creation program.
6.15608 +DLLTOOL="$DLLTOOL"
6.15609 +
6.15610 +# Used on cygwin: object dumper.
6.15611 +OBJDUMP="$OBJDUMP"
6.15612 +
6.15613 +# Used on cygwin: assembler.
6.15614 +AS="$AS"
6.15615 +
6.15616 +# The name of the directory that contains temporary libtool files.
6.15617 +objdir=$objdir
6.15618 +
6.15619 +# How to create reloadable object files.
6.15620 +reload_flag=$lt_reload_flag
6.15621 +reload_cmds=$lt_reload_cmds
6.15622 +
6.15623 +# How to pass a linker flag through the compiler.
6.15624 +wl=$lt_lt_prog_compiler_wl_F77
6.15625 +
6.15626 +# Object file suffix (normally "o").
6.15627 +objext="$ac_objext"
6.15628 +
6.15629 +# Old archive suffix (normally "a").
6.15630 +libext="$libext"
6.15631 +
6.15632 +# Shared library suffix (normally ".so").
6.15633 +shrext_cmds='$shrext_cmds'
6.15634 +
6.15635 +# Executable file suffix (normally "").
6.15636 +exeext="$exeext"
6.15637 +
6.15638 +# Additional compiler flags for building library objects.
6.15639 +pic_flag=$lt_lt_prog_compiler_pic_F77
6.15640 +pic_mode=$pic_mode
6.15641 +
6.15642 +# What is the maximum length of a command?
6.15643 +max_cmd_len=$lt_cv_sys_max_cmd_len
6.15644 +
6.15645 +# Does compiler simultaneously support -c and -o options?
6.15646 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
6.15647 +
6.15648 +# Must we lock files when doing compilation?
6.15649 +need_locks=$lt_need_locks
6.15650 +
6.15651 +# Do we need the lib prefix for modules?
6.15652 +need_lib_prefix=$need_lib_prefix
6.15653 +
6.15654 +# Do we need a version for libraries?
6.15655 +need_version=$need_version
6.15656 +
6.15657 +# Whether dlopen is supported.
6.15658 +dlopen_support=$enable_dlopen
6.15659 +
6.15660 +# Whether dlopen of programs is supported.
6.15661 +dlopen_self=$enable_dlopen_self
6.15662 +
6.15663 +# Whether dlopen of statically linked programs is supported.
6.15664 +dlopen_self_static=$enable_dlopen_self_static
6.15665 +
6.15666 +# Compiler flag to prevent dynamic linking.
6.15667 +link_static_flag=$lt_lt_prog_compiler_static_F77
6.15668 +
6.15669 +# Compiler flag to turn off builtin functions.
6.15670 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
6.15671 +
6.15672 +# Compiler flag to allow reflexive dlopens.
6.15673 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
6.15674 +
6.15675 +# Compiler flag to generate shared objects directly from archives.
6.15676 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
6.15677 +
6.15678 +# Compiler flag to generate thread-safe objects.
6.15679 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
6.15680 +
6.15681 +# Library versioning type.
6.15682 +version_type=$version_type
6.15683 +
6.15684 +# Format of library name prefix.
6.15685 +libname_spec=$lt_libname_spec
6.15686 +
6.15687 +# List of archive names. First name is the real one, the rest are links.
6.15688 +# The last name is the one that the linker finds with -lNAME.
6.15689 +library_names_spec=$lt_library_names_spec
6.15690 +
6.15691 +# The coded name of the library, if different from the real name.
6.15692 +soname_spec=$lt_soname_spec
6.15693 +
6.15694 +# Commands used to build and install an old-style archive.
6.15695 +RANLIB=$lt_RANLIB
6.15696 +old_archive_cmds=$lt_old_archive_cmds_F77
6.15697 +old_postinstall_cmds=$lt_old_postinstall_cmds
6.15698 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
6.15699 +
6.15700 +# Create an old-style archive from a shared archive.
6.15701 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
6.15702 +
6.15703 +# Create a temporary old-style archive to link instead of a shared archive.
6.15704 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
6.15705 +
6.15706 +# Commands used to build and install a shared archive.
6.15707 +archive_cmds=$lt_archive_cmds_F77
6.15708 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
6.15709 +postinstall_cmds=$lt_postinstall_cmds
6.15710 +postuninstall_cmds=$lt_postuninstall_cmds
6.15711 +
6.15712 +# Commands used to build a loadable module (assumed same as above if empty)
6.15713 +module_cmds=$lt_module_cmds_F77
6.15714 +module_expsym_cmds=$lt_module_expsym_cmds_F77
6.15715 +
6.15716 +# Commands to strip libraries.
6.15717 +old_striplib=$lt_old_striplib
6.15718 +striplib=$lt_striplib
6.15719 +
6.15720 +# Dependencies to place before the objects being linked to create a
6.15721 +# shared library.
6.15722 +predep_objects=$lt_predep_objects_F77
6.15723 +
6.15724 +# Dependencies to place after the objects being linked to create a
6.15725 +# shared library.
6.15726 +postdep_objects=$lt_postdep_objects_F77
6.15727 +
6.15728 +# Dependencies to place before the objects being linked to create a
6.15729 +# shared library.
6.15730 +predeps=$lt_predeps_F77
6.15731 +
6.15732 +# Dependencies to place after the objects being linked to create a
6.15733 +# shared library.
6.15734 +postdeps=$lt_postdeps_F77
6.15735 +
6.15736 +# The library search path used internally by the compiler when linking
6.15737 +# a shared library.
6.15738 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
6.15739 +
6.15740 +# Method to check whether dependent libraries are shared objects.
6.15741 +deplibs_check_method=$lt_deplibs_check_method
6.15742 +
6.15743 +# Command to use when deplibs_check_method == file_magic.
6.15744 +file_magic_cmd=$lt_file_magic_cmd
6.15745 +
6.15746 +# Flag that allows shared libraries with undefined symbols to be built.
6.15747 +allow_undefined_flag=$lt_allow_undefined_flag_F77
6.15748 +
6.15749 +# Flag that forces no undefined symbols.
6.15750 +no_undefined_flag=$lt_no_undefined_flag_F77
6.15751 +
6.15752 +# Commands used to finish a libtool library installation in a directory.
6.15753 +finish_cmds=$lt_finish_cmds
6.15754 +
6.15755 +# Same as above, but a single script fragment to be evaled but not shown.
6.15756 +finish_eval=$lt_finish_eval
6.15757 +
6.15758 +# Take the output of nm and produce a listing of raw symbols and C names.
6.15759 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6.15760 +
6.15761 +# Transform the output of nm in a proper C declaration
6.15762 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6.15763 +
6.15764 +# Transform the output of nm in a C name address pair
6.15765 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6.15766 +
6.15767 +# This is the shared library runtime path variable.
6.15768 +runpath_var=$runpath_var
6.15769 +
6.15770 +# This is the shared library path variable.
6.15771 +shlibpath_var=$shlibpath_var
6.15772 +
6.15773 +# Is shlibpath searched before the hard-coded library search path?
6.15774 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6.15775 +
6.15776 +# How to hardcode a shared library path into an executable.
6.15777 +hardcode_action=$hardcode_action_F77
6.15778 +
6.15779 +# Whether we should hardcode library paths into libraries.
6.15780 +hardcode_into_libs=$hardcode_into_libs
6.15781 +
6.15782 +# Flag to hardcode \$libdir into a binary during linking.
6.15783 +# This must work even if \$libdir does not exist.
6.15784 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
6.15785 +
6.15786 +# If ld is used when linking, flag to hardcode \$libdir into
6.15787 +# a binary during linking. This must work even if \$libdir does
6.15788 +# not exist.
6.15789 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
6.15790 +
6.15791 +# Whether we need a single -rpath flag with a separated argument.
6.15792 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
6.15793 +
6.15794 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6.15795 +# resulting binary.
6.15796 +hardcode_direct=$hardcode_direct_F77
6.15797 +
6.15798 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6.15799 +# resulting binary.
6.15800 +hardcode_minus_L=$hardcode_minus_L_F77
6.15801 +
6.15802 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6.15803 +# the resulting binary.
6.15804 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
6.15805 +
6.15806 +# Set to yes if building a shared library automatically hardcodes DIR into the library
6.15807 +# and all subsequent libraries and executables linked against it.
6.15808 +hardcode_automatic=$hardcode_automatic_F77
6.15809 +
6.15810 +# Variables whose values should be saved in libtool wrapper scripts and
6.15811 +# restored at relink time.
6.15812 +variables_saved_for_relink="$variables_saved_for_relink"
6.15813 +
6.15814 +# Whether libtool must link a program against all its dependency libraries.
6.15815 +link_all_deplibs=$link_all_deplibs_F77
6.15816 +
6.15817 +# Compile-time system search path for libraries
6.15818 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6.15819 +
6.15820 +# Run-time system search path for libraries
6.15821 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6.15822 +
6.15823 +# Fix the shell variable \$srcfile for the compiler.
6.15824 +fix_srcfile_path="$fix_srcfile_path_F77"
6.15825 +
6.15826 +# Set to yes if exported symbols are required.
6.15827 +always_export_symbols=$always_export_symbols_F77
6.15828 +
6.15829 +# The commands to list exported symbols.
6.15830 +export_symbols_cmds=$lt_export_symbols_cmds_F77
6.15831 +
6.15832 +# The commands to extract the exported symbol list from a shared archive.
6.15833 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
6.15834 +
6.15835 +# Symbols that should not be listed in the preloaded symbols.
6.15836 +exclude_expsyms=$lt_exclude_expsyms_F77
6.15837 +
6.15838 +# Symbols that must always be exported.
6.15839 +include_expsyms=$lt_include_expsyms_F77
6.15840 +
6.15841 +# ### END LIBTOOL TAG CONFIG: $tagname
6.15842 +
6.15843 +__EOF__
6.15844 +
6.15845 +
6.15846 +else
6.15847 + # If there is no Makefile yet, we rely on a make rule to execute
6.15848 + # `config.status --recheck' to rerun these tests and create the
6.15849 + # libtool script then.
6.15850 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6.15851 + if test -f "$ltmain_in"; then
6.15852 + test -f Makefile && make "$ltmain"
6.15853 + fi
6.15854 +fi
6.15855 +
6.15856 +
6.15857 +ac_ext=c
6.15858 +ac_cpp='$CPP $CPPFLAGS'
6.15859 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.15860 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.15861 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.15862 +
6.15863 +CC="$lt_save_CC"
6.15864 +
6.15865 + else
6.15866 + tagname=""
6.15867 + fi
6.15868 + ;;
6.15869 +
6.15870 + GCJ)
6.15871 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
6.15872 +
6.15873 +
6.15874 +
6.15875 +# Source file extension for Java test sources.
6.15876 +ac_ext=java
6.15877 +
6.15878 +# Object file extension for compiled Java test sources.
6.15879 +objext=o
6.15880 +objext_GCJ=$objext
6.15881 +
6.15882 +# Code to be used in simple compile tests
6.15883 +lt_simple_compile_test_code="class foo {}\n"
6.15884 +
6.15885 +# Code to be used in simple link tests
6.15886 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
6.15887 +
6.15888 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6.15889 +
6.15890 +# If no C compiler was specified, use CC.
6.15891 +LTCC=${LTCC-"$CC"}
6.15892 +
6.15893 +# Allow CC to be a program name with arguments.
6.15894 +compiler=$CC
6.15895 +
6.15896 +
6.15897 +# save warnings/boilerplate of simple test code
6.15898 +ac_outfile=conftest.$ac_objext
6.15899 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6.15900 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.15901 +_lt_compiler_boilerplate=`cat conftest.err`
6.15902 +$rm conftest*
6.15903 +
6.15904 +ac_outfile=conftest.$ac_objext
6.15905 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
6.15906 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.15907 +_lt_linker_boilerplate=`cat conftest.err`
6.15908 +$rm conftest*
6.15909 +
6.15910 +
6.15911 +# Allow CC to be a program name with arguments.
6.15912 +lt_save_CC="$CC"
6.15913 +CC=${GCJ-"gcj"}
6.15914 +compiler=$CC
6.15915 +compiler_GCJ=$CC
6.15916 +for cc_temp in $compiler""; do
6.15917 + case $cc_temp in
6.15918 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.15919 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.15920 + \-*) ;;
6.15921 + *) break;;
6.15922 + esac
6.15923 +done
6.15924 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.15925 +
6.15926 +
6.15927 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
6.15928 +archive_cmds_need_lc_GCJ=no
6.15929 +
6.15930 +old_archive_cmds_GCJ=$old_archive_cmds
6.15931 +
6.15932 +## CAVEAT EMPTOR:
6.15933 +## There is no encapsulation within the following macros, do not change
6.15934 +## the running order or otherwise move them around unless you know exactly
6.15935 +## what you are doing...
6.15936 +
6.15937 +lt_prog_compiler_no_builtin_flag_GCJ=
6.15938 +
6.15939 +if test "$GCC" = yes; then
6.15940 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
6.15941 +
6.15942 +
6.15943 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6.15944 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6.15945 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6.15946 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.15947 +else
6.15948 + lt_cv_prog_compiler_rtti_exceptions=no
6.15949 + ac_outfile=conftest.$ac_objext
6.15950 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.15951 + lt_compiler_flag="-fno-rtti -fno-exceptions"
6.15952 + # Insert the option either (1) after the last *FLAGS variable, or
6.15953 + # (2) before a word containing "conftest.", or (3) at the end.
6.15954 + # Note that $ac_compile itself does not contain backslashes and begins
6.15955 + # with a dollar sign (not a hyphen), so the echo should work correctly.
6.15956 + # The option is referenced via a variable to avoid confusing sed.
6.15957 + lt_compile=`echo "$ac_compile" | $SED \
6.15958 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.15959 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.15960 + -e 's:$: $lt_compiler_flag:'`
6.15961 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.15962 + (eval "$lt_compile" 2>conftest.err)
6.15963 + ac_status=$?
6.15964 + cat conftest.err >&5
6.15965 + echo "$as_me:__oline__: \$? = $ac_status" >&5
6.15966 + if (exit $ac_status) && test -s "$ac_outfile"; then
6.15967 + # The compiler can only warn and ignore the option if not recognized
6.15968 + # So say no if there are warnings other than the usual output.
6.15969 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.15970 + $SED '/^$/d' conftest.err >conftest.er2
6.15971 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.15972 + lt_cv_prog_compiler_rtti_exceptions=yes
6.15973 + fi
6.15974 + fi
6.15975 + $rm conftest*
6.15976 +
6.15977 +fi
6.15978 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6.15979 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6.15980 +
6.15981 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6.15982 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
6.15983 +else
6.15984 + :
6.15985 +fi
6.15986 +
6.15987 +fi
6.15988 +
6.15989 +lt_prog_compiler_wl_GCJ=
6.15990 +lt_prog_compiler_pic_GCJ=
6.15991 +lt_prog_compiler_static_GCJ=
6.15992 +
6.15993 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6.15994 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6.15995 +
6.15996 + if test "$GCC" = yes; then
6.15997 + lt_prog_compiler_wl_GCJ='-Wl,'
6.15998 + lt_prog_compiler_static_GCJ='-static'
6.15999 +
6.16000 + case $host_os in
6.16001 + aix*)
6.16002 + # All AIX code is PIC.
6.16003 + if test "$host_cpu" = ia64; then
6.16004 + # AIX 5 now supports IA64 processor
6.16005 + lt_prog_compiler_static_GCJ='-Bstatic'
6.16006 + fi
6.16007 + ;;
6.16008 +
6.16009 + amigaos*)
6.16010 + # FIXME: we need at least 68020 code to build shared libraries, but
6.16011 + # adding the `-m68020' flag to GCC prevents building anything better,
6.16012 + # like `-m68040'.
6.16013 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
6.16014 + ;;
6.16015 +
6.16016 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6.16017 + # PIC is the default for these OSes.
6.16018 + ;;
6.16019 +
6.16020 + mingw* | pw32* | os2*)
6.16021 + # This hack is so that the source file can tell whether it is being
6.16022 + # built for inclusion in a dll (and should export symbols for example).
6.16023 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
6.16024 + ;;
6.16025 +
6.16026 + darwin* | rhapsody*)
6.16027 + # PIC is the default on this platform
6.16028 + # Common symbols not allowed in MH_DYLIB files
6.16029 + lt_prog_compiler_pic_GCJ='-fno-common'
6.16030 + ;;
6.16031 +
6.16032 + msdosdjgpp*)
6.16033 + # Just because we use GCC doesn't mean we suddenly get shared libraries
6.16034 + # on systems that don't support them.
6.16035 + lt_prog_compiler_can_build_shared_GCJ=no
6.16036 + enable_shared=no
6.16037 + ;;
6.16038 +
6.16039 + sysv4*MP*)
6.16040 + if test -d /usr/nec; then
6.16041 + lt_prog_compiler_pic_GCJ=-Kconform_pic
6.16042 + fi
6.16043 + ;;
6.16044 +
6.16045 + hpux*)
6.16046 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.16047 + # not for PA HP-UX.
6.16048 + case $host_cpu in
6.16049 + hppa*64*|ia64*)
6.16050 + # +Z the default
6.16051 + ;;
6.16052 + *)
6.16053 + lt_prog_compiler_pic_GCJ='-fPIC'
6.16054 + ;;
6.16055 + esac
6.16056 + ;;
6.16057 +
6.16058 + *)
6.16059 + lt_prog_compiler_pic_GCJ='-fPIC'
6.16060 + ;;
6.16061 + esac
6.16062 + else
6.16063 + # PORTME Check for flag to pass linker flags through the system compiler.
6.16064 + case $host_os in
6.16065 + aix*)
6.16066 + lt_prog_compiler_wl_GCJ='-Wl,'
6.16067 + if test "$host_cpu" = ia64; then
6.16068 + # AIX 5 now supports IA64 processor
6.16069 + lt_prog_compiler_static_GCJ='-Bstatic'
6.16070 + else
6.16071 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
6.16072 + fi
6.16073 + ;;
6.16074 + darwin*)
6.16075 + # PIC is the default on this platform
6.16076 + # Common symbols not allowed in MH_DYLIB files
6.16077 + case $cc_basename in
6.16078 + xlc*)
6.16079 + lt_prog_compiler_pic_GCJ='-qnocommon'
6.16080 + lt_prog_compiler_wl_GCJ='-Wl,'
6.16081 + ;;
6.16082 + esac
6.16083 + ;;
6.16084 +
6.16085 + mingw* | pw32* | os2*)
6.16086 + # This hack is so that the source file can tell whether it is being
6.16087 + # built for inclusion in a dll (and should export symbols for example).
6.16088 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
6.16089 + ;;
6.16090 +
6.16091 + hpux9* | hpux10* | hpux11*)
6.16092 + lt_prog_compiler_wl_GCJ='-Wl,'
6.16093 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6.16094 + # not for PA HP-UX.
6.16095 + case $host_cpu in
6.16096 + hppa*64*|ia64*)
6.16097 + # +Z the default
6.16098 + ;;
6.16099 + *)
6.16100 + lt_prog_compiler_pic_GCJ='+Z'
6.16101 + ;;
6.16102 + esac
6.16103 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
6.16104 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
6.16105 + ;;
6.16106 +
6.16107 + irix5* | irix6* | nonstopux*)
6.16108 + lt_prog_compiler_wl_GCJ='-Wl,'
6.16109 + # PIC (with -KPIC) is the default.
6.16110 + lt_prog_compiler_static_GCJ='-non_shared'
6.16111 + ;;
6.16112 +
6.16113 + newsos6)
6.16114 + lt_prog_compiler_pic_GCJ='-KPIC'
6.16115 + lt_prog_compiler_static_GCJ='-Bstatic'
6.16116 + ;;
6.16117 +
6.16118 + linux*)
6.16119 + case $cc_basename in
6.16120 + icc* | ecc*)
6.16121 + lt_prog_compiler_wl_GCJ='-Wl,'
6.16122 + lt_prog_compiler_pic_GCJ='-KPIC'
6.16123 + lt_prog_compiler_static_GCJ='-static'
6.16124 + ;;
6.16125 + pgcc* | pgf77* | pgf90* | pgf95*)
6.16126 + # Portland Group compilers (*not* the Pentium gcc compiler,
6.16127 + # which looks to be a dead project)
6.16128 + lt_prog_compiler_wl_GCJ='-Wl,'
6.16129 + lt_prog_compiler_pic_GCJ='-fpic'
6.16130 + lt_prog_compiler_static_GCJ='-Bstatic'
6.16131 + ;;
6.16132 + ccc*)
6.16133 + lt_prog_compiler_wl_GCJ='-Wl,'
6.16134 + # All Alpha code is PIC.
6.16135 + lt_prog_compiler_static_GCJ='-non_shared'
6.16136 + ;;
6.16137 + esac
6.16138 + ;;
6.16139 +
6.16140 + osf3* | osf4* | osf5*)
6.16141 + lt_prog_compiler_wl_GCJ='-Wl,'
6.16142 + # All OSF/1 code is PIC.
6.16143 + lt_prog_compiler_static_GCJ='-non_shared'
6.16144 + ;;
6.16145 +
6.16146 + sco3.2v5*)
6.16147 + lt_prog_compiler_pic_GCJ='-Kpic'
6.16148 + lt_prog_compiler_static_GCJ='-dn'
6.16149 + ;;
6.16150 +
6.16151 + solaris*)
6.16152 + lt_prog_compiler_pic_GCJ='-KPIC'
6.16153 + lt_prog_compiler_static_GCJ='-Bstatic'
6.16154 + case $cc_basename in
6.16155 + f77* | f90* | f95*)
6.16156 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
6.16157 + *)
6.16158 + lt_prog_compiler_wl_GCJ='-Wl,';;
6.16159 + esac
6.16160 + ;;
6.16161 +
6.16162 + sunos4*)
6.16163 + lt_prog_compiler_wl_GCJ='-Qoption ld '
6.16164 + lt_prog_compiler_pic_GCJ='-PIC'
6.16165 + lt_prog_compiler_static_GCJ='-Bstatic'
6.16166 + ;;
6.16167 +
6.16168 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.16169 + lt_prog_compiler_wl_GCJ='-Wl,'
6.16170 + lt_prog_compiler_pic_GCJ='-KPIC'
6.16171 + lt_prog_compiler_static_GCJ='-Bstatic'
6.16172 + ;;
6.16173 +
6.16174 + sysv4*MP*)
6.16175 + if test -d /usr/nec ;then
6.16176 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
6.16177 + lt_prog_compiler_static_GCJ='-Bstatic'
6.16178 + fi
6.16179 + ;;
6.16180 +
6.16181 + unicos*)
6.16182 + lt_prog_compiler_wl_GCJ='-Wl,'
6.16183 + lt_prog_compiler_can_build_shared_GCJ=no
6.16184 + ;;
6.16185 +
6.16186 + uts4*)
6.16187 + lt_prog_compiler_pic_GCJ='-pic'
6.16188 + lt_prog_compiler_static_GCJ='-Bstatic'
6.16189 + ;;
6.16190 +
6.16191 + *)
6.16192 + lt_prog_compiler_can_build_shared_GCJ=no
6.16193 + ;;
6.16194 + esac
6.16195 + fi
6.16196 +
6.16197 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
6.16198 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
6.16199 +
6.16200 +#
6.16201 +# Check to make sure the PIC flag actually works.
6.16202 +#
6.16203 +if test -n "$lt_prog_compiler_pic_GCJ"; then
6.16204 +
6.16205 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
6.16206 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
6.16207 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
6.16208 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.16209 +else
6.16210 + lt_prog_compiler_pic_works_GCJ=no
6.16211 + ac_outfile=conftest.$ac_objext
6.16212 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.16213 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
6.16214 + # Insert the option either (1) after the last *FLAGS variable, or
6.16215 + # (2) before a word containing "conftest.", or (3) at the end.
6.16216 + # Note that $ac_compile itself does not contain backslashes and begins
6.16217 + # with a dollar sign (not a hyphen), so the echo should work correctly.
6.16218 + # The option is referenced via a variable to avoid confusing sed.
6.16219 + lt_compile=`echo "$ac_compile" | $SED \
6.16220 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.16221 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.16222 + -e 's:$: $lt_compiler_flag:'`
6.16223 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.16224 + (eval "$lt_compile" 2>conftest.err)
6.16225 + ac_status=$?
6.16226 + cat conftest.err >&5
6.16227 + echo "$as_me:__oline__: \$? = $ac_status" >&5
6.16228 + if (exit $ac_status) && test -s "$ac_outfile"; then
6.16229 + # The compiler can only warn and ignore the option if not recognized
6.16230 + # So say no if there are warnings other than the usual output.
6.16231 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6.16232 + $SED '/^$/d' conftest.err >conftest.er2
6.16233 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6.16234 + lt_prog_compiler_pic_works_GCJ=yes
6.16235 + fi
6.16236 + fi
6.16237 + $rm conftest*
6.16238 +
6.16239 +fi
6.16240 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
6.16241 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
6.16242 +
6.16243 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
6.16244 + case $lt_prog_compiler_pic_GCJ in
6.16245 + "" | " "*) ;;
6.16246 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
6.16247 + esac
6.16248 +else
6.16249 + lt_prog_compiler_pic_GCJ=
6.16250 + lt_prog_compiler_can_build_shared_GCJ=no
6.16251 +fi
6.16252 +
6.16253 +fi
6.16254 +case $host_os in
6.16255 + # For platforms which do not support PIC, -DPIC is meaningless:
6.16256 + *djgpp*)
6.16257 + lt_prog_compiler_pic_GCJ=
6.16258 + ;;
6.16259 + *)
6.16260 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
6.16261 + ;;
6.16262 +esac
6.16263 +
6.16264 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6.16265 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6.16266 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
6.16267 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.16268 +else
6.16269 + lt_cv_prog_compiler_c_o_GCJ=no
6.16270 + $rm -r conftest 2>/dev/null
6.16271 + mkdir conftest
6.16272 + cd conftest
6.16273 + mkdir out
6.16274 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.16275 +
6.16276 + lt_compiler_flag="-o out/conftest2.$ac_objext"
6.16277 + # Insert the option either (1) after the last *FLAGS variable, or
6.16278 + # (2) before a word containing "conftest.", or (3) at the end.
6.16279 + # Note that $ac_compile itself does not contain backslashes and begins
6.16280 + # with a dollar sign (not a hyphen), so the echo should work correctly.
6.16281 + lt_compile=`echo "$ac_compile" | $SED \
6.16282 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6.16283 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6.16284 + -e 's:$: $lt_compiler_flag:'`
6.16285 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
6.16286 + (eval "$lt_compile" 2>out/conftest.err)
6.16287 + ac_status=$?
6.16288 + cat out/conftest.err >&5
6.16289 + echo "$as_me:__oline__: \$? = $ac_status" >&5
6.16290 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
6.16291 + then
6.16292 + # The compiler can only warn and ignore the option if not recognized
6.16293 + # So say no if there are warnings
6.16294 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6.16295 + $SED '/^$/d' out/conftest.err >out/conftest.er2
6.16296 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6.16297 + lt_cv_prog_compiler_c_o_GCJ=yes
6.16298 + fi
6.16299 + fi
6.16300 + chmod u+w . 2>&5
6.16301 + $rm conftest*
6.16302 + # SGI C++ compiler will create directory out/ii_files/ for
6.16303 + # template instantiation
6.16304 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6.16305 + $rm out/* && rmdir out
6.16306 + cd ..
6.16307 + rmdir conftest
6.16308 + $rm conftest*
6.16309 +
6.16310 +fi
6.16311 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
6.16312 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
6.16313 +
6.16314 +
6.16315 +hard_links="nottested"
6.16316 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
6.16317 + # do not overwrite the value of need_locks provided by the user
6.16318 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6.16319 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6.16320 + hard_links=yes
6.16321 + $rm conftest*
6.16322 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.16323 + touch conftest.a
6.16324 + ln conftest.a conftest.b 2>&5 || hard_links=no
6.16325 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
6.16326 + echo "$as_me:$LINENO: result: $hard_links" >&5
6.16327 +echo "${ECHO_T}$hard_links" >&6
6.16328 + if test "$hard_links" = no; then
6.16329 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6.16330 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6.16331 + need_locks=warn
6.16332 + fi
6.16333 +else
6.16334 + need_locks=no
6.16335 +fi
6.16336 +
6.16337 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6.16338 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6.16339 +
6.16340 + runpath_var=
6.16341 + allow_undefined_flag_GCJ=
6.16342 + enable_shared_with_static_runtimes_GCJ=no
6.16343 + archive_cmds_GCJ=
6.16344 + archive_expsym_cmds_GCJ=
6.16345 + old_archive_From_new_cmds_GCJ=
6.16346 + old_archive_from_expsyms_cmds_GCJ=
6.16347 + export_dynamic_flag_spec_GCJ=
6.16348 + whole_archive_flag_spec_GCJ=
6.16349 + thread_safe_flag_spec_GCJ=
6.16350 + hardcode_libdir_flag_spec_GCJ=
6.16351 + hardcode_libdir_flag_spec_ld_GCJ=
6.16352 + hardcode_libdir_separator_GCJ=
6.16353 + hardcode_direct_GCJ=no
6.16354 + hardcode_minus_L_GCJ=no
6.16355 + hardcode_shlibpath_var_GCJ=unsupported
6.16356 + link_all_deplibs_GCJ=unknown
6.16357 + hardcode_automatic_GCJ=no
6.16358 + module_cmds_GCJ=
6.16359 + module_expsym_cmds_GCJ=
6.16360 + always_export_symbols_GCJ=no
6.16361 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6.16362 + # include_expsyms should be a list of space-separated symbols to be *always*
6.16363 + # included in the symbol list
6.16364 + include_expsyms_GCJ=
6.16365 + # exclude_expsyms can be an extended regexp of symbols to exclude
6.16366 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
6.16367 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6.16368 + # as well as any symbol that contains `d'.
6.16369 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
6.16370 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6.16371 + # platforms (ab)use it in PIC code, but their linkers get confused if
6.16372 + # the symbol is explicitly referenced. Since portable code cannot
6.16373 + # rely on this symbol name, it's probably fine to never include it in
6.16374 + # preloaded symbol tables.
6.16375 + extract_expsyms_cmds=
6.16376 + # Just being paranoid about ensuring that cc_basename is set.
6.16377 + for cc_temp in $compiler""; do
6.16378 + case $cc_temp in
6.16379 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.16380 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.16381 + \-*) ;;
6.16382 + *) break;;
6.16383 + esac
6.16384 +done
6.16385 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.16386 +
6.16387 + case $host_os in
6.16388 + cygwin* | mingw* | pw32*)
6.16389 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
6.16390 + # When not using gcc, we currently assume that we are using
6.16391 + # Microsoft Visual C++.
6.16392 + if test "$GCC" != yes; then
6.16393 + with_gnu_ld=no
6.16394 + fi
6.16395 + ;;
6.16396 + openbsd*)
6.16397 + with_gnu_ld=no
6.16398 + ;;
6.16399 + esac
6.16400 +
6.16401 + ld_shlibs_GCJ=yes
6.16402 + if test "$with_gnu_ld" = yes; then
6.16403 + # If archive_cmds runs LD, not CC, wlarc should be empty
6.16404 + wlarc='${wl}'
6.16405 +
6.16406 + # Set some defaults for GNU ld with shared library support. These
6.16407 + # are reset later if shared libraries are not supported. Putting them
6.16408 + # here allows them to be overridden if necessary.
6.16409 + runpath_var=LD_RUN_PATH
6.16410 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
6.16411 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
6.16412 + # ancient GNU ld didn't support --whole-archive et. al.
6.16413 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6.16414 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6.16415 + else
6.16416 + whole_archive_flag_spec_GCJ=
6.16417 + fi
6.16418 + supports_anon_versioning=no
6.16419 + case `$LD -v 2>/dev/null` in
6.16420 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6.16421 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6.16422 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6.16423 + *\ 2.11.*) ;; # other 2.11 versions
6.16424 + *) supports_anon_versioning=yes ;;
6.16425 + esac
6.16426 +
6.16427 + # See if GNU ld supports shared libraries.
6.16428 + case $host_os in
6.16429 + aix3* | aix4* | aix5*)
6.16430 + # On AIX/PPC, the GNU linker is very broken
6.16431 + if test "$host_cpu" != ia64; then
6.16432 + ld_shlibs_GCJ=no
6.16433 + cat <<EOF 1>&2
6.16434 +
6.16435 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
6.16436 +*** to be unable to reliably create shared libraries on AIX.
6.16437 +*** Therefore, libtool is disabling shared libraries support. If you
6.16438 +*** really care for shared libraries, you may want to modify your PATH
6.16439 +*** so that a non-GNU linker is found, and then restart.
6.16440 +
6.16441 +EOF
6.16442 + fi
6.16443 + ;;
6.16444 +
6.16445 + amigaos*)
6.16446 + 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)'
6.16447 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16448 + hardcode_minus_L_GCJ=yes
6.16449 +
6.16450 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6.16451 + # that the semantics of dynamic libraries on AmigaOS, at least up
6.16452 + # to version 4, is to share data among multiple programs linked
6.16453 + # with the same dynamic library. Since this doesn't match the
6.16454 + # behavior of shared libraries on other platforms, we can't use
6.16455 + # them.
6.16456 + ld_shlibs_GCJ=no
6.16457 + ;;
6.16458 +
6.16459 + beos*)
6.16460 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.16461 + allow_undefined_flag_GCJ=unsupported
6.16462 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6.16463 + # support --undefined. This deserves some investigation. FIXME
6.16464 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.16465 + else
6.16466 + ld_shlibs_GCJ=no
6.16467 + fi
6.16468 + ;;
6.16469 +
6.16470 + cygwin* | mingw* | pw32*)
6.16471 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
6.16472 + # as there is no search path for DLLs.
6.16473 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16474 + allow_undefined_flag_GCJ=unsupported
6.16475 + always_export_symbols_GCJ=no
6.16476 + enable_shared_with_static_runtimes_GCJ=yes
6.16477 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6.16478 +
6.16479 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6.16480 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.16481 + # If the export-symbols file already is a .def file (1st line
6.16482 + # is EXPORTS), use it as is; otherwise, prepend...
6.16483 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6.16484 + cp $export_symbols $output_objdir/$soname.def;
6.16485 + else
6.16486 + echo EXPORTS > $output_objdir/$soname.def;
6.16487 + cat $export_symbols >> $output_objdir/$soname.def;
6.16488 + fi~
6.16489 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6.16490 + else
6.16491 + ld_shlibs_GCJ=no
6.16492 + fi
6.16493 + ;;
6.16494 +
6.16495 + linux*)
6.16496 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.16497 + tmp_addflag=
6.16498 + case $cc_basename,$host_cpu in
6.16499 + pgcc*) # Portland Group C compiler
6.16500 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.16501 + tmp_addflag=' $pic_flag'
6.16502 + ;;
6.16503 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6.16504 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6.16505 + tmp_addflag=' $pic_flag -Mnomain' ;;
6.16506 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6.16507 + tmp_addflag=' -i_dynamic' ;;
6.16508 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6.16509 + tmp_addflag=' -i_dynamic -nofor_main' ;;
6.16510 + ifc* | ifort*) # Intel Fortran compiler
6.16511 + tmp_addflag=' -nofor_main' ;;
6.16512 + esac
6.16513 + archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.16514 +
6.16515 + if test $supports_anon_versioning = yes; then
6.16516 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
6.16517 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6.16518 + $echo "local: *; };" >> $output_objdir/$libname.ver~
6.16519 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6.16520 + fi
6.16521 + else
6.16522 + ld_shlibs_GCJ=no
6.16523 + fi
6.16524 + ;;
6.16525 +
6.16526 + netbsd*)
6.16527 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.16528 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6.16529 + wlarc=
6.16530 + else
6.16531 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.16532 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.16533 + fi
6.16534 + ;;
6.16535 +
6.16536 + solaris* | sysv5*)
6.16537 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6.16538 + ld_shlibs_GCJ=no
6.16539 + cat <<EOF 1>&2
6.16540 +
6.16541 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
6.16542 +*** create shared libraries on Solaris systems. Therefore, libtool
6.16543 +*** is disabling shared libraries support. We urge you to upgrade GNU
6.16544 +*** binutils to release 2.9.1 or newer. Another option is to modify
6.16545 +*** your PATH or compiler configuration so that the native linker is
6.16546 +*** used, and then restart.
6.16547 +
6.16548 +EOF
6.16549 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.16550 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.16551 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.16552 + else
6.16553 + ld_shlibs_GCJ=no
6.16554 + fi
6.16555 + ;;
6.16556 +
6.16557 + sunos4*)
6.16558 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.16559 + wlarc=
6.16560 + hardcode_direct_GCJ=yes
6.16561 + hardcode_shlibpath_var_GCJ=no
6.16562 + ;;
6.16563 +
6.16564 + *)
6.16565 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6.16566 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6.16567 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6.16568 + else
6.16569 + ld_shlibs_GCJ=no
6.16570 + fi
6.16571 + ;;
6.16572 + esac
6.16573 +
6.16574 + if test "$ld_shlibs_GCJ" = no; then
6.16575 + runpath_var=
6.16576 + hardcode_libdir_flag_spec_GCJ=
6.16577 + export_dynamic_flag_spec_GCJ=
6.16578 + whole_archive_flag_spec_GCJ=
6.16579 + fi
6.16580 + else
6.16581 + # PORTME fill in a description of your system's linker (not GNU ld)
6.16582 + case $host_os in
6.16583 + aix3*)
6.16584 + allow_undefined_flag_GCJ=unsupported
6.16585 + always_export_symbols_GCJ=yes
6.16586 + 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'
6.16587 + # Note: this linker hardcodes the directories in LIBPATH if there
6.16588 + # are no directories specified by -L.
6.16589 + hardcode_minus_L_GCJ=yes
6.16590 + if test "$GCC" = yes && test -z "$link_static_flag"; then
6.16591 + # Neither direct hardcoding nor static linking is supported with a
6.16592 + # broken collect2.
6.16593 + hardcode_direct_GCJ=unsupported
6.16594 + fi
6.16595 + ;;
6.16596 +
6.16597 + aix4* | aix5*)
6.16598 + if test "$host_cpu" = ia64; then
6.16599 + # On IA64, the linker does run time linking by default, so we don't
6.16600 + # have to do anything special.
6.16601 + aix_use_runtimelinking=no
6.16602 + exp_sym_flag='-Bexport'
6.16603 + no_entry_flag=""
6.16604 + else
6.16605 + # If we're using GNU nm, then we don't want the "-C" option.
6.16606 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
6.16607 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6.16608 + 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'
6.16609 + else
6.16610 + 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'
6.16611 + fi
6.16612 + aix_use_runtimelinking=no
6.16613 +
6.16614 + # Test if we are trying to use run time linking or normal
6.16615 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6.16616 + # need to do runtime linking.
6.16617 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6.16618 + for ld_flag in $LDFLAGS; do
6.16619 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6.16620 + aix_use_runtimelinking=yes
6.16621 + break
6.16622 + fi
6.16623 + done
6.16624 + esac
6.16625 +
6.16626 + exp_sym_flag='-bexport'
6.16627 + no_entry_flag='-bnoentry'
6.16628 + fi
6.16629 +
6.16630 + # When large executables or shared objects are built, AIX ld can
6.16631 + # have problems creating the table of contents. If linking a library
6.16632 + # or program results in "error TOC overflow" add -mminimal-toc to
6.16633 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6.16634 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6.16635 +
6.16636 + archive_cmds_GCJ=''
6.16637 + hardcode_direct_GCJ=yes
6.16638 + hardcode_libdir_separator_GCJ=':'
6.16639 + link_all_deplibs_GCJ=yes
6.16640 +
6.16641 + if test "$GCC" = yes; then
6.16642 + case $host_os in aix4.[012]|aix4.[012].*)
6.16643 + # We only want to do this on AIX 4.2 and lower, the check
6.16644 + # below for broken collect2 doesn't work under 4.3+
6.16645 + collect2name=`${CC} -print-prog-name=collect2`
6.16646 + if test -f "$collect2name" && \
6.16647 + strings "$collect2name" | grep resolve_lib_name >/dev/null
6.16648 + then
6.16649 + # We have reworked collect2
6.16650 + hardcode_direct_GCJ=yes
6.16651 + else
6.16652 + # We have old collect2
6.16653 + hardcode_direct_GCJ=unsupported
6.16654 + # It fails to find uninstalled libraries when the uninstalled
6.16655 + # path is not listed in the libpath. Setting hardcode_minus_L
6.16656 + # to unsupported forces relinking
6.16657 + hardcode_minus_L_GCJ=yes
6.16658 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16659 + hardcode_libdir_separator_GCJ=
6.16660 + fi
6.16661 + esac
6.16662 + shared_flag='-shared'
6.16663 + if test "$aix_use_runtimelinking" = yes; then
6.16664 + shared_flag="$shared_flag "'${wl}-G'
6.16665 + fi
6.16666 + else
6.16667 + # not using gcc
6.16668 + if test "$host_cpu" = ia64; then
6.16669 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6.16670 + # chokes on -Wl,-G. The following line is correct:
6.16671 + shared_flag='-G'
6.16672 + else
6.16673 + if test "$aix_use_runtimelinking" = yes; then
6.16674 + shared_flag='${wl}-G'
6.16675 + else
6.16676 + shared_flag='${wl}-bM:SRE'
6.16677 + fi
6.16678 + fi
6.16679 + fi
6.16680 +
6.16681 + # It seems that -bexpall does not export symbols beginning with
6.16682 + # underscore (_), so it is better to generate a list of symbols to export.
6.16683 + always_export_symbols_GCJ=yes
6.16684 + if test "$aix_use_runtimelinking" = yes; then
6.16685 + # Warning - without using the other runtime loading flags (-brtl),
6.16686 + # -berok will link without error, but may produce a broken library.
6.16687 + allow_undefined_flag_GCJ='-berok'
6.16688 + # Determine the default libpath from the value encoded in an empty executable.
6.16689 + cat >conftest.$ac_ext <<_ACEOF
6.16690 +/* confdefs.h. */
6.16691 +_ACEOF
6.16692 +cat confdefs.h >>conftest.$ac_ext
6.16693 +cat >>conftest.$ac_ext <<_ACEOF
6.16694 +/* end confdefs.h. */
6.16695 +
6.16696 +int
6.16697 +main ()
6.16698 +{
6.16699 +
6.16700 + ;
6.16701 + return 0;
6.16702 +}
6.16703 +_ACEOF
6.16704 +rm -f conftest.$ac_objext conftest$ac_exeext
6.16705 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.16706 + (eval $ac_link) 2>conftest.er1
6.16707 + ac_status=$?
6.16708 + grep -v '^ *+' conftest.er1 >conftest.err
6.16709 + rm -f conftest.er1
6.16710 + cat conftest.err >&5
6.16711 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16712 + (exit $ac_status); } &&
6.16713 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.16714 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.16715 + (eval $ac_try) 2>&5
6.16716 + ac_status=$?
6.16717 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16718 + (exit $ac_status); }; } &&
6.16719 + { ac_try='test -s conftest$ac_exeext'
6.16720 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.16721 + (eval $ac_try) 2>&5
6.16722 + ac_status=$?
6.16723 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16724 + (exit $ac_status); }; }; then
6.16725 +
6.16726 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.16727 +}'`
6.16728 +# Check for a 64-bit object if we didn't find anything.
6.16729 +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; }
6.16730 +}'`; fi
6.16731 +else
6.16732 + echo "$as_me: failed program was:" >&5
6.16733 +sed 's/^/| /' conftest.$ac_ext >&5
6.16734 +
6.16735 +fi
6.16736 +rm -f conftest.err conftest.$ac_objext \
6.16737 + conftest$ac_exeext conftest.$ac_ext
6.16738 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.16739 +
6.16740 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
6.16741 + 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"
6.16742 + else
6.16743 + if test "$host_cpu" = ia64; then
6.16744 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
6.16745 + allow_undefined_flag_GCJ="-z nodefs"
6.16746 + 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"
6.16747 + else
6.16748 + # Determine the default libpath from the value encoded in an empty executable.
6.16749 + cat >conftest.$ac_ext <<_ACEOF
6.16750 +/* confdefs.h. */
6.16751 +_ACEOF
6.16752 +cat confdefs.h >>conftest.$ac_ext
6.16753 +cat >>conftest.$ac_ext <<_ACEOF
6.16754 +/* end confdefs.h. */
6.16755 +
6.16756 +int
6.16757 +main ()
6.16758 +{
6.16759 +
6.16760 + ;
6.16761 + return 0;
6.16762 +}
6.16763 +_ACEOF
6.16764 +rm -f conftest.$ac_objext conftest$ac_exeext
6.16765 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.16766 + (eval $ac_link) 2>conftest.er1
6.16767 + ac_status=$?
6.16768 + grep -v '^ *+' conftest.er1 >conftest.err
6.16769 + rm -f conftest.er1
6.16770 + cat conftest.err >&5
6.16771 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16772 + (exit $ac_status); } &&
6.16773 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.16774 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.16775 + (eval $ac_try) 2>&5
6.16776 + ac_status=$?
6.16777 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16778 + (exit $ac_status); }; } &&
6.16779 + { ac_try='test -s conftest$ac_exeext'
6.16780 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.16781 + (eval $ac_try) 2>&5
6.16782 + ac_status=$?
6.16783 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.16784 + (exit $ac_status); }; }; then
6.16785 +
6.16786 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6.16787 +}'`
6.16788 +# Check for a 64-bit object if we didn't find anything.
6.16789 +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; }
6.16790 +}'`; fi
6.16791 +else
6.16792 + echo "$as_me: failed program was:" >&5
6.16793 +sed 's/^/| /' conftest.$ac_ext >&5
6.16794 +
6.16795 +fi
6.16796 +rm -f conftest.err conftest.$ac_objext \
6.16797 + conftest$ac_exeext conftest.$ac_ext
6.16798 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6.16799 +
6.16800 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
6.16801 + # Warning - without using the other run time loading flags,
6.16802 + # -berok will link without error, but may produce a broken library.
6.16803 + no_undefined_flag_GCJ=' ${wl}-bernotok'
6.16804 + allow_undefined_flag_GCJ=' ${wl}-berok'
6.16805 + # -bexpall does not export symbols beginning with underscore (_)
6.16806 + always_export_symbols_GCJ=yes
6.16807 + # Exported symbols can be pulled into shared objects from archives
6.16808 + whole_archive_flag_spec_GCJ=' '
6.16809 + archive_cmds_need_lc_GCJ=yes
6.16810 + # This is similar to how AIX traditionally builds its shared libraries.
6.16811 + 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'
6.16812 + fi
6.16813 + fi
6.16814 + ;;
6.16815 +
6.16816 + amigaos*)
6.16817 + 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)'
6.16818 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16819 + hardcode_minus_L_GCJ=yes
6.16820 + # see comment about different semantics on the GNU ld section
6.16821 + ld_shlibs_GCJ=no
6.16822 + ;;
6.16823 +
6.16824 + bsdi[45]*)
6.16825 + export_dynamic_flag_spec_GCJ=-rdynamic
6.16826 + ;;
6.16827 +
6.16828 + cygwin* | mingw* | pw32*)
6.16829 + # When not using gcc, we currently assume that we are using
6.16830 + # Microsoft Visual C++.
6.16831 + # hardcode_libdir_flag_spec is actually meaningless, as there is
6.16832 + # no search path for DLLs.
6.16833 + hardcode_libdir_flag_spec_GCJ=' '
6.16834 + allow_undefined_flag_GCJ=unsupported
6.16835 + # Tell ltmain to make .lib files, not .a files.
6.16836 + libext=lib
6.16837 + # Tell ltmain to make .dll files, not .so files.
6.16838 + shrext_cmds=".dll"
6.16839 + # FIXME: Setting linknames here is a bad hack.
6.16840 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6.16841 + # The linker will automatically build a .lib file if we build a DLL.
6.16842 + old_archive_From_new_cmds_GCJ='true'
6.16843 + # FIXME: Should let the user specify the lib program.
6.16844 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
6.16845 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
6.16846 + enable_shared_with_static_runtimes_GCJ=yes
6.16847 + ;;
6.16848 +
6.16849 + darwin* | rhapsody*)
6.16850 + case $host_os in
6.16851 + rhapsody* | darwin1.[012])
6.16852 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
6.16853 + ;;
6.16854 + *) # Darwin 1.3 on
6.16855 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6.16856 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.16857 + else
6.16858 + case ${MACOSX_DEPLOYMENT_TARGET} in
6.16859 + 10.[012])
6.16860 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6.16861 + ;;
6.16862 + 10.*)
6.16863 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
6.16864 + ;;
6.16865 + esac
6.16866 + fi
6.16867 + ;;
6.16868 + esac
6.16869 + archive_cmds_need_lc_GCJ=no
6.16870 + hardcode_direct_GCJ=no
6.16871 + hardcode_automatic_GCJ=yes
6.16872 + hardcode_shlibpath_var_GCJ=unsupported
6.16873 + whole_archive_flag_spec_GCJ=''
6.16874 + link_all_deplibs_GCJ=yes
6.16875 + if test "$GCC" = yes ; then
6.16876 + output_verbose_link_cmd='echo'
6.16877 + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6.16878 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.16879 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.16880 + archive_expsym_cmds_GCJ='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}'
6.16881 + 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}'
6.16882 + else
6.16883 + case $cc_basename in
6.16884 + xlc*)
6.16885 + output_verbose_link_cmd='echo'
6.16886 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
6.16887 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6.16888 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6.16889 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6.16890 + 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}'
6.16891 + ;;
6.16892 + *)
6.16893 + ld_shlibs_GCJ=no
6.16894 + ;;
6.16895 + esac
6.16896 + fi
6.16897 + ;;
6.16898 +
6.16899 + dgux*)
6.16900 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.16901 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16902 + hardcode_shlibpath_var_GCJ=no
6.16903 + ;;
6.16904 +
6.16905 + freebsd1*)
6.16906 + ld_shlibs_GCJ=no
6.16907 + ;;
6.16908 +
6.16909 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6.16910 + # support. Future versions do this automatically, but an explicit c++rt0.o
6.16911 + # does not break anything, and helps significantly (at the cost of a little
6.16912 + # extra space).
6.16913 + freebsd2.2*)
6.16914 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6.16915 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
6.16916 + hardcode_direct_GCJ=yes
6.16917 + hardcode_shlibpath_var_GCJ=no
6.16918 + ;;
6.16919 +
6.16920 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6.16921 + freebsd2*)
6.16922 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.16923 + hardcode_direct_GCJ=yes
6.16924 + hardcode_minus_L_GCJ=yes
6.16925 + hardcode_shlibpath_var_GCJ=no
6.16926 + ;;
6.16927 +
6.16928 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6.16929 + freebsd* | kfreebsd*-gnu | dragonfly*)
6.16930 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6.16931 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
6.16932 + hardcode_direct_GCJ=yes
6.16933 + hardcode_shlibpath_var_GCJ=no
6.16934 + ;;
6.16935 +
6.16936 + hpux9*)
6.16937 + if test "$GCC" = yes; then
6.16938 + 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'
6.16939 + else
6.16940 + 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'
6.16941 + fi
6.16942 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
6.16943 + hardcode_libdir_separator_GCJ=:
6.16944 + hardcode_direct_GCJ=yes
6.16945 +
6.16946 + # hardcode_minus_L: Not really in the search PATH,
6.16947 + # but as the default location of the library.
6.16948 + hardcode_minus_L_GCJ=yes
6.16949 + export_dynamic_flag_spec_GCJ='${wl}-E'
6.16950 + ;;
6.16951 +
6.16952 + hpux10* | hpux11*)
6.16953 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6.16954 + case $host_cpu in
6.16955 + hppa*64*|ia64*)
6.16956 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.16957 + ;;
6.16958 + *)
6.16959 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6.16960 + ;;
6.16961 + esac
6.16962 + else
6.16963 + case $host_cpu in
6.16964 + hppa*64*|ia64*)
6.16965 + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6.16966 + ;;
6.16967 + *)
6.16968 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6.16969 + ;;
6.16970 + esac
6.16971 + fi
6.16972 + if test "$with_gnu_ld" = no; then
6.16973 + case $host_cpu in
6.16974 + hppa*64*)
6.16975 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
6.16976 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
6.16977 + hardcode_libdir_separator_GCJ=:
6.16978 + hardcode_direct_GCJ=no
6.16979 + hardcode_shlibpath_var_GCJ=no
6.16980 + ;;
6.16981 + ia64*)
6.16982 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.16983 + hardcode_direct_GCJ=no
6.16984 + hardcode_shlibpath_var_GCJ=no
6.16985 +
6.16986 + # hardcode_minus_L: Not really in the search PATH,
6.16987 + # but as the default location of the library.
6.16988 + hardcode_minus_L_GCJ=yes
6.16989 + ;;
6.16990 + *)
6.16991 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
6.16992 + hardcode_libdir_separator_GCJ=:
6.16993 + hardcode_direct_GCJ=yes
6.16994 + export_dynamic_flag_spec_GCJ='${wl}-E'
6.16995 +
6.16996 + # hardcode_minus_L: Not really in the search PATH,
6.16997 + # but as the default location of the library.
6.16998 + hardcode_minus_L_GCJ=yes
6.16999 + ;;
6.17000 + esac
6.17001 + fi
6.17002 + ;;
6.17003 +
6.17004 + irix5* | irix6* | nonstopux*)
6.17005 + if test "$GCC" = yes; then
6.17006 + 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'
6.17007 + else
6.17008 + 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'
6.17009 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
6.17010 + fi
6.17011 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
6.17012 + hardcode_libdir_separator_GCJ=:
6.17013 + link_all_deplibs_GCJ=yes
6.17014 + ;;
6.17015 +
6.17016 + netbsd*)
6.17017 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.17018 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6.17019 + else
6.17020 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6.17021 + fi
6.17022 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
6.17023 + hardcode_direct_GCJ=yes
6.17024 + hardcode_shlibpath_var_GCJ=no
6.17025 + ;;
6.17026 +
6.17027 + newsos6)
6.17028 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17029 + hardcode_direct_GCJ=yes
6.17030 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
6.17031 + hardcode_libdir_separator_GCJ=:
6.17032 + hardcode_shlibpath_var_GCJ=no
6.17033 + ;;
6.17034 +
6.17035 + openbsd*)
6.17036 + hardcode_direct_GCJ=yes
6.17037 + hardcode_shlibpath_var_GCJ=no
6.17038 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.17039 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.17040 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6.17041 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
6.17042 + export_dynamic_flag_spec_GCJ='${wl}-E'
6.17043 + else
6.17044 + case $host_os in
6.17045 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6.17046 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6.17047 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
6.17048 + ;;
6.17049 + *)
6.17050 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6.17051 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
6.17052 + ;;
6.17053 + esac
6.17054 + fi
6.17055 + ;;
6.17056 +
6.17057 + os2*)
6.17058 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.17059 + hardcode_minus_L_GCJ=yes
6.17060 + allow_undefined_flag_GCJ=unsupported
6.17061 + 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'
6.17062 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6.17063 + ;;
6.17064 +
6.17065 + osf3*)
6.17066 + if test "$GCC" = yes; then
6.17067 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
6.17068 + 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'
6.17069 + else
6.17070 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
6.17071 + 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'
6.17072 + fi
6.17073 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
6.17074 + hardcode_libdir_separator_GCJ=:
6.17075 + ;;
6.17076 +
6.17077 + osf4* | osf5*) # as osf3* with the addition of -msym flag
6.17078 + if test "$GCC" = yes; then
6.17079 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
6.17080 + 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'
6.17081 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
6.17082 + else
6.17083 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
6.17084 + 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'
6.17085 + 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~
6.17086 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
6.17087 +
6.17088 + # Both c and cxx compiler support -rpath directly
6.17089 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
6.17090 + fi
6.17091 + hardcode_libdir_separator_GCJ=:
6.17092 + ;;
6.17093 +
6.17094 + sco3.2v5*)
6.17095 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17096 + hardcode_shlibpath_var_GCJ=no
6.17097 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
6.17098 + runpath_var=LD_RUN_PATH
6.17099 + hardcode_runpath_var=yes
6.17100 + ;;
6.17101 +
6.17102 + solaris*)
6.17103 + no_undefined_flag_GCJ=' -z text'
6.17104 + if test "$GCC" = yes; then
6.17105 + wlarc='${wl}'
6.17106 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.17107 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.17108 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6.17109 + else
6.17110 + wlarc=''
6.17111 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17112 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.17113 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.17114 + fi
6.17115 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
6.17116 + hardcode_shlibpath_var_GCJ=no
6.17117 + case $host_os in
6.17118 + solaris2.[0-5] | solaris2.[0-5].*) ;;
6.17119 + *)
6.17120 + # The compiler driver will combine linker options so we
6.17121 + # cannot just pass the convience library names through
6.17122 + # without $wl, iff we do not link with $LD.
6.17123 + # Luckily, gcc supports the same syntax we need for Sun Studio.
6.17124 + # Supported since Solaris 2.6 (maybe 2.5.1?)
6.17125 + case $wlarc in
6.17126 + '')
6.17127 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
6.17128 + *)
6.17129 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
6.17130 + esac ;;
6.17131 + esac
6.17132 + link_all_deplibs_GCJ=yes
6.17133 + ;;
6.17134 +
6.17135 + sunos4*)
6.17136 + if test "x$host_vendor" = xsequent; then
6.17137 + # Use $CC to link under sequent, because it throws in some extra .o
6.17138 + # files that make .init and .fini sections work.
6.17139 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6.17140 + else
6.17141 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6.17142 + fi
6.17143 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.17144 + hardcode_direct_GCJ=yes
6.17145 + hardcode_minus_L_GCJ=yes
6.17146 + hardcode_shlibpath_var_GCJ=no
6.17147 + ;;
6.17148 +
6.17149 + sysv4)
6.17150 + case $host_vendor in
6.17151 + sni)
6.17152 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17153 + hardcode_direct_GCJ=yes # is this really true???
6.17154 + ;;
6.17155 + siemens)
6.17156 + ## LD is ld it makes a PLAMLIB
6.17157 + ## CC just makes a GrossModule.
6.17158 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.17159 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
6.17160 + hardcode_direct_GCJ=no
6.17161 + ;;
6.17162 + motorola)
6.17163 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17164 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
6.17165 + ;;
6.17166 + esac
6.17167 + runpath_var='LD_RUN_PATH'
6.17168 + hardcode_shlibpath_var_GCJ=no
6.17169 + ;;
6.17170 +
6.17171 + sysv4.3*)
6.17172 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17173 + hardcode_shlibpath_var_GCJ=no
6.17174 + export_dynamic_flag_spec_GCJ='-Bexport'
6.17175 + ;;
6.17176 +
6.17177 + sysv4*MP*)
6.17178 + if test -d /usr/nec; then
6.17179 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17180 + hardcode_shlibpath_var_GCJ=no
6.17181 + runpath_var=LD_RUN_PATH
6.17182 + hardcode_runpath_var=yes
6.17183 + ld_shlibs_GCJ=yes
6.17184 + fi
6.17185 + ;;
6.17186 +
6.17187 + sysv4.2uw2*)
6.17188 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6.17189 + hardcode_direct_GCJ=yes
6.17190 + hardcode_minus_L_GCJ=no
6.17191 + hardcode_shlibpath_var_GCJ=no
6.17192 + hardcode_runpath_var=yes
6.17193 + runpath_var=LD_RUN_PATH
6.17194 + ;;
6.17195 +
6.17196 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
6.17197 + no_undefined_flag_GCJ='${wl}-z ${wl}text'
6.17198 + if test "$GCC" = yes; then
6.17199 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.17200 + else
6.17201 + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6.17202 + fi
6.17203 + runpath_var='LD_RUN_PATH'
6.17204 + hardcode_shlibpath_var_GCJ=no
6.17205 + ;;
6.17206 +
6.17207 + sysv5*)
6.17208 + no_undefined_flag_GCJ=' -z text'
6.17209 + # $CC -shared without GNU ld will not create a library from C++
6.17210 + # object files and a static libstdc++, better avoid it by now
6.17211 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17212 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6.17213 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6.17214 + hardcode_libdir_flag_spec_GCJ=
6.17215 + hardcode_shlibpath_var_GCJ=no
6.17216 + runpath_var='LD_RUN_PATH'
6.17217 + ;;
6.17218 +
6.17219 + uts4*)
6.17220 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6.17221 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
6.17222 + hardcode_shlibpath_var_GCJ=no
6.17223 + ;;
6.17224 +
6.17225 + *)
6.17226 + ld_shlibs_GCJ=no
6.17227 + ;;
6.17228 + esac
6.17229 + fi
6.17230 +
6.17231 +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
6.17232 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6
6.17233 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
6.17234 +
6.17235 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6.17236 +if test "$GCC" = yes; then
6.17237 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6.17238 +fi
6.17239 +
6.17240 +#
6.17241 +# Do we need to explicitly link libc?
6.17242 +#
6.17243 +case "x$archive_cmds_need_lc_GCJ" in
6.17244 +x|xyes)
6.17245 + # Assume -lc should be added
6.17246 + archive_cmds_need_lc_GCJ=yes
6.17247 +
6.17248 + if test "$enable_shared" = yes && test "$GCC" = yes; then
6.17249 + case $archive_cmds_GCJ in
6.17250 + *'~'*)
6.17251 + # FIXME: we may have to deal with multi-command sequences.
6.17252 + ;;
6.17253 + '$CC '*)
6.17254 + # Test whether the compiler implicitly links with -lc since on some
6.17255 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
6.17256 + # to ld, don't add -lc before -lgcc.
6.17257 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
6.17258 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
6.17259 + $rm conftest*
6.17260 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6.17261 +
6.17262 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.17263 + (eval $ac_compile) 2>&5
6.17264 + ac_status=$?
6.17265 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.17266 + (exit $ac_status); } 2>conftest.err; then
6.17267 + soname=conftest
6.17268 + lib=conftest
6.17269 + libobjs=conftest.$ac_objext
6.17270 + deplibs=
6.17271 + wl=$lt_prog_compiler_wl_GCJ
6.17272 + compiler_flags=-v
6.17273 + linker_flags=-v
6.17274 + verstring=
6.17275 + output_objdir=.
6.17276 + libname=conftest
6.17277 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
6.17278 + allow_undefined_flag_GCJ=
6.17279 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
6.17280 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
6.17281 + ac_status=$?
6.17282 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.17283 + (exit $ac_status); }
6.17284 + then
6.17285 + archive_cmds_need_lc_GCJ=no
6.17286 + else
6.17287 + archive_cmds_need_lc_GCJ=yes
6.17288 + fi
6.17289 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
6.17290 + else
6.17291 + cat conftest.err 1>&5
6.17292 + fi
6.17293 + $rm conftest*
6.17294 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
6.17295 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
6.17296 + ;;
6.17297 + esac
6.17298 + fi
6.17299 + ;;
6.17300 +esac
6.17301 +
6.17302 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6.17303 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6.17304 +library_names_spec=
6.17305 +libname_spec='lib$name'
6.17306 +soname_spec=
6.17307 +shrext_cmds=".so"
6.17308 +postinstall_cmds=
6.17309 +postuninstall_cmds=
6.17310 +finish_cmds=
6.17311 +finish_eval=
6.17312 +shlibpath_var=
6.17313 +shlibpath_overrides_runpath=unknown
6.17314 +version_type=none
6.17315 +dynamic_linker="$host_os ld.so"
6.17316 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
6.17317 +if test "$GCC" = yes; then
6.17318 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.17319 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
6.17320 + # if the path contains ";" then we assume it to be the separator
6.17321 + # otherwise default to the standard path separator (i.e. ":") - it is
6.17322 + # assumed that no part of a normal pathname contains ";" but that should
6.17323 + # okay in the real world where ";" in dirpaths is itself problematic.
6.17324 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.17325 + else
6.17326 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.17327 + fi
6.17328 +else
6.17329 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6.17330 +fi
6.17331 +need_lib_prefix=unknown
6.17332 +hardcode_into_libs=no
6.17333 +
6.17334 +# when you set need_version to no, make sure it does not cause -set_version
6.17335 +# flags to be left without arguments
6.17336 +need_version=unknown
6.17337 +
6.17338 +case $host_os in
6.17339 +aix3*)
6.17340 + version_type=linux
6.17341 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
6.17342 + shlibpath_var=LIBPATH
6.17343 +
6.17344 + # AIX 3 has no versioning support, so we append a major version to the name.
6.17345 + soname_spec='${libname}${release}${shared_ext}$major'
6.17346 + ;;
6.17347 +
6.17348 +aix4* | aix5*)
6.17349 + version_type=linux
6.17350 + need_lib_prefix=no
6.17351 + need_version=no
6.17352 + hardcode_into_libs=yes
6.17353 + if test "$host_cpu" = ia64; then
6.17354 + # AIX 5 supports IA64
6.17355 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6.17356 + shlibpath_var=LD_LIBRARY_PATH
6.17357 + else
6.17358 + # With GCC up to 2.95.x, collect2 would create an import file
6.17359 + # for dependence libraries. The import file would start with
6.17360 + # the line `#! .'. This would cause the generated library to
6.17361 + # depend on `.', always an invalid library. This was fixed in
6.17362 + # development snapshots of GCC prior to 3.0.
6.17363 + case $host_os in
6.17364 + aix4 | aix4.[01] | aix4.[01].*)
6.17365 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6.17366 + echo ' yes '
6.17367 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6.17368 + :
6.17369 + else
6.17370 + can_build_shared=no
6.17371 + fi
6.17372 + ;;
6.17373 + esac
6.17374 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6.17375 + # soname into executable. Probably we can add versioning support to
6.17376 + # collect2, so additional links can be useful in future.
6.17377 + if test "$aix_use_runtimelinking" = yes; then
6.17378 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6.17379 + # instead of lib<name>.a to let people know that these are not
6.17380 + # typical AIX shared libraries.
6.17381 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17382 + else
6.17383 + # We preserve .a as extension for shared libraries through AIX4.2
6.17384 + # and later when we are not doing run time linking.
6.17385 + library_names_spec='${libname}${release}.a $libname.a'
6.17386 + soname_spec='${libname}${release}${shared_ext}$major'
6.17387 + fi
6.17388 + shlibpath_var=LIBPATH
6.17389 + fi
6.17390 + ;;
6.17391 +
6.17392 +amigaos*)
6.17393 + library_names_spec='$libname.ixlibrary $libname.a'
6.17394 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
6.17395 + 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'
6.17396 + ;;
6.17397 +
6.17398 +beos*)
6.17399 + library_names_spec='${libname}${shared_ext}'
6.17400 + dynamic_linker="$host_os ld.so"
6.17401 + shlibpath_var=LIBRARY_PATH
6.17402 + ;;
6.17403 +
6.17404 +bsdi[45]*)
6.17405 + version_type=linux
6.17406 + need_version=no
6.17407 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17408 + soname_spec='${libname}${release}${shared_ext}$major'
6.17409 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6.17410 + shlibpath_var=LD_LIBRARY_PATH
6.17411 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6.17412 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6.17413 + # the default ld.so.conf also contains /usr/contrib/lib and
6.17414 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6.17415 + # libtool to hard-code these into programs
6.17416 + ;;
6.17417 +
6.17418 +cygwin* | mingw* | pw32*)
6.17419 + version_type=windows
6.17420 + shrext_cmds=".dll"
6.17421 + need_version=no
6.17422 + need_lib_prefix=no
6.17423 +
6.17424 + case $GCC,$host_os in
6.17425 + yes,cygwin* | yes,mingw* | yes,pw32*)
6.17426 + library_names_spec='$libname.dll.a'
6.17427 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
6.17428 + postinstall_cmds='base_file=`basename \${file}`~
6.17429 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6.17430 + dldir=$destdir/`dirname \$dlpath`~
6.17431 + test -d \$dldir || mkdir -p \$dldir~
6.17432 + $install_prog $dir/$dlname \$dldir/$dlname~
6.17433 + chmod a+x \$dldir/$dlname'
6.17434 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6.17435 + dlpath=$dir/\$dldll~
6.17436 + $rm \$dlpath'
6.17437 + shlibpath_overrides_runpath=yes
6.17438 +
6.17439 + case $host_os in
6.17440 + cygwin*)
6.17441 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6.17442 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.17443 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
6.17444 + ;;
6.17445 + mingw*)
6.17446 + # MinGW DLLs use traditional 'lib' prefix
6.17447 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.17448 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
6.17449 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
6.17450 + # It is most probably a Windows format PATH printed by
6.17451 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
6.17452 + # path with ; separators, and with drive letters. We can handle the
6.17453 + # drive letters (cygwin fileutils understands them), so leave them,
6.17454 + # especially as we might pass files found there to a mingw objdump,
6.17455 + # which wouldn't understand a cygwinified path. Ahh.
6.17456 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
6.17457 + else
6.17458 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
6.17459 + fi
6.17460 + ;;
6.17461 + pw32*)
6.17462 + # pw32 DLLs use 'pw' prefix rather than 'lib'
6.17463 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6.17464 + ;;
6.17465 + esac
6.17466 + ;;
6.17467 +
6.17468 + *)
6.17469 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6.17470 + ;;
6.17471 + esac
6.17472 + dynamic_linker='Win32 ld.exe'
6.17473 + # FIXME: first we should search . and the directory the executable is in
6.17474 + shlibpath_var=PATH
6.17475 + ;;
6.17476 +
6.17477 +darwin* | rhapsody*)
6.17478 + dynamic_linker="$host_os dyld"
6.17479 + version_type=darwin
6.17480 + need_lib_prefix=no
6.17481 + need_version=no
6.17482 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6.17483 + soname_spec='${libname}${release}${major}$shared_ext'
6.17484 + shlibpath_overrides_runpath=yes
6.17485 + shlibpath_var=DYLD_LIBRARY_PATH
6.17486 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
6.17487 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6.17488 + if test "$GCC" = yes; then
6.17489 + 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"`
6.17490 + else
6.17491 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
6.17492 + fi
6.17493 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
6.17494 + ;;
6.17495 +
6.17496 +dgux*)
6.17497 + version_type=linux
6.17498 + need_lib_prefix=no
6.17499 + need_version=no
6.17500 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6.17501 + soname_spec='${libname}${release}${shared_ext}$major'
6.17502 + shlibpath_var=LD_LIBRARY_PATH
6.17503 + ;;
6.17504 +
6.17505 +freebsd1*)
6.17506 + dynamic_linker=no
6.17507 + ;;
6.17508 +
6.17509 +kfreebsd*-gnu)
6.17510 + version_type=linux
6.17511 + need_lib_prefix=no
6.17512 + need_version=no
6.17513 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.17514 + soname_spec='${libname}${release}${shared_ext}$major'
6.17515 + shlibpath_var=LD_LIBRARY_PATH
6.17516 + shlibpath_overrides_runpath=no
6.17517 + hardcode_into_libs=yes
6.17518 + dynamic_linker='GNU ld.so'
6.17519 + ;;
6.17520 +
6.17521 +freebsd* | dragonfly*)
6.17522 + # DragonFly does not have aout. When/if they implement a new
6.17523 + # versioning mechanism, adjust this.
6.17524 + if test -x /usr/bin/objformat; then
6.17525 + objformat=`/usr/bin/objformat`
6.17526 + else
6.17527 + case $host_os in
6.17528 + freebsd[123]*) objformat=aout ;;
6.17529 + *) objformat=elf ;;
6.17530 + esac
6.17531 + fi
6.17532 + version_type=freebsd-$objformat
6.17533 + case $version_type in
6.17534 + freebsd-elf*)
6.17535 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6.17536 + need_version=no
6.17537 + need_lib_prefix=no
6.17538 + ;;
6.17539 + freebsd-*)
6.17540 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6.17541 + need_version=yes
6.17542 + ;;
6.17543 + esac
6.17544 + shlibpath_var=LD_LIBRARY_PATH
6.17545 + case $host_os in
6.17546 + freebsd2*)
6.17547 + shlibpath_overrides_runpath=yes
6.17548 + ;;
6.17549 + freebsd3.[01]* | freebsdelf3.[01]*)
6.17550 + shlibpath_overrides_runpath=yes
6.17551 + hardcode_into_libs=yes
6.17552 + ;;
6.17553 + *) # from 3.2 on
6.17554 + shlibpath_overrides_runpath=no
6.17555 + hardcode_into_libs=yes
6.17556 + ;;
6.17557 + esac
6.17558 + ;;
6.17559 +
6.17560 +gnu*)
6.17561 + version_type=linux
6.17562 + need_lib_prefix=no
6.17563 + need_version=no
6.17564 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6.17565 + soname_spec='${libname}${release}${shared_ext}$major'
6.17566 + shlibpath_var=LD_LIBRARY_PATH
6.17567 + hardcode_into_libs=yes
6.17568 + ;;
6.17569 +
6.17570 +hpux9* | hpux10* | hpux11*)
6.17571 + # Give a soname corresponding to the major version so that dld.sl refuses to
6.17572 + # link against other versions.
6.17573 + version_type=sunos
6.17574 + need_lib_prefix=no
6.17575 + need_version=no
6.17576 + case $host_cpu in
6.17577 + ia64*)
6.17578 + shrext_cmds='.so'
6.17579 + hardcode_into_libs=yes
6.17580 + dynamic_linker="$host_os dld.so"
6.17581 + shlibpath_var=LD_LIBRARY_PATH
6.17582 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.17583 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17584 + soname_spec='${libname}${release}${shared_ext}$major'
6.17585 + if test "X$HPUX_IA64_MODE" = X32; then
6.17586 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6.17587 + else
6.17588 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
6.17589 + fi
6.17590 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.17591 + ;;
6.17592 + hppa*64*)
6.17593 + shrext_cmds='.sl'
6.17594 + hardcode_into_libs=yes
6.17595 + dynamic_linker="$host_os dld.sl"
6.17596 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
6.17597 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
6.17598 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17599 + soname_spec='${libname}${release}${shared_ext}$major'
6.17600 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6.17601 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
6.17602 + ;;
6.17603 + *)
6.17604 + shrext_cmds='.sl'
6.17605 + dynamic_linker="$host_os dld.sl"
6.17606 + shlibpath_var=SHLIB_PATH
6.17607 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6.17608 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17609 + soname_spec='${libname}${release}${shared_ext}$major'
6.17610 + ;;
6.17611 + esac
6.17612 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
6.17613 + postinstall_cmds='chmod 555 $lib'
6.17614 + ;;
6.17615 +
6.17616 +irix5* | irix6* | nonstopux*)
6.17617 + case $host_os in
6.17618 + nonstopux*) version_type=nonstopux ;;
6.17619 + *)
6.17620 + if test "$lt_cv_prog_gnu_ld" = yes; then
6.17621 + version_type=linux
6.17622 + else
6.17623 + version_type=irix
6.17624 + fi ;;
6.17625 + esac
6.17626 + need_lib_prefix=no
6.17627 + need_version=no
6.17628 + soname_spec='${libname}${release}${shared_ext}$major'
6.17629 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6.17630 + case $host_os in
6.17631 + irix5* | nonstopux*)
6.17632 + libsuff= shlibsuff=
6.17633 + ;;
6.17634 + *)
6.17635 + case $LD in # libtool.m4 will add one of these switches to LD
6.17636 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
6.17637 + libsuff= shlibsuff= libmagic=32-bit;;
6.17638 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
6.17639 + libsuff=32 shlibsuff=N32 libmagic=N32;;
6.17640 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
6.17641 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
6.17642 + *) libsuff= shlibsuff= libmagic=never-match;;
6.17643 + esac
6.17644 + ;;
6.17645 + esac
6.17646 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6.17647 + shlibpath_overrides_runpath=no
6.17648 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6.17649 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6.17650 + hardcode_into_libs=yes
6.17651 + ;;
6.17652 +
6.17653 +# No shared lib support for Linux oldld, aout, or coff.
6.17654 +linux*oldld* | linux*aout* | linux*coff*)
6.17655 + dynamic_linker=no
6.17656 + ;;
6.17657 +
6.17658 +# This must be Linux ELF.
6.17659 +linux*)
6.17660 + version_type=linux
6.17661 + need_lib_prefix=no
6.17662 + need_version=no
6.17663 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17664 + soname_spec='${libname}${release}${shared_ext}$major'
6.17665 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6.17666 + shlibpath_var=LD_LIBRARY_PATH
6.17667 + shlibpath_overrides_runpath=no
6.17668 + # This implies no fast_install, which is unacceptable.
6.17669 + # Some rework will be needed to allow for fast_install
6.17670 + # before this can be enabled.
6.17671 + hardcode_into_libs=yes
6.17672 +
6.17673 + # Append ld.so.conf contents to the search path
6.17674 + if test -f /etc/ld.so.conf; then
6.17675 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
6.17676 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
6.17677 + fi
6.17678 +
6.17679 + # We used to test for /lib/ld.so.1 and disable shared libraries on
6.17680 + # powerpc, because MkLinux only supported shared libraries with the
6.17681 + # GNU dynamic linker. Since this was broken with cross compilers,
6.17682 + # most powerpc-linux boxes support dynamic linking these days and
6.17683 + # people can always --disable-shared, the test was removed, and we
6.17684 + # assume the GNU/Linux dynamic linker is in use.
6.17685 + dynamic_linker='GNU/Linux ld.so'
6.17686 + ;;
6.17687 +
6.17688 +knetbsd*-gnu)
6.17689 + version_type=linux
6.17690 + need_lib_prefix=no
6.17691 + need_version=no
6.17692 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.17693 + soname_spec='${libname}${release}${shared_ext}$major'
6.17694 + shlibpath_var=LD_LIBRARY_PATH
6.17695 + shlibpath_overrides_runpath=no
6.17696 + hardcode_into_libs=yes
6.17697 + dynamic_linker='GNU ld.so'
6.17698 + ;;
6.17699 +
6.17700 +netbsd*)
6.17701 + version_type=sunos
6.17702 + need_lib_prefix=no
6.17703 + need_version=no
6.17704 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6.17705 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.17706 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.17707 + dynamic_linker='NetBSD (a.out) ld.so'
6.17708 + else
6.17709 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
6.17710 + soname_spec='${libname}${release}${shared_ext}$major'
6.17711 + dynamic_linker='NetBSD ld.elf_so'
6.17712 + fi
6.17713 + shlibpath_var=LD_LIBRARY_PATH
6.17714 + shlibpath_overrides_runpath=yes
6.17715 + hardcode_into_libs=yes
6.17716 + ;;
6.17717 +
6.17718 +newsos6)
6.17719 + version_type=linux
6.17720 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17721 + shlibpath_var=LD_LIBRARY_PATH
6.17722 + shlibpath_overrides_runpath=yes
6.17723 + ;;
6.17724 +
6.17725 +nto-qnx*)
6.17726 + version_type=linux
6.17727 + need_lib_prefix=no
6.17728 + need_version=no
6.17729 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17730 + soname_spec='${libname}${release}${shared_ext}$major'
6.17731 + shlibpath_var=LD_LIBRARY_PATH
6.17732 + shlibpath_overrides_runpath=yes
6.17733 + ;;
6.17734 +
6.17735 +openbsd*)
6.17736 + version_type=sunos
6.17737 + need_lib_prefix=no
6.17738 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
6.17739 + case $host_os in
6.17740 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
6.17741 + *) need_version=no ;;
6.17742 + esac
6.17743 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.17744 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6.17745 + shlibpath_var=LD_LIBRARY_PATH
6.17746 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6.17747 + case $host_os in
6.17748 + openbsd2.[89] | openbsd2.[89].*)
6.17749 + shlibpath_overrides_runpath=no
6.17750 + ;;
6.17751 + *)
6.17752 + shlibpath_overrides_runpath=yes
6.17753 + ;;
6.17754 + esac
6.17755 + else
6.17756 + shlibpath_overrides_runpath=yes
6.17757 + fi
6.17758 + ;;
6.17759 +
6.17760 +os2*)
6.17761 + libname_spec='$name'
6.17762 + shrext_cmds=".dll"
6.17763 + need_lib_prefix=no
6.17764 + library_names_spec='$libname${shared_ext} $libname.a'
6.17765 + dynamic_linker='OS/2 ld.exe'
6.17766 + shlibpath_var=LIBPATH
6.17767 + ;;
6.17768 +
6.17769 +osf3* | osf4* | osf5*)
6.17770 + version_type=osf
6.17771 + need_lib_prefix=no
6.17772 + need_version=no
6.17773 + soname_spec='${libname}${release}${shared_ext}$major'
6.17774 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17775 + shlibpath_var=LD_LIBRARY_PATH
6.17776 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6.17777 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6.17778 + ;;
6.17779 +
6.17780 +sco3.2v5*)
6.17781 + version_type=osf
6.17782 + soname_spec='${libname}${release}${shared_ext}$major'
6.17783 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17784 + shlibpath_var=LD_LIBRARY_PATH
6.17785 + ;;
6.17786 +
6.17787 +solaris*)
6.17788 + version_type=linux
6.17789 + need_lib_prefix=no
6.17790 + need_version=no
6.17791 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17792 + soname_spec='${libname}${release}${shared_ext}$major'
6.17793 + shlibpath_var=LD_LIBRARY_PATH
6.17794 + shlibpath_overrides_runpath=yes
6.17795 + hardcode_into_libs=yes
6.17796 + # ldd complains unless libraries are executable
6.17797 + postinstall_cmds='chmod +x $lib'
6.17798 + ;;
6.17799 +
6.17800 +sunos4*)
6.17801 + version_type=sunos
6.17802 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6.17803 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6.17804 + shlibpath_var=LD_LIBRARY_PATH
6.17805 + shlibpath_overrides_runpath=yes
6.17806 + if test "$with_gnu_ld" = yes; then
6.17807 + need_lib_prefix=no
6.17808 + fi
6.17809 + need_version=yes
6.17810 + ;;
6.17811 +
6.17812 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6.17813 + version_type=linux
6.17814 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17815 + soname_spec='${libname}${release}${shared_ext}$major'
6.17816 + shlibpath_var=LD_LIBRARY_PATH
6.17817 + case $host_vendor in
6.17818 + sni)
6.17819 + shlibpath_overrides_runpath=no
6.17820 + need_lib_prefix=no
6.17821 + export_dynamic_flag_spec='${wl}-Blargedynsym'
6.17822 + runpath_var=LD_RUN_PATH
6.17823 + ;;
6.17824 + siemens)
6.17825 + need_lib_prefix=no
6.17826 + ;;
6.17827 + motorola)
6.17828 + need_lib_prefix=no
6.17829 + need_version=no
6.17830 + shlibpath_overrides_runpath=no
6.17831 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6.17832 + ;;
6.17833 + esac
6.17834 + ;;
6.17835 +
6.17836 +sysv4*MP*)
6.17837 + if test -d /usr/nec ;then
6.17838 + version_type=linux
6.17839 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6.17840 + soname_spec='$libname${shared_ext}.$major'
6.17841 + shlibpath_var=LD_LIBRARY_PATH
6.17842 + fi
6.17843 + ;;
6.17844 +
6.17845 +uts4*)
6.17846 + version_type=linux
6.17847 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6.17848 + soname_spec='${libname}${release}${shared_ext}$major'
6.17849 + shlibpath_var=LD_LIBRARY_PATH
6.17850 + ;;
6.17851 +
6.17852 +*)
6.17853 + dynamic_linker=no
6.17854 + ;;
6.17855 +esac
6.17856 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6.17857 +echo "${ECHO_T}$dynamic_linker" >&6
6.17858 +test "$dynamic_linker" = no && can_build_shared=no
6.17859 +
6.17860 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6.17861 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6.17862 +hardcode_action_GCJ=
6.17863 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
6.17864 + test -n "$runpath_var_GCJ" || \
6.17865 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
6.17866 +
6.17867 + # We can hardcode non-existant directories.
6.17868 + if test "$hardcode_direct_GCJ" != no &&
6.17869 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
6.17870 + # have to relink, otherwise we might link with an installed library
6.17871 + # when we should be linking with a yet-to-be-installed one
6.17872 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
6.17873 + test "$hardcode_minus_L_GCJ" != no; then
6.17874 + # Linking always hardcodes the temporary library directory.
6.17875 + hardcode_action_GCJ=relink
6.17876 + else
6.17877 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
6.17878 + hardcode_action_GCJ=immediate
6.17879 + fi
6.17880 +else
6.17881 + # We cannot hardcode anything, or else we can only hardcode existing
6.17882 + # directories.
6.17883 + hardcode_action_GCJ=unsupported
6.17884 +fi
6.17885 +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
6.17886 +echo "${ECHO_T}$hardcode_action_GCJ" >&6
6.17887 +
6.17888 +if test "$hardcode_action_GCJ" = relink; then
6.17889 + # Fast installation is not supported
6.17890 + enable_fast_install=no
6.17891 +elif test "$shlibpath_overrides_runpath" = yes ||
6.17892 + test "$enable_shared" = no; then
6.17893 + # Fast installation is not necessary
6.17894 + enable_fast_install=needless
6.17895 +fi
6.17896 +
6.17897 +striplib=
6.17898 +old_striplib=
6.17899 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6.17900 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6.17901 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6.17902 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6.17903 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6.17904 + echo "$as_me:$LINENO: result: yes" >&5
6.17905 +echo "${ECHO_T}yes" >&6
6.17906 +else
6.17907 +# FIXME - insert some real tests, host_os isn't really good enough
6.17908 + case $host_os in
6.17909 + darwin*)
6.17910 + if test -n "$STRIP" ; then
6.17911 + striplib="$STRIP -x"
6.17912 + echo "$as_me:$LINENO: result: yes" >&5
6.17913 +echo "${ECHO_T}yes" >&6
6.17914 + else
6.17915 + echo "$as_me:$LINENO: result: no" >&5
6.17916 +echo "${ECHO_T}no" >&6
6.17917 +fi
6.17918 + ;;
6.17919 + *)
6.17920 + echo "$as_me:$LINENO: result: no" >&5
6.17921 +echo "${ECHO_T}no" >&6
6.17922 + ;;
6.17923 + esac
6.17924 +fi
6.17925 +
6.17926 +if test "x$enable_dlopen" != xyes; then
6.17927 + enable_dlopen=unknown
6.17928 + enable_dlopen_self=unknown
6.17929 + enable_dlopen_self_static=unknown
6.17930 +else
6.17931 + lt_cv_dlopen=no
6.17932 + lt_cv_dlopen_libs=
6.17933 +
6.17934 + case $host_os in
6.17935 + beos*)
6.17936 + lt_cv_dlopen="load_add_on"
6.17937 + lt_cv_dlopen_libs=
6.17938 + lt_cv_dlopen_self=yes
6.17939 + ;;
6.17940 +
6.17941 + mingw* | pw32*)
6.17942 + lt_cv_dlopen="LoadLibrary"
6.17943 + lt_cv_dlopen_libs=
6.17944 + ;;
6.17945 +
6.17946 + cygwin*)
6.17947 + lt_cv_dlopen="dlopen"
6.17948 + lt_cv_dlopen_libs=
6.17949 + ;;
6.17950 +
6.17951 + darwin*)
6.17952 + # if libdl is installed we need to link against it
6.17953 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.17954 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.17955 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.17956 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.17957 +else
6.17958 + ac_check_lib_save_LIBS=$LIBS
6.17959 +LIBS="-ldl $LIBS"
6.17960 +cat >conftest.$ac_ext <<_ACEOF
6.17961 +/* confdefs.h. */
6.17962 +_ACEOF
6.17963 +cat confdefs.h >>conftest.$ac_ext
6.17964 +cat >>conftest.$ac_ext <<_ACEOF
6.17965 +/* end confdefs.h. */
6.17966 +
6.17967 +/* Override any gcc2 internal prototype to avoid an error. */
6.17968 +#ifdef __cplusplus
6.17969 +extern "C"
6.17970 +#endif
6.17971 +/* We use char because int might match the return type of a gcc2
6.17972 + builtin and then its argument prototype would still apply. */
6.17973 +char dlopen ();
6.17974 +int
6.17975 +main ()
6.17976 +{
6.17977 +dlopen ();
6.17978 + ;
6.17979 + return 0;
6.17980 +}
6.17981 +_ACEOF
6.17982 +rm -f conftest.$ac_objext conftest$ac_exeext
6.17983 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.17984 + (eval $ac_link) 2>conftest.er1
6.17985 + ac_status=$?
6.17986 + grep -v '^ *+' conftest.er1 >conftest.err
6.17987 + rm -f conftest.er1
6.17988 + cat conftest.err >&5
6.17989 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.17990 + (exit $ac_status); } &&
6.17991 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.17992 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.17993 + (eval $ac_try) 2>&5
6.17994 + ac_status=$?
6.17995 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.17996 + (exit $ac_status); }; } &&
6.17997 + { ac_try='test -s conftest$ac_exeext'
6.17998 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.17999 + (eval $ac_try) 2>&5
6.18000 + ac_status=$?
6.18001 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18002 + (exit $ac_status); }; }; then
6.18003 + ac_cv_lib_dl_dlopen=yes
6.18004 +else
6.18005 + echo "$as_me: failed program was:" >&5
6.18006 +sed 's/^/| /' conftest.$ac_ext >&5
6.18007 +
6.18008 +ac_cv_lib_dl_dlopen=no
6.18009 +fi
6.18010 +rm -f conftest.err conftest.$ac_objext \
6.18011 + conftest$ac_exeext conftest.$ac_ext
6.18012 +LIBS=$ac_check_lib_save_LIBS
6.18013 +fi
6.18014 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.18015 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.18016 +if test $ac_cv_lib_dl_dlopen = yes; then
6.18017 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.18018 +else
6.18019 +
6.18020 + lt_cv_dlopen="dyld"
6.18021 + lt_cv_dlopen_libs=
6.18022 + lt_cv_dlopen_self=yes
6.18023 +
6.18024 +fi
6.18025 +
6.18026 + ;;
6.18027 +
6.18028 + *)
6.18029 + echo "$as_me:$LINENO: checking for shl_load" >&5
6.18030 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
6.18031 +if test "${ac_cv_func_shl_load+set}" = set; then
6.18032 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.18033 +else
6.18034 + cat >conftest.$ac_ext <<_ACEOF
6.18035 +/* confdefs.h. */
6.18036 +_ACEOF
6.18037 +cat confdefs.h >>conftest.$ac_ext
6.18038 +cat >>conftest.$ac_ext <<_ACEOF
6.18039 +/* end confdefs.h. */
6.18040 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
6.18041 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.18042 +#define shl_load innocuous_shl_load
6.18043 +
6.18044 +/* System header to define __stub macros and hopefully few prototypes,
6.18045 + which can conflict with char shl_load (); below.
6.18046 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.18047 + <limits.h> exists even on freestanding compilers. */
6.18048 +
6.18049 +#ifdef __STDC__
6.18050 +# include <limits.h>
6.18051 +#else
6.18052 +# include <assert.h>
6.18053 +#endif
6.18054 +
6.18055 +#undef shl_load
6.18056 +
6.18057 +/* Override any gcc2 internal prototype to avoid an error. */
6.18058 +#ifdef __cplusplus
6.18059 +extern "C"
6.18060 +{
6.18061 +#endif
6.18062 +/* We use char because int might match the return type of a gcc2
6.18063 + builtin and then its argument prototype would still apply. */
6.18064 +char shl_load ();
6.18065 +/* The GNU C library defines this for functions which it implements
6.18066 + to always fail with ENOSYS. Some functions are actually named
6.18067 + something starting with __ and the normal name is an alias. */
6.18068 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
6.18069 +choke me
6.18070 +#else
6.18071 +char (*f) () = shl_load;
6.18072 +#endif
6.18073 +#ifdef __cplusplus
6.18074 +}
6.18075 +#endif
6.18076 +
6.18077 +int
6.18078 +main ()
6.18079 +{
6.18080 +return f != shl_load;
6.18081 + ;
6.18082 + return 0;
6.18083 +}
6.18084 +_ACEOF
6.18085 +rm -f conftest.$ac_objext conftest$ac_exeext
6.18086 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18087 + (eval $ac_link) 2>conftest.er1
6.18088 + ac_status=$?
6.18089 + grep -v '^ *+' conftest.er1 >conftest.err
6.18090 + rm -f conftest.er1
6.18091 + cat conftest.err >&5
6.18092 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18093 + (exit $ac_status); } &&
6.18094 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18095 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18096 + (eval $ac_try) 2>&5
6.18097 + ac_status=$?
6.18098 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18099 + (exit $ac_status); }; } &&
6.18100 + { ac_try='test -s conftest$ac_exeext'
6.18101 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18102 + (eval $ac_try) 2>&5
6.18103 + ac_status=$?
6.18104 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18105 + (exit $ac_status); }; }; then
6.18106 + ac_cv_func_shl_load=yes
6.18107 +else
6.18108 + echo "$as_me: failed program was:" >&5
6.18109 +sed 's/^/| /' conftest.$ac_ext >&5
6.18110 +
6.18111 +ac_cv_func_shl_load=no
6.18112 +fi
6.18113 +rm -f conftest.err conftest.$ac_objext \
6.18114 + conftest$ac_exeext conftest.$ac_ext
6.18115 +fi
6.18116 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
6.18117 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6.18118 +if test $ac_cv_func_shl_load = yes; then
6.18119 + lt_cv_dlopen="shl_load"
6.18120 +else
6.18121 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
6.18122 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
6.18123 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
6.18124 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.18125 +else
6.18126 + ac_check_lib_save_LIBS=$LIBS
6.18127 +LIBS="-ldld $LIBS"
6.18128 +cat >conftest.$ac_ext <<_ACEOF
6.18129 +/* confdefs.h. */
6.18130 +_ACEOF
6.18131 +cat confdefs.h >>conftest.$ac_ext
6.18132 +cat >>conftest.$ac_ext <<_ACEOF
6.18133 +/* end confdefs.h. */
6.18134 +
6.18135 +/* Override any gcc2 internal prototype to avoid an error. */
6.18136 +#ifdef __cplusplus
6.18137 +extern "C"
6.18138 +#endif
6.18139 +/* We use char because int might match the return type of a gcc2
6.18140 + builtin and then its argument prototype would still apply. */
6.18141 +char shl_load ();
6.18142 +int
6.18143 +main ()
6.18144 +{
6.18145 +shl_load ();
6.18146 + ;
6.18147 + return 0;
6.18148 +}
6.18149 +_ACEOF
6.18150 +rm -f conftest.$ac_objext conftest$ac_exeext
6.18151 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18152 + (eval $ac_link) 2>conftest.er1
6.18153 + ac_status=$?
6.18154 + grep -v '^ *+' conftest.er1 >conftest.err
6.18155 + rm -f conftest.er1
6.18156 + cat conftest.err >&5
6.18157 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18158 + (exit $ac_status); } &&
6.18159 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18160 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18161 + (eval $ac_try) 2>&5
6.18162 + ac_status=$?
6.18163 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18164 + (exit $ac_status); }; } &&
6.18165 + { ac_try='test -s conftest$ac_exeext'
6.18166 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18167 + (eval $ac_try) 2>&5
6.18168 + ac_status=$?
6.18169 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18170 + (exit $ac_status); }; }; then
6.18171 + ac_cv_lib_dld_shl_load=yes
6.18172 +else
6.18173 + echo "$as_me: failed program was:" >&5
6.18174 +sed 's/^/| /' conftest.$ac_ext >&5
6.18175 +
6.18176 +ac_cv_lib_dld_shl_load=no
6.18177 +fi
6.18178 +rm -f conftest.err conftest.$ac_objext \
6.18179 + conftest$ac_exeext conftest.$ac_ext
6.18180 +LIBS=$ac_check_lib_save_LIBS
6.18181 +fi
6.18182 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6.18183 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
6.18184 +if test $ac_cv_lib_dld_shl_load = yes; then
6.18185 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
6.18186 +else
6.18187 + echo "$as_me:$LINENO: checking for dlopen" >&5
6.18188 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
6.18189 +if test "${ac_cv_func_dlopen+set}" = set; then
6.18190 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.18191 +else
6.18192 + cat >conftest.$ac_ext <<_ACEOF
6.18193 +/* confdefs.h. */
6.18194 +_ACEOF
6.18195 +cat confdefs.h >>conftest.$ac_ext
6.18196 +cat >>conftest.$ac_ext <<_ACEOF
6.18197 +/* end confdefs.h. */
6.18198 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
6.18199 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
6.18200 +#define dlopen innocuous_dlopen
6.18201 +
6.18202 +/* System header to define __stub macros and hopefully few prototypes,
6.18203 + which can conflict with char dlopen (); below.
6.18204 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.18205 + <limits.h> exists even on freestanding compilers. */
6.18206 +
6.18207 +#ifdef __STDC__
6.18208 +# include <limits.h>
6.18209 +#else
6.18210 +# include <assert.h>
6.18211 +#endif
6.18212 +
6.18213 +#undef dlopen
6.18214 +
6.18215 +/* Override any gcc2 internal prototype to avoid an error. */
6.18216 +#ifdef __cplusplus
6.18217 +extern "C"
6.18218 +{
6.18219 +#endif
6.18220 +/* We use char because int might match the return type of a gcc2
6.18221 + builtin and then its argument prototype would still apply. */
6.18222 +char dlopen ();
6.18223 +/* The GNU C library defines this for functions which it implements
6.18224 + to always fail with ENOSYS. Some functions are actually named
6.18225 + something starting with __ and the normal name is an alias. */
6.18226 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
6.18227 +choke me
6.18228 +#else
6.18229 +char (*f) () = dlopen;
6.18230 +#endif
6.18231 +#ifdef __cplusplus
6.18232 +}
6.18233 +#endif
6.18234 +
6.18235 +int
6.18236 +main ()
6.18237 +{
6.18238 +return f != dlopen;
6.18239 + ;
6.18240 + return 0;
6.18241 +}
6.18242 +_ACEOF
6.18243 +rm -f conftest.$ac_objext conftest$ac_exeext
6.18244 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18245 + (eval $ac_link) 2>conftest.er1
6.18246 + ac_status=$?
6.18247 + grep -v '^ *+' conftest.er1 >conftest.err
6.18248 + rm -f conftest.er1
6.18249 + cat conftest.err >&5
6.18250 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18251 + (exit $ac_status); } &&
6.18252 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18253 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18254 + (eval $ac_try) 2>&5
6.18255 + ac_status=$?
6.18256 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18257 + (exit $ac_status); }; } &&
6.18258 + { ac_try='test -s conftest$ac_exeext'
6.18259 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18260 + (eval $ac_try) 2>&5
6.18261 + ac_status=$?
6.18262 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18263 + (exit $ac_status); }; }; then
6.18264 + ac_cv_func_dlopen=yes
6.18265 +else
6.18266 + echo "$as_me: failed program was:" >&5
6.18267 +sed 's/^/| /' conftest.$ac_ext >&5
6.18268 +
6.18269 +ac_cv_func_dlopen=no
6.18270 +fi
6.18271 +rm -f conftest.err conftest.$ac_objext \
6.18272 + conftest$ac_exeext conftest.$ac_ext
6.18273 +fi
6.18274 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
6.18275 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
6.18276 +if test $ac_cv_func_dlopen = yes; then
6.18277 + lt_cv_dlopen="dlopen"
6.18278 +else
6.18279 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6.18280 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6.18281 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6.18282 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.18283 +else
6.18284 + ac_check_lib_save_LIBS=$LIBS
6.18285 +LIBS="-ldl $LIBS"
6.18286 +cat >conftest.$ac_ext <<_ACEOF
6.18287 +/* confdefs.h. */
6.18288 +_ACEOF
6.18289 +cat confdefs.h >>conftest.$ac_ext
6.18290 +cat >>conftest.$ac_ext <<_ACEOF
6.18291 +/* end confdefs.h. */
6.18292 +
6.18293 +/* Override any gcc2 internal prototype to avoid an error. */
6.18294 +#ifdef __cplusplus
6.18295 +extern "C"
6.18296 +#endif
6.18297 +/* We use char because int might match the return type of a gcc2
6.18298 + builtin and then its argument prototype would still apply. */
6.18299 +char dlopen ();
6.18300 +int
6.18301 +main ()
6.18302 +{
6.18303 +dlopen ();
6.18304 + ;
6.18305 + return 0;
6.18306 +}
6.18307 +_ACEOF
6.18308 +rm -f conftest.$ac_objext conftest$ac_exeext
6.18309 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18310 + (eval $ac_link) 2>conftest.er1
6.18311 + ac_status=$?
6.18312 + grep -v '^ *+' conftest.er1 >conftest.err
6.18313 + rm -f conftest.er1
6.18314 + cat conftest.err >&5
6.18315 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18316 + (exit $ac_status); } &&
6.18317 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18318 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18319 + (eval $ac_try) 2>&5
6.18320 + ac_status=$?
6.18321 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18322 + (exit $ac_status); }; } &&
6.18323 + { ac_try='test -s conftest$ac_exeext'
6.18324 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18325 + (eval $ac_try) 2>&5
6.18326 + ac_status=$?
6.18327 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18328 + (exit $ac_status); }; }; then
6.18329 + ac_cv_lib_dl_dlopen=yes
6.18330 +else
6.18331 + echo "$as_me: failed program was:" >&5
6.18332 +sed 's/^/| /' conftest.$ac_ext >&5
6.18333 +
6.18334 +ac_cv_lib_dl_dlopen=no
6.18335 +fi
6.18336 +rm -f conftest.err conftest.$ac_objext \
6.18337 + conftest$ac_exeext conftest.$ac_ext
6.18338 +LIBS=$ac_check_lib_save_LIBS
6.18339 +fi
6.18340 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6.18341 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6.18342 +if test $ac_cv_lib_dl_dlopen = yes; then
6.18343 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6.18344 +else
6.18345 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
6.18346 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
6.18347 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
6.18348 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.18349 +else
6.18350 + ac_check_lib_save_LIBS=$LIBS
6.18351 +LIBS="-lsvld $LIBS"
6.18352 +cat >conftest.$ac_ext <<_ACEOF
6.18353 +/* confdefs.h. */
6.18354 +_ACEOF
6.18355 +cat confdefs.h >>conftest.$ac_ext
6.18356 +cat >>conftest.$ac_ext <<_ACEOF
6.18357 +/* end confdefs.h. */
6.18358 +
6.18359 +/* Override any gcc2 internal prototype to avoid an error. */
6.18360 +#ifdef __cplusplus
6.18361 +extern "C"
6.18362 +#endif
6.18363 +/* We use char because int might match the return type of a gcc2
6.18364 + builtin and then its argument prototype would still apply. */
6.18365 +char dlopen ();
6.18366 +int
6.18367 +main ()
6.18368 +{
6.18369 +dlopen ();
6.18370 + ;
6.18371 + return 0;
6.18372 +}
6.18373 +_ACEOF
6.18374 +rm -f conftest.$ac_objext conftest$ac_exeext
6.18375 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18376 + (eval $ac_link) 2>conftest.er1
6.18377 + ac_status=$?
6.18378 + grep -v '^ *+' conftest.er1 >conftest.err
6.18379 + rm -f conftest.er1
6.18380 + cat conftest.err >&5
6.18381 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18382 + (exit $ac_status); } &&
6.18383 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18384 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18385 + (eval $ac_try) 2>&5
6.18386 + ac_status=$?
6.18387 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18388 + (exit $ac_status); }; } &&
6.18389 + { ac_try='test -s conftest$ac_exeext'
6.18390 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18391 + (eval $ac_try) 2>&5
6.18392 + ac_status=$?
6.18393 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18394 + (exit $ac_status); }; }; then
6.18395 + ac_cv_lib_svld_dlopen=yes
6.18396 +else
6.18397 + echo "$as_me: failed program was:" >&5
6.18398 +sed 's/^/| /' conftest.$ac_ext >&5
6.18399 +
6.18400 +ac_cv_lib_svld_dlopen=no
6.18401 +fi
6.18402 +rm -f conftest.err conftest.$ac_objext \
6.18403 + conftest$ac_exeext conftest.$ac_ext
6.18404 +LIBS=$ac_check_lib_save_LIBS
6.18405 +fi
6.18406 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
6.18407 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
6.18408 +if test $ac_cv_lib_svld_dlopen = yes; then
6.18409 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
6.18410 +else
6.18411 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
6.18412 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
6.18413 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
6.18414 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.18415 +else
6.18416 + ac_check_lib_save_LIBS=$LIBS
6.18417 +LIBS="-ldld $LIBS"
6.18418 +cat >conftest.$ac_ext <<_ACEOF
6.18419 +/* confdefs.h. */
6.18420 +_ACEOF
6.18421 +cat confdefs.h >>conftest.$ac_ext
6.18422 +cat >>conftest.$ac_ext <<_ACEOF
6.18423 +/* end confdefs.h. */
6.18424 +
6.18425 +/* Override any gcc2 internal prototype to avoid an error. */
6.18426 +#ifdef __cplusplus
6.18427 +extern "C"
6.18428 +#endif
6.18429 +/* We use char because int might match the return type of a gcc2
6.18430 + builtin and then its argument prototype would still apply. */
6.18431 +char dld_link ();
6.18432 +int
6.18433 +main ()
6.18434 +{
6.18435 +dld_link ();
6.18436 + ;
6.18437 + return 0;
6.18438 +}
6.18439 +_ACEOF
6.18440 +rm -f conftest.$ac_objext conftest$ac_exeext
6.18441 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18442 + (eval $ac_link) 2>conftest.er1
6.18443 + ac_status=$?
6.18444 + grep -v '^ *+' conftest.er1 >conftest.err
6.18445 + rm -f conftest.er1
6.18446 + cat conftest.err >&5
6.18447 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18448 + (exit $ac_status); } &&
6.18449 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.18450 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18451 + (eval $ac_try) 2>&5
6.18452 + ac_status=$?
6.18453 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18454 + (exit $ac_status); }; } &&
6.18455 + { ac_try='test -s conftest$ac_exeext'
6.18456 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.18457 + (eval $ac_try) 2>&5
6.18458 + ac_status=$?
6.18459 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18460 + (exit $ac_status); }; }; then
6.18461 + ac_cv_lib_dld_dld_link=yes
6.18462 +else
6.18463 + echo "$as_me: failed program was:" >&5
6.18464 +sed 's/^/| /' conftest.$ac_ext >&5
6.18465 +
6.18466 +ac_cv_lib_dld_dld_link=no
6.18467 +fi
6.18468 +rm -f conftest.err conftest.$ac_objext \
6.18469 + conftest$ac_exeext conftest.$ac_ext
6.18470 +LIBS=$ac_check_lib_save_LIBS
6.18471 +fi
6.18472 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
6.18473 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
6.18474 +if test $ac_cv_lib_dld_dld_link = yes; then
6.18475 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
6.18476 +fi
6.18477 +
6.18478 +
6.18479 +fi
6.18480 +
6.18481 +
6.18482 +fi
6.18483 +
6.18484 +
6.18485 +fi
6.18486 +
6.18487 +
6.18488 +fi
6.18489 +
6.18490 +
6.18491 +fi
6.18492 +
6.18493 + ;;
6.18494 + esac
6.18495 +
6.18496 + if test "x$lt_cv_dlopen" != xno; then
6.18497 + enable_dlopen=yes
6.18498 + else
6.18499 + enable_dlopen=no
6.18500 + fi
6.18501 +
6.18502 + case $lt_cv_dlopen in
6.18503 + dlopen)
6.18504 + save_CPPFLAGS="$CPPFLAGS"
6.18505 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
6.18506 +
6.18507 + save_LDFLAGS="$LDFLAGS"
6.18508 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
6.18509 +
6.18510 + save_LIBS="$LIBS"
6.18511 + LIBS="$lt_cv_dlopen_libs $LIBS"
6.18512 +
6.18513 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
6.18514 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
6.18515 +if test "${lt_cv_dlopen_self+set}" = set; then
6.18516 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.18517 +else
6.18518 + if test "$cross_compiling" = yes; then :
6.18519 + lt_cv_dlopen_self=cross
6.18520 +else
6.18521 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.18522 + lt_status=$lt_dlunknown
6.18523 + cat > conftest.$ac_ext <<EOF
6.18524 +#line __oline__ "configure"
6.18525 +#include "confdefs.h"
6.18526 +
6.18527 +#if HAVE_DLFCN_H
6.18528 +#include <dlfcn.h>
6.18529 +#endif
6.18530 +
6.18531 +#include <stdio.h>
6.18532 +
6.18533 +#ifdef RTLD_GLOBAL
6.18534 +# define LT_DLGLOBAL RTLD_GLOBAL
6.18535 +#else
6.18536 +# ifdef DL_GLOBAL
6.18537 +# define LT_DLGLOBAL DL_GLOBAL
6.18538 +# else
6.18539 +# define LT_DLGLOBAL 0
6.18540 +# endif
6.18541 +#endif
6.18542 +
6.18543 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.18544 + find out it does not work in some platform. */
6.18545 +#ifndef LT_DLLAZY_OR_NOW
6.18546 +# ifdef RTLD_LAZY
6.18547 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.18548 +# else
6.18549 +# ifdef DL_LAZY
6.18550 +# define LT_DLLAZY_OR_NOW DL_LAZY
6.18551 +# else
6.18552 +# ifdef RTLD_NOW
6.18553 +# define LT_DLLAZY_OR_NOW RTLD_NOW
6.18554 +# else
6.18555 +# ifdef DL_NOW
6.18556 +# define LT_DLLAZY_OR_NOW DL_NOW
6.18557 +# else
6.18558 +# define LT_DLLAZY_OR_NOW 0
6.18559 +# endif
6.18560 +# endif
6.18561 +# endif
6.18562 +# endif
6.18563 +#endif
6.18564 +
6.18565 +#ifdef __cplusplus
6.18566 +extern "C" void exit (int);
6.18567 +#endif
6.18568 +
6.18569 +void fnord() { int i=42;}
6.18570 +int main ()
6.18571 +{
6.18572 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.18573 + int status = $lt_dlunknown;
6.18574 +
6.18575 + if (self)
6.18576 + {
6.18577 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.18578 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.18579 + /* dlclose (self); */
6.18580 + }
6.18581 +
6.18582 + exit (status);
6.18583 +}
6.18584 +EOF
6.18585 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18586 + (eval $ac_link) 2>&5
6.18587 + ac_status=$?
6.18588 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18589 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.18590 + (./conftest; exit; ) >&5 2>/dev/null
6.18591 + lt_status=$?
6.18592 + case x$lt_status in
6.18593 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
6.18594 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
6.18595 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
6.18596 + esac
6.18597 + else :
6.18598 + # compilation failed
6.18599 + lt_cv_dlopen_self=no
6.18600 + fi
6.18601 +fi
6.18602 +rm -fr conftest*
6.18603 +
6.18604 +
6.18605 +fi
6.18606 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
6.18607 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
6.18608 +
6.18609 + if test "x$lt_cv_dlopen_self" = xyes; then
6.18610 + LDFLAGS="$LDFLAGS $link_static_flag"
6.18611 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
6.18612 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
6.18613 +if test "${lt_cv_dlopen_self_static+set}" = set; then
6.18614 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.18615 +else
6.18616 + if test "$cross_compiling" = yes; then :
6.18617 + lt_cv_dlopen_self_static=cross
6.18618 +else
6.18619 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6.18620 + lt_status=$lt_dlunknown
6.18621 + cat > conftest.$ac_ext <<EOF
6.18622 +#line __oline__ "configure"
6.18623 +#include "confdefs.h"
6.18624 +
6.18625 +#if HAVE_DLFCN_H
6.18626 +#include <dlfcn.h>
6.18627 +#endif
6.18628 +
6.18629 +#include <stdio.h>
6.18630 +
6.18631 +#ifdef RTLD_GLOBAL
6.18632 +# define LT_DLGLOBAL RTLD_GLOBAL
6.18633 +#else
6.18634 +# ifdef DL_GLOBAL
6.18635 +# define LT_DLGLOBAL DL_GLOBAL
6.18636 +# else
6.18637 +# define LT_DLGLOBAL 0
6.18638 +# endif
6.18639 +#endif
6.18640 +
6.18641 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6.18642 + find out it does not work in some platform. */
6.18643 +#ifndef LT_DLLAZY_OR_NOW
6.18644 +# ifdef RTLD_LAZY
6.18645 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
6.18646 +# else
6.18647 +# ifdef DL_LAZY
6.18648 +# define LT_DLLAZY_OR_NOW DL_LAZY
6.18649 +# else
6.18650 +# ifdef RTLD_NOW
6.18651 +# define LT_DLLAZY_OR_NOW RTLD_NOW
6.18652 +# else
6.18653 +# ifdef DL_NOW
6.18654 +# define LT_DLLAZY_OR_NOW DL_NOW
6.18655 +# else
6.18656 +# define LT_DLLAZY_OR_NOW 0
6.18657 +# endif
6.18658 +# endif
6.18659 +# endif
6.18660 +# endif
6.18661 +#endif
6.18662 +
6.18663 +#ifdef __cplusplus
6.18664 +extern "C" void exit (int);
6.18665 +#endif
6.18666 +
6.18667 +void fnord() { int i=42;}
6.18668 +int main ()
6.18669 +{
6.18670 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6.18671 + int status = $lt_dlunknown;
6.18672 +
6.18673 + if (self)
6.18674 + {
6.18675 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6.18676 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6.18677 + /* dlclose (self); */
6.18678 + }
6.18679 +
6.18680 + exit (status);
6.18681 +}
6.18682 +EOF
6.18683 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.18684 + (eval $ac_link) 2>&5
6.18685 + ac_status=$?
6.18686 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.18687 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6.18688 + (./conftest; exit; ) >&5 2>/dev/null
6.18689 + lt_status=$?
6.18690 + case x$lt_status in
6.18691 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
6.18692 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
6.18693 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
6.18694 + esac
6.18695 + else :
6.18696 + # compilation failed
6.18697 + lt_cv_dlopen_self_static=no
6.18698 + fi
6.18699 +fi
6.18700 +rm -fr conftest*
6.18701 +
6.18702 +
6.18703 +fi
6.18704 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
6.18705 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
6.18706 + fi
6.18707 +
6.18708 + CPPFLAGS="$save_CPPFLAGS"
6.18709 + LDFLAGS="$save_LDFLAGS"
6.18710 + LIBS="$save_LIBS"
6.18711 + ;;
6.18712 + esac
6.18713 +
6.18714 + case $lt_cv_dlopen_self in
6.18715 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
6.18716 + *) enable_dlopen_self=unknown ;;
6.18717 + esac
6.18718 +
6.18719 + case $lt_cv_dlopen_self_static in
6.18720 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
6.18721 + *) enable_dlopen_self_static=unknown ;;
6.18722 + esac
6.18723 +fi
6.18724 +
6.18725 +
6.18726 +# The else clause should only fire when bootstrapping the
6.18727 +# libtool distribution, otherwise you forgot to ship ltmain.sh
6.18728 +# with your package, and you will get complaints that there are
6.18729 +# no rules to generate ltmain.sh.
6.18730 +if test -f "$ltmain"; then
6.18731 + # See if we are running on zsh, and set the options which allow our commands through
6.18732 + # without removal of \ escapes.
6.18733 + if test -n "${ZSH_VERSION+set}" ; then
6.18734 + setopt NO_GLOB_SUBST
6.18735 + fi
6.18736 + # Now quote all the things that may contain metacharacters while being
6.18737 + # careful not to overquote the AC_SUBSTed values. We take copies of the
6.18738 + # variables and quote the copies for generation of the libtool script.
6.18739 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6.18740 + SED SHELL STRIP \
6.18741 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6.18742 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6.18743 + deplibs_check_method reload_flag reload_cmds need_locks \
6.18744 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6.18745 + lt_cv_sys_global_symbol_to_c_name_address \
6.18746 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6.18747 + old_postinstall_cmds old_postuninstall_cmds \
6.18748 + compiler_GCJ \
6.18749 + CC_GCJ \
6.18750 + LD_GCJ \
6.18751 + lt_prog_compiler_wl_GCJ \
6.18752 + lt_prog_compiler_pic_GCJ \
6.18753 + lt_prog_compiler_static_GCJ \
6.18754 + lt_prog_compiler_no_builtin_flag_GCJ \
6.18755 + export_dynamic_flag_spec_GCJ \
6.18756 + thread_safe_flag_spec_GCJ \
6.18757 + whole_archive_flag_spec_GCJ \
6.18758 + enable_shared_with_static_runtimes_GCJ \
6.18759 + old_archive_cmds_GCJ \
6.18760 + old_archive_from_new_cmds_GCJ \
6.18761 + predep_objects_GCJ \
6.18762 + postdep_objects_GCJ \
6.18763 + predeps_GCJ \
6.18764 + postdeps_GCJ \
6.18765 + compiler_lib_search_path_GCJ \
6.18766 + archive_cmds_GCJ \
6.18767 + archive_expsym_cmds_GCJ \
6.18768 + postinstall_cmds_GCJ \
6.18769 + postuninstall_cmds_GCJ \
6.18770 + old_archive_from_expsyms_cmds_GCJ \
6.18771 + allow_undefined_flag_GCJ \
6.18772 + no_undefined_flag_GCJ \
6.18773 + export_symbols_cmds_GCJ \
6.18774 + hardcode_libdir_flag_spec_GCJ \
6.18775 + hardcode_libdir_flag_spec_ld_GCJ \
6.18776 + hardcode_libdir_separator_GCJ \
6.18777 + hardcode_automatic_GCJ \
6.18778 + module_cmds_GCJ \
6.18779 + module_expsym_cmds_GCJ \
6.18780 + lt_cv_prog_compiler_c_o_GCJ \
6.18781 + exclude_expsyms_GCJ \
6.18782 + include_expsyms_GCJ; do
6.18783 +
6.18784 + case $var in
6.18785 + old_archive_cmds_GCJ | \
6.18786 + old_archive_from_new_cmds_GCJ | \
6.18787 + archive_cmds_GCJ | \
6.18788 + archive_expsym_cmds_GCJ | \
6.18789 + module_cmds_GCJ | \
6.18790 + module_expsym_cmds_GCJ | \
6.18791 + old_archive_from_expsyms_cmds_GCJ | \
6.18792 + export_symbols_cmds_GCJ | \
6.18793 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
6.18794 + postinstall_cmds | postuninstall_cmds | \
6.18795 + old_postinstall_cmds | old_postuninstall_cmds | \
6.18796 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6.18797 + # Double-quote double-evaled strings.
6.18798 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6.18799 + ;;
6.18800 + *)
6.18801 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
6.18802 + ;;
6.18803 + esac
6.18804 + done
6.18805 +
6.18806 + case $lt_echo in
6.18807 + *'\$0 --fallback-echo"')
6.18808 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
6.18809 + ;;
6.18810 + esac
6.18811 +
6.18812 +cfgfile="$ofile"
6.18813 +
6.18814 + cat <<__EOF__ >> "$cfgfile"
6.18815 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
6.18816 +
6.18817 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6.18818 +
6.18819 +# Shell to use when invoking shell scripts.
6.18820 +SHELL=$lt_SHELL
6.18821 +
6.18822 +# Whether or not to build shared libraries.
6.18823 +build_libtool_libs=$enable_shared
6.18824 +
6.18825 +# Whether or not to build static libraries.
6.18826 +build_old_libs=$enable_static
6.18827 +
6.18828 +# Whether or not to add -lc for building shared libraries.
6.18829 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
6.18830 +
6.18831 +# Whether or not to disallow shared libs when runtime libs are static
6.18832 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
6.18833 +
6.18834 +# Whether or not to optimize for fast installation.
6.18835 +fast_install=$enable_fast_install
6.18836 +
6.18837 +# The host system.
6.18838 +host_alias=$host_alias
6.18839 +host=$host
6.18840 +host_os=$host_os
6.18841 +
6.18842 +# The build system.
6.18843 +build_alias=$build_alias
6.18844 +build=$build
6.18845 +build_os=$build_os
6.18846 +
6.18847 +# An echo program that does not interpret backslashes.
6.18848 +echo=$lt_echo
6.18849 +
6.18850 +# The archiver.
6.18851 +AR=$lt_AR
6.18852 +AR_FLAGS=$lt_AR_FLAGS
6.18853 +
6.18854 +# A C compiler.
6.18855 +LTCC=$lt_LTCC
6.18856 +
6.18857 +# A language-specific compiler.
6.18858 +CC=$lt_compiler_GCJ
6.18859 +
6.18860 +# Is the compiler the GNU C compiler?
6.18861 +with_gcc=$GCC_GCJ
6.18862 +
6.18863 +# An ERE matcher.
6.18864 +EGREP=$lt_EGREP
6.18865 +
6.18866 +# The linker used to build libraries.
6.18867 +LD=$lt_LD_GCJ
6.18868 +
6.18869 +# Whether we need hard or soft links.
6.18870 +LN_S=$lt_LN_S
6.18871 +
6.18872 +# A BSD-compatible nm program.
6.18873 +NM=$lt_NM
6.18874 +
6.18875 +# A symbol stripping program
6.18876 +STRIP=$lt_STRIP
6.18877 +
6.18878 +# Used to examine libraries when file_magic_cmd begins "file"
6.18879 +MAGIC_CMD=$MAGIC_CMD
6.18880 +
6.18881 +# Used on cygwin: DLL creation program.
6.18882 +DLLTOOL="$DLLTOOL"
6.18883 +
6.18884 +# Used on cygwin: object dumper.
6.18885 +OBJDUMP="$OBJDUMP"
6.18886 +
6.18887 +# Used on cygwin: assembler.
6.18888 +AS="$AS"
6.18889 +
6.18890 +# The name of the directory that contains temporary libtool files.
6.18891 +objdir=$objdir
6.18892 +
6.18893 +# How to create reloadable object files.
6.18894 +reload_flag=$lt_reload_flag
6.18895 +reload_cmds=$lt_reload_cmds
6.18896 +
6.18897 +# How to pass a linker flag through the compiler.
6.18898 +wl=$lt_lt_prog_compiler_wl_GCJ
6.18899 +
6.18900 +# Object file suffix (normally "o").
6.18901 +objext="$ac_objext"
6.18902 +
6.18903 +# Old archive suffix (normally "a").
6.18904 +libext="$libext"
6.18905 +
6.18906 +# Shared library suffix (normally ".so").
6.18907 +shrext_cmds='$shrext_cmds'
6.18908 +
6.18909 +# Executable file suffix (normally "").
6.18910 +exeext="$exeext"
6.18911 +
6.18912 +# Additional compiler flags for building library objects.
6.18913 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
6.18914 +pic_mode=$pic_mode
6.18915 +
6.18916 +# What is the maximum length of a command?
6.18917 +max_cmd_len=$lt_cv_sys_max_cmd_len
6.18918 +
6.18919 +# Does compiler simultaneously support -c and -o options?
6.18920 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
6.18921 +
6.18922 +# Must we lock files when doing compilation?
6.18923 +need_locks=$lt_need_locks
6.18924 +
6.18925 +# Do we need the lib prefix for modules?
6.18926 +need_lib_prefix=$need_lib_prefix
6.18927 +
6.18928 +# Do we need a version for libraries?
6.18929 +need_version=$need_version
6.18930 +
6.18931 +# Whether dlopen is supported.
6.18932 +dlopen_support=$enable_dlopen
6.18933 +
6.18934 +# Whether dlopen of programs is supported.
6.18935 +dlopen_self=$enable_dlopen_self
6.18936 +
6.18937 +# Whether dlopen of statically linked programs is supported.
6.18938 +dlopen_self_static=$enable_dlopen_self_static
6.18939 +
6.18940 +# Compiler flag to prevent dynamic linking.
6.18941 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
6.18942 +
6.18943 +# Compiler flag to turn off builtin functions.
6.18944 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
6.18945 +
6.18946 +# Compiler flag to allow reflexive dlopens.
6.18947 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
6.18948 +
6.18949 +# Compiler flag to generate shared objects directly from archives.
6.18950 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
6.18951 +
6.18952 +# Compiler flag to generate thread-safe objects.
6.18953 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
6.18954 +
6.18955 +# Library versioning type.
6.18956 +version_type=$version_type
6.18957 +
6.18958 +# Format of library name prefix.
6.18959 +libname_spec=$lt_libname_spec
6.18960 +
6.18961 +# List of archive names. First name is the real one, the rest are links.
6.18962 +# The last name is the one that the linker finds with -lNAME.
6.18963 +library_names_spec=$lt_library_names_spec
6.18964 +
6.18965 +# The coded name of the library, if different from the real name.
6.18966 +soname_spec=$lt_soname_spec
6.18967 +
6.18968 +# Commands used to build and install an old-style archive.
6.18969 +RANLIB=$lt_RANLIB
6.18970 +old_archive_cmds=$lt_old_archive_cmds_GCJ
6.18971 +old_postinstall_cmds=$lt_old_postinstall_cmds
6.18972 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
6.18973 +
6.18974 +# Create an old-style archive from a shared archive.
6.18975 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
6.18976 +
6.18977 +# Create a temporary old-style archive to link instead of a shared archive.
6.18978 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
6.18979 +
6.18980 +# Commands used to build and install a shared archive.
6.18981 +archive_cmds=$lt_archive_cmds_GCJ
6.18982 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
6.18983 +postinstall_cmds=$lt_postinstall_cmds
6.18984 +postuninstall_cmds=$lt_postuninstall_cmds
6.18985 +
6.18986 +# Commands used to build a loadable module (assumed same as above if empty)
6.18987 +module_cmds=$lt_module_cmds_GCJ
6.18988 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
6.18989 +
6.18990 +# Commands to strip libraries.
6.18991 +old_striplib=$lt_old_striplib
6.18992 +striplib=$lt_striplib
6.18993 +
6.18994 +# Dependencies to place before the objects being linked to create a
6.18995 +# shared library.
6.18996 +predep_objects=$lt_predep_objects_GCJ
6.18997 +
6.18998 +# Dependencies to place after the objects being linked to create a
6.18999 +# shared library.
6.19000 +postdep_objects=$lt_postdep_objects_GCJ
6.19001 +
6.19002 +# Dependencies to place before the objects being linked to create a
6.19003 +# shared library.
6.19004 +predeps=$lt_predeps_GCJ
6.19005 +
6.19006 +# Dependencies to place after the objects being linked to create a
6.19007 +# shared library.
6.19008 +postdeps=$lt_postdeps_GCJ
6.19009 +
6.19010 +# The library search path used internally by the compiler when linking
6.19011 +# a shared library.
6.19012 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
6.19013 +
6.19014 +# Method to check whether dependent libraries are shared objects.
6.19015 +deplibs_check_method=$lt_deplibs_check_method
6.19016 +
6.19017 +# Command to use when deplibs_check_method == file_magic.
6.19018 +file_magic_cmd=$lt_file_magic_cmd
6.19019 +
6.19020 +# Flag that allows shared libraries with undefined symbols to be built.
6.19021 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
6.19022 +
6.19023 +# Flag that forces no undefined symbols.
6.19024 +no_undefined_flag=$lt_no_undefined_flag_GCJ
6.19025 +
6.19026 +# Commands used to finish a libtool library installation in a directory.
6.19027 +finish_cmds=$lt_finish_cmds
6.19028 +
6.19029 +# Same as above, but a single script fragment to be evaled but not shown.
6.19030 +finish_eval=$lt_finish_eval
6.19031 +
6.19032 +# Take the output of nm and produce a listing of raw symbols and C names.
6.19033 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6.19034 +
6.19035 +# Transform the output of nm in a proper C declaration
6.19036 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6.19037 +
6.19038 +# Transform the output of nm in a C name address pair
6.19039 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6.19040 +
6.19041 +# This is the shared library runtime path variable.
6.19042 +runpath_var=$runpath_var
6.19043 +
6.19044 +# This is the shared library path variable.
6.19045 +shlibpath_var=$shlibpath_var
6.19046 +
6.19047 +# Is shlibpath searched before the hard-coded library search path?
6.19048 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6.19049 +
6.19050 +# How to hardcode a shared library path into an executable.
6.19051 +hardcode_action=$hardcode_action_GCJ
6.19052 +
6.19053 +# Whether we should hardcode library paths into libraries.
6.19054 +hardcode_into_libs=$hardcode_into_libs
6.19055 +
6.19056 +# Flag to hardcode \$libdir into a binary during linking.
6.19057 +# This must work even if \$libdir does not exist.
6.19058 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
6.19059 +
6.19060 +# If ld is used when linking, flag to hardcode \$libdir into
6.19061 +# a binary during linking. This must work even if \$libdir does
6.19062 +# not exist.
6.19063 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
6.19064 +
6.19065 +# Whether we need a single -rpath flag with a separated argument.
6.19066 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
6.19067 +
6.19068 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6.19069 +# resulting binary.
6.19070 +hardcode_direct=$hardcode_direct_GCJ
6.19071 +
6.19072 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6.19073 +# resulting binary.
6.19074 +hardcode_minus_L=$hardcode_minus_L_GCJ
6.19075 +
6.19076 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6.19077 +# the resulting binary.
6.19078 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
6.19079 +
6.19080 +# Set to yes if building a shared library automatically hardcodes DIR into the library
6.19081 +# and all subsequent libraries and executables linked against it.
6.19082 +hardcode_automatic=$hardcode_automatic_GCJ
6.19083 +
6.19084 +# Variables whose values should be saved in libtool wrapper scripts and
6.19085 +# restored at relink time.
6.19086 +variables_saved_for_relink="$variables_saved_for_relink"
6.19087 +
6.19088 +# Whether libtool must link a program against all its dependency libraries.
6.19089 +link_all_deplibs=$link_all_deplibs_GCJ
6.19090 +
6.19091 +# Compile-time system search path for libraries
6.19092 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6.19093 +
6.19094 +# Run-time system search path for libraries
6.19095 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6.19096 +
6.19097 +# Fix the shell variable \$srcfile for the compiler.
6.19098 +fix_srcfile_path="$fix_srcfile_path_GCJ"
6.19099 +
6.19100 +# Set to yes if exported symbols are required.
6.19101 +always_export_symbols=$always_export_symbols_GCJ
6.19102 +
6.19103 +# The commands to list exported symbols.
6.19104 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
6.19105 +
6.19106 +# The commands to extract the exported symbol list from a shared archive.
6.19107 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
6.19108 +
6.19109 +# Symbols that should not be listed in the preloaded symbols.
6.19110 +exclude_expsyms=$lt_exclude_expsyms_GCJ
6.19111 +
6.19112 +# Symbols that must always be exported.
6.19113 +include_expsyms=$lt_include_expsyms_GCJ
6.19114 +
6.19115 +# ### END LIBTOOL TAG CONFIG: $tagname
6.19116 +
6.19117 +__EOF__
6.19118 +
6.19119 +
6.19120 +else
6.19121 + # If there is no Makefile yet, we rely on a make rule to execute
6.19122 + # `config.status --recheck' to rerun these tests and create the
6.19123 + # libtool script then.
6.19124 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6.19125 + if test -f "$ltmain_in"; then
6.19126 + test -f Makefile && make "$ltmain"
6.19127 + fi
6.19128 +fi
6.19129 +
6.19130 +
6.19131 +ac_ext=c
6.19132 +ac_cpp='$CPP $CPPFLAGS'
6.19133 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.19134 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.19135 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.19136 +
6.19137 +CC="$lt_save_CC"
6.19138 +
6.19139 + else
6.19140 + tagname=""
6.19141 + fi
6.19142 + ;;
6.19143 +
6.19144 + RC)
6.19145 +
6.19146 +
6.19147 +
6.19148 +# Source file extension for RC test sources.
6.19149 +ac_ext=rc
6.19150 +
6.19151 +# Object file extension for compiled RC test sources.
6.19152 +objext=o
6.19153 +objext_RC=$objext
6.19154 +
6.19155 +# Code to be used in simple compile tests
6.19156 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
6.19157 +
6.19158 +# Code to be used in simple link tests
6.19159 +lt_simple_link_test_code="$lt_simple_compile_test_code"
6.19160 +
6.19161 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
6.19162 +
6.19163 +# If no C compiler was specified, use CC.
6.19164 +LTCC=${LTCC-"$CC"}
6.19165 +
6.19166 +# Allow CC to be a program name with arguments.
6.19167 +compiler=$CC
6.19168 +
6.19169 +
6.19170 +# save warnings/boilerplate of simple test code
6.19171 +ac_outfile=conftest.$ac_objext
6.19172 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6.19173 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.19174 +_lt_compiler_boilerplate=`cat conftest.err`
6.19175 +$rm conftest*
6.19176 +
6.19177 +ac_outfile=conftest.$ac_objext
6.19178 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
6.19179 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6.19180 +_lt_linker_boilerplate=`cat conftest.err`
6.19181 +$rm conftest*
6.19182 +
6.19183 +
6.19184 +# Allow CC to be a program name with arguments.
6.19185 +lt_save_CC="$CC"
6.19186 +CC=${RC-"windres"}
6.19187 +compiler=$CC
6.19188 +compiler_RC=$CC
6.19189 +for cc_temp in $compiler""; do
6.19190 + case $cc_temp in
6.19191 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6.19192 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6.19193 + \-*) ;;
6.19194 + *) break;;
6.19195 + esac
6.19196 +done
6.19197 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6.19198 +
6.19199 +lt_cv_prog_compiler_c_o_RC=yes
6.19200 +
6.19201 +# The else clause should only fire when bootstrapping the
6.19202 +# libtool distribution, otherwise you forgot to ship ltmain.sh
6.19203 +# with your package, and you will get complaints that there are
6.19204 +# no rules to generate ltmain.sh.
6.19205 +if test -f "$ltmain"; then
6.19206 + # See if we are running on zsh, and set the options which allow our commands through
6.19207 + # without removal of \ escapes.
6.19208 + if test -n "${ZSH_VERSION+set}" ; then
6.19209 + setopt NO_GLOB_SUBST
6.19210 + fi
6.19211 + # Now quote all the things that may contain metacharacters while being
6.19212 + # careful not to overquote the AC_SUBSTed values. We take copies of the
6.19213 + # variables and quote the copies for generation of the libtool script.
6.19214 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
6.19215 + SED SHELL STRIP \
6.19216 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
6.19217 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
6.19218 + deplibs_check_method reload_flag reload_cmds need_locks \
6.19219 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
6.19220 + lt_cv_sys_global_symbol_to_c_name_address \
6.19221 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
6.19222 + old_postinstall_cmds old_postuninstall_cmds \
6.19223 + compiler_RC \
6.19224 + CC_RC \
6.19225 + LD_RC \
6.19226 + lt_prog_compiler_wl_RC \
6.19227 + lt_prog_compiler_pic_RC \
6.19228 + lt_prog_compiler_static_RC \
6.19229 + lt_prog_compiler_no_builtin_flag_RC \
6.19230 + export_dynamic_flag_spec_RC \
6.19231 + thread_safe_flag_spec_RC \
6.19232 + whole_archive_flag_spec_RC \
6.19233 + enable_shared_with_static_runtimes_RC \
6.19234 + old_archive_cmds_RC \
6.19235 + old_archive_from_new_cmds_RC \
6.19236 + predep_objects_RC \
6.19237 + postdep_objects_RC \
6.19238 + predeps_RC \
6.19239 + postdeps_RC \
6.19240 + compiler_lib_search_path_RC \
6.19241 + archive_cmds_RC \
6.19242 + archive_expsym_cmds_RC \
6.19243 + postinstall_cmds_RC \
6.19244 + postuninstall_cmds_RC \
6.19245 + old_archive_from_expsyms_cmds_RC \
6.19246 + allow_undefined_flag_RC \
6.19247 + no_undefined_flag_RC \
6.19248 + export_symbols_cmds_RC \
6.19249 + hardcode_libdir_flag_spec_RC \
6.19250 + hardcode_libdir_flag_spec_ld_RC \
6.19251 + hardcode_libdir_separator_RC \
6.19252 + hardcode_automatic_RC \
6.19253 + module_cmds_RC \
6.19254 + module_expsym_cmds_RC \
6.19255 + lt_cv_prog_compiler_c_o_RC \
6.19256 + exclude_expsyms_RC \
6.19257 + include_expsyms_RC; do
6.19258 +
6.19259 + case $var in
6.19260 + old_archive_cmds_RC | \
6.19261 + old_archive_from_new_cmds_RC | \
6.19262 + archive_cmds_RC | \
6.19263 + archive_expsym_cmds_RC | \
6.19264 + module_cmds_RC | \
6.19265 + module_expsym_cmds_RC | \
6.19266 + old_archive_from_expsyms_cmds_RC | \
6.19267 + export_symbols_cmds_RC | \
6.19268 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
6.19269 + postinstall_cmds | postuninstall_cmds | \
6.19270 + old_postinstall_cmds | old_postuninstall_cmds | \
6.19271 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
6.19272 + # Double-quote double-evaled strings.
6.19273 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
6.19274 + ;;
6.19275 + *)
6.19276 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
6.19277 + ;;
6.19278 + esac
6.19279 + done
6.19280 +
6.19281 + case $lt_echo in
6.19282 + *'\$0 --fallback-echo"')
6.19283 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
6.19284 + ;;
6.19285 + esac
6.19286 +
6.19287 +cfgfile="$ofile"
6.19288 +
6.19289 + cat <<__EOF__ >> "$cfgfile"
6.19290 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
6.19291 +
6.19292 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6.19293 +
6.19294 +# Shell to use when invoking shell scripts.
6.19295 +SHELL=$lt_SHELL
6.19296 +
6.19297 +# Whether or not to build shared libraries.
6.19298 +build_libtool_libs=$enable_shared
6.19299 +
6.19300 +# Whether or not to build static libraries.
6.19301 +build_old_libs=$enable_static
6.19302 +
6.19303 +# Whether or not to add -lc for building shared libraries.
6.19304 +build_libtool_need_lc=$archive_cmds_need_lc_RC
6.19305 +
6.19306 +# Whether or not to disallow shared libs when runtime libs are static
6.19307 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
6.19308 +
6.19309 +# Whether or not to optimize for fast installation.
6.19310 +fast_install=$enable_fast_install
6.19311 +
6.19312 +# The host system.
6.19313 +host_alias=$host_alias
6.19314 +host=$host
6.19315 +host_os=$host_os
6.19316 +
6.19317 +# The build system.
6.19318 +build_alias=$build_alias
6.19319 +build=$build
6.19320 +build_os=$build_os
6.19321 +
6.19322 +# An echo program that does not interpret backslashes.
6.19323 +echo=$lt_echo
6.19324 +
6.19325 +# The archiver.
6.19326 +AR=$lt_AR
6.19327 +AR_FLAGS=$lt_AR_FLAGS
6.19328 +
6.19329 +# A C compiler.
6.19330 +LTCC=$lt_LTCC
6.19331 +
6.19332 +# A language-specific compiler.
6.19333 +CC=$lt_compiler_RC
6.19334 +
6.19335 +# Is the compiler the GNU C compiler?
6.19336 +with_gcc=$GCC_RC
6.19337 +
6.19338 +# An ERE matcher.
6.19339 +EGREP=$lt_EGREP
6.19340 +
6.19341 +# The linker used to build libraries.
6.19342 +LD=$lt_LD_RC
6.19343 +
6.19344 +# Whether we need hard or soft links.
6.19345 +LN_S=$lt_LN_S
6.19346 +
6.19347 +# A BSD-compatible nm program.
6.19348 +NM=$lt_NM
6.19349 +
6.19350 +# A symbol stripping program
6.19351 +STRIP=$lt_STRIP
6.19352 +
6.19353 +# Used to examine libraries when file_magic_cmd begins "file"
6.19354 +MAGIC_CMD=$MAGIC_CMD
6.19355 +
6.19356 +# Used on cygwin: DLL creation program.
6.19357 +DLLTOOL="$DLLTOOL"
6.19358 +
6.19359 +# Used on cygwin: object dumper.
6.19360 +OBJDUMP="$OBJDUMP"
6.19361 +
6.19362 +# Used on cygwin: assembler.
6.19363 +AS="$AS"
6.19364 +
6.19365 +# The name of the directory that contains temporary libtool files.
6.19366 +objdir=$objdir
6.19367 +
6.19368 +# How to create reloadable object files.
6.19369 +reload_flag=$lt_reload_flag
6.19370 +reload_cmds=$lt_reload_cmds
6.19371 +
6.19372 +# How to pass a linker flag through the compiler.
6.19373 +wl=$lt_lt_prog_compiler_wl_RC
6.19374 +
6.19375 +# Object file suffix (normally "o").
6.19376 +objext="$ac_objext"
6.19377 +
6.19378 +# Old archive suffix (normally "a").
6.19379 +libext="$libext"
6.19380 +
6.19381 +# Shared library suffix (normally ".so").
6.19382 +shrext_cmds='$shrext_cmds'
6.19383 +
6.19384 +# Executable file suffix (normally "").
6.19385 +exeext="$exeext"
6.19386 +
6.19387 +# Additional compiler flags for building library objects.
6.19388 +pic_flag=$lt_lt_prog_compiler_pic_RC
6.19389 +pic_mode=$pic_mode
6.19390 +
6.19391 +# What is the maximum length of a command?
6.19392 +max_cmd_len=$lt_cv_sys_max_cmd_len
6.19393 +
6.19394 +# Does compiler simultaneously support -c and -o options?
6.19395 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
6.19396 +
6.19397 +# Must we lock files when doing compilation?
6.19398 +need_locks=$lt_need_locks
6.19399 +
6.19400 +# Do we need the lib prefix for modules?
6.19401 +need_lib_prefix=$need_lib_prefix
6.19402 +
6.19403 +# Do we need a version for libraries?
6.19404 +need_version=$need_version
6.19405 +
6.19406 +# Whether dlopen is supported.
6.19407 +dlopen_support=$enable_dlopen
6.19408 +
6.19409 +# Whether dlopen of programs is supported.
6.19410 +dlopen_self=$enable_dlopen_self
6.19411 +
6.19412 +# Whether dlopen of statically linked programs is supported.
6.19413 +dlopen_self_static=$enable_dlopen_self_static
6.19414 +
6.19415 +# Compiler flag to prevent dynamic linking.
6.19416 +link_static_flag=$lt_lt_prog_compiler_static_RC
6.19417 +
6.19418 +# Compiler flag to turn off builtin functions.
6.19419 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
6.19420 +
6.19421 +# Compiler flag to allow reflexive dlopens.
6.19422 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
6.19423 +
6.19424 +# Compiler flag to generate shared objects directly from archives.
6.19425 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
6.19426 +
6.19427 +# Compiler flag to generate thread-safe objects.
6.19428 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
6.19429 +
6.19430 +# Library versioning type.
6.19431 +version_type=$version_type
6.19432 +
6.19433 +# Format of library name prefix.
6.19434 +libname_spec=$lt_libname_spec
6.19435 +
6.19436 +# List of archive names. First name is the real one, the rest are links.
6.19437 +# The last name is the one that the linker finds with -lNAME.
6.19438 +library_names_spec=$lt_library_names_spec
6.19439 +
6.19440 +# The coded name of the library, if different from the real name.
6.19441 +soname_spec=$lt_soname_spec
6.19442 +
6.19443 +# Commands used to build and install an old-style archive.
6.19444 +RANLIB=$lt_RANLIB
6.19445 +old_archive_cmds=$lt_old_archive_cmds_RC
6.19446 +old_postinstall_cmds=$lt_old_postinstall_cmds
6.19447 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
6.19448 +
6.19449 +# Create an old-style archive from a shared archive.
6.19450 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
6.19451 +
6.19452 +# Create a temporary old-style archive to link instead of a shared archive.
6.19453 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
6.19454 +
6.19455 +# Commands used to build and install a shared archive.
6.19456 +archive_cmds=$lt_archive_cmds_RC
6.19457 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
6.19458 +postinstall_cmds=$lt_postinstall_cmds
6.19459 +postuninstall_cmds=$lt_postuninstall_cmds
6.19460 +
6.19461 +# Commands used to build a loadable module (assumed same as above if empty)
6.19462 +module_cmds=$lt_module_cmds_RC
6.19463 +module_expsym_cmds=$lt_module_expsym_cmds_RC
6.19464 +
6.19465 +# Commands to strip libraries.
6.19466 +old_striplib=$lt_old_striplib
6.19467 +striplib=$lt_striplib
6.19468 +
6.19469 +# Dependencies to place before the objects being linked to create a
6.19470 +# shared library.
6.19471 +predep_objects=$lt_predep_objects_RC
6.19472 +
6.19473 +# Dependencies to place after the objects being linked to create a
6.19474 +# shared library.
6.19475 +postdep_objects=$lt_postdep_objects_RC
6.19476 +
6.19477 +# Dependencies to place before the objects being linked to create a
6.19478 +# shared library.
6.19479 +predeps=$lt_predeps_RC
6.19480 +
6.19481 +# Dependencies to place after the objects being linked to create a
6.19482 +# shared library.
6.19483 +postdeps=$lt_postdeps_RC
6.19484 +
6.19485 +# The library search path used internally by the compiler when linking
6.19486 +# a shared library.
6.19487 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
6.19488 +
6.19489 +# Method to check whether dependent libraries are shared objects.
6.19490 +deplibs_check_method=$lt_deplibs_check_method
6.19491 +
6.19492 +# Command to use when deplibs_check_method == file_magic.
6.19493 +file_magic_cmd=$lt_file_magic_cmd
6.19494 +
6.19495 +# Flag that allows shared libraries with undefined symbols to be built.
6.19496 +allow_undefined_flag=$lt_allow_undefined_flag_RC
6.19497 +
6.19498 +# Flag that forces no undefined symbols.
6.19499 +no_undefined_flag=$lt_no_undefined_flag_RC
6.19500 +
6.19501 +# Commands used to finish a libtool library installation in a directory.
6.19502 +finish_cmds=$lt_finish_cmds
6.19503 +
6.19504 +# Same as above, but a single script fragment to be evaled but not shown.
6.19505 +finish_eval=$lt_finish_eval
6.19506 +
6.19507 +# Take the output of nm and produce a listing of raw symbols and C names.
6.19508 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6.19509 +
6.19510 +# Transform the output of nm in a proper C declaration
6.19511 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6.19512 +
6.19513 +# Transform the output of nm in a C name address pair
6.19514 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6.19515 +
6.19516 +# This is the shared library runtime path variable.
6.19517 +runpath_var=$runpath_var
6.19518 +
6.19519 +# This is the shared library path variable.
6.19520 +shlibpath_var=$shlibpath_var
6.19521 +
6.19522 +# Is shlibpath searched before the hard-coded library search path?
6.19523 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6.19524 +
6.19525 +# How to hardcode a shared library path into an executable.
6.19526 +hardcode_action=$hardcode_action_RC
6.19527 +
6.19528 +# Whether we should hardcode library paths into libraries.
6.19529 +hardcode_into_libs=$hardcode_into_libs
6.19530 +
6.19531 +# Flag to hardcode \$libdir into a binary during linking.
6.19532 +# This must work even if \$libdir does not exist.
6.19533 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
6.19534 +
6.19535 +# If ld is used when linking, flag to hardcode \$libdir into
6.19536 +# a binary during linking. This must work even if \$libdir does
6.19537 +# not exist.
6.19538 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
6.19539 +
6.19540 +# Whether we need a single -rpath flag with a separated argument.
6.19541 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
6.19542 +
6.19543 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6.19544 +# resulting binary.
6.19545 +hardcode_direct=$hardcode_direct_RC
6.19546 +
6.19547 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6.19548 +# resulting binary.
6.19549 +hardcode_minus_L=$hardcode_minus_L_RC
6.19550 +
6.19551 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6.19552 +# the resulting binary.
6.19553 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
6.19554 +
6.19555 +# Set to yes if building a shared library automatically hardcodes DIR into the library
6.19556 +# and all subsequent libraries and executables linked against it.
6.19557 +hardcode_automatic=$hardcode_automatic_RC
6.19558 +
6.19559 +# Variables whose values should be saved in libtool wrapper scripts and
6.19560 +# restored at relink time.
6.19561 +variables_saved_for_relink="$variables_saved_for_relink"
6.19562 +
6.19563 +# Whether libtool must link a program against all its dependency libraries.
6.19564 +link_all_deplibs=$link_all_deplibs_RC
6.19565 +
6.19566 +# Compile-time system search path for libraries
6.19567 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6.19568 +
6.19569 +# Run-time system search path for libraries
6.19570 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6.19571 +
6.19572 +# Fix the shell variable \$srcfile for the compiler.
6.19573 +fix_srcfile_path="$fix_srcfile_path_RC"
6.19574 +
6.19575 +# Set to yes if exported symbols are required.
6.19576 +always_export_symbols=$always_export_symbols_RC
6.19577 +
6.19578 +# The commands to list exported symbols.
6.19579 +export_symbols_cmds=$lt_export_symbols_cmds_RC
6.19580 +
6.19581 +# The commands to extract the exported symbol list from a shared archive.
6.19582 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
6.19583 +
6.19584 +# Symbols that should not be listed in the preloaded symbols.
6.19585 +exclude_expsyms=$lt_exclude_expsyms_RC
6.19586 +
6.19587 +# Symbols that must always be exported.
6.19588 +include_expsyms=$lt_include_expsyms_RC
6.19589 +
6.19590 +# ### END LIBTOOL TAG CONFIG: $tagname
6.19591 +
6.19592 +__EOF__
6.19593 +
6.19594 +
6.19595 +else
6.19596 + # If there is no Makefile yet, we rely on a make rule to execute
6.19597 + # `config.status --recheck' to rerun these tests and create the
6.19598 + # libtool script then.
6.19599 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6.19600 + if test -f "$ltmain_in"; then
6.19601 + test -f Makefile && make "$ltmain"
6.19602 + fi
6.19603 +fi
6.19604 +
6.19605 +
6.19606 +ac_ext=c
6.19607 +ac_cpp='$CPP $CPPFLAGS'
6.19608 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.19609 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.19610 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.19611 +
6.19612 +CC="$lt_save_CC"
6.19613 +
6.19614 + ;;
6.19615 +
6.19616 + *)
6.19617 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
6.19618 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
6.19619 + { (exit 1); exit 1; }; }
6.19620 + ;;
6.19621 + esac
6.19622 +
6.19623 + # Append the new tag name to the list of available tags.
6.19624 + if test -n "$tagname" ; then
6.19625 + available_tags="$available_tags $tagname"
6.19626 + fi
6.19627 + fi
6.19628 + done
6.19629 + IFS="$lt_save_ifs"
6.19630 +
6.19631 + # Now substitute the updated list of available tags.
6.19632 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
6.19633 + mv "${ofile}T" "$ofile"
6.19634 + chmod +x "$ofile"
6.19635 + else
6.19636 + rm -f "${ofile}T"
6.19637 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
6.19638 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
6.19639 + { (exit 1); exit 1; }; }
6.19640 + fi
6.19641 +fi
6.19642 +
6.19643 +
6.19644 +
6.19645 +# This can be used to rebuild libtool when needed
6.19646 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
6.19647 +
6.19648 +# Always use our own libtool.
6.19649 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6.19650 +
6.19651 +# Prevent multiple expansion
6.19652 +
6.19653 +
6.19654 +
6.19655 +
6.19656 +
6.19657 +
6.19658 +
6.19659 +
6.19660 +
6.19661 +
6.19662 +
6.19663 +
6.19664 +
6.19665 +
6.19666 +
6.19667 +
6.19668 +
6.19669 +
6.19670 +
6.19671 +
6.19672 +
6.19673 + ac_config_headers="$ac_config_headers config.h"
6.19674 +
6.19675 +
6.19676 +ACLOCAL_AMFLAGS="-I m4"
6.19677 +
6.19678 +
6.19679 +ac_ext=c
6.19680 +ac_cpp='$CPP $CPPFLAGS'
6.19681 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.19682 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.19683 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.19684 +if test -n "$ac_tool_prefix"; then
6.19685 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6.19686 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
6.19687 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19688 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19689 +if test "${ac_cv_prog_CC+set}" = set; then
6.19690 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.19691 +else
6.19692 + if test -n "$CC"; then
6.19693 + ac_cv_prog_CC="$CC" # Let the user override the test.
6.19694 +else
6.19695 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19696 +for as_dir in $PATH
6.19697 +do
6.19698 + IFS=$as_save_IFS
6.19699 + test -z "$as_dir" && as_dir=.
6.19700 + for ac_exec_ext in '' $ac_executable_extensions; do
6.19701 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19702 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
6.19703 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19704 + break 2
6.19705 + fi
6.19706 +done
6.19707 +done
6.19708 +
6.19709 +fi
6.19710 +fi
6.19711 +CC=$ac_cv_prog_CC
6.19712 +if test -n "$CC"; then
6.19713 + echo "$as_me:$LINENO: result: $CC" >&5
6.19714 +echo "${ECHO_T}$CC" >&6
6.19715 +else
6.19716 + echo "$as_me:$LINENO: result: no" >&5
6.19717 +echo "${ECHO_T}no" >&6
6.19718 +fi
6.19719 +
6.19720 +fi
6.19721 +if test -z "$ac_cv_prog_CC"; then
6.19722 + ac_ct_CC=$CC
6.19723 + # Extract the first word of "gcc", so it can be a program name with args.
6.19724 +set dummy gcc; ac_word=$2
6.19725 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19726 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19727 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.19728 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.19729 +else
6.19730 + if test -n "$ac_ct_CC"; then
6.19731 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.19732 +else
6.19733 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19734 +for as_dir in $PATH
6.19735 +do
6.19736 + IFS=$as_save_IFS
6.19737 + test -z "$as_dir" && as_dir=.
6.19738 + for ac_exec_ext in '' $ac_executable_extensions; do
6.19739 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19740 + ac_cv_prog_ac_ct_CC="gcc"
6.19741 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19742 + break 2
6.19743 + fi
6.19744 +done
6.19745 +done
6.19746 +
6.19747 +fi
6.19748 +fi
6.19749 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.19750 +if test -n "$ac_ct_CC"; then
6.19751 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.19752 +echo "${ECHO_T}$ac_ct_CC" >&6
6.19753 +else
6.19754 + echo "$as_me:$LINENO: result: no" >&5
6.19755 +echo "${ECHO_T}no" >&6
6.19756 +fi
6.19757 +
6.19758 + CC=$ac_ct_CC
6.19759 +else
6.19760 + CC="$ac_cv_prog_CC"
6.19761 +fi
6.19762 +
6.19763 +if test -z "$CC"; then
6.19764 + if test -n "$ac_tool_prefix"; then
6.19765 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6.19766 +set dummy ${ac_tool_prefix}cc; ac_word=$2
6.19767 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19768 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19769 +if test "${ac_cv_prog_CC+set}" = set; then
6.19770 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.19771 +else
6.19772 + if test -n "$CC"; then
6.19773 + ac_cv_prog_CC="$CC" # Let the user override the test.
6.19774 +else
6.19775 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19776 +for as_dir in $PATH
6.19777 +do
6.19778 + IFS=$as_save_IFS
6.19779 + test -z "$as_dir" && as_dir=.
6.19780 + for ac_exec_ext in '' $ac_executable_extensions; do
6.19781 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19782 + ac_cv_prog_CC="${ac_tool_prefix}cc"
6.19783 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19784 + break 2
6.19785 + fi
6.19786 +done
6.19787 +done
6.19788 +
6.19789 +fi
6.19790 +fi
6.19791 +CC=$ac_cv_prog_CC
6.19792 +if test -n "$CC"; then
6.19793 + echo "$as_me:$LINENO: result: $CC" >&5
6.19794 +echo "${ECHO_T}$CC" >&6
6.19795 +else
6.19796 + echo "$as_me:$LINENO: result: no" >&5
6.19797 +echo "${ECHO_T}no" >&6
6.19798 +fi
6.19799 +
6.19800 +fi
6.19801 +if test -z "$ac_cv_prog_CC"; then
6.19802 + ac_ct_CC=$CC
6.19803 + # Extract the first word of "cc", so it can be a program name with args.
6.19804 +set dummy cc; ac_word=$2
6.19805 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19806 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19807 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.19808 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.19809 +else
6.19810 + if test -n "$ac_ct_CC"; then
6.19811 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.19812 +else
6.19813 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19814 +for as_dir in $PATH
6.19815 +do
6.19816 + IFS=$as_save_IFS
6.19817 + test -z "$as_dir" && as_dir=.
6.19818 + for ac_exec_ext in '' $ac_executable_extensions; do
6.19819 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19820 + ac_cv_prog_ac_ct_CC="cc"
6.19821 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19822 + break 2
6.19823 + fi
6.19824 +done
6.19825 +done
6.19826 +
6.19827 +fi
6.19828 +fi
6.19829 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.19830 +if test -n "$ac_ct_CC"; then
6.19831 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.19832 +echo "${ECHO_T}$ac_ct_CC" >&6
6.19833 +else
6.19834 + echo "$as_me:$LINENO: result: no" >&5
6.19835 +echo "${ECHO_T}no" >&6
6.19836 +fi
6.19837 +
6.19838 + CC=$ac_ct_CC
6.19839 +else
6.19840 + CC="$ac_cv_prog_CC"
6.19841 +fi
6.19842 +
6.19843 +fi
6.19844 +if test -z "$CC"; then
6.19845 + # Extract the first word of "cc", so it can be a program name with args.
6.19846 +set dummy cc; ac_word=$2
6.19847 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19848 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19849 +if test "${ac_cv_prog_CC+set}" = set; then
6.19850 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.19851 +else
6.19852 + if test -n "$CC"; then
6.19853 + ac_cv_prog_CC="$CC" # Let the user override the test.
6.19854 +else
6.19855 + ac_prog_rejected=no
6.19856 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19857 +for as_dir in $PATH
6.19858 +do
6.19859 + IFS=$as_save_IFS
6.19860 + test -z "$as_dir" && as_dir=.
6.19861 + for ac_exec_ext in '' $ac_executable_extensions; do
6.19862 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19863 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6.19864 + ac_prog_rejected=yes
6.19865 + continue
6.19866 + fi
6.19867 + ac_cv_prog_CC="cc"
6.19868 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19869 + break 2
6.19870 + fi
6.19871 +done
6.19872 +done
6.19873 +
6.19874 +if test $ac_prog_rejected = yes; then
6.19875 + # We found a bogon in the path, so make sure we never use it.
6.19876 + set dummy $ac_cv_prog_CC
6.19877 + shift
6.19878 + if test $@%:@ != 0; then
6.19879 + # We chose a different compiler from the bogus one.
6.19880 + # However, it has the same basename, so the bogon will be chosen
6.19881 + # first if we set CC to just the basename; use the full file name.
6.19882 + shift
6.19883 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6.19884 + fi
6.19885 +fi
6.19886 +fi
6.19887 +fi
6.19888 +CC=$ac_cv_prog_CC
6.19889 +if test -n "$CC"; then
6.19890 + echo "$as_me:$LINENO: result: $CC" >&5
6.19891 +echo "${ECHO_T}$CC" >&6
6.19892 +else
6.19893 + echo "$as_me:$LINENO: result: no" >&5
6.19894 +echo "${ECHO_T}no" >&6
6.19895 +fi
6.19896 +
6.19897 +fi
6.19898 +if test -z "$CC"; then
6.19899 + if test -n "$ac_tool_prefix"; then
6.19900 + for ac_prog in cl
6.19901 + do
6.19902 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6.19903 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6.19904 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19905 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19906 +if test "${ac_cv_prog_CC+set}" = set; then
6.19907 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.19908 +else
6.19909 + if test -n "$CC"; then
6.19910 + ac_cv_prog_CC="$CC" # Let the user override the test.
6.19911 +else
6.19912 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19913 +for as_dir in $PATH
6.19914 +do
6.19915 + IFS=$as_save_IFS
6.19916 + test -z "$as_dir" && as_dir=.
6.19917 + for ac_exec_ext in '' $ac_executable_extensions; do
6.19918 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19919 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6.19920 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19921 + break 2
6.19922 + fi
6.19923 +done
6.19924 +done
6.19925 +
6.19926 +fi
6.19927 +fi
6.19928 +CC=$ac_cv_prog_CC
6.19929 +if test -n "$CC"; then
6.19930 + echo "$as_me:$LINENO: result: $CC" >&5
6.19931 +echo "${ECHO_T}$CC" >&6
6.19932 +else
6.19933 + echo "$as_me:$LINENO: result: no" >&5
6.19934 +echo "${ECHO_T}no" >&6
6.19935 +fi
6.19936 +
6.19937 + test -n "$CC" && break
6.19938 + done
6.19939 +fi
6.19940 +if test -z "$CC"; then
6.19941 + ac_ct_CC=$CC
6.19942 + for ac_prog in cl
6.19943 +do
6.19944 + # Extract the first word of "$ac_prog", so it can be a program name with args.
6.19945 +set dummy $ac_prog; ac_word=$2
6.19946 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.19947 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.19948 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6.19949 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.19950 +else
6.19951 + if test -n "$ac_ct_CC"; then
6.19952 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6.19953 +else
6.19954 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.19955 +for as_dir in $PATH
6.19956 +do
6.19957 + IFS=$as_save_IFS
6.19958 + test -z "$as_dir" && as_dir=.
6.19959 + for ac_exec_ext in '' $ac_executable_extensions; do
6.19960 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.19961 + ac_cv_prog_ac_ct_CC="$ac_prog"
6.19962 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.19963 + break 2
6.19964 + fi
6.19965 +done
6.19966 +done
6.19967 +
6.19968 +fi
6.19969 +fi
6.19970 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
6.19971 +if test -n "$ac_ct_CC"; then
6.19972 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6.19973 +echo "${ECHO_T}$ac_ct_CC" >&6
6.19974 +else
6.19975 + echo "$as_me:$LINENO: result: no" >&5
6.19976 +echo "${ECHO_T}no" >&6
6.19977 +fi
6.19978 +
6.19979 + test -n "$ac_ct_CC" && break
6.19980 +done
6.19981 +
6.19982 + CC=$ac_ct_CC
6.19983 +fi
6.19984 +
6.19985 +fi
6.19986 +
6.19987 +
6.19988 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6.19989 +See \`config.log' for more details." >&5
6.19990 +echo "$as_me: error: no acceptable C compiler found in \$PATH
6.19991 +See \`config.log' for more details." >&2;}
6.19992 + { (exit 1); exit 1; }; }
6.19993 +
6.19994 +# Provide some information about the compiler.
6.19995 +echo "$as_me:$LINENO:" \
6.19996 + "checking for C compiler version" >&5
6.19997 +ac_compiler=`set X $ac_compile; echo $2`
6.19998 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6.19999 + (eval $ac_compiler --version </dev/null >&5) 2>&5
6.20000 + ac_status=$?
6.20001 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20002 + (exit $ac_status); }
6.20003 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6.20004 + (eval $ac_compiler -v </dev/null >&5) 2>&5
6.20005 + ac_status=$?
6.20006 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20007 + (exit $ac_status); }
6.20008 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6.20009 + (eval $ac_compiler -V </dev/null >&5) 2>&5
6.20010 + ac_status=$?
6.20011 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20012 + (exit $ac_status); }
6.20013 +
6.20014 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6.20015 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6.20016 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
6.20017 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.20018 +else
6.20019 + cat >conftest.$ac_ext <<_ACEOF
6.20020 +/* confdefs.h. */
6.20021 +_ACEOF
6.20022 +cat confdefs.h >>conftest.$ac_ext
6.20023 +cat >>conftest.$ac_ext <<_ACEOF
6.20024 +/* end confdefs.h. */
6.20025 +
6.20026 +int
6.20027 +main ()
6.20028 +{
6.20029 +#ifndef __GNUC__
6.20030 + choke me
6.20031 +#endif
6.20032 +
6.20033 + ;
6.20034 + return 0;
6.20035 +}
6.20036 +_ACEOF
6.20037 +rm -f conftest.$ac_objext
6.20038 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20039 + (eval $ac_compile) 2>conftest.er1
6.20040 + ac_status=$?
6.20041 + grep -v '^ *+' conftest.er1 >conftest.err
6.20042 + rm -f conftest.er1
6.20043 + cat conftest.err >&5
6.20044 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20045 + (exit $ac_status); } &&
6.20046 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20047 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20048 + (eval $ac_try) 2>&5
6.20049 + ac_status=$?
6.20050 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20051 + (exit $ac_status); }; } &&
6.20052 + { ac_try='test -s conftest.$ac_objext'
6.20053 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20054 + (eval $ac_try) 2>&5
6.20055 + ac_status=$?
6.20056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20057 + (exit $ac_status); }; }; then
6.20058 + ac_compiler_gnu=yes
6.20059 +else
6.20060 + echo "$as_me: failed program was:" >&5
6.20061 +sed 's/^/| /' conftest.$ac_ext >&5
6.20062 +
6.20063 +ac_compiler_gnu=no
6.20064 +fi
6.20065 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20066 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
6.20067 +
6.20068 +fi
6.20069 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6.20070 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6.20071 +GCC=`test $ac_compiler_gnu = yes && echo yes`
6.20072 +ac_test_CFLAGS=${CFLAGS+set}
6.20073 +ac_save_CFLAGS=$CFLAGS
6.20074 +CFLAGS="-g"
6.20075 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6.20076 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6.20077 +if test "${ac_cv_prog_cc_g+set}" = set; then
6.20078 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.20079 +else
6.20080 + cat >conftest.$ac_ext <<_ACEOF
6.20081 +/* confdefs.h. */
6.20082 +_ACEOF
6.20083 +cat confdefs.h >>conftest.$ac_ext
6.20084 +cat >>conftest.$ac_ext <<_ACEOF
6.20085 +/* end confdefs.h. */
6.20086 +
6.20087 +int
6.20088 +main ()
6.20089 +{
6.20090 +
6.20091 + ;
6.20092 + return 0;
6.20093 +}
6.20094 +_ACEOF
6.20095 +rm -f conftest.$ac_objext
6.20096 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20097 + (eval $ac_compile) 2>conftest.er1
6.20098 + ac_status=$?
6.20099 + grep -v '^ *+' conftest.er1 >conftest.err
6.20100 + rm -f conftest.er1
6.20101 + cat conftest.err >&5
6.20102 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20103 + (exit $ac_status); } &&
6.20104 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20105 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20106 + (eval $ac_try) 2>&5
6.20107 + ac_status=$?
6.20108 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20109 + (exit $ac_status); }; } &&
6.20110 + { ac_try='test -s conftest.$ac_objext'
6.20111 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20112 + (eval $ac_try) 2>&5
6.20113 + ac_status=$?
6.20114 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20115 + (exit $ac_status); }; }; then
6.20116 + ac_cv_prog_cc_g=yes
6.20117 +else
6.20118 + echo "$as_me: failed program was:" >&5
6.20119 +sed 's/^/| /' conftest.$ac_ext >&5
6.20120 +
6.20121 +ac_cv_prog_cc_g=no
6.20122 +fi
6.20123 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20124 +fi
6.20125 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6.20126 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6.20127 +if test "$ac_test_CFLAGS" = set; then
6.20128 + CFLAGS=$ac_save_CFLAGS
6.20129 +elif test $ac_cv_prog_cc_g = yes; then
6.20130 + if test "$GCC" = yes; then
6.20131 + CFLAGS="-g -O2"
6.20132 + else
6.20133 + CFLAGS="-g"
6.20134 + fi
6.20135 +else
6.20136 + if test "$GCC" = yes; then
6.20137 + CFLAGS="-O2"
6.20138 + else
6.20139 + CFLAGS=
6.20140 + fi
6.20141 +fi
6.20142 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6.20143 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6.20144 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
6.20145 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.20146 +else
6.20147 + ac_cv_prog_cc_stdc=no
6.20148 +ac_save_CC=$CC
6.20149 +cat >conftest.$ac_ext <<_ACEOF
6.20150 +/* confdefs.h. */
6.20151 +_ACEOF
6.20152 +cat confdefs.h >>conftest.$ac_ext
6.20153 +cat >>conftest.$ac_ext <<_ACEOF
6.20154 +/* end confdefs.h. */
6.20155 +#include <stdarg.h>
6.20156 +#include <stdio.h>
6.20157 +#include <sys/types.h>
6.20158 +#include <sys/stat.h>
6.20159 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6.20160 +struct buf { int x; };
6.20161 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
6.20162 +static char *e (p, i)
6.20163 + char **p;
6.20164 + int i;
6.20165 +{
6.20166 + return p[i];
6.20167 +}
6.20168 +static char *f (char * (*g) (char **, int), char **p, ...)
6.20169 +{
6.20170 + char *s;
6.20171 + va_list v;
6.20172 + va_start (v,p);
6.20173 + s = g (p, va_arg (v,int));
6.20174 + va_end (v);
6.20175 + return s;
6.20176 +}
6.20177 +
6.20178 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6.20179 + function prototypes and stuff, but not '\xHH' hex character constants.
6.20180 + These don't provoke an error unfortunately, instead are silently treated
6.20181 + as 'x'. The following induces an error, until -std1 is added to get
6.20182 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6.20183 + array size at least. It's necessary to write '\x00'==0 to get something
6.20184 + that's true only with -std1. */
6.20185 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6.20186 +
6.20187 +int test (int i, double x);
6.20188 +struct s1 {int (*f) (int a);};
6.20189 +struct s2 {int (*f) (double a);};
6.20190 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6.20191 +int argc;
6.20192 +char **argv;
6.20193 +int
6.20194 +main ()
6.20195 +{
6.20196 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6.20197 + ;
6.20198 + return 0;
6.20199 +}
6.20200 +_ACEOF
6.20201 +# Don't try gcc -ansi; that turns off useful extensions and
6.20202 +# breaks some systems' header files.
6.20203 +# AIX -qlanglvl=ansi
6.20204 +# Ultrix and OSF/1 -std1
6.20205 +# HP-UX 10.20 and later -Ae
6.20206 +# HP-UX older versions -Aa -D_HPUX_SOURCE
6.20207 +# SVR4 -Xc -D__EXTENSIONS__
6.20208 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6.20209 +do
6.20210 + CC="$ac_save_CC $ac_arg"
6.20211 + rm -f conftest.$ac_objext
6.20212 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20213 + (eval $ac_compile) 2>conftest.er1
6.20214 + ac_status=$?
6.20215 + grep -v '^ *+' conftest.er1 >conftest.err
6.20216 + rm -f conftest.er1
6.20217 + cat conftest.err >&5
6.20218 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20219 + (exit $ac_status); } &&
6.20220 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20221 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20222 + (eval $ac_try) 2>&5
6.20223 + ac_status=$?
6.20224 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20225 + (exit $ac_status); }; } &&
6.20226 + { ac_try='test -s conftest.$ac_objext'
6.20227 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20228 + (eval $ac_try) 2>&5
6.20229 + ac_status=$?
6.20230 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20231 + (exit $ac_status); }; }; then
6.20232 + ac_cv_prog_cc_stdc=$ac_arg
6.20233 +break
6.20234 +else
6.20235 + echo "$as_me: failed program was:" >&5
6.20236 +sed 's/^/| /' conftest.$ac_ext >&5
6.20237 +
6.20238 +fi
6.20239 +rm -f conftest.err conftest.$ac_objext
6.20240 +done
6.20241 +rm -f conftest.$ac_ext conftest.$ac_objext
6.20242 +CC=$ac_save_CC
6.20243 +
6.20244 +fi
6.20245 +
6.20246 +case "x$ac_cv_prog_cc_stdc" in
6.20247 + x|xno)
6.20248 + echo "$as_me:$LINENO: result: none needed" >&5
6.20249 +echo "${ECHO_T}none needed" >&6 ;;
6.20250 + *)
6.20251 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6.20252 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6.20253 + CC="$CC $ac_cv_prog_cc_stdc" ;;
6.20254 +esac
6.20255 +
6.20256 +# Some people use a C++ compiler to compile C. Since we use `exit',
6.20257 +# in C++ we need to declare it. In case someone uses the same compiler
6.20258 +# for both compiling C and C++ we need to have the C++ compiler decide
6.20259 +# the declaration of exit, since it's the most demanding environment.
6.20260 +cat >conftest.$ac_ext <<_ACEOF
6.20261 +@%:@ifndef __cplusplus
6.20262 + choke me
6.20263 +@%:@endif
6.20264 +_ACEOF
6.20265 +rm -f conftest.$ac_objext
6.20266 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20267 + (eval $ac_compile) 2>conftest.er1
6.20268 + ac_status=$?
6.20269 + grep -v '^ *+' conftest.er1 >conftest.err
6.20270 + rm -f conftest.er1
6.20271 + cat conftest.err >&5
6.20272 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20273 + (exit $ac_status); } &&
6.20274 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20275 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20276 + (eval $ac_try) 2>&5
6.20277 + ac_status=$?
6.20278 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20279 + (exit $ac_status); }; } &&
6.20280 + { ac_try='test -s conftest.$ac_objext'
6.20281 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20282 + (eval $ac_try) 2>&5
6.20283 + ac_status=$?
6.20284 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20285 + (exit $ac_status); }; }; then
6.20286 + for ac_declaration in \
6.20287 + '' \
6.20288 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
6.20289 + 'extern "C" void std::exit (int); using std::exit;' \
6.20290 + 'extern "C" void exit (int) throw ();' \
6.20291 + 'extern "C" void exit (int);' \
6.20292 + 'void exit (int);'
6.20293 +do
6.20294 + cat >conftest.$ac_ext <<_ACEOF
6.20295 +/* confdefs.h. */
6.20296 +_ACEOF
6.20297 +cat confdefs.h >>conftest.$ac_ext
6.20298 +cat >>conftest.$ac_ext <<_ACEOF
6.20299 +/* end confdefs.h. */
6.20300 +$ac_declaration
6.20301 +@%:@include <stdlib.h>
6.20302 +int
6.20303 +main ()
6.20304 +{
6.20305 +exit (42);
6.20306 + ;
6.20307 + return 0;
6.20308 +}
6.20309 +_ACEOF
6.20310 +rm -f conftest.$ac_objext
6.20311 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20312 + (eval $ac_compile) 2>conftest.er1
6.20313 + ac_status=$?
6.20314 + grep -v '^ *+' conftest.er1 >conftest.err
6.20315 + rm -f conftest.er1
6.20316 + cat conftest.err >&5
6.20317 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20318 + (exit $ac_status); } &&
6.20319 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20320 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20321 + (eval $ac_try) 2>&5
6.20322 + ac_status=$?
6.20323 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20324 + (exit $ac_status); }; } &&
6.20325 + { ac_try='test -s conftest.$ac_objext'
6.20326 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20327 + (eval $ac_try) 2>&5
6.20328 + ac_status=$?
6.20329 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20330 + (exit $ac_status); }; }; then
6.20331 + :
6.20332 +else
6.20333 + echo "$as_me: failed program was:" >&5
6.20334 +sed 's/^/| /' conftest.$ac_ext >&5
6.20335 +
6.20336 +continue
6.20337 +fi
6.20338 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20339 + cat >conftest.$ac_ext <<_ACEOF
6.20340 +/* confdefs.h. */
6.20341 +_ACEOF
6.20342 +cat confdefs.h >>conftest.$ac_ext
6.20343 +cat >>conftest.$ac_ext <<_ACEOF
6.20344 +/* end confdefs.h. */
6.20345 +$ac_declaration
6.20346 +int
6.20347 +main ()
6.20348 +{
6.20349 +exit (42);
6.20350 + ;
6.20351 + return 0;
6.20352 +}
6.20353 +_ACEOF
6.20354 +rm -f conftest.$ac_objext
6.20355 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20356 + (eval $ac_compile) 2>conftest.er1
6.20357 + ac_status=$?
6.20358 + grep -v '^ *+' conftest.er1 >conftest.err
6.20359 + rm -f conftest.er1
6.20360 + cat conftest.err >&5
6.20361 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20362 + (exit $ac_status); } &&
6.20363 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20364 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20365 + (eval $ac_try) 2>&5
6.20366 + ac_status=$?
6.20367 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20368 + (exit $ac_status); }; } &&
6.20369 + { ac_try='test -s conftest.$ac_objext'
6.20370 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20371 + (eval $ac_try) 2>&5
6.20372 + ac_status=$?
6.20373 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20374 + (exit $ac_status); }; }; then
6.20375 + break
6.20376 +else
6.20377 + echo "$as_me: failed program was:" >&5
6.20378 +sed 's/^/| /' conftest.$ac_ext >&5
6.20379 +
6.20380 +fi
6.20381 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20382 +done
6.20383 +rm -f conftest*
6.20384 +if test -n "$ac_declaration"; then
6.20385 + echo '#ifdef __cplusplus' >>confdefs.h
6.20386 + echo $ac_declaration >>confdefs.h
6.20387 + echo '#endif' >>confdefs.h
6.20388 +fi
6.20389 +
6.20390 +else
6.20391 + echo "$as_me: failed program was:" >&5
6.20392 +sed 's/^/| /' conftest.$ac_ext >&5
6.20393 +
6.20394 +fi
6.20395 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20396 +ac_ext=c
6.20397 +ac_cpp='$CPP $CPPFLAGS'
6.20398 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.20399 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.20400 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.20401 +
6.20402 +depcc="$CC" am_compiler_list=
6.20403 +
6.20404 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6.20405 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6.20406 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6.20407 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.20408 +else
6.20409 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6.20410 + # We make a subdir and do the tests there. Otherwise we can end up
6.20411 + # making bogus files that we don't know about and never remove. For
6.20412 + # instance it was reported that on HP-UX the gcc test will end up
6.20413 + # making a dummy file named `D' -- because `-MD' means `put the output
6.20414 + # in D'.
6.20415 + mkdir conftest.dir
6.20416 + # Copy depcomp to subdir because otherwise we won't find it if we're
6.20417 + # using a relative directory.
6.20418 + cp "$am_depcomp" conftest.dir
6.20419 + cd conftest.dir
6.20420 + # We will build objects and dependencies in a subdirectory because
6.20421 + # it helps to detect inapplicable dependency modes. For instance
6.20422 + # both Tru64's cc and ICC support -MD to output dependencies as a
6.20423 + # side effect of compilation, but ICC will put the dependencies in
6.20424 + # the current directory while Tru64 will put them in the object
6.20425 + # directory.
6.20426 + mkdir sub
6.20427 +
6.20428 + am_cv_CC_dependencies_compiler_type=none
6.20429 + if test "$am_compiler_list" = ""; then
6.20430 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6.20431 + fi
6.20432 + for depmode in $am_compiler_list; do
6.20433 + # Setup a source with many dependencies, because some compilers
6.20434 + # like to wrap large dependency lists on column 80 (with \), and
6.20435 + # we should not choose a depcomp mode which is confused by this.
6.20436 + #
6.20437 + # We need to recreate these files for each test, as the compiler may
6.20438 + # overwrite some of them when testing with obscure command lines.
6.20439 + # This happens at least with the AIX C compiler.
6.20440 + : > sub/conftest.c
6.20441 + for i in 1 2 3 4 5 6; do
6.20442 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
6.20443 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6.20444 + # Solaris 8's {/usr,}/bin/sh.
6.20445 + touch sub/conftst$i.h
6.20446 + done
6.20447 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6.20448 +
6.20449 + case $depmode in
6.20450 + nosideeffect)
6.20451 + # after this tag, mechanisms are not by side-effect, so they'll
6.20452 + # only be used when explicitly requested
6.20453 + if test "x$enable_dependency_tracking" = xyes; then
6.20454 + continue
6.20455 + else
6.20456 + break
6.20457 + fi
6.20458 + ;;
6.20459 + none) break ;;
6.20460 + esac
6.20461 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
6.20462 + # mode. It turns out that the SunPro C++ compiler does not properly
6.20463 + # handle `-M -o', and we need to detect this.
6.20464 + if depmode=$depmode \
6.20465 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6.20466 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6.20467 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6.20468 + >/dev/null 2>conftest.err &&
6.20469 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6.20470 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6.20471 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6.20472 + # icc doesn't choke on unknown options, it will just issue warnings
6.20473 + # or remarks (even with -Werror). So we grep stderr for any message
6.20474 + # that says an option was ignored or not supported.
6.20475 + # When given -MP, icc 7.0 and 7.1 complain thusly:
6.20476 + # icc: Command line warning: ignoring option '-M'; no argument required
6.20477 + # The diagnosis changed in icc 8.0:
6.20478 + # icc: Command line remark: option '-MP' not supported
6.20479 + if (grep 'ignoring option' conftest.err ||
6.20480 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6.20481 + am_cv_CC_dependencies_compiler_type=$depmode
6.20482 + break
6.20483 + fi
6.20484 + fi
6.20485 + done
6.20486 +
6.20487 + cd ..
6.20488 + rm -rf conftest.dir
6.20489 +else
6.20490 + am_cv_CC_dependencies_compiler_type=none
6.20491 +fi
6.20492 +
6.20493 +fi
6.20494 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6.20495 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6.20496 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6.20497 +
6.20498 +
6.20499 +
6.20500 +if
6.20501 + test "x$enable_dependency_tracking" != xno \
6.20502 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6.20503 + am__fastdepCC_TRUE=
6.20504 + am__fastdepCC_FALSE='#'
6.20505 +else
6.20506 + am__fastdepCC_TRUE='#'
6.20507 + am__fastdepCC_FALSE=
6.20508 +fi
6.20509 +
6.20510 +
6.20511 +
6.20512 +# By default we simply use the C compiler to build assembly code.
6.20513 +
6.20514 +test "${CCAS+set}" = set || CCAS=$CC
6.20515 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
6.20516 +
6.20517 +
6.20518 +
6.20519 +
6.20520 +
6.20521 + echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
6.20522 +echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6
6.20523 +
6.20524 + save_CFLAGS="$CFLAGS"
6.20525 + CFLAGS="$CFLAGS -Wall"
6.20526 +
6.20527 + cat >conftest.$ac_ext <<_ACEOF
6.20528 +/* confdefs.h. */
6.20529 +_ACEOF
6.20530 +cat confdefs.h >>conftest.$ac_ext
6.20531 +cat >>conftest.$ac_ext <<_ACEOF
6.20532 +/* end confdefs.h. */
6.20533 +
6.20534 +int
6.20535 +main ()
6.20536 +{
6.20537 +
6.20538 + ;
6.20539 + return 0;
6.20540 +}
6.20541 +_ACEOF
6.20542 +rm -f conftest.$ac_objext
6.20543 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20544 + (eval $ac_compile) 2>conftest.er1
6.20545 + ac_status=$?
6.20546 + grep -v '^ *+' conftest.er1 >conftest.err
6.20547 + rm -f conftest.er1
6.20548 + cat conftest.err >&5
6.20549 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20550 + (exit $ac_status); } &&
6.20551 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20552 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20553 + (eval $ac_try) 2>&5
6.20554 + ac_status=$?
6.20555 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20556 + (exit $ac_status); }; } &&
6.20557 + { ac_try='test -s conftest.$ac_objext'
6.20558 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20559 + (eval $ac_try) 2>&5
6.20560 + ac_status=$?
6.20561 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20562 + (exit $ac_status); }; }; then
6.20563 + flag_ok=yes
6.20564 +else
6.20565 + echo "$as_me: failed program was:" >&5
6.20566 +sed 's/^/| /' conftest.$ac_ext >&5
6.20567 +
6.20568 +flag_ok=no
6.20569 +fi
6.20570 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20571 + CFLAGS="$save_CFLAGS"
6.20572 +
6.20573 + if test "X$flag_ok" = Xyes ; then
6.20574 + GST_WALL="yes"
6.20575 + true
6.20576 + else
6.20577 + GST_WALL="no"
6.20578 + true
6.20579 + fi
6.20580 + echo "$as_me:$LINENO: result: $flag_ok" >&5
6.20581 +echo "${ECHO_T}$flag_ok" >&6
6.20582 +
6.20583 +
6.20584 +if test "x$GST_WALL" = "xyes"; then
6.20585 + ERROR_CFLAGS="$GST_ERROR -Wall"
6.20586 +
6.20587 + if test "x$GST_CVS" = "xyes"; then
6.20588 +
6.20589 + echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
6.20590 +echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6
6.20591 +
6.20592 + save_CFLAGS="$CFLAGS"
6.20593 + CFLAGS="$CFLAGS -Werror"
6.20594 +
6.20595 + cat >conftest.$ac_ext <<_ACEOF
6.20596 +/* confdefs.h. */
6.20597 +_ACEOF
6.20598 +cat confdefs.h >>conftest.$ac_ext
6.20599 +cat >>conftest.$ac_ext <<_ACEOF
6.20600 +/* end confdefs.h. */
6.20601 +
6.20602 +int
6.20603 +main ()
6.20604 +{
6.20605 +
6.20606 + ;
6.20607 + return 0;
6.20608 +}
6.20609 +_ACEOF
6.20610 +rm -f conftest.$ac_objext
6.20611 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20612 + (eval $ac_compile) 2>conftest.er1
6.20613 + ac_status=$?
6.20614 + grep -v '^ *+' conftest.er1 >conftest.err
6.20615 + rm -f conftest.er1
6.20616 + cat conftest.err >&5
6.20617 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20618 + (exit $ac_status); } &&
6.20619 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.20620 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20621 + (eval $ac_try) 2>&5
6.20622 + ac_status=$?
6.20623 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20624 + (exit $ac_status); }; } &&
6.20625 + { ac_try='test -s conftest.$ac_objext'
6.20626 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20627 + (eval $ac_try) 2>&5
6.20628 + ac_status=$?
6.20629 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20630 + (exit $ac_status); }; }; then
6.20631 + flag_ok=yes
6.20632 +else
6.20633 + echo "$as_me: failed program was:" >&5
6.20634 +sed 's/^/| /' conftest.$ac_ext >&5
6.20635 +
6.20636 +flag_ok=no
6.20637 +fi
6.20638 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20639 + CFLAGS="$save_CFLAGS"
6.20640 +
6.20641 + if test "X$flag_ok" = Xyes ; then
6.20642 + ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
6.20643 + true
6.20644 + else
6.20645 + ERROR_CFLAGS="$ERROR_CFLAGS"
6.20646 + true
6.20647 + fi
6.20648 + echo "$as_me:$LINENO: result: $flag_ok" >&5
6.20649 +echo "${ECHO_T}$flag_ok" >&6
6.20650 +
6.20651 + fi
6.20652 +fi
6.20653 +
6.20654 +
6.20655 +
6.20656 +ac_ext=cc
6.20657 +ac_cpp='$CXXCPP $CPPFLAGS'
6.20658 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.20659 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.20660 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.20661 +if test -n "$ac_tool_prefix"; then
6.20662 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6.20663 + do
6.20664 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6.20665 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6.20666 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.20667 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.20668 +if test "${ac_cv_prog_CXX+set}" = set; then
6.20669 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.20670 +else
6.20671 + if test -n "$CXX"; then
6.20672 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
6.20673 +else
6.20674 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.20675 +for as_dir in $PATH
6.20676 +do
6.20677 + IFS=$as_save_IFS
6.20678 + test -z "$as_dir" && as_dir=.
6.20679 + for ac_exec_ext in '' $ac_executable_extensions; do
6.20680 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.20681 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6.20682 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.20683 + break 2
6.20684 + fi
6.20685 +done
6.20686 +done
6.20687 +
6.20688 +fi
6.20689 +fi
6.20690 +CXX=$ac_cv_prog_CXX
6.20691 +if test -n "$CXX"; then
6.20692 + echo "$as_me:$LINENO: result: $CXX" >&5
6.20693 +echo "${ECHO_T}$CXX" >&6
6.20694 +else
6.20695 + echo "$as_me:$LINENO: result: no" >&5
6.20696 +echo "${ECHO_T}no" >&6
6.20697 +fi
6.20698 +
6.20699 + test -n "$CXX" && break
6.20700 + done
6.20701 +fi
6.20702 +if test -z "$CXX"; then
6.20703 + ac_ct_CXX=$CXX
6.20704 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6.20705 +do
6.20706 + # Extract the first word of "$ac_prog", so it can be a program name with args.
6.20707 +set dummy $ac_prog; ac_word=$2
6.20708 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.20709 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.20710 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6.20711 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.20712 +else
6.20713 + if test -n "$ac_ct_CXX"; then
6.20714 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6.20715 +else
6.20716 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.20717 +for as_dir in $PATH
6.20718 +do
6.20719 + IFS=$as_save_IFS
6.20720 + test -z "$as_dir" && as_dir=.
6.20721 + for ac_exec_ext in '' $ac_executable_extensions; do
6.20722 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.20723 + ac_cv_prog_ac_ct_CXX="$ac_prog"
6.20724 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.20725 + break 2
6.20726 + fi
6.20727 +done
6.20728 +done
6.20729 +
6.20730 +fi
6.20731 +fi
6.20732 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6.20733 +if test -n "$ac_ct_CXX"; then
6.20734 + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6.20735 +echo "${ECHO_T}$ac_ct_CXX" >&6
6.20736 +else
6.20737 + echo "$as_me:$LINENO: result: no" >&5
6.20738 +echo "${ECHO_T}no" >&6
6.20739 +fi
6.20740 +
6.20741 + test -n "$ac_ct_CXX" && break
6.20742 +done
6.20743 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6.20744 +
6.20745 + CXX=$ac_ct_CXX
6.20746 +fi
6.20747 +
6.20748 +
6.20749 +# Provide some information about the compiler.
6.20750 +echo "$as_me:$LINENO:" \
6.20751 + "checking for C++ compiler version" >&5
6.20752 +ac_compiler=`set X $ac_compile; echo $2`
6.20753 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6.20754 + (eval $ac_compiler --version </dev/null >&5) 2>&5
6.20755 + ac_status=$?
6.20756 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20757 + (exit $ac_status); }
6.20758 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6.20759 + (eval $ac_compiler -v </dev/null >&5) 2>&5
6.20760 + ac_status=$?
6.20761 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20762 + (exit $ac_status); }
6.20763 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6.20764 + (eval $ac_compiler -V </dev/null >&5) 2>&5
6.20765 + ac_status=$?
6.20766 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20767 + (exit $ac_status); }
6.20768 +
6.20769 +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6.20770 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6.20771 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6.20772 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.20773 +else
6.20774 + cat >conftest.$ac_ext <<_ACEOF
6.20775 +/* confdefs.h. */
6.20776 +_ACEOF
6.20777 +cat confdefs.h >>conftest.$ac_ext
6.20778 +cat >>conftest.$ac_ext <<_ACEOF
6.20779 +/* end confdefs.h. */
6.20780 +
6.20781 +int
6.20782 +main ()
6.20783 +{
6.20784 +#ifndef __GNUC__
6.20785 + choke me
6.20786 +#endif
6.20787 +
6.20788 + ;
6.20789 + return 0;
6.20790 +}
6.20791 +_ACEOF
6.20792 +rm -f conftest.$ac_objext
6.20793 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20794 + (eval $ac_compile) 2>conftest.er1
6.20795 + ac_status=$?
6.20796 + grep -v '^ *+' conftest.er1 >conftest.err
6.20797 + rm -f conftest.er1
6.20798 + cat conftest.err >&5
6.20799 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20800 + (exit $ac_status); } &&
6.20801 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.20802 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20803 + (eval $ac_try) 2>&5
6.20804 + ac_status=$?
6.20805 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20806 + (exit $ac_status); }; } &&
6.20807 + { ac_try='test -s conftest.$ac_objext'
6.20808 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20809 + (eval $ac_try) 2>&5
6.20810 + ac_status=$?
6.20811 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20812 + (exit $ac_status); }; }; then
6.20813 + ac_compiler_gnu=yes
6.20814 +else
6.20815 + echo "$as_me: failed program was:" >&5
6.20816 +sed 's/^/| /' conftest.$ac_ext >&5
6.20817 +
6.20818 +ac_compiler_gnu=no
6.20819 +fi
6.20820 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20821 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6.20822 +
6.20823 +fi
6.20824 +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6.20825 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6.20826 +GXX=`test $ac_compiler_gnu = yes && echo yes`
6.20827 +ac_test_CXXFLAGS=${CXXFLAGS+set}
6.20828 +ac_save_CXXFLAGS=$CXXFLAGS
6.20829 +CXXFLAGS="-g"
6.20830 +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6.20831 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6.20832 +if test "${ac_cv_prog_cxx_g+set}" = set; then
6.20833 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.20834 +else
6.20835 + cat >conftest.$ac_ext <<_ACEOF
6.20836 +/* confdefs.h. */
6.20837 +_ACEOF
6.20838 +cat confdefs.h >>conftest.$ac_ext
6.20839 +cat >>conftest.$ac_ext <<_ACEOF
6.20840 +/* end confdefs.h. */
6.20841 +
6.20842 +int
6.20843 +main ()
6.20844 +{
6.20845 +
6.20846 + ;
6.20847 + return 0;
6.20848 +}
6.20849 +_ACEOF
6.20850 +rm -f conftest.$ac_objext
6.20851 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20852 + (eval $ac_compile) 2>conftest.er1
6.20853 + ac_status=$?
6.20854 + grep -v '^ *+' conftest.er1 >conftest.err
6.20855 + rm -f conftest.er1
6.20856 + cat conftest.err >&5
6.20857 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20858 + (exit $ac_status); } &&
6.20859 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.20860 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20861 + (eval $ac_try) 2>&5
6.20862 + ac_status=$?
6.20863 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20864 + (exit $ac_status); }; } &&
6.20865 + { ac_try='test -s conftest.$ac_objext'
6.20866 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20867 + (eval $ac_try) 2>&5
6.20868 + ac_status=$?
6.20869 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20870 + (exit $ac_status); }; }; then
6.20871 + ac_cv_prog_cxx_g=yes
6.20872 +else
6.20873 + echo "$as_me: failed program was:" >&5
6.20874 +sed 's/^/| /' conftest.$ac_ext >&5
6.20875 +
6.20876 +ac_cv_prog_cxx_g=no
6.20877 +fi
6.20878 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20879 +fi
6.20880 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6.20881 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6.20882 +if test "$ac_test_CXXFLAGS" = set; then
6.20883 + CXXFLAGS=$ac_save_CXXFLAGS
6.20884 +elif test $ac_cv_prog_cxx_g = yes; then
6.20885 + if test "$GXX" = yes; then
6.20886 + CXXFLAGS="-g -O2"
6.20887 + else
6.20888 + CXXFLAGS="-g"
6.20889 + fi
6.20890 +else
6.20891 + if test "$GXX" = yes; then
6.20892 + CXXFLAGS="-O2"
6.20893 + else
6.20894 + CXXFLAGS=
6.20895 + fi
6.20896 +fi
6.20897 +for ac_declaration in \
6.20898 + '' \
6.20899 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
6.20900 + 'extern "C" void std::exit (int); using std::exit;' \
6.20901 + 'extern "C" void exit (int) throw ();' \
6.20902 + 'extern "C" void exit (int);' \
6.20903 + 'void exit (int);'
6.20904 +do
6.20905 + cat >conftest.$ac_ext <<_ACEOF
6.20906 +/* confdefs.h. */
6.20907 +_ACEOF
6.20908 +cat confdefs.h >>conftest.$ac_ext
6.20909 +cat >>conftest.$ac_ext <<_ACEOF
6.20910 +/* end confdefs.h. */
6.20911 +$ac_declaration
6.20912 +@%:@include <stdlib.h>
6.20913 +int
6.20914 +main ()
6.20915 +{
6.20916 +exit (42);
6.20917 + ;
6.20918 + return 0;
6.20919 +}
6.20920 +_ACEOF
6.20921 +rm -f conftest.$ac_objext
6.20922 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20923 + (eval $ac_compile) 2>conftest.er1
6.20924 + ac_status=$?
6.20925 + grep -v '^ *+' conftest.er1 >conftest.err
6.20926 + rm -f conftest.er1
6.20927 + cat conftest.err >&5
6.20928 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20929 + (exit $ac_status); } &&
6.20930 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.20931 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20932 + (eval $ac_try) 2>&5
6.20933 + ac_status=$?
6.20934 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20935 + (exit $ac_status); }; } &&
6.20936 + { ac_try='test -s conftest.$ac_objext'
6.20937 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20938 + (eval $ac_try) 2>&5
6.20939 + ac_status=$?
6.20940 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20941 + (exit $ac_status); }; }; then
6.20942 + :
6.20943 +else
6.20944 + echo "$as_me: failed program was:" >&5
6.20945 +sed 's/^/| /' conftest.$ac_ext >&5
6.20946 +
6.20947 +continue
6.20948 +fi
6.20949 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20950 + cat >conftest.$ac_ext <<_ACEOF
6.20951 +/* confdefs.h. */
6.20952 +_ACEOF
6.20953 +cat confdefs.h >>conftest.$ac_ext
6.20954 +cat >>conftest.$ac_ext <<_ACEOF
6.20955 +/* end confdefs.h. */
6.20956 +$ac_declaration
6.20957 +int
6.20958 +main ()
6.20959 +{
6.20960 +exit (42);
6.20961 + ;
6.20962 + return 0;
6.20963 +}
6.20964 +_ACEOF
6.20965 +rm -f conftest.$ac_objext
6.20966 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.20967 + (eval $ac_compile) 2>conftest.er1
6.20968 + ac_status=$?
6.20969 + grep -v '^ *+' conftest.er1 >conftest.err
6.20970 + rm -f conftest.er1
6.20971 + cat conftest.err >&5
6.20972 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20973 + (exit $ac_status); } &&
6.20974 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6.20975 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20976 + (eval $ac_try) 2>&5
6.20977 + ac_status=$?
6.20978 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20979 + (exit $ac_status); }; } &&
6.20980 + { ac_try='test -s conftest.$ac_objext'
6.20981 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.20982 + (eval $ac_try) 2>&5
6.20983 + ac_status=$?
6.20984 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.20985 + (exit $ac_status); }; }; then
6.20986 + break
6.20987 +else
6.20988 + echo "$as_me: failed program was:" >&5
6.20989 +sed 's/^/| /' conftest.$ac_ext >&5
6.20990 +
6.20991 +fi
6.20992 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.20993 +done
6.20994 +rm -f conftest*
6.20995 +if test -n "$ac_declaration"; then
6.20996 + echo '#ifdef __cplusplus' >>confdefs.h
6.20997 + echo $ac_declaration >>confdefs.h
6.20998 + echo '#endif' >>confdefs.h
6.20999 +fi
6.21000 +
6.21001 +ac_ext=c
6.21002 +ac_cpp='$CPP $CPPFLAGS'
6.21003 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.21004 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.21005 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.21006 +
6.21007 +depcc="$CXX" am_compiler_list=
6.21008 +
6.21009 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6.21010 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6.21011 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6.21012 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.21013 +else
6.21014 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6.21015 + # We make a subdir and do the tests there. Otherwise we can end up
6.21016 + # making bogus files that we don't know about and never remove. For
6.21017 + # instance it was reported that on HP-UX the gcc test will end up
6.21018 + # making a dummy file named `D' -- because `-MD' means `put the output
6.21019 + # in D'.
6.21020 + mkdir conftest.dir
6.21021 + # Copy depcomp to subdir because otherwise we won't find it if we're
6.21022 + # using a relative directory.
6.21023 + cp "$am_depcomp" conftest.dir
6.21024 + cd conftest.dir
6.21025 + # We will build objects and dependencies in a subdirectory because
6.21026 + # it helps to detect inapplicable dependency modes. For instance
6.21027 + # both Tru64's cc and ICC support -MD to output dependencies as a
6.21028 + # side effect of compilation, but ICC will put the dependencies in
6.21029 + # the current directory while Tru64 will put them in the object
6.21030 + # directory.
6.21031 + mkdir sub
6.21032 +
6.21033 + am_cv_CXX_dependencies_compiler_type=none
6.21034 + if test "$am_compiler_list" = ""; then
6.21035 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6.21036 + fi
6.21037 + for depmode in $am_compiler_list; do
6.21038 + # Setup a source with many dependencies, because some compilers
6.21039 + # like to wrap large dependency lists on column 80 (with \), and
6.21040 + # we should not choose a depcomp mode which is confused by this.
6.21041 + #
6.21042 + # We need to recreate these files for each test, as the compiler may
6.21043 + # overwrite some of them when testing with obscure command lines.
6.21044 + # This happens at least with the AIX C compiler.
6.21045 + : > sub/conftest.c
6.21046 + for i in 1 2 3 4 5 6; do
6.21047 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
6.21048 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6.21049 + # Solaris 8's {/usr,}/bin/sh.
6.21050 + touch sub/conftst$i.h
6.21051 + done
6.21052 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6.21053 +
6.21054 + case $depmode in
6.21055 + nosideeffect)
6.21056 + # after this tag, mechanisms are not by side-effect, so they'll
6.21057 + # only be used when explicitly requested
6.21058 + if test "x$enable_dependency_tracking" = xyes; then
6.21059 + continue
6.21060 + else
6.21061 + break
6.21062 + fi
6.21063 + ;;
6.21064 + none) break ;;
6.21065 + esac
6.21066 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
6.21067 + # mode. It turns out that the SunPro C++ compiler does not properly
6.21068 + # handle `-M -o', and we need to detect this.
6.21069 + if depmode=$depmode \
6.21070 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6.21071 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6.21072 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6.21073 + >/dev/null 2>conftest.err &&
6.21074 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6.21075 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6.21076 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6.21077 + # icc doesn't choke on unknown options, it will just issue warnings
6.21078 + # or remarks (even with -Werror). So we grep stderr for any message
6.21079 + # that says an option was ignored or not supported.
6.21080 + # When given -MP, icc 7.0 and 7.1 complain thusly:
6.21081 + # icc: Command line warning: ignoring option '-M'; no argument required
6.21082 + # The diagnosis changed in icc 8.0:
6.21083 + # icc: Command line remark: option '-MP' not supported
6.21084 + if (grep 'ignoring option' conftest.err ||
6.21085 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6.21086 + am_cv_CXX_dependencies_compiler_type=$depmode
6.21087 + break
6.21088 + fi
6.21089 + fi
6.21090 + done
6.21091 +
6.21092 + cd ..
6.21093 + rm -rf conftest.dir
6.21094 +else
6.21095 + am_cv_CXX_dependencies_compiler_type=none
6.21096 +fi
6.21097 +
6.21098 +fi
6.21099 +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6.21100 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6.21101 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6.21102 +
6.21103 +
6.21104 +
6.21105 +if
6.21106 + test "x$enable_dependency_tracking" != xno \
6.21107 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6.21108 + am__fastdepCXX_TRUE=
6.21109 + am__fastdepCXX_FALSE='#'
6.21110 +else
6.21111 + am__fastdepCXX_TRUE='#'
6.21112 + am__fastdepCXX_FALSE=
6.21113 +fi
6.21114 +
6.21115 +
6.21116 +# Extract the first word of "$CXX", so it can be a program name with args.
6.21117 +set dummy $CXX; ac_word=$2
6.21118 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.21119 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.21120 +if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
6.21121 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.21122 +else
6.21123 + if test -n "$HAVE_CXX"; then
6.21124 + ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
6.21125 +else
6.21126 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.21127 +for as_dir in $PATH
6.21128 +do
6.21129 + IFS=$as_save_IFS
6.21130 + test -z "$as_dir" && as_dir=.
6.21131 + for ac_exec_ext in '' $ac_executable_extensions; do
6.21132 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.21133 + ac_cv_prog_HAVE_CXX="yes"
6.21134 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.21135 + break 2
6.21136 + fi
6.21137 +done
6.21138 +done
6.21139 +
6.21140 + test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
6.21141 +fi
6.21142 +fi
6.21143 +HAVE_CXX=$ac_cv_prog_HAVE_CXX
6.21144 +if test -n "$HAVE_CXX"; then
6.21145 + echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
6.21146 +echo "${ECHO_T}$HAVE_CXX" >&6
6.21147 +else
6.21148 + echo "$as_me:$LINENO: result: no" >&5
6.21149 +echo "${ECHO_T}no" >&6
6.21150 +fi
6.21151 +
6.21152 +ac_ext=cc
6.21153 +ac_cpp='$CXXCPP $CPPFLAGS'
6.21154 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.21155 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.21156 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6.21157 +echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6.21158 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6.21159 +if test -z "$CXXCPP"; then
6.21160 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
6.21161 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.21162 +else
6.21163 + # Double quotes because CXXCPP needs to be expanded
6.21164 + for CXXCPP in "$CXX -E" "/lib/cpp"
6.21165 + do
6.21166 + ac_preproc_ok=false
6.21167 +for ac_cxx_preproc_warn_flag in '' yes
6.21168 +do
6.21169 + # Use a header file that comes with gcc, so configuring glibc
6.21170 + # with a fresh cross-compiler works.
6.21171 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.21172 + # <limits.h> exists even on freestanding compilers.
6.21173 + # On the NeXT, cc -E runs the code through the compiler's parser,
6.21174 + # not just through cpp. "Syntax error" is here to catch this case.
6.21175 + cat >conftest.$ac_ext <<_ACEOF
6.21176 +/* confdefs.h. */
6.21177 +_ACEOF
6.21178 +cat confdefs.h >>conftest.$ac_ext
6.21179 +cat >>conftest.$ac_ext <<_ACEOF
6.21180 +/* end confdefs.h. */
6.21181 +@%:@ifdef __STDC__
6.21182 +@%:@ include <limits.h>
6.21183 +@%:@else
6.21184 +@%:@ include <assert.h>
6.21185 +@%:@endif
6.21186 + Syntax error
6.21187 +_ACEOF
6.21188 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.21189 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.21190 + ac_status=$?
6.21191 + grep -v '^ *+' conftest.er1 >conftest.err
6.21192 + rm -f conftest.er1
6.21193 + cat conftest.err >&5
6.21194 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21195 + (exit $ac_status); } >/dev/null; then
6.21196 + if test -s conftest.err; then
6.21197 + ac_cpp_err=$ac_cxx_preproc_warn_flag
6.21198 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.21199 + else
6.21200 + ac_cpp_err=
6.21201 + fi
6.21202 +else
6.21203 + ac_cpp_err=yes
6.21204 +fi
6.21205 +if test -z "$ac_cpp_err"; then
6.21206 + :
6.21207 +else
6.21208 + echo "$as_me: failed program was:" >&5
6.21209 +sed 's/^/| /' conftest.$ac_ext >&5
6.21210 +
6.21211 + # Broken: fails on valid input.
6.21212 +continue
6.21213 +fi
6.21214 +rm -f conftest.err conftest.$ac_ext
6.21215 +
6.21216 + # OK, works on sane cases. Now check whether non-existent headers
6.21217 + # can be detected and how.
6.21218 + cat >conftest.$ac_ext <<_ACEOF
6.21219 +/* confdefs.h. */
6.21220 +_ACEOF
6.21221 +cat confdefs.h >>conftest.$ac_ext
6.21222 +cat >>conftest.$ac_ext <<_ACEOF
6.21223 +/* end confdefs.h. */
6.21224 +@%:@include <ac_nonexistent.h>
6.21225 +_ACEOF
6.21226 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.21227 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.21228 + ac_status=$?
6.21229 + grep -v '^ *+' conftest.er1 >conftest.err
6.21230 + rm -f conftest.er1
6.21231 + cat conftest.err >&5
6.21232 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21233 + (exit $ac_status); } >/dev/null; then
6.21234 + if test -s conftest.err; then
6.21235 + ac_cpp_err=$ac_cxx_preproc_warn_flag
6.21236 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.21237 + else
6.21238 + ac_cpp_err=
6.21239 + fi
6.21240 +else
6.21241 + ac_cpp_err=yes
6.21242 +fi
6.21243 +if test -z "$ac_cpp_err"; then
6.21244 + # Broken: success on invalid input.
6.21245 +continue
6.21246 +else
6.21247 + echo "$as_me: failed program was:" >&5
6.21248 +sed 's/^/| /' conftest.$ac_ext >&5
6.21249 +
6.21250 + # Passes both tests.
6.21251 +ac_preproc_ok=:
6.21252 +break
6.21253 +fi
6.21254 +rm -f conftest.err conftest.$ac_ext
6.21255 +
6.21256 +done
6.21257 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.21258 +rm -f conftest.err conftest.$ac_ext
6.21259 +if $ac_preproc_ok; then
6.21260 + break
6.21261 +fi
6.21262 +
6.21263 + done
6.21264 + ac_cv_prog_CXXCPP=$CXXCPP
6.21265 +
6.21266 +fi
6.21267 + CXXCPP=$ac_cv_prog_CXXCPP
6.21268 +else
6.21269 + ac_cv_prog_CXXCPP=$CXXCPP
6.21270 +fi
6.21271 +echo "$as_me:$LINENO: result: $CXXCPP" >&5
6.21272 +echo "${ECHO_T}$CXXCPP" >&6
6.21273 +ac_preproc_ok=false
6.21274 +for ac_cxx_preproc_warn_flag in '' yes
6.21275 +do
6.21276 + # Use a header file that comes with gcc, so configuring glibc
6.21277 + # with a fresh cross-compiler works.
6.21278 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6.21279 + # <limits.h> exists even on freestanding compilers.
6.21280 + # On the NeXT, cc -E runs the code through the compiler's parser,
6.21281 + # not just through cpp. "Syntax error" is here to catch this case.
6.21282 + cat >conftest.$ac_ext <<_ACEOF
6.21283 +/* confdefs.h. */
6.21284 +_ACEOF
6.21285 +cat confdefs.h >>conftest.$ac_ext
6.21286 +cat >>conftest.$ac_ext <<_ACEOF
6.21287 +/* end confdefs.h. */
6.21288 +@%:@ifdef __STDC__
6.21289 +@%:@ include <limits.h>
6.21290 +@%:@else
6.21291 +@%:@ include <assert.h>
6.21292 +@%:@endif
6.21293 + Syntax error
6.21294 +_ACEOF
6.21295 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.21296 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.21297 + ac_status=$?
6.21298 + grep -v '^ *+' conftest.er1 >conftest.err
6.21299 + rm -f conftest.er1
6.21300 + cat conftest.err >&5
6.21301 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21302 + (exit $ac_status); } >/dev/null; then
6.21303 + if test -s conftest.err; then
6.21304 + ac_cpp_err=$ac_cxx_preproc_warn_flag
6.21305 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.21306 + else
6.21307 + ac_cpp_err=
6.21308 + fi
6.21309 +else
6.21310 + ac_cpp_err=yes
6.21311 +fi
6.21312 +if test -z "$ac_cpp_err"; then
6.21313 + :
6.21314 +else
6.21315 + echo "$as_me: failed program was:" >&5
6.21316 +sed 's/^/| /' conftest.$ac_ext >&5
6.21317 +
6.21318 + # Broken: fails on valid input.
6.21319 +continue
6.21320 +fi
6.21321 +rm -f conftest.err conftest.$ac_ext
6.21322 +
6.21323 + # OK, works on sane cases. Now check whether non-existent headers
6.21324 + # can be detected and how.
6.21325 + cat >conftest.$ac_ext <<_ACEOF
6.21326 +/* confdefs.h. */
6.21327 +_ACEOF
6.21328 +cat confdefs.h >>conftest.$ac_ext
6.21329 +cat >>conftest.$ac_ext <<_ACEOF
6.21330 +/* end confdefs.h. */
6.21331 +@%:@include <ac_nonexistent.h>
6.21332 +_ACEOF
6.21333 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6.21334 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6.21335 + ac_status=$?
6.21336 + grep -v '^ *+' conftest.er1 >conftest.err
6.21337 + rm -f conftest.er1
6.21338 + cat conftest.err >&5
6.21339 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21340 + (exit $ac_status); } >/dev/null; then
6.21341 + if test -s conftest.err; then
6.21342 + ac_cpp_err=$ac_cxx_preproc_warn_flag
6.21343 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6.21344 + else
6.21345 + ac_cpp_err=
6.21346 + fi
6.21347 +else
6.21348 + ac_cpp_err=yes
6.21349 +fi
6.21350 +if test -z "$ac_cpp_err"; then
6.21351 + # Broken: success on invalid input.
6.21352 +continue
6.21353 +else
6.21354 + echo "$as_me: failed program was:" >&5
6.21355 +sed 's/^/| /' conftest.$ac_ext >&5
6.21356 +
6.21357 + # Passes both tests.
6.21358 +ac_preproc_ok=:
6.21359 +break
6.21360 +fi
6.21361 +rm -f conftest.err conftest.$ac_ext
6.21362 +
6.21363 +done
6.21364 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6.21365 +rm -f conftest.err conftest.$ac_ext
6.21366 +if $ac_preproc_ok; then
6.21367 + :
6.21368 +else
6.21369 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6.21370 +See \`config.log' for more details." >&5
6.21371 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6.21372 +See \`config.log' for more details." >&2;}
6.21373 + { (exit 1); exit 1; }; }
6.21374 +fi
6.21375 +
6.21376 +ac_ext=c
6.21377 +ac_cpp='$CPP $CPPFLAGS'
6.21378 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6.21379 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6.21380 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6.21381 +
6.21382 +
6.21383 + echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
6.21384 +echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
6.21385 +if test "${ac_cv_lib_cposix_strerror+set}" = set; then
6.21386 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.21387 +else
6.21388 + ac_check_lib_save_LIBS=$LIBS
6.21389 +LIBS="-lcposix $LIBS"
6.21390 +cat >conftest.$ac_ext <<_ACEOF
6.21391 +/* confdefs.h. */
6.21392 +_ACEOF
6.21393 +cat confdefs.h >>conftest.$ac_ext
6.21394 +cat >>conftest.$ac_ext <<_ACEOF
6.21395 +/* end confdefs.h. */
6.21396 +
6.21397 +/* Override any gcc2 internal prototype to avoid an error. */
6.21398 +#ifdef __cplusplus
6.21399 +extern "C"
6.21400 +#endif
6.21401 +/* We use char because int might match the return type of a gcc2
6.21402 + builtin and then its argument prototype would still apply. */
6.21403 +char strerror ();
6.21404 +int
6.21405 +main ()
6.21406 +{
6.21407 +strerror ();
6.21408 + ;
6.21409 + return 0;
6.21410 +}
6.21411 +_ACEOF
6.21412 +rm -f conftest.$ac_objext conftest$ac_exeext
6.21413 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.21414 + (eval $ac_link) 2>conftest.er1
6.21415 + ac_status=$?
6.21416 + grep -v '^ *+' conftest.er1 >conftest.err
6.21417 + rm -f conftest.er1
6.21418 + cat conftest.err >&5
6.21419 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21420 + (exit $ac_status); } &&
6.21421 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.21422 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21423 + (eval $ac_try) 2>&5
6.21424 + ac_status=$?
6.21425 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21426 + (exit $ac_status); }; } &&
6.21427 + { ac_try='test -s conftest$ac_exeext'
6.21428 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21429 + (eval $ac_try) 2>&5
6.21430 + ac_status=$?
6.21431 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21432 + (exit $ac_status); }; }; then
6.21433 + ac_cv_lib_cposix_strerror=yes
6.21434 +else
6.21435 + echo "$as_me: failed program was:" >&5
6.21436 +sed 's/^/| /' conftest.$ac_ext >&5
6.21437 +
6.21438 +ac_cv_lib_cposix_strerror=no
6.21439 +fi
6.21440 +rm -f conftest.err conftest.$ac_objext \
6.21441 + conftest$ac_exeext conftest.$ac_ext
6.21442 +LIBS=$ac_check_lib_save_LIBS
6.21443 +fi
6.21444 +echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
6.21445 +echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
6.21446 +if test $ac_cv_lib_cposix_strerror = yes; then
6.21447 + LIBS="$LIBS -lcposix"
6.21448 +fi
6.21449 +
6.21450 +
6.21451 +
6.21452 +
6.21453 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6.21454 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6.21455 +if test "${ac_cv_header_stdc+set}" = set; then
6.21456 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.21457 +else
6.21458 + cat >conftest.$ac_ext <<_ACEOF
6.21459 +/* confdefs.h. */
6.21460 +_ACEOF
6.21461 +cat confdefs.h >>conftest.$ac_ext
6.21462 +cat >>conftest.$ac_ext <<_ACEOF
6.21463 +/* end confdefs.h. */
6.21464 +#include <stdlib.h>
6.21465 +#include <stdarg.h>
6.21466 +#include <string.h>
6.21467 +#include <float.h>
6.21468 +
6.21469 +int
6.21470 +main ()
6.21471 +{
6.21472 +
6.21473 + ;
6.21474 + return 0;
6.21475 +}
6.21476 +_ACEOF
6.21477 +rm -f conftest.$ac_objext
6.21478 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.21479 + (eval $ac_compile) 2>conftest.er1
6.21480 + ac_status=$?
6.21481 + grep -v '^ *+' conftest.er1 >conftest.err
6.21482 + rm -f conftest.er1
6.21483 + cat conftest.err >&5
6.21484 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21485 + (exit $ac_status); } &&
6.21486 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.21487 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21488 + (eval $ac_try) 2>&5
6.21489 + ac_status=$?
6.21490 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21491 + (exit $ac_status); }; } &&
6.21492 + { ac_try='test -s conftest.$ac_objext'
6.21493 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21494 + (eval $ac_try) 2>&5
6.21495 + ac_status=$?
6.21496 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21497 + (exit $ac_status); }; }; then
6.21498 + ac_cv_header_stdc=yes
6.21499 +else
6.21500 + echo "$as_me: failed program was:" >&5
6.21501 +sed 's/^/| /' conftest.$ac_ext >&5
6.21502 +
6.21503 +ac_cv_header_stdc=no
6.21504 +fi
6.21505 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.21506 +
6.21507 +if test $ac_cv_header_stdc = yes; then
6.21508 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6.21509 + cat >conftest.$ac_ext <<_ACEOF
6.21510 +/* confdefs.h. */
6.21511 +_ACEOF
6.21512 +cat confdefs.h >>conftest.$ac_ext
6.21513 +cat >>conftest.$ac_ext <<_ACEOF
6.21514 +/* end confdefs.h. */
6.21515 +#include <string.h>
6.21516 +
6.21517 +_ACEOF
6.21518 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6.21519 + $EGREP "memchr" >/dev/null 2>&1; then
6.21520 + :
6.21521 +else
6.21522 + ac_cv_header_stdc=no
6.21523 +fi
6.21524 +rm -f conftest*
6.21525 +
6.21526 +fi
6.21527 +
6.21528 +if test $ac_cv_header_stdc = yes; then
6.21529 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6.21530 + cat >conftest.$ac_ext <<_ACEOF
6.21531 +/* confdefs.h. */
6.21532 +_ACEOF
6.21533 +cat confdefs.h >>conftest.$ac_ext
6.21534 +cat >>conftest.$ac_ext <<_ACEOF
6.21535 +/* end confdefs.h. */
6.21536 +#include <stdlib.h>
6.21537 +
6.21538 +_ACEOF
6.21539 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6.21540 + $EGREP "free" >/dev/null 2>&1; then
6.21541 + :
6.21542 +else
6.21543 + ac_cv_header_stdc=no
6.21544 +fi
6.21545 +rm -f conftest*
6.21546 +
6.21547 +fi
6.21548 +
6.21549 +if test $ac_cv_header_stdc = yes; then
6.21550 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6.21551 + if test "$cross_compiling" = yes; then
6.21552 + :
6.21553 +else
6.21554 + cat >conftest.$ac_ext <<_ACEOF
6.21555 +/* confdefs.h. */
6.21556 +_ACEOF
6.21557 +cat confdefs.h >>conftest.$ac_ext
6.21558 +cat >>conftest.$ac_ext <<_ACEOF
6.21559 +/* end confdefs.h. */
6.21560 +#include <ctype.h>
6.21561 +#if ((' ' & 0x0FF) == 0x020)
6.21562 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6.21563 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6.21564 +#else
6.21565 +# define ISLOWER(c) \
6.21566 + (('a' <= (c) && (c) <= 'i') \
6.21567 + || ('j' <= (c) && (c) <= 'r') \
6.21568 + || ('s' <= (c) && (c) <= 'z'))
6.21569 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6.21570 +#endif
6.21571 +
6.21572 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6.21573 +int
6.21574 +main ()
6.21575 +{
6.21576 + int i;
6.21577 + for (i = 0; i < 256; i++)
6.21578 + if (XOR (islower (i), ISLOWER (i))
6.21579 + || toupper (i) != TOUPPER (i))
6.21580 + exit(2);
6.21581 + exit (0);
6.21582 +}
6.21583 +_ACEOF
6.21584 +rm -f conftest$ac_exeext
6.21585 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6.21586 + (eval $ac_link) 2>&5
6.21587 + ac_status=$?
6.21588 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21589 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6.21590 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21591 + (eval $ac_try) 2>&5
6.21592 + ac_status=$?
6.21593 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21594 + (exit $ac_status); }; }; then
6.21595 + :
6.21596 +else
6.21597 + echo "$as_me: program exited with status $ac_status" >&5
6.21598 +echo "$as_me: failed program was:" >&5
6.21599 +sed 's/^/| /' conftest.$ac_ext >&5
6.21600 +
6.21601 +( exit $ac_status )
6.21602 +ac_cv_header_stdc=no
6.21603 +fi
6.21604 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6.21605 +fi
6.21606 +fi
6.21607 +fi
6.21608 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6.21609 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
6.21610 +if test $ac_cv_header_stdc = yes; then
6.21611 +
6.21612 +cat >>confdefs.h <<\_ACEOF
6.21613 +@%:@define STDC_HEADERS 1
6.21614 +_ACEOF
6.21615 +
6.21616 +fi
6.21617 +
6.21618 +echo "$as_me:$LINENO: checking for inline" >&5
6.21619 +echo $ECHO_N "checking for inline... $ECHO_C" >&6
6.21620 +if test "${ac_cv_c_inline+set}" = set; then
6.21621 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.21622 +else
6.21623 + ac_cv_c_inline=no
6.21624 +for ac_kw in inline __inline__ __inline; do
6.21625 + cat >conftest.$ac_ext <<_ACEOF
6.21626 +/* confdefs.h. */
6.21627 +_ACEOF
6.21628 +cat confdefs.h >>conftest.$ac_ext
6.21629 +cat >>conftest.$ac_ext <<_ACEOF
6.21630 +/* end confdefs.h. */
6.21631 +#ifndef __cplusplus
6.21632 +typedef int foo_t;
6.21633 +static $ac_kw foo_t static_foo () {return 0; }
6.21634 +$ac_kw foo_t foo () {return 0; }
6.21635 +#endif
6.21636 +
6.21637 +_ACEOF
6.21638 +rm -f conftest.$ac_objext
6.21639 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6.21640 + (eval $ac_compile) 2>conftest.er1
6.21641 + ac_status=$?
6.21642 + grep -v '^ *+' conftest.er1 >conftest.err
6.21643 + rm -f conftest.er1
6.21644 + cat conftest.err >&5
6.21645 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21646 + (exit $ac_status); } &&
6.21647 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6.21648 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21649 + (eval $ac_try) 2>&5
6.21650 + ac_status=$?
6.21651 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21652 + (exit $ac_status); }; } &&
6.21653 + { ac_try='test -s conftest.$ac_objext'
6.21654 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6.21655 + (eval $ac_try) 2>&5
6.21656 + ac_status=$?
6.21657 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6.21658 + (exit $ac_status); }; }; then
6.21659 + ac_cv_c_inline=$ac_kw; break
6.21660 +else
6.21661 + echo "$as_me: failed program was:" >&5
6.21662 +sed 's/^/| /' conftest.$ac_ext >&5
6.21663 +
6.21664 +fi
6.21665 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6.21666 +done
6.21667 +
6.21668 +fi
6.21669 +echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6.21670 +echo "${ECHO_T}$ac_cv_c_inline" >&6
6.21671 +
6.21672 +
6.21673 +case $ac_cv_c_inline in
6.21674 + inline | yes) ;;
6.21675 + *)
6.21676 + case $ac_cv_c_inline in
6.21677 + no) ac_val=;;
6.21678 + *) ac_val=$ac_cv_c_inline;;
6.21679 + esac
6.21680 + cat >>confdefs.h <<_ACEOF
6.21681 +#ifndef __cplusplus
6.21682 +#define inline $ac_val
6.21683 +#endif
6.21684 +_ACEOF
6.21685 + ;;
6.21686 +esac
6.21687 +
6.21688 +
6.21689 +# Extract the first word of "pkg-config", so it can be a program name with args.
6.21690 +set dummy pkg-config; ac_word=$2
6.21691 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.21692 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.21693 +if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
6.21694 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.21695 +else
6.21696 + if test -n "$HAVE_PKGCONFIG"; then
6.21697 + ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
6.21698 +else
6.21699 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.21700 +for as_dir in $PATH
6.21701 +do
6.21702 + IFS=$as_save_IFS
6.21703 + test -z "$as_dir" && as_dir=.
6.21704 + for ac_exec_ext in '' $ac_executable_extensions; do
6.21705 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.21706 + ac_cv_prog_HAVE_PKGCONFIG="yes"
6.21707 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.21708 + break 2
6.21709 + fi
6.21710 +done
6.21711 +done
6.21712 +
6.21713 + test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
6.21714 +fi
6.21715 +fi
6.21716 +HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
6.21717 +if test -n "$HAVE_PKGCONFIG"; then
6.21718 + echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
6.21719 +echo "${ECHO_T}$HAVE_PKGCONFIG" >&6
6.21720 +else
6.21721 + echo "$as_me:$LINENO: result: no" >&5
6.21722 +echo "${ECHO_T}no" >&6
6.21723 +fi
6.21724 +
6.21725 +
6.21726 +if test "x$HAVE_PKGCONFIG" = "xno"; then
6.21727 + { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
6.21728 +echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
6.21729 + { (exit 1); exit 1; }; }
6.21730 +fi
6.21731 +
6.21732 +
6.21733 +GST_REQUIRED=0.10.3
6.21734 +GST_MAJORMINOR=0.10
6.21735 +
6.21736 +
6.21737 + succeeded=no
6.21738 +
6.21739 + if test -z "$PKG_CONFIG"; then
6.21740 + # Extract the first word of "pkg-config", so it can be a program name with args.
6.21741 +set dummy pkg-config; ac_word=$2
6.21742 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.21743 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.21744 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6.21745 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.21746 +else
6.21747 + case $PKG_CONFIG in
6.21748 + [\\/]* | ?:[\\/]*)
6.21749 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6.21750 + ;;
6.21751 + *)
6.21752 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.21753 +for as_dir in $PATH
6.21754 +do
6.21755 + IFS=$as_save_IFS
6.21756 + test -z "$as_dir" && as_dir=.
6.21757 + for ac_exec_ext in '' $ac_executable_extensions; do
6.21758 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.21759 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6.21760 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.21761 + break 2
6.21762 + fi
6.21763 +done
6.21764 +done
6.21765 +
6.21766 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6.21767 + ;;
6.21768 +esac
6.21769 +fi
6.21770 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6.21771 +
6.21772 +if test -n "$PKG_CONFIG"; then
6.21773 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6.21774 +echo "${ECHO_T}$PKG_CONFIG" >&6
6.21775 +else
6.21776 + echo "$as_me:$LINENO: result: no" >&5
6.21777 +echo "${ECHO_T}no" >&6
6.21778 +fi
6.21779 +
6.21780 + fi
6.21781 +
6.21782 + if test "$PKG_CONFIG" = "no" ; then
6.21783 + echo "*** The pkg-config script could not be found. Make sure it is"
6.21784 + echo "*** in your path, or set the PKG_CONFIG environment variable"
6.21785 + echo "*** to the full path to pkg-config."
6.21786 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
6.21787 + else
6.21788 + PKG_CONFIG_MIN_VERSION=0.9.0
6.21789 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6.21790 + echo "$as_me:$LINENO: checking for \
6.21791 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
6.21792 +echo $ECHO_N "checking for \
6.21793 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
6.21794 +
6.21795 + if $PKG_CONFIG --exists "\
6.21796 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
6.21797 + echo "$as_me:$LINENO: result: yes" >&5
6.21798 +echo "${ECHO_T}yes" >&6
6.21799 + succeeded=yes
6.21800 +
6.21801 + echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
6.21802 +echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
6.21803 + GST_CFLAGS=`$PKG_CONFIG --cflags "\
6.21804 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21805 + echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
6.21806 +echo "${ECHO_T}$GST_CFLAGS" >&6
6.21807 +
6.21808 + echo "$as_me:$LINENO: checking GST_LIBS" >&5
6.21809 +echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
6.21810 + GST_LIBS=`$PKG_CONFIG --libs "\
6.21811 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21812 + echo "$as_me:$LINENO: result: $GST_LIBS" >&5
6.21813 +echo "${ECHO_T}$GST_LIBS" >&6
6.21814 + else
6.21815 + GST_CFLAGS=""
6.21816 + GST_LIBS=""
6.21817 + ## If we have a custom action on failure, don't print errors, but
6.21818 + ## do set a variable so people can do so.
6.21819 + GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
6.21820 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21821 +
6.21822 + fi
6.21823 +
6.21824 +
6.21825 +
6.21826 + else
6.21827 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
6.21828 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
6.21829 + fi
6.21830 + fi
6.21831 +
6.21832 + if test $succeeded = yes; then
6.21833 + HAVE_GST=yes
6.21834 + else
6.21835 + HAVE_GST=no
6.21836 + fi
6.21837 +
6.21838 +
6.21839 +if test "x$HAVE_GST" = "xno"; then
6.21840 + { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
6.21841 +echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
6.21842 + { (exit 1); exit 1; }; }
6.21843 +fi
6.21844 +
6.21845 +if test "x$USE_DEBUG" = xyes; then
6.21846 + GST_CFLAGS="$GST_CFLAGS -g"
6.21847 +fi
6.21848 +
6.21849 +
6.21850 +
6.21851 +
6.21852 +
6.21853 +
6.21854 +
6.21855 + succeeded=no
6.21856 +
6.21857 + if test -z "$PKG_CONFIG"; then
6.21858 + # Extract the first word of "pkg-config", so it can be a program name with args.
6.21859 +set dummy pkg-config; ac_word=$2
6.21860 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.21861 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.21862 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6.21863 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.21864 +else
6.21865 + case $PKG_CONFIG in
6.21866 + [\\/]* | ?:[\\/]*)
6.21867 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6.21868 + ;;
6.21869 + *)
6.21870 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.21871 +for as_dir in $PATH
6.21872 +do
6.21873 + IFS=$as_save_IFS
6.21874 + test -z "$as_dir" && as_dir=.
6.21875 + for ac_exec_ext in '' $ac_executable_extensions; do
6.21876 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.21877 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6.21878 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.21879 + break 2
6.21880 + fi
6.21881 +done
6.21882 +done
6.21883 +
6.21884 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6.21885 + ;;
6.21886 +esac
6.21887 +fi
6.21888 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6.21889 +
6.21890 +if test -n "$PKG_CONFIG"; then
6.21891 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6.21892 +echo "${ECHO_T}$PKG_CONFIG" >&6
6.21893 +else
6.21894 + echo "$as_me:$LINENO: result: no" >&5
6.21895 +echo "${ECHO_T}no" >&6
6.21896 +fi
6.21897 +
6.21898 + fi
6.21899 +
6.21900 + if test "$PKG_CONFIG" = "no" ; then
6.21901 + echo "*** The pkg-config script could not be found. Make sure it is"
6.21902 + echo "*** in your path, or set the PKG_CONFIG environment variable"
6.21903 + echo "*** to the full path to pkg-config."
6.21904 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
6.21905 + else
6.21906 + PKG_CONFIG_MIN_VERSION=0.9.0
6.21907 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6.21908 + echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
6.21909 +echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
6.21910 +
6.21911 + if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
6.21912 + echo "$as_me:$LINENO: result: yes" >&5
6.21913 +echo "${ECHO_T}yes" >&6
6.21914 + succeeded=yes
6.21915 +
6.21916 + echo "$as_me:$LINENO: checking GST_BASE_CFLAGS" >&5
6.21917 +echo $ECHO_N "checking GST_BASE_CFLAGS... $ECHO_C" >&6
6.21918 + GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21919 + echo "$as_me:$LINENO: result: $GST_BASE_CFLAGS" >&5
6.21920 +echo "${ECHO_T}$GST_BASE_CFLAGS" >&6
6.21921 +
6.21922 + echo "$as_me:$LINENO: checking GST_BASE_LIBS" >&5
6.21923 +echo $ECHO_N "checking GST_BASE_LIBS... $ECHO_C" >&6
6.21924 + GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21925 + echo "$as_me:$LINENO: result: $GST_BASE_LIBS" >&5
6.21926 +echo "${ECHO_T}$GST_BASE_LIBS" >&6
6.21927 + else
6.21928 + GST_BASE_CFLAGS=""
6.21929 + GST_BASE_LIBS=""
6.21930 + ## If we have a custom action on failure, don't print errors, but
6.21931 + ## do set a variable so people can do so.
6.21932 + GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.21933 +
6.21934 + fi
6.21935 +
6.21936 +
6.21937 +
6.21938 + else
6.21939 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
6.21940 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
6.21941 + fi
6.21942 + fi
6.21943 +
6.21944 + if test $succeeded = yes; then
6.21945 + HAVE_GST_BASE="yes"
6.21946 + else
6.21947 + HAVE_GST_BASE="no"
6.21948 + fi
6.21949 +
6.21950 +
6.21951 +if test "x$HAVE_GST_BASE" = "xno"; then
6.21952 + { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
6.21953 +echo "$as_me: error: no GStreamer Base Libs found" >&2;}
6.21954 + { (exit 1); exit 1; }; }
6.21955 +fi
6.21956 +
6.21957 +
6.21958 +
6.21959 +
6.21960 +
6.21961 + succeeded=no
6.21962 +
6.21963 + if test -z "$PKG_CONFIG"; then
6.21964 + # Extract the first word of "pkg-config", so it can be a program name with args.
6.21965 +set dummy pkg-config; ac_word=$2
6.21966 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6.21967 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6.21968 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6.21969 + echo $ECHO_N "(cached) $ECHO_C" >&6
6.21970 +else
6.21971 + case $PKG_CONFIG in
6.21972 + [\\/]* | ?:[\\/]*)
6.21973 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6.21974 + ;;
6.21975 + *)
6.21976 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.21977 +for as_dir in $PATH
6.21978 +do
6.21979 + IFS=$as_save_IFS
6.21980 + test -z "$as_dir" && as_dir=.
6.21981 + for ac_exec_ext in '' $ac_executable_extensions; do
6.21982 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6.21983 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6.21984 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6.21985 + break 2
6.21986 + fi
6.21987 +done
6.21988 +done
6.21989 +
6.21990 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6.21991 + ;;
6.21992 +esac
6.21993 +fi
6.21994 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6.21995 +
6.21996 +if test -n "$PKG_CONFIG"; then
6.21997 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6.21998 +echo "${ECHO_T}$PKG_CONFIG" >&6
6.21999 +else
6.22000 + echo "$as_me:$LINENO: result: no" >&5
6.22001 +echo "${ECHO_T}no" >&6
6.22002 +fi
6.22003 +
6.22004 + fi
6.22005 +
6.22006 + if test "$PKG_CONFIG" = "no" ; then
6.22007 + echo "*** The pkg-config script could not be found. Make sure it is"
6.22008 + echo "*** in your path, or set the PKG_CONFIG environment variable"
6.22009 + echo "*** to the full path to pkg-config."
6.22010 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
6.22011 + else
6.22012 + PKG_CONFIG_MIN_VERSION=0.9.0
6.22013 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6.22014 + echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
6.22015 +echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
6.22016 +
6.22017 + if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
6.22018 + echo "$as_me:$LINENO: result: yes" >&5
6.22019 +echo "${ECHO_T}yes" >&6
6.22020 + succeeded=yes
6.22021 +
6.22022 + echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_CFLAGS" >&5
6.22023 +echo $ECHO_N "checking GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
6.22024 + GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.22025 + echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_CFLAGS" >&5
6.22026 +echo "${ECHO_T}$GST_PLUGINS_BASE_CFLAGS" >&6
6.22027 +
6.22028 + echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_LIBS" >&5
6.22029 +echo $ECHO_N "checking GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6
6.22030 + GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.22031 + echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_LIBS" >&5
6.22032 +echo "${ECHO_T}$GST_PLUGINS_BASE_LIBS" >&6
6.22033 + else
6.22034 + GST_PLUGINS_BASE_CFLAGS=""
6.22035 + GST_PLUGINS_BASE_LIBS=""
6.22036 + ## If we have a custom action on failure, don't print errors, but
6.22037 + ## do set a variable so people can do so.
6.22038 + GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
6.22039 +
6.22040 + fi
6.22041 +
6.22042 +
6.22043 +
6.22044 + else
6.22045 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
6.22046 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
6.22047 + fi
6.22048 + fi
6.22049 +
6.22050 + if test $succeeded = yes; then
6.22051 + HAVE_GST_PLUGINS="yes"
6.22052 + else
6.22053 + HAVE_GST_PLUGINS="no"
6.22054 + fi
6.22055 +
6.22056 +
6.22057 +if test "x$HAVE_GST_PLUGINS" = "xno"; then
6.22058 + { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
6.22059 +echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
6.22060 + { (exit 1); exit 1; }; }
6.22061 +fi
6.22062 +
6.22063 +
6.22064 +
6.22065 +
6.22066 +plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
6.22067 +
6.22068 +
6.22069 +GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
6.22070 +
6.22071 +
6.22072 + ac_config_files="$ac_config_files Makefile src/Makefile m4/Makefile"
6.22073 +cat >confcache <<\_ACEOF
6.22074 +# This file is a shell script that caches the results of configure
6.22075 +# tests run on this system so they can be shared between configure
6.22076 +# scripts and configure runs, see configure's option --config-cache.
6.22077 +# It is not useful on other systems. If it contains results you don't
6.22078 +# want to keep, you may remove or edit it.
6.22079 +#
6.22080 +# config.status only pays attention to the cache file if you give it
6.22081 +# the --recheck option to rerun configure.
6.22082 +#
6.22083 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
6.22084 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
6.22085 +# following values.
6.22086 +
6.22087 +_ACEOF
6.22088 +
6.22089 +# The following way of writing the cache mishandles newlines in values,
6.22090 +# but we know of no workaround that is simple, portable, and efficient.
6.22091 +# So, don't put newlines in cache variables' values.
6.22092 +# Ultrix sh set writes to stderr and can't be redirected directly,
6.22093 +# and sets the high bit in the cache file unless we assign to the vars.
6.22094 +{
6.22095 + (set) 2>&1 |
6.22096 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
6.22097 + *ac_space=\ *)
6.22098 + # `set' does not quote correctly, so add quotes (double-quote
6.22099 + # substitution turns \\\\ into \\, and sed turns \\ into \).
6.22100 + sed -n \
6.22101 + "s/'/'\\\\''/g;
6.22102 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6.22103 + ;;
6.22104 + *)
6.22105 + # `set' quotes correctly as required by POSIX, so do not add quotes.
6.22106 + sed -n \
6.22107 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6.22108 + ;;
6.22109 + esac;
6.22110 +} |
6.22111 + sed '
6.22112 + t clear
6.22113 + : clear
6.22114 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6.22115 + t end
6.22116 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6.22117 + : end' >>confcache
6.22118 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
6.22119 + if test -w $cache_file; then
6.22120 + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6.22121 + cat confcache >$cache_file
6.22122 + else
6.22123 + echo "not updating unwritable cache $cache_file"
6.22124 + fi
6.22125 +fi
6.22126 +rm -f confcache
6.22127 +
6.22128 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
6.22129 +# Let make expand exec_prefix.
6.22130 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6.22131 +
6.22132 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
6.22133 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6.22134 +# trailing colons and then remove the whole line if VPATH becomes empty
6.22135 +# (actually we leave an empty line to preserve line numbers).
6.22136 +if test "x$srcdir" = x.; then
6.22137 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
6.22138 +s/:*\$(srcdir):*/:/;
6.22139 +s/:*\${srcdir}:*/:/;
6.22140 +s/:*@srcdir@:*/:/;
6.22141 +s/^\([^=]*=[ ]*\):*/\1/;
6.22142 +s/:*$//;
6.22143 +s/^[^=]*=[ ]*$//;
6.22144 +}'
6.22145 +fi
6.22146 +
6.22147 +DEFS=-DHAVE_CONFIG_H
6.22148 +
6.22149 +ac_libobjs=
6.22150 +ac_ltlibobjs=
6.22151 +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
6.22152 + # 1. Remove the extension, and $U if already installed.
6.22153 + ac_i=`echo "$ac_i" |
6.22154 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6.22155 + # 2. Add them.
6.22156 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6.22157 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6.22158 +done
6.22159 +LIB@&t@OBJS=$ac_libobjs
6.22160 +
6.22161 +LTLIBOBJS=$ac_ltlibobjs
6.22162 +
6.22163 +
6.22164 +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6.22165 + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6.22166 +Usually this means the macro was only invoked conditionally." >&5
6.22167 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6.22168 +Usually this means the macro was only invoked conditionally." >&2;}
6.22169 + { (exit 1); exit 1; }; }
6.22170 +fi
6.22171 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6.22172 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6.22173 +Usually this means the macro was only invoked conditionally." >&5
6.22174 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
6.22175 +Usually this means the macro was only invoked conditionally." >&2;}
6.22176 + { (exit 1); exit 1; }; }
6.22177 +fi
6.22178 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6.22179 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6.22180 +Usually this means the macro was only invoked conditionally." >&5
6.22181 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6.22182 +Usually this means the macro was only invoked conditionally." >&2;}
6.22183 + { (exit 1); exit 1; }; }
6.22184 +fi
6.22185 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6.22186 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6.22187 +Usually this means the macro was only invoked conditionally." >&5
6.22188 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6.22189 +Usually this means the macro was only invoked conditionally." >&2;}
6.22190 + { (exit 1); exit 1; }; }
6.22191 +fi
6.22192 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6.22193 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6.22194 +Usually this means the macro was only invoked conditionally." >&5
6.22195 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6.22196 +Usually this means the macro was only invoked conditionally." >&2;}
6.22197 + { (exit 1); exit 1; }; }
6.22198 +fi
6.22199 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6.22200 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6.22201 +Usually this means the macro was only invoked conditionally." >&5
6.22202 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6.22203 +Usually this means the macro was only invoked conditionally." >&2;}
6.22204 + { (exit 1); exit 1; }; }
6.22205 +fi
6.22206 +
6.22207 +: ${CONFIG_STATUS=./config.status}
6.22208 +ac_clean_files_save=$ac_clean_files
6.22209 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6.22210 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6.22211 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
6.22212 +cat >$CONFIG_STATUS <<_ACEOF
6.22213 +#! $SHELL
6.22214 +# Generated by $as_me.
6.22215 +# Run this file to recreate the current configuration.
6.22216 +# Compiler output produced by configure, useful for debugging
6.22217 +# configure, is in config.log if it exists.
6.22218 +
6.22219 +debug=false
6.22220 +ac_cs_recheck=false
6.22221 +ac_cs_silent=false
6.22222 +SHELL=\${CONFIG_SHELL-$SHELL}
6.22223 +_ACEOF
6.22224 +
6.22225 +cat >>$CONFIG_STATUS <<\_ACEOF
6.22226 +## --------------------- ##
6.22227 +## M4sh Initialization. ##
6.22228 +## --------------------- ##
6.22229 +
6.22230 +# Be Bourne compatible
6.22231 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6.22232 + emulate sh
6.22233 + NULLCMD=:
6.22234 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6.22235 + # is contrary to our usage. Disable this feature.
6.22236 + alias -g '${1+"$@"}'='"$@"'
6.22237 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6.22238 + set -o posix
6.22239 +fi
6.22240 +DUALCASE=1; export DUALCASE # for MKS sh
6.22241 +
6.22242 +# Support unset when possible.
6.22243 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6.22244 + as_unset=unset
6.22245 +else
6.22246 + as_unset=false
6.22247 +fi
6.22248 +
6.22249 +
6.22250 +# Work around bugs in pre-3.0 UWIN ksh.
6.22251 +$as_unset ENV MAIL MAILPATH
6.22252 +PS1='$ '
6.22253 +PS2='> '
6.22254 +PS4='+ '
6.22255 +
6.22256 +# NLS nuisances.
6.22257 +for as_var in \
6.22258 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6.22259 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6.22260 + LC_TELEPHONE LC_TIME
6.22261 +do
6.22262 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6.22263 + eval $as_var=C; export $as_var
6.22264 + else
6.22265 + $as_unset $as_var
6.22266 + fi
6.22267 +done
6.22268 +
6.22269 +# Required to use basename.
6.22270 +if expr a : '\(a\)' >/dev/null 2>&1; then
6.22271 + as_expr=expr
6.22272 +else
6.22273 + as_expr=false
6.22274 +fi
6.22275 +
6.22276 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6.22277 + as_basename=basename
6.22278 +else
6.22279 + as_basename=false
6.22280 +fi
6.22281 +
6.22282 +
6.22283 +# Name of the executable.
6.22284 +as_me=`$as_basename "$0" ||
6.22285 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6.22286 + X"$0" : 'X\(//\)$' \| \
6.22287 + X"$0" : 'X\(/\)$' \| \
6.22288 + . : '\(.\)' 2>/dev/null ||
6.22289 +echo X/"$0" |
6.22290 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6.22291 + /^X\/\(\/\/\)$/{ s//\1/; q; }
6.22292 + /^X\/\(\/\).*/{ s//\1/; q; }
6.22293 + s/.*/./; q'`
6.22294 +
6.22295 +
6.22296 +# PATH needs CR, and LINENO needs CR and PATH.
6.22297 +# Avoid depending upon Character Ranges.
6.22298 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6.22299 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6.22300 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6.22301 +as_cr_digits='0123456789'
6.22302 +as_cr_alnum=$as_cr_Letters$as_cr_digits
6.22303 +
6.22304 +# The user is always right.
6.22305 +if test "${PATH_SEPARATOR+set}" != set; then
6.22306 + echo "#! /bin/sh" >conf$$.sh
6.22307 + echo "exit 0" >>conf$$.sh
6.22308 + chmod +x conf$$.sh
6.22309 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6.22310 + PATH_SEPARATOR=';'
6.22311 + else
6.22312 + PATH_SEPARATOR=:
6.22313 + fi
6.22314 + rm -f conf$$.sh
6.22315 +fi
6.22316 +
6.22317 +
6.22318 + as_lineno_1=$LINENO
6.22319 + as_lineno_2=$LINENO
6.22320 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6.22321 + test "x$as_lineno_1" != "x$as_lineno_2" &&
6.22322 + test "x$as_lineno_3" = "x$as_lineno_2" || {
6.22323 + # Find who we are. Look in the path if we contain no path at all
6.22324 + # relative or not.
6.22325 + case $0 in
6.22326 + *[\\/]* ) as_myself=$0 ;;
6.22327 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.22328 +for as_dir in $PATH
6.22329 +do
6.22330 + IFS=$as_save_IFS
6.22331 + test -z "$as_dir" && as_dir=.
6.22332 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6.22333 +done
6.22334 +
6.22335 + ;;
6.22336 + esac
6.22337 + # We did not find ourselves, most probably we were run as `sh COMMAND'
6.22338 + # in which case we are not to be found in the path.
6.22339 + if test "x$as_myself" = x; then
6.22340 + as_myself=$0
6.22341 + fi
6.22342 + if test ! -f "$as_myself"; then
6.22343 + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6.22344 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6.22345 + { (exit 1); exit 1; }; }
6.22346 + fi
6.22347 + case $CONFIG_SHELL in
6.22348 + '')
6.22349 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6.22350 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6.22351 +do
6.22352 + IFS=$as_save_IFS
6.22353 + test -z "$as_dir" && as_dir=.
6.22354 + for as_base in sh bash ksh sh5; do
6.22355 + case $as_dir in
6.22356 + /*)
6.22357 + if ("$as_dir/$as_base" -c '
6.22358 + as_lineno_1=$LINENO
6.22359 + as_lineno_2=$LINENO
6.22360 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6.22361 + test "x$as_lineno_1" != "x$as_lineno_2" &&
6.22362 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6.22363 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6.22364 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6.22365 + CONFIG_SHELL=$as_dir/$as_base
6.22366 + export CONFIG_SHELL
6.22367 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6.22368 + fi;;
6.22369 + esac
6.22370 + done
6.22371 +done
6.22372 +;;
6.22373 + esac
6.22374 +
6.22375 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6.22376 + # uniformly replaced by the line number. The first 'sed' inserts a
6.22377 + # line-number line before each line; the second 'sed' does the real
6.22378 + # work. The second script uses 'N' to pair each line-number line
6.22379 + # with the numbered line, and appends trailing '-' during
6.22380 + # substitution so that $LINENO is not a special case at line end.
6.22381 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6.22382 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6.22383 + sed '=' <$as_myself |
6.22384 + sed '
6.22385 + N
6.22386 + s,$,-,
6.22387 + : loop
6.22388 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6.22389 + t loop
6.22390 + s,-$,,
6.22391 + s,^['$as_cr_digits']*\n,,
6.22392 + ' >$as_me.lineno &&
6.22393 + chmod +x $as_me.lineno ||
6.22394 + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6.22395 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6.22396 + { (exit 1); exit 1; }; }
6.22397 +
6.22398 + # Don't try to exec as it changes $[0], causing all sort of problems
6.22399 + # (the dirname of $[0] is not the place where we might find the
6.22400 + # original and so on. Autoconf is especially sensible to this).
6.22401 + . ./$as_me.lineno
6.22402 + # Exit status is that of the last command.
6.22403 + exit
6.22404 +}
6.22405 +
6.22406 +
6.22407 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6.22408 + *c*,-n*) ECHO_N= ECHO_C='
6.22409 +' ECHO_T=' ' ;;
6.22410 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6.22411 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6.22412 +esac
6.22413 +
6.22414 +if expr a : '\(a\)' >/dev/null 2>&1; then
6.22415 + as_expr=expr
6.22416 +else
6.22417 + as_expr=false
6.22418 +fi
6.22419 +
6.22420 +rm -f conf$$ conf$$.exe conf$$.file
6.22421 +echo >conf$$.file
6.22422 +if ln -s conf$$.file conf$$ 2>/dev/null; then
6.22423 + # We could just check for DJGPP; but this test a) works b) is more generic
6.22424 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6.22425 + if test -f conf$$.exe; then
6.22426 + # Don't use ln at all; we don't have any links
6.22427 + as_ln_s='cp -p'
6.22428 + else
6.22429 + as_ln_s='ln -s'
6.22430 + fi
6.22431 +elif ln conf$$.file conf$$ 2>/dev/null; then
6.22432 + as_ln_s=ln
6.22433 +else
6.22434 + as_ln_s='cp -p'
6.22435 +fi
6.22436 +rm -f conf$$ conf$$.exe conf$$.file
6.22437 +
6.22438 +if mkdir -p . 2>/dev/null; then
6.22439 + as_mkdir_p=:
6.22440 +else
6.22441 + test -d ./-p && rmdir ./-p
6.22442 + as_mkdir_p=false
6.22443 +fi
6.22444 +
6.22445 +as_executable_p="test -f"
6.22446 +
6.22447 +# Sed expression to map a string onto a valid CPP name.
6.22448 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6.22449 +
6.22450 +# Sed expression to map a string onto a valid variable name.
6.22451 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6.22452 +
6.22453 +
6.22454 +# IFS
6.22455 +# We need space, tab and new line, in precisely that order.
6.22456 +as_nl='
6.22457 +'
6.22458 +IFS=" $as_nl"
6.22459 +
6.22460 +# CDPATH.
6.22461 +$as_unset CDPATH
6.22462 +
6.22463 +exec 6>&1
6.22464 +
6.22465 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
6.22466 +# report actual input values of CONFIG_FILES etc. instead of their
6.22467 +# values after options handling. Logging --version etc. is OK.
6.22468 +exec 5>>config.log
6.22469 +{
6.22470 + echo
6.22471 + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
6.22472 +@%:@@%:@ Running $as_me. @%:@@%:@
6.22473 +_ASBOX
6.22474 +} >&5
6.22475 +cat >&5 <<_CSEOF
6.22476 +
6.22477 +This file was extended by $as_me, which was
6.22478 +generated by GNU Autoconf 2.59. Invocation command line was
6.22479 +
6.22480 + CONFIG_FILES = $CONFIG_FILES
6.22481 + CONFIG_HEADERS = $CONFIG_HEADERS
6.22482 + CONFIG_LINKS = $CONFIG_LINKS
6.22483 + CONFIG_COMMANDS = $CONFIG_COMMANDS
6.22484 + $ $0 $@
6.22485 +
6.22486 +_CSEOF
6.22487 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6.22488 +echo >&5
6.22489 +_ACEOF
6.22490 +
6.22491 +# Files that config.status was made for.
6.22492 +if test -n "$ac_config_files"; then
6.22493 + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6.22494 +fi
6.22495 +
6.22496 +if test -n "$ac_config_headers"; then
6.22497 + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6.22498 +fi
6.22499 +
6.22500 +if test -n "$ac_config_links"; then
6.22501 + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6.22502 +fi
6.22503 +
6.22504 +if test -n "$ac_config_commands"; then
6.22505 + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6.22506 +fi
6.22507 +
6.22508 +cat >>$CONFIG_STATUS <<\_ACEOF
6.22509 +
6.22510 +ac_cs_usage="\
6.22511 +\`$as_me' instantiates files from templates according to the
6.22512 +current configuration.
6.22513 +
6.22514 +Usage: $0 [OPTIONS] [FILE]...
6.22515 +
6.22516 + -h, --help print this help, then exit
6.22517 + -V, --version print version number, then exit
6.22518 + -q, --quiet do not print progress messages
6.22519 + -d, --debug don't remove temporary files
6.22520 + --recheck update $as_me by reconfiguring in the same conditions
6.22521 + --file=FILE[:TEMPLATE]
6.22522 + instantiate the configuration file FILE
6.22523 + --header=FILE[:TEMPLATE]
6.22524 + instantiate the configuration header FILE
6.22525 +
6.22526 +Configuration files:
6.22527 +$config_files
6.22528 +
6.22529 +Configuration headers:
6.22530 +$config_headers
6.22531 +
6.22532 +Configuration commands:
6.22533 +$config_commands
6.22534 +
6.22535 +Report bugs to <bug-autoconf@gnu.org>."
6.22536 +_ACEOF
6.22537 +
6.22538 +cat >>$CONFIG_STATUS <<_ACEOF
6.22539 +ac_cs_version="\\
6.22540 +config.status
6.22541 +configured by $0, generated by GNU Autoconf 2.59,
6.22542 + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6.22543 +
6.22544 +Copyright (C) 2003 Free Software Foundation, Inc.
6.22545 +This config.status script is free software; the Free Software Foundation
6.22546 +gives unlimited permission to copy, distribute and modify it."
6.22547 +srcdir=$srcdir
6.22548 +INSTALL="$INSTALL"
6.22549 +_ACEOF
6.22550 +
6.22551 +cat >>$CONFIG_STATUS <<\_ACEOF
6.22552 +# If no file are specified by the user, then we need to provide default
6.22553 +# value. By we need to know if files were specified by the user.
6.22554 +ac_need_defaults=:
6.22555 +while test $# != 0
6.22556 +do
6.22557 + case $1 in
6.22558 + --*=*)
6.22559 + ac_option=`expr "x$1" : 'x\([^=]*\)='`
6.22560 + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6.22561 + ac_shift=:
6.22562 + ;;
6.22563 + -*)
6.22564 + ac_option=$1
6.22565 + ac_optarg=$2
6.22566 + ac_shift=shift
6.22567 + ;;
6.22568 + *) # This is not an option, so the user has probably given explicit
6.22569 + # arguments.
6.22570 + ac_option=$1
6.22571 + ac_need_defaults=false;;
6.22572 + esac
6.22573 +
6.22574 + case $ac_option in
6.22575 + # Handling of the options.
6.22576 +_ACEOF
6.22577 +cat >>$CONFIG_STATUS <<\_ACEOF
6.22578 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6.22579 + ac_cs_recheck=: ;;
6.22580 + --version | --vers* | -V )
6.22581 + echo "$ac_cs_version"; exit 0 ;;
6.22582 + --he | --h)
6.22583 + # Conflict between --help and --header
6.22584 + { { echo "$as_me:$LINENO: error: ambiguous option: $1
6.22585 +Try \`$0 --help' for more information." >&5
6.22586 +echo "$as_me: error: ambiguous option: $1
6.22587 +Try \`$0 --help' for more information." >&2;}
6.22588 + { (exit 1); exit 1; }; };;
6.22589 + --help | --hel | -h )
6.22590 + echo "$ac_cs_usage"; exit 0 ;;
6.22591 + --debug | --d* | -d )
6.22592 + debug=: ;;
6.22593 + --file | --fil | --fi | --f )
6.22594 + $ac_shift
6.22595 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6.22596 + ac_need_defaults=false;;
6.22597 + --header | --heade | --head | --hea )
6.22598 + $ac_shift
6.22599 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6.22600 + ac_need_defaults=false;;
6.22601 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6.22602 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
6.22603 + ac_cs_silent=: ;;
6.22604 +
6.22605 + # This is an error.
6.22606 + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6.22607 +Try \`$0 --help' for more information." >&5
6.22608 +echo "$as_me: error: unrecognized option: $1
6.22609 +Try \`$0 --help' for more information." >&2;}
6.22610 + { (exit 1); exit 1; }; } ;;
6.22611 +
6.22612 + *) ac_config_targets="$ac_config_targets $1" ;;
6.22613 +
6.22614 + esac
6.22615 + shift
6.22616 +done
6.22617 +
6.22618 +ac_configure_extra_args=
6.22619 +
6.22620 +if $ac_cs_silent; then
6.22621 + exec 6>/dev/null
6.22622 + ac_configure_extra_args="$ac_configure_extra_args --silent"
6.22623 +fi
6.22624 +
6.22625 +_ACEOF
6.22626 +cat >>$CONFIG_STATUS <<_ACEOF
6.22627 +if \$ac_cs_recheck; then
6.22628 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6.22629 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6.22630 +fi
6.22631 +
6.22632 +_ACEOF
6.22633 +
6.22634 +cat >>$CONFIG_STATUS <<_ACEOF
6.22635 +#
6.22636 +# INIT-COMMANDS section.
6.22637 +#
6.22638 +
6.22639 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6.22640 +
6.22641 +_ACEOF
6.22642 +
6.22643 +
6.22644 +
6.22645 +cat >>$CONFIG_STATUS <<\_ACEOF
6.22646 +for ac_config_target in $ac_config_targets
6.22647 +do
6.22648 + case "$ac_config_target" in
6.22649 + # Handling of arguments.
6.22650 + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6.22651 + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6.22652 + "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
6.22653 + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6.22654 + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6.22655 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6.22656 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6.22657 + { (exit 1); exit 1; }; };;
6.22658 + esac
6.22659 +done
6.22660 +
6.22661 +# If the user did not use the arguments to specify the items to instantiate,
6.22662 +# then the envvar interface is used. Set only those that are not.
6.22663 +# We use the long form for the default assignment because of an extremely
6.22664 +# bizarre bug on SunOS 4.1.3.
6.22665 +if $ac_need_defaults; then
6.22666 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6.22667 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6.22668 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6.22669 +fi
6.22670 +
6.22671 +# Have a temporary directory for convenience. Make it in the build tree
6.22672 +# simply because there is no reason to put it here, and in addition,
6.22673 +# creating and moving files from /tmp can sometimes cause problems.
6.22674 +# Create a temporary directory, and hook for its removal unless debugging.
6.22675 +$debug ||
6.22676 +{
6.22677 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6.22678 + trap '{ (exit 1); exit 1; }' 1 2 13 15
6.22679 +}
6.22680 +
6.22681 +# Create a (secure) tmp directory for tmp files.
6.22682 +
6.22683 +{
6.22684 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6.22685 + test -n "$tmp" && test -d "$tmp"
6.22686 +} ||
6.22687 +{
6.22688 + tmp=./confstat$$-$RANDOM
6.22689 + (umask 077 && mkdir $tmp)
6.22690 +} ||
6.22691 +{
6.22692 + echo "$me: cannot create a temporary directory in ." >&2
6.22693 + { (exit 1); exit 1; }
6.22694 +}
6.22695 +
6.22696 +_ACEOF
6.22697 +
6.22698 +cat >>$CONFIG_STATUS <<_ACEOF
6.22699 +
6.22700 +#
6.22701 +# CONFIG_FILES section.
6.22702 +#
6.22703 +
6.22704 +# No need to generate the scripts if there are no CONFIG_FILES.
6.22705 +# This happens for instance when ./config.status config.h
6.22706 +if test -n "\$CONFIG_FILES"; then
6.22707 + # Protect against being on the right side of a sed subst in config.status.
6.22708 + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6.22709 + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6.22710 +s,@SHELL@,$SHELL,;t t
6.22711 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6.22712 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6.22713 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6.22714 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6.22715 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6.22716 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6.22717 +s,@exec_prefix@,$exec_prefix,;t t
6.22718 +s,@prefix@,$prefix,;t t
6.22719 +s,@program_transform_name@,$program_transform_name,;t t
6.22720 +s,@bindir@,$bindir,;t t
6.22721 +s,@sbindir@,$sbindir,;t t
6.22722 +s,@libexecdir@,$libexecdir,;t t
6.22723 +s,@datadir@,$datadir,;t t
6.22724 +s,@sysconfdir@,$sysconfdir,;t t
6.22725 +s,@sharedstatedir@,$sharedstatedir,;t t
6.22726 +s,@localstatedir@,$localstatedir,;t t
6.22727 +s,@libdir@,$libdir,;t t
6.22728 +s,@includedir@,$includedir,;t t
6.22729 +s,@oldincludedir@,$oldincludedir,;t t
6.22730 +s,@infodir@,$infodir,;t t
6.22731 +s,@mandir@,$mandir,;t t
6.22732 +s,@build_alias@,$build_alias,;t t
6.22733 +s,@host_alias@,$host_alias,;t t
6.22734 +s,@target_alias@,$target_alias,;t t
6.22735 +s,@DEFS@,$DEFS,;t t
6.22736 +s,@ECHO_C@,$ECHO_C,;t t
6.22737 +s,@ECHO_N@,$ECHO_N,;t t
6.22738 +s,@ECHO_T@,$ECHO_T,;t t
6.22739 +s,@LIBS@,$LIBS,;t t
6.22740 +s,@build@,$build,;t t
6.22741 +s,@build_cpu@,$build_cpu,;t t
6.22742 +s,@build_vendor@,$build_vendor,;t t
6.22743 +s,@build_os@,$build_os,;t t
6.22744 +s,@host@,$host,;t t
6.22745 +s,@host_cpu@,$host_cpu,;t t
6.22746 +s,@host_vendor@,$host_vendor,;t t
6.22747 +s,@host_os@,$host_os,;t t
6.22748 +s,@target@,$target,;t t
6.22749 +s,@target_cpu@,$target_cpu,;t t
6.22750 +s,@target_vendor@,$target_vendor,;t t
6.22751 +s,@target_os@,$target_os,;t t
6.22752 +s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6.22753 +s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6.22754 +s,@MAINT@,$MAINT,;t t
6.22755 +s,@GST_PLUGINS_VERSION@,$GST_PLUGINS_VERSION,;t t
6.22756 +s,@GST_PLUGINS_VERSION_RELEASE@,$GST_PLUGINS_VERSION_RELEASE,;t t
6.22757 +s,@GST_PLUGINS_VERSION_MAJOR@,$GST_PLUGINS_VERSION_MAJOR,;t t
6.22758 +s,@GST_PLUGINS_VERSION_MINOR@,$GST_PLUGINS_VERSION_MINOR,;t t
6.22759 +s,@GST_PLUGINS_VERSION_MICRO@,$GST_PLUGINS_VERSION_MICRO,;t t
6.22760 +s,@GST_PLUGINS_VERSION_NANO@,$GST_PLUGINS_VERSION_NANO,;t t
6.22761 +s,@PACKAGE@,$PACKAGE,;t t
6.22762 +s,@VERSION@,$VERSION,;t t
6.22763 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6.22764 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6.22765 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6.22766 +s,@CYGPATH_W@,$CYGPATH_W,;t t
6.22767 +s,@ACLOCAL@,$ACLOCAL,;t t
6.22768 +s,@AUTOCONF@,$AUTOCONF,;t t
6.22769 +s,@AUTOMAKE@,$AUTOMAKE,;t t
6.22770 +s,@AUTOHEADER@,$AUTOHEADER,;t t
6.22771 +s,@MAKEINFO@,$MAKEINFO,;t t
6.22772 +s,@AMTAR@,$AMTAR,;t t
6.22773 +s,@install_sh@,$install_sh,;t t
6.22774 +s,@STRIP@,$STRIP,;t t
6.22775 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6.22776 +s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6.22777 +s,@mkdir_p@,$mkdir_p,;t t
6.22778 +s,@AWK@,$AWK,;t t
6.22779 +s,@SET_MAKE@,$SET_MAKE,;t t
6.22780 +s,@am__leading_dot@,$am__leading_dot,;t t
6.22781 +s,@CC@,$CC,;t t
6.22782 +s,@CFLAGS@,$CFLAGS,;t t
6.22783 +s,@LDFLAGS@,$LDFLAGS,;t t
6.22784 +s,@CPPFLAGS@,$CPPFLAGS,;t t
6.22785 +s,@ac_ct_CC@,$ac_ct_CC,;t t
6.22786 +s,@EXEEXT@,$EXEEXT,;t t
6.22787 +s,@OBJEXT@,$OBJEXT,;t t
6.22788 +s,@DEPDIR@,$DEPDIR,;t t
6.22789 +s,@am__include@,$am__include,;t t
6.22790 +s,@am__quote@,$am__quote,;t t
6.22791 +s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6.22792 +s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6.22793 +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6.22794 +s,@CCDEPMODE@,$CCDEPMODE,;t t
6.22795 +s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6.22796 +s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6.22797 +s,@EGREP@,$EGREP,;t t
6.22798 +s,@LN_S@,$LN_S,;t t
6.22799 +s,@ECHO@,$ECHO,;t t
6.22800 +s,@AR@,$AR,;t t
6.22801 +s,@ac_ct_AR@,$ac_ct_AR,;t t
6.22802 +s,@RANLIB@,$RANLIB,;t t
6.22803 +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6.22804 +s,@CPP@,$CPP,;t t
6.22805 +s,@CXX@,$CXX,;t t
6.22806 +s,@CXXFLAGS@,$CXXFLAGS,;t t
6.22807 +s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6.22808 +s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6.22809 +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6.22810 +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
6.22811 +s,@CXXCPP@,$CXXCPP,;t t
6.22812 +s,@F77@,$F77,;t t
6.22813 +s,@FFLAGS@,$FFLAGS,;t t
6.22814 +s,@ac_ct_F77@,$ac_ct_F77,;t t
6.22815 +s,@LIBTOOL@,$LIBTOOL,;t t
6.22816 +s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
6.22817 +s,@CCAS@,$CCAS,;t t
6.22818 +s,@CCASFLAGS@,$CCASFLAGS,;t t
6.22819 +s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
6.22820 +s,@HAVE_CXX@,$HAVE_CXX,;t t
6.22821 +s,@HAVE_PKGCONFIG@,$HAVE_PKGCONFIG,;t t
6.22822 +s,@PKG_CONFIG@,$PKG_CONFIG,;t t
6.22823 +s,@GST_CFLAGS@,$GST_CFLAGS,;t t
6.22824 +s,@GST_LIBS@,$GST_LIBS,;t t
6.22825 +s,@GST_MAJORMINOR@,$GST_MAJORMINOR,;t t
6.22826 +s,@GST_BASE_CFLAGS@,$GST_BASE_CFLAGS,;t t
6.22827 +s,@GST_BASE_LIBS@,$GST_BASE_LIBS,;t t
6.22828 +s,@GST_PLUGINS_BASE_CFLAGS@,$GST_PLUGINS_BASE_CFLAGS,;t t
6.22829 +s,@GST_PLUGINS_BASE_LIBS@,$GST_PLUGINS_BASE_LIBS,;t t
6.22830 +s,@plugindir@,$plugindir,;t t
6.22831 +s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
6.22832 +s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
6.22833 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6.22834 +CEOF
6.22835 +
6.22836 +_ACEOF
6.22837 +
6.22838 + cat >>$CONFIG_STATUS <<\_ACEOF
6.22839 + # Split the substitutions into bite-sized pieces for seds with
6.22840 + # small command number limits, like on Digital OSF/1 and HP-UX.
6.22841 + ac_max_sed_lines=48
6.22842 + ac_sed_frag=1 # Number of current file.
6.22843 + ac_beg=1 # First line for current file.
6.22844 + ac_end=$ac_max_sed_lines # Line after last line for current file.
6.22845 + ac_more_lines=:
6.22846 + ac_sed_cmds=
6.22847 + while $ac_more_lines; do
6.22848 + if test $ac_beg -gt 1; then
6.22849 + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6.22850 + else
6.22851 + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6.22852 + fi
6.22853 + if test ! -s $tmp/subs.frag; then
6.22854 + ac_more_lines=false
6.22855 + else
6.22856 + # The purpose of the label and of the branching condition is to
6.22857 + # speed up the sed processing (if there are no `@' at all, there
6.22858 + # is no need to browse any of the substitutions).
6.22859 + # These are the two extra sed commands mentioned above.
6.22860 + (echo ':t
6.22861 + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6.22862 + if test -z "$ac_sed_cmds"; then
6.22863 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6.22864 + else
6.22865 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6.22866 + fi
6.22867 + ac_sed_frag=`expr $ac_sed_frag + 1`
6.22868 + ac_beg=$ac_end
6.22869 + ac_end=`expr $ac_end + $ac_max_sed_lines`
6.22870 + fi
6.22871 + done
6.22872 + if test -z "$ac_sed_cmds"; then
6.22873 + ac_sed_cmds=cat
6.22874 + fi
6.22875 +fi # test -n "$CONFIG_FILES"
6.22876 +
6.22877 +_ACEOF
6.22878 +cat >>$CONFIG_STATUS <<\_ACEOF
6.22879 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6.22880 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6.22881 + case $ac_file in
6.22882 + - | *:- | *:-:* ) # input from stdin
6.22883 + cat >$tmp/stdin
6.22884 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6.22885 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6.22886 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6.22887 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6.22888 + * ) ac_file_in=$ac_file.in ;;
6.22889 + esac
6.22890 +
6.22891 + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6.22892 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6.22893 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.22894 + X"$ac_file" : 'X\(//\)[^/]' \| \
6.22895 + X"$ac_file" : 'X\(//\)$' \| \
6.22896 + X"$ac_file" : 'X\(/\)' \| \
6.22897 + . : '\(.\)' 2>/dev/null ||
6.22898 +echo X"$ac_file" |
6.22899 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.22900 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.22901 + /^X\(\/\/\)$/{ s//\1/; q; }
6.22902 + /^X\(\/\).*/{ s//\1/; q; }
6.22903 + s/.*/./; q'`
6.22904 + { if $as_mkdir_p; then
6.22905 + mkdir -p "$ac_dir"
6.22906 + else
6.22907 + as_dir="$ac_dir"
6.22908 + as_dirs=
6.22909 + while test ! -d "$as_dir"; do
6.22910 + as_dirs="$as_dir $as_dirs"
6.22911 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
6.22912 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.22913 + X"$as_dir" : 'X\(//\)[^/]' \| \
6.22914 + X"$as_dir" : 'X\(//\)$' \| \
6.22915 + X"$as_dir" : 'X\(/\)' \| \
6.22916 + . : '\(.\)' 2>/dev/null ||
6.22917 +echo X"$as_dir" |
6.22918 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.22919 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.22920 + /^X\(\/\/\)$/{ s//\1/; q; }
6.22921 + /^X\(\/\).*/{ s//\1/; q; }
6.22922 + s/.*/./; q'`
6.22923 + done
6.22924 + test ! -n "$as_dirs" || mkdir $as_dirs
6.22925 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6.22926 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6.22927 + { (exit 1); exit 1; }; }; }
6.22928 +
6.22929 + ac_builddir=.
6.22930 +
6.22931 +if test "$ac_dir" != .; then
6.22932 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6.22933 + # A "../" for each directory in $ac_dir_suffix.
6.22934 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6.22935 +else
6.22936 + ac_dir_suffix= ac_top_builddir=
6.22937 +fi
6.22938 +
6.22939 +case $srcdir in
6.22940 + .) # No --srcdir option. We are building in place.
6.22941 + ac_srcdir=.
6.22942 + if test -z "$ac_top_builddir"; then
6.22943 + ac_top_srcdir=.
6.22944 + else
6.22945 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6.22946 + fi ;;
6.22947 + [\\/]* | ?:[\\/]* ) # Absolute path.
6.22948 + ac_srcdir=$srcdir$ac_dir_suffix;
6.22949 + ac_top_srcdir=$srcdir ;;
6.22950 + *) # Relative path.
6.22951 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6.22952 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
6.22953 +esac
6.22954 +
6.22955 +# Do not use `cd foo && pwd` to compute absolute paths, because
6.22956 +# the directories may not exist.
6.22957 +case `pwd` in
6.22958 +.) ac_abs_builddir="$ac_dir";;
6.22959 +*)
6.22960 + case "$ac_dir" in
6.22961 + .) ac_abs_builddir=`pwd`;;
6.22962 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6.22963 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
6.22964 + esac;;
6.22965 +esac
6.22966 +case $ac_abs_builddir in
6.22967 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
6.22968 +*)
6.22969 + case ${ac_top_builddir}. in
6.22970 + .) ac_abs_top_builddir=$ac_abs_builddir;;
6.22971 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6.22972 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6.22973 + esac;;
6.22974 +esac
6.22975 +case $ac_abs_builddir in
6.22976 +.) ac_abs_srcdir=$ac_srcdir;;
6.22977 +*)
6.22978 + case $ac_srcdir in
6.22979 + .) ac_abs_srcdir=$ac_abs_builddir;;
6.22980 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6.22981 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6.22982 + esac;;
6.22983 +esac
6.22984 +case $ac_abs_builddir in
6.22985 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
6.22986 +*)
6.22987 + case $ac_top_srcdir in
6.22988 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
6.22989 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6.22990 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6.22991 + esac;;
6.22992 +esac
6.22993 +
6.22994 +
6.22995 + case $INSTALL in
6.22996 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6.22997 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6.22998 + esac
6.22999 +
6.23000 + # Let's still pretend it is `configure' which instantiates (i.e., don't
6.23001 + # use $as_me), people would be surprised to read:
6.23002 + # /* config.h. Generated by config.status. */
6.23003 + if test x"$ac_file" = x-; then
6.23004 + configure_input=
6.23005 + else
6.23006 + configure_input="$ac_file. "
6.23007 + fi
6.23008 + configure_input=$configure_input"Generated from `echo $ac_file_in |
6.23009 + sed 's,.*/,,'` by configure."
6.23010 +
6.23011 + # First look for the input files in the build tree, otherwise in the
6.23012 + # src tree.
6.23013 + ac_file_inputs=`IFS=:
6.23014 + for f in $ac_file_in; do
6.23015 + case $f in
6.23016 + -) echo $tmp/stdin ;;
6.23017 + [\\/$]*)
6.23018 + # Absolute (can't be DOS-style, as IFS=:)
6.23019 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6.23020 +echo "$as_me: error: cannot find input file: $f" >&2;}
6.23021 + { (exit 1); exit 1; }; }
6.23022 + echo "$f";;
6.23023 + *) # Relative
6.23024 + if test -f "$f"; then
6.23025 + # Build tree
6.23026 + echo "$f"
6.23027 + elif test -f "$srcdir/$f"; then
6.23028 + # Source tree
6.23029 + echo "$srcdir/$f"
6.23030 + else
6.23031 + # /dev/null tree
6.23032 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6.23033 +echo "$as_me: error: cannot find input file: $f" >&2;}
6.23034 + { (exit 1); exit 1; }; }
6.23035 + fi;;
6.23036 + esac
6.23037 + done` || { (exit 1); exit 1; }
6.23038 +
6.23039 + if test x"$ac_file" != x-; then
6.23040 + { echo "$as_me:$LINENO: creating $ac_file" >&5
6.23041 +echo "$as_me: creating $ac_file" >&6;}
6.23042 + rm -f "$ac_file"
6.23043 + fi
6.23044 +_ACEOF
6.23045 +cat >>$CONFIG_STATUS <<_ACEOF
6.23046 + sed "$ac_vpsub
6.23047 +$extrasub
6.23048 +_ACEOF
6.23049 +cat >>$CONFIG_STATUS <<\_ACEOF
6.23050 +:t
6.23051 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6.23052 +s,@configure_input@,$configure_input,;t t
6.23053 +s,@srcdir@,$ac_srcdir,;t t
6.23054 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
6.23055 +s,@top_srcdir@,$ac_top_srcdir,;t t
6.23056 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6.23057 +s,@builddir@,$ac_builddir,;t t
6.23058 +s,@abs_builddir@,$ac_abs_builddir,;t t
6.23059 +s,@top_builddir@,$ac_top_builddir,;t t
6.23060 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6.23061 +s,@INSTALL@,$ac_INSTALL,;t t
6.23062 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6.23063 + rm -f $tmp/stdin
6.23064 + if test x"$ac_file" != x-; then
6.23065 + mv $tmp/out $ac_file
6.23066 + else
6.23067 + cat $tmp/out
6.23068 + rm -f $tmp/out
6.23069 + fi
6.23070 +
6.23071 +done
6.23072 +_ACEOF
6.23073 +cat >>$CONFIG_STATUS <<\_ACEOF
6.23074 +
6.23075 +#
6.23076 +# CONFIG_HEADER section.
6.23077 +#
6.23078 +
6.23079 +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6.23080 +# NAME is the cpp macro being defined and VALUE is the value it is being given.
6.23081 +#
6.23082 +# ac_d sets the value in "#define NAME VALUE" lines.
6.23083 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6.23084 +ac_dB='[ ].*$,\1#\2'
6.23085 +ac_dC=' '
6.23086 +ac_dD=',;t'
6.23087 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6.23088 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6.23089 +ac_uB='$,\1#\2define\3'
6.23090 +ac_uC=' '
6.23091 +ac_uD=',;t'
6.23092 +
6.23093 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6.23094 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6.23095 + case $ac_file in
6.23096 + - | *:- | *:-:* ) # input from stdin
6.23097 + cat >$tmp/stdin
6.23098 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6.23099 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6.23100 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6.23101 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6.23102 + * ) ac_file_in=$ac_file.in ;;
6.23103 + esac
6.23104 +
6.23105 + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6.23106 +echo "$as_me: creating $ac_file" >&6;}
6.23107 +
6.23108 + # First look for the input files in the build tree, otherwise in the
6.23109 + # src tree.
6.23110 + ac_file_inputs=`IFS=:
6.23111 + for f in $ac_file_in; do
6.23112 + case $f in
6.23113 + -) echo $tmp/stdin ;;
6.23114 + [\\/$]*)
6.23115 + # Absolute (can't be DOS-style, as IFS=:)
6.23116 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6.23117 +echo "$as_me: error: cannot find input file: $f" >&2;}
6.23118 + { (exit 1); exit 1; }; }
6.23119 + # Do quote $f, to prevent DOS paths from being IFS'd.
6.23120 + echo "$f";;
6.23121 + *) # Relative
6.23122 + if test -f "$f"; then
6.23123 + # Build tree
6.23124 + echo "$f"
6.23125 + elif test -f "$srcdir/$f"; then
6.23126 + # Source tree
6.23127 + echo "$srcdir/$f"
6.23128 + else
6.23129 + # /dev/null tree
6.23130 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6.23131 +echo "$as_me: error: cannot find input file: $f" >&2;}
6.23132 + { (exit 1); exit 1; }; }
6.23133 + fi;;
6.23134 + esac
6.23135 + done` || { (exit 1); exit 1; }
6.23136 + # Remove the trailing spaces.
6.23137 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6.23138 +
6.23139 +_ACEOF
6.23140 +
6.23141 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
6.23142 +# `conftest.undefs', that substitutes the proper values into
6.23143 +# config.h.in to produce config.h. The first handles `#define'
6.23144 +# templates, and the second `#undef' templates.
6.23145 +# And first: Protect against being on the right side of a sed subst in
6.23146 +# config.status. Protect against being in an unquoted here document
6.23147 +# in config.status.
6.23148 +rm -f conftest.defines conftest.undefs
6.23149 +# Using a here document instead of a string reduces the quoting nightmare.
6.23150 +# Putting comments in sed scripts is not portable.
6.23151 +#
6.23152 +# `end' is used to avoid that the second main sed command (meant for
6.23153 +# 0-ary CPP macros) applies to n-ary macro definitions.
6.23154 +# See the Autoconf documentation for `clear'.
6.23155 +cat >confdef2sed.sed <<\_ACEOF
6.23156 +s/[\\&,]/\\&/g
6.23157 +s,[\\$`],\\&,g
6.23158 +t clear
6.23159 +: clear
6.23160 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6.23161 +t end
6.23162 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6.23163 +: end
6.23164 +_ACEOF
6.23165 +# If some macros were called several times there might be several times
6.23166 +# the same #defines, which is useless. Nevertheless, we may not want to
6.23167 +# sort them, since we want the *last* AC-DEFINE to be honored.
6.23168 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6.23169 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6.23170 +rm -f confdef2sed.sed
6.23171 +
6.23172 +# This sed command replaces #undef with comments. This is necessary, for
6.23173 +# example, in the case of _POSIX_SOURCE, which is predefined and required
6.23174 +# on some systems where configure will not decide to define it.
6.23175 +cat >>conftest.undefs <<\_ACEOF
6.23176 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6.23177 +_ACEOF
6.23178 +
6.23179 +# Break up conftest.defines because some shells have a limit on the size
6.23180 +# of here documents, and old seds have small limits too (100 cmds).
6.23181 +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6.23182 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6.23183 +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6.23184 +echo ' :' >>$CONFIG_STATUS
6.23185 +rm -f conftest.tail
6.23186 +while grep . conftest.defines >/dev/null
6.23187 +do
6.23188 + # Write a limited-size here document to $tmp/defines.sed.
6.23189 + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6.23190 + # Speed up: don't consider the non `#define' lines.
6.23191 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6.23192 + # Work around the forget-to-reset-the-flag bug.
6.23193 + echo 't clr' >>$CONFIG_STATUS
6.23194 + echo ': clr' >>$CONFIG_STATUS
6.23195 + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6.23196 + echo 'CEOF
6.23197 + sed -f $tmp/defines.sed $tmp/in >$tmp/out
6.23198 + rm -f $tmp/in
6.23199 + mv $tmp/out $tmp/in
6.23200 +' >>$CONFIG_STATUS
6.23201 + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6.23202 + rm -f conftest.defines
6.23203 + mv conftest.tail conftest.defines
6.23204 +done
6.23205 +rm -f conftest.defines
6.23206 +echo ' fi # grep' >>$CONFIG_STATUS
6.23207 +echo >>$CONFIG_STATUS
6.23208 +
6.23209 +# Break up conftest.undefs because some shells have a limit on the size
6.23210 +# of here documents, and old seds have small limits too (100 cmds).
6.23211 +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6.23212 +rm -f conftest.tail
6.23213 +while grep . conftest.undefs >/dev/null
6.23214 +do
6.23215 + # Write a limited-size here document to $tmp/undefs.sed.
6.23216 + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6.23217 + # Speed up: don't consider the non `#undef'
6.23218 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6.23219 + # Work around the forget-to-reset-the-flag bug.
6.23220 + echo 't clr' >>$CONFIG_STATUS
6.23221 + echo ': clr' >>$CONFIG_STATUS
6.23222 + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6.23223 + echo 'CEOF
6.23224 + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6.23225 + rm -f $tmp/in
6.23226 + mv $tmp/out $tmp/in
6.23227 +' >>$CONFIG_STATUS
6.23228 + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6.23229 + rm -f conftest.undefs
6.23230 + mv conftest.tail conftest.undefs
6.23231 +done
6.23232 +rm -f conftest.undefs
6.23233 +
6.23234 +cat >>$CONFIG_STATUS <<\_ACEOF
6.23235 + # Let's still pretend it is `configure' which instantiates (i.e., don't
6.23236 + # use $as_me), people would be surprised to read:
6.23237 + # /* config.h. Generated by config.status. */
6.23238 + if test x"$ac_file" = x-; then
6.23239 + echo "/* Generated by configure. */" >$tmp/config.h
6.23240 + else
6.23241 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6.23242 + fi
6.23243 + cat $tmp/in >>$tmp/config.h
6.23244 + rm -f $tmp/in
6.23245 + if test x"$ac_file" != x-; then
6.23246 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6.23247 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6.23248 +echo "$as_me: $ac_file is unchanged" >&6;}
6.23249 + else
6.23250 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6.23251 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23252 + X"$ac_file" : 'X\(//\)[^/]' \| \
6.23253 + X"$ac_file" : 'X\(//\)$' \| \
6.23254 + X"$ac_file" : 'X\(/\)' \| \
6.23255 + . : '\(.\)' 2>/dev/null ||
6.23256 +echo X"$ac_file" |
6.23257 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23258 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23259 + /^X\(\/\/\)$/{ s//\1/; q; }
6.23260 + /^X\(\/\).*/{ s//\1/; q; }
6.23261 + s/.*/./; q'`
6.23262 + { if $as_mkdir_p; then
6.23263 + mkdir -p "$ac_dir"
6.23264 + else
6.23265 + as_dir="$ac_dir"
6.23266 + as_dirs=
6.23267 + while test ! -d "$as_dir"; do
6.23268 + as_dirs="$as_dir $as_dirs"
6.23269 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
6.23270 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23271 + X"$as_dir" : 'X\(//\)[^/]' \| \
6.23272 + X"$as_dir" : 'X\(//\)$' \| \
6.23273 + X"$as_dir" : 'X\(/\)' \| \
6.23274 + . : '\(.\)' 2>/dev/null ||
6.23275 +echo X"$as_dir" |
6.23276 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23277 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23278 + /^X\(\/\/\)$/{ s//\1/; q; }
6.23279 + /^X\(\/\).*/{ s//\1/; q; }
6.23280 + s/.*/./; q'`
6.23281 + done
6.23282 + test ! -n "$as_dirs" || mkdir $as_dirs
6.23283 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6.23284 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6.23285 + { (exit 1); exit 1; }; }; }
6.23286 +
6.23287 + rm -f $ac_file
6.23288 + mv $tmp/config.h $ac_file
6.23289 + fi
6.23290 + else
6.23291 + cat $tmp/config.h
6.23292 + rm -f $tmp/config.h
6.23293 + fi
6.23294 +# Compute $ac_file's index in $config_headers.
6.23295 +_am_stamp_count=1
6.23296 +for _am_header in $config_headers :; do
6.23297 + case $_am_header in
6.23298 + $ac_file | $ac_file:* )
6.23299 + break ;;
6.23300 + * )
6.23301 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6.23302 + esac
6.23303 +done
6.23304 +echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6.23305 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23306 + X$ac_file : 'X\(//\)[^/]' \| \
6.23307 + X$ac_file : 'X\(//\)$' \| \
6.23308 + X$ac_file : 'X\(/\)' \| \
6.23309 + . : '\(.\)' 2>/dev/null ||
6.23310 +echo X$ac_file |
6.23311 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23312 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23313 + /^X\(\/\/\)$/{ s//\1/; q; }
6.23314 + /^X\(\/\).*/{ s//\1/; q; }
6.23315 + s/.*/./; q'`/stamp-h$_am_stamp_count
6.23316 +done
6.23317 +_ACEOF
6.23318 +cat >>$CONFIG_STATUS <<\_ACEOF
6.23319 +
6.23320 +#
6.23321 +# CONFIG_COMMANDS section.
6.23322 +#
6.23323 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6.23324 + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6.23325 + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6.23326 + ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6.23327 +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23328 + X"$ac_dest" : 'X\(//\)[^/]' \| \
6.23329 + X"$ac_dest" : 'X\(//\)$' \| \
6.23330 + X"$ac_dest" : 'X\(/\)' \| \
6.23331 + . : '\(.\)' 2>/dev/null ||
6.23332 +echo X"$ac_dest" |
6.23333 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23334 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23335 + /^X\(\/\/\)$/{ s//\1/; q; }
6.23336 + /^X\(\/\).*/{ s//\1/; q; }
6.23337 + s/.*/./; q'`
6.23338 + { if $as_mkdir_p; then
6.23339 + mkdir -p "$ac_dir"
6.23340 + else
6.23341 + as_dir="$ac_dir"
6.23342 + as_dirs=
6.23343 + while test ! -d "$as_dir"; do
6.23344 + as_dirs="$as_dir $as_dirs"
6.23345 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
6.23346 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23347 + X"$as_dir" : 'X\(//\)[^/]' \| \
6.23348 + X"$as_dir" : 'X\(//\)$' \| \
6.23349 + X"$as_dir" : 'X\(/\)' \| \
6.23350 + . : '\(.\)' 2>/dev/null ||
6.23351 +echo X"$as_dir" |
6.23352 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23353 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23354 + /^X\(\/\/\)$/{ s//\1/; q; }
6.23355 + /^X\(\/\).*/{ s//\1/; q; }
6.23356 + s/.*/./; q'`
6.23357 + done
6.23358 + test ! -n "$as_dirs" || mkdir $as_dirs
6.23359 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6.23360 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6.23361 + { (exit 1); exit 1; }; }; }
6.23362 +
6.23363 + ac_builddir=.
6.23364 +
6.23365 +if test "$ac_dir" != .; then
6.23366 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6.23367 + # A "../" for each directory in $ac_dir_suffix.
6.23368 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6.23369 +else
6.23370 + ac_dir_suffix= ac_top_builddir=
6.23371 +fi
6.23372 +
6.23373 +case $srcdir in
6.23374 + .) # No --srcdir option. We are building in place.
6.23375 + ac_srcdir=.
6.23376 + if test -z "$ac_top_builddir"; then
6.23377 + ac_top_srcdir=.
6.23378 + else
6.23379 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6.23380 + fi ;;
6.23381 + [\\/]* | ?:[\\/]* ) # Absolute path.
6.23382 + ac_srcdir=$srcdir$ac_dir_suffix;
6.23383 + ac_top_srcdir=$srcdir ;;
6.23384 + *) # Relative path.
6.23385 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6.23386 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
6.23387 +esac
6.23388 +
6.23389 +# Do not use `cd foo && pwd` to compute absolute paths, because
6.23390 +# the directories may not exist.
6.23391 +case `pwd` in
6.23392 +.) ac_abs_builddir="$ac_dir";;
6.23393 +*)
6.23394 + case "$ac_dir" in
6.23395 + .) ac_abs_builddir=`pwd`;;
6.23396 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6.23397 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
6.23398 + esac;;
6.23399 +esac
6.23400 +case $ac_abs_builddir in
6.23401 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
6.23402 +*)
6.23403 + case ${ac_top_builddir}. in
6.23404 + .) ac_abs_top_builddir=$ac_abs_builddir;;
6.23405 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6.23406 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6.23407 + esac;;
6.23408 +esac
6.23409 +case $ac_abs_builddir in
6.23410 +.) ac_abs_srcdir=$ac_srcdir;;
6.23411 +*)
6.23412 + case $ac_srcdir in
6.23413 + .) ac_abs_srcdir=$ac_abs_builddir;;
6.23414 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6.23415 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6.23416 + esac;;
6.23417 +esac
6.23418 +case $ac_abs_builddir in
6.23419 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
6.23420 +*)
6.23421 + case $ac_top_srcdir in
6.23422 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
6.23423 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6.23424 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6.23425 + esac;;
6.23426 +esac
6.23427 +
6.23428 +
6.23429 + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6.23430 +echo "$as_me: executing $ac_dest commands" >&6;}
6.23431 + case $ac_dest in
6.23432 + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6.23433 + # Strip MF so we end up with the name of the file.
6.23434 + mf=`echo "$mf" | sed -e 's/:.*$//'`
6.23435 + # Check whether this is an Automake generated Makefile or not.
6.23436 + # We used to match only the files named `Makefile.in', but
6.23437 + # some people rename them; so instead we look at the file content.
6.23438 + # Grep'ing the first line is not enough: some people post-process
6.23439 + # each Makefile.in and add a new line on top of each file to say so.
6.23440 + # So let's grep whole file.
6.23441 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6.23442 + dirpart=`(dirname "$mf") 2>/dev/null ||
6.23443 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23444 + X"$mf" : 'X\(//\)[^/]' \| \
6.23445 + X"$mf" : 'X\(//\)$' \| \
6.23446 + X"$mf" : 'X\(/\)' \| \
6.23447 + . : '\(.\)' 2>/dev/null ||
6.23448 +echo X"$mf" |
6.23449 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23450 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23451 + /^X\(\/\/\)$/{ s//\1/; q; }
6.23452 + /^X\(\/\).*/{ s//\1/; q; }
6.23453 + s/.*/./; q'`
6.23454 + else
6.23455 + continue
6.23456 + fi
6.23457 + grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
6.23458 + # Extract the definition of DEP_FILES from the Makefile without
6.23459 + # running `make'.
6.23460 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6.23461 + test -z "$DEPDIR" && continue
6.23462 + # When using ansi2knr, U may be empty or an underscore; expand it
6.23463 + U=`sed -n 's/^U = //p' < "$mf"`
6.23464 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6.23465 + # We invoke sed twice because it is the simplest approach to
6.23466 + # changing $(DEPDIR) to its actual value in the expansion.
6.23467 + for file in `sed -n '
6.23468 + /^DEP_FILES = .*\\\\$/ {
6.23469 + s/^DEP_FILES = //
6.23470 + :loop
6.23471 + s/\\\\$//
6.23472 + p
6.23473 + n
6.23474 + /\\\\$/ b loop
6.23475 + p
6.23476 + }
6.23477 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6.23478 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6.23479 + # Make sure the directory exists.
6.23480 + test -f "$dirpart/$file" && continue
6.23481 + fdir=`(dirname "$file") 2>/dev/null ||
6.23482 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23483 + X"$file" : 'X\(//\)[^/]' \| \
6.23484 + X"$file" : 'X\(//\)$' \| \
6.23485 + X"$file" : 'X\(/\)' \| \
6.23486 + . : '\(.\)' 2>/dev/null ||
6.23487 +echo X"$file" |
6.23488 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23489 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23490 + /^X\(\/\/\)$/{ s//\1/; q; }
6.23491 + /^X\(\/\).*/{ s//\1/; q; }
6.23492 + s/.*/./; q'`
6.23493 + { if $as_mkdir_p; then
6.23494 + mkdir -p $dirpart/$fdir
6.23495 + else
6.23496 + as_dir=$dirpart/$fdir
6.23497 + as_dirs=
6.23498 + while test ! -d "$as_dir"; do
6.23499 + as_dirs="$as_dir $as_dirs"
6.23500 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
6.23501 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6.23502 + X"$as_dir" : 'X\(//\)[^/]' \| \
6.23503 + X"$as_dir" : 'X\(//\)$' \| \
6.23504 + X"$as_dir" : 'X\(/\)' \| \
6.23505 + . : '\(.\)' 2>/dev/null ||
6.23506 +echo X"$as_dir" |
6.23507 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6.23508 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6.23509 + /^X\(\/\/\)$/{ s//\1/; q; }
6.23510 + /^X\(\/\).*/{ s//\1/; q; }
6.23511 + s/.*/./; q'`
6.23512 + done
6.23513 + test ! -n "$as_dirs" || mkdir $as_dirs
6.23514 + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6.23515 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6.23516 + { (exit 1); exit 1; }; }; }
6.23517 +
6.23518 + # echo "creating $dirpart/$file"
6.23519 + echo '# dummy' > "$dirpart/$file"
6.23520 + done
6.23521 +done
6.23522 + ;;
6.23523 + esac
6.23524 +done
6.23525 +_ACEOF
6.23526 +
6.23527 +cat >>$CONFIG_STATUS <<\_ACEOF
6.23528 +
6.23529 +{ (exit 0); exit 0; }
6.23530 +_ACEOF
6.23531 +chmod +x $CONFIG_STATUS
6.23532 +ac_clean_files=$ac_clean_files_save
6.23533 +
6.23534 +
6.23535 +# configure is writing to config.log, and then calls config.status.
6.23536 +# config.status does its own redirection, appending to config.log.
6.23537 +# Unfortunately, on DOS this fails, as config.log is still kept open
6.23538 +# by configure, so config.status won't be able to write to it; its
6.23539 +# output is simply discarded. So we exec the FD to /dev/null,
6.23540 +# effectively closing config.log, so it can be properly (re)opened and
6.23541 +# appended to by config.status. When coming back to configure, we
6.23542 +# need to make the FD available again.
6.23543 +if test "$no_create" != yes; then
6.23544 + ac_cs_success=:
6.23545 + ac_config_status_args=
6.23546 + test "$silent" = yes &&
6.23547 + ac_config_status_args="$ac_config_status_args --quiet"
6.23548 + exec 5>/dev/null
6.23549 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6.23550 + exec 5>>config.log
6.23551 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6.23552 + # would make configure fail if this is the last instruction.
6.23553 + $ac_cs_success || { (exit 1); exit 1; }
6.23554 +fi
6.23555 +
6.23556 +
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/gst-plugins-nuvdemux/autom4te.cache/output.1 Tue Oct 24 15:02:26 2006 +0100
7.3 @@ -0,0 +1,23595 @@
7.4 +@%:@! /bin/sh
7.5 +@%:@ Guess values for system-dependent variables and create Makefiles.
7.6 +@%:@ Generated by GNU Autoconf 2.59.
7.7 +@%:@
7.8 +@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
7.9 +@%:@ This configure script is free software; the Free Software Foundation
7.10 +@%:@ gives unlimited permission to copy, distribute and modify it.
7.11 +## --------------------- ##
7.12 +## M4sh Initialization. ##
7.13 +## --------------------- ##
7.14 +
7.15 +# Be Bourne compatible
7.16 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7.17 + emulate sh
7.18 + NULLCMD=:
7.19 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7.20 + # is contrary to our usage. Disable this feature.
7.21 + alias -g '${1+"$@"}'='"$@"'
7.22 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7.23 + set -o posix
7.24 +fi
7.25 +DUALCASE=1; export DUALCASE # for MKS sh
7.26 +
7.27 +# Support unset when possible.
7.28 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7.29 + as_unset=unset
7.30 +else
7.31 + as_unset=false
7.32 +fi
7.33 +
7.34 +
7.35 +# Work around bugs in pre-3.0 UWIN ksh.
7.36 +$as_unset ENV MAIL MAILPATH
7.37 +PS1='$ '
7.38 +PS2='> '
7.39 +PS4='+ '
7.40 +
7.41 +# NLS nuisances.
7.42 +for as_var in \
7.43 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7.44 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7.45 + LC_TELEPHONE LC_TIME
7.46 +do
7.47 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7.48 + eval $as_var=C; export $as_var
7.49 + else
7.50 + $as_unset $as_var
7.51 + fi
7.52 +done
7.53 +
7.54 +# Required to use basename.
7.55 +if expr a : '\(a\)' >/dev/null 2>&1; then
7.56 + as_expr=expr
7.57 +else
7.58 + as_expr=false
7.59 +fi
7.60 +
7.61 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7.62 + as_basename=basename
7.63 +else
7.64 + as_basename=false
7.65 +fi
7.66 +
7.67 +
7.68 +# Name of the executable.
7.69 +as_me=`$as_basename "$0" ||
7.70 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7.71 + X"$0" : 'X\(//\)$' \| \
7.72 + X"$0" : 'X\(/\)$' \| \
7.73 + . : '\(.\)' 2>/dev/null ||
7.74 +echo X/"$0" |
7.75 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7.76 + /^X\/\(\/\/\)$/{ s//\1/; q; }
7.77 + /^X\/\(\/\).*/{ s//\1/; q; }
7.78 + s/.*/./; q'`
7.79 +
7.80 +
7.81 +# PATH needs CR, and LINENO needs CR and PATH.
7.82 +# Avoid depending upon Character Ranges.
7.83 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7.84 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7.85 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7.86 +as_cr_digits='0123456789'
7.87 +as_cr_alnum=$as_cr_Letters$as_cr_digits
7.88 +
7.89 +# The user is always right.
7.90 +if test "${PATH_SEPARATOR+set}" != set; then
7.91 + echo "#! /bin/sh" >conf$$.sh
7.92 + echo "exit 0" >>conf$$.sh
7.93 + chmod +x conf$$.sh
7.94 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7.95 + PATH_SEPARATOR=';'
7.96 + else
7.97 + PATH_SEPARATOR=:
7.98 + fi
7.99 + rm -f conf$$.sh
7.100 +fi
7.101 +
7.102 +
7.103 + as_lineno_1=$LINENO
7.104 + as_lineno_2=$LINENO
7.105 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7.106 + test "x$as_lineno_1" != "x$as_lineno_2" &&
7.107 + test "x$as_lineno_3" = "x$as_lineno_2" || {
7.108 + # Find who we are. Look in the path if we contain no path at all
7.109 + # relative or not.
7.110 + case $0 in
7.111 + *[\\/]* ) as_myself=$0 ;;
7.112 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.113 +for as_dir in $PATH
7.114 +do
7.115 + IFS=$as_save_IFS
7.116 + test -z "$as_dir" && as_dir=.
7.117 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7.118 +done
7.119 +
7.120 + ;;
7.121 + esac
7.122 + # We did not find ourselves, most probably we were run as `sh COMMAND'
7.123 + # in which case we are not to be found in the path.
7.124 + if test "x$as_myself" = x; then
7.125 + as_myself=$0
7.126 + fi
7.127 + if test ! -f "$as_myself"; then
7.128 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
7.129 + { (exit 1); exit 1; }; }
7.130 + fi
7.131 + case $CONFIG_SHELL in
7.132 + '')
7.133 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.134 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7.135 +do
7.136 + IFS=$as_save_IFS
7.137 + test -z "$as_dir" && as_dir=.
7.138 + for as_base in sh bash ksh sh5; do
7.139 + case $as_dir in
7.140 + /*)
7.141 + if ("$as_dir/$as_base" -c '
7.142 + as_lineno_1=$LINENO
7.143 + as_lineno_2=$LINENO
7.144 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7.145 + test "x$as_lineno_1" != "x$as_lineno_2" &&
7.146 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7.147 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7.148 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7.149 + CONFIG_SHELL=$as_dir/$as_base
7.150 + export CONFIG_SHELL
7.151 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7.152 + fi;;
7.153 + esac
7.154 + done
7.155 +done
7.156 +;;
7.157 + esac
7.158 +
7.159 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7.160 + # uniformly replaced by the line number. The first 'sed' inserts a
7.161 + # line-number line before each line; the second 'sed' does the real
7.162 + # work. The second script uses 'N' to pair each line-number line
7.163 + # with the numbered line, and appends trailing '-' during
7.164 + # substitution so that $LINENO is not a special case at line end.
7.165 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7.166 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7.167 + sed '=' <$as_myself |
7.168 + sed '
7.169 + N
7.170 + s,$,-,
7.171 + : loop
7.172 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7.173 + t loop
7.174 + s,-$,,
7.175 + s,^['$as_cr_digits']*\n,,
7.176 + ' >$as_me.lineno &&
7.177 + chmod +x $as_me.lineno ||
7.178 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7.179 + { (exit 1); exit 1; }; }
7.180 +
7.181 + # Don't try to exec as it changes $[0], causing all sort of problems
7.182 + # (the dirname of $[0] is not the place where we might find the
7.183 + # original and so on. Autoconf is especially sensible to this).
7.184 + . ./$as_me.lineno
7.185 + # Exit status is that of the last command.
7.186 + exit
7.187 +}
7.188 +
7.189 +
7.190 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7.191 + *c*,-n*) ECHO_N= ECHO_C='
7.192 +' ECHO_T=' ' ;;
7.193 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7.194 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7.195 +esac
7.196 +
7.197 +if expr a : '\(a\)' >/dev/null 2>&1; then
7.198 + as_expr=expr
7.199 +else
7.200 + as_expr=false
7.201 +fi
7.202 +
7.203 +rm -f conf$$ conf$$.exe conf$$.file
7.204 +echo >conf$$.file
7.205 +if ln -s conf$$.file conf$$ 2>/dev/null; then
7.206 + # We could just check for DJGPP; but this test a) works b) is more generic
7.207 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7.208 + if test -f conf$$.exe; then
7.209 + # Don't use ln at all; we don't have any links
7.210 + as_ln_s='cp -p'
7.211 + else
7.212 + as_ln_s='ln -s'
7.213 + fi
7.214 +elif ln conf$$.file conf$$ 2>/dev/null; then
7.215 + as_ln_s=ln
7.216 +else
7.217 + as_ln_s='cp -p'
7.218 +fi
7.219 +rm -f conf$$ conf$$.exe conf$$.file
7.220 +
7.221 +if mkdir -p . 2>/dev/null; then
7.222 + as_mkdir_p=:
7.223 +else
7.224 + test -d ./-p && rmdir ./-p
7.225 + as_mkdir_p=false
7.226 +fi
7.227 +
7.228 +as_executable_p="test -f"
7.229 +
7.230 +# Sed expression to map a string onto a valid CPP name.
7.231 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7.232 +
7.233 +# Sed expression to map a string onto a valid variable name.
7.234 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7.235 +
7.236 +
7.237 +# IFS
7.238 +# We need space, tab and new line, in precisely that order.
7.239 +as_nl='
7.240 +'
7.241 +IFS=" $as_nl"
7.242 +
7.243 +# CDPATH.
7.244 +$as_unset CDPATH
7.245 +
7.246 +
7.247 +
7.248 +# Check that we are running under the correct shell.
7.249 +SHELL=${CONFIG_SHELL-/bin/sh}
7.250 +
7.251 +case X$ECHO in
7.252 +X*--fallback-echo)
7.253 + # Remove one level of quotation (which was required for Make).
7.254 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
7.255 + ;;
7.256 +esac
7.257 +
7.258 +echo=${ECHO-echo}
7.259 +if test "X$1" = X--no-reexec; then
7.260 + # Discard the --no-reexec flag, and continue.
7.261 + shift
7.262 +elif test "X$1" = X--fallback-echo; then
7.263 + # Avoid inline document here, it may be left over
7.264 + :
7.265 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
7.266 + # Yippee, $echo works!
7.267 + :
7.268 +else
7.269 + # Restart under the correct shell.
7.270 + exec $SHELL "$0" --no-reexec ${1+"$@"}
7.271 +fi
7.272 +
7.273 +if test "X$1" = X--fallback-echo; then
7.274 + # used as fallback echo
7.275 + shift
7.276 + cat <<EOF
7.277 +$*
7.278 +EOF
7.279 + exit 0
7.280 +fi
7.281 +
7.282 +# The HP-UX ksh and POSIX shell print the target directory to stdout
7.283 +# if CDPATH is set.
7.284 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7.285 +
7.286 +if test -z "$ECHO"; then
7.287 +if test "X${echo_test_string+set}" != Xset; then
7.288 +# find a string as large as possible, as long as the shell can cope with it
7.289 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
7.290 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
7.291 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
7.292 + echo_test_string=`eval $cmd` &&
7.293 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
7.294 + then
7.295 + break
7.296 + fi
7.297 + done
7.298 +fi
7.299 +
7.300 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
7.301 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
7.302 + test "X$echo_testing_string" = "X$echo_test_string"; then
7.303 + :
7.304 +else
7.305 + # The Solaris, AIX, and Digital Unix default echo programs unquote
7.306 + # backslashes. This makes it impossible to quote backslashes using
7.307 + # echo "$something" | sed 's/\\/\\\\/g'
7.308 + #
7.309 + # So, first we look for a working echo in the user's PATH.
7.310 +
7.311 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7.312 + for dir in $PATH /usr/ucb; do
7.313 + IFS="$lt_save_ifs"
7.314 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
7.315 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
7.316 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
7.317 + test "X$echo_testing_string" = "X$echo_test_string"; then
7.318 + echo="$dir/echo"
7.319 + break
7.320 + fi
7.321 + done
7.322 + IFS="$lt_save_ifs"
7.323 +
7.324 + if test "X$echo" = Xecho; then
7.325 + # We didn't find a better echo, so look for alternatives.
7.326 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
7.327 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
7.328 + test "X$echo_testing_string" = "X$echo_test_string"; then
7.329 + # This shell has a builtin print -r that does the trick.
7.330 + echo='print -r'
7.331 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
7.332 + test "X$CONFIG_SHELL" != X/bin/ksh; then
7.333 + # If we have ksh, try running configure again with it.
7.334 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7.335 + export ORIGINAL_CONFIG_SHELL
7.336 + CONFIG_SHELL=/bin/ksh
7.337 + export CONFIG_SHELL
7.338 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
7.339 + else
7.340 + # Try using printf.
7.341 + echo='printf %s\n'
7.342 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
7.343 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
7.344 + test "X$echo_testing_string" = "X$echo_test_string"; then
7.345 + # Cool, printf works
7.346 + :
7.347 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
7.348 + test "X$echo_testing_string" = 'X\t' &&
7.349 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
7.350 + test "X$echo_testing_string" = "X$echo_test_string"; then
7.351 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
7.352 + export CONFIG_SHELL
7.353 + SHELL="$CONFIG_SHELL"
7.354 + export SHELL
7.355 + echo="$CONFIG_SHELL $0 --fallback-echo"
7.356 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
7.357 + test "X$echo_testing_string" = 'X\t' &&
7.358 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
7.359 + test "X$echo_testing_string" = "X$echo_test_string"; then
7.360 + echo="$CONFIG_SHELL $0 --fallback-echo"
7.361 + else
7.362 + # maybe with a smaller string...
7.363 + prev=:
7.364 +
7.365 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
7.366 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
7.367 + then
7.368 + break
7.369 + fi
7.370 + prev="$cmd"
7.371 + done
7.372 +
7.373 + if test "$prev" != 'sed 50q "$0"'; then
7.374 + echo_test_string=`eval $prev`
7.375 + export echo_test_string
7.376 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
7.377 + else
7.378 + # Oops. We lost completely, so just stick with echo.
7.379 + echo=echo
7.380 + fi
7.381 + fi
7.382 + fi
7.383 + fi
7.384 +fi
7.385 +fi
7.386 +
7.387 +# Copy echo and quote the copy suitably for passing to libtool from
7.388 +# the Makefile, instead of quoting the original, which is used later.
7.389 +ECHO=$echo
7.390 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
7.391 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
7.392 +fi
7.393 +
7.394 +
7.395 +
7.396 +
7.397 +tagnames=${tagnames+${tagnames},}CXX
7.398 +
7.399 +tagnames=${tagnames+${tagnames},}F77
7.400 +
7.401 +# Name of the host.
7.402 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
7.403 +# so uname gets run too.
7.404 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
7.405 +
7.406 +exec 6>&1
7.407 +
7.408 +#
7.409 +# Initializations.
7.410 +#
7.411 +ac_default_prefix=/usr/local
7.412 +ac_config_libobj_dir=.
7.413 +cross_compiling=no
7.414 +subdirs=
7.415 +MFLAGS=
7.416 +MAKEFLAGS=
7.417 +SHELL=${CONFIG_SHELL-/bin/sh}
7.418 +
7.419 +# Maximum number of lines to put in a shell here document.
7.420 +# This variable seems obsolete. It should probably be removed, and
7.421 +# only ac_max_sed_lines should be used.
7.422 +: ${ac_max_here_lines=38}
7.423 +
7.424 +# Identity of this package.
7.425 +PACKAGE_NAME=
7.426 +PACKAGE_TARNAME=
7.427 +PACKAGE_VERSION=
7.428 +PACKAGE_STRING=
7.429 +PACKAGE_BUGREPORT=
7.430 +
7.431 +# Factoring default headers for most tests.
7.432 +ac_includes_default="\
7.433 +#include <stdio.h>
7.434 +#if HAVE_SYS_TYPES_H
7.435 +# include <sys/types.h>
7.436 +#endif
7.437 +#if HAVE_SYS_STAT_H
7.438 +# include <sys/stat.h>
7.439 +#endif
7.440 +#if STDC_HEADERS
7.441 +# include <stdlib.h>
7.442 +# include <stddef.h>
7.443 +#else
7.444 +# if HAVE_STDLIB_H
7.445 +# include <stdlib.h>
7.446 +# endif
7.447 +#endif
7.448 +#if HAVE_STRING_H
7.449 +# if !STDC_HEADERS && HAVE_MEMORY_H
7.450 +# include <memory.h>
7.451 +# endif
7.452 +# include <string.h>
7.453 +#endif
7.454 +#if HAVE_STRINGS_H
7.455 +# include <strings.h>
7.456 +#endif
7.457 +#if HAVE_INTTYPES_H
7.458 +# include <inttypes.h>
7.459 +#else
7.460 +# if HAVE_STDINT_H
7.461 +# include <stdint.h>
7.462 +# endif
7.463 +#endif
7.464 +#if HAVE_UNISTD_H
7.465 +# include <unistd.h>
7.466 +#endif"
7.467 +
7.468 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GST_PLUGINS_VERSION GST_PLUGINS_VERSION_RELEASE GST_PLUGINS_VERSION_MAJOR GST_PLUGINS_VERSION_MINOR GST_PLUGINS_VERSION_MICRO GST_PLUGINS_VERSION_NANO PACKAGE VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ACLOCAL_AMFLAGS CCAS CCASFLAGS ERROR_CFLAGS HAVE_CXX HAVE_PKGCONFIG PKG_CONFIG GST_CFLAGS GST_LIBS GST_MAJORMINOR GST_BASE_CFLAGS GST_BASE_LIBS GST_PLUGINS_BASE_CFLAGS GST_PLUGINS_BASE_LIBS plugindir GST_PLUGIN_LDFLAGS LIB@&t@OBJS LTLIBOBJS'
7.469 +ac_subst_files=''
7.470 +
7.471 +# Initialize some variables set by options.
7.472 +ac_init_help=
7.473 +ac_init_version=false
7.474 +# The variables have the same names as the options, with
7.475 +# dashes changed to underlines.
7.476 +cache_file=/dev/null
7.477 +exec_prefix=NONE
7.478 +no_create=
7.479 +no_recursion=
7.480 +prefix=NONE
7.481 +program_prefix=NONE
7.482 +program_suffix=NONE
7.483 +program_transform_name=s,x,x,
7.484 +silent=
7.485 +site=
7.486 +srcdir=
7.487 +verbose=
7.488 +x_includes=NONE
7.489 +x_libraries=NONE
7.490 +
7.491 +# Installation directory options.
7.492 +# These are left unexpanded so users can "make install exec_prefix=/foo"
7.493 +# and all the variables that are supposed to be based on exec_prefix
7.494 +# by default will actually change.
7.495 +# Use braces instead of parens because sh, perl, etc. also accept them.
7.496 +bindir='${exec_prefix}/bin'
7.497 +sbindir='${exec_prefix}/sbin'
7.498 +libexecdir='${exec_prefix}/libexec'
7.499 +datadir='${prefix}/share'
7.500 +sysconfdir='${prefix}/etc'
7.501 +sharedstatedir='${prefix}/com'
7.502 +localstatedir='${prefix}/var'
7.503 +libdir='${exec_prefix}/lib'
7.504 +includedir='${prefix}/include'
7.505 +oldincludedir='/usr/include'
7.506 +infodir='${prefix}/info'
7.507 +mandir='${prefix}/man'
7.508 +
7.509 +ac_prev=
7.510 +for ac_option
7.511 +do
7.512 + # If the previous option needs an argument, assign it.
7.513 + if test -n "$ac_prev"; then
7.514 + eval "$ac_prev=\$ac_option"
7.515 + ac_prev=
7.516 + continue
7.517 + fi
7.518 +
7.519 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
7.520 +
7.521 + # Accept the important Cygnus configure options, so we can diagnose typos.
7.522 +
7.523 + case $ac_option in
7.524 +
7.525 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
7.526 + ac_prev=bindir ;;
7.527 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
7.528 + bindir=$ac_optarg ;;
7.529 +
7.530 + -build | --build | --buil | --bui | --bu)
7.531 + ac_prev=build_alias ;;
7.532 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
7.533 + build_alias=$ac_optarg ;;
7.534 +
7.535 + -cache-file | --cache-file | --cache-fil | --cache-fi \
7.536 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7.537 + ac_prev=cache_file ;;
7.538 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7.539 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
7.540 + cache_file=$ac_optarg ;;
7.541 +
7.542 + --config-cache | -C)
7.543 + cache_file=config.cache ;;
7.544 +
7.545 + -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
7.546 + ac_prev=datadir ;;
7.547 + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
7.548 + | --da=*)
7.549 + datadir=$ac_optarg ;;
7.550 +
7.551 + -disable-* | --disable-*)
7.552 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
7.553 + # Reject names that are not valid shell variable names.
7.554 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
7.555 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
7.556 + { (exit 1); exit 1; }; }
7.557 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
7.558 + eval "enable_$ac_feature=no" ;;
7.559 +
7.560 + -enable-* | --enable-*)
7.561 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
7.562 + # Reject names that are not valid shell variable names.
7.563 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
7.564 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
7.565 + { (exit 1); exit 1; }; }
7.566 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
7.567 + case $ac_option in
7.568 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
7.569 + *) ac_optarg=yes ;;
7.570 + esac
7.571 + eval "enable_$ac_feature='$ac_optarg'" ;;
7.572 +
7.573 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
7.574 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
7.575 + | --exec | --exe | --ex)
7.576 + ac_prev=exec_prefix ;;
7.577 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
7.578 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
7.579 + | --exec=* | --exe=* | --ex=*)
7.580 + exec_prefix=$ac_optarg ;;
7.581 +
7.582 + -gas | --gas | --ga | --g)
7.583 + # Obsolete; use --with-gas.
7.584 + with_gas=yes ;;
7.585 +
7.586 + -help | --help | --hel | --he | -h)
7.587 + ac_init_help=long ;;
7.588 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
7.589 + ac_init_help=recursive ;;
7.590 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
7.591 + ac_init_help=short ;;
7.592 +
7.593 + -host | --host | --hos | --ho)
7.594 + ac_prev=host_alias ;;
7.595 + -host=* | --host=* | --hos=* | --ho=*)
7.596 + host_alias=$ac_optarg ;;
7.597 +
7.598 + -includedir | --includedir | --includedi | --included | --include \
7.599 + | --includ | --inclu | --incl | --inc)
7.600 + ac_prev=includedir ;;
7.601 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
7.602 + | --includ=* | --inclu=* | --incl=* | --inc=*)
7.603 + includedir=$ac_optarg ;;
7.604 +
7.605 + -infodir | --infodir | --infodi | --infod | --info | --inf)
7.606 + ac_prev=infodir ;;
7.607 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
7.608 + infodir=$ac_optarg ;;
7.609 +
7.610 + -libdir | --libdir | --libdi | --libd)
7.611 + ac_prev=libdir ;;
7.612 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
7.613 + libdir=$ac_optarg ;;
7.614 +
7.615 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
7.616 + | --libexe | --libex | --libe)
7.617 + ac_prev=libexecdir ;;
7.618 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
7.619 + | --libexe=* | --libex=* | --libe=*)
7.620 + libexecdir=$ac_optarg ;;
7.621 +
7.622 + -localstatedir | --localstatedir | --localstatedi | --localstated \
7.623 + | --localstate | --localstat | --localsta | --localst \
7.624 + | --locals | --local | --loca | --loc | --lo)
7.625 + ac_prev=localstatedir ;;
7.626 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
7.627 + | --localstate=* | --localstat=* | --localsta=* | --localst=* \
7.628 + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
7.629 + localstatedir=$ac_optarg ;;
7.630 +
7.631 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
7.632 + ac_prev=mandir ;;
7.633 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
7.634 + mandir=$ac_optarg ;;
7.635 +
7.636 + -nfp | --nfp | --nf)
7.637 + # Obsolete; use --without-fp.
7.638 + with_fp=no ;;
7.639 +
7.640 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7.641 + | --no-cr | --no-c | -n)
7.642 + no_create=yes ;;
7.643 +
7.644 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7.645 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
7.646 + no_recursion=yes ;;
7.647 +
7.648 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
7.649 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
7.650 + | --oldin | --oldi | --old | --ol | --o)
7.651 + ac_prev=oldincludedir ;;
7.652 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
7.653 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
7.654 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
7.655 + oldincludedir=$ac_optarg ;;
7.656 +
7.657 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7.658 + ac_prev=prefix ;;
7.659 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7.660 + prefix=$ac_optarg ;;
7.661 +
7.662 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
7.663 + | --program-pre | --program-pr | --program-p)
7.664 + ac_prev=program_prefix ;;
7.665 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
7.666 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
7.667 + program_prefix=$ac_optarg ;;
7.668 +
7.669 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
7.670 + | --program-suf | --program-su | --program-s)
7.671 + ac_prev=program_suffix ;;
7.672 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
7.673 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
7.674 + program_suffix=$ac_optarg ;;
7.675 +
7.676 + -program-transform-name | --program-transform-name \
7.677 + | --program-transform-nam | --program-transform-na \
7.678 + | --program-transform-n | --program-transform- \
7.679 + | --program-transform | --program-transfor \
7.680 + | --program-transfo | --program-transf \
7.681 + | --program-trans | --program-tran \
7.682 + | --progr-tra | --program-tr | --program-t)
7.683 + ac_prev=program_transform_name ;;
7.684 + -program-transform-name=* | --program-transform-name=* \
7.685 + | --program-transform-nam=* | --program-transform-na=* \
7.686 + | --program-transform-n=* | --program-transform-=* \
7.687 + | --program-transform=* | --program-transfor=* \
7.688 + | --program-transfo=* | --program-transf=* \
7.689 + | --program-trans=* | --program-tran=* \
7.690 + | --progr-tra=* | --program-tr=* | --program-t=*)
7.691 + program_transform_name=$ac_optarg ;;
7.692 +
7.693 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7.694 + | -silent | --silent | --silen | --sile | --sil)
7.695 + silent=yes ;;
7.696 +
7.697 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
7.698 + ac_prev=sbindir ;;
7.699 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
7.700 + | --sbi=* | --sb=*)
7.701 + sbindir=$ac_optarg ;;
7.702 +
7.703 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
7.704 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
7.705 + | --sharedst | --shareds | --shared | --share | --shar \
7.706 + | --sha | --sh)
7.707 + ac_prev=sharedstatedir ;;
7.708 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
7.709 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
7.710 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
7.711 + | --sha=* | --sh=*)
7.712 + sharedstatedir=$ac_optarg ;;
7.713 +
7.714 + -site | --site | --sit)
7.715 + ac_prev=site ;;
7.716 + -site=* | --site=* | --sit=*)
7.717 + site=$ac_optarg ;;
7.718 +
7.719 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
7.720 + ac_prev=srcdir ;;
7.721 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
7.722 + srcdir=$ac_optarg ;;
7.723 +
7.724 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
7.725 + | --syscon | --sysco | --sysc | --sys | --sy)
7.726 + ac_prev=sysconfdir ;;
7.727 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
7.728 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
7.729 + sysconfdir=$ac_optarg ;;
7.730 +
7.731 + -target | --target | --targe | --targ | --tar | --ta | --t)
7.732 + ac_prev=target_alias ;;
7.733 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
7.734 + target_alias=$ac_optarg ;;
7.735 +
7.736 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
7.737 + verbose=yes ;;
7.738 +
7.739 + -version | --version | --versio | --versi | --vers | -V)
7.740 + ac_init_version=: ;;
7.741 +
7.742 + -with-* | --with-*)
7.743 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
7.744 + # Reject names that are not valid shell variable names.
7.745 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
7.746 + { echo "$as_me: error: invalid package name: $ac_package" >&2
7.747 + { (exit 1); exit 1; }; }
7.748 + ac_package=`echo $ac_package| sed 's/-/_/g'`
7.749 + case $ac_option in
7.750 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
7.751 + *) ac_optarg=yes ;;
7.752 + esac
7.753 + eval "with_$ac_package='$ac_optarg'" ;;
7.754 +
7.755 + -without-* | --without-*)
7.756 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
7.757 + # Reject names that are not valid shell variable names.
7.758 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
7.759 + { echo "$as_me: error: invalid package name: $ac_package" >&2
7.760 + { (exit 1); exit 1; }; }
7.761 + ac_package=`echo $ac_package | sed 's/-/_/g'`
7.762 + eval "with_$ac_package=no" ;;
7.763 +
7.764 + --x)
7.765 + # Obsolete; use --with-x.
7.766 + with_x=yes ;;
7.767 +
7.768 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
7.769 + | --x-incl | --x-inc | --x-in | --x-i)
7.770 + ac_prev=x_includes ;;
7.771 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
7.772 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
7.773 + x_includes=$ac_optarg ;;
7.774 +
7.775 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
7.776 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
7.777 + ac_prev=x_libraries ;;
7.778 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
7.779 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
7.780 + x_libraries=$ac_optarg ;;
7.781 +
7.782 + -*) { echo "$as_me: error: unrecognized option: $ac_option
7.783 +Try \`$0 --help' for more information." >&2
7.784 + { (exit 1); exit 1; }; }
7.785 + ;;
7.786 +
7.787 + *=*)
7.788 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
7.789 + # Reject names that are not valid shell variable names.
7.790 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
7.791 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
7.792 + { (exit 1); exit 1; }; }
7.793 + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
7.794 + eval "$ac_envvar='$ac_optarg'"
7.795 + export $ac_envvar ;;
7.796 +
7.797 + *)
7.798 + # FIXME: should be removed in autoconf 3.0.
7.799 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
7.800 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7.801 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
7.802 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
7.803 + ;;
7.804 +
7.805 + esac
7.806 +done
7.807 +
7.808 +if test -n "$ac_prev"; then
7.809 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
7.810 + { echo "$as_me: error: missing argument to $ac_option" >&2
7.811 + { (exit 1); exit 1; }; }
7.812 +fi
7.813 +
7.814 +# Be sure to have absolute paths.
7.815 +for ac_var in exec_prefix prefix
7.816 +do
7.817 + eval ac_val=$`echo $ac_var`
7.818 + case $ac_val in
7.819 + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
7.820 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
7.821 + { (exit 1); exit 1; }; };;
7.822 + esac
7.823 +done
7.824 +
7.825 +# Be sure to have absolute paths.
7.826 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
7.827 + localstatedir libdir includedir oldincludedir infodir mandir
7.828 +do
7.829 + eval ac_val=$`echo $ac_var`
7.830 + case $ac_val in
7.831 + [\\/$]* | ?:[\\/]* ) ;;
7.832 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
7.833 + { (exit 1); exit 1; }; };;
7.834 + esac
7.835 +done
7.836 +
7.837 +# There might be people who depend on the old broken behavior: `$host'
7.838 +# used to hold the argument of --host etc.
7.839 +# FIXME: To remove some day.
7.840 +build=$build_alias
7.841 +host=$host_alias
7.842 +target=$target_alias
7.843 +
7.844 +# FIXME: To remove some day.
7.845 +if test "x$host_alias" != x; then
7.846 + if test "x$build_alias" = x; then
7.847 + cross_compiling=maybe
7.848 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
7.849 + If a cross compiler is detected then cross compile mode will be used." >&2
7.850 + elif test "x$build_alias" != "x$host_alias"; then
7.851 + cross_compiling=yes
7.852 + fi
7.853 +fi
7.854 +
7.855 +ac_tool_prefix=
7.856 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
7.857 +
7.858 +test "$silent" = yes && exec 6>/dev/null
7.859 +
7.860 +
7.861 +# Find the source files, if location was not specified.
7.862 +if test -z "$srcdir"; then
7.863 + ac_srcdir_defaulted=yes
7.864 + # Try the directory containing this script, then its parent.
7.865 + ac_confdir=`(dirname "$0") 2>/dev/null ||
7.866 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7.867 + X"$0" : 'X\(//\)[^/]' \| \
7.868 + X"$0" : 'X\(//\)$' \| \
7.869 + X"$0" : 'X\(/\)' \| \
7.870 + . : '\(.\)' 2>/dev/null ||
7.871 +echo X"$0" |
7.872 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7.873 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7.874 + /^X\(\/\/\)$/{ s//\1/; q; }
7.875 + /^X\(\/\).*/{ s//\1/; q; }
7.876 + s/.*/./; q'`
7.877 + srcdir=$ac_confdir
7.878 + if test ! -r $srcdir/$ac_unique_file; then
7.879 + srcdir=..
7.880 + fi
7.881 +else
7.882 + ac_srcdir_defaulted=no
7.883 +fi
7.884 +if test ! -r $srcdir/$ac_unique_file; then
7.885 + if test "$ac_srcdir_defaulted" = yes; then
7.886 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
7.887 + { (exit 1); exit 1; }; }
7.888 + else
7.889 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
7.890 + { (exit 1); exit 1; }; }
7.891 + fi
7.892 +fi
7.893 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
7.894 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
7.895 + { (exit 1); exit 1; }; }
7.896 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
7.897 +ac_env_build_alias_set=${build_alias+set}
7.898 +ac_env_build_alias_value=$build_alias
7.899 +ac_cv_env_build_alias_set=${build_alias+set}
7.900 +ac_cv_env_build_alias_value=$build_alias
7.901 +ac_env_host_alias_set=${host_alias+set}
7.902 +ac_env_host_alias_value=$host_alias
7.903 +ac_cv_env_host_alias_set=${host_alias+set}
7.904 +ac_cv_env_host_alias_value=$host_alias
7.905 +ac_env_target_alias_set=${target_alias+set}
7.906 +ac_env_target_alias_value=$target_alias
7.907 +ac_cv_env_target_alias_set=${target_alias+set}
7.908 +ac_cv_env_target_alias_value=$target_alias
7.909 +ac_env_CC_set=${CC+set}
7.910 +ac_env_CC_value=$CC
7.911 +ac_cv_env_CC_set=${CC+set}
7.912 +ac_cv_env_CC_value=$CC
7.913 +ac_env_CFLAGS_set=${CFLAGS+set}
7.914 +ac_env_CFLAGS_value=$CFLAGS
7.915 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
7.916 +ac_cv_env_CFLAGS_value=$CFLAGS
7.917 +ac_env_LDFLAGS_set=${LDFLAGS+set}
7.918 +ac_env_LDFLAGS_value=$LDFLAGS
7.919 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
7.920 +ac_cv_env_LDFLAGS_value=$LDFLAGS
7.921 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
7.922 +ac_env_CPPFLAGS_value=$CPPFLAGS
7.923 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
7.924 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
7.925 +ac_env_CPP_set=${CPP+set}
7.926 +ac_env_CPP_value=$CPP
7.927 +ac_cv_env_CPP_set=${CPP+set}
7.928 +ac_cv_env_CPP_value=$CPP
7.929 +ac_env_CXX_set=${CXX+set}
7.930 +ac_env_CXX_value=$CXX
7.931 +ac_cv_env_CXX_set=${CXX+set}
7.932 +ac_cv_env_CXX_value=$CXX
7.933 +ac_env_CXXFLAGS_set=${CXXFLAGS+set}
7.934 +ac_env_CXXFLAGS_value=$CXXFLAGS
7.935 +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
7.936 +ac_cv_env_CXXFLAGS_value=$CXXFLAGS
7.937 +ac_env_CXXCPP_set=${CXXCPP+set}
7.938 +ac_env_CXXCPP_value=$CXXCPP
7.939 +ac_cv_env_CXXCPP_set=${CXXCPP+set}
7.940 +ac_cv_env_CXXCPP_value=$CXXCPP
7.941 +ac_env_F77_set=${F77+set}
7.942 +ac_env_F77_value=$F77
7.943 +ac_cv_env_F77_set=${F77+set}
7.944 +ac_cv_env_F77_value=$F77
7.945 +ac_env_FFLAGS_set=${FFLAGS+set}
7.946 +ac_env_FFLAGS_value=$FFLAGS
7.947 +ac_cv_env_FFLAGS_set=${FFLAGS+set}
7.948 +ac_cv_env_FFLAGS_value=$FFLAGS
7.949 +ac_env_CCAS_set=${CCAS+set}
7.950 +ac_env_CCAS_value=$CCAS
7.951 +ac_cv_env_CCAS_set=${CCAS+set}
7.952 +ac_cv_env_CCAS_value=$CCAS
7.953 +ac_env_CCASFLAGS_set=${CCASFLAGS+set}
7.954 +ac_env_CCASFLAGS_value=$CCASFLAGS
7.955 +ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
7.956 +ac_cv_env_CCASFLAGS_value=$CCASFLAGS
7.957 +
7.958 +#
7.959 +# Report the --help message.
7.960 +#
7.961 +if test "$ac_init_help" = "long"; then
7.962 + # Omit some internal or obsolete options to make the list less imposing.
7.963 + # This message is too long to be a string in the A/UX 3.1 sh.
7.964 + cat <<_ACEOF
7.965 +\`configure' configures this package to adapt to many kinds of systems.
7.966 +
7.967 +Usage: $0 [OPTION]... [VAR=VALUE]...
7.968 +
7.969 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
7.970 +VAR=VALUE. See below for descriptions of some of the useful variables.
7.971 +
7.972 +Defaults for the options are specified in brackets.
7.973 +
7.974 +Configuration:
7.975 + -h, --help display this help and exit
7.976 + --help=short display options specific to this package
7.977 + --help=recursive display the short help of all the included packages
7.978 + -V, --version display version information and exit
7.979 + -q, --quiet, --silent do not print \`checking...' messages
7.980 + --cache-file=FILE cache test results in FILE [disabled]
7.981 + -C, --config-cache alias for \`--cache-file=config.cache'
7.982 + -n, --no-create do not create output files
7.983 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
7.984 +
7.985 +_ACEOF
7.986 +
7.987 + cat <<_ACEOF
7.988 +Installation directories:
7.989 + --prefix=PREFIX install architecture-independent files in PREFIX
7.990 + [$ac_default_prefix]
7.991 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
7.992 + [PREFIX]
7.993 +
7.994 +By default, \`make install' will install all the files in
7.995 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
7.996 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
7.997 +for instance \`--prefix=\$HOME'.
7.998 +
7.999 +For better control, use the options below.
7.1000 +
7.1001 +Fine tuning of the installation directories:
7.1002 + --bindir=DIR user executables [EPREFIX/bin]
7.1003 + --sbindir=DIR system admin executables [EPREFIX/sbin]
7.1004 + --libexecdir=DIR program executables [EPREFIX/libexec]
7.1005 + --datadir=DIR read-only architecture-independent data [PREFIX/share]
7.1006 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
7.1007 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
7.1008 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
7.1009 + --libdir=DIR object code libraries [EPREFIX/lib]
7.1010 + --includedir=DIR C header files [PREFIX/include]
7.1011 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
7.1012 + --infodir=DIR info documentation [PREFIX/info]
7.1013 + --mandir=DIR man documentation [PREFIX/man]
7.1014 +_ACEOF
7.1015 +
7.1016 + cat <<\_ACEOF
7.1017 +
7.1018 +Program names:
7.1019 + --program-prefix=PREFIX prepend PREFIX to installed program names
7.1020 + --program-suffix=SUFFIX append SUFFIX to installed program names
7.1021 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
7.1022 +
7.1023 +System types:
7.1024 + --build=BUILD configure for building on BUILD [guessed]
7.1025 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
7.1026 + --target=TARGET configure for building compilers for TARGET [HOST]
7.1027 +_ACEOF
7.1028 +fi
7.1029 +
7.1030 +if test -n "$ac_init_help"; then
7.1031 +
7.1032 + cat <<\_ACEOF
7.1033 +
7.1034 +Optional Features:
7.1035 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
7.1036 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
7.1037 + --enable-static@<:@=PKGS@:>@
7.1038 + build static libraries @<:@default=no@:>@
7.1039 + --enable-maintainer-mode enable make rules and dependencies not useful
7.1040 + (and sometimes confusing) to the casual installer
7.1041 + --enable-shared@<:@=PKGS@:>@
7.1042 + build shared libraries @<:@default=yes@:>@
7.1043 + --enable-fast-install@<:@=PKGS@:>@
7.1044 + optimize for fast installation @<:@default=yes@:>@
7.1045 + --disable-dependency-tracking speeds up one-time build
7.1046 + --enable-dependency-tracking do not reject slow dependency extractors
7.1047 + --disable-libtool-lock avoid locking (might break parallel builds)
7.1048 +
7.1049 +Optional Packages:
7.1050 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
7.1051 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
7.1052 + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
7.1053 + --with-pic try to use only PIC/non-PIC objects @<:@default=use
7.1054 + both@:>@
7.1055 + --with-tags@<:@=TAGS@:>@
7.1056 + include additional configurations @<:@automatic@:>@
7.1057 +
7.1058 +Some influential environment variables:
7.1059 + CC C compiler command
7.1060 + CFLAGS C compiler flags
7.1061 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
7.1062 + nonstandard directory <lib dir>
7.1063 + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
7.1064 + headers in a nonstandard directory <include dir>
7.1065 + CPP C preprocessor
7.1066 + CXX C++ compiler command
7.1067 + CXXFLAGS C++ compiler flags
7.1068 + CXXCPP C++ preprocessor
7.1069 + F77 Fortran 77 compiler command
7.1070 + FFLAGS Fortran 77 compiler flags
7.1071 + CCAS assembler compiler command (defaults to CC)
7.1072 + CCASFLAGS assembler compiler flags (defaults to CFLAGS)
7.1073 +
7.1074 +Use these variables to override the choices made by `configure' or to help
7.1075 +it to find libraries and programs with nonstandard names/locations.
7.1076 +
7.1077 +_ACEOF
7.1078 +fi
7.1079 +
7.1080 +if test "$ac_init_help" = "recursive"; then
7.1081 + # If there are subdirs, report their specific --help.
7.1082 + ac_popdir=`pwd`
7.1083 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
7.1084 + test -d $ac_dir || continue
7.1085 + ac_builddir=.
7.1086 +
7.1087 +if test "$ac_dir" != .; then
7.1088 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7.1089 + # A "../" for each directory in $ac_dir_suffix.
7.1090 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7.1091 +else
7.1092 + ac_dir_suffix= ac_top_builddir=
7.1093 +fi
7.1094 +
7.1095 +case $srcdir in
7.1096 + .) # No --srcdir option. We are building in place.
7.1097 + ac_srcdir=.
7.1098 + if test -z "$ac_top_builddir"; then
7.1099 + ac_top_srcdir=.
7.1100 + else
7.1101 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7.1102 + fi ;;
7.1103 + [\\/]* | ?:[\\/]* ) # Absolute path.
7.1104 + ac_srcdir=$srcdir$ac_dir_suffix;
7.1105 + ac_top_srcdir=$srcdir ;;
7.1106 + *) # Relative path.
7.1107 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7.1108 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
7.1109 +esac
7.1110 +
7.1111 +# Do not use `cd foo && pwd` to compute absolute paths, because
7.1112 +# the directories may not exist.
7.1113 +case `pwd` in
7.1114 +.) ac_abs_builddir="$ac_dir";;
7.1115 +*)
7.1116 + case "$ac_dir" in
7.1117 + .) ac_abs_builddir=`pwd`;;
7.1118 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7.1119 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
7.1120 + esac;;
7.1121 +esac
7.1122 +case $ac_abs_builddir in
7.1123 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
7.1124 +*)
7.1125 + case ${ac_top_builddir}. in
7.1126 + .) ac_abs_top_builddir=$ac_abs_builddir;;
7.1127 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7.1128 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7.1129 + esac;;
7.1130 +esac
7.1131 +case $ac_abs_builddir in
7.1132 +.) ac_abs_srcdir=$ac_srcdir;;
7.1133 +*)
7.1134 + case $ac_srcdir in
7.1135 + .) ac_abs_srcdir=$ac_abs_builddir;;
7.1136 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7.1137 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7.1138 + esac;;
7.1139 +esac
7.1140 +case $ac_abs_builddir in
7.1141 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
7.1142 +*)
7.1143 + case $ac_top_srcdir in
7.1144 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
7.1145 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7.1146 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7.1147 + esac;;
7.1148 +esac
7.1149 +
7.1150 + cd $ac_dir
7.1151 + # Check for guested configure; otherwise get Cygnus style configure.
7.1152 + if test -f $ac_srcdir/configure.gnu; then
7.1153 + echo
7.1154 + $SHELL $ac_srcdir/configure.gnu --help=recursive
7.1155 + elif test -f $ac_srcdir/configure; then
7.1156 + echo
7.1157 + $SHELL $ac_srcdir/configure --help=recursive
7.1158 + elif test -f $ac_srcdir/configure.ac ||
7.1159 + test -f $ac_srcdir/configure.in; then
7.1160 + echo
7.1161 + $ac_configure --help
7.1162 + else
7.1163 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
7.1164 + fi
7.1165 + cd "$ac_popdir"
7.1166 + done
7.1167 +fi
7.1168 +
7.1169 +test -n "$ac_init_help" && exit 0
7.1170 +if $ac_init_version; then
7.1171 + cat <<\_ACEOF
7.1172 +
7.1173 +Copyright (C) 2003 Free Software Foundation, Inc.
7.1174 +This configure script is free software; the Free Software Foundation
7.1175 +gives unlimited permission to copy, distribute and modify it.
7.1176 +_ACEOF
7.1177 + exit 0
7.1178 +fi
7.1179 +exec 5>config.log
7.1180 +cat >&5 <<_ACEOF
7.1181 +This file contains any messages produced by compilers while
7.1182 +running configure, to aid debugging if configure makes a mistake.
7.1183 +
7.1184 +It was created by $as_me, which was
7.1185 +generated by GNU Autoconf 2.59. Invocation command line was
7.1186 +
7.1187 + $ $0 $@
7.1188 +
7.1189 +_ACEOF
7.1190 +{
7.1191 +cat <<_ASUNAME
7.1192 +@%:@@%:@ --------- @%:@@%:@
7.1193 +@%:@@%:@ Platform. @%:@@%:@
7.1194 +@%:@@%:@ --------- @%:@@%:@
7.1195 +
7.1196 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
7.1197 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
7.1198 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
7.1199 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
7.1200 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
7.1201 +
7.1202 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
7.1203 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
7.1204 +
7.1205 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
7.1206 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
7.1207 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7.1208 +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
7.1209 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
7.1210 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
7.1211 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
7.1212 +
7.1213 +_ASUNAME
7.1214 +
7.1215 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.1216 +for as_dir in $PATH
7.1217 +do
7.1218 + IFS=$as_save_IFS
7.1219 + test -z "$as_dir" && as_dir=.
7.1220 + echo "PATH: $as_dir"
7.1221 +done
7.1222 +
7.1223 +} >&5
7.1224 +
7.1225 +cat >&5 <<_ACEOF
7.1226 +
7.1227 +
7.1228 +@%:@@%:@ ----------- @%:@@%:@
7.1229 +@%:@@%:@ Core tests. @%:@@%:@
7.1230 +@%:@@%:@ ----------- @%:@@%:@
7.1231 +
7.1232 +_ACEOF
7.1233 +
7.1234 +
7.1235 +# Keep a trace of the command line.
7.1236 +# Strip out --no-create and --no-recursion so they do not pile up.
7.1237 +# Strip out --silent because we don't want to record it for future runs.
7.1238 +# Also quote any args containing shell meta-characters.
7.1239 +# Make two passes to allow for proper duplicate-argument suppression.
7.1240 +ac_configure_args=
7.1241 +ac_configure_args0=
7.1242 +ac_configure_args1=
7.1243 +ac_sep=
7.1244 +ac_must_keep_next=false
7.1245 +for ac_pass in 1 2
7.1246 +do
7.1247 + for ac_arg
7.1248 + do
7.1249 + case $ac_arg in
7.1250 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
7.1251 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7.1252 + | -silent | --silent | --silen | --sile | --sil)
7.1253 + continue ;;
7.1254 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7.1255 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7.1256 + esac
7.1257 + case $ac_pass in
7.1258 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
7.1259 + 2)
7.1260 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
7.1261 + if test $ac_must_keep_next = true; then
7.1262 + ac_must_keep_next=false # Got value, back to normal.
7.1263 + else
7.1264 + case $ac_arg in
7.1265 + *=* | --config-cache | -C | -disable-* | --disable-* \
7.1266 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7.1267 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7.1268 + | -with-* | --with-* | -without-* | --without-* | --x)
7.1269 + case "$ac_configure_args0 " in
7.1270 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
7.1271 + esac
7.1272 + ;;
7.1273 + -* ) ac_must_keep_next=true ;;
7.1274 + esac
7.1275 + fi
7.1276 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
7.1277 + # Get rid of the leading space.
7.1278 + ac_sep=" "
7.1279 + ;;
7.1280 + esac
7.1281 + done
7.1282 +done
7.1283 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
7.1284 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
7.1285 +
7.1286 +# When interrupted or exit'd, cleanup temporary files, and complete
7.1287 +# config.log. We remove comments because anyway the quotes in there
7.1288 +# would cause problems or look ugly.
7.1289 +# WARNING: Be sure not to use single quotes in there, as some shells,
7.1290 +# such as our DU 5.0 friend, will then `close' the trap.
7.1291 +trap 'exit_status=$?
7.1292 + # Save into config.log some information that might help in debugging.
7.1293 + {
7.1294 + echo
7.1295 +
7.1296 + cat <<\_ASBOX
7.1297 +@%:@@%:@ ---------------- @%:@@%:@
7.1298 +@%:@@%:@ Cache variables. @%:@@%:@
7.1299 +@%:@@%:@ ---------------- @%:@@%:@
7.1300 +_ASBOX
7.1301 + echo
7.1302 + # The following way of writing the cache mishandles newlines in values,
7.1303 +{
7.1304 + (set) 2>&1 |
7.1305 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
7.1306 + *ac_space=\ *)
7.1307 + sed -n \
7.1308 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
7.1309 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
7.1310 + ;;
7.1311 + *)
7.1312 + sed -n \
7.1313 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7.1314 + ;;
7.1315 + esac;
7.1316 +}
7.1317 + echo
7.1318 +
7.1319 + cat <<\_ASBOX
7.1320 +@%:@@%:@ ----------------- @%:@@%:@
7.1321 +@%:@@%:@ Output variables. @%:@@%:@
7.1322 +@%:@@%:@ ----------------- @%:@@%:@
7.1323 +_ASBOX
7.1324 + echo
7.1325 + for ac_var in $ac_subst_vars
7.1326 + do
7.1327 + eval ac_val=$`echo $ac_var`
7.1328 + echo "$ac_var='"'"'$ac_val'"'"'"
7.1329 + done | sort
7.1330 + echo
7.1331 +
7.1332 + if test -n "$ac_subst_files"; then
7.1333 + cat <<\_ASBOX
7.1334 +@%:@@%:@ ------------- @%:@@%:@
7.1335 +@%:@@%:@ Output files. @%:@@%:@
7.1336 +@%:@@%:@ ------------- @%:@@%:@
7.1337 +_ASBOX
7.1338 + echo
7.1339 + for ac_var in $ac_subst_files
7.1340 + do
7.1341 + eval ac_val=$`echo $ac_var`
7.1342 + echo "$ac_var='"'"'$ac_val'"'"'"
7.1343 + done | sort
7.1344 + echo
7.1345 + fi
7.1346 +
7.1347 + if test -s confdefs.h; then
7.1348 + cat <<\_ASBOX
7.1349 +@%:@@%:@ ----------- @%:@@%:@
7.1350 +@%:@@%:@ confdefs.h. @%:@@%:@
7.1351 +@%:@@%:@ ----------- @%:@@%:@
7.1352 +_ASBOX
7.1353 + echo
7.1354 + sed "/^$/d" confdefs.h | sort
7.1355 + echo
7.1356 + fi
7.1357 + test "$ac_signal" != 0 &&
7.1358 + echo "$as_me: caught signal $ac_signal"
7.1359 + echo "$as_me: exit $exit_status"
7.1360 + } >&5
7.1361 + rm -f core *.core &&
7.1362 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
7.1363 + exit $exit_status
7.1364 + ' 0
7.1365 +for ac_signal in 1 2 13 15; do
7.1366 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
7.1367 +done
7.1368 +ac_signal=0
7.1369 +
7.1370 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
7.1371 +rm -rf conftest* confdefs.h
7.1372 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
7.1373 +echo >confdefs.h
7.1374 +
7.1375 +# Predefined preprocessor variables.
7.1376 +
7.1377 +cat >>confdefs.h <<_ACEOF
7.1378 +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
7.1379 +_ACEOF
7.1380 +
7.1381 +
7.1382 +cat >>confdefs.h <<_ACEOF
7.1383 +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
7.1384 +_ACEOF
7.1385 +
7.1386 +
7.1387 +cat >>confdefs.h <<_ACEOF
7.1388 +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
7.1389 +_ACEOF
7.1390 +
7.1391 +
7.1392 +cat >>confdefs.h <<_ACEOF
7.1393 +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
7.1394 +_ACEOF
7.1395 +
7.1396 +
7.1397 +cat >>confdefs.h <<_ACEOF
7.1398 +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
7.1399 +_ACEOF
7.1400 +
7.1401 +
7.1402 +# Let the site file select an alternate cache file if it wants to.
7.1403 +# Prefer explicitly selected file to automatically selected ones.
7.1404 +if test -z "$CONFIG_SITE"; then
7.1405 + if test "x$prefix" != xNONE; then
7.1406 + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
7.1407 + else
7.1408 + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
7.1409 + fi
7.1410 +fi
7.1411 +for ac_site_file in $CONFIG_SITE; do
7.1412 + if test -r "$ac_site_file"; then
7.1413 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
7.1414 +echo "$as_me: loading site script $ac_site_file" >&6;}
7.1415 + sed 's/^/| /' "$ac_site_file" >&5
7.1416 + . "$ac_site_file"
7.1417 + fi
7.1418 +done
7.1419 +
7.1420 +if test -r "$cache_file"; then
7.1421 + # Some versions of bash will fail to source /dev/null (special
7.1422 + # files actually), so we avoid doing that.
7.1423 + if test -f "$cache_file"; then
7.1424 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
7.1425 +echo "$as_me: loading cache $cache_file" >&6;}
7.1426 + case $cache_file in
7.1427 + [\\/]* | ?:[\\/]* ) . $cache_file;;
7.1428 + *) . ./$cache_file;;
7.1429 + esac
7.1430 + fi
7.1431 +else
7.1432 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
7.1433 +echo "$as_me: creating cache $cache_file" >&6;}
7.1434 + >$cache_file
7.1435 +fi
7.1436 +
7.1437 +# Check that the precious variables saved in the cache have kept the same
7.1438 +# value.
7.1439 +ac_cache_corrupted=false
7.1440 +for ac_var in `(set) 2>&1 |
7.1441 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
7.1442 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
7.1443 + eval ac_new_set=\$ac_env_${ac_var}_set
7.1444 + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
7.1445 + eval ac_new_val="\$ac_env_${ac_var}_value"
7.1446 + case $ac_old_set,$ac_new_set in
7.1447 + set,)
7.1448 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
7.1449 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
7.1450 + ac_cache_corrupted=: ;;
7.1451 + ,set)
7.1452 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
7.1453 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
7.1454 + ac_cache_corrupted=: ;;
7.1455 + ,);;
7.1456 + *)
7.1457 + if test "x$ac_old_val" != "x$ac_new_val"; then
7.1458 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
7.1459 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
7.1460 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
7.1461 +echo "$as_me: former value: $ac_old_val" >&2;}
7.1462 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
7.1463 +echo "$as_me: current value: $ac_new_val" >&2;}
7.1464 + ac_cache_corrupted=:
7.1465 + fi;;
7.1466 + esac
7.1467 + # Pass precious variables to config.status.
7.1468 + if test "$ac_new_set" = set; then
7.1469 + case $ac_new_val in
7.1470 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7.1471 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
7.1472 + *) ac_arg=$ac_var=$ac_new_val ;;
7.1473 + esac
7.1474 + case " $ac_configure_args " in
7.1475 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
7.1476 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
7.1477 + esac
7.1478 + fi
7.1479 +done
7.1480 +if $ac_cache_corrupted; then
7.1481 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
7.1482 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
7.1483 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
7.1484 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
7.1485 + { (exit 1); exit 1; }; }
7.1486 +fi
7.1487 +
7.1488 +ac_ext=c
7.1489 +ac_cpp='$CPP $CPPFLAGS'
7.1490 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.1491 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.1492 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.1493 +
7.1494 +
7.1495 +
7.1496 +
7.1497 +
7.1498 +
7.1499 +
7.1500 +
7.1501 +
7.1502 +
7.1503 +
7.1504 +
7.1505 +
7.1506 +
7.1507 +
7.1508 +
7.1509 +
7.1510 +
7.1511 +
7.1512 +ac_aux_dir=
7.1513 +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
7.1514 + if test -f $ac_dir/install-sh; then
7.1515 + ac_aux_dir=$ac_dir
7.1516 + ac_install_sh="$ac_aux_dir/install-sh -c"
7.1517 + break
7.1518 + elif test -f $ac_dir/install.sh; then
7.1519 + ac_aux_dir=$ac_dir
7.1520 + ac_install_sh="$ac_aux_dir/install.sh -c"
7.1521 + break
7.1522 + elif test -f $ac_dir/shtool; then
7.1523 + ac_aux_dir=$ac_dir
7.1524 + ac_install_sh="$ac_aux_dir/shtool install -c"
7.1525 + break
7.1526 + fi
7.1527 +done
7.1528 +if test -z "$ac_aux_dir"; then
7.1529 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
7.1530 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
7.1531 + { (exit 1); exit 1; }; }
7.1532 +fi
7.1533 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
7.1534 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
7.1535 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
7.1536 +
7.1537 +# Make sure we can run config.sub.
7.1538 +$ac_config_sub sun4 >/dev/null 2>&1 ||
7.1539 + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7.1540 +echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7.1541 + { (exit 1); exit 1; }; }
7.1542 +
7.1543 +echo "$as_me:$LINENO: checking build system type" >&5
7.1544 +echo $ECHO_N "checking build system type... $ECHO_C" >&6
7.1545 +if test "${ac_cv_build+set}" = set; then
7.1546 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.1547 +else
7.1548 + ac_cv_build_alias=$build_alias
7.1549 +test -z "$ac_cv_build_alias" &&
7.1550 + ac_cv_build_alias=`$ac_config_guess`
7.1551 +test -z "$ac_cv_build_alias" &&
7.1552 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7.1553 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7.1554 + { (exit 1); exit 1; }; }
7.1555 +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
7.1556 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
7.1557 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
7.1558 + { (exit 1); exit 1; }; }
7.1559 +
7.1560 +fi
7.1561 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7.1562 +echo "${ECHO_T}$ac_cv_build" >&6
7.1563 +build=$ac_cv_build
7.1564 +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7.1565 +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7.1566 +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7.1567 +
7.1568 +
7.1569 +echo "$as_me:$LINENO: checking host system type" >&5
7.1570 +echo $ECHO_N "checking host system type... $ECHO_C" >&6
7.1571 +if test "${ac_cv_host+set}" = set; then
7.1572 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.1573 +else
7.1574 + ac_cv_host_alias=$host_alias
7.1575 +test -z "$ac_cv_host_alias" &&
7.1576 + ac_cv_host_alias=$ac_cv_build_alias
7.1577 +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
7.1578 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7.1579 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7.1580 + { (exit 1); exit 1; }; }
7.1581 +
7.1582 +fi
7.1583 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7.1584 +echo "${ECHO_T}$ac_cv_host" >&6
7.1585 +host=$ac_cv_host
7.1586 +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7.1587 +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7.1588 +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7.1589 +
7.1590 +
7.1591 +echo "$as_me:$LINENO: checking target system type" >&5
7.1592 +echo $ECHO_N "checking target system type... $ECHO_C" >&6
7.1593 +if test "${ac_cv_target+set}" = set; then
7.1594 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.1595 +else
7.1596 + ac_cv_target_alias=$target_alias
7.1597 +test "x$ac_cv_target_alias" = "x" &&
7.1598 + ac_cv_target_alias=$ac_cv_host_alias
7.1599 +ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
7.1600 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
7.1601 +echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
7.1602 + { (exit 1); exit 1; }; }
7.1603 +
7.1604 +fi
7.1605 +echo "$as_me:$LINENO: result: $ac_cv_target" >&5
7.1606 +echo "${ECHO_T}$ac_cv_target" >&6
7.1607 +target=$ac_cv_target
7.1608 +target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7.1609 +target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7.1610 +target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7.1611 +
7.1612 +
7.1613 +# The aliases save the names the user supplied, while $host etc.
7.1614 +# will get canonicalized.
7.1615 +test -n "$target_alias" &&
7.1616 + test "$program_prefix$program_suffix$program_transform_name" = \
7.1617 + NONENONEs,x,x, &&
7.1618 + program_prefix=${target_alias}-
7.1619 +
7.1620 +case m4 in
7.1621 + [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;;
7.1622 + *) ac_macro_dir=$srcdir/m4 ;;
7.1623 +esac
7.1624 +if test -d "$ac_macro_dir"; then :
7.1625 +else
7.1626 + { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
7.1627 +echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
7.1628 + { (exit 1); exit 1; }; }
7.1629 +fi
7.1630 +
7.1631 +# Check whether --enable-static or --disable-static was given.
7.1632 +if test "${enable_static+set}" = set; then
7.1633 + enableval="$enable_static"
7.1634 + p=${PACKAGE-default}
7.1635 + case $enableval in
7.1636 + yes) enable_static=yes ;;
7.1637 + no) enable_static=no ;;
7.1638 + *)
7.1639 + enable_static=no
7.1640 + # Look at the argument we got. We use all the common list separators.
7.1641 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7.1642 + for pkg in $enableval; do
7.1643 + IFS="$lt_save_ifs"
7.1644 + if test "X$pkg" = "X$p"; then
7.1645 + enable_static=yes
7.1646 + fi
7.1647 + done
7.1648 + IFS="$lt_save_ifs"
7.1649 + ;;
7.1650 + esac
7.1651 +else
7.1652 + enable_static=no
7.1653 +fi;
7.1654 +
7.1655 +
7.1656 +
7.1657 +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
7.1658 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
7.1659 + # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
7.1660 +if test "${enable_maintainer_mode+set}" = set; then
7.1661 + enableval="$enable_maintainer_mode"
7.1662 + USE_MAINTAINER_MODE=$enableval
7.1663 +else
7.1664 + USE_MAINTAINER_MODE=no
7.1665 +fi;
7.1666 + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
7.1667 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
7.1668 +
7.1669 +
7.1670 +if test $USE_MAINTAINER_MODE = yes; then
7.1671 + MAINTAINER_MODE_TRUE=
7.1672 + MAINTAINER_MODE_FALSE='#'
7.1673 +else
7.1674 + MAINTAINER_MODE_TRUE='#'
7.1675 + MAINTAINER_MODE_FALSE=
7.1676 +fi
7.1677 +
7.1678 + MAINT=$MAINTAINER_MODE_TRUE
7.1679 +
7.1680 +
7.1681 +
7.1682 +
7.1683 + PACKAGE=gst-plugins-nuvdemux
7.1684 + GST_PLUGINS_VERSION_MAJOR=0
7.1685 + GST_PLUGINS_VERSION_MINOR=10
7.1686 + GST_PLUGINS_VERSION_MICRO=0
7.1687 + NANO=1
7.1688 + GST_PLUGINS_VERSION_NANO=$NANO
7.1689 + if test "x$NANO" = "x" || test "x$NANO" = "x0";
7.1690 + then
7.1691 + { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for release" >&5
7.1692 +echo "$as_me: configuring gst-plugins-nuvdemux for release" >&6;}
7.1693 + VERSION=0.10.0
7.1694 + GST_PLUGINS_VERSION_RELEASE=1
7.1695 + GST_CVS="no"
7.1696 + else
7.1697 + { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for development with nano $NANO" >&5
7.1698 +echo "$as_me: configuring gst-plugins-nuvdemux for development with nano $NANO" >&6;}
7.1699 + VERSION=0.10.0.$NANO
7.1700 + GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
7.1701 + GST_CVS="yes"
7.1702 + fi
7.1703 +
7.1704 + GST_PLUGINS_VERSION=$VERSION
7.1705 +
7.1706 +cat >>confdefs.h <<_ACEOF
7.1707 +@%:@define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
7.1708 +_ACEOF
7.1709 +
7.1710 +
7.1711 +
7.1712 +cat >>confdefs.h <<_ACEOF
7.1713 +@%:@define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
7.1714 +_ACEOF
7.1715 +
7.1716 +
7.1717 +
7.1718 +
7.1719 +
7.1720 +
7.1721 +
7.1722 +
7.1723 +cat >>confdefs.h <<_ACEOF
7.1724 +@%:@define PACKAGE "$PACKAGE"
7.1725 +_ACEOF
7.1726 +
7.1727 +
7.1728 +
7.1729 +cat >>confdefs.h <<_ACEOF
7.1730 +@%:@define VERSION "$VERSION"
7.1731 +_ACEOF
7.1732 +
7.1733 +
7.1734 +
7.1735 +
7.1736 +am__api_version="1.8"
7.1737 +# Find a good install program. We prefer a C program (faster),
7.1738 +# so one script is as good as another. But avoid the broken or
7.1739 +# incompatible versions:
7.1740 +# SysV /etc/install, /usr/sbin/install
7.1741 +# SunOS /usr/etc/install
7.1742 +# IRIX /sbin/install
7.1743 +# AIX /bin/install
7.1744 +# AmigaOS /C/install, which installs bootblocks on floppy discs
7.1745 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7.1746 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
7.1747 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7.1748 +# OS/2's system install, which has a completely different semantic
7.1749 +# ./install, which can be erroneously created by make from ./install.sh.
7.1750 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7.1751 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7.1752 +if test -z "$INSTALL"; then
7.1753 +if test "${ac_cv_path_install+set}" = set; then
7.1754 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.1755 +else
7.1756 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.1757 +for as_dir in $PATH
7.1758 +do
7.1759 + IFS=$as_save_IFS
7.1760 + test -z "$as_dir" && as_dir=.
7.1761 + # Account for people who put trailing slashes in PATH elements.
7.1762 +case $as_dir/ in
7.1763 + ./ | .// | /cC/* | \
7.1764 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
7.1765 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
7.1766 + /usr/ucb/* ) ;;
7.1767 + *)
7.1768 + # OSF1 and SCO ODT 3.0 have their own names for install.
7.1769 + # Don't use installbsd from OSF since it installs stuff as root
7.1770 + # by default.
7.1771 + for ac_prog in ginstall scoinst install; do
7.1772 + for ac_exec_ext in '' $ac_executable_extensions; do
7.1773 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7.1774 + if test $ac_prog = install &&
7.1775 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7.1776 + # AIX install. It has an incompatible calling convention.
7.1777 + :
7.1778 + elif test $ac_prog = install &&
7.1779 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7.1780 + # program-specific install script used by HP pwplus--don't use.
7.1781 + :
7.1782 + else
7.1783 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
7.1784 + break 3
7.1785 + fi
7.1786 + fi
7.1787 + done
7.1788 + done
7.1789 + ;;
7.1790 +esac
7.1791 +done
7.1792 +
7.1793 +
7.1794 +fi
7.1795 + if test "${ac_cv_path_install+set}" = set; then
7.1796 + INSTALL=$ac_cv_path_install
7.1797 + else
7.1798 + # As a last resort, use the slow shell script. We don't cache a
7.1799 + # path for INSTALL within a source directory, because that will
7.1800 + # break other packages using the cache if that directory is
7.1801 + # removed, or if the path is relative.
7.1802 + INSTALL=$ac_install_sh
7.1803 + fi
7.1804 +fi
7.1805 +echo "$as_me:$LINENO: result: $INSTALL" >&5
7.1806 +echo "${ECHO_T}$INSTALL" >&6
7.1807 +
7.1808 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7.1809 +# It thinks the first close brace ends the variable substitution.
7.1810 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
7.1811 +
7.1812 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
7.1813 +
7.1814 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7.1815 +
7.1816 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7.1817 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
7.1818 +# Just in case
7.1819 +sleep 1
7.1820 +echo timestamp > conftest.file
7.1821 +# Do `set' in a subshell so we don't clobber the current shell's
7.1822 +# arguments. Must try -L first in case configure is actually a
7.1823 +# symlink; some systems play weird games with the mod time of symlinks
7.1824 +# (eg FreeBSD returns the mod time of the symlink's containing
7.1825 +# directory).
7.1826 +if (
7.1827 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
7.1828 + if test "$*" = "X"; then
7.1829 + # -L didn't work.
7.1830 + set X `ls -t $srcdir/configure conftest.file`
7.1831 + fi
7.1832 + rm -f conftest.file
7.1833 + if test "$*" != "X $srcdir/configure conftest.file" \
7.1834 + && test "$*" != "X conftest.file $srcdir/configure"; then
7.1835 +
7.1836 + # If neither matched, then we have a broken ls. This can happen
7.1837 + # if, for instance, CONFIG_SHELL is bash and it inherits a
7.1838 + # broken ls alias from the environment. This has actually
7.1839 + # happened. Such a system could not be considered "sane".
7.1840 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
7.1841 +alias in your environment" >&5
7.1842 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
7.1843 +alias in your environment" >&2;}
7.1844 + { (exit 1); exit 1; }; }
7.1845 + fi
7.1846 +
7.1847 + test "$2" = conftest.file
7.1848 + )
7.1849 +then
7.1850 + # Ok.
7.1851 + :
7.1852 +else
7.1853 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
7.1854 +Check your system clock" >&5
7.1855 +echo "$as_me: error: newly created file is older than distributed files!
7.1856 +Check your system clock" >&2;}
7.1857 + { (exit 1); exit 1; }; }
7.1858 +fi
7.1859 +echo "$as_me:$LINENO: result: yes" >&5
7.1860 +echo "${ECHO_T}yes" >&6
7.1861 +test "$program_prefix" != NONE &&
7.1862 + program_transform_name="s,^,$program_prefix,;$program_transform_name"
7.1863 +# Use a double $ so make ignores it.
7.1864 +test "$program_suffix" != NONE &&
7.1865 + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
7.1866 +# Double any \ or $. echo might interpret backslashes.
7.1867 +# By default was `s,x,x', remove it if useless.
7.1868 +cat <<\_ACEOF >conftest.sed
7.1869 +s/[\\$]/&&/g;s/;s,x,x,$//
7.1870 +_ACEOF
7.1871 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
7.1872 +rm conftest.sed
7.1873 +
7.1874 +# expand $ac_aux_dir to an absolute path
7.1875 +am_aux_dir=`cd $ac_aux_dir && pwd`
7.1876 +
7.1877 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
7.1878 +# Use eval to expand $SHELL
7.1879 +if eval "$MISSING --run true"; then
7.1880 + am_missing_run="$MISSING --run "
7.1881 +else
7.1882 + am_missing_run=
7.1883 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
7.1884 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
7.1885 +fi
7.1886 +
7.1887 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7.1888 + # Keeping the `.' argument allows $(mkdir_p) to be used without
7.1889 + # argument. Indeed, we sometimes output rules like
7.1890 + # $(mkdir_p) $(somedir)
7.1891 + # where $(somedir) is conditionally defined.
7.1892 + # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
7.1893 + # expensive solution, as it forces Make to start a sub-shell.)
7.1894 + mkdir_p='mkdir -p -- .'
7.1895 +else
7.1896 + # On NextStep and OpenStep, the `mkdir' command does not
7.1897 + # recognize any option. It will interpret all options as
7.1898 + # directories to create, and then abort because `.' already
7.1899 + # exists.
7.1900 + for d in ./-p ./--version;
7.1901 + do
7.1902 + test -d $d && rmdir $d
7.1903 + done
7.1904 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
7.1905 + if test -f "$ac_aux_dir/mkinstalldirs"; then
7.1906 + mkdir_p='$(mkinstalldirs)'
7.1907 + else
7.1908 + mkdir_p='$(install_sh) -d'
7.1909 + fi
7.1910 +fi
7.1911 +
7.1912 +for ac_prog in gawk mawk nawk awk
7.1913 +do
7.1914 + # Extract the first word of "$ac_prog", so it can be a program name with args.
7.1915 +set dummy $ac_prog; ac_word=$2
7.1916 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.1917 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.1918 +if test "${ac_cv_prog_AWK+set}" = set; then
7.1919 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.1920 +else
7.1921 + if test -n "$AWK"; then
7.1922 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
7.1923 +else
7.1924 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.1925 +for as_dir in $PATH
7.1926 +do
7.1927 + IFS=$as_save_IFS
7.1928 + test -z "$as_dir" && as_dir=.
7.1929 + for ac_exec_ext in '' $ac_executable_extensions; do
7.1930 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.1931 + ac_cv_prog_AWK="$ac_prog"
7.1932 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.1933 + break 2
7.1934 + fi
7.1935 +done
7.1936 +done
7.1937 +
7.1938 +fi
7.1939 +fi
7.1940 +AWK=$ac_cv_prog_AWK
7.1941 +if test -n "$AWK"; then
7.1942 + echo "$as_me:$LINENO: result: $AWK" >&5
7.1943 +echo "${ECHO_T}$AWK" >&6
7.1944 +else
7.1945 + echo "$as_me:$LINENO: result: no" >&5
7.1946 +echo "${ECHO_T}no" >&6
7.1947 +fi
7.1948 +
7.1949 + test -n "$AWK" && break
7.1950 +done
7.1951 +
7.1952 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7.1953 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7.1954 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
7.1955 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7.1956 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.1957 +else
7.1958 + cat >conftest.make <<\_ACEOF
7.1959 +all:
7.1960 + @echo 'ac_maketemp="$(MAKE)"'
7.1961 +_ACEOF
7.1962 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7.1963 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7.1964 +if test -n "$ac_maketemp"; then
7.1965 + eval ac_cv_prog_make_${ac_make}_set=yes
7.1966 +else
7.1967 + eval ac_cv_prog_make_${ac_make}_set=no
7.1968 +fi
7.1969 +rm -f conftest.make
7.1970 +fi
7.1971 +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7.1972 + echo "$as_me:$LINENO: result: yes" >&5
7.1973 +echo "${ECHO_T}yes" >&6
7.1974 + SET_MAKE=
7.1975 +else
7.1976 + echo "$as_me:$LINENO: result: no" >&5
7.1977 +echo "${ECHO_T}no" >&6
7.1978 + SET_MAKE="MAKE=${MAKE-make}"
7.1979 +fi
7.1980 +
7.1981 +rm -rf .tst 2>/dev/null
7.1982 +mkdir .tst 2>/dev/null
7.1983 +if test -d .tst; then
7.1984 + am__leading_dot=.
7.1985 +else
7.1986 + am__leading_dot=_
7.1987 +fi
7.1988 +rmdir .tst 2>/dev/null
7.1989 +
7.1990 +# test to see if srcdir already configured
7.1991 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
7.1992 + test -f $srcdir/config.status; then
7.1993 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
7.1994 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
7.1995 + { (exit 1); exit 1; }; }
7.1996 +fi
7.1997 +
7.1998 +# test whether we have cygpath
7.1999 +if test -z "$CYGPATH_W"; then
7.2000 + if (cygpath --version) >/dev/null 2>/dev/null; then
7.2001 + CYGPATH_W='cygpath -w'
7.2002 + else
7.2003 + CYGPATH_W=echo
7.2004 + fi
7.2005 +fi
7.2006 +
7.2007 +
7.2008 +# Define the identity of the package.
7.2009 + PACKAGE=$PACKAGE
7.2010 + VERSION=$VERSION
7.2011 +
7.2012 +
7.2013 +cat >>confdefs.h <<_ACEOF
7.2014 +@%:@define PACKAGE "$PACKAGE"
7.2015 +_ACEOF
7.2016 +
7.2017 +
7.2018 +cat >>confdefs.h <<_ACEOF
7.2019 +@%:@define VERSION "$VERSION"
7.2020 +_ACEOF
7.2021 +
7.2022 +# Some tools Automake needs.
7.2023 +
7.2024 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
7.2025 +
7.2026 +
7.2027 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
7.2028 +
7.2029 +
7.2030 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
7.2031 +
7.2032 +
7.2033 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
7.2034 +
7.2035 +
7.2036 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
7.2037 +
7.2038 +
7.2039 +AMTAR=${AMTAR-"${am_missing_run}tar"}
7.2040 +
7.2041 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
7.2042 +
7.2043 +# Installed binaries are usually stripped using `strip' when the user
7.2044 +# run `make install-strip'. However `strip' might not be the right
7.2045 +# tool to use in cross-compilation environments, therefore Automake
7.2046 +# will honor the `STRIP' environment variable to overrule this program.
7.2047 +if test "$cross_compiling" != no; then
7.2048 + if test -n "$ac_tool_prefix"; then
7.2049 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7.2050 +set dummy ${ac_tool_prefix}strip; ac_word=$2
7.2051 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.2052 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.2053 +if test "${ac_cv_prog_STRIP+set}" = set; then
7.2054 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2055 +else
7.2056 + if test -n "$STRIP"; then
7.2057 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7.2058 +else
7.2059 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.2060 +for as_dir in $PATH
7.2061 +do
7.2062 + IFS=$as_save_IFS
7.2063 + test -z "$as_dir" && as_dir=.
7.2064 + for ac_exec_ext in '' $ac_executable_extensions; do
7.2065 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.2066 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7.2067 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.2068 + break 2
7.2069 + fi
7.2070 +done
7.2071 +done
7.2072 +
7.2073 +fi
7.2074 +fi
7.2075 +STRIP=$ac_cv_prog_STRIP
7.2076 +if test -n "$STRIP"; then
7.2077 + echo "$as_me:$LINENO: result: $STRIP" >&5
7.2078 +echo "${ECHO_T}$STRIP" >&6
7.2079 +else
7.2080 + echo "$as_me:$LINENO: result: no" >&5
7.2081 +echo "${ECHO_T}no" >&6
7.2082 +fi
7.2083 +
7.2084 +fi
7.2085 +if test -z "$ac_cv_prog_STRIP"; then
7.2086 + ac_ct_STRIP=$STRIP
7.2087 + # Extract the first word of "strip", so it can be a program name with args.
7.2088 +set dummy strip; ac_word=$2
7.2089 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.2090 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.2091 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7.2092 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2093 +else
7.2094 + if test -n "$ac_ct_STRIP"; then
7.2095 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7.2096 +else
7.2097 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.2098 +for as_dir in $PATH
7.2099 +do
7.2100 + IFS=$as_save_IFS
7.2101 + test -z "$as_dir" && as_dir=.
7.2102 + for ac_exec_ext in '' $ac_executable_extensions; do
7.2103 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.2104 + ac_cv_prog_ac_ct_STRIP="strip"
7.2105 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.2106 + break 2
7.2107 + fi
7.2108 +done
7.2109 +done
7.2110 +
7.2111 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
7.2112 +fi
7.2113 +fi
7.2114 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7.2115 +if test -n "$ac_ct_STRIP"; then
7.2116 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7.2117 +echo "${ECHO_T}$ac_ct_STRIP" >&6
7.2118 +else
7.2119 + echo "$as_me:$LINENO: result: no" >&5
7.2120 +echo "${ECHO_T}no" >&6
7.2121 +fi
7.2122 +
7.2123 + STRIP=$ac_ct_STRIP
7.2124 +else
7.2125 + STRIP="$ac_cv_prog_STRIP"
7.2126 +fi
7.2127 +
7.2128 +fi
7.2129 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
7.2130 +
7.2131 +# We need awk for the "check" target. The system "awk" is bad on
7.2132 +# some platforms.
7.2133 +
7.2134 +
7.2135 +
7.2136 +
7.2137 +# Check whether --enable-shared or --disable-shared was given.
7.2138 +if test "${enable_shared+set}" = set; then
7.2139 + enableval="$enable_shared"
7.2140 + p=${PACKAGE-default}
7.2141 + case $enableval in
7.2142 + yes) enable_shared=yes ;;
7.2143 + no) enable_shared=no ;;
7.2144 + *)
7.2145 + enable_shared=no
7.2146 + # Look at the argument we got. We use all the common list separators.
7.2147 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7.2148 + for pkg in $enableval; do
7.2149 + IFS="$lt_save_ifs"
7.2150 + if test "X$pkg" = "X$p"; then
7.2151 + enable_shared=yes
7.2152 + fi
7.2153 + done
7.2154 + IFS="$lt_save_ifs"
7.2155 + ;;
7.2156 + esac
7.2157 +else
7.2158 + enable_shared=yes
7.2159 +fi;
7.2160 +
7.2161 +# Check whether --enable-fast-install or --disable-fast-install was given.
7.2162 +if test "${enable_fast_install+set}" = set; then
7.2163 + enableval="$enable_fast_install"
7.2164 + p=${PACKAGE-default}
7.2165 + case $enableval in
7.2166 + yes) enable_fast_install=yes ;;
7.2167 + no) enable_fast_install=no ;;
7.2168 + *)
7.2169 + enable_fast_install=no
7.2170 + # Look at the argument we got. We use all the common list separators.
7.2171 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7.2172 + for pkg in $enableval; do
7.2173 + IFS="$lt_save_ifs"
7.2174 + if test "X$pkg" = "X$p"; then
7.2175 + enable_fast_install=yes
7.2176 + fi
7.2177 + done
7.2178 + IFS="$lt_save_ifs"
7.2179 + ;;
7.2180 + esac
7.2181 +else
7.2182 + enable_fast_install=yes
7.2183 +fi;
7.2184 +
7.2185 +DEPDIR="${am__leading_dot}deps"
7.2186 +
7.2187 + ac_config_commands="$ac_config_commands depfiles"
7.2188 +
7.2189 +
7.2190 +am_make=${MAKE-make}
7.2191 +cat > confinc << 'END'
7.2192 +am__doit:
7.2193 + @echo done
7.2194 +.PHONY: am__doit
7.2195 +END
7.2196 +# If we don't find an include directive, just comment out the code.
7.2197 +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
7.2198 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
7.2199 +am__include="#"
7.2200 +am__quote=
7.2201 +_am_result=none
7.2202 +# First try GNU make style include.
7.2203 +echo "include confinc" > confmf
7.2204 +# We grep out `Entering directory' and `Leaving directory'
7.2205 +# messages which can occur if `w' ends up in MAKEFLAGS.
7.2206 +# In particular we don't look at `^make:' because GNU make might
7.2207 +# be invoked under some other name (usually "gmake"), in which
7.2208 +# case it prints its new name instead of `make'.
7.2209 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
7.2210 + am__include=include
7.2211 + am__quote=
7.2212 + _am_result=GNU
7.2213 +fi
7.2214 +# Now try BSD make style include.
7.2215 +if test "$am__include" = "#"; then
7.2216 + echo '.include "confinc"' > confmf
7.2217 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
7.2218 + am__include=.include
7.2219 + am__quote="\""
7.2220 + _am_result=BSD
7.2221 + fi
7.2222 +fi
7.2223 +
7.2224 +
7.2225 +echo "$as_me:$LINENO: result: $_am_result" >&5
7.2226 +echo "${ECHO_T}$_am_result" >&6
7.2227 +rm -f confinc confmf
7.2228 +
7.2229 +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
7.2230 +if test "${enable_dependency_tracking+set}" = set; then
7.2231 + enableval="$enable_dependency_tracking"
7.2232 +
7.2233 +fi;
7.2234 +if test "x$enable_dependency_tracking" != xno; then
7.2235 + am_depcomp="$ac_aux_dir/depcomp"
7.2236 + AMDEPBACKSLASH='\'
7.2237 +fi
7.2238 +
7.2239 +
7.2240 +if test "x$enable_dependency_tracking" != xno; then
7.2241 + AMDEP_TRUE=
7.2242 + AMDEP_FALSE='#'
7.2243 +else
7.2244 + AMDEP_TRUE='#'
7.2245 + AMDEP_FALSE=
7.2246 +fi
7.2247 +
7.2248 +
7.2249 +
7.2250 +ac_ext=c
7.2251 +ac_cpp='$CPP $CPPFLAGS'
7.2252 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.2253 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.2254 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.2255 +if test -n "$ac_tool_prefix"; then
7.2256 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7.2257 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
7.2258 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.2259 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.2260 +if test "${ac_cv_prog_CC+set}" = set; then
7.2261 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2262 +else
7.2263 + if test -n "$CC"; then
7.2264 + ac_cv_prog_CC="$CC" # Let the user override the test.
7.2265 +else
7.2266 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.2267 +for as_dir in $PATH
7.2268 +do
7.2269 + IFS=$as_save_IFS
7.2270 + test -z "$as_dir" && as_dir=.
7.2271 + for ac_exec_ext in '' $ac_executable_extensions; do
7.2272 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.2273 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
7.2274 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.2275 + break 2
7.2276 + fi
7.2277 +done
7.2278 +done
7.2279 +
7.2280 +fi
7.2281 +fi
7.2282 +CC=$ac_cv_prog_CC
7.2283 +if test -n "$CC"; then
7.2284 + echo "$as_me:$LINENO: result: $CC" >&5
7.2285 +echo "${ECHO_T}$CC" >&6
7.2286 +else
7.2287 + echo "$as_me:$LINENO: result: no" >&5
7.2288 +echo "${ECHO_T}no" >&6
7.2289 +fi
7.2290 +
7.2291 +fi
7.2292 +if test -z "$ac_cv_prog_CC"; then
7.2293 + ac_ct_CC=$CC
7.2294 + # Extract the first word of "gcc", so it can be a program name with args.
7.2295 +set dummy gcc; ac_word=$2
7.2296 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.2297 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.2298 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7.2299 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2300 +else
7.2301 + if test -n "$ac_ct_CC"; then
7.2302 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7.2303 +else
7.2304 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.2305 +for as_dir in $PATH
7.2306 +do
7.2307 + IFS=$as_save_IFS
7.2308 + test -z "$as_dir" && as_dir=.
7.2309 + for ac_exec_ext in '' $ac_executable_extensions; do
7.2310 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.2311 + ac_cv_prog_ac_ct_CC="gcc"
7.2312 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.2313 + break 2
7.2314 + fi
7.2315 +done
7.2316 +done
7.2317 +
7.2318 +fi
7.2319 +fi
7.2320 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
7.2321 +if test -n "$ac_ct_CC"; then
7.2322 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7.2323 +echo "${ECHO_T}$ac_ct_CC" >&6
7.2324 +else
7.2325 + echo "$as_me:$LINENO: result: no" >&5
7.2326 +echo "${ECHO_T}no" >&6
7.2327 +fi
7.2328 +
7.2329 + CC=$ac_ct_CC
7.2330 +else
7.2331 + CC="$ac_cv_prog_CC"
7.2332 +fi
7.2333 +
7.2334 +if test -z "$CC"; then
7.2335 + if test -n "$ac_tool_prefix"; then
7.2336 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7.2337 +set dummy ${ac_tool_prefix}cc; ac_word=$2
7.2338 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.2339 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.2340 +if test "${ac_cv_prog_CC+set}" = set; then
7.2341 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2342 +else
7.2343 + if test -n "$CC"; then
7.2344 + ac_cv_prog_CC="$CC" # Let the user override the test.
7.2345 +else
7.2346 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.2347 +for as_dir in $PATH
7.2348 +do
7.2349 + IFS=$as_save_IFS
7.2350 + test -z "$as_dir" && as_dir=.
7.2351 + for ac_exec_ext in '' $ac_executable_extensions; do
7.2352 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.2353 + ac_cv_prog_CC="${ac_tool_prefix}cc"
7.2354 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.2355 + break 2
7.2356 + fi
7.2357 +done
7.2358 +done
7.2359 +
7.2360 +fi
7.2361 +fi
7.2362 +CC=$ac_cv_prog_CC
7.2363 +if test -n "$CC"; then
7.2364 + echo "$as_me:$LINENO: result: $CC" >&5
7.2365 +echo "${ECHO_T}$CC" >&6
7.2366 +else
7.2367 + echo "$as_me:$LINENO: result: no" >&5
7.2368 +echo "${ECHO_T}no" >&6
7.2369 +fi
7.2370 +
7.2371 +fi
7.2372 +if test -z "$ac_cv_prog_CC"; then
7.2373 + ac_ct_CC=$CC
7.2374 + # Extract the first word of "cc", so it can be a program name with args.
7.2375 +set dummy cc; ac_word=$2
7.2376 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.2377 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.2378 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7.2379 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2380 +else
7.2381 + if test -n "$ac_ct_CC"; then
7.2382 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7.2383 +else
7.2384 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.2385 +for as_dir in $PATH
7.2386 +do
7.2387 + IFS=$as_save_IFS
7.2388 + test -z "$as_dir" && as_dir=.
7.2389 + for ac_exec_ext in '' $ac_executable_extensions; do
7.2390 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.2391 + ac_cv_prog_ac_ct_CC="cc"
7.2392 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.2393 + break 2
7.2394 + fi
7.2395 +done
7.2396 +done
7.2397 +
7.2398 +fi
7.2399 +fi
7.2400 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
7.2401 +if test -n "$ac_ct_CC"; then
7.2402 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7.2403 +echo "${ECHO_T}$ac_ct_CC" >&6
7.2404 +else
7.2405 + echo "$as_me:$LINENO: result: no" >&5
7.2406 +echo "${ECHO_T}no" >&6
7.2407 +fi
7.2408 +
7.2409 + CC=$ac_ct_CC
7.2410 +else
7.2411 + CC="$ac_cv_prog_CC"
7.2412 +fi
7.2413 +
7.2414 +fi
7.2415 +if test -z "$CC"; then
7.2416 + # Extract the first word of "cc", so it can be a program name with args.
7.2417 +set dummy cc; ac_word=$2
7.2418 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.2419 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.2420 +if test "${ac_cv_prog_CC+set}" = set; then
7.2421 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2422 +else
7.2423 + if test -n "$CC"; then
7.2424 + ac_cv_prog_CC="$CC" # Let the user override the test.
7.2425 +else
7.2426 + ac_prog_rejected=no
7.2427 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.2428 +for as_dir in $PATH
7.2429 +do
7.2430 + IFS=$as_save_IFS
7.2431 + test -z "$as_dir" && as_dir=.
7.2432 + for ac_exec_ext in '' $ac_executable_extensions; do
7.2433 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.2434 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
7.2435 + ac_prog_rejected=yes
7.2436 + continue
7.2437 + fi
7.2438 + ac_cv_prog_CC="cc"
7.2439 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.2440 + break 2
7.2441 + fi
7.2442 +done
7.2443 +done
7.2444 +
7.2445 +if test $ac_prog_rejected = yes; then
7.2446 + # We found a bogon in the path, so make sure we never use it.
7.2447 + set dummy $ac_cv_prog_CC
7.2448 + shift
7.2449 + if test $@%:@ != 0; then
7.2450 + # We chose a different compiler from the bogus one.
7.2451 + # However, it has the same basename, so the bogon will be chosen
7.2452 + # first if we set CC to just the basename; use the full file name.
7.2453 + shift
7.2454 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
7.2455 + fi
7.2456 +fi
7.2457 +fi
7.2458 +fi
7.2459 +CC=$ac_cv_prog_CC
7.2460 +if test -n "$CC"; then
7.2461 + echo "$as_me:$LINENO: result: $CC" >&5
7.2462 +echo "${ECHO_T}$CC" >&6
7.2463 +else
7.2464 + echo "$as_me:$LINENO: result: no" >&5
7.2465 +echo "${ECHO_T}no" >&6
7.2466 +fi
7.2467 +
7.2468 +fi
7.2469 +if test -z "$CC"; then
7.2470 + if test -n "$ac_tool_prefix"; then
7.2471 + for ac_prog in cl
7.2472 + do
7.2473 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7.2474 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7.2475 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.2476 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.2477 +if test "${ac_cv_prog_CC+set}" = set; then
7.2478 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2479 +else
7.2480 + if test -n "$CC"; then
7.2481 + ac_cv_prog_CC="$CC" # Let the user override the test.
7.2482 +else
7.2483 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.2484 +for as_dir in $PATH
7.2485 +do
7.2486 + IFS=$as_save_IFS
7.2487 + test -z "$as_dir" && as_dir=.
7.2488 + for ac_exec_ext in '' $ac_executable_extensions; do
7.2489 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.2490 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
7.2491 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.2492 + break 2
7.2493 + fi
7.2494 +done
7.2495 +done
7.2496 +
7.2497 +fi
7.2498 +fi
7.2499 +CC=$ac_cv_prog_CC
7.2500 +if test -n "$CC"; then
7.2501 + echo "$as_me:$LINENO: result: $CC" >&5
7.2502 +echo "${ECHO_T}$CC" >&6
7.2503 +else
7.2504 + echo "$as_me:$LINENO: result: no" >&5
7.2505 +echo "${ECHO_T}no" >&6
7.2506 +fi
7.2507 +
7.2508 + test -n "$CC" && break
7.2509 + done
7.2510 +fi
7.2511 +if test -z "$CC"; then
7.2512 + ac_ct_CC=$CC
7.2513 + for ac_prog in cl
7.2514 +do
7.2515 + # Extract the first word of "$ac_prog", so it can be a program name with args.
7.2516 +set dummy $ac_prog; ac_word=$2
7.2517 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.2518 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.2519 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7.2520 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2521 +else
7.2522 + if test -n "$ac_ct_CC"; then
7.2523 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7.2524 +else
7.2525 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.2526 +for as_dir in $PATH
7.2527 +do
7.2528 + IFS=$as_save_IFS
7.2529 + test -z "$as_dir" && as_dir=.
7.2530 + for ac_exec_ext in '' $ac_executable_extensions; do
7.2531 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.2532 + ac_cv_prog_ac_ct_CC="$ac_prog"
7.2533 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.2534 + break 2
7.2535 + fi
7.2536 +done
7.2537 +done
7.2538 +
7.2539 +fi
7.2540 +fi
7.2541 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
7.2542 +if test -n "$ac_ct_CC"; then
7.2543 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7.2544 +echo "${ECHO_T}$ac_ct_CC" >&6
7.2545 +else
7.2546 + echo "$as_me:$LINENO: result: no" >&5
7.2547 +echo "${ECHO_T}no" >&6
7.2548 +fi
7.2549 +
7.2550 + test -n "$ac_ct_CC" && break
7.2551 +done
7.2552 +
7.2553 + CC=$ac_ct_CC
7.2554 +fi
7.2555 +
7.2556 +fi
7.2557 +
7.2558 +
7.2559 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
7.2560 +See \`config.log' for more details." >&5
7.2561 +echo "$as_me: error: no acceptable C compiler found in \$PATH
7.2562 +See \`config.log' for more details." >&2;}
7.2563 + { (exit 1); exit 1; }; }
7.2564 +
7.2565 +# Provide some information about the compiler.
7.2566 +echo "$as_me:$LINENO:" \
7.2567 + "checking for C compiler version" >&5
7.2568 +ac_compiler=`set X $ac_compile; echo $2`
7.2569 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7.2570 + (eval $ac_compiler --version </dev/null >&5) 2>&5
7.2571 + ac_status=$?
7.2572 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2573 + (exit $ac_status); }
7.2574 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7.2575 + (eval $ac_compiler -v </dev/null >&5) 2>&5
7.2576 + ac_status=$?
7.2577 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2578 + (exit $ac_status); }
7.2579 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7.2580 + (eval $ac_compiler -V </dev/null >&5) 2>&5
7.2581 + ac_status=$?
7.2582 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2583 + (exit $ac_status); }
7.2584 +
7.2585 +cat >conftest.$ac_ext <<_ACEOF
7.2586 +/* confdefs.h. */
7.2587 +_ACEOF
7.2588 +cat confdefs.h >>conftest.$ac_ext
7.2589 +cat >>conftest.$ac_ext <<_ACEOF
7.2590 +/* end confdefs.h. */
7.2591 +
7.2592 +int
7.2593 +main ()
7.2594 +{
7.2595 +
7.2596 + ;
7.2597 + return 0;
7.2598 +}
7.2599 +_ACEOF
7.2600 +ac_clean_files_save=$ac_clean_files
7.2601 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
7.2602 +# Try to create an executable without -o first, disregard a.out.
7.2603 +# It will help us diagnose broken compilers, and finding out an intuition
7.2604 +# of exeext.
7.2605 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
7.2606 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
7.2607 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
7.2608 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
7.2609 + (eval $ac_link_default) 2>&5
7.2610 + ac_status=$?
7.2611 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2612 + (exit $ac_status); }; then
7.2613 + # Find the output, starting from the most likely. This scheme is
7.2614 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
7.2615 +# resort.
7.2616 +
7.2617 +# Be careful to initialize this variable, since it used to be cached.
7.2618 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
7.2619 +ac_cv_exeext=
7.2620 +# b.out is created by i960 compilers.
7.2621 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
7.2622 +do
7.2623 + test -f "$ac_file" || continue
7.2624 + case $ac_file in
7.2625 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
7.2626 + ;;
7.2627 + conftest.$ac_ext )
7.2628 + # This is the source file.
7.2629 + ;;
7.2630 + [ab].out )
7.2631 + # We found the default executable, but exeext='' is most
7.2632 + # certainly right.
7.2633 + break;;
7.2634 + *.* )
7.2635 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
7.2636 + # FIXME: I believe we export ac_cv_exeext for Libtool,
7.2637 + # but it would be cool to find out if it's true. Does anybody
7.2638 + # maintain Libtool? --akim.
7.2639 + export ac_cv_exeext
7.2640 + break;;
7.2641 + * )
7.2642 + break;;
7.2643 + esac
7.2644 +done
7.2645 +else
7.2646 + echo "$as_me: failed program was:" >&5
7.2647 +sed 's/^/| /' conftest.$ac_ext >&5
7.2648 +
7.2649 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
7.2650 +See \`config.log' for more details." >&5
7.2651 +echo "$as_me: error: C compiler cannot create executables
7.2652 +See \`config.log' for more details." >&2;}
7.2653 + { (exit 77); exit 77; }; }
7.2654 +fi
7.2655 +
7.2656 +ac_exeext=$ac_cv_exeext
7.2657 +echo "$as_me:$LINENO: result: $ac_file" >&5
7.2658 +echo "${ECHO_T}$ac_file" >&6
7.2659 +
7.2660 +# Check the compiler produces executables we can run. If not, either
7.2661 +# the compiler is broken, or we cross compile.
7.2662 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
7.2663 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
7.2664 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
7.2665 +# If not cross compiling, check that we can run a simple program.
7.2666 +if test "$cross_compiling" != yes; then
7.2667 + if { ac_try='./$ac_file'
7.2668 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.2669 + (eval $ac_try) 2>&5
7.2670 + ac_status=$?
7.2671 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2672 + (exit $ac_status); }; }; then
7.2673 + cross_compiling=no
7.2674 + else
7.2675 + if test "$cross_compiling" = maybe; then
7.2676 + cross_compiling=yes
7.2677 + else
7.2678 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
7.2679 +If you meant to cross compile, use \`--host'.
7.2680 +See \`config.log' for more details." >&5
7.2681 +echo "$as_me: error: cannot run C compiled programs.
7.2682 +If you meant to cross compile, use \`--host'.
7.2683 +See \`config.log' for more details." >&2;}
7.2684 + { (exit 1); exit 1; }; }
7.2685 + fi
7.2686 + fi
7.2687 +fi
7.2688 +echo "$as_me:$LINENO: result: yes" >&5
7.2689 +echo "${ECHO_T}yes" >&6
7.2690 +
7.2691 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
7.2692 +ac_clean_files=$ac_clean_files_save
7.2693 +# Check the compiler produces executables we can run. If not, either
7.2694 +# the compiler is broken, or we cross compile.
7.2695 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
7.2696 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
7.2697 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
7.2698 +echo "${ECHO_T}$cross_compiling" >&6
7.2699 +
7.2700 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
7.2701 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
7.2702 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.2703 + (eval $ac_link) 2>&5
7.2704 + ac_status=$?
7.2705 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2706 + (exit $ac_status); }; then
7.2707 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
7.2708 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
7.2709 +# work properly (i.e., refer to `conftest.exe'), while it won't with
7.2710 +# `rm'.
7.2711 +for ac_file in conftest.exe conftest conftest.*; do
7.2712 + test -f "$ac_file" || continue
7.2713 + case $ac_file in
7.2714 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
7.2715 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
7.2716 + export ac_cv_exeext
7.2717 + break;;
7.2718 + * ) break;;
7.2719 + esac
7.2720 +done
7.2721 +else
7.2722 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
7.2723 +See \`config.log' for more details." >&5
7.2724 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
7.2725 +See \`config.log' for more details." >&2;}
7.2726 + { (exit 1); exit 1; }; }
7.2727 +fi
7.2728 +
7.2729 +rm -f conftest$ac_cv_exeext
7.2730 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
7.2731 +echo "${ECHO_T}$ac_cv_exeext" >&6
7.2732 +
7.2733 +rm -f conftest.$ac_ext
7.2734 +EXEEXT=$ac_cv_exeext
7.2735 +ac_exeext=$EXEEXT
7.2736 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
7.2737 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
7.2738 +if test "${ac_cv_objext+set}" = set; then
7.2739 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2740 +else
7.2741 + cat >conftest.$ac_ext <<_ACEOF
7.2742 +/* confdefs.h. */
7.2743 +_ACEOF
7.2744 +cat confdefs.h >>conftest.$ac_ext
7.2745 +cat >>conftest.$ac_ext <<_ACEOF
7.2746 +/* end confdefs.h. */
7.2747 +
7.2748 +int
7.2749 +main ()
7.2750 +{
7.2751 +
7.2752 + ;
7.2753 + return 0;
7.2754 +}
7.2755 +_ACEOF
7.2756 +rm -f conftest.o conftest.obj
7.2757 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.2758 + (eval $ac_compile) 2>&5
7.2759 + ac_status=$?
7.2760 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2761 + (exit $ac_status); }; then
7.2762 + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
7.2763 + case $ac_file in
7.2764 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
7.2765 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
7.2766 + break;;
7.2767 + esac
7.2768 +done
7.2769 +else
7.2770 + echo "$as_me: failed program was:" >&5
7.2771 +sed 's/^/| /' conftest.$ac_ext >&5
7.2772 +
7.2773 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
7.2774 +See \`config.log' for more details." >&5
7.2775 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
7.2776 +See \`config.log' for more details." >&2;}
7.2777 + { (exit 1); exit 1; }; }
7.2778 +fi
7.2779 +
7.2780 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
7.2781 +fi
7.2782 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
7.2783 +echo "${ECHO_T}$ac_cv_objext" >&6
7.2784 +OBJEXT=$ac_cv_objext
7.2785 +ac_objext=$OBJEXT
7.2786 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
7.2787 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
7.2788 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
7.2789 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2790 +else
7.2791 + cat >conftest.$ac_ext <<_ACEOF
7.2792 +/* confdefs.h. */
7.2793 +_ACEOF
7.2794 +cat confdefs.h >>conftest.$ac_ext
7.2795 +cat >>conftest.$ac_ext <<_ACEOF
7.2796 +/* end confdefs.h. */
7.2797 +
7.2798 +int
7.2799 +main ()
7.2800 +{
7.2801 +#ifndef __GNUC__
7.2802 + choke me
7.2803 +#endif
7.2804 +
7.2805 + ;
7.2806 + return 0;
7.2807 +}
7.2808 +_ACEOF
7.2809 +rm -f conftest.$ac_objext
7.2810 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.2811 + (eval $ac_compile) 2>conftest.er1
7.2812 + ac_status=$?
7.2813 + grep -v '^ *+' conftest.er1 >conftest.err
7.2814 + rm -f conftest.er1
7.2815 + cat conftest.err >&5
7.2816 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2817 + (exit $ac_status); } &&
7.2818 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.2819 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.2820 + (eval $ac_try) 2>&5
7.2821 + ac_status=$?
7.2822 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2823 + (exit $ac_status); }; } &&
7.2824 + { ac_try='test -s conftest.$ac_objext'
7.2825 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.2826 + (eval $ac_try) 2>&5
7.2827 + ac_status=$?
7.2828 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2829 + (exit $ac_status); }; }; then
7.2830 + ac_compiler_gnu=yes
7.2831 +else
7.2832 + echo "$as_me: failed program was:" >&5
7.2833 +sed 's/^/| /' conftest.$ac_ext >&5
7.2834 +
7.2835 +ac_compiler_gnu=no
7.2836 +fi
7.2837 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.2838 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
7.2839 +
7.2840 +fi
7.2841 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
7.2842 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
7.2843 +GCC=`test $ac_compiler_gnu = yes && echo yes`
7.2844 +ac_test_CFLAGS=${CFLAGS+set}
7.2845 +ac_save_CFLAGS=$CFLAGS
7.2846 +CFLAGS="-g"
7.2847 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
7.2848 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
7.2849 +if test "${ac_cv_prog_cc_g+set}" = set; then
7.2850 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2851 +else
7.2852 + cat >conftest.$ac_ext <<_ACEOF
7.2853 +/* confdefs.h. */
7.2854 +_ACEOF
7.2855 +cat confdefs.h >>conftest.$ac_ext
7.2856 +cat >>conftest.$ac_ext <<_ACEOF
7.2857 +/* end confdefs.h. */
7.2858 +
7.2859 +int
7.2860 +main ()
7.2861 +{
7.2862 +
7.2863 + ;
7.2864 + return 0;
7.2865 +}
7.2866 +_ACEOF
7.2867 +rm -f conftest.$ac_objext
7.2868 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.2869 + (eval $ac_compile) 2>conftest.er1
7.2870 + ac_status=$?
7.2871 + grep -v '^ *+' conftest.er1 >conftest.err
7.2872 + rm -f conftest.er1
7.2873 + cat conftest.err >&5
7.2874 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2875 + (exit $ac_status); } &&
7.2876 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.2877 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.2878 + (eval $ac_try) 2>&5
7.2879 + ac_status=$?
7.2880 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2881 + (exit $ac_status); }; } &&
7.2882 + { ac_try='test -s conftest.$ac_objext'
7.2883 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.2884 + (eval $ac_try) 2>&5
7.2885 + ac_status=$?
7.2886 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2887 + (exit $ac_status); }; }; then
7.2888 + ac_cv_prog_cc_g=yes
7.2889 +else
7.2890 + echo "$as_me: failed program was:" >&5
7.2891 +sed 's/^/| /' conftest.$ac_ext >&5
7.2892 +
7.2893 +ac_cv_prog_cc_g=no
7.2894 +fi
7.2895 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.2896 +fi
7.2897 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
7.2898 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
7.2899 +if test "$ac_test_CFLAGS" = set; then
7.2900 + CFLAGS=$ac_save_CFLAGS
7.2901 +elif test $ac_cv_prog_cc_g = yes; then
7.2902 + if test "$GCC" = yes; then
7.2903 + CFLAGS="-g -O2"
7.2904 + else
7.2905 + CFLAGS="-g"
7.2906 + fi
7.2907 +else
7.2908 + if test "$GCC" = yes; then
7.2909 + CFLAGS="-O2"
7.2910 + else
7.2911 + CFLAGS=
7.2912 + fi
7.2913 +fi
7.2914 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
7.2915 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
7.2916 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
7.2917 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.2918 +else
7.2919 + ac_cv_prog_cc_stdc=no
7.2920 +ac_save_CC=$CC
7.2921 +cat >conftest.$ac_ext <<_ACEOF
7.2922 +/* confdefs.h. */
7.2923 +_ACEOF
7.2924 +cat confdefs.h >>conftest.$ac_ext
7.2925 +cat >>conftest.$ac_ext <<_ACEOF
7.2926 +/* end confdefs.h. */
7.2927 +#include <stdarg.h>
7.2928 +#include <stdio.h>
7.2929 +#include <sys/types.h>
7.2930 +#include <sys/stat.h>
7.2931 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
7.2932 +struct buf { int x; };
7.2933 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
7.2934 +static char *e (p, i)
7.2935 + char **p;
7.2936 + int i;
7.2937 +{
7.2938 + return p[i];
7.2939 +}
7.2940 +static char *f (char * (*g) (char **, int), char **p, ...)
7.2941 +{
7.2942 + char *s;
7.2943 + va_list v;
7.2944 + va_start (v,p);
7.2945 + s = g (p, va_arg (v,int));
7.2946 + va_end (v);
7.2947 + return s;
7.2948 +}
7.2949 +
7.2950 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
7.2951 + function prototypes and stuff, but not '\xHH' hex character constants.
7.2952 + These don't provoke an error unfortunately, instead are silently treated
7.2953 + as 'x'. The following induces an error, until -std1 is added to get
7.2954 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
7.2955 + array size at least. It's necessary to write '\x00'==0 to get something
7.2956 + that's true only with -std1. */
7.2957 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
7.2958 +
7.2959 +int test (int i, double x);
7.2960 +struct s1 {int (*f) (int a);};
7.2961 +struct s2 {int (*f) (double a);};
7.2962 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
7.2963 +int argc;
7.2964 +char **argv;
7.2965 +int
7.2966 +main ()
7.2967 +{
7.2968 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
7.2969 + ;
7.2970 + return 0;
7.2971 +}
7.2972 +_ACEOF
7.2973 +# Don't try gcc -ansi; that turns off useful extensions and
7.2974 +# breaks some systems' header files.
7.2975 +# AIX -qlanglvl=ansi
7.2976 +# Ultrix and OSF/1 -std1
7.2977 +# HP-UX 10.20 and later -Ae
7.2978 +# HP-UX older versions -Aa -D_HPUX_SOURCE
7.2979 +# SVR4 -Xc -D__EXTENSIONS__
7.2980 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7.2981 +do
7.2982 + CC="$ac_save_CC $ac_arg"
7.2983 + rm -f conftest.$ac_objext
7.2984 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.2985 + (eval $ac_compile) 2>conftest.er1
7.2986 + ac_status=$?
7.2987 + grep -v '^ *+' conftest.er1 >conftest.err
7.2988 + rm -f conftest.er1
7.2989 + cat conftest.err >&5
7.2990 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2991 + (exit $ac_status); } &&
7.2992 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.2993 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.2994 + (eval $ac_try) 2>&5
7.2995 + ac_status=$?
7.2996 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.2997 + (exit $ac_status); }; } &&
7.2998 + { ac_try='test -s conftest.$ac_objext'
7.2999 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.3000 + (eval $ac_try) 2>&5
7.3001 + ac_status=$?
7.3002 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3003 + (exit $ac_status); }; }; then
7.3004 + ac_cv_prog_cc_stdc=$ac_arg
7.3005 +break
7.3006 +else
7.3007 + echo "$as_me: failed program was:" >&5
7.3008 +sed 's/^/| /' conftest.$ac_ext >&5
7.3009 +
7.3010 +fi
7.3011 +rm -f conftest.err conftest.$ac_objext
7.3012 +done
7.3013 +rm -f conftest.$ac_ext conftest.$ac_objext
7.3014 +CC=$ac_save_CC
7.3015 +
7.3016 +fi
7.3017 +
7.3018 +case "x$ac_cv_prog_cc_stdc" in
7.3019 + x|xno)
7.3020 + echo "$as_me:$LINENO: result: none needed" >&5
7.3021 +echo "${ECHO_T}none needed" >&6 ;;
7.3022 + *)
7.3023 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
7.3024 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
7.3025 + CC="$CC $ac_cv_prog_cc_stdc" ;;
7.3026 +esac
7.3027 +
7.3028 +# Some people use a C++ compiler to compile C. Since we use `exit',
7.3029 +# in C++ we need to declare it. In case someone uses the same compiler
7.3030 +# for both compiling C and C++ we need to have the C++ compiler decide
7.3031 +# the declaration of exit, since it's the most demanding environment.
7.3032 +cat >conftest.$ac_ext <<_ACEOF
7.3033 +@%:@ifndef __cplusplus
7.3034 + choke me
7.3035 +@%:@endif
7.3036 +_ACEOF
7.3037 +rm -f conftest.$ac_objext
7.3038 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.3039 + (eval $ac_compile) 2>conftest.er1
7.3040 + ac_status=$?
7.3041 + grep -v '^ *+' conftest.er1 >conftest.err
7.3042 + rm -f conftest.er1
7.3043 + cat conftest.err >&5
7.3044 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3045 + (exit $ac_status); } &&
7.3046 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.3047 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.3048 + (eval $ac_try) 2>&5
7.3049 + ac_status=$?
7.3050 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3051 + (exit $ac_status); }; } &&
7.3052 + { ac_try='test -s conftest.$ac_objext'
7.3053 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.3054 + (eval $ac_try) 2>&5
7.3055 + ac_status=$?
7.3056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3057 + (exit $ac_status); }; }; then
7.3058 + for ac_declaration in \
7.3059 + '' \
7.3060 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
7.3061 + 'extern "C" void std::exit (int); using std::exit;' \
7.3062 + 'extern "C" void exit (int) throw ();' \
7.3063 + 'extern "C" void exit (int);' \
7.3064 + 'void exit (int);'
7.3065 +do
7.3066 + cat >conftest.$ac_ext <<_ACEOF
7.3067 +/* confdefs.h. */
7.3068 +_ACEOF
7.3069 +cat confdefs.h >>conftest.$ac_ext
7.3070 +cat >>conftest.$ac_ext <<_ACEOF
7.3071 +/* end confdefs.h. */
7.3072 +$ac_declaration
7.3073 +@%:@include <stdlib.h>
7.3074 +int
7.3075 +main ()
7.3076 +{
7.3077 +exit (42);
7.3078 + ;
7.3079 + return 0;
7.3080 +}
7.3081 +_ACEOF
7.3082 +rm -f conftest.$ac_objext
7.3083 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.3084 + (eval $ac_compile) 2>conftest.er1
7.3085 + ac_status=$?
7.3086 + grep -v '^ *+' conftest.er1 >conftest.err
7.3087 + rm -f conftest.er1
7.3088 + cat conftest.err >&5
7.3089 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3090 + (exit $ac_status); } &&
7.3091 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.3092 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.3093 + (eval $ac_try) 2>&5
7.3094 + ac_status=$?
7.3095 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3096 + (exit $ac_status); }; } &&
7.3097 + { ac_try='test -s conftest.$ac_objext'
7.3098 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.3099 + (eval $ac_try) 2>&5
7.3100 + ac_status=$?
7.3101 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3102 + (exit $ac_status); }; }; then
7.3103 + :
7.3104 +else
7.3105 + echo "$as_me: failed program was:" >&5
7.3106 +sed 's/^/| /' conftest.$ac_ext >&5
7.3107 +
7.3108 +continue
7.3109 +fi
7.3110 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.3111 + cat >conftest.$ac_ext <<_ACEOF
7.3112 +/* confdefs.h. */
7.3113 +_ACEOF
7.3114 +cat confdefs.h >>conftest.$ac_ext
7.3115 +cat >>conftest.$ac_ext <<_ACEOF
7.3116 +/* end confdefs.h. */
7.3117 +$ac_declaration
7.3118 +int
7.3119 +main ()
7.3120 +{
7.3121 +exit (42);
7.3122 + ;
7.3123 + return 0;
7.3124 +}
7.3125 +_ACEOF
7.3126 +rm -f conftest.$ac_objext
7.3127 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.3128 + (eval $ac_compile) 2>conftest.er1
7.3129 + ac_status=$?
7.3130 + grep -v '^ *+' conftest.er1 >conftest.err
7.3131 + rm -f conftest.er1
7.3132 + cat conftest.err >&5
7.3133 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3134 + (exit $ac_status); } &&
7.3135 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.3136 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.3137 + (eval $ac_try) 2>&5
7.3138 + ac_status=$?
7.3139 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3140 + (exit $ac_status); }; } &&
7.3141 + { ac_try='test -s conftest.$ac_objext'
7.3142 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.3143 + (eval $ac_try) 2>&5
7.3144 + ac_status=$?
7.3145 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3146 + (exit $ac_status); }; }; then
7.3147 + break
7.3148 +else
7.3149 + echo "$as_me: failed program was:" >&5
7.3150 +sed 's/^/| /' conftest.$ac_ext >&5
7.3151 +
7.3152 +fi
7.3153 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.3154 +done
7.3155 +rm -f conftest*
7.3156 +if test -n "$ac_declaration"; then
7.3157 + echo '#ifdef __cplusplus' >>confdefs.h
7.3158 + echo $ac_declaration >>confdefs.h
7.3159 + echo '#endif' >>confdefs.h
7.3160 +fi
7.3161 +
7.3162 +else
7.3163 + echo "$as_me: failed program was:" >&5
7.3164 +sed 's/^/| /' conftest.$ac_ext >&5
7.3165 +
7.3166 +fi
7.3167 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.3168 +ac_ext=c
7.3169 +ac_cpp='$CPP $CPPFLAGS'
7.3170 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.3171 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.3172 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.3173 +
7.3174 +depcc="$CC" am_compiler_list=
7.3175 +
7.3176 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7.3177 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7.3178 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
7.3179 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.3180 +else
7.3181 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7.3182 + # We make a subdir and do the tests there. Otherwise we can end up
7.3183 + # making bogus files that we don't know about and never remove. For
7.3184 + # instance it was reported that on HP-UX the gcc test will end up
7.3185 + # making a dummy file named `D' -- because `-MD' means `put the output
7.3186 + # in D'.
7.3187 + mkdir conftest.dir
7.3188 + # Copy depcomp to subdir because otherwise we won't find it if we're
7.3189 + # using a relative directory.
7.3190 + cp "$am_depcomp" conftest.dir
7.3191 + cd conftest.dir
7.3192 + # We will build objects and dependencies in a subdirectory because
7.3193 + # it helps to detect inapplicable dependency modes. For instance
7.3194 + # both Tru64's cc and ICC support -MD to output dependencies as a
7.3195 + # side effect of compilation, but ICC will put the dependencies in
7.3196 + # the current directory while Tru64 will put them in the object
7.3197 + # directory.
7.3198 + mkdir sub
7.3199 +
7.3200 + am_cv_CC_dependencies_compiler_type=none
7.3201 + if test "$am_compiler_list" = ""; then
7.3202 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7.3203 + fi
7.3204 + for depmode in $am_compiler_list; do
7.3205 + # Setup a source with many dependencies, because some compilers
7.3206 + # like to wrap large dependency lists on column 80 (with \), and
7.3207 + # we should not choose a depcomp mode which is confused by this.
7.3208 + #
7.3209 + # We need to recreate these files for each test, as the compiler may
7.3210 + # overwrite some of them when testing with obscure command lines.
7.3211 + # This happens at least with the AIX C compiler.
7.3212 + : > sub/conftest.c
7.3213 + for i in 1 2 3 4 5 6; do
7.3214 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
7.3215 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7.3216 + # Solaris 8's {/usr,}/bin/sh.
7.3217 + touch sub/conftst$i.h
7.3218 + done
7.3219 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7.3220 +
7.3221 + case $depmode in
7.3222 + nosideeffect)
7.3223 + # after this tag, mechanisms are not by side-effect, so they'll
7.3224 + # only be used when explicitly requested
7.3225 + if test "x$enable_dependency_tracking" = xyes; then
7.3226 + continue
7.3227 + else
7.3228 + break
7.3229 + fi
7.3230 + ;;
7.3231 + none) break ;;
7.3232 + esac
7.3233 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
7.3234 + # mode. It turns out that the SunPro C++ compiler does not properly
7.3235 + # handle `-M -o', and we need to detect this.
7.3236 + if depmode=$depmode \
7.3237 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7.3238 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7.3239 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7.3240 + >/dev/null 2>conftest.err &&
7.3241 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7.3242 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7.3243 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7.3244 + # icc doesn't choke on unknown options, it will just issue warnings
7.3245 + # or remarks (even with -Werror). So we grep stderr for any message
7.3246 + # that says an option was ignored or not supported.
7.3247 + # When given -MP, icc 7.0 and 7.1 complain thusly:
7.3248 + # icc: Command line warning: ignoring option '-M'; no argument required
7.3249 + # The diagnosis changed in icc 8.0:
7.3250 + # icc: Command line remark: option '-MP' not supported
7.3251 + if (grep 'ignoring option' conftest.err ||
7.3252 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7.3253 + am_cv_CC_dependencies_compiler_type=$depmode
7.3254 + break
7.3255 + fi
7.3256 + fi
7.3257 + done
7.3258 +
7.3259 + cd ..
7.3260 + rm -rf conftest.dir
7.3261 +else
7.3262 + am_cv_CC_dependencies_compiler_type=none
7.3263 +fi
7.3264 +
7.3265 +fi
7.3266 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
7.3267 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
7.3268 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
7.3269 +
7.3270 +
7.3271 +
7.3272 +if
7.3273 + test "x$enable_dependency_tracking" != xno \
7.3274 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
7.3275 + am__fastdepCC_TRUE=
7.3276 + am__fastdepCC_FALSE='#'
7.3277 +else
7.3278 + am__fastdepCC_TRUE='#'
7.3279 + am__fastdepCC_FALSE=
7.3280 +fi
7.3281 +
7.3282 +
7.3283 +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7.3284 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
7.3285 +if test "${lt_cv_path_SED+set}" = set; then
7.3286 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.3287 +else
7.3288 + # Loop through the user's path and test for sed and gsed.
7.3289 +# Then use that list of sed's as ones to test for truncation.
7.3290 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.3291 +for as_dir in $PATH
7.3292 +do
7.3293 + IFS=$as_save_IFS
7.3294 + test -z "$as_dir" && as_dir=.
7.3295 + for lt_ac_prog in sed gsed; do
7.3296 + for ac_exec_ext in '' $ac_executable_extensions; do
7.3297 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7.3298 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7.3299 + fi
7.3300 + done
7.3301 + done
7.3302 +done
7.3303 +lt_ac_max=0
7.3304 +lt_ac_count=0
7.3305 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7.3306 +# along with /bin/sed that truncates output.
7.3307 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7.3308 + test ! -f $lt_ac_sed && continue
7.3309 + cat /dev/null > conftest.in
7.3310 + lt_ac_count=0
7.3311 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7.3312 + # Check for GNU sed and select it if it is found.
7.3313 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7.3314 + lt_cv_path_SED=$lt_ac_sed
7.3315 + break
7.3316 + fi
7.3317 + while true; do
7.3318 + cat conftest.in conftest.in >conftest.tmp
7.3319 + mv conftest.tmp conftest.in
7.3320 + cp conftest.in conftest.nl
7.3321 + echo >>conftest.nl
7.3322 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7.3323 + cmp -s conftest.out conftest.nl || break
7.3324 + # 10000 chars as input seems more than enough
7.3325 + test $lt_ac_count -gt 10 && break
7.3326 + lt_ac_count=`expr $lt_ac_count + 1`
7.3327 + if test $lt_ac_count -gt $lt_ac_max; then
7.3328 + lt_ac_max=$lt_ac_count
7.3329 + lt_cv_path_SED=$lt_ac_sed
7.3330 + fi
7.3331 + done
7.3332 +done
7.3333 +
7.3334 +fi
7.3335 +
7.3336 +SED=$lt_cv_path_SED
7.3337 +echo "$as_me:$LINENO: result: $SED" >&5
7.3338 +echo "${ECHO_T}$SED" >&6
7.3339 +
7.3340 +echo "$as_me:$LINENO: checking for egrep" >&5
7.3341 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7.3342 +if test "${ac_cv_prog_egrep+set}" = set; then
7.3343 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.3344 +else
7.3345 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
7.3346 + then ac_cv_prog_egrep='grep -E'
7.3347 + else ac_cv_prog_egrep='egrep'
7.3348 + fi
7.3349 +fi
7.3350 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7.3351 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7.3352 + EGREP=$ac_cv_prog_egrep
7.3353 +
7.3354 +
7.3355 +
7.3356 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
7.3357 +if test "${with_gnu_ld+set}" = set; then
7.3358 + withval="$with_gnu_ld"
7.3359 + test "$withval" = no || with_gnu_ld=yes
7.3360 +else
7.3361 + with_gnu_ld=no
7.3362 +fi;
7.3363 +ac_prog=ld
7.3364 +if test "$GCC" = yes; then
7.3365 + # Check if gcc -print-prog-name=ld gives a path.
7.3366 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7.3367 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
7.3368 + case $host in
7.3369 + *-*-mingw*)
7.3370 + # gcc leaves a trailing carriage return which upsets mingw
7.3371 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7.3372 + *)
7.3373 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7.3374 + esac
7.3375 + case $ac_prog in
7.3376 + # Accept absolute paths.
7.3377 + [\\/]* | ?:[\\/]*)
7.3378 + re_direlt='/[^/][^/]*/\.\./'
7.3379 + # Canonicalize the pathname of ld
7.3380 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7.3381 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7.3382 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7.3383 + done
7.3384 + test -z "$LD" && LD="$ac_prog"
7.3385 + ;;
7.3386 + "")
7.3387 + # If it fails, then pretend we aren't using GCC.
7.3388 + ac_prog=ld
7.3389 + ;;
7.3390 + *)
7.3391 + # If it is relative, then search for the first ld in PATH.
7.3392 + with_gnu_ld=unknown
7.3393 + ;;
7.3394 + esac
7.3395 +elif test "$with_gnu_ld" = yes; then
7.3396 + echo "$as_me:$LINENO: checking for GNU ld" >&5
7.3397 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7.3398 +else
7.3399 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7.3400 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7.3401 +fi
7.3402 +if test "${lt_cv_path_LD+set}" = set; then
7.3403 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.3404 +else
7.3405 + if test -z "$LD"; then
7.3406 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7.3407 + for ac_dir in $PATH; do
7.3408 + IFS="$lt_save_ifs"
7.3409 + test -z "$ac_dir" && ac_dir=.
7.3410 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7.3411 + lt_cv_path_LD="$ac_dir/$ac_prog"
7.3412 + # Check to see if the program is GNU ld. I'd rather use --version,
7.3413 + # but apparently some variants of GNU ld only accept -v.
7.3414 + # Break only if it was the GNU/non-GNU ld that we prefer.
7.3415 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7.3416 + *GNU* | *'with BFD'*)
7.3417 + test "$with_gnu_ld" != no && break
7.3418 + ;;
7.3419 + *)
7.3420 + test "$with_gnu_ld" != yes && break
7.3421 + ;;
7.3422 + esac
7.3423 + fi
7.3424 + done
7.3425 + IFS="$lt_save_ifs"
7.3426 +else
7.3427 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
7.3428 +fi
7.3429 +fi
7.3430 +
7.3431 +LD="$lt_cv_path_LD"
7.3432 +if test -n "$LD"; then
7.3433 + echo "$as_me:$LINENO: result: $LD" >&5
7.3434 +echo "${ECHO_T}$LD" >&6
7.3435 +else
7.3436 + echo "$as_me:$LINENO: result: no" >&5
7.3437 +echo "${ECHO_T}no" >&6
7.3438 +fi
7.3439 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7.3440 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7.3441 + { (exit 1); exit 1; }; }
7.3442 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7.3443 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7.3444 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
7.3445 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.3446 +else
7.3447 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
7.3448 +case `$LD -v 2>&1 </dev/null` in
7.3449 +*GNU* | *'with BFD'*)
7.3450 + lt_cv_prog_gnu_ld=yes
7.3451 + ;;
7.3452 +*)
7.3453 + lt_cv_prog_gnu_ld=no
7.3454 + ;;
7.3455 +esac
7.3456 +fi
7.3457 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7.3458 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
7.3459 +with_gnu_ld=$lt_cv_prog_gnu_ld
7.3460 +
7.3461 +
7.3462 +echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7.3463 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
7.3464 +if test "${lt_cv_ld_reload_flag+set}" = set; then
7.3465 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.3466 +else
7.3467 + lt_cv_ld_reload_flag='-r'
7.3468 +fi
7.3469 +echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7.3470 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
7.3471 +reload_flag=$lt_cv_ld_reload_flag
7.3472 +case $reload_flag in
7.3473 +"" | " "*) ;;
7.3474 +*) reload_flag=" $reload_flag" ;;
7.3475 +esac
7.3476 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
7.3477 +case $host_os in
7.3478 + darwin*)
7.3479 + if test "$GCC" = yes; then
7.3480 + reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
7.3481 + else
7.3482 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
7.3483 + fi
7.3484 + ;;
7.3485 +esac
7.3486 +
7.3487 +echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7.3488 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
7.3489 +if test "${lt_cv_path_NM+set}" = set; then
7.3490 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.3491 +else
7.3492 + if test -n "$NM"; then
7.3493 + # Let the user override the test.
7.3494 + lt_cv_path_NM="$NM"
7.3495 +else
7.3496 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7.3497 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
7.3498 + IFS="$lt_save_ifs"
7.3499 + test -z "$ac_dir" && ac_dir=.
7.3500 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
7.3501 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7.3502 + # Check to see if the nm accepts a BSD-compat flag.
7.3503 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7.3504 + # nm: unknown option "B" ignored
7.3505 + # Tru64's nm complains that /dev/null is an invalid object file
7.3506 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7.3507 + */dev/null* | *'Invalid file or object type'*)
7.3508 + lt_cv_path_NM="$tmp_nm -B"
7.3509 + break
7.3510 + ;;
7.3511 + *)
7.3512 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7.3513 + */dev/null*)
7.3514 + lt_cv_path_NM="$tmp_nm -p"
7.3515 + break
7.3516 + ;;
7.3517 + *)
7.3518 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7.3519 + continue # so that we can try to find one that supports BSD flags
7.3520 + ;;
7.3521 + esac
7.3522 + esac
7.3523 + fi
7.3524 + done
7.3525 + IFS="$lt_save_ifs"
7.3526 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7.3527 +fi
7.3528 +fi
7.3529 +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7.3530 +echo "${ECHO_T}$lt_cv_path_NM" >&6
7.3531 +NM="$lt_cv_path_NM"
7.3532 +
7.3533 +echo "$as_me:$LINENO: checking whether ln -s works" >&5
7.3534 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7.3535 +LN_S=$as_ln_s
7.3536 +if test "$LN_S" = "ln -s"; then
7.3537 + echo "$as_me:$LINENO: result: yes" >&5
7.3538 +echo "${ECHO_T}yes" >&6
7.3539 +else
7.3540 + echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7.3541 +echo "${ECHO_T}no, using $LN_S" >&6
7.3542 +fi
7.3543 +
7.3544 +echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
7.3545 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
7.3546 +if test "${lt_cv_deplibs_check_method+set}" = set; then
7.3547 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.3548 +else
7.3549 + lt_cv_file_magic_cmd='$MAGIC_CMD'
7.3550 +lt_cv_file_magic_test_file=
7.3551 +lt_cv_deplibs_check_method='unknown'
7.3552 +# Need to set the preceding variable on all platforms that support
7.3553 +# interlibrary dependencies.
7.3554 +# 'none' -- dependencies not supported.
7.3555 +# `unknown' -- same as none, but documents that we really don't know.
7.3556 +# 'pass_all' -- all dependencies passed with no checks.
7.3557 +# 'test_compile' -- check by making test program.
7.3558 +# 'file_magic [[regex]]' -- check by looking for files in library path
7.3559 +# which responds to the $file_magic_cmd with a given extended regex.
7.3560 +# If you have `file' or equivalent on your system and you're not sure
7.3561 +# whether `pass_all' will *always* work, you probably want this one.
7.3562 +
7.3563 +case $host_os in
7.3564 +aix4* | aix5*)
7.3565 + lt_cv_deplibs_check_method=pass_all
7.3566 + ;;
7.3567 +
7.3568 +beos*)
7.3569 + lt_cv_deplibs_check_method=pass_all
7.3570 + ;;
7.3571 +
7.3572 +bsdi[45]*)
7.3573 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7.3574 + lt_cv_file_magic_cmd='/usr/bin/file -L'
7.3575 + lt_cv_file_magic_test_file=/shlib/libc.so
7.3576 + ;;
7.3577 +
7.3578 +cygwin*)
7.3579 + # func_win32_libid is a shell function defined in ltmain.sh
7.3580 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7.3581 + lt_cv_file_magic_cmd='func_win32_libid'
7.3582 + ;;
7.3583 +
7.3584 +mingw* | pw32*)
7.3585 + # Base MSYS/MinGW do not provide the 'file' command needed by
7.3586 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
7.3587 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7.3588 + lt_cv_file_magic_cmd='$OBJDUMP -f'
7.3589 + ;;
7.3590 +
7.3591 +darwin* | rhapsody*)
7.3592 + lt_cv_deplibs_check_method=pass_all
7.3593 + ;;
7.3594 +
7.3595 +freebsd* | kfreebsd*-gnu | dragonfly*)
7.3596 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7.3597 + case $host_cpu in
7.3598 + i*86 )
7.3599 + # Not sure whether the presence of OpenBSD here was a mistake.
7.3600 + # Let's accept both of them until this is cleared up.
7.3601 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7.3602 + lt_cv_file_magic_cmd=/usr/bin/file
7.3603 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7.3604 + ;;
7.3605 + esac
7.3606 + else
7.3607 + lt_cv_deplibs_check_method=pass_all
7.3608 + fi
7.3609 + ;;
7.3610 +
7.3611 +gnu*)
7.3612 + lt_cv_deplibs_check_method=pass_all
7.3613 + ;;
7.3614 +
7.3615 +hpux10.20* | hpux11*)
7.3616 + lt_cv_file_magic_cmd=/usr/bin/file
7.3617 + case $host_cpu in
7.3618 + ia64*)
7.3619 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7.3620 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7.3621 + ;;
7.3622 + hppa*64*)
7.3623 + 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]'
7.3624 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7.3625 + ;;
7.3626 + *)
7.3627 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7.3628 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
7.3629 + ;;
7.3630 + esac
7.3631 + ;;
7.3632 +
7.3633 +irix5* | irix6* | nonstopux*)
7.3634 + case $LD in
7.3635 + *-32|*"-32 ") libmagic=32-bit;;
7.3636 + *-n32|*"-n32 ") libmagic=N32;;
7.3637 + *-64|*"-64 ") libmagic=64-bit;;
7.3638 + *) libmagic=never-match;;
7.3639 + esac
7.3640 + lt_cv_deplibs_check_method=pass_all
7.3641 + ;;
7.3642 +
7.3643 +# This must be Linux ELF.
7.3644 +linux*)
7.3645 + lt_cv_deplibs_check_method=pass_all
7.3646 + ;;
7.3647 +
7.3648 +netbsd*)
7.3649 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7.3650 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7.3651 + else
7.3652 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7.3653 + fi
7.3654 + ;;
7.3655 +
7.3656 +newos6*)
7.3657 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7.3658 + lt_cv_file_magic_cmd=/usr/bin/file
7.3659 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
7.3660 + ;;
7.3661 +
7.3662 +nto-qnx*)
7.3663 + lt_cv_deplibs_check_method=unknown
7.3664 + ;;
7.3665 +
7.3666 +openbsd*)
7.3667 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7.3668 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7.3669 + else
7.3670 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7.3671 + fi
7.3672 + ;;
7.3673 +
7.3674 +osf3* | osf4* | osf5*)
7.3675 + lt_cv_deplibs_check_method=pass_all
7.3676 + ;;
7.3677 +
7.3678 +sco3.2v5*)
7.3679 + lt_cv_deplibs_check_method=pass_all
7.3680 + ;;
7.3681 +
7.3682 +solaris*)
7.3683 + lt_cv_deplibs_check_method=pass_all
7.3684 + ;;
7.3685 +
7.3686 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7.3687 + case $host_vendor in
7.3688 + motorola)
7.3689 + 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]'
7.3690 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7.3691 + ;;
7.3692 + ncr)
7.3693 + lt_cv_deplibs_check_method=pass_all
7.3694 + ;;
7.3695 + sequent)
7.3696 + lt_cv_file_magic_cmd='/bin/file'
7.3697 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7.3698 + ;;
7.3699 + sni)
7.3700 + lt_cv_file_magic_cmd='/bin/file'
7.3701 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7.3702 + lt_cv_file_magic_test_file=/lib/libc.so
7.3703 + ;;
7.3704 + siemens)
7.3705 + lt_cv_deplibs_check_method=pass_all
7.3706 + ;;
7.3707 + esac
7.3708 + ;;
7.3709 +
7.3710 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
7.3711 + lt_cv_deplibs_check_method=pass_all
7.3712 + ;;
7.3713 +esac
7.3714 +
7.3715 +fi
7.3716 +echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7.3717 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
7.3718 +file_magic_cmd=$lt_cv_file_magic_cmd
7.3719 +deplibs_check_method=$lt_cv_deplibs_check_method
7.3720 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
7.3721 +
7.3722 +
7.3723 +
7.3724 +
7.3725 +# If no C compiler was specified, use CC.
7.3726 +LTCC=${LTCC-"$CC"}
7.3727 +
7.3728 +# Allow CC to be a program name with arguments.
7.3729 +compiler=$CC
7.3730 +
7.3731 +
7.3732 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7.3733 +if test "${enable_libtool_lock+set}" = set; then
7.3734 + enableval="$enable_libtool_lock"
7.3735 +
7.3736 +fi;
7.3737 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7.3738 +
7.3739 +# Some flags need to be propagated to the compiler or linker for good
7.3740 +# libtool support.
7.3741 +case $host in
7.3742 +ia64-*-hpux*)
7.3743 + # Find out which ABI we are using.
7.3744 + echo 'int i;' > conftest.$ac_ext
7.3745 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.3746 + (eval $ac_compile) 2>&5
7.3747 + ac_status=$?
7.3748 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3749 + (exit $ac_status); }; then
7.3750 + case `/usr/bin/file conftest.$ac_objext` in
7.3751 + *ELF-32*)
7.3752 + HPUX_IA64_MODE="32"
7.3753 + ;;
7.3754 + *ELF-64*)
7.3755 + HPUX_IA64_MODE="64"
7.3756 + ;;
7.3757 + esac
7.3758 + fi
7.3759 + rm -rf conftest*
7.3760 + ;;
7.3761 +*-*-irix6*)
7.3762 + # Find out which ABI we are using.
7.3763 + echo '#line __oline__ "configure"' > conftest.$ac_ext
7.3764 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.3765 + (eval $ac_compile) 2>&5
7.3766 + ac_status=$?
7.3767 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3768 + (exit $ac_status); }; then
7.3769 + if test "$lt_cv_prog_gnu_ld" = yes; then
7.3770 + case `/usr/bin/file conftest.$ac_objext` in
7.3771 + *32-bit*)
7.3772 + LD="${LD-ld} -melf32bsmip"
7.3773 + ;;
7.3774 + *N32*)
7.3775 + LD="${LD-ld} -melf32bmipn32"
7.3776 + ;;
7.3777 + *64-bit*)
7.3778 + LD="${LD-ld} -melf64bmip"
7.3779 + ;;
7.3780 + esac
7.3781 + else
7.3782 + case `/usr/bin/file conftest.$ac_objext` in
7.3783 + *32-bit*)
7.3784 + LD="${LD-ld} -32"
7.3785 + ;;
7.3786 + *N32*)
7.3787 + LD="${LD-ld} -n32"
7.3788 + ;;
7.3789 + *64-bit*)
7.3790 + LD="${LD-ld} -64"
7.3791 + ;;
7.3792 + esac
7.3793 + fi
7.3794 + fi
7.3795 + rm -rf conftest*
7.3796 + ;;
7.3797 +
7.3798 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
7.3799 + # Find out which ABI we are using.
7.3800 + echo 'int i;' > conftest.$ac_ext
7.3801 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.3802 + (eval $ac_compile) 2>&5
7.3803 + ac_status=$?
7.3804 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3805 + (exit $ac_status); }; then
7.3806 + case `/usr/bin/file conftest.o` in
7.3807 + *32-bit*)
7.3808 + case $host in
7.3809 + x86_64-*linux*)
7.3810 + LD="${LD-ld} -m elf_i386"
7.3811 + ;;
7.3812 + ppc64-*linux*|powerpc64-*linux*)
7.3813 + LD="${LD-ld} -m elf32ppclinux"
7.3814 + ;;
7.3815 + s390x-*linux*)
7.3816 + LD="${LD-ld} -m elf_s390"
7.3817 + ;;
7.3818 + sparc64-*linux*)
7.3819 + LD="${LD-ld} -m elf32_sparc"
7.3820 + ;;
7.3821 + esac
7.3822 + ;;
7.3823 + *64-bit*)
7.3824 + case $host in
7.3825 + x86_64-*linux*)
7.3826 + LD="${LD-ld} -m elf_x86_64"
7.3827 + ;;
7.3828 + ppc*-*linux*|powerpc*-*linux*)
7.3829 + LD="${LD-ld} -m elf64ppc"
7.3830 + ;;
7.3831 + s390*-*linux*)
7.3832 + LD="${LD-ld} -m elf64_s390"
7.3833 + ;;
7.3834 + sparc*-*linux*)
7.3835 + LD="${LD-ld} -m elf64_sparc"
7.3836 + ;;
7.3837 + esac
7.3838 + ;;
7.3839 + esac
7.3840 + fi
7.3841 + rm -rf conftest*
7.3842 + ;;
7.3843 +
7.3844 +*-*-sco3.2v5*)
7.3845 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7.3846 + SAVE_CFLAGS="$CFLAGS"
7.3847 + CFLAGS="$CFLAGS -belf"
7.3848 + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7.3849 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
7.3850 +if test "${lt_cv_cc_needs_belf+set}" = set; then
7.3851 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.3852 +else
7.3853 + ac_ext=c
7.3854 +ac_cpp='$CPP $CPPFLAGS'
7.3855 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.3856 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.3857 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.3858 +
7.3859 + cat >conftest.$ac_ext <<_ACEOF
7.3860 +/* confdefs.h. */
7.3861 +_ACEOF
7.3862 +cat confdefs.h >>conftest.$ac_ext
7.3863 +cat >>conftest.$ac_ext <<_ACEOF
7.3864 +/* end confdefs.h. */
7.3865 +
7.3866 +int
7.3867 +main ()
7.3868 +{
7.3869 +
7.3870 + ;
7.3871 + return 0;
7.3872 +}
7.3873 +_ACEOF
7.3874 +rm -f conftest.$ac_objext conftest$ac_exeext
7.3875 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.3876 + (eval $ac_link) 2>conftest.er1
7.3877 + ac_status=$?
7.3878 + grep -v '^ *+' conftest.er1 >conftest.err
7.3879 + rm -f conftest.er1
7.3880 + cat conftest.err >&5
7.3881 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3882 + (exit $ac_status); } &&
7.3883 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.3884 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.3885 + (eval $ac_try) 2>&5
7.3886 + ac_status=$?
7.3887 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3888 + (exit $ac_status); }; } &&
7.3889 + { ac_try='test -s conftest$ac_exeext'
7.3890 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.3891 + (eval $ac_try) 2>&5
7.3892 + ac_status=$?
7.3893 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3894 + (exit $ac_status); }; }; then
7.3895 + lt_cv_cc_needs_belf=yes
7.3896 +else
7.3897 + echo "$as_me: failed program was:" >&5
7.3898 +sed 's/^/| /' conftest.$ac_ext >&5
7.3899 +
7.3900 +lt_cv_cc_needs_belf=no
7.3901 +fi
7.3902 +rm -f conftest.err conftest.$ac_objext \
7.3903 + conftest$ac_exeext conftest.$ac_ext
7.3904 + ac_ext=c
7.3905 +ac_cpp='$CPP $CPPFLAGS'
7.3906 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.3907 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.3908 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.3909 +
7.3910 +fi
7.3911 +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7.3912 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7.3913 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7.3914 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7.3915 + CFLAGS="$SAVE_CFLAGS"
7.3916 + fi
7.3917 + ;;
7.3918 +
7.3919 +esac
7.3920 +
7.3921 +need_locks="$enable_libtool_lock"
7.3922 +
7.3923 +
7.3924 +ac_ext=c
7.3925 +ac_cpp='$CPP $CPPFLAGS'
7.3926 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.3927 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.3928 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.3929 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7.3930 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
7.3931 +# On Suns, sometimes $CPP names a directory.
7.3932 +if test -n "$CPP" && test -d "$CPP"; then
7.3933 + CPP=
7.3934 +fi
7.3935 +if test -z "$CPP"; then
7.3936 + if test "${ac_cv_prog_CPP+set}" = set; then
7.3937 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.3938 +else
7.3939 + # Double quotes because CPP needs to be expanded
7.3940 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7.3941 + do
7.3942 + ac_preproc_ok=false
7.3943 +for ac_c_preproc_warn_flag in '' yes
7.3944 +do
7.3945 + # Use a header file that comes with gcc, so configuring glibc
7.3946 + # with a fresh cross-compiler works.
7.3947 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.3948 + # <limits.h> exists even on freestanding compilers.
7.3949 + # On the NeXT, cc -E runs the code through the compiler's parser,
7.3950 + # not just through cpp. "Syntax error" is here to catch this case.
7.3951 + cat >conftest.$ac_ext <<_ACEOF
7.3952 +/* confdefs.h. */
7.3953 +_ACEOF
7.3954 +cat confdefs.h >>conftest.$ac_ext
7.3955 +cat >>conftest.$ac_ext <<_ACEOF
7.3956 +/* end confdefs.h. */
7.3957 +@%:@ifdef __STDC__
7.3958 +@%:@ include <limits.h>
7.3959 +@%:@else
7.3960 +@%:@ include <assert.h>
7.3961 +@%:@endif
7.3962 + Syntax error
7.3963 +_ACEOF
7.3964 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.3965 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.3966 + ac_status=$?
7.3967 + grep -v '^ *+' conftest.er1 >conftest.err
7.3968 + rm -f conftest.er1
7.3969 + cat conftest.err >&5
7.3970 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.3971 + (exit $ac_status); } >/dev/null; then
7.3972 + if test -s conftest.err; then
7.3973 + ac_cpp_err=$ac_c_preproc_warn_flag
7.3974 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7.3975 + else
7.3976 + ac_cpp_err=
7.3977 + fi
7.3978 +else
7.3979 + ac_cpp_err=yes
7.3980 +fi
7.3981 +if test -z "$ac_cpp_err"; then
7.3982 + :
7.3983 +else
7.3984 + echo "$as_me: failed program was:" >&5
7.3985 +sed 's/^/| /' conftest.$ac_ext >&5
7.3986 +
7.3987 + # Broken: fails on valid input.
7.3988 +continue
7.3989 +fi
7.3990 +rm -f conftest.err conftest.$ac_ext
7.3991 +
7.3992 + # OK, works on sane cases. Now check whether non-existent headers
7.3993 + # can be detected and how.
7.3994 + cat >conftest.$ac_ext <<_ACEOF
7.3995 +/* confdefs.h. */
7.3996 +_ACEOF
7.3997 +cat confdefs.h >>conftest.$ac_ext
7.3998 +cat >>conftest.$ac_ext <<_ACEOF
7.3999 +/* end confdefs.h. */
7.4000 +@%:@include <ac_nonexistent.h>
7.4001 +_ACEOF
7.4002 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.4003 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.4004 + ac_status=$?
7.4005 + grep -v '^ *+' conftest.er1 >conftest.err
7.4006 + rm -f conftest.er1
7.4007 + cat conftest.err >&5
7.4008 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4009 + (exit $ac_status); } >/dev/null; then
7.4010 + if test -s conftest.err; then
7.4011 + ac_cpp_err=$ac_c_preproc_warn_flag
7.4012 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7.4013 + else
7.4014 + ac_cpp_err=
7.4015 + fi
7.4016 +else
7.4017 + ac_cpp_err=yes
7.4018 +fi
7.4019 +if test -z "$ac_cpp_err"; then
7.4020 + # Broken: success on invalid input.
7.4021 +continue
7.4022 +else
7.4023 + echo "$as_me: failed program was:" >&5
7.4024 +sed 's/^/| /' conftest.$ac_ext >&5
7.4025 +
7.4026 + # Passes both tests.
7.4027 +ac_preproc_ok=:
7.4028 +break
7.4029 +fi
7.4030 +rm -f conftest.err conftest.$ac_ext
7.4031 +
7.4032 +done
7.4033 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7.4034 +rm -f conftest.err conftest.$ac_ext
7.4035 +if $ac_preproc_ok; then
7.4036 + break
7.4037 +fi
7.4038 +
7.4039 + done
7.4040 + ac_cv_prog_CPP=$CPP
7.4041 +
7.4042 +fi
7.4043 + CPP=$ac_cv_prog_CPP
7.4044 +else
7.4045 + ac_cv_prog_CPP=$CPP
7.4046 +fi
7.4047 +echo "$as_me:$LINENO: result: $CPP" >&5
7.4048 +echo "${ECHO_T}$CPP" >&6
7.4049 +ac_preproc_ok=false
7.4050 +for ac_c_preproc_warn_flag in '' yes
7.4051 +do
7.4052 + # Use a header file that comes with gcc, so configuring glibc
7.4053 + # with a fresh cross-compiler works.
7.4054 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.4055 + # <limits.h> exists even on freestanding compilers.
7.4056 + # On the NeXT, cc -E runs the code through the compiler's parser,
7.4057 + # not just through cpp. "Syntax error" is here to catch this case.
7.4058 + cat >conftest.$ac_ext <<_ACEOF
7.4059 +/* confdefs.h. */
7.4060 +_ACEOF
7.4061 +cat confdefs.h >>conftest.$ac_ext
7.4062 +cat >>conftest.$ac_ext <<_ACEOF
7.4063 +/* end confdefs.h. */
7.4064 +@%:@ifdef __STDC__
7.4065 +@%:@ include <limits.h>
7.4066 +@%:@else
7.4067 +@%:@ include <assert.h>
7.4068 +@%:@endif
7.4069 + Syntax error
7.4070 +_ACEOF
7.4071 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.4072 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.4073 + ac_status=$?
7.4074 + grep -v '^ *+' conftest.er1 >conftest.err
7.4075 + rm -f conftest.er1
7.4076 + cat conftest.err >&5
7.4077 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4078 + (exit $ac_status); } >/dev/null; then
7.4079 + if test -s conftest.err; then
7.4080 + ac_cpp_err=$ac_c_preproc_warn_flag
7.4081 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7.4082 + else
7.4083 + ac_cpp_err=
7.4084 + fi
7.4085 +else
7.4086 + ac_cpp_err=yes
7.4087 +fi
7.4088 +if test -z "$ac_cpp_err"; then
7.4089 + :
7.4090 +else
7.4091 + echo "$as_me: failed program was:" >&5
7.4092 +sed 's/^/| /' conftest.$ac_ext >&5
7.4093 +
7.4094 + # Broken: fails on valid input.
7.4095 +continue
7.4096 +fi
7.4097 +rm -f conftest.err conftest.$ac_ext
7.4098 +
7.4099 + # OK, works on sane cases. Now check whether non-existent headers
7.4100 + # can be detected and how.
7.4101 + cat >conftest.$ac_ext <<_ACEOF
7.4102 +/* confdefs.h. */
7.4103 +_ACEOF
7.4104 +cat confdefs.h >>conftest.$ac_ext
7.4105 +cat >>conftest.$ac_ext <<_ACEOF
7.4106 +/* end confdefs.h. */
7.4107 +@%:@include <ac_nonexistent.h>
7.4108 +_ACEOF
7.4109 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.4110 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.4111 + ac_status=$?
7.4112 + grep -v '^ *+' conftest.er1 >conftest.err
7.4113 + rm -f conftest.er1
7.4114 + cat conftest.err >&5
7.4115 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4116 + (exit $ac_status); } >/dev/null; then
7.4117 + if test -s conftest.err; then
7.4118 + ac_cpp_err=$ac_c_preproc_warn_flag
7.4119 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7.4120 + else
7.4121 + ac_cpp_err=
7.4122 + fi
7.4123 +else
7.4124 + ac_cpp_err=yes
7.4125 +fi
7.4126 +if test -z "$ac_cpp_err"; then
7.4127 + # Broken: success on invalid input.
7.4128 +continue
7.4129 +else
7.4130 + echo "$as_me: failed program was:" >&5
7.4131 +sed 's/^/| /' conftest.$ac_ext >&5
7.4132 +
7.4133 + # Passes both tests.
7.4134 +ac_preproc_ok=:
7.4135 +break
7.4136 +fi
7.4137 +rm -f conftest.err conftest.$ac_ext
7.4138 +
7.4139 +done
7.4140 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7.4141 +rm -f conftest.err conftest.$ac_ext
7.4142 +if $ac_preproc_ok; then
7.4143 + :
7.4144 +else
7.4145 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7.4146 +See \`config.log' for more details." >&5
7.4147 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7.4148 +See \`config.log' for more details." >&2;}
7.4149 + { (exit 1); exit 1; }; }
7.4150 +fi
7.4151 +
7.4152 +ac_ext=c
7.4153 +ac_cpp='$CPP $CPPFLAGS'
7.4154 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.4155 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.4156 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.4157 +
7.4158 +
7.4159 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7.4160 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7.4161 +if test "${ac_cv_header_stdc+set}" = set; then
7.4162 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.4163 +else
7.4164 + cat >conftest.$ac_ext <<_ACEOF
7.4165 +/* confdefs.h. */
7.4166 +_ACEOF
7.4167 +cat confdefs.h >>conftest.$ac_ext
7.4168 +cat >>conftest.$ac_ext <<_ACEOF
7.4169 +/* end confdefs.h. */
7.4170 +#include <stdlib.h>
7.4171 +#include <stdarg.h>
7.4172 +#include <string.h>
7.4173 +#include <float.h>
7.4174 +
7.4175 +int
7.4176 +main ()
7.4177 +{
7.4178 +
7.4179 + ;
7.4180 + return 0;
7.4181 +}
7.4182 +_ACEOF
7.4183 +rm -f conftest.$ac_objext
7.4184 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.4185 + (eval $ac_compile) 2>conftest.er1
7.4186 + ac_status=$?
7.4187 + grep -v '^ *+' conftest.er1 >conftest.err
7.4188 + rm -f conftest.er1
7.4189 + cat conftest.err >&5
7.4190 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4191 + (exit $ac_status); } &&
7.4192 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.4193 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4194 + (eval $ac_try) 2>&5
7.4195 + ac_status=$?
7.4196 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4197 + (exit $ac_status); }; } &&
7.4198 + { ac_try='test -s conftest.$ac_objext'
7.4199 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4200 + (eval $ac_try) 2>&5
7.4201 + ac_status=$?
7.4202 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4203 + (exit $ac_status); }; }; then
7.4204 + ac_cv_header_stdc=yes
7.4205 +else
7.4206 + echo "$as_me: failed program was:" >&5
7.4207 +sed 's/^/| /' conftest.$ac_ext >&5
7.4208 +
7.4209 +ac_cv_header_stdc=no
7.4210 +fi
7.4211 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.4212 +
7.4213 +if test $ac_cv_header_stdc = yes; then
7.4214 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7.4215 + cat >conftest.$ac_ext <<_ACEOF
7.4216 +/* confdefs.h. */
7.4217 +_ACEOF
7.4218 +cat confdefs.h >>conftest.$ac_ext
7.4219 +cat >>conftest.$ac_ext <<_ACEOF
7.4220 +/* end confdefs.h. */
7.4221 +#include <string.h>
7.4222 +
7.4223 +_ACEOF
7.4224 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7.4225 + $EGREP "memchr" >/dev/null 2>&1; then
7.4226 + :
7.4227 +else
7.4228 + ac_cv_header_stdc=no
7.4229 +fi
7.4230 +rm -f conftest*
7.4231 +
7.4232 +fi
7.4233 +
7.4234 +if test $ac_cv_header_stdc = yes; then
7.4235 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7.4236 + cat >conftest.$ac_ext <<_ACEOF
7.4237 +/* confdefs.h. */
7.4238 +_ACEOF
7.4239 +cat confdefs.h >>conftest.$ac_ext
7.4240 +cat >>conftest.$ac_ext <<_ACEOF
7.4241 +/* end confdefs.h. */
7.4242 +#include <stdlib.h>
7.4243 +
7.4244 +_ACEOF
7.4245 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7.4246 + $EGREP "free" >/dev/null 2>&1; then
7.4247 + :
7.4248 +else
7.4249 + ac_cv_header_stdc=no
7.4250 +fi
7.4251 +rm -f conftest*
7.4252 +
7.4253 +fi
7.4254 +
7.4255 +if test $ac_cv_header_stdc = yes; then
7.4256 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7.4257 + if test "$cross_compiling" = yes; then
7.4258 + :
7.4259 +else
7.4260 + cat >conftest.$ac_ext <<_ACEOF
7.4261 +/* confdefs.h. */
7.4262 +_ACEOF
7.4263 +cat confdefs.h >>conftest.$ac_ext
7.4264 +cat >>conftest.$ac_ext <<_ACEOF
7.4265 +/* end confdefs.h. */
7.4266 +#include <ctype.h>
7.4267 +#if ((' ' & 0x0FF) == 0x020)
7.4268 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7.4269 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7.4270 +#else
7.4271 +# define ISLOWER(c) \
7.4272 + (('a' <= (c) && (c) <= 'i') \
7.4273 + || ('j' <= (c) && (c) <= 'r') \
7.4274 + || ('s' <= (c) && (c) <= 'z'))
7.4275 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7.4276 +#endif
7.4277 +
7.4278 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7.4279 +int
7.4280 +main ()
7.4281 +{
7.4282 + int i;
7.4283 + for (i = 0; i < 256; i++)
7.4284 + if (XOR (islower (i), ISLOWER (i))
7.4285 + || toupper (i) != TOUPPER (i))
7.4286 + exit(2);
7.4287 + exit (0);
7.4288 +}
7.4289 +_ACEOF
7.4290 +rm -f conftest$ac_exeext
7.4291 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.4292 + (eval $ac_link) 2>&5
7.4293 + ac_status=$?
7.4294 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4295 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7.4296 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4297 + (eval $ac_try) 2>&5
7.4298 + ac_status=$?
7.4299 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4300 + (exit $ac_status); }; }; then
7.4301 + :
7.4302 +else
7.4303 + echo "$as_me: program exited with status $ac_status" >&5
7.4304 +echo "$as_me: failed program was:" >&5
7.4305 +sed 's/^/| /' conftest.$ac_ext >&5
7.4306 +
7.4307 +( exit $ac_status )
7.4308 +ac_cv_header_stdc=no
7.4309 +fi
7.4310 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7.4311 +fi
7.4312 +fi
7.4313 +fi
7.4314 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7.4315 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
7.4316 +if test $ac_cv_header_stdc = yes; then
7.4317 +
7.4318 +cat >>confdefs.h <<\_ACEOF
7.4319 +@%:@define STDC_HEADERS 1
7.4320 +_ACEOF
7.4321 +
7.4322 +fi
7.4323 +
7.4324 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7.4325 +
7.4326 +
7.4327 +
7.4328 +
7.4329 +
7.4330 +
7.4331 +
7.4332 +
7.4333 +
7.4334 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7.4335 + inttypes.h stdint.h unistd.h
7.4336 +do
7.4337 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7.4338 +echo "$as_me:$LINENO: checking for $ac_header" >&5
7.4339 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7.4340 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7.4341 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.4342 +else
7.4343 + cat >conftest.$ac_ext <<_ACEOF
7.4344 +/* confdefs.h. */
7.4345 +_ACEOF
7.4346 +cat confdefs.h >>conftest.$ac_ext
7.4347 +cat >>conftest.$ac_ext <<_ACEOF
7.4348 +/* end confdefs.h. */
7.4349 +$ac_includes_default
7.4350 +
7.4351 +@%:@include <$ac_header>
7.4352 +_ACEOF
7.4353 +rm -f conftest.$ac_objext
7.4354 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.4355 + (eval $ac_compile) 2>conftest.er1
7.4356 + ac_status=$?
7.4357 + grep -v '^ *+' conftest.er1 >conftest.err
7.4358 + rm -f conftest.er1
7.4359 + cat conftest.err >&5
7.4360 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4361 + (exit $ac_status); } &&
7.4362 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.4363 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4364 + (eval $ac_try) 2>&5
7.4365 + ac_status=$?
7.4366 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4367 + (exit $ac_status); }; } &&
7.4368 + { ac_try='test -s conftest.$ac_objext'
7.4369 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4370 + (eval $ac_try) 2>&5
7.4371 + ac_status=$?
7.4372 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4373 + (exit $ac_status); }; }; then
7.4374 + eval "$as_ac_Header=yes"
7.4375 +else
7.4376 + echo "$as_me: failed program was:" >&5
7.4377 +sed 's/^/| /' conftest.$ac_ext >&5
7.4378 +
7.4379 +eval "$as_ac_Header=no"
7.4380 +fi
7.4381 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.4382 +fi
7.4383 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7.4384 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7.4385 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
7.4386 + cat >>confdefs.h <<_ACEOF
7.4387 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7.4388 +_ACEOF
7.4389 +
7.4390 +fi
7.4391 +
7.4392 +done
7.4393 +
7.4394 +
7.4395 +
7.4396 +for ac_header in dlfcn.h
7.4397 +do
7.4398 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7.4399 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7.4400 + echo "$as_me:$LINENO: checking for $ac_header" >&5
7.4401 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7.4402 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7.4403 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.4404 +fi
7.4405 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7.4406 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7.4407 +else
7.4408 + # Is the header compilable?
7.4409 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
7.4410 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7.4411 +cat >conftest.$ac_ext <<_ACEOF
7.4412 +/* confdefs.h. */
7.4413 +_ACEOF
7.4414 +cat confdefs.h >>conftest.$ac_ext
7.4415 +cat >>conftest.$ac_ext <<_ACEOF
7.4416 +/* end confdefs.h. */
7.4417 +$ac_includes_default
7.4418 +@%:@include <$ac_header>
7.4419 +_ACEOF
7.4420 +rm -f conftest.$ac_objext
7.4421 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.4422 + (eval $ac_compile) 2>conftest.er1
7.4423 + ac_status=$?
7.4424 + grep -v '^ *+' conftest.er1 >conftest.err
7.4425 + rm -f conftest.er1
7.4426 + cat conftest.err >&5
7.4427 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4428 + (exit $ac_status); } &&
7.4429 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.4430 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4431 + (eval $ac_try) 2>&5
7.4432 + ac_status=$?
7.4433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4434 + (exit $ac_status); }; } &&
7.4435 + { ac_try='test -s conftest.$ac_objext'
7.4436 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4437 + (eval $ac_try) 2>&5
7.4438 + ac_status=$?
7.4439 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4440 + (exit $ac_status); }; }; then
7.4441 + ac_header_compiler=yes
7.4442 +else
7.4443 + echo "$as_me: failed program was:" >&5
7.4444 +sed 's/^/| /' conftest.$ac_ext >&5
7.4445 +
7.4446 +ac_header_compiler=no
7.4447 +fi
7.4448 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.4449 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7.4450 +echo "${ECHO_T}$ac_header_compiler" >&6
7.4451 +
7.4452 +# Is the header present?
7.4453 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
7.4454 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7.4455 +cat >conftest.$ac_ext <<_ACEOF
7.4456 +/* confdefs.h. */
7.4457 +_ACEOF
7.4458 +cat confdefs.h >>conftest.$ac_ext
7.4459 +cat >>conftest.$ac_ext <<_ACEOF
7.4460 +/* end confdefs.h. */
7.4461 +@%:@include <$ac_header>
7.4462 +_ACEOF
7.4463 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.4464 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.4465 + ac_status=$?
7.4466 + grep -v '^ *+' conftest.er1 >conftest.err
7.4467 + rm -f conftest.er1
7.4468 + cat conftest.err >&5
7.4469 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4470 + (exit $ac_status); } >/dev/null; then
7.4471 + if test -s conftest.err; then
7.4472 + ac_cpp_err=$ac_c_preproc_warn_flag
7.4473 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7.4474 + else
7.4475 + ac_cpp_err=
7.4476 + fi
7.4477 +else
7.4478 + ac_cpp_err=yes
7.4479 +fi
7.4480 +if test -z "$ac_cpp_err"; then
7.4481 + ac_header_preproc=yes
7.4482 +else
7.4483 + echo "$as_me: failed program was:" >&5
7.4484 +sed 's/^/| /' conftest.$ac_ext >&5
7.4485 +
7.4486 + ac_header_preproc=no
7.4487 +fi
7.4488 +rm -f conftest.err conftest.$ac_ext
7.4489 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7.4490 +echo "${ECHO_T}$ac_header_preproc" >&6
7.4491 +
7.4492 +# So? What about this header?
7.4493 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7.4494 + yes:no: )
7.4495 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7.4496 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7.4497 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7.4498 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7.4499 + ac_header_preproc=yes
7.4500 + ;;
7.4501 + no:yes:* )
7.4502 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7.4503 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7.4504 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7.4505 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7.4506 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7.4507 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7.4508 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7.4509 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7.4510 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7.4511 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7.4512 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7.4513 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7.4514 + (
7.4515 + cat <<\_ASBOX
7.4516 +@%:@@%:@ ------------------------------------------ @%:@@%:@
7.4517 +@%:@@%:@ Report this to the AC_PACKAGE_NAME lists. @%:@@%:@
7.4518 +@%:@@%:@ ------------------------------------------ @%:@@%:@
7.4519 +_ASBOX
7.4520 + ) |
7.4521 + sed "s/^/$as_me: WARNING: /" >&2
7.4522 + ;;
7.4523 +esac
7.4524 +echo "$as_me:$LINENO: checking for $ac_header" >&5
7.4525 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7.4526 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7.4527 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.4528 +else
7.4529 + eval "$as_ac_Header=\$ac_header_preproc"
7.4530 +fi
7.4531 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7.4532 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7.4533 +
7.4534 +fi
7.4535 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
7.4536 + cat >>confdefs.h <<_ACEOF
7.4537 +@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7.4538 +_ACEOF
7.4539 +
7.4540 +fi
7.4541 +
7.4542 +done
7.4543 +
7.4544 +ac_ext=cc
7.4545 +ac_cpp='$CXXCPP $CPPFLAGS'
7.4546 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.4547 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.4548 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7.4549 +if test -n "$ac_tool_prefix"; then
7.4550 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7.4551 + do
7.4552 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7.4553 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7.4554 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.4555 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.4556 +if test "${ac_cv_prog_CXX+set}" = set; then
7.4557 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.4558 +else
7.4559 + if test -n "$CXX"; then
7.4560 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
7.4561 +else
7.4562 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.4563 +for as_dir in $PATH
7.4564 +do
7.4565 + IFS=$as_save_IFS
7.4566 + test -z "$as_dir" && as_dir=.
7.4567 + for ac_exec_ext in '' $ac_executable_extensions; do
7.4568 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.4569 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7.4570 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.4571 + break 2
7.4572 + fi
7.4573 +done
7.4574 +done
7.4575 +
7.4576 +fi
7.4577 +fi
7.4578 +CXX=$ac_cv_prog_CXX
7.4579 +if test -n "$CXX"; then
7.4580 + echo "$as_me:$LINENO: result: $CXX" >&5
7.4581 +echo "${ECHO_T}$CXX" >&6
7.4582 +else
7.4583 + echo "$as_me:$LINENO: result: no" >&5
7.4584 +echo "${ECHO_T}no" >&6
7.4585 +fi
7.4586 +
7.4587 + test -n "$CXX" && break
7.4588 + done
7.4589 +fi
7.4590 +if test -z "$CXX"; then
7.4591 + ac_ct_CXX=$CXX
7.4592 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7.4593 +do
7.4594 + # Extract the first word of "$ac_prog", so it can be a program name with args.
7.4595 +set dummy $ac_prog; ac_word=$2
7.4596 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.4597 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.4598 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7.4599 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.4600 +else
7.4601 + if test -n "$ac_ct_CXX"; then
7.4602 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7.4603 +else
7.4604 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.4605 +for as_dir in $PATH
7.4606 +do
7.4607 + IFS=$as_save_IFS
7.4608 + test -z "$as_dir" && as_dir=.
7.4609 + for ac_exec_ext in '' $ac_executable_extensions; do
7.4610 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.4611 + ac_cv_prog_ac_ct_CXX="$ac_prog"
7.4612 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.4613 + break 2
7.4614 + fi
7.4615 +done
7.4616 +done
7.4617 +
7.4618 +fi
7.4619 +fi
7.4620 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7.4621 +if test -n "$ac_ct_CXX"; then
7.4622 + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7.4623 +echo "${ECHO_T}$ac_ct_CXX" >&6
7.4624 +else
7.4625 + echo "$as_me:$LINENO: result: no" >&5
7.4626 +echo "${ECHO_T}no" >&6
7.4627 +fi
7.4628 +
7.4629 + test -n "$ac_ct_CXX" && break
7.4630 +done
7.4631 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7.4632 +
7.4633 + CXX=$ac_ct_CXX
7.4634 +fi
7.4635 +
7.4636 +
7.4637 +# Provide some information about the compiler.
7.4638 +echo "$as_me:$LINENO:" \
7.4639 + "checking for C++ compiler version" >&5
7.4640 +ac_compiler=`set X $ac_compile; echo $2`
7.4641 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7.4642 + (eval $ac_compiler --version </dev/null >&5) 2>&5
7.4643 + ac_status=$?
7.4644 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4645 + (exit $ac_status); }
7.4646 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7.4647 + (eval $ac_compiler -v </dev/null >&5) 2>&5
7.4648 + ac_status=$?
7.4649 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4650 + (exit $ac_status); }
7.4651 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7.4652 + (eval $ac_compiler -V </dev/null >&5) 2>&5
7.4653 + ac_status=$?
7.4654 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4655 + (exit $ac_status); }
7.4656 +
7.4657 +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7.4658 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7.4659 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7.4660 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.4661 +else
7.4662 + cat >conftest.$ac_ext <<_ACEOF
7.4663 +/* confdefs.h. */
7.4664 +_ACEOF
7.4665 +cat confdefs.h >>conftest.$ac_ext
7.4666 +cat >>conftest.$ac_ext <<_ACEOF
7.4667 +/* end confdefs.h. */
7.4668 +
7.4669 +int
7.4670 +main ()
7.4671 +{
7.4672 +#ifndef __GNUC__
7.4673 + choke me
7.4674 +#endif
7.4675 +
7.4676 + ;
7.4677 + return 0;
7.4678 +}
7.4679 +_ACEOF
7.4680 +rm -f conftest.$ac_objext
7.4681 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.4682 + (eval $ac_compile) 2>conftest.er1
7.4683 + ac_status=$?
7.4684 + grep -v '^ *+' conftest.er1 >conftest.err
7.4685 + rm -f conftest.er1
7.4686 + cat conftest.err >&5
7.4687 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4688 + (exit $ac_status); } &&
7.4689 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.4690 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4691 + (eval $ac_try) 2>&5
7.4692 + ac_status=$?
7.4693 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4694 + (exit $ac_status); }; } &&
7.4695 + { ac_try='test -s conftest.$ac_objext'
7.4696 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4697 + (eval $ac_try) 2>&5
7.4698 + ac_status=$?
7.4699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4700 + (exit $ac_status); }; }; then
7.4701 + ac_compiler_gnu=yes
7.4702 +else
7.4703 + echo "$as_me: failed program was:" >&5
7.4704 +sed 's/^/| /' conftest.$ac_ext >&5
7.4705 +
7.4706 +ac_compiler_gnu=no
7.4707 +fi
7.4708 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.4709 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7.4710 +
7.4711 +fi
7.4712 +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7.4713 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7.4714 +GXX=`test $ac_compiler_gnu = yes && echo yes`
7.4715 +ac_test_CXXFLAGS=${CXXFLAGS+set}
7.4716 +ac_save_CXXFLAGS=$CXXFLAGS
7.4717 +CXXFLAGS="-g"
7.4718 +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7.4719 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7.4720 +if test "${ac_cv_prog_cxx_g+set}" = set; then
7.4721 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.4722 +else
7.4723 + cat >conftest.$ac_ext <<_ACEOF
7.4724 +/* confdefs.h. */
7.4725 +_ACEOF
7.4726 +cat confdefs.h >>conftest.$ac_ext
7.4727 +cat >>conftest.$ac_ext <<_ACEOF
7.4728 +/* end confdefs.h. */
7.4729 +
7.4730 +int
7.4731 +main ()
7.4732 +{
7.4733 +
7.4734 + ;
7.4735 + return 0;
7.4736 +}
7.4737 +_ACEOF
7.4738 +rm -f conftest.$ac_objext
7.4739 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.4740 + (eval $ac_compile) 2>conftest.er1
7.4741 + ac_status=$?
7.4742 + grep -v '^ *+' conftest.er1 >conftest.err
7.4743 + rm -f conftest.er1
7.4744 + cat conftest.err >&5
7.4745 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4746 + (exit $ac_status); } &&
7.4747 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.4748 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4749 + (eval $ac_try) 2>&5
7.4750 + ac_status=$?
7.4751 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4752 + (exit $ac_status); }; } &&
7.4753 + { ac_try='test -s conftest.$ac_objext'
7.4754 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4755 + (eval $ac_try) 2>&5
7.4756 + ac_status=$?
7.4757 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4758 + (exit $ac_status); }; }; then
7.4759 + ac_cv_prog_cxx_g=yes
7.4760 +else
7.4761 + echo "$as_me: failed program was:" >&5
7.4762 +sed 's/^/| /' conftest.$ac_ext >&5
7.4763 +
7.4764 +ac_cv_prog_cxx_g=no
7.4765 +fi
7.4766 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.4767 +fi
7.4768 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7.4769 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7.4770 +if test "$ac_test_CXXFLAGS" = set; then
7.4771 + CXXFLAGS=$ac_save_CXXFLAGS
7.4772 +elif test $ac_cv_prog_cxx_g = yes; then
7.4773 + if test "$GXX" = yes; then
7.4774 + CXXFLAGS="-g -O2"
7.4775 + else
7.4776 + CXXFLAGS="-g"
7.4777 + fi
7.4778 +else
7.4779 + if test "$GXX" = yes; then
7.4780 + CXXFLAGS="-O2"
7.4781 + else
7.4782 + CXXFLAGS=
7.4783 + fi
7.4784 +fi
7.4785 +for ac_declaration in \
7.4786 + '' \
7.4787 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
7.4788 + 'extern "C" void std::exit (int); using std::exit;' \
7.4789 + 'extern "C" void exit (int) throw ();' \
7.4790 + 'extern "C" void exit (int);' \
7.4791 + 'void exit (int);'
7.4792 +do
7.4793 + cat >conftest.$ac_ext <<_ACEOF
7.4794 +/* confdefs.h. */
7.4795 +_ACEOF
7.4796 +cat confdefs.h >>conftest.$ac_ext
7.4797 +cat >>conftest.$ac_ext <<_ACEOF
7.4798 +/* end confdefs.h. */
7.4799 +$ac_declaration
7.4800 +@%:@include <stdlib.h>
7.4801 +int
7.4802 +main ()
7.4803 +{
7.4804 +exit (42);
7.4805 + ;
7.4806 + return 0;
7.4807 +}
7.4808 +_ACEOF
7.4809 +rm -f conftest.$ac_objext
7.4810 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.4811 + (eval $ac_compile) 2>conftest.er1
7.4812 + ac_status=$?
7.4813 + grep -v '^ *+' conftest.er1 >conftest.err
7.4814 + rm -f conftest.er1
7.4815 + cat conftest.err >&5
7.4816 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4817 + (exit $ac_status); } &&
7.4818 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.4819 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4820 + (eval $ac_try) 2>&5
7.4821 + ac_status=$?
7.4822 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4823 + (exit $ac_status); }; } &&
7.4824 + { ac_try='test -s conftest.$ac_objext'
7.4825 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4826 + (eval $ac_try) 2>&5
7.4827 + ac_status=$?
7.4828 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4829 + (exit $ac_status); }; }; then
7.4830 + :
7.4831 +else
7.4832 + echo "$as_me: failed program was:" >&5
7.4833 +sed 's/^/| /' conftest.$ac_ext >&5
7.4834 +
7.4835 +continue
7.4836 +fi
7.4837 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.4838 + cat >conftest.$ac_ext <<_ACEOF
7.4839 +/* confdefs.h. */
7.4840 +_ACEOF
7.4841 +cat confdefs.h >>conftest.$ac_ext
7.4842 +cat >>conftest.$ac_ext <<_ACEOF
7.4843 +/* end confdefs.h. */
7.4844 +$ac_declaration
7.4845 +int
7.4846 +main ()
7.4847 +{
7.4848 +exit (42);
7.4849 + ;
7.4850 + return 0;
7.4851 +}
7.4852 +_ACEOF
7.4853 +rm -f conftest.$ac_objext
7.4854 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.4855 + (eval $ac_compile) 2>conftest.er1
7.4856 + ac_status=$?
7.4857 + grep -v '^ *+' conftest.er1 >conftest.err
7.4858 + rm -f conftest.er1
7.4859 + cat conftest.err >&5
7.4860 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4861 + (exit $ac_status); } &&
7.4862 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.4863 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4864 + (eval $ac_try) 2>&5
7.4865 + ac_status=$?
7.4866 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4867 + (exit $ac_status); }; } &&
7.4868 + { ac_try='test -s conftest.$ac_objext'
7.4869 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.4870 + (eval $ac_try) 2>&5
7.4871 + ac_status=$?
7.4872 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.4873 + (exit $ac_status); }; }; then
7.4874 + break
7.4875 +else
7.4876 + echo "$as_me: failed program was:" >&5
7.4877 +sed 's/^/| /' conftest.$ac_ext >&5
7.4878 +
7.4879 +fi
7.4880 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.4881 +done
7.4882 +rm -f conftest*
7.4883 +if test -n "$ac_declaration"; then
7.4884 + echo '#ifdef __cplusplus' >>confdefs.h
7.4885 + echo $ac_declaration >>confdefs.h
7.4886 + echo '#endif' >>confdefs.h
7.4887 +fi
7.4888 +
7.4889 +ac_ext=cc
7.4890 +ac_cpp='$CXXCPP $CPPFLAGS'
7.4891 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.4892 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.4893 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7.4894 +
7.4895 +depcc="$CXX" am_compiler_list=
7.4896 +
7.4897 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7.4898 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7.4899 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7.4900 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.4901 +else
7.4902 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7.4903 + # We make a subdir and do the tests there. Otherwise we can end up
7.4904 + # making bogus files that we don't know about and never remove. For
7.4905 + # instance it was reported that on HP-UX the gcc test will end up
7.4906 + # making a dummy file named `D' -- because `-MD' means `put the output
7.4907 + # in D'.
7.4908 + mkdir conftest.dir
7.4909 + # Copy depcomp to subdir because otherwise we won't find it if we're
7.4910 + # using a relative directory.
7.4911 + cp "$am_depcomp" conftest.dir
7.4912 + cd conftest.dir
7.4913 + # We will build objects and dependencies in a subdirectory because
7.4914 + # it helps to detect inapplicable dependency modes. For instance
7.4915 + # both Tru64's cc and ICC support -MD to output dependencies as a
7.4916 + # side effect of compilation, but ICC will put the dependencies in
7.4917 + # the current directory while Tru64 will put them in the object
7.4918 + # directory.
7.4919 + mkdir sub
7.4920 +
7.4921 + am_cv_CXX_dependencies_compiler_type=none
7.4922 + if test "$am_compiler_list" = ""; then
7.4923 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7.4924 + fi
7.4925 + for depmode in $am_compiler_list; do
7.4926 + # Setup a source with many dependencies, because some compilers
7.4927 + # like to wrap large dependency lists on column 80 (with \), and
7.4928 + # we should not choose a depcomp mode which is confused by this.
7.4929 + #
7.4930 + # We need to recreate these files for each test, as the compiler may
7.4931 + # overwrite some of them when testing with obscure command lines.
7.4932 + # This happens at least with the AIX C compiler.
7.4933 + : > sub/conftest.c
7.4934 + for i in 1 2 3 4 5 6; do
7.4935 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
7.4936 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7.4937 + # Solaris 8's {/usr,}/bin/sh.
7.4938 + touch sub/conftst$i.h
7.4939 + done
7.4940 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7.4941 +
7.4942 + case $depmode in
7.4943 + nosideeffect)
7.4944 + # after this tag, mechanisms are not by side-effect, so they'll
7.4945 + # only be used when explicitly requested
7.4946 + if test "x$enable_dependency_tracking" = xyes; then
7.4947 + continue
7.4948 + else
7.4949 + break
7.4950 + fi
7.4951 + ;;
7.4952 + none) break ;;
7.4953 + esac
7.4954 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
7.4955 + # mode. It turns out that the SunPro C++ compiler does not properly
7.4956 + # handle `-M -o', and we need to detect this.
7.4957 + if depmode=$depmode \
7.4958 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7.4959 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7.4960 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7.4961 + >/dev/null 2>conftest.err &&
7.4962 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7.4963 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7.4964 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7.4965 + # icc doesn't choke on unknown options, it will just issue warnings
7.4966 + # or remarks (even with -Werror). So we grep stderr for any message
7.4967 + # that says an option was ignored or not supported.
7.4968 + # When given -MP, icc 7.0 and 7.1 complain thusly:
7.4969 + # icc: Command line warning: ignoring option '-M'; no argument required
7.4970 + # The diagnosis changed in icc 8.0:
7.4971 + # icc: Command line remark: option '-MP' not supported
7.4972 + if (grep 'ignoring option' conftest.err ||
7.4973 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7.4974 + am_cv_CXX_dependencies_compiler_type=$depmode
7.4975 + break
7.4976 + fi
7.4977 + fi
7.4978 + done
7.4979 +
7.4980 + cd ..
7.4981 + rm -rf conftest.dir
7.4982 +else
7.4983 + am_cv_CXX_dependencies_compiler_type=none
7.4984 +fi
7.4985 +
7.4986 +fi
7.4987 +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7.4988 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7.4989 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7.4990 +
7.4991 +
7.4992 +
7.4993 +if
7.4994 + test "x$enable_dependency_tracking" != xno \
7.4995 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7.4996 + am__fastdepCXX_TRUE=
7.4997 + am__fastdepCXX_FALSE='#'
7.4998 +else
7.4999 + am__fastdepCXX_TRUE='#'
7.5000 + am__fastdepCXX_FALSE=
7.5001 +fi
7.5002 +
7.5003 +
7.5004 +
7.5005 +
7.5006 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7.5007 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7.5008 + (test "X$CXX" != "Xg++"))) ; then
7.5009 + ac_ext=cc
7.5010 +ac_cpp='$CXXCPP $CPPFLAGS'
7.5011 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.5012 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.5013 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7.5014 +echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7.5015 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7.5016 +if test -z "$CXXCPP"; then
7.5017 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
7.5018 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5019 +else
7.5020 + # Double quotes because CXXCPP needs to be expanded
7.5021 + for CXXCPP in "$CXX -E" "/lib/cpp"
7.5022 + do
7.5023 + ac_preproc_ok=false
7.5024 +for ac_cxx_preproc_warn_flag in '' yes
7.5025 +do
7.5026 + # Use a header file that comes with gcc, so configuring glibc
7.5027 + # with a fresh cross-compiler works.
7.5028 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.5029 + # <limits.h> exists even on freestanding compilers.
7.5030 + # On the NeXT, cc -E runs the code through the compiler's parser,
7.5031 + # not just through cpp. "Syntax error" is here to catch this case.
7.5032 + cat >conftest.$ac_ext <<_ACEOF
7.5033 +/* confdefs.h. */
7.5034 +_ACEOF
7.5035 +cat confdefs.h >>conftest.$ac_ext
7.5036 +cat >>conftest.$ac_ext <<_ACEOF
7.5037 +/* end confdefs.h. */
7.5038 +@%:@ifdef __STDC__
7.5039 +@%:@ include <limits.h>
7.5040 +@%:@else
7.5041 +@%:@ include <assert.h>
7.5042 +@%:@endif
7.5043 + Syntax error
7.5044 +_ACEOF
7.5045 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.5046 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.5047 + ac_status=$?
7.5048 + grep -v '^ *+' conftest.er1 >conftest.err
7.5049 + rm -f conftest.er1
7.5050 + cat conftest.err >&5
7.5051 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5052 + (exit $ac_status); } >/dev/null; then
7.5053 + if test -s conftest.err; then
7.5054 + ac_cpp_err=$ac_cxx_preproc_warn_flag
7.5055 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7.5056 + else
7.5057 + ac_cpp_err=
7.5058 + fi
7.5059 +else
7.5060 + ac_cpp_err=yes
7.5061 +fi
7.5062 +if test -z "$ac_cpp_err"; then
7.5063 + :
7.5064 +else
7.5065 + echo "$as_me: failed program was:" >&5
7.5066 +sed 's/^/| /' conftest.$ac_ext >&5
7.5067 +
7.5068 + # Broken: fails on valid input.
7.5069 +continue
7.5070 +fi
7.5071 +rm -f conftest.err conftest.$ac_ext
7.5072 +
7.5073 + # OK, works on sane cases. Now check whether non-existent headers
7.5074 + # can be detected and how.
7.5075 + cat >conftest.$ac_ext <<_ACEOF
7.5076 +/* confdefs.h. */
7.5077 +_ACEOF
7.5078 +cat confdefs.h >>conftest.$ac_ext
7.5079 +cat >>conftest.$ac_ext <<_ACEOF
7.5080 +/* end confdefs.h. */
7.5081 +@%:@include <ac_nonexistent.h>
7.5082 +_ACEOF
7.5083 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.5084 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.5085 + ac_status=$?
7.5086 + grep -v '^ *+' conftest.er1 >conftest.err
7.5087 + rm -f conftest.er1
7.5088 + cat conftest.err >&5
7.5089 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5090 + (exit $ac_status); } >/dev/null; then
7.5091 + if test -s conftest.err; then
7.5092 + ac_cpp_err=$ac_cxx_preproc_warn_flag
7.5093 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7.5094 + else
7.5095 + ac_cpp_err=
7.5096 + fi
7.5097 +else
7.5098 + ac_cpp_err=yes
7.5099 +fi
7.5100 +if test -z "$ac_cpp_err"; then
7.5101 + # Broken: success on invalid input.
7.5102 +continue
7.5103 +else
7.5104 + echo "$as_me: failed program was:" >&5
7.5105 +sed 's/^/| /' conftest.$ac_ext >&5
7.5106 +
7.5107 + # Passes both tests.
7.5108 +ac_preproc_ok=:
7.5109 +break
7.5110 +fi
7.5111 +rm -f conftest.err conftest.$ac_ext
7.5112 +
7.5113 +done
7.5114 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7.5115 +rm -f conftest.err conftest.$ac_ext
7.5116 +if $ac_preproc_ok; then
7.5117 + break
7.5118 +fi
7.5119 +
7.5120 + done
7.5121 + ac_cv_prog_CXXCPP=$CXXCPP
7.5122 +
7.5123 +fi
7.5124 + CXXCPP=$ac_cv_prog_CXXCPP
7.5125 +else
7.5126 + ac_cv_prog_CXXCPP=$CXXCPP
7.5127 +fi
7.5128 +echo "$as_me:$LINENO: result: $CXXCPP" >&5
7.5129 +echo "${ECHO_T}$CXXCPP" >&6
7.5130 +ac_preproc_ok=false
7.5131 +for ac_cxx_preproc_warn_flag in '' yes
7.5132 +do
7.5133 + # Use a header file that comes with gcc, so configuring glibc
7.5134 + # with a fresh cross-compiler works.
7.5135 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.5136 + # <limits.h> exists even on freestanding compilers.
7.5137 + # On the NeXT, cc -E runs the code through the compiler's parser,
7.5138 + # not just through cpp. "Syntax error" is here to catch this case.
7.5139 + cat >conftest.$ac_ext <<_ACEOF
7.5140 +/* confdefs.h. */
7.5141 +_ACEOF
7.5142 +cat confdefs.h >>conftest.$ac_ext
7.5143 +cat >>conftest.$ac_ext <<_ACEOF
7.5144 +/* end confdefs.h. */
7.5145 +@%:@ifdef __STDC__
7.5146 +@%:@ include <limits.h>
7.5147 +@%:@else
7.5148 +@%:@ include <assert.h>
7.5149 +@%:@endif
7.5150 + Syntax error
7.5151 +_ACEOF
7.5152 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.5153 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.5154 + ac_status=$?
7.5155 + grep -v '^ *+' conftest.er1 >conftest.err
7.5156 + rm -f conftest.er1
7.5157 + cat conftest.err >&5
7.5158 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5159 + (exit $ac_status); } >/dev/null; then
7.5160 + if test -s conftest.err; then
7.5161 + ac_cpp_err=$ac_cxx_preproc_warn_flag
7.5162 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7.5163 + else
7.5164 + ac_cpp_err=
7.5165 + fi
7.5166 +else
7.5167 + ac_cpp_err=yes
7.5168 +fi
7.5169 +if test -z "$ac_cpp_err"; then
7.5170 + :
7.5171 +else
7.5172 + echo "$as_me: failed program was:" >&5
7.5173 +sed 's/^/| /' conftest.$ac_ext >&5
7.5174 +
7.5175 + # Broken: fails on valid input.
7.5176 +continue
7.5177 +fi
7.5178 +rm -f conftest.err conftest.$ac_ext
7.5179 +
7.5180 + # OK, works on sane cases. Now check whether non-existent headers
7.5181 + # can be detected and how.
7.5182 + cat >conftest.$ac_ext <<_ACEOF
7.5183 +/* confdefs.h. */
7.5184 +_ACEOF
7.5185 +cat confdefs.h >>conftest.$ac_ext
7.5186 +cat >>conftest.$ac_ext <<_ACEOF
7.5187 +/* end confdefs.h. */
7.5188 +@%:@include <ac_nonexistent.h>
7.5189 +_ACEOF
7.5190 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.5191 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.5192 + ac_status=$?
7.5193 + grep -v '^ *+' conftest.er1 >conftest.err
7.5194 + rm -f conftest.er1
7.5195 + cat conftest.err >&5
7.5196 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5197 + (exit $ac_status); } >/dev/null; then
7.5198 + if test -s conftest.err; then
7.5199 + ac_cpp_err=$ac_cxx_preproc_warn_flag
7.5200 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7.5201 + else
7.5202 + ac_cpp_err=
7.5203 + fi
7.5204 +else
7.5205 + ac_cpp_err=yes
7.5206 +fi
7.5207 +if test -z "$ac_cpp_err"; then
7.5208 + # Broken: success on invalid input.
7.5209 +continue
7.5210 +else
7.5211 + echo "$as_me: failed program was:" >&5
7.5212 +sed 's/^/| /' conftest.$ac_ext >&5
7.5213 +
7.5214 + # Passes both tests.
7.5215 +ac_preproc_ok=:
7.5216 +break
7.5217 +fi
7.5218 +rm -f conftest.err conftest.$ac_ext
7.5219 +
7.5220 +done
7.5221 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7.5222 +rm -f conftest.err conftest.$ac_ext
7.5223 +if $ac_preproc_ok; then
7.5224 + :
7.5225 +else
7.5226 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7.5227 +See \`config.log' for more details." >&5
7.5228 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7.5229 +See \`config.log' for more details." >&2;}
7.5230 + { (exit 1); exit 1; }; }
7.5231 +fi
7.5232 +
7.5233 +ac_ext=cc
7.5234 +ac_cpp='$CXXCPP $CPPFLAGS'
7.5235 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.5236 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.5237 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7.5238 +
7.5239 +fi
7.5240 +
7.5241 +
7.5242 +ac_ext=f
7.5243 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7.5244 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.5245 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7.5246 +if test -n "$ac_tool_prefix"; then
7.5247 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7.5248 + do
7.5249 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7.5250 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7.5251 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.5252 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.5253 +if test "${ac_cv_prog_F77+set}" = set; then
7.5254 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5255 +else
7.5256 + if test -n "$F77"; then
7.5257 + ac_cv_prog_F77="$F77" # Let the user override the test.
7.5258 +else
7.5259 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.5260 +for as_dir in $PATH
7.5261 +do
7.5262 + IFS=$as_save_IFS
7.5263 + test -z "$as_dir" && as_dir=.
7.5264 + for ac_exec_ext in '' $ac_executable_extensions; do
7.5265 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.5266 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7.5267 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.5268 + break 2
7.5269 + fi
7.5270 +done
7.5271 +done
7.5272 +
7.5273 +fi
7.5274 +fi
7.5275 +F77=$ac_cv_prog_F77
7.5276 +if test -n "$F77"; then
7.5277 + echo "$as_me:$LINENO: result: $F77" >&5
7.5278 +echo "${ECHO_T}$F77" >&6
7.5279 +else
7.5280 + echo "$as_me:$LINENO: result: no" >&5
7.5281 +echo "${ECHO_T}no" >&6
7.5282 +fi
7.5283 +
7.5284 + test -n "$F77" && break
7.5285 + done
7.5286 +fi
7.5287 +if test -z "$F77"; then
7.5288 + ac_ct_F77=$F77
7.5289 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7.5290 +do
7.5291 + # Extract the first word of "$ac_prog", so it can be a program name with args.
7.5292 +set dummy $ac_prog; ac_word=$2
7.5293 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.5294 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.5295 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7.5296 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5297 +else
7.5298 + if test -n "$ac_ct_F77"; then
7.5299 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7.5300 +else
7.5301 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.5302 +for as_dir in $PATH
7.5303 +do
7.5304 + IFS=$as_save_IFS
7.5305 + test -z "$as_dir" && as_dir=.
7.5306 + for ac_exec_ext in '' $ac_executable_extensions; do
7.5307 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.5308 + ac_cv_prog_ac_ct_F77="$ac_prog"
7.5309 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.5310 + break 2
7.5311 + fi
7.5312 +done
7.5313 +done
7.5314 +
7.5315 +fi
7.5316 +fi
7.5317 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
7.5318 +if test -n "$ac_ct_F77"; then
7.5319 + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7.5320 +echo "${ECHO_T}$ac_ct_F77" >&6
7.5321 +else
7.5322 + echo "$as_me:$LINENO: result: no" >&5
7.5323 +echo "${ECHO_T}no" >&6
7.5324 +fi
7.5325 +
7.5326 + test -n "$ac_ct_F77" && break
7.5327 +done
7.5328 +
7.5329 + F77=$ac_ct_F77
7.5330 +fi
7.5331 +
7.5332 +
7.5333 +# Provide some information about the compiler.
7.5334 +echo "$as_me:__oline__:" \
7.5335 + "checking for Fortran 77 compiler version" >&5
7.5336 +ac_compiler=`set X $ac_compile; echo $2`
7.5337 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7.5338 + (eval $ac_compiler --version </dev/null >&5) 2>&5
7.5339 + ac_status=$?
7.5340 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5341 + (exit $ac_status); }
7.5342 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7.5343 + (eval $ac_compiler -v </dev/null >&5) 2>&5
7.5344 + ac_status=$?
7.5345 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5346 + (exit $ac_status); }
7.5347 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7.5348 + (eval $ac_compiler -V </dev/null >&5) 2>&5
7.5349 + ac_status=$?
7.5350 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5351 + (exit $ac_status); }
7.5352 +rm -f a.out
7.5353 +
7.5354 +# If we don't use `.F' as extension, the preprocessor is not run on the
7.5355 +# input file. (Note that this only needs to work for GNU compilers.)
7.5356 +ac_save_ext=$ac_ext
7.5357 +ac_ext=F
7.5358 +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7.5359 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
7.5360 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7.5361 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5362 +else
7.5363 + cat >conftest.$ac_ext <<_ACEOF
7.5364 + program main
7.5365 +#ifndef __GNUC__
7.5366 + choke me
7.5367 +#endif
7.5368 +
7.5369 + end
7.5370 +_ACEOF
7.5371 +rm -f conftest.$ac_objext
7.5372 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.5373 + (eval $ac_compile) 2>conftest.er1
7.5374 + ac_status=$?
7.5375 + grep -v '^ *+' conftest.er1 >conftest.err
7.5376 + rm -f conftest.er1
7.5377 + cat conftest.err >&5
7.5378 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5379 + (exit $ac_status); } &&
7.5380 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
7.5381 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.5382 + (eval $ac_try) 2>&5
7.5383 + ac_status=$?
7.5384 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5385 + (exit $ac_status); }; } &&
7.5386 + { ac_try='test -s conftest.$ac_objext'
7.5387 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.5388 + (eval $ac_try) 2>&5
7.5389 + ac_status=$?
7.5390 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5391 + (exit $ac_status); }; }; then
7.5392 + ac_compiler_gnu=yes
7.5393 +else
7.5394 + echo "$as_me: failed program was:" >&5
7.5395 +sed 's/^/| /' conftest.$ac_ext >&5
7.5396 +
7.5397 +ac_compiler_gnu=no
7.5398 +fi
7.5399 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.5400 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7.5401 +
7.5402 +fi
7.5403 +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7.5404 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
7.5405 +ac_ext=$ac_save_ext
7.5406 +ac_test_FFLAGS=${FFLAGS+set}
7.5407 +ac_save_FFLAGS=$FFLAGS
7.5408 +FFLAGS=
7.5409 +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7.5410 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
7.5411 +if test "${ac_cv_prog_f77_g+set}" = set; then
7.5412 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5413 +else
7.5414 + FFLAGS=-g
7.5415 +cat >conftest.$ac_ext <<_ACEOF
7.5416 + program main
7.5417 +
7.5418 + end
7.5419 +_ACEOF
7.5420 +rm -f conftest.$ac_objext
7.5421 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.5422 + (eval $ac_compile) 2>conftest.er1
7.5423 + ac_status=$?
7.5424 + grep -v '^ *+' conftest.er1 >conftest.err
7.5425 + rm -f conftest.er1
7.5426 + cat conftest.err >&5
7.5427 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5428 + (exit $ac_status); } &&
7.5429 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
7.5430 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.5431 + (eval $ac_try) 2>&5
7.5432 + ac_status=$?
7.5433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5434 + (exit $ac_status); }; } &&
7.5435 + { ac_try='test -s conftest.$ac_objext'
7.5436 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.5437 + (eval $ac_try) 2>&5
7.5438 + ac_status=$?
7.5439 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5440 + (exit $ac_status); }; }; then
7.5441 + ac_cv_prog_f77_g=yes
7.5442 +else
7.5443 + echo "$as_me: failed program was:" >&5
7.5444 +sed 's/^/| /' conftest.$ac_ext >&5
7.5445 +
7.5446 +ac_cv_prog_f77_g=no
7.5447 +fi
7.5448 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.5449 +
7.5450 +fi
7.5451 +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7.5452 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
7.5453 +if test "$ac_test_FFLAGS" = set; then
7.5454 + FFLAGS=$ac_save_FFLAGS
7.5455 +elif test $ac_cv_prog_f77_g = yes; then
7.5456 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7.5457 + FFLAGS="-g -O2"
7.5458 + else
7.5459 + FFLAGS="-g"
7.5460 + fi
7.5461 +else
7.5462 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7.5463 + FFLAGS="-O2"
7.5464 + else
7.5465 + FFLAGS=
7.5466 + fi
7.5467 +fi
7.5468 +
7.5469 +G77=`test $ac_compiler_gnu = yes && echo yes`
7.5470 +ac_ext=c
7.5471 +ac_cpp='$CPP $CPPFLAGS'
7.5472 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.5473 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.5474 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.5475 +
7.5476 +
7.5477 +
7.5478 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7.5479 +
7.5480 +# find the maximum length of command line arguments
7.5481 +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7.5482 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
7.5483 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7.5484 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5485 +else
7.5486 + i=0
7.5487 + teststring="ABCD"
7.5488 +
7.5489 + case $build_os in
7.5490 + msdosdjgpp*)
7.5491 + # On DJGPP, this test can blow up pretty badly due to problems in libc
7.5492 + # (any single argument exceeding 2000 bytes causes a buffer overrun
7.5493 + # during glob expansion). Even if it were fixed, the result of this
7.5494 + # check would be larger than it should be.
7.5495 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
7.5496 + ;;
7.5497 +
7.5498 + gnu*)
7.5499 + # Under GNU Hurd, this test is not required because there is
7.5500 + # no limit to the length of command line arguments.
7.5501 + # Libtool will interpret -1 as no limit whatsoever
7.5502 + lt_cv_sys_max_cmd_len=-1;
7.5503 + ;;
7.5504 +
7.5505 + cygwin* | mingw*)
7.5506 + # On Win9x/ME, this test blows up -- it succeeds, but takes
7.5507 + # about 5 minutes as the teststring grows exponentially.
7.5508 + # Worse, since 9x/ME are not pre-emptively multitasking,
7.5509 + # you end up with a "frozen" computer, even though with patience
7.5510 + # the test eventually succeeds (with a max line length of 256k).
7.5511 + # Instead, let's just punt: use the minimum linelength reported by
7.5512 + # all of the supported platforms: 8192 (on NT/2K/XP).
7.5513 + lt_cv_sys_max_cmd_len=8192;
7.5514 + ;;
7.5515 +
7.5516 + amigaos*)
7.5517 + # On AmigaOS with pdksh, this test takes hours, literally.
7.5518 + # So we just punt and use a minimum line length of 8192.
7.5519 + lt_cv_sys_max_cmd_len=8192;
7.5520 + ;;
7.5521 +
7.5522 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7.5523 + # This has been around since 386BSD, at least. Likely further.
7.5524 + if test -x /sbin/sysctl; then
7.5525 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7.5526 + elif test -x /usr/sbin/sysctl; then
7.5527 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7.5528 + else
7.5529 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7.5530 + fi
7.5531 + # And add a safety zone
7.5532 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7.5533 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7.5534 + ;;
7.5535 + osf*)
7.5536 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7.5537 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7.5538 + # nice to cause kernel panics so lets avoid the loop below.
7.5539 + # First set a reasonable default.
7.5540 + lt_cv_sys_max_cmd_len=16384
7.5541 + #
7.5542 + if test -x /sbin/sysconfig; then
7.5543 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7.5544 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
7.5545 + esac
7.5546 + fi
7.5547 + ;;
7.5548 + *)
7.5549 + # If test is not a shell built-in, we'll probably end up computing a
7.5550 + # maximum length that is only half of the actual maximum length, but
7.5551 + # we can't tell.
7.5552 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7.5553 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7.5554 + = "XX$teststring") >/dev/null 2>&1 &&
7.5555 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
7.5556 + lt_cv_sys_max_cmd_len=$new_result &&
7.5557 + test $i != 17 # 1/2 MB should be enough
7.5558 + do
7.5559 + i=`expr $i + 1`
7.5560 + teststring=$teststring$teststring
7.5561 + done
7.5562 + teststring=
7.5563 + # Add a significant safety factor because C++ compilers can tack on massive
7.5564 + # amounts of additional arguments before passing them to the linker.
7.5565 + # It appears as though 1/2 is a usable value.
7.5566 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7.5567 + ;;
7.5568 + esac
7.5569 +
7.5570 +fi
7.5571 +
7.5572 +if test -n $lt_cv_sys_max_cmd_len ; then
7.5573 + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7.5574 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
7.5575 +else
7.5576 + echo "$as_me:$LINENO: result: none" >&5
7.5577 +echo "${ECHO_T}none" >&6
7.5578 +fi
7.5579 +
7.5580 +
7.5581 +
7.5582 +
7.5583 +# Check for command to grab the raw symbol name followed by C symbol from nm.
7.5584 +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7.5585 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
7.5586 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7.5587 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5588 +else
7.5589 +
7.5590 +# These are sane defaults that work on at least a few old systems.
7.5591 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7.5592 +
7.5593 +# Character class describing NM global symbol codes.
7.5594 +symcode='[BCDEGRST]'
7.5595 +
7.5596 +# Regexp to match symbols that can be accessed directly from C.
7.5597 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7.5598 +
7.5599 +# Transform an extracted symbol line into a proper C declaration
7.5600 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7.5601 +
7.5602 +# Transform an extracted symbol line into symbol name and symbol address
7.5603 +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'"
7.5604 +
7.5605 +# Define system-specific variables.
7.5606 +case $host_os in
7.5607 +aix*)
7.5608 + symcode='[BCDT]'
7.5609 + ;;
7.5610 +cygwin* | mingw* | pw32*)
7.5611 + symcode='[ABCDGISTW]'
7.5612 + ;;
7.5613 +hpux*) # Its linker distinguishes data from code symbols
7.5614 + if test "$host_cpu" = ia64; then
7.5615 + symcode='[ABCDEGRST]'
7.5616 + fi
7.5617 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7.5618 + 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'"
7.5619 + ;;
7.5620 +linux*)
7.5621 + if test "$host_cpu" = ia64; then
7.5622 + symcode='[ABCDGIRSTW]'
7.5623 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7.5624 + 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'"
7.5625 + fi
7.5626 + ;;
7.5627 +irix* | nonstopux*)
7.5628 + symcode='[BCDEGRST]'
7.5629 + ;;
7.5630 +osf*)
7.5631 + symcode='[BCDEGQRST]'
7.5632 + ;;
7.5633 +solaris* | sysv5*)
7.5634 + symcode='[BDRT]'
7.5635 + ;;
7.5636 +sysv4)
7.5637 + symcode='[DFNSTU]'
7.5638 + ;;
7.5639 +esac
7.5640 +
7.5641 +# Handle CRLF in mingw tool chain
7.5642 +opt_cr=
7.5643 +case $build_os in
7.5644 +mingw*)
7.5645 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7.5646 + ;;
7.5647 +esac
7.5648 +
7.5649 +# If we're using GNU nm, then use its standard symbol codes.
7.5650 +case `$NM -V 2>&1` in
7.5651 +*GNU* | *'with BFD'*)
7.5652 + symcode='[ABCDGIRSTW]' ;;
7.5653 +esac
7.5654 +
7.5655 +# Try without a prefix undercore, then with it.
7.5656 +for ac_symprfx in "" "_"; do
7.5657 +
7.5658 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7.5659 + symxfrm="\\1 $ac_symprfx\\2 \\2"
7.5660 +
7.5661 + # Write the raw and C identifiers.
7.5662 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7.5663 +
7.5664 + # Check to see that the pipe works correctly.
7.5665 + pipe_works=no
7.5666 +
7.5667 + rm -f conftest*
7.5668 + cat > conftest.$ac_ext <<EOF
7.5669 +#ifdef __cplusplus
7.5670 +extern "C" {
7.5671 +#endif
7.5672 +char nm_test_var;
7.5673 +void nm_test_func(){}
7.5674 +#ifdef __cplusplus
7.5675 +}
7.5676 +#endif
7.5677 +int main(){nm_test_var='a';nm_test_func();return(0);}
7.5678 +EOF
7.5679 +
7.5680 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.5681 + (eval $ac_compile) 2>&5
7.5682 + ac_status=$?
7.5683 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5684 + (exit $ac_status); }; then
7.5685 + # Now try to grab the symbols.
7.5686 + nlist=conftest.nm
7.5687 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7.5688 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7.5689 + ac_status=$?
7.5690 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5691 + (exit $ac_status); } && test -s "$nlist"; then
7.5692 + # Try sorting and uniquifying the output.
7.5693 + if sort "$nlist" | uniq > "$nlist"T; then
7.5694 + mv -f "$nlist"T "$nlist"
7.5695 + else
7.5696 + rm -f "$nlist"T
7.5697 + fi
7.5698 +
7.5699 + # Make sure that we snagged all the symbols we need.
7.5700 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
7.5701 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
7.5702 + cat <<EOF > conftest.$ac_ext
7.5703 +#ifdef __cplusplus
7.5704 +extern "C" {
7.5705 +#endif
7.5706 +
7.5707 +EOF
7.5708 + # Now generate the symbol file.
7.5709 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7.5710 +
7.5711 + cat <<EOF >> conftest.$ac_ext
7.5712 +#if defined (__STDC__) && __STDC__
7.5713 +# define lt_ptr_t void *
7.5714 +#else
7.5715 +# define lt_ptr_t char *
7.5716 +# define const
7.5717 +#endif
7.5718 +
7.5719 +/* The mapping between symbol names and symbols. */
7.5720 +const struct {
7.5721 + const char *name;
7.5722 + lt_ptr_t address;
7.5723 +}
7.5724 +lt_preloaded_symbols[] =
7.5725 +{
7.5726 +EOF
7.5727 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7.5728 + cat <<\EOF >> conftest.$ac_ext
7.5729 + {0, (lt_ptr_t) 0}
7.5730 +};
7.5731 +
7.5732 +#ifdef __cplusplus
7.5733 +}
7.5734 +#endif
7.5735 +EOF
7.5736 + # Now try linking the two files.
7.5737 + mv conftest.$ac_objext conftstm.$ac_objext
7.5738 + lt_save_LIBS="$LIBS"
7.5739 + lt_save_CFLAGS="$CFLAGS"
7.5740 + LIBS="conftstm.$ac_objext"
7.5741 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7.5742 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.5743 + (eval $ac_link) 2>&5
7.5744 + ac_status=$?
7.5745 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.5746 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
7.5747 + pipe_works=yes
7.5748 + fi
7.5749 + LIBS="$lt_save_LIBS"
7.5750 + CFLAGS="$lt_save_CFLAGS"
7.5751 + else
7.5752 + echo "cannot find nm_test_func in $nlist" >&5
7.5753 + fi
7.5754 + else
7.5755 + echo "cannot find nm_test_var in $nlist" >&5
7.5756 + fi
7.5757 + else
7.5758 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7.5759 + fi
7.5760 + else
7.5761 + echo "$progname: failed program was:" >&5
7.5762 + cat conftest.$ac_ext >&5
7.5763 + fi
7.5764 + rm -f conftest* conftst*
7.5765 +
7.5766 + # Do not use the global_symbol_pipe unless it works.
7.5767 + if test "$pipe_works" = yes; then
7.5768 + break
7.5769 + else
7.5770 + lt_cv_sys_global_symbol_pipe=
7.5771 + fi
7.5772 +done
7.5773 +
7.5774 +fi
7.5775 +
7.5776 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
7.5777 + lt_cv_sys_global_symbol_to_cdecl=
7.5778 +fi
7.5779 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7.5780 + echo "$as_me:$LINENO: result: failed" >&5
7.5781 +echo "${ECHO_T}failed" >&6
7.5782 +else
7.5783 + echo "$as_me:$LINENO: result: ok" >&5
7.5784 +echo "${ECHO_T}ok" >&6
7.5785 +fi
7.5786 +
7.5787 +echo "$as_me:$LINENO: checking for objdir" >&5
7.5788 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7.5789 +if test "${lt_cv_objdir+set}" = set; then
7.5790 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5791 +else
7.5792 + rm -f .libs 2>/dev/null
7.5793 +mkdir .libs 2>/dev/null
7.5794 +if test -d .libs; then
7.5795 + lt_cv_objdir=.libs
7.5796 +else
7.5797 + # MS-DOS does not allow filenames that begin with a dot.
7.5798 + lt_cv_objdir=_libs
7.5799 +fi
7.5800 +rmdir .libs 2>/dev/null
7.5801 +fi
7.5802 +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7.5803 +echo "${ECHO_T}$lt_cv_objdir" >&6
7.5804 +objdir=$lt_cv_objdir
7.5805 +
7.5806 +
7.5807 +
7.5808 +
7.5809 +
7.5810 +case $host_os in
7.5811 +aix3*)
7.5812 + # AIX sometimes has problems with the GCC collect2 program. For some
7.5813 + # reason, if we set the COLLECT_NAMES environment variable, the problems
7.5814 + # vanish in a puff of smoke.
7.5815 + if test "X${COLLECT_NAMES+set}" != Xset; then
7.5816 + COLLECT_NAMES=
7.5817 + export COLLECT_NAMES
7.5818 + fi
7.5819 + ;;
7.5820 +esac
7.5821 +
7.5822 +# Sed substitution that helps us do robust quoting. It backslashifies
7.5823 +# metacharacters that are still active within double-quoted strings.
7.5824 +Xsed='sed -e 1s/^X//'
7.5825 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7.5826 +
7.5827 +# Same as above, but do not quote variable references.
7.5828 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7.5829 +
7.5830 +# Sed substitution to delay expansion of an escaped shell variable in a
7.5831 +# double_quote_subst'ed string.
7.5832 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7.5833 +
7.5834 +# Sed substitution to avoid accidental globbing in evaled expressions
7.5835 +no_glob_subst='s/\*/\\\*/g'
7.5836 +
7.5837 +# Constants:
7.5838 +rm="rm -f"
7.5839 +
7.5840 +# Global variables:
7.5841 +default_ofile=libtool
7.5842 +can_build_shared=yes
7.5843 +
7.5844 +# All known linkers require a `.a' archive for static linking (except MSVC,
7.5845 +# which needs '.lib').
7.5846 +libext=a
7.5847 +ltmain="$ac_aux_dir/ltmain.sh"
7.5848 +ofile="$default_ofile"
7.5849 +with_gnu_ld="$lt_cv_prog_gnu_ld"
7.5850 +
7.5851 +if test -n "$ac_tool_prefix"; then
7.5852 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7.5853 +set dummy ${ac_tool_prefix}ar; ac_word=$2
7.5854 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.5855 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.5856 +if test "${ac_cv_prog_AR+set}" = set; then
7.5857 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5858 +else
7.5859 + if test -n "$AR"; then
7.5860 + ac_cv_prog_AR="$AR" # Let the user override the test.
7.5861 +else
7.5862 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.5863 +for as_dir in $PATH
7.5864 +do
7.5865 + IFS=$as_save_IFS
7.5866 + test -z "$as_dir" && as_dir=.
7.5867 + for ac_exec_ext in '' $ac_executable_extensions; do
7.5868 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.5869 + ac_cv_prog_AR="${ac_tool_prefix}ar"
7.5870 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.5871 + break 2
7.5872 + fi
7.5873 +done
7.5874 +done
7.5875 +
7.5876 +fi
7.5877 +fi
7.5878 +AR=$ac_cv_prog_AR
7.5879 +if test -n "$AR"; then
7.5880 + echo "$as_me:$LINENO: result: $AR" >&5
7.5881 +echo "${ECHO_T}$AR" >&6
7.5882 +else
7.5883 + echo "$as_me:$LINENO: result: no" >&5
7.5884 +echo "${ECHO_T}no" >&6
7.5885 +fi
7.5886 +
7.5887 +fi
7.5888 +if test -z "$ac_cv_prog_AR"; then
7.5889 + ac_ct_AR=$AR
7.5890 + # Extract the first word of "ar", so it can be a program name with args.
7.5891 +set dummy ar; ac_word=$2
7.5892 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.5893 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.5894 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7.5895 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5896 +else
7.5897 + if test -n "$ac_ct_AR"; then
7.5898 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7.5899 +else
7.5900 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.5901 +for as_dir in $PATH
7.5902 +do
7.5903 + IFS=$as_save_IFS
7.5904 + test -z "$as_dir" && as_dir=.
7.5905 + for ac_exec_ext in '' $ac_executable_extensions; do
7.5906 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.5907 + ac_cv_prog_ac_ct_AR="ar"
7.5908 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.5909 + break 2
7.5910 + fi
7.5911 +done
7.5912 +done
7.5913 +
7.5914 + test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
7.5915 +fi
7.5916 +fi
7.5917 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
7.5918 +if test -n "$ac_ct_AR"; then
7.5919 + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7.5920 +echo "${ECHO_T}$ac_ct_AR" >&6
7.5921 +else
7.5922 + echo "$as_me:$LINENO: result: no" >&5
7.5923 +echo "${ECHO_T}no" >&6
7.5924 +fi
7.5925 +
7.5926 + AR=$ac_ct_AR
7.5927 +else
7.5928 + AR="$ac_cv_prog_AR"
7.5929 +fi
7.5930 +
7.5931 +if test -n "$ac_tool_prefix"; then
7.5932 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7.5933 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7.5934 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.5935 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.5936 +if test "${ac_cv_prog_RANLIB+set}" = set; then
7.5937 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5938 +else
7.5939 + if test -n "$RANLIB"; then
7.5940 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7.5941 +else
7.5942 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.5943 +for as_dir in $PATH
7.5944 +do
7.5945 + IFS=$as_save_IFS
7.5946 + test -z "$as_dir" && as_dir=.
7.5947 + for ac_exec_ext in '' $ac_executable_extensions; do
7.5948 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.5949 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7.5950 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.5951 + break 2
7.5952 + fi
7.5953 +done
7.5954 +done
7.5955 +
7.5956 +fi
7.5957 +fi
7.5958 +RANLIB=$ac_cv_prog_RANLIB
7.5959 +if test -n "$RANLIB"; then
7.5960 + echo "$as_me:$LINENO: result: $RANLIB" >&5
7.5961 +echo "${ECHO_T}$RANLIB" >&6
7.5962 +else
7.5963 + echo "$as_me:$LINENO: result: no" >&5
7.5964 +echo "${ECHO_T}no" >&6
7.5965 +fi
7.5966 +
7.5967 +fi
7.5968 +if test -z "$ac_cv_prog_RANLIB"; then
7.5969 + ac_ct_RANLIB=$RANLIB
7.5970 + # Extract the first word of "ranlib", so it can be a program name with args.
7.5971 +set dummy ranlib; ac_word=$2
7.5972 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.5973 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.5974 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7.5975 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.5976 +else
7.5977 + if test -n "$ac_ct_RANLIB"; then
7.5978 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7.5979 +else
7.5980 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.5981 +for as_dir in $PATH
7.5982 +do
7.5983 + IFS=$as_save_IFS
7.5984 + test -z "$as_dir" && as_dir=.
7.5985 + for ac_exec_ext in '' $ac_executable_extensions; do
7.5986 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.5987 + ac_cv_prog_ac_ct_RANLIB="ranlib"
7.5988 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.5989 + break 2
7.5990 + fi
7.5991 +done
7.5992 +done
7.5993 +
7.5994 + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7.5995 +fi
7.5996 +fi
7.5997 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7.5998 +if test -n "$ac_ct_RANLIB"; then
7.5999 + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7.6000 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
7.6001 +else
7.6002 + echo "$as_me:$LINENO: result: no" >&5
7.6003 +echo "${ECHO_T}no" >&6
7.6004 +fi
7.6005 +
7.6006 + RANLIB=$ac_ct_RANLIB
7.6007 +else
7.6008 + RANLIB="$ac_cv_prog_RANLIB"
7.6009 +fi
7.6010 +
7.6011 +if test -n "$ac_tool_prefix"; then
7.6012 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7.6013 +set dummy ${ac_tool_prefix}strip; ac_word=$2
7.6014 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.6015 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.6016 +if test "${ac_cv_prog_STRIP+set}" = set; then
7.6017 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.6018 +else
7.6019 + if test -n "$STRIP"; then
7.6020 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7.6021 +else
7.6022 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.6023 +for as_dir in $PATH
7.6024 +do
7.6025 + IFS=$as_save_IFS
7.6026 + test -z "$as_dir" && as_dir=.
7.6027 + for ac_exec_ext in '' $ac_executable_extensions; do
7.6028 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.6029 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7.6030 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.6031 + break 2
7.6032 + fi
7.6033 +done
7.6034 +done
7.6035 +
7.6036 +fi
7.6037 +fi
7.6038 +STRIP=$ac_cv_prog_STRIP
7.6039 +if test -n "$STRIP"; then
7.6040 + echo "$as_me:$LINENO: result: $STRIP" >&5
7.6041 +echo "${ECHO_T}$STRIP" >&6
7.6042 +else
7.6043 + echo "$as_me:$LINENO: result: no" >&5
7.6044 +echo "${ECHO_T}no" >&6
7.6045 +fi
7.6046 +
7.6047 +fi
7.6048 +if test -z "$ac_cv_prog_STRIP"; then
7.6049 + ac_ct_STRIP=$STRIP
7.6050 + # Extract the first word of "strip", so it can be a program name with args.
7.6051 +set dummy strip; ac_word=$2
7.6052 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.6053 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.6054 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7.6055 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.6056 +else
7.6057 + if test -n "$ac_ct_STRIP"; then
7.6058 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7.6059 +else
7.6060 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.6061 +for as_dir in $PATH
7.6062 +do
7.6063 + IFS=$as_save_IFS
7.6064 + test -z "$as_dir" && as_dir=.
7.6065 + for ac_exec_ext in '' $ac_executable_extensions; do
7.6066 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.6067 + ac_cv_prog_ac_ct_STRIP="strip"
7.6068 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.6069 + break 2
7.6070 + fi
7.6071 +done
7.6072 +done
7.6073 +
7.6074 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
7.6075 +fi
7.6076 +fi
7.6077 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7.6078 +if test -n "$ac_ct_STRIP"; then
7.6079 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7.6080 +echo "${ECHO_T}$ac_ct_STRIP" >&6
7.6081 +else
7.6082 + echo "$as_me:$LINENO: result: no" >&5
7.6083 +echo "${ECHO_T}no" >&6
7.6084 +fi
7.6085 +
7.6086 + STRIP=$ac_ct_STRIP
7.6087 +else
7.6088 + STRIP="$ac_cv_prog_STRIP"
7.6089 +fi
7.6090 +
7.6091 +
7.6092 +old_CC="$CC"
7.6093 +old_CFLAGS="$CFLAGS"
7.6094 +
7.6095 +# Set sane defaults for various variables
7.6096 +test -z "$AR" && AR=ar
7.6097 +test -z "$AR_FLAGS" && AR_FLAGS=cru
7.6098 +test -z "$AS" && AS=as
7.6099 +test -z "$CC" && CC=cc
7.6100 +test -z "$LTCC" && LTCC=$CC
7.6101 +test -z "$DLLTOOL" && DLLTOOL=dlltool
7.6102 +test -z "$LD" && LD=ld
7.6103 +test -z "$LN_S" && LN_S="ln -s"
7.6104 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
7.6105 +test -z "$NM" && NM=nm
7.6106 +test -z "$SED" && SED=sed
7.6107 +test -z "$OBJDUMP" && OBJDUMP=objdump
7.6108 +test -z "$RANLIB" && RANLIB=:
7.6109 +test -z "$STRIP" && STRIP=:
7.6110 +test -z "$ac_objext" && ac_objext=o
7.6111 +
7.6112 +# Determine commands to create old-style static archives.
7.6113 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7.6114 +old_postinstall_cmds='chmod 644 $oldlib'
7.6115 +old_postuninstall_cmds=
7.6116 +
7.6117 +if test -n "$RANLIB"; then
7.6118 + case $host_os in
7.6119 + openbsd*)
7.6120 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
7.6121 + ;;
7.6122 + *)
7.6123 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
7.6124 + ;;
7.6125 + esac
7.6126 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7.6127 +fi
7.6128 +
7.6129 +for cc_temp in $compiler""; do
7.6130 + case $cc_temp in
7.6131 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7.6132 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7.6133 + \-*) ;;
7.6134 + *) break;;
7.6135 + esac
7.6136 +done
7.6137 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7.6138 +
7.6139 +
7.6140 +# Only perform the check for file, if the check method requires it
7.6141 +case $deplibs_check_method in
7.6142 +file_magic*)
7.6143 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7.6144 + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7.6145 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7.6146 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7.6147 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.6148 +else
7.6149 + case $MAGIC_CMD in
7.6150 +[\\/*] | ?:[\\/]*)
7.6151 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7.6152 + ;;
7.6153 +*)
7.6154 + lt_save_MAGIC_CMD="$MAGIC_CMD"
7.6155 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7.6156 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7.6157 + for ac_dir in $ac_dummy; do
7.6158 + IFS="$lt_save_ifs"
7.6159 + test -z "$ac_dir" && ac_dir=.
7.6160 + if test -f $ac_dir/${ac_tool_prefix}file; then
7.6161 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7.6162 + if test -n "$file_magic_test_file"; then
7.6163 + case $deplibs_check_method in
7.6164 + "file_magic "*)
7.6165 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7.6166 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7.6167 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7.6168 + $EGREP "$file_magic_regex" > /dev/null; then
7.6169 + :
7.6170 + else
7.6171 + cat <<EOF 1>&2
7.6172 +
7.6173 +*** Warning: the command libtool uses to detect shared libraries,
7.6174 +*** $file_magic_cmd, produces output that libtool cannot recognize.
7.6175 +*** The result is that libtool may fail to recognize shared libraries
7.6176 +*** as such. This will affect the creation of libtool libraries that
7.6177 +*** depend on shared libraries, but programs linked with such libtool
7.6178 +*** libraries will work regardless of this problem. Nevertheless, you
7.6179 +*** may want to report the problem to your system manager and/or to
7.6180 +*** bug-libtool@gnu.org
7.6181 +
7.6182 +EOF
7.6183 + fi ;;
7.6184 + esac
7.6185 + fi
7.6186 + break
7.6187 + fi
7.6188 + done
7.6189 + IFS="$lt_save_ifs"
7.6190 + MAGIC_CMD="$lt_save_MAGIC_CMD"
7.6191 + ;;
7.6192 +esac
7.6193 +fi
7.6194 +
7.6195 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7.6196 +if test -n "$MAGIC_CMD"; then
7.6197 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7.6198 +echo "${ECHO_T}$MAGIC_CMD" >&6
7.6199 +else
7.6200 + echo "$as_me:$LINENO: result: no" >&5
7.6201 +echo "${ECHO_T}no" >&6
7.6202 +fi
7.6203 +
7.6204 +if test -z "$lt_cv_path_MAGIC_CMD"; then
7.6205 + if test -n "$ac_tool_prefix"; then
7.6206 + echo "$as_me:$LINENO: checking for file" >&5
7.6207 +echo $ECHO_N "checking for file... $ECHO_C" >&6
7.6208 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7.6209 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.6210 +else
7.6211 + case $MAGIC_CMD in
7.6212 +[\\/*] | ?:[\\/]*)
7.6213 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7.6214 + ;;
7.6215 +*)
7.6216 + lt_save_MAGIC_CMD="$MAGIC_CMD"
7.6217 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7.6218 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7.6219 + for ac_dir in $ac_dummy; do
7.6220 + IFS="$lt_save_ifs"
7.6221 + test -z "$ac_dir" && ac_dir=.
7.6222 + if test -f $ac_dir/file; then
7.6223 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
7.6224 + if test -n "$file_magic_test_file"; then
7.6225 + case $deplibs_check_method in
7.6226 + "file_magic "*)
7.6227 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7.6228 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7.6229 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7.6230 + $EGREP "$file_magic_regex" > /dev/null; then
7.6231 + :
7.6232 + else
7.6233 + cat <<EOF 1>&2
7.6234 +
7.6235 +*** Warning: the command libtool uses to detect shared libraries,
7.6236 +*** $file_magic_cmd, produces output that libtool cannot recognize.
7.6237 +*** The result is that libtool may fail to recognize shared libraries
7.6238 +*** as such. This will affect the creation of libtool libraries that
7.6239 +*** depend on shared libraries, but programs linked with such libtool
7.6240 +*** libraries will work regardless of this problem. Nevertheless, you
7.6241 +*** may want to report the problem to your system manager and/or to
7.6242 +*** bug-libtool@gnu.org
7.6243 +
7.6244 +EOF
7.6245 + fi ;;
7.6246 + esac
7.6247 + fi
7.6248 + break
7.6249 + fi
7.6250 + done
7.6251 + IFS="$lt_save_ifs"
7.6252 + MAGIC_CMD="$lt_save_MAGIC_CMD"
7.6253 + ;;
7.6254 +esac
7.6255 +fi
7.6256 +
7.6257 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7.6258 +if test -n "$MAGIC_CMD"; then
7.6259 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7.6260 +echo "${ECHO_T}$MAGIC_CMD" >&6
7.6261 +else
7.6262 + echo "$as_me:$LINENO: result: no" >&5
7.6263 +echo "${ECHO_T}no" >&6
7.6264 +fi
7.6265 +
7.6266 + else
7.6267 + MAGIC_CMD=:
7.6268 + fi
7.6269 +fi
7.6270 +
7.6271 + fi
7.6272 + ;;
7.6273 +esac
7.6274 +
7.6275 +enable_dlopen=no
7.6276 +enable_win32_dll=no
7.6277 +
7.6278 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7.6279 +if test "${enable_libtool_lock+set}" = set; then
7.6280 + enableval="$enable_libtool_lock"
7.6281 +
7.6282 +fi;
7.6283 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7.6284 +
7.6285 +
7.6286 +# Check whether --with-pic or --without-pic was given.
7.6287 +if test "${with_pic+set}" = set; then
7.6288 + withval="$with_pic"
7.6289 + pic_mode="$withval"
7.6290 +else
7.6291 + pic_mode=default
7.6292 +fi;
7.6293 +test -z "$pic_mode" && pic_mode=default
7.6294 +
7.6295 +# Use C for the default configuration in the libtool script
7.6296 +tagname=
7.6297 +lt_save_CC="$CC"
7.6298 +ac_ext=c
7.6299 +ac_cpp='$CPP $CPPFLAGS'
7.6300 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.6301 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.6302 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.6303 +
7.6304 +
7.6305 +# Source file extension for C test sources.
7.6306 +ac_ext=c
7.6307 +
7.6308 +# Object file extension for compiled C test sources.
7.6309 +objext=o
7.6310 +objext=$objext
7.6311 +
7.6312 +# Code to be used in simple compile tests
7.6313 +lt_simple_compile_test_code="int some_variable = 0;\n"
7.6314 +
7.6315 +# Code to be used in simple link tests
7.6316 +lt_simple_link_test_code='int main(){return(0);}\n'
7.6317 +
7.6318 +
7.6319 +# If no C compiler was specified, use CC.
7.6320 +LTCC=${LTCC-"$CC"}
7.6321 +
7.6322 +# Allow CC to be a program name with arguments.
7.6323 +compiler=$CC
7.6324 +
7.6325 +
7.6326 +# save warnings/boilerplate of simple test code
7.6327 +ac_outfile=conftest.$ac_objext
7.6328 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7.6329 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7.6330 +_lt_compiler_boilerplate=`cat conftest.err`
7.6331 +$rm conftest*
7.6332 +
7.6333 +ac_outfile=conftest.$ac_objext
7.6334 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
7.6335 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7.6336 +_lt_linker_boilerplate=`cat conftest.err`
7.6337 +$rm conftest*
7.6338 +
7.6339 +
7.6340 +#
7.6341 +# Check for any special shared library compilation flags.
7.6342 +#
7.6343 +lt_prog_cc_shlib=
7.6344 +if test "$GCC" = no; then
7.6345 + case $host_os in
7.6346 + sco3.2v5*)
7.6347 + lt_prog_cc_shlib='-belf'
7.6348 + ;;
7.6349 + esac
7.6350 +fi
7.6351 +if test -n "$lt_prog_cc_shlib"; then
7.6352 + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
7.6353 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
7.6354 + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
7.6355 + else
7.6356 + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
7.6357 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
7.6358 + lt_cv_prog_cc_can_build_shared=no
7.6359 + fi
7.6360 +fi
7.6361 +
7.6362 +
7.6363 +#
7.6364 +# Check to make sure the static flag actually works.
7.6365 +#
7.6366 +echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
7.6367 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
7.6368 +if test "${lt_prog_compiler_static_works+set}" = set; then
7.6369 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.6370 +else
7.6371 + lt_prog_compiler_static_works=no
7.6372 + save_LDFLAGS="$LDFLAGS"
7.6373 + LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
7.6374 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
7.6375 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7.6376 + # The linker can only warn and ignore the option if not recognized
7.6377 + # So say no if there are warnings
7.6378 + if test -s conftest.err; then
7.6379 + # Append any errors to the config.log.
7.6380 + cat conftest.err 1>&5
7.6381 + $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
7.6382 + $SED '/^$/d' conftest.err >conftest.er2
7.6383 + if diff conftest.exp conftest.er2 >/dev/null; then
7.6384 + lt_prog_compiler_static_works=yes
7.6385 + fi
7.6386 + else
7.6387 + lt_prog_compiler_static_works=yes
7.6388 + fi
7.6389 + fi
7.6390 + $rm conftest*
7.6391 + LDFLAGS="$save_LDFLAGS"
7.6392 +
7.6393 +fi
7.6394 +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7.6395 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7.6396 +
7.6397 +if test x"$lt_prog_compiler_static_works" = xyes; then
7.6398 + :
7.6399 +else
7.6400 + lt_prog_compiler_static=
7.6401 +fi
7.6402 +
7.6403 +
7.6404 +
7.6405 +
7.6406 +lt_prog_compiler_no_builtin_flag=
7.6407 +
7.6408 +if test "$GCC" = yes; then
7.6409 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7.6410 +
7.6411 +
7.6412 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7.6413 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7.6414 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7.6415 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.6416 +else
7.6417 + lt_cv_prog_compiler_rtti_exceptions=no
7.6418 + ac_outfile=conftest.$ac_objext
7.6419 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.6420 + lt_compiler_flag="-fno-rtti -fno-exceptions"
7.6421 + # Insert the option either (1) after the last *FLAGS variable, or
7.6422 + # (2) before a word containing "conftest.", or (3) at the end.
7.6423 + # Note that $ac_compile itself does not contain backslashes and begins
7.6424 + # with a dollar sign (not a hyphen), so the echo should work correctly.
7.6425 + # The option is referenced via a variable to avoid confusing sed.
7.6426 + lt_compile=`echo "$ac_compile" | $SED \
7.6427 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7.6428 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7.6429 + -e 's:$: $lt_compiler_flag:'`
7.6430 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7.6431 + (eval "$lt_compile" 2>conftest.err)
7.6432 + ac_status=$?
7.6433 + cat conftest.err >&5
7.6434 + echo "$as_me:__oline__: \$? = $ac_status" >&5
7.6435 + if (exit $ac_status) && test -s "$ac_outfile"; then
7.6436 + # The compiler can only warn and ignore the option if not recognized
7.6437 + # So say no if there are warnings other than the usual output.
7.6438 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
7.6439 + $SED '/^$/d' conftest.err >conftest.er2
7.6440 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
7.6441 + lt_cv_prog_compiler_rtti_exceptions=yes
7.6442 + fi
7.6443 + fi
7.6444 + $rm conftest*
7.6445 +
7.6446 +fi
7.6447 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7.6448 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7.6449 +
7.6450 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7.6451 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7.6452 +else
7.6453 + :
7.6454 +fi
7.6455 +
7.6456 +fi
7.6457 +
7.6458 +lt_prog_compiler_wl=
7.6459 +lt_prog_compiler_pic=
7.6460 +lt_prog_compiler_static=
7.6461 +
7.6462 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7.6463 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7.6464 +
7.6465 + if test "$GCC" = yes; then
7.6466 + lt_prog_compiler_wl='-Wl,'
7.6467 + lt_prog_compiler_static='-static'
7.6468 +
7.6469 + case $host_os in
7.6470 + aix*)
7.6471 + # All AIX code is PIC.
7.6472 + if test "$host_cpu" = ia64; then
7.6473 + # AIX 5 now supports IA64 processor
7.6474 + lt_prog_compiler_static='-Bstatic'
7.6475 + fi
7.6476 + ;;
7.6477 +
7.6478 + amigaos*)
7.6479 + # FIXME: we need at least 68020 code to build shared libraries, but
7.6480 + # adding the `-m68020' flag to GCC prevents building anything better,
7.6481 + # like `-m68040'.
7.6482 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7.6483 + ;;
7.6484 +
7.6485 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7.6486 + # PIC is the default for these OSes.
7.6487 + ;;
7.6488 +
7.6489 + mingw* | pw32* | os2*)
7.6490 + # This hack is so that the source file can tell whether it is being
7.6491 + # built for inclusion in a dll (and should export symbols for example).
7.6492 + lt_prog_compiler_pic='-DDLL_EXPORT'
7.6493 + ;;
7.6494 +
7.6495 + darwin* | rhapsody*)
7.6496 + # PIC is the default on this platform
7.6497 + # Common symbols not allowed in MH_DYLIB files
7.6498 + lt_prog_compiler_pic='-fno-common'
7.6499 + ;;
7.6500 +
7.6501 + msdosdjgpp*)
7.6502 + # Just because we use GCC doesn't mean we suddenly get shared libraries
7.6503 + # on systems that don't support them.
7.6504 + lt_prog_compiler_can_build_shared=no
7.6505 + enable_shared=no
7.6506 + ;;
7.6507 +
7.6508 + sysv4*MP*)
7.6509 + if test -d /usr/nec; then
7.6510 + lt_prog_compiler_pic=-Kconform_pic
7.6511 + fi
7.6512 + ;;
7.6513 +
7.6514 + hpux*)
7.6515 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7.6516 + # not for PA HP-UX.
7.6517 + case $host_cpu in
7.6518 + hppa*64*|ia64*)
7.6519 + # +Z the default
7.6520 + ;;
7.6521 + *)
7.6522 + lt_prog_compiler_pic='-fPIC'
7.6523 + ;;
7.6524 + esac
7.6525 + ;;
7.6526 +
7.6527 + *)
7.6528 + lt_prog_compiler_pic='-fPIC'
7.6529 + ;;
7.6530 + esac
7.6531 + else
7.6532 + # PORTME Check for flag to pass linker flags through the system compiler.
7.6533 + case $host_os in
7.6534 + aix*)
7.6535 + lt_prog_compiler_wl='-Wl,'
7.6536 + if test "$host_cpu" = ia64; then
7.6537 + # AIX 5 now supports IA64 processor
7.6538 + lt_prog_compiler_static='-Bstatic'
7.6539 + else
7.6540 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7.6541 + fi
7.6542 + ;;
7.6543 + darwin*)
7.6544 + # PIC is the default on this platform
7.6545 + # Common symbols not allowed in MH_DYLIB files
7.6546 + case $cc_basename in
7.6547 + xlc*)
7.6548 + lt_prog_compiler_pic='-qnocommon'
7.6549 + lt_prog_compiler_wl='-Wl,'
7.6550 + ;;
7.6551 + esac
7.6552 + ;;
7.6553 +
7.6554 + mingw* | pw32* | os2*)
7.6555 + # This hack is so that the source file can tell whether it is being
7.6556 + # built for inclusion in a dll (and should export symbols for example).
7.6557 + lt_prog_compiler_pic='-DDLL_EXPORT'
7.6558 + ;;
7.6559 +
7.6560 + hpux9* | hpux10* | hpux11*)
7.6561 + lt_prog_compiler_wl='-Wl,'
7.6562 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7.6563 + # not for PA HP-UX.
7.6564 + case $host_cpu in
7.6565 + hppa*64*|ia64*)
7.6566 + # +Z the default
7.6567 + ;;
7.6568 + *)
7.6569 + lt_prog_compiler_pic='+Z'
7.6570 + ;;
7.6571 + esac
7.6572 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
7.6573 + lt_prog_compiler_static='${wl}-a ${wl}archive'
7.6574 + ;;
7.6575 +
7.6576 + irix5* | irix6* | nonstopux*)
7.6577 + lt_prog_compiler_wl='-Wl,'
7.6578 + # PIC (with -KPIC) is the default.
7.6579 + lt_prog_compiler_static='-non_shared'
7.6580 + ;;
7.6581 +
7.6582 + newsos6)
7.6583 + lt_prog_compiler_pic='-KPIC'
7.6584 + lt_prog_compiler_static='-Bstatic'
7.6585 + ;;
7.6586 +
7.6587 + linux*)
7.6588 + case $cc_basename in
7.6589 + icc* | ecc*)
7.6590 + lt_prog_compiler_wl='-Wl,'
7.6591 + lt_prog_compiler_pic='-KPIC'
7.6592 + lt_prog_compiler_static='-static'
7.6593 + ;;
7.6594 + pgcc* | pgf77* | pgf90* | pgf95*)
7.6595 + # Portland Group compilers (*not* the Pentium gcc compiler,
7.6596 + # which looks to be a dead project)
7.6597 + lt_prog_compiler_wl='-Wl,'
7.6598 + lt_prog_compiler_pic='-fpic'
7.6599 + lt_prog_compiler_static='-Bstatic'
7.6600 + ;;
7.6601 + ccc*)
7.6602 + lt_prog_compiler_wl='-Wl,'
7.6603 + # All Alpha code is PIC.
7.6604 + lt_prog_compiler_static='-non_shared'
7.6605 + ;;
7.6606 + esac
7.6607 + ;;
7.6608 +
7.6609 + osf3* | osf4* | osf5*)
7.6610 + lt_prog_compiler_wl='-Wl,'
7.6611 + # All OSF/1 code is PIC.
7.6612 + lt_prog_compiler_static='-non_shared'
7.6613 + ;;
7.6614 +
7.6615 + sco3.2v5*)
7.6616 + lt_prog_compiler_pic='-Kpic'
7.6617 + lt_prog_compiler_static='-dn'
7.6618 + ;;
7.6619 +
7.6620 + solaris*)
7.6621 + lt_prog_compiler_pic='-KPIC'
7.6622 + lt_prog_compiler_static='-Bstatic'
7.6623 + case $cc_basename in
7.6624 + f77* | f90* | f95*)
7.6625 + lt_prog_compiler_wl='-Qoption ld ';;
7.6626 + *)
7.6627 + lt_prog_compiler_wl='-Wl,';;
7.6628 + esac
7.6629 + ;;
7.6630 +
7.6631 + sunos4*)
7.6632 + lt_prog_compiler_wl='-Qoption ld '
7.6633 + lt_prog_compiler_pic='-PIC'
7.6634 + lt_prog_compiler_static='-Bstatic'
7.6635 + ;;
7.6636 +
7.6637 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7.6638 + lt_prog_compiler_wl='-Wl,'
7.6639 + lt_prog_compiler_pic='-KPIC'
7.6640 + lt_prog_compiler_static='-Bstatic'
7.6641 + ;;
7.6642 +
7.6643 + sysv4*MP*)
7.6644 + if test -d /usr/nec ;then
7.6645 + lt_prog_compiler_pic='-Kconform_pic'
7.6646 + lt_prog_compiler_static='-Bstatic'
7.6647 + fi
7.6648 + ;;
7.6649 +
7.6650 + unicos*)
7.6651 + lt_prog_compiler_wl='-Wl,'
7.6652 + lt_prog_compiler_can_build_shared=no
7.6653 + ;;
7.6654 +
7.6655 + uts4*)
7.6656 + lt_prog_compiler_pic='-pic'
7.6657 + lt_prog_compiler_static='-Bstatic'
7.6658 + ;;
7.6659 +
7.6660 + *)
7.6661 + lt_prog_compiler_can_build_shared=no
7.6662 + ;;
7.6663 + esac
7.6664 + fi
7.6665 +
7.6666 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7.6667 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7.6668 +
7.6669 +#
7.6670 +# Check to make sure the PIC flag actually works.
7.6671 +#
7.6672 +if test -n "$lt_prog_compiler_pic"; then
7.6673 +
7.6674 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7.6675 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7.6676 +if test "${lt_prog_compiler_pic_works+set}" = set; then
7.6677 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.6678 +else
7.6679 + lt_prog_compiler_pic_works=no
7.6680 + ac_outfile=conftest.$ac_objext
7.6681 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.6682 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7.6683 + # Insert the option either (1) after the last *FLAGS variable, or
7.6684 + # (2) before a word containing "conftest.", or (3) at the end.
7.6685 + # Note that $ac_compile itself does not contain backslashes and begins
7.6686 + # with a dollar sign (not a hyphen), so the echo should work correctly.
7.6687 + # The option is referenced via a variable to avoid confusing sed.
7.6688 + lt_compile=`echo "$ac_compile" | $SED \
7.6689 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7.6690 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7.6691 + -e 's:$: $lt_compiler_flag:'`
7.6692 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7.6693 + (eval "$lt_compile" 2>conftest.err)
7.6694 + ac_status=$?
7.6695 + cat conftest.err >&5
7.6696 + echo "$as_me:__oline__: \$? = $ac_status" >&5
7.6697 + if (exit $ac_status) && test -s "$ac_outfile"; then
7.6698 + # The compiler can only warn and ignore the option if not recognized
7.6699 + # So say no if there are warnings other than the usual output.
7.6700 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
7.6701 + $SED '/^$/d' conftest.err >conftest.er2
7.6702 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
7.6703 + lt_prog_compiler_pic_works=yes
7.6704 + fi
7.6705 + fi
7.6706 + $rm conftest*
7.6707 +
7.6708 +fi
7.6709 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7.6710 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7.6711 +
7.6712 +if test x"$lt_prog_compiler_pic_works" = xyes; then
7.6713 + case $lt_prog_compiler_pic in
7.6714 + "" | " "*) ;;
7.6715 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7.6716 + esac
7.6717 +else
7.6718 + lt_prog_compiler_pic=
7.6719 + lt_prog_compiler_can_build_shared=no
7.6720 +fi
7.6721 +
7.6722 +fi
7.6723 +case $host_os in
7.6724 + # For platforms which do not support PIC, -DPIC is meaningless:
7.6725 + *djgpp*)
7.6726 + lt_prog_compiler_pic=
7.6727 + ;;
7.6728 + *)
7.6729 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7.6730 + ;;
7.6731 +esac
7.6732 +
7.6733 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7.6734 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7.6735 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7.6736 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.6737 +else
7.6738 + lt_cv_prog_compiler_c_o=no
7.6739 + $rm -r conftest 2>/dev/null
7.6740 + mkdir conftest
7.6741 + cd conftest
7.6742 + mkdir out
7.6743 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.6744 +
7.6745 + lt_compiler_flag="-o out/conftest2.$ac_objext"
7.6746 + # Insert the option either (1) after the last *FLAGS variable, or
7.6747 + # (2) before a word containing "conftest.", or (3) at the end.
7.6748 + # Note that $ac_compile itself does not contain backslashes and begins
7.6749 + # with a dollar sign (not a hyphen), so the echo should work correctly.
7.6750 + lt_compile=`echo "$ac_compile" | $SED \
7.6751 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7.6752 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7.6753 + -e 's:$: $lt_compiler_flag:'`
7.6754 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7.6755 + (eval "$lt_compile" 2>out/conftest.err)
7.6756 + ac_status=$?
7.6757 + cat out/conftest.err >&5
7.6758 + echo "$as_me:__oline__: \$? = $ac_status" >&5
7.6759 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
7.6760 + then
7.6761 + # The compiler can only warn and ignore the option if not recognized
7.6762 + # So say no if there are warnings
7.6763 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
7.6764 + $SED '/^$/d' out/conftest.err >out/conftest.er2
7.6765 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7.6766 + lt_cv_prog_compiler_c_o=yes
7.6767 + fi
7.6768 + fi
7.6769 + chmod u+w . 2>&5
7.6770 + $rm conftest*
7.6771 + # SGI C++ compiler will create directory out/ii_files/ for
7.6772 + # template instantiation
7.6773 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7.6774 + $rm out/* && rmdir out
7.6775 + cd ..
7.6776 + rmdir conftest
7.6777 + $rm conftest*
7.6778 +
7.6779 +fi
7.6780 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7.6781 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7.6782 +
7.6783 +
7.6784 +hard_links="nottested"
7.6785 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7.6786 + # do not overwrite the value of need_locks provided by the user
7.6787 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7.6788 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7.6789 + hard_links=yes
7.6790 + $rm conftest*
7.6791 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
7.6792 + touch conftest.a
7.6793 + ln conftest.a conftest.b 2>&5 || hard_links=no
7.6794 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
7.6795 + echo "$as_me:$LINENO: result: $hard_links" >&5
7.6796 +echo "${ECHO_T}$hard_links" >&6
7.6797 + if test "$hard_links" = no; then
7.6798 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7.6799 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7.6800 + need_locks=warn
7.6801 + fi
7.6802 +else
7.6803 + need_locks=no
7.6804 +fi
7.6805 +
7.6806 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7.6807 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7.6808 +
7.6809 + runpath_var=
7.6810 + allow_undefined_flag=
7.6811 + enable_shared_with_static_runtimes=no
7.6812 + archive_cmds=
7.6813 + archive_expsym_cmds=
7.6814 + old_archive_From_new_cmds=
7.6815 + old_archive_from_expsyms_cmds=
7.6816 + export_dynamic_flag_spec=
7.6817 + whole_archive_flag_spec=
7.6818 + thread_safe_flag_spec=
7.6819 + hardcode_libdir_flag_spec=
7.6820 + hardcode_libdir_flag_spec_ld=
7.6821 + hardcode_libdir_separator=
7.6822 + hardcode_direct=no
7.6823 + hardcode_minus_L=no
7.6824 + hardcode_shlibpath_var=unsupported
7.6825 + link_all_deplibs=unknown
7.6826 + hardcode_automatic=no
7.6827 + module_cmds=
7.6828 + module_expsym_cmds=
7.6829 + always_export_symbols=no
7.6830 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7.6831 + # include_expsyms should be a list of space-separated symbols to be *always*
7.6832 + # included in the symbol list
7.6833 + include_expsyms=
7.6834 + # exclude_expsyms can be an extended regexp of symbols to exclude
7.6835 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
7.6836 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7.6837 + # as well as any symbol that contains `d'.
7.6838 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7.6839 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7.6840 + # platforms (ab)use it in PIC code, but their linkers get confused if
7.6841 + # the symbol is explicitly referenced. Since portable code cannot
7.6842 + # rely on this symbol name, it's probably fine to never include it in
7.6843 + # preloaded symbol tables.
7.6844 + extract_expsyms_cmds=
7.6845 + # Just being paranoid about ensuring that cc_basename is set.
7.6846 + for cc_temp in $compiler""; do
7.6847 + case $cc_temp in
7.6848 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7.6849 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7.6850 + \-*) ;;
7.6851 + *) break;;
7.6852 + esac
7.6853 +done
7.6854 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7.6855 +
7.6856 + case $host_os in
7.6857 + cygwin* | mingw* | pw32*)
7.6858 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
7.6859 + # When not using gcc, we currently assume that we are using
7.6860 + # Microsoft Visual C++.
7.6861 + if test "$GCC" != yes; then
7.6862 + with_gnu_ld=no
7.6863 + fi
7.6864 + ;;
7.6865 + openbsd*)
7.6866 + with_gnu_ld=no
7.6867 + ;;
7.6868 + esac
7.6869 +
7.6870 + ld_shlibs=yes
7.6871 + if test "$with_gnu_ld" = yes; then
7.6872 + # If archive_cmds runs LD, not CC, wlarc should be empty
7.6873 + wlarc='${wl}'
7.6874 +
7.6875 + # Set some defaults for GNU ld with shared library support. These
7.6876 + # are reset later if shared libraries are not supported. Putting them
7.6877 + # here allows them to be overridden if necessary.
7.6878 + runpath_var=LD_RUN_PATH
7.6879 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7.6880 + export_dynamic_flag_spec='${wl}--export-dynamic'
7.6881 + # ancient GNU ld didn't support --whole-archive et. al.
7.6882 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7.6883 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7.6884 + else
7.6885 + whole_archive_flag_spec=
7.6886 + fi
7.6887 + supports_anon_versioning=no
7.6888 + case `$LD -v 2>/dev/null` in
7.6889 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7.6890 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7.6891 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7.6892 + *\ 2.11.*) ;; # other 2.11 versions
7.6893 + *) supports_anon_versioning=yes ;;
7.6894 + esac
7.6895 +
7.6896 + # See if GNU ld supports shared libraries.
7.6897 + case $host_os in
7.6898 + aix3* | aix4* | aix5*)
7.6899 + # On AIX/PPC, the GNU linker is very broken
7.6900 + if test "$host_cpu" != ia64; then
7.6901 + ld_shlibs=no
7.6902 + cat <<EOF 1>&2
7.6903 +
7.6904 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7.6905 +*** to be unable to reliably create shared libraries on AIX.
7.6906 +*** Therefore, libtool is disabling shared libraries support. If you
7.6907 +*** really care for shared libraries, you may want to modify your PATH
7.6908 +*** so that a non-GNU linker is found, and then restart.
7.6909 +
7.6910 +EOF
7.6911 + fi
7.6912 + ;;
7.6913 +
7.6914 + amigaos*)
7.6915 + 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)'
7.6916 + hardcode_libdir_flag_spec='-L$libdir'
7.6917 + hardcode_minus_L=yes
7.6918 +
7.6919 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7.6920 + # that the semantics of dynamic libraries on AmigaOS, at least up
7.6921 + # to version 4, is to share data among multiple programs linked
7.6922 + # with the same dynamic library. Since this doesn't match the
7.6923 + # behavior of shared libraries on other platforms, we can't use
7.6924 + # them.
7.6925 + ld_shlibs=no
7.6926 + ;;
7.6927 +
7.6928 + beos*)
7.6929 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.6930 + allow_undefined_flag=unsupported
7.6931 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7.6932 + # support --undefined. This deserves some investigation. FIXME
7.6933 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.6934 + else
7.6935 + ld_shlibs=no
7.6936 + fi
7.6937 + ;;
7.6938 +
7.6939 + cygwin* | mingw* | pw32*)
7.6940 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7.6941 + # as there is no search path for DLLs.
7.6942 + hardcode_libdir_flag_spec='-L$libdir'
7.6943 + allow_undefined_flag=unsupported
7.6944 + always_export_symbols=no
7.6945 + enable_shared_with_static_runtimes=yes
7.6946 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7.6947 +
7.6948 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7.6949 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7.6950 + # If the export-symbols file already is a .def file (1st line
7.6951 + # is EXPORTS), use it as is; otherwise, prepend...
7.6952 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7.6953 + cp $export_symbols $output_objdir/$soname.def;
7.6954 + else
7.6955 + echo EXPORTS > $output_objdir/$soname.def;
7.6956 + cat $export_symbols >> $output_objdir/$soname.def;
7.6957 + fi~
7.6958 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7.6959 + else
7.6960 + ld_shlibs=no
7.6961 + fi
7.6962 + ;;
7.6963 +
7.6964 + linux*)
7.6965 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.6966 + tmp_addflag=
7.6967 + case $cc_basename,$host_cpu in
7.6968 + pgcc*) # Portland Group C compiler
7.6969 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7.6970 + tmp_addflag=' $pic_flag'
7.6971 + ;;
7.6972 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7.6973 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7.6974 + tmp_addflag=' $pic_flag -Mnomain' ;;
7.6975 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7.6976 + tmp_addflag=' -i_dynamic' ;;
7.6977 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7.6978 + tmp_addflag=' -i_dynamic -nofor_main' ;;
7.6979 + ifc* | ifort*) # Intel Fortran compiler
7.6980 + tmp_addflag=' -nofor_main' ;;
7.6981 + esac
7.6982 + archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.6983 +
7.6984 + if test $supports_anon_versioning = yes; then
7.6985 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7.6986 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7.6987 + $echo "local: *; };" >> $output_objdir/$libname.ver~
7.6988 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7.6989 + fi
7.6990 + else
7.6991 + ld_shlibs=no
7.6992 + fi
7.6993 + ;;
7.6994 +
7.6995 + netbsd*)
7.6996 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7.6997 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7.6998 + wlarc=
7.6999 + else
7.7000 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.7001 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.7002 + fi
7.7003 + ;;
7.7004 +
7.7005 + solaris* | sysv5*)
7.7006 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7.7007 + ld_shlibs=no
7.7008 + cat <<EOF 1>&2
7.7009 +
7.7010 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7.7011 +*** create shared libraries on Solaris systems. Therefore, libtool
7.7012 +*** is disabling shared libraries support. We urge you to upgrade GNU
7.7013 +*** binutils to release 2.9.1 or newer. Another option is to modify
7.7014 +*** your PATH or compiler configuration so that the native linker is
7.7015 +*** used, and then restart.
7.7016 +
7.7017 +EOF
7.7018 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.7019 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.7020 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.7021 + else
7.7022 + ld_shlibs=no
7.7023 + fi
7.7024 + ;;
7.7025 +
7.7026 + sunos4*)
7.7027 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7.7028 + wlarc=
7.7029 + hardcode_direct=yes
7.7030 + hardcode_shlibpath_var=no
7.7031 + ;;
7.7032 +
7.7033 + *)
7.7034 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.7035 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.7036 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.7037 + else
7.7038 + ld_shlibs=no
7.7039 + fi
7.7040 + ;;
7.7041 + esac
7.7042 +
7.7043 + if test "$ld_shlibs" = no; then
7.7044 + runpath_var=
7.7045 + hardcode_libdir_flag_spec=
7.7046 + export_dynamic_flag_spec=
7.7047 + whole_archive_flag_spec=
7.7048 + fi
7.7049 + else
7.7050 + # PORTME fill in a description of your system's linker (not GNU ld)
7.7051 + case $host_os in
7.7052 + aix3*)
7.7053 + allow_undefined_flag=unsupported
7.7054 + always_export_symbols=yes
7.7055 + 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'
7.7056 + # Note: this linker hardcodes the directories in LIBPATH if there
7.7057 + # are no directories specified by -L.
7.7058 + hardcode_minus_L=yes
7.7059 + if test "$GCC" = yes && test -z "$link_static_flag"; then
7.7060 + # Neither direct hardcoding nor static linking is supported with a
7.7061 + # broken collect2.
7.7062 + hardcode_direct=unsupported
7.7063 + fi
7.7064 + ;;
7.7065 +
7.7066 + aix4* | aix5*)
7.7067 + if test "$host_cpu" = ia64; then
7.7068 + # On IA64, the linker does run time linking by default, so we don't
7.7069 + # have to do anything special.
7.7070 + aix_use_runtimelinking=no
7.7071 + exp_sym_flag='-Bexport'
7.7072 + no_entry_flag=""
7.7073 + else
7.7074 + # If we're using GNU nm, then we don't want the "-C" option.
7.7075 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
7.7076 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7.7077 + 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'
7.7078 + else
7.7079 + 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'
7.7080 + fi
7.7081 + aix_use_runtimelinking=no
7.7082 +
7.7083 + # Test if we are trying to use run time linking or normal
7.7084 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7.7085 + # need to do runtime linking.
7.7086 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7.7087 + for ld_flag in $LDFLAGS; do
7.7088 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7.7089 + aix_use_runtimelinking=yes
7.7090 + break
7.7091 + fi
7.7092 + done
7.7093 + esac
7.7094 +
7.7095 + exp_sym_flag='-bexport'
7.7096 + no_entry_flag='-bnoentry'
7.7097 + fi
7.7098 +
7.7099 + # When large executables or shared objects are built, AIX ld can
7.7100 + # have problems creating the table of contents. If linking a library
7.7101 + # or program results in "error TOC overflow" add -mminimal-toc to
7.7102 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7.7103 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7.7104 +
7.7105 + archive_cmds=''
7.7106 + hardcode_direct=yes
7.7107 + hardcode_libdir_separator=':'
7.7108 + link_all_deplibs=yes
7.7109 +
7.7110 + if test "$GCC" = yes; then
7.7111 + case $host_os in aix4.[012]|aix4.[012].*)
7.7112 + # We only want to do this on AIX 4.2 and lower, the check
7.7113 + # below for broken collect2 doesn't work under 4.3+
7.7114 + collect2name=`${CC} -print-prog-name=collect2`
7.7115 + if test -f "$collect2name" && \
7.7116 + strings "$collect2name" | grep resolve_lib_name >/dev/null
7.7117 + then
7.7118 + # We have reworked collect2
7.7119 + hardcode_direct=yes
7.7120 + else
7.7121 + # We have old collect2
7.7122 + hardcode_direct=unsupported
7.7123 + # It fails to find uninstalled libraries when the uninstalled
7.7124 + # path is not listed in the libpath. Setting hardcode_minus_L
7.7125 + # to unsupported forces relinking
7.7126 + hardcode_minus_L=yes
7.7127 + hardcode_libdir_flag_spec='-L$libdir'
7.7128 + hardcode_libdir_separator=
7.7129 + fi
7.7130 + esac
7.7131 + shared_flag='-shared'
7.7132 + if test "$aix_use_runtimelinking" = yes; then
7.7133 + shared_flag="$shared_flag "'${wl}-G'
7.7134 + fi
7.7135 + else
7.7136 + # not using gcc
7.7137 + if test "$host_cpu" = ia64; then
7.7138 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7.7139 + # chokes on -Wl,-G. The following line is correct:
7.7140 + shared_flag='-G'
7.7141 + else
7.7142 + if test "$aix_use_runtimelinking" = yes; then
7.7143 + shared_flag='${wl}-G'
7.7144 + else
7.7145 + shared_flag='${wl}-bM:SRE'
7.7146 + fi
7.7147 + fi
7.7148 + fi
7.7149 +
7.7150 + # It seems that -bexpall does not export symbols beginning with
7.7151 + # underscore (_), so it is better to generate a list of symbols to export.
7.7152 + always_export_symbols=yes
7.7153 + if test "$aix_use_runtimelinking" = yes; then
7.7154 + # Warning - without using the other runtime loading flags (-brtl),
7.7155 + # -berok will link without error, but may produce a broken library.
7.7156 + allow_undefined_flag='-berok'
7.7157 + # Determine the default libpath from the value encoded in an empty executable.
7.7158 + cat >conftest.$ac_ext <<_ACEOF
7.7159 +/* confdefs.h. */
7.7160 +_ACEOF
7.7161 +cat confdefs.h >>conftest.$ac_ext
7.7162 +cat >>conftest.$ac_ext <<_ACEOF
7.7163 +/* end confdefs.h. */
7.7164 +
7.7165 +int
7.7166 +main ()
7.7167 +{
7.7168 +
7.7169 + ;
7.7170 + return 0;
7.7171 +}
7.7172 +_ACEOF
7.7173 +rm -f conftest.$ac_objext conftest$ac_exeext
7.7174 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.7175 + (eval $ac_link) 2>conftest.er1
7.7176 + ac_status=$?
7.7177 + grep -v '^ *+' conftest.er1 >conftest.err
7.7178 + rm -f conftest.er1
7.7179 + cat conftest.err >&5
7.7180 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.7181 + (exit $ac_status); } &&
7.7182 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.7183 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.7184 + (eval $ac_try) 2>&5
7.7185 + ac_status=$?
7.7186 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.7187 + (exit $ac_status); }; } &&
7.7188 + { ac_try='test -s conftest$ac_exeext'
7.7189 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.7190 + (eval $ac_try) 2>&5
7.7191 + ac_status=$?
7.7192 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.7193 + (exit $ac_status); }; }; then
7.7194 +
7.7195 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7.7196 +}'`
7.7197 +# Check for a 64-bit object if we didn't find anything.
7.7198 +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; }
7.7199 +}'`; fi
7.7200 +else
7.7201 + echo "$as_me: failed program was:" >&5
7.7202 +sed 's/^/| /' conftest.$ac_ext >&5
7.7203 +
7.7204 +fi
7.7205 +rm -f conftest.err conftest.$ac_objext \
7.7206 + conftest$ac_exeext conftest.$ac_ext
7.7207 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7.7208 +
7.7209 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7.7210 + 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"
7.7211 + else
7.7212 + if test "$host_cpu" = ia64; then
7.7213 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7.7214 + allow_undefined_flag="-z nodefs"
7.7215 + 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"
7.7216 + else
7.7217 + # Determine the default libpath from the value encoded in an empty executable.
7.7218 + cat >conftest.$ac_ext <<_ACEOF
7.7219 +/* confdefs.h. */
7.7220 +_ACEOF
7.7221 +cat confdefs.h >>conftest.$ac_ext
7.7222 +cat >>conftest.$ac_ext <<_ACEOF
7.7223 +/* end confdefs.h. */
7.7224 +
7.7225 +int
7.7226 +main ()
7.7227 +{
7.7228 +
7.7229 + ;
7.7230 + return 0;
7.7231 +}
7.7232 +_ACEOF
7.7233 +rm -f conftest.$ac_objext conftest$ac_exeext
7.7234 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.7235 + (eval $ac_link) 2>conftest.er1
7.7236 + ac_status=$?
7.7237 + grep -v '^ *+' conftest.er1 >conftest.err
7.7238 + rm -f conftest.er1
7.7239 + cat conftest.err >&5
7.7240 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.7241 + (exit $ac_status); } &&
7.7242 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.7243 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.7244 + (eval $ac_try) 2>&5
7.7245 + ac_status=$?
7.7246 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.7247 + (exit $ac_status); }; } &&
7.7248 + { ac_try='test -s conftest$ac_exeext'
7.7249 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.7250 + (eval $ac_try) 2>&5
7.7251 + ac_status=$?
7.7252 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.7253 + (exit $ac_status); }; }; then
7.7254 +
7.7255 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7.7256 +}'`
7.7257 +# Check for a 64-bit object if we didn't find anything.
7.7258 +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; }
7.7259 +}'`; fi
7.7260 +else
7.7261 + echo "$as_me: failed program was:" >&5
7.7262 +sed 's/^/| /' conftest.$ac_ext >&5
7.7263 +
7.7264 +fi
7.7265 +rm -f conftest.err conftest.$ac_objext \
7.7266 + conftest$ac_exeext conftest.$ac_ext
7.7267 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7.7268 +
7.7269 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7.7270 + # Warning - without using the other run time loading flags,
7.7271 + # -berok will link without error, but may produce a broken library.
7.7272 + no_undefined_flag=' ${wl}-bernotok'
7.7273 + allow_undefined_flag=' ${wl}-berok'
7.7274 + # -bexpall does not export symbols beginning with underscore (_)
7.7275 + always_export_symbols=yes
7.7276 + # Exported symbols can be pulled into shared objects from archives
7.7277 + whole_archive_flag_spec=' '
7.7278 + archive_cmds_need_lc=yes
7.7279 + # This is similar to how AIX traditionally builds its shared libraries.
7.7280 + 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'
7.7281 + fi
7.7282 + fi
7.7283 + ;;
7.7284 +
7.7285 + amigaos*)
7.7286 + 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)'
7.7287 + hardcode_libdir_flag_spec='-L$libdir'
7.7288 + hardcode_minus_L=yes
7.7289 + # see comment about different semantics on the GNU ld section
7.7290 + ld_shlibs=no
7.7291 + ;;
7.7292 +
7.7293 + bsdi[45]*)
7.7294 + export_dynamic_flag_spec=-rdynamic
7.7295 + ;;
7.7296 +
7.7297 + cygwin* | mingw* | pw32*)
7.7298 + # When not using gcc, we currently assume that we are using
7.7299 + # Microsoft Visual C++.
7.7300 + # hardcode_libdir_flag_spec is actually meaningless, as there is
7.7301 + # no search path for DLLs.
7.7302 + hardcode_libdir_flag_spec=' '
7.7303 + allow_undefined_flag=unsupported
7.7304 + # Tell ltmain to make .lib files, not .a files.
7.7305 + libext=lib
7.7306 + # Tell ltmain to make .dll files, not .so files.
7.7307 + shrext_cmds=".dll"
7.7308 + # FIXME: Setting linknames here is a bad hack.
7.7309 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7.7310 + # The linker will automatically build a .lib file if we build a DLL.
7.7311 + old_archive_From_new_cmds='true'
7.7312 + # FIXME: Should let the user specify the lib program.
7.7313 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7.7314 + fix_srcfile_path='`cygpath -w "$srcfile"`'
7.7315 + enable_shared_with_static_runtimes=yes
7.7316 + ;;
7.7317 +
7.7318 + darwin* | rhapsody*)
7.7319 + case $host_os in
7.7320 + rhapsody* | darwin1.[012])
7.7321 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
7.7322 + ;;
7.7323 + *) # Darwin 1.3 on
7.7324 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7.7325 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7.7326 + else
7.7327 + case ${MACOSX_DEPLOYMENT_TARGET} in
7.7328 + 10.[012])
7.7329 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7.7330 + ;;
7.7331 + 10.*)
7.7332 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7.7333 + ;;
7.7334 + esac
7.7335 + fi
7.7336 + ;;
7.7337 + esac
7.7338 + archive_cmds_need_lc=no
7.7339 + hardcode_direct=no
7.7340 + hardcode_automatic=yes
7.7341 + hardcode_shlibpath_var=unsupported
7.7342 + whole_archive_flag_spec=''
7.7343 + link_all_deplibs=yes
7.7344 + if test "$GCC" = yes ; then
7.7345 + output_verbose_link_cmd='echo'
7.7346 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7.7347 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7.7348 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7.7349 + 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}'
7.7350 + 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}'
7.7351 + else
7.7352 + case $cc_basename in
7.7353 + xlc*)
7.7354 + output_verbose_link_cmd='echo'
7.7355 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7.7356 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7.7357 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7.7358 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7.7359 + 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}'
7.7360 + ;;
7.7361 + *)
7.7362 + ld_shlibs=no
7.7363 + ;;
7.7364 + esac
7.7365 + fi
7.7366 + ;;
7.7367 +
7.7368 + dgux*)
7.7369 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.7370 + hardcode_libdir_flag_spec='-L$libdir'
7.7371 + hardcode_shlibpath_var=no
7.7372 + ;;
7.7373 +
7.7374 + freebsd1*)
7.7375 + ld_shlibs=no
7.7376 + ;;
7.7377 +
7.7378 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7.7379 + # support. Future versions do this automatically, but an explicit c++rt0.o
7.7380 + # does not break anything, and helps significantly (at the cost of a little
7.7381 + # extra space).
7.7382 + freebsd2.2*)
7.7383 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7.7384 + hardcode_libdir_flag_spec='-R$libdir'
7.7385 + hardcode_direct=yes
7.7386 + hardcode_shlibpath_var=no
7.7387 + ;;
7.7388 +
7.7389 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7.7390 + freebsd2*)
7.7391 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7.7392 + hardcode_direct=yes
7.7393 + hardcode_minus_L=yes
7.7394 + hardcode_shlibpath_var=no
7.7395 + ;;
7.7396 +
7.7397 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7.7398 + freebsd* | kfreebsd*-gnu | dragonfly*)
7.7399 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7.7400 + hardcode_libdir_flag_spec='-R$libdir'
7.7401 + hardcode_direct=yes
7.7402 + hardcode_shlibpath_var=no
7.7403 + ;;
7.7404 +
7.7405 + hpux9*)
7.7406 + if test "$GCC" = yes; then
7.7407 + 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'
7.7408 + else
7.7409 + 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'
7.7410 + fi
7.7411 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7.7412 + hardcode_libdir_separator=:
7.7413 + hardcode_direct=yes
7.7414 +
7.7415 + # hardcode_minus_L: Not really in the search PATH,
7.7416 + # but as the default location of the library.
7.7417 + hardcode_minus_L=yes
7.7418 + export_dynamic_flag_spec='${wl}-E'
7.7419 + ;;
7.7420 +
7.7421 + hpux10* | hpux11*)
7.7422 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7.7423 + case $host_cpu in
7.7424 + hppa*64*|ia64*)
7.7425 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.7426 + ;;
7.7427 + *)
7.7428 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7.7429 + ;;
7.7430 + esac
7.7431 + else
7.7432 + case $host_cpu in
7.7433 + hppa*64*|ia64*)
7.7434 + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7.7435 + ;;
7.7436 + *)
7.7437 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7.7438 + ;;
7.7439 + esac
7.7440 + fi
7.7441 + if test "$with_gnu_ld" = no; then
7.7442 + case $host_cpu in
7.7443 + hppa*64*)
7.7444 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7.7445 + hardcode_libdir_flag_spec_ld='+b $libdir'
7.7446 + hardcode_libdir_separator=:
7.7447 + hardcode_direct=no
7.7448 + hardcode_shlibpath_var=no
7.7449 + ;;
7.7450 + ia64*)
7.7451 + hardcode_libdir_flag_spec='-L$libdir'
7.7452 + hardcode_direct=no
7.7453 + hardcode_shlibpath_var=no
7.7454 +
7.7455 + # hardcode_minus_L: Not really in the search PATH,
7.7456 + # but as the default location of the library.
7.7457 + hardcode_minus_L=yes
7.7458 + ;;
7.7459 + *)
7.7460 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7.7461 + hardcode_libdir_separator=:
7.7462 + hardcode_direct=yes
7.7463 + export_dynamic_flag_spec='${wl}-E'
7.7464 +
7.7465 + # hardcode_minus_L: Not really in the search PATH,
7.7466 + # but as the default location of the library.
7.7467 + hardcode_minus_L=yes
7.7468 + ;;
7.7469 + esac
7.7470 + fi
7.7471 + ;;
7.7472 +
7.7473 + irix5* | irix6* | nonstopux*)
7.7474 + if test "$GCC" = yes; then
7.7475 + 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'
7.7476 + else
7.7477 + 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'
7.7478 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
7.7479 + fi
7.7480 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7.7481 + hardcode_libdir_separator=:
7.7482 + link_all_deplibs=yes
7.7483 + ;;
7.7484 +
7.7485 + netbsd*)
7.7486 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7.7487 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7.7488 + else
7.7489 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7.7490 + fi
7.7491 + hardcode_libdir_flag_spec='-R$libdir'
7.7492 + hardcode_direct=yes
7.7493 + hardcode_shlibpath_var=no
7.7494 + ;;
7.7495 +
7.7496 + newsos6)
7.7497 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.7498 + hardcode_direct=yes
7.7499 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7.7500 + hardcode_libdir_separator=:
7.7501 + hardcode_shlibpath_var=no
7.7502 + ;;
7.7503 +
7.7504 + openbsd*)
7.7505 + hardcode_direct=yes
7.7506 + hardcode_shlibpath_var=no
7.7507 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7.7508 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7.7509 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7.7510 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7.7511 + export_dynamic_flag_spec='${wl}-E'
7.7512 + else
7.7513 + case $host_os in
7.7514 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7.7515 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7.7516 + hardcode_libdir_flag_spec='-R$libdir'
7.7517 + ;;
7.7518 + *)
7.7519 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7.7520 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7.7521 + ;;
7.7522 + esac
7.7523 + fi
7.7524 + ;;
7.7525 +
7.7526 + os2*)
7.7527 + hardcode_libdir_flag_spec='-L$libdir'
7.7528 + hardcode_minus_L=yes
7.7529 + allow_undefined_flag=unsupported
7.7530 + 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'
7.7531 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7.7532 + ;;
7.7533 +
7.7534 + osf3*)
7.7535 + if test "$GCC" = yes; then
7.7536 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7.7537 + 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'
7.7538 + else
7.7539 + allow_undefined_flag=' -expect_unresolved \*'
7.7540 + 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'
7.7541 + fi
7.7542 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7.7543 + hardcode_libdir_separator=:
7.7544 + ;;
7.7545 +
7.7546 + osf4* | osf5*) # as osf3* with the addition of -msym flag
7.7547 + if test "$GCC" = yes; then
7.7548 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7.7549 + 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'
7.7550 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7.7551 + else
7.7552 + allow_undefined_flag=' -expect_unresolved \*'
7.7553 + 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'
7.7554 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7.7555 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7.7556 +
7.7557 + # Both c and cxx compiler support -rpath directly
7.7558 + hardcode_libdir_flag_spec='-rpath $libdir'
7.7559 + fi
7.7560 + hardcode_libdir_separator=:
7.7561 + ;;
7.7562 +
7.7563 + sco3.2v5*)
7.7564 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.7565 + hardcode_shlibpath_var=no
7.7566 + export_dynamic_flag_spec='${wl}-Bexport'
7.7567 + runpath_var=LD_RUN_PATH
7.7568 + hardcode_runpath_var=yes
7.7569 + ;;
7.7570 +
7.7571 + solaris*)
7.7572 + no_undefined_flag=' -z text'
7.7573 + if test "$GCC" = yes; then
7.7574 + wlarc='${wl}'
7.7575 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.7576 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.7577 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7.7578 + else
7.7579 + wlarc=''
7.7580 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.7581 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.7582 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7.7583 + fi
7.7584 + hardcode_libdir_flag_spec='-R$libdir'
7.7585 + hardcode_shlibpath_var=no
7.7586 + case $host_os in
7.7587 + solaris2.[0-5] | solaris2.[0-5].*) ;;
7.7588 + *)
7.7589 + # The compiler driver will combine linker options so we
7.7590 + # cannot just pass the convience library names through
7.7591 + # without $wl, iff we do not link with $LD.
7.7592 + # Luckily, gcc supports the same syntax we need for Sun Studio.
7.7593 + # Supported since Solaris 2.6 (maybe 2.5.1?)
7.7594 + case $wlarc in
7.7595 + '')
7.7596 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7.7597 + *)
7.7598 + whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7.7599 + esac ;;
7.7600 + esac
7.7601 + link_all_deplibs=yes
7.7602 + ;;
7.7603 +
7.7604 + sunos4*)
7.7605 + if test "x$host_vendor" = xsequent; then
7.7606 + # Use $CC to link under sequent, because it throws in some extra .o
7.7607 + # files that make .init and .fini sections work.
7.7608 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7.7609 + else
7.7610 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7.7611 + fi
7.7612 + hardcode_libdir_flag_spec='-L$libdir'
7.7613 + hardcode_direct=yes
7.7614 + hardcode_minus_L=yes
7.7615 + hardcode_shlibpath_var=no
7.7616 + ;;
7.7617 +
7.7618 + sysv4)
7.7619 + case $host_vendor in
7.7620 + sni)
7.7621 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.7622 + hardcode_direct=yes # is this really true???
7.7623 + ;;
7.7624 + siemens)
7.7625 + ## LD is ld it makes a PLAMLIB
7.7626 + ## CC just makes a GrossModule.
7.7627 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7.7628 + reload_cmds='$CC -r -o $output$reload_objs'
7.7629 + hardcode_direct=no
7.7630 + ;;
7.7631 + motorola)
7.7632 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.7633 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7.7634 + ;;
7.7635 + esac
7.7636 + runpath_var='LD_RUN_PATH'
7.7637 + hardcode_shlibpath_var=no
7.7638 + ;;
7.7639 +
7.7640 + sysv4.3*)
7.7641 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.7642 + hardcode_shlibpath_var=no
7.7643 + export_dynamic_flag_spec='-Bexport'
7.7644 + ;;
7.7645 +
7.7646 + sysv4*MP*)
7.7647 + if test -d /usr/nec; then
7.7648 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.7649 + hardcode_shlibpath_var=no
7.7650 + runpath_var=LD_RUN_PATH
7.7651 + hardcode_runpath_var=yes
7.7652 + ld_shlibs=yes
7.7653 + fi
7.7654 + ;;
7.7655 +
7.7656 + sysv4.2uw2*)
7.7657 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7.7658 + hardcode_direct=yes
7.7659 + hardcode_minus_L=no
7.7660 + hardcode_shlibpath_var=no
7.7661 + hardcode_runpath_var=yes
7.7662 + runpath_var=LD_RUN_PATH
7.7663 + ;;
7.7664 +
7.7665 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7.7666 + no_undefined_flag='${wl}-z ${wl}text'
7.7667 + if test "$GCC" = yes; then
7.7668 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.7669 + else
7.7670 + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.7671 + fi
7.7672 + runpath_var='LD_RUN_PATH'
7.7673 + hardcode_shlibpath_var=no
7.7674 + ;;
7.7675 +
7.7676 + sysv5*)
7.7677 + no_undefined_flag=' -z text'
7.7678 + # $CC -shared without GNU ld will not create a library from C++
7.7679 + # object files and a static libstdc++, better avoid it by now
7.7680 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.7681 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.7682 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7.7683 + hardcode_libdir_flag_spec=
7.7684 + hardcode_shlibpath_var=no
7.7685 + runpath_var='LD_RUN_PATH'
7.7686 + ;;
7.7687 +
7.7688 + uts4*)
7.7689 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.7690 + hardcode_libdir_flag_spec='-L$libdir'
7.7691 + hardcode_shlibpath_var=no
7.7692 + ;;
7.7693 +
7.7694 + *)
7.7695 + ld_shlibs=no
7.7696 + ;;
7.7697 + esac
7.7698 + fi
7.7699 +
7.7700 +echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7.7701 +echo "${ECHO_T}$ld_shlibs" >&6
7.7702 +test "$ld_shlibs" = no && can_build_shared=no
7.7703 +
7.7704 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7.7705 +if test "$GCC" = yes; then
7.7706 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7.7707 +fi
7.7708 +
7.7709 +#
7.7710 +# Do we need to explicitly link libc?
7.7711 +#
7.7712 +case "x$archive_cmds_need_lc" in
7.7713 +x|xyes)
7.7714 + # Assume -lc should be added
7.7715 + archive_cmds_need_lc=yes
7.7716 +
7.7717 + if test "$enable_shared" = yes && test "$GCC" = yes; then
7.7718 + case $archive_cmds in
7.7719 + *'~'*)
7.7720 + # FIXME: we may have to deal with multi-command sequences.
7.7721 + ;;
7.7722 + '$CC '*)
7.7723 + # Test whether the compiler implicitly links with -lc since on some
7.7724 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
7.7725 + # to ld, don't add -lc before -lgcc.
7.7726 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7.7727 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7.7728 + $rm conftest*
7.7729 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.7730 +
7.7731 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.7732 + (eval $ac_compile) 2>&5
7.7733 + ac_status=$?
7.7734 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.7735 + (exit $ac_status); } 2>conftest.err; then
7.7736 + soname=conftest
7.7737 + lib=conftest
7.7738 + libobjs=conftest.$ac_objext
7.7739 + deplibs=
7.7740 + wl=$lt_prog_compiler_wl
7.7741 + compiler_flags=-v
7.7742 + linker_flags=-v
7.7743 + verstring=
7.7744 + output_objdir=.
7.7745 + libname=conftest
7.7746 + lt_save_allow_undefined_flag=$allow_undefined_flag
7.7747 + allow_undefined_flag=
7.7748 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7.7749 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7.7750 + ac_status=$?
7.7751 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.7752 + (exit $ac_status); }
7.7753 + then
7.7754 + archive_cmds_need_lc=no
7.7755 + else
7.7756 + archive_cmds_need_lc=yes
7.7757 + fi
7.7758 + allow_undefined_flag=$lt_save_allow_undefined_flag
7.7759 + else
7.7760 + cat conftest.err 1>&5
7.7761 + fi
7.7762 + $rm conftest*
7.7763 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7.7764 +echo "${ECHO_T}$archive_cmds_need_lc" >&6
7.7765 + ;;
7.7766 + esac
7.7767 + fi
7.7768 + ;;
7.7769 +esac
7.7770 +
7.7771 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7.7772 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7.7773 +library_names_spec=
7.7774 +libname_spec='lib$name'
7.7775 +soname_spec=
7.7776 +shrext_cmds=".so"
7.7777 +postinstall_cmds=
7.7778 +postuninstall_cmds=
7.7779 +finish_cmds=
7.7780 +finish_eval=
7.7781 +shlibpath_var=
7.7782 +shlibpath_overrides_runpath=unknown
7.7783 +version_type=none
7.7784 +dynamic_linker="$host_os ld.so"
7.7785 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
7.7786 +if test "$GCC" = yes; then
7.7787 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7.7788 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7.7789 + # if the path contains ";" then we assume it to be the separator
7.7790 + # otherwise default to the standard path separator (i.e. ":") - it is
7.7791 + # assumed that no part of a normal pathname contains ";" but that should
7.7792 + # okay in the real world where ";" in dirpaths is itself problematic.
7.7793 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7.7794 + else
7.7795 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7.7796 + fi
7.7797 +else
7.7798 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7.7799 +fi
7.7800 +need_lib_prefix=unknown
7.7801 +hardcode_into_libs=no
7.7802 +
7.7803 +# when you set need_version to no, make sure it does not cause -set_version
7.7804 +# flags to be left without arguments
7.7805 +need_version=unknown
7.7806 +
7.7807 +case $host_os in
7.7808 +aix3*)
7.7809 + version_type=linux
7.7810 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7.7811 + shlibpath_var=LIBPATH
7.7812 +
7.7813 + # AIX 3 has no versioning support, so we append a major version to the name.
7.7814 + soname_spec='${libname}${release}${shared_ext}$major'
7.7815 + ;;
7.7816 +
7.7817 +aix4* | aix5*)
7.7818 + version_type=linux
7.7819 + need_lib_prefix=no
7.7820 + need_version=no
7.7821 + hardcode_into_libs=yes
7.7822 + if test "$host_cpu" = ia64; then
7.7823 + # AIX 5 supports IA64
7.7824 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7.7825 + shlibpath_var=LD_LIBRARY_PATH
7.7826 + else
7.7827 + # With GCC up to 2.95.x, collect2 would create an import file
7.7828 + # for dependence libraries. The import file would start with
7.7829 + # the line `#! .'. This would cause the generated library to
7.7830 + # depend on `.', always an invalid library. This was fixed in
7.7831 + # development snapshots of GCC prior to 3.0.
7.7832 + case $host_os in
7.7833 + aix4 | aix4.[01] | aix4.[01].*)
7.7834 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7.7835 + echo ' yes '
7.7836 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7.7837 + :
7.7838 + else
7.7839 + can_build_shared=no
7.7840 + fi
7.7841 + ;;
7.7842 + esac
7.7843 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7.7844 + # soname into executable. Probably we can add versioning support to
7.7845 + # collect2, so additional links can be useful in future.
7.7846 + if test "$aix_use_runtimelinking" = yes; then
7.7847 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7.7848 + # instead of lib<name>.a to let people know that these are not
7.7849 + # typical AIX shared libraries.
7.7850 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.7851 + else
7.7852 + # We preserve .a as extension for shared libraries through AIX4.2
7.7853 + # and later when we are not doing run time linking.
7.7854 + library_names_spec='${libname}${release}.a $libname.a'
7.7855 + soname_spec='${libname}${release}${shared_ext}$major'
7.7856 + fi
7.7857 + shlibpath_var=LIBPATH
7.7858 + fi
7.7859 + ;;
7.7860 +
7.7861 +amigaos*)
7.7862 + library_names_spec='$libname.ixlibrary $libname.a'
7.7863 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
7.7864 + 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'
7.7865 + ;;
7.7866 +
7.7867 +beos*)
7.7868 + library_names_spec='${libname}${shared_ext}'
7.7869 + dynamic_linker="$host_os ld.so"
7.7870 + shlibpath_var=LIBRARY_PATH
7.7871 + ;;
7.7872 +
7.7873 +bsdi[45]*)
7.7874 + version_type=linux
7.7875 + need_version=no
7.7876 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.7877 + soname_spec='${libname}${release}${shared_ext}$major'
7.7878 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7.7879 + shlibpath_var=LD_LIBRARY_PATH
7.7880 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7.7881 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7.7882 + # the default ld.so.conf also contains /usr/contrib/lib and
7.7883 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7.7884 + # libtool to hard-code these into programs
7.7885 + ;;
7.7886 +
7.7887 +cygwin* | mingw* | pw32*)
7.7888 + version_type=windows
7.7889 + shrext_cmds=".dll"
7.7890 + need_version=no
7.7891 + need_lib_prefix=no
7.7892 +
7.7893 + case $GCC,$host_os in
7.7894 + yes,cygwin* | yes,mingw* | yes,pw32*)
7.7895 + library_names_spec='$libname.dll.a'
7.7896 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
7.7897 + postinstall_cmds='base_file=`basename \${file}`~
7.7898 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7.7899 + dldir=$destdir/`dirname \$dlpath`~
7.7900 + test -d \$dldir || mkdir -p \$dldir~
7.7901 + $install_prog $dir/$dlname \$dldir/$dlname~
7.7902 + chmod a+x \$dldir/$dlname'
7.7903 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7.7904 + dlpath=$dir/\$dldll~
7.7905 + $rm \$dlpath'
7.7906 + shlibpath_overrides_runpath=yes
7.7907 +
7.7908 + case $host_os in
7.7909 + cygwin*)
7.7910 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7.7911 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.7912 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
7.7913 + ;;
7.7914 + mingw*)
7.7915 + # MinGW DLLs use traditional 'lib' prefix
7.7916 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.7917 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7.7918 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7.7919 + # It is most probably a Windows format PATH printed by
7.7920 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
7.7921 + # path with ; separators, and with drive letters. We can handle the
7.7922 + # drive letters (cygwin fileutils understands them), so leave them,
7.7923 + # especially as we might pass files found there to a mingw objdump,
7.7924 + # which wouldn't understand a cygwinified path. Ahh.
7.7925 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7.7926 + else
7.7927 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7.7928 + fi
7.7929 + ;;
7.7930 + pw32*)
7.7931 + # pw32 DLLs use 'pw' prefix rather than 'lib'
7.7932 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.7933 + ;;
7.7934 + esac
7.7935 + ;;
7.7936 +
7.7937 + *)
7.7938 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7.7939 + ;;
7.7940 + esac
7.7941 + dynamic_linker='Win32 ld.exe'
7.7942 + # FIXME: first we should search . and the directory the executable is in
7.7943 + shlibpath_var=PATH
7.7944 + ;;
7.7945 +
7.7946 +darwin* | rhapsody*)
7.7947 + dynamic_linker="$host_os dyld"
7.7948 + version_type=darwin
7.7949 + need_lib_prefix=no
7.7950 + need_version=no
7.7951 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7.7952 + soname_spec='${libname}${release}${major}$shared_ext'
7.7953 + shlibpath_overrides_runpath=yes
7.7954 + shlibpath_var=DYLD_LIBRARY_PATH
7.7955 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7.7956 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7.7957 + if test "$GCC" = yes; then
7.7958 + 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"`
7.7959 + else
7.7960 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7.7961 + fi
7.7962 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7.7963 + ;;
7.7964 +
7.7965 +dgux*)
7.7966 + version_type=linux
7.7967 + need_lib_prefix=no
7.7968 + need_version=no
7.7969 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7.7970 + soname_spec='${libname}${release}${shared_ext}$major'
7.7971 + shlibpath_var=LD_LIBRARY_PATH
7.7972 + ;;
7.7973 +
7.7974 +freebsd1*)
7.7975 + dynamic_linker=no
7.7976 + ;;
7.7977 +
7.7978 +kfreebsd*-gnu)
7.7979 + version_type=linux
7.7980 + need_lib_prefix=no
7.7981 + need_version=no
7.7982 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.7983 + soname_spec='${libname}${release}${shared_ext}$major'
7.7984 + shlibpath_var=LD_LIBRARY_PATH
7.7985 + shlibpath_overrides_runpath=no
7.7986 + hardcode_into_libs=yes
7.7987 + dynamic_linker='GNU ld.so'
7.7988 + ;;
7.7989 +
7.7990 +freebsd* | dragonfly*)
7.7991 + # DragonFly does not have aout. When/if they implement a new
7.7992 + # versioning mechanism, adjust this.
7.7993 + if test -x /usr/bin/objformat; then
7.7994 + objformat=`/usr/bin/objformat`
7.7995 + else
7.7996 + case $host_os in
7.7997 + freebsd[123]*) objformat=aout ;;
7.7998 + *) objformat=elf ;;
7.7999 + esac
7.8000 + fi
7.8001 + version_type=freebsd-$objformat
7.8002 + case $version_type in
7.8003 + freebsd-elf*)
7.8004 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7.8005 + need_version=no
7.8006 + need_lib_prefix=no
7.8007 + ;;
7.8008 + freebsd-*)
7.8009 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7.8010 + need_version=yes
7.8011 + ;;
7.8012 + esac
7.8013 + shlibpath_var=LD_LIBRARY_PATH
7.8014 + case $host_os in
7.8015 + freebsd2*)
7.8016 + shlibpath_overrides_runpath=yes
7.8017 + ;;
7.8018 + freebsd3.[01]* | freebsdelf3.[01]*)
7.8019 + shlibpath_overrides_runpath=yes
7.8020 + hardcode_into_libs=yes
7.8021 + ;;
7.8022 + *) # from 3.2 on
7.8023 + shlibpath_overrides_runpath=no
7.8024 + hardcode_into_libs=yes
7.8025 + ;;
7.8026 + esac
7.8027 + ;;
7.8028 +
7.8029 +gnu*)
7.8030 + version_type=linux
7.8031 + need_lib_prefix=no
7.8032 + need_version=no
7.8033 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7.8034 + soname_spec='${libname}${release}${shared_ext}$major'
7.8035 + shlibpath_var=LD_LIBRARY_PATH
7.8036 + hardcode_into_libs=yes
7.8037 + ;;
7.8038 +
7.8039 +hpux9* | hpux10* | hpux11*)
7.8040 + # Give a soname corresponding to the major version so that dld.sl refuses to
7.8041 + # link against other versions.
7.8042 + version_type=sunos
7.8043 + need_lib_prefix=no
7.8044 + need_version=no
7.8045 + case $host_cpu in
7.8046 + ia64*)
7.8047 + shrext_cmds='.so'
7.8048 + hardcode_into_libs=yes
7.8049 + dynamic_linker="$host_os dld.so"
7.8050 + shlibpath_var=LD_LIBRARY_PATH
7.8051 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7.8052 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.8053 + soname_spec='${libname}${release}${shared_ext}$major'
7.8054 + if test "X$HPUX_IA64_MODE" = X32; then
7.8055 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7.8056 + else
7.8057 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7.8058 + fi
7.8059 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7.8060 + ;;
7.8061 + hppa*64*)
7.8062 + shrext_cmds='.sl'
7.8063 + hardcode_into_libs=yes
7.8064 + dynamic_linker="$host_os dld.sl"
7.8065 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7.8066 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7.8067 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.8068 + soname_spec='${libname}${release}${shared_ext}$major'
7.8069 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7.8070 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7.8071 + ;;
7.8072 + *)
7.8073 + shrext_cmds='.sl'
7.8074 + dynamic_linker="$host_os dld.sl"
7.8075 + shlibpath_var=SHLIB_PATH
7.8076 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7.8077 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.8078 + soname_spec='${libname}${release}${shared_ext}$major'
7.8079 + ;;
7.8080 + esac
7.8081 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
7.8082 + postinstall_cmds='chmod 555 $lib'
7.8083 + ;;
7.8084 +
7.8085 +irix5* | irix6* | nonstopux*)
7.8086 + case $host_os in
7.8087 + nonstopux*) version_type=nonstopux ;;
7.8088 + *)
7.8089 + if test "$lt_cv_prog_gnu_ld" = yes; then
7.8090 + version_type=linux
7.8091 + else
7.8092 + version_type=irix
7.8093 + fi ;;
7.8094 + esac
7.8095 + need_lib_prefix=no
7.8096 + need_version=no
7.8097 + soname_spec='${libname}${release}${shared_ext}$major'
7.8098 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7.8099 + case $host_os in
7.8100 + irix5* | nonstopux*)
7.8101 + libsuff= shlibsuff=
7.8102 + ;;
7.8103 + *)
7.8104 + case $LD in # libtool.m4 will add one of these switches to LD
7.8105 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7.8106 + libsuff= shlibsuff= libmagic=32-bit;;
7.8107 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7.8108 + libsuff=32 shlibsuff=N32 libmagic=N32;;
7.8109 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7.8110 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
7.8111 + *) libsuff= shlibsuff= libmagic=never-match;;
7.8112 + esac
7.8113 + ;;
7.8114 + esac
7.8115 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7.8116 + shlibpath_overrides_runpath=no
7.8117 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7.8118 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7.8119 + hardcode_into_libs=yes
7.8120 + ;;
7.8121 +
7.8122 +# No shared lib support for Linux oldld, aout, or coff.
7.8123 +linux*oldld* | linux*aout* | linux*coff*)
7.8124 + dynamic_linker=no
7.8125 + ;;
7.8126 +
7.8127 +# This must be Linux ELF.
7.8128 +linux*)
7.8129 + version_type=linux
7.8130 + need_lib_prefix=no
7.8131 + need_version=no
7.8132 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.8133 + soname_spec='${libname}${release}${shared_ext}$major'
7.8134 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7.8135 + shlibpath_var=LD_LIBRARY_PATH
7.8136 + shlibpath_overrides_runpath=no
7.8137 + # This implies no fast_install, which is unacceptable.
7.8138 + # Some rework will be needed to allow for fast_install
7.8139 + # before this can be enabled.
7.8140 + hardcode_into_libs=yes
7.8141 +
7.8142 + # Append ld.so.conf contents to the search path
7.8143 + if test -f /etc/ld.so.conf; then
7.8144 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
7.8145 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7.8146 + fi
7.8147 +
7.8148 + # We used to test for /lib/ld.so.1 and disable shared libraries on
7.8149 + # powerpc, because MkLinux only supported shared libraries with the
7.8150 + # GNU dynamic linker. Since this was broken with cross compilers,
7.8151 + # most powerpc-linux boxes support dynamic linking these days and
7.8152 + # people can always --disable-shared, the test was removed, and we
7.8153 + # assume the GNU/Linux dynamic linker is in use.
7.8154 + dynamic_linker='GNU/Linux ld.so'
7.8155 + ;;
7.8156 +
7.8157 +knetbsd*-gnu)
7.8158 + version_type=linux
7.8159 + need_lib_prefix=no
7.8160 + need_version=no
7.8161 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.8162 + soname_spec='${libname}${release}${shared_ext}$major'
7.8163 + shlibpath_var=LD_LIBRARY_PATH
7.8164 + shlibpath_overrides_runpath=no
7.8165 + hardcode_into_libs=yes
7.8166 + dynamic_linker='GNU ld.so'
7.8167 + ;;
7.8168 +
7.8169 +netbsd*)
7.8170 + version_type=sunos
7.8171 + need_lib_prefix=no
7.8172 + need_version=no
7.8173 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7.8174 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.8175 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7.8176 + dynamic_linker='NetBSD (a.out) ld.so'
7.8177 + else
7.8178 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.8179 + soname_spec='${libname}${release}${shared_ext}$major'
7.8180 + dynamic_linker='NetBSD ld.elf_so'
7.8181 + fi
7.8182 + shlibpath_var=LD_LIBRARY_PATH
7.8183 + shlibpath_overrides_runpath=yes
7.8184 + hardcode_into_libs=yes
7.8185 + ;;
7.8186 +
7.8187 +newsos6)
7.8188 + version_type=linux
7.8189 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.8190 + shlibpath_var=LD_LIBRARY_PATH
7.8191 + shlibpath_overrides_runpath=yes
7.8192 + ;;
7.8193 +
7.8194 +nto-qnx*)
7.8195 + version_type=linux
7.8196 + need_lib_prefix=no
7.8197 + need_version=no
7.8198 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.8199 + soname_spec='${libname}${release}${shared_ext}$major'
7.8200 + shlibpath_var=LD_LIBRARY_PATH
7.8201 + shlibpath_overrides_runpath=yes
7.8202 + ;;
7.8203 +
7.8204 +openbsd*)
7.8205 + version_type=sunos
7.8206 + need_lib_prefix=no
7.8207 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
7.8208 + case $host_os in
7.8209 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
7.8210 + *) need_version=no ;;
7.8211 + esac
7.8212 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.8213 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7.8214 + shlibpath_var=LD_LIBRARY_PATH
7.8215 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7.8216 + case $host_os in
7.8217 + openbsd2.[89] | openbsd2.[89].*)
7.8218 + shlibpath_overrides_runpath=no
7.8219 + ;;
7.8220 + *)
7.8221 + shlibpath_overrides_runpath=yes
7.8222 + ;;
7.8223 + esac
7.8224 + else
7.8225 + shlibpath_overrides_runpath=yes
7.8226 + fi
7.8227 + ;;
7.8228 +
7.8229 +os2*)
7.8230 + libname_spec='$name'
7.8231 + shrext_cmds=".dll"
7.8232 + need_lib_prefix=no
7.8233 + library_names_spec='$libname${shared_ext} $libname.a'
7.8234 + dynamic_linker='OS/2 ld.exe'
7.8235 + shlibpath_var=LIBPATH
7.8236 + ;;
7.8237 +
7.8238 +osf3* | osf4* | osf5*)
7.8239 + version_type=osf
7.8240 + need_lib_prefix=no
7.8241 + need_version=no
7.8242 + soname_spec='${libname}${release}${shared_ext}$major'
7.8243 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.8244 + shlibpath_var=LD_LIBRARY_PATH
7.8245 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7.8246 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7.8247 + ;;
7.8248 +
7.8249 +sco3.2v5*)
7.8250 + version_type=osf
7.8251 + soname_spec='${libname}${release}${shared_ext}$major'
7.8252 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.8253 + shlibpath_var=LD_LIBRARY_PATH
7.8254 + ;;
7.8255 +
7.8256 +solaris*)
7.8257 + version_type=linux
7.8258 + need_lib_prefix=no
7.8259 + need_version=no
7.8260 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.8261 + soname_spec='${libname}${release}${shared_ext}$major'
7.8262 + shlibpath_var=LD_LIBRARY_PATH
7.8263 + shlibpath_overrides_runpath=yes
7.8264 + hardcode_into_libs=yes
7.8265 + # ldd complains unless libraries are executable
7.8266 + postinstall_cmds='chmod +x $lib'
7.8267 + ;;
7.8268 +
7.8269 +sunos4*)
7.8270 + version_type=sunos
7.8271 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.8272 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7.8273 + shlibpath_var=LD_LIBRARY_PATH
7.8274 + shlibpath_overrides_runpath=yes
7.8275 + if test "$with_gnu_ld" = yes; then
7.8276 + need_lib_prefix=no
7.8277 + fi
7.8278 + need_version=yes
7.8279 + ;;
7.8280 +
7.8281 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7.8282 + version_type=linux
7.8283 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.8284 + soname_spec='${libname}${release}${shared_ext}$major'
7.8285 + shlibpath_var=LD_LIBRARY_PATH
7.8286 + case $host_vendor in
7.8287 + sni)
7.8288 + shlibpath_overrides_runpath=no
7.8289 + need_lib_prefix=no
7.8290 + export_dynamic_flag_spec='${wl}-Blargedynsym'
7.8291 + runpath_var=LD_RUN_PATH
7.8292 + ;;
7.8293 + siemens)
7.8294 + need_lib_prefix=no
7.8295 + ;;
7.8296 + motorola)
7.8297 + need_lib_prefix=no
7.8298 + need_version=no
7.8299 + shlibpath_overrides_runpath=no
7.8300 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7.8301 + ;;
7.8302 + esac
7.8303 + ;;
7.8304 +
7.8305 +sysv4*MP*)
7.8306 + if test -d /usr/nec ;then
7.8307 + version_type=linux
7.8308 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
7.8309 + soname_spec='$libname${shared_ext}.$major'
7.8310 + shlibpath_var=LD_LIBRARY_PATH
7.8311 + fi
7.8312 + ;;
7.8313 +
7.8314 +uts4*)
7.8315 + version_type=linux
7.8316 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.8317 + soname_spec='${libname}${release}${shared_ext}$major'
7.8318 + shlibpath_var=LD_LIBRARY_PATH
7.8319 + ;;
7.8320 +
7.8321 +*)
7.8322 + dynamic_linker=no
7.8323 + ;;
7.8324 +esac
7.8325 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7.8326 +echo "${ECHO_T}$dynamic_linker" >&6
7.8327 +test "$dynamic_linker" = no && can_build_shared=no
7.8328 +
7.8329 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7.8330 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7.8331 +hardcode_action=
7.8332 +if test -n "$hardcode_libdir_flag_spec" || \
7.8333 + test -n "$runpath_var" || \
7.8334 + test "X$hardcode_automatic" = "Xyes" ; then
7.8335 +
7.8336 + # We can hardcode non-existant directories.
7.8337 + if test "$hardcode_direct" != no &&
7.8338 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
7.8339 + # have to relink, otherwise we might link with an installed library
7.8340 + # when we should be linking with a yet-to-be-installed one
7.8341 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7.8342 + test "$hardcode_minus_L" != no; then
7.8343 + # Linking always hardcodes the temporary library directory.
7.8344 + hardcode_action=relink
7.8345 + else
7.8346 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
7.8347 + hardcode_action=immediate
7.8348 + fi
7.8349 +else
7.8350 + # We cannot hardcode anything, or else we can only hardcode existing
7.8351 + # directories.
7.8352 + hardcode_action=unsupported
7.8353 +fi
7.8354 +echo "$as_me:$LINENO: result: $hardcode_action" >&5
7.8355 +echo "${ECHO_T}$hardcode_action" >&6
7.8356 +
7.8357 +if test "$hardcode_action" = relink; then
7.8358 + # Fast installation is not supported
7.8359 + enable_fast_install=no
7.8360 +elif test "$shlibpath_overrides_runpath" = yes ||
7.8361 + test "$enable_shared" = no; then
7.8362 + # Fast installation is not necessary
7.8363 + enable_fast_install=needless
7.8364 +fi
7.8365 +
7.8366 +striplib=
7.8367 +old_striplib=
7.8368 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7.8369 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7.8370 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7.8371 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7.8372 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7.8373 + echo "$as_me:$LINENO: result: yes" >&5
7.8374 +echo "${ECHO_T}yes" >&6
7.8375 +else
7.8376 +# FIXME - insert some real tests, host_os isn't really good enough
7.8377 + case $host_os in
7.8378 + darwin*)
7.8379 + if test -n "$STRIP" ; then
7.8380 + striplib="$STRIP -x"
7.8381 + echo "$as_me:$LINENO: result: yes" >&5
7.8382 +echo "${ECHO_T}yes" >&6
7.8383 + else
7.8384 + echo "$as_me:$LINENO: result: no" >&5
7.8385 +echo "${ECHO_T}no" >&6
7.8386 +fi
7.8387 + ;;
7.8388 + *)
7.8389 + echo "$as_me:$LINENO: result: no" >&5
7.8390 +echo "${ECHO_T}no" >&6
7.8391 + ;;
7.8392 + esac
7.8393 +fi
7.8394 +
7.8395 +if test "x$enable_dlopen" != xyes; then
7.8396 + enable_dlopen=unknown
7.8397 + enable_dlopen_self=unknown
7.8398 + enable_dlopen_self_static=unknown
7.8399 +else
7.8400 + lt_cv_dlopen=no
7.8401 + lt_cv_dlopen_libs=
7.8402 +
7.8403 + case $host_os in
7.8404 + beos*)
7.8405 + lt_cv_dlopen="load_add_on"
7.8406 + lt_cv_dlopen_libs=
7.8407 + lt_cv_dlopen_self=yes
7.8408 + ;;
7.8409 +
7.8410 + mingw* | pw32*)
7.8411 + lt_cv_dlopen="LoadLibrary"
7.8412 + lt_cv_dlopen_libs=
7.8413 + ;;
7.8414 +
7.8415 + cygwin*)
7.8416 + lt_cv_dlopen="dlopen"
7.8417 + lt_cv_dlopen_libs=
7.8418 + ;;
7.8419 +
7.8420 + darwin*)
7.8421 + # if libdl is installed we need to link against it
7.8422 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7.8423 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7.8424 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7.8425 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.8426 +else
7.8427 + ac_check_lib_save_LIBS=$LIBS
7.8428 +LIBS="-ldl $LIBS"
7.8429 +cat >conftest.$ac_ext <<_ACEOF
7.8430 +/* confdefs.h. */
7.8431 +_ACEOF
7.8432 +cat confdefs.h >>conftest.$ac_ext
7.8433 +cat >>conftest.$ac_ext <<_ACEOF
7.8434 +/* end confdefs.h. */
7.8435 +
7.8436 +/* Override any gcc2 internal prototype to avoid an error. */
7.8437 +#ifdef __cplusplus
7.8438 +extern "C"
7.8439 +#endif
7.8440 +/* We use char because int might match the return type of a gcc2
7.8441 + builtin and then its argument prototype would still apply. */
7.8442 +char dlopen ();
7.8443 +int
7.8444 +main ()
7.8445 +{
7.8446 +dlopen ();
7.8447 + ;
7.8448 + return 0;
7.8449 +}
7.8450 +_ACEOF
7.8451 +rm -f conftest.$ac_objext conftest$ac_exeext
7.8452 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.8453 + (eval $ac_link) 2>conftest.er1
7.8454 + ac_status=$?
7.8455 + grep -v '^ *+' conftest.er1 >conftest.err
7.8456 + rm -f conftest.er1
7.8457 + cat conftest.err >&5
7.8458 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8459 + (exit $ac_status); } &&
7.8460 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.8461 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8462 + (eval $ac_try) 2>&5
7.8463 + ac_status=$?
7.8464 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8465 + (exit $ac_status); }; } &&
7.8466 + { ac_try='test -s conftest$ac_exeext'
7.8467 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8468 + (eval $ac_try) 2>&5
7.8469 + ac_status=$?
7.8470 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8471 + (exit $ac_status); }; }; then
7.8472 + ac_cv_lib_dl_dlopen=yes
7.8473 +else
7.8474 + echo "$as_me: failed program was:" >&5
7.8475 +sed 's/^/| /' conftest.$ac_ext >&5
7.8476 +
7.8477 +ac_cv_lib_dl_dlopen=no
7.8478 +fi
7.8479 +rm -f conftest.err conftest.$ac_objext \
7.8480 + conftest$ac_exeext conftest.$ac_ext
7.8481 +LIBS=$ac_check_lib_save_LIBS
7.8482 +fi
7.8483 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7.8484 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7.8485 +if test $ac_cv_lib_dl_dlopen = yes; then
7.8486 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7.8487 +else
7.8488 +
7.8489 + lt_cv_dlopen="dyld"
7.8490 + lt_cv_dlopen_libs=
7.8491 + lt_cv_dlopen_self=yes
7.8492 +
7.8493 +fi
7.8494 +
7.8495 + ;;
7.8496 +
7.8497 + *)
7.8498 + echo "$as_me:$LINENO: checking for shl_load" >&5
7.8499 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7.8500 +if test "${ac_cv_func_shl_load+set}" = set; then
7.8501 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.8502 +else
7.8503 + cat >conftest.$ac_ext <<_ACEOF
7.8504 +/* confdefs.h. */
7.8505 +_ACEOF
7.8506 +cat confdefs.h >>conftest.$ac_ext
7.8507 +cat >>conftest.$ac_ext <<_ACEOF
7.8508 +/* end confdefs.h. */
7.8509 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
7.8510 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
7.8511 +#define shl_load innocuous_shl_load
7.8512 +
7.8513 +/* System header to define __stub macros and hopefully few prototypes,
7.8514 + which can conflict with char shl_load (); below.
7.8515 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.8516 + <limits.h> exists even on freestanding compilers. */
7.8517 +
7.8518 +#ifdef __STDC__
7.8519 +# include <limits.h>
7.8520 +#else
7.8521 +# include <assert.h>
7.8522 +#endif
7.8523 +
7.8524 +#undef shl_load
7.8525 +
7.8526 +/* Override any gcc2 internal prototype to avoid an error. */
7.8527 +#ifdef __cplusplus
7.8528 +extern "C"
7.8529 +{
7.8530 +#endif
7.8531 +/* We use char because int might match the return type of a gcc2
7.8532 + builtin and then its argument prototype would still apply. */
7.8533 +char shl_load ();
7.8534 +/* The GNU C library defines this for functions which it implements
7.8535 + to always fail with ENOSYS. Some functions are actually named
7.8536 + something starting with __ and the normal name is an alias. */
7.8537 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
7.8538 +choke me
7.8539 +#else
7.8540 +char (*f) () = shl_load;
7.8541 +#endif
7.8542 +#ifdef __cplusplus
7.8543 +}
7.8544 +#endif
7.8545 +
7.8546 +int
7.8547 +main ()
7.8548 +{
7.8549 +return f != shl_load;
7.8550 + ;
7.8551 + return 0;
7.8552 +}
7.8553 +_ACEOF
7.8554 +rm -f conftest.$ac_objext conftest$ac_exeext
7.8555 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.8556 + (eval $ac_link) 2>conftest.er1
7.8557 + ac_status=$?
7.8558 + grep -v '^ *+' conftest.er1 >conftest.err
7.8559 + rm -f conftest.er1
7.8560 + cat conftest.err >&5
7.8561 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8562 + (exit $ac_status); } &&
7.8563 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.8564 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8565 + (eval $ac_try) 2>&5
7.8566 + ac_status=$?
7.8567 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8568 + (exit $ac_status); }; } &&
7.8569 + { ac_try='test -s conftest$ac_exeext'
7.8570 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8571 + (eval $ac_try) 2>&5
7.8572 + ac_status=$?
7.8573 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8574 + (exit $ac_status); }; }; then
7.8575 + ac_cv_func_shl_load=yes
7.8576 +else
7.8577 + echo "$as_me: failed program was:" >&5
7.8578 +sed 's/^/| /' conftest.$ac_ext >&5
7.8579 +
7.8580 +ac_cv_func_shl_load=no
7.8581 +fi
7.8582 +rm -f conftest.err conftest.$ac_objext \
7.8583 + conftest$ac_exeext conftest.$ac_ext
7.8584 +fi
7.8585 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7.8586 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7.8587 +if test $ac_cv_func_shl_load = yes; then
7.8588 + lt_cv_dlopen="shl_load"
7.8589 +else
7.8590 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7.8591 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7.8592 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7.8593 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.8594 +else
7.8595 + ac_check_lib_save_LIBS=$LIBS
7.8596 +LIBS="-ldld $LIBS"
7.8597 +cat >conftest.$ac_ext <<_ACEOF
7.8598 +/* confdefs.h. */
7.8599 +_ACEOF
7.8600 +cat confdefs.h >>conftest.$ac_ext
7.8601 +cat >>conftest.$ac_ext <<_ACEOF
7.8602 +/* end confdefs.h. */
7.8603 +
7.8604 +/* Override any gcc2 internal prototype to avoid an error. */
7.8605 +#ifdef __cplusplus
7.8606 +extern "C"
7.8607 +#endif
7.8608 +/* We use char because int might match the return type of a gcc2
7.8609 + builtin and then its argument prototype would still apply. */
7.8610 +char shl_load ();
7.8611 +int
7.8612 +main ()
7.8613 +{
7.8614 +shl_load ();
7.8615 + ;
7.8616 + return 0;
7.8617 +}
7.8618 +_ACEOF
7.8619 +rm -f conftest.$ac_objext conftest$ac_exeext
7.8620 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.8621 + (eval $ac_link) 2>conftest.er1
7.8622 + ac_status=$?
7.8623 + grep -v '^ *+' conftest.er1 >conftest.err
7.8624 + rm -f conftest.er1
7.8625 + cat conftest.err >&5
7.8626 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8627 + (exit $ac_status); } &&
7.8628 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.8629 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8630 + (eval $ac_try) 2>&5
7.8631 + ac_status=$?
7.8632 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8633 + (exit $ac_status); }; } &&
7.8634 + { ac_try='test -s conftest$ac_exeext'
7.8635 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8636 + (eval $ac_try) 2>&5
7.8637 + ac_status=$?
7.8638 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8639 + (exit $ac_status); }; }; then
7.8640 + ac_cv_lib_dld_shl_load=yes
7.8641 +else
7.8642 + echo "$as_me: failed program was:" >&5
7.8643 +sed 's/^/| /' conftest.$ac_ext >&5
7.8644 +
7.8645 +ac_cv_lib_dld_shl_load=no
7.8646 +fi
7.8647 +rm -f conftest.err conftest.$ac_objext \
7.8648 + conftest$ac_exeext conftest.$ac_ext
7.8649 +LIBS=$ac_check_lib_save_LIBS
7.8650 +fi
7.8651 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7.8652 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7.8653 +if test $ac_cv_lib_dld_shl_load = yes; then
7.8654 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
7.8655 +else
7.8656 + echo "$as_me:$LINENO: checking for dlopen" >&5
7.8657 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
7.8658 +if test "${ac_cv_func_dlopen+set}" = set; then
7.8659 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.8660 +else
7.8661 + cat >conftest.$ac_ext <<_ACEOF
7.8662 +/* confdefs.h. */
7.8663 +_ACEOF
7.8664 +cat confdefs.h >>conftest.$ac_ext
7.8665 +cat >>conftest.$ac_ext <<_ACEOF
7.8666 +/* end confdefs.h. */
7.8667 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
7.8668 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
7.8669 +#define dlopen innocuous_dlopen
7.8670 +
7.8671 +/* System header to define __stub macros and hopefully few prototypes,
7.8672 + which can conflict with char dlopen (); below.
7.8673 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.8674 + <limits.h> exists even on freestanding compilers. */
7.8675 +
7.8676 +#ifdef __STDC__
7.8677 +# include <limits.h>
7.8678 +#else
7.8679 +# include <assert.h>
7.8680 +#endif
7.8681 +
7.8682 +#undef dlopen
7.8683 +
7.8684 +/* Override any gcc2 internal prototype to avoid an error. */
7.8685 +#ifdef __cplusplus
7.8686 +extern "C"
7.8687 +{
7.8688 +#endif
7.8689 +/* We use char because int might match the return type of a gcc2
7.8690 + builtin and then its argument prototype would still apply. */
7.8691 +char dlopen ();
7.8692 +/* The GNU C library defines this for functions which it implements
7.8693 + to always fail with ENOSYS. Some functions are actually named
7.8694 + something starting with __ and the normal name is an alias. */
7.8695 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
7.8696 +choke me
7.8697 +#else
7.8698 +char (*f) () = dlopen;
7.8699 +#endif
7.8700 +#ifdef __cplusplus
7.8701 +}
7.8702 +#endif
7.8703 +
7.8704 +int
7.8705 +main ()
7.8706 +{
7.8707 +return f != dlopen;
7.8708 + ;
7.8709 + return 0;
7.8710 +}
7.8711 +_ACEOF
7.8712 +rm -f conftest.$ac_objext conftest$ac_exeext
7.8713 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.8714 + (eval $ac_link) 2>conftest.er1
7.8715 + ac_status=$?
7.8716 + grep -v '^ *+' conftest.er1 >conftest.err
7.8717 + rm -f conftest.er1
7.8718 + cat conftest.err >&5
7.8719 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8720 + (exit $ac_status); } &&
7.8721 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.8722 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8723 + (eval $ac_try) 2>&5
7.8724 + ac_status=$?
7.8725 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8726 + (exit $ac_status); }; } &&
7.8727 + { ac_try='test -s conftest$ac_exeext'
7.8728 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8729 + (eval $ac_try) 2>&5
7.8730 + ac_status=$?
7.8731 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8732 + (exit $ac_status); }; }; then
7.8733 + ac_cv_func_dlopen=yes
7.8734 +else
7.8735 + echo "$as_me: failed program was:" >&5
7.8736 +sed 's/^/| /' conftest.$ac_ext >&5
7.8737 +
7.8738 +ac_cv_func_dlopen=no
7.8739 +fi
7.8740 +rm -f conftest.err conftest.$ac_objext \
7.8741 + conftest$ac_exeext conftest.$ac_ext
7.8742 +fi
7.8743 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7.8744 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7.8745 +if test $ac_cv_func_dlopen = yes; then
7.8746 + lt_cv_dlopen="dlopen"
7.8747 +else
7.8748 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7.8749 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7.8750 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7.8751 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.8752 +else
7.8753 + ac_check_lib_save_LIBS=$LIBS
7.8754 +LIBS="-ldl $LIBS"
7.8755 +cat >conftest.$ac_ext <<_ACEOF
7.8756 +/* confdefs.h. */
7.8757 +_ACEOF
7.8758 +cat confdefs.h >>conftest.$ac_ext
7.8759 +cat >>conftest.$ac_ext <<_ACEOF
7.8760 +/* end confdefs.h. */
7.8761 +
7.8762 +/* Override any gcc2 internal prototype to avoid an error. */
7.8763 +#ifdef __cplusplus
7.8764 +extern "C"
7.8765 +#endif
7.8766 +/* We use char because int might match the return type of a gcc2
7.8767 + builtin and then its argument prototype would still apply. */
7.8768 +char dlopen ();
7.8769 +int
7.8770 +main ()
7.8771 +{
7.8772 +dlopen ();
7.8773 + ;
7.8774 + return 0;
7.8775 +}
7.8776 +_ACEOF
7.8777 +rm -f conftest.$ac_objext conftest$ac_exeext
7.8778 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.8779 + (eval $ac_link) 2>conftest.er1
7.8780 + ac_status=$?
7.8781 + grep -v '^ *+' conftest.er1 >conftest.err
7.8782 + rm -f conftest.er1
7.8783 + cat conftest.err >&5
7.8784 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8785 + (exit $ac_status); } &&
7.8786 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.8787 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8788 + (eval $ac_try) 2>&5
7.8789 + ac_status=$?
7.8790 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8791 + (exit $ac_status); }; } &&
7.8792 + { ac_try='test -s conftest$ac_exeext'
7.8793 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8794 + (eval $ac_try) 2>&5
7.8795 + ac_status=$?
7.8796 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8797 + (exit $ac_status); }; }; then
7.8798 + ac_cv_lib_dl_dlopen=yes
7.8799 +else
7.8800 + echo "$as_me: failed program was:" >&5
7.8801 +sed 's/^/| /' conftest.$ac_ext >&5
7.8802 +
7.8803 +ac_cv_lib_dl_dlopen=no
7.8804 +fi
7.8805 +rm -f conftest.err conftest.$ac_objext \
7.8806 + conftest$ac_exeext conftest.$ac_ext
7.8807 +LIBS=$ac_check_lib_save_LIBS
7.8808 +fi
7.8809 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7.8810 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7.8811 +if test $ac_cv_lib_dl_dlopen = yes; then
7.8812 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7.8813 +else
7.8814 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7.8815 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7.8816 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7.8817 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.8818 +else
7.8819 + ac_check_lib_save_LIBS=$LIBS
7.8820 +LIBS="-lsvld $LIBS"
7.8821 +cat >conftest.$ac_ext <<_ACEOF
7.8822 +/* confdefs.h. */
7.8823 +_ACEOF
7.8824 +cat confdefs.h >>conftest.$ac_ext
7.8825 +cat >>conftest.$ac_ext <<_ACEOF
7.8826 +/* end confdefs.h. */
7.8827 +
7.8828 +/* Override any gcc2 internal prototype to avoid an error. */
7.8829 +#ifdef __cplusplus
7.8830 +extern "C"
7.8831 +#endif
7.8832 +/* We use char because int might match the return type of a gcc2
7.8833 + builtin and then its argument prototype would still apply. */
7.8834 +char dlopen ();
7.8835 +int
7.8836 +main ()
7.8837 +{
7.8838 +dlopen ();
7.8839 + ;
7.8840 + return 0;
7.8841 +}
7.8842 +_ACEOF
7.8843 +rm -f conftest.$ac_objext conftest$ac_exeext
7.8844 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.8845 + (eval $ac_link) 2>conftest.er1
7.8846 + ac_status=$?
7.8847 + grep -v '^ *+' conftest.er1 >conftest.err
7.8848 + rm -f conftest.er1
7.8849 + cat conftest.err >&5
7.8850 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8851 + (exit $ac_status); } &&
7.8852 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.8853 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8854 + (eval $ac_try) 2>&5
7.8855 + ac_status=$?
7.8856 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8857 + (exit $ac_status); }; } &&
7.8858 + { ac_try='test -s conftest$ac_exeext'
7.8859 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8860 + (eval $ac_try) 2>&5
7.8861 + ac_status=$?
7.8862 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8863 + (exit $ac_status); }; }; then
7.8864 + ac_cv_lib_svld_dlopen=yes
7.8865 +else
7.8866 + echo "$as_me: failed program was:" >&5
7.8867 +sed 's/^/| /' conftest.$ac_ext >&5
7.8868 +
7.8869 +ac_cv_lib_svld_dlopen=no
7.8870 +fi
7.8871 +rm -f conftest.err conftest.$ac_objext \
7.8872 + conftest$ac_exeext conftest.$ac_ext
7.8873 +LIBS=$ac_check_lib_save_LIBS
7.8874 +fi
7.8875 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7.8876 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7.8877 +if test $ac_cv_lib_svld_dlopen = yes; then
7.8878 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
7.8879 +else
7.8880 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
7.8881 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
7.8882 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7.8883 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.8884 +else
7.8885 + ac_check_lib_save_LIBS=$LIBS
7.8886 +LIBS="-ldld $LIBS"
7.8887 +cat >conftest.$ac_ext <<_ACEOF
7.8888 +/* confdefs.h. */
7.8889 +_ACEOF
7.8890 +cat confdefs.h >>conftest.$ac_ext
7.8891 +cat >>conftest.$ac_ext <<_ACEOF
7.8892 +/* end confdefs.h. */
7.8893 +
7.8894 +/* Override any gcc2 internal prototype to avoid an error. */
7.8895 +#ifdef __cplusplus
7.8896 +extern "C"
7.8897 +#endif
7.8898 +/* We use char because int might match the return type of a gcc2
7.8899 + builtin and then its argument prototype would still apply. */
7.8900 +char dld_link ();
7.8901 +int
7.8902 +main ()
7.8903 +{
7.8904 +dld_link ();
7.8905 + ;
7.8906 + return 0;
7.8907 +}
7.8908 +_ACEOF
7.8909 +rm -f conftest.$ac_objext conftest$ac_exeext
7.8910 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.8911 + (eval $ac_link) 2>conftest.er1
7.8912 + ac_status=$?
7.8913 + grep -v '^ *+' conftest.er1 >conftest.err
7.8914 + rm -f conftest.er1
7.8915 + cat conftest.err >&5
7.8916 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8917 + (exit $ac_status); } &&
7.8918 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.8919 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8920 + (eval $ac_try) 2>&5
7.8921 + ac_status=$?
7.8922 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8923 + (exit $ac_status); }; } &&
7.8924 + { ac_try='test -s conftest$ac_exeext'
7.8925 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.8926 + (eval $ac_try) 2>&5
7.8927 + ac_status=$?
7.8928 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.8929 + (exit $ac_status); }; }; then
7.8930 + ac_cv_lib_dld_dld_link=yes
7.8931 +else
7.8932 + echo "$as_me: failed program was:" >&5
7.8933 +sed 's/^/| /' conftest.$ac_ext >&5
7.8934 +
7.8935 +ac_cv_lib_dld_dld_link=no
7.8936 +fi
7.8937 +rm -f conftest.err conftest.$ac_objext \
7.8938 + conftest$ac_exeext conftest.$ac_ext
7.8939 +LIBS=$ac_check_lib_save_LIBS
7.8940 +fi
7.8941 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7.8942 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
7.8943 +if test $ac_cv_lib_dld_dld_link = yes; then
7.8944 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
7.8945 +fi
7.8946 +
7.8947 +
7.8948 +fi
7.8949 +
7.8950 +
7.8951 +fi
7.8952 +
7.8953 +
7.8954 +fi
7.8955 +
7.8956 +
7.8957 +fi
7.8958 +
7.8959 +
7.8960 +fi
7.8961 +
7.8962 + ;;
7.8963 + esac
7.8964 +
7.8965 + if test "x$lt_cv_dlopen" != xno; then
7.8966 + enable_dlopen=yes
7.8967 + else
7.8968 + enable_dlopen=no
7.8969 + fi
7.8970 +
7.8971 + case $lt_cv_dlopen in
7.8972 + dlopen)
7.8973 + save_CPPFLAGS="$CPPFLAGS"
7.8974 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
7.8975 +
7.8976 + save_LDFLAGS="$LDFLAGS"
7.8977 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
7.8978 +
7.8979 + save_LIBS="$LIBS"
7.8980 + LIBS="$lt_cv_dlopen_libs $LIBS"
7.8981 +
7.8982 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
7.8983 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
7.8984 +if test "${lt_cv_dlopen_self+set}" = set; then
7.8985 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.8986 +else
7.8987 + if test "$cross_compiling" = yes; then :
7.8988 + lt_cv_dlopen_self=cross
7.8989 +else
7.8990 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7.8991 + lt_status=$lt_dlunknown
7.8992 + cat > conftest.$ac_ext <<EOF
7.8993 +#line __oline__ "configure"
7.8994 +#include "confdefs.h"
7.8995 +
7.8996 +#if HAVE_DLFCN_H
7.8997 +#include <dlfcn.h>
7.8998 +#endif
7.8999 +
7.9000 +#include <stdio.h>
7.9001 +
7.9002 +#ifdef RTLD_GLOBAL
7.9003 +# define LT_DLGLOBAL RTLD_GLOBAL
7.9004 +#else
7.9005 +# ifdef DL_GLOBAL
7.9006 +# define LT_DLGLOBAL DL_GLOBAL
7.9007 +# else
7.9008 +# define LT_DLGLOBAL 0
7.9009 +# endif
7.9010 +#endif
7.9011 +
7.9012 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7.9013 + find out it does not work in some platform. */
7.9014 +#ifndef LT_DLLAZY_OR_NOW
7.9015 +# ifdef RTLD_LAZY
7.9016 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
7.9017 +# else
7.9018 +# ifdef DL_LAZY
7.9019 +# define LT_DLLAZY_OR_NOW DL_LAZY
7.9020 +# else
7.9021 +# ifdef RTLD_NOW
7.9022 +# define LT_DLLAZY_OR_NOW RTLD_NOW
7.9023 +# else
7.9024 +# ifdef DL_NOW
7.9025 +# define LT_DLLAZY_OR_NOW DL_NOW
7.9026 +# else
7.9027 +# define LT_DLLAZY_OR_NOW 0
7.9028 +# endif
7.9029 +# endif
7.9030 +# endif
7.9031 +# endif
7.9032 +#endif
7.9033 +
7.9034 +#ifdef __cplusplus
7.9035 +extern "C" void exit (int);
7.9036 +#endif
7.9037 +
7.9038 +void fnord() { int i=42;}
7.9039 +int main ()
7.9040 +{
7.9041 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7.9042 + int status = $lt_dlunknown;
7.9043 +
7.9044 + if (self)
7.9045 + {
7.9046 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7.9047 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7.9048 + /* dlclose (self); */
7.9049 + }
7.9050 +
7.9051 + exit (status);
7.9052 +}
7.9053 +EOF
7.9054 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.9055 + (eval $ac_link) 2>&5
7.9056 + ac_status=$?
7.9057 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.9058 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7.9059 + (./conftest; exit; ) >&5 2>/dev/null
7.9060 + lt_status=$?
7.9061 + case x$lt_status in
7.9062 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
7.9063 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
7.9064 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
7.9065 + esac
7.9066 + else :
7.9067 + # compilation failed
7.9068 + lt_cv_dlopen_self=no
7.9069 + fi
7.9070 +fi
7.9071 +rm -fr conftest*
7.9072 +
7.9073 +
7.9074 +fi
7.9075 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
7.9076 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
7.9077 +
7.9078 + if test "x$lt_cv_dlopen_self" = xyes; then
7.9079 + LDFLAGS="$LDFLAGS $link_static_flag"
7.9080 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
7.9081 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
7.9082 +if test "${lt_cv_dlopen_self_static+set}" = set; then
7.9083 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.9084 +else
7.9085 + if test "$cross_compiling" = yes; then :
7.9086 + lt_cv_dlopen_self_static=cross
7.9087 +else
7.9088 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7.9089 + lt_status=$lt_dlunknown
7.9090 + cat > conftest.$ac_ext <<EOF
7.9091 +#line __oline__ "configure"
7.9092 +#include "confdefs.h"
7.9093 +
7.9094 +#if HAVE_DLFCN_H
7.9095 +#include <dlfcn.h>
7.9096 +#endif
7.9097 +
7.9098 +#include <stdio.h>
7.9099 +
7.9100 +#ifdef RTLD_GLOBAL
7.9101 +# define LT_DLGLOBAL RTLD_GLOBAL
7.9102 +#else
7.9103 +# ifdef DL_GLOBAL
7.9104 +# define LT_DLGLOBAL DL_GLOBAL
7.9105 +# else
7.9106 +# define LT_DLGLOBAL 0
7.9107 +# endif
7.9108 +#endif
7.9109 +
7.9110 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7.9111 + find out it does not work in some platform. */
7.9112 +#ifndef LT_DLLAZY_OR_NOW
7.9113 +# ifdef RTLD_LAZY
7.9114 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
7.9115 +# else
7.9116 +# ifdef DL_LAZY
7.9117 +# define LT_DLLAZY_OR_NOW DL_LAZY
7.9118 +# else
7.9119 +# ifdef RTLD_NOW
7.9120 +# define LT_DLLAZY_OR_NOW RTLD_NOW
7.9121 +# else
7.9122 +# ifdef DL_NOW
7.9123 +# define LT_DLLAZY_OR_NOW DL_NOW
7.9124 +# else
7.9125 +# define LT_DLLAZY_OR_NOW 0
7.9126 +# endif
7.9127 +# endif
7.9128 +# endif
7.9129 +# endif
7.9130 +#endif
7.9131 +
7.9132 +#ifdef __cplusplus
7.9133 +extern "C" void exit (int);
7.9134 +#endif
7.9135 +
7.9136 +void fnord() { int i=42;}
7.9137 +int main ()
7.9138 +{
7.9139 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7.9140 + int status = $lt_dlunknown;
7.9141 +
7.9142 + if (self)
7.9143 + {
7.9144 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7.9145 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7.9146 + /* dlclose (self); */
7.9147 + }
7.9148 +
7.9149 + exit (status);
7.9150 +}
7.9151 +EOF
7.9152 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.9153 + (eval $ac_link) 2>&5
7.9154 + ac_status=$?
7.9155 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.9156 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7.9157 + (./conftest; exit; ) >&5 2>/dev/null
7.9158 + lt_status=$?
7.9159 + case x$lt_status in
7.9160 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
7.9161 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
7.9162 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
7.9163 + esac
7.9164 + else :
7.9165 + # compilation failed
7.9166 + lt_cv_dlopen_self_static=no
7.9167 + fi
7.9168 +fi
7.9169 +rm -fr conftest*
7.9170 +
7.9171 +
7.9172 +fi
7.9173 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
7.9174 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
7.9175 + fi
7.9176 +
7.9177 + CPPFLAGS="$save_CPPFLAGS"
7.9178 + LDFLAGS="$save_LDFLAGS"
7.9179 + LIBS="$save_LIBS"
7.9180 + ;;
7.9181 + esac
7.9182 +
7.9183 + case $lt_cv_dlopen_self in
7.9184 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
7.9185 + *) enable_dlopen_self=unknown ;;
7.9186 + esac
7.9187 +
7.9188 + case $lt_cv_dlopen_self_static in
7.9189 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
7.9190 + *) enable_dlopen_self_static=unknown ;;
7.9191 + esac
7.9192 +fi
7.9193 +
7.9194 +
7.9195 +# Report which librarie types wil actually be built
7.9196 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
7.9197 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
7.9198 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
7.9199 +echo "${ECHO_T}$can_build_shared" >&6
7.9200 +
7.9201 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
7.9202 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
7.9203 +test "$can_build_shared" = "no" && enable_shared=no
7.9204 +
7.9205 +# On AIX, shared libraries and static libraries use the same namespace, and
7.9206 +# are all built from PIC.
7.9207 +case $host_os in
7.9208 +aix3*)
7.9209 + test "$enable_shared" = yes && enable_static=no
7.9210 + if test -n "$RANLIB"; then
7.9211 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
7.9212 + postinstall_cmds='$RANLIB $lib'
7.9213 + fi
7.9214 + ;;
7.9215 +
7.9216 +aix4* | aix5*)
7.9217 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7.9218 + test "$enable_shared" = yes && enable_static=no
7.9219 + fi
7.9220 + ;;
7.9221 +esac
7.9222 +echo "$as_me:$LINENO: result: $enable_shared" >&5
7.9223 +echo "${ECHO_T}$enable_shared" >&6
7.9224 +
7.9225 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
7.9226 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
7.9227 +# Make sure either enable_shared or enable_static is yes.
7.9228 +test "$enable_shared" = yes || enable_static=yes
7.9229 +echo "$as_me:$LINENO: result: $enable_static" >&5
7.9230 +echo "${ECHO_T}$enable_static" >&6
7.9231 +
7.9232 +# The else clause should only fire when bootstrapping the
7.9233 +# libtool distribution, otherwise you forgot to ship ltmain.sh
7.9234 +# with your package, and you will get complaints that there are
7.9235 +# no rules to generate ltmain.sh.
7.9236 +if test -f "$ltmain"; then
7.9237 + # See if we are running on zsh, and set the options which allow our commands through
7.9238 + # without removal of \ escapes.
7.9239 + if test -n "${ZSH_VERSION+set}" ; then
7.9240 + setopt NO_GLOB_SUBST
7.9241 + fi
7.9242 + # Now quote all the things that may contain metacharacters while being
7.9243 + # careful not to overquote the AC_SUBSTed values. We take copies of the
7.9244 + # variables and quote the copies for generation of the libtool script.
7.9245 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
7.9246 + SED SHELL STRIP \
7.9247 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
7.9248 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
7.9249 + deplibs_check_method reload_flag reload_cmds need_locks \
7.9250 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
7.9251 + lt_cv_sys_global_symbol_to_c_name_address \
7.9252 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
7.9253 + old_postinstall_cmds old_postuninstall_cmds \
7.9254 + compiler \
7.9255 + CC \
7.9256 + LD \
7.9257 + lt_prog_compiler_wl \
7.9258 + lt_prog_compiler_pic \
7.9259 + lt_prog_compiler_static \
7.9260 + lt_prog_compiler_no_builtin_flag \
7.9261 + export_dynamic_flag_spec \
7.9262 + thread_safe_flag_spec \
7.9263 + whole_archive_flag_spec \
7.9264 + enable_shared_with_static_runtimes \
7.9265 + old_archive_cmds \
7.9266 + old_archive_from_new_cmds \
7.9267 + predep_objects \
7.9268 + postdep_objects \
7.9269 + predeps \
7.9270 + postdeps \
7.9271 + compiler_lib_search_path \
7.9272 + archive_cmds \
7.9273 + archive_expsym_cmds \
7.9274 + postinstall_cmds \
7.9275 + postuninstall_cmds \
7.9276 + old_archive_from_expsyms_cmds \
7.9277 + allow_undefined_flag \
7.9278 + no_undefined_flag \
7.9279 + export_symbols_cmds \
7.9280 + hardcode_libdir_flag_spec \
7.9281 + hardcode_libdir_flag_spec_ld \
7.9282 + hardcode_libdir_separator \
7.9283 + hardcode_automatic \
7.9284 + module_cmds \
7.9285 + module_expsym_cmds \
7.9286 + lt_cv_prog_compiler_c_o \
7.9287 + exclude_expsyms \
7.9288 + include_expsyms; do
7.9289 +
7.9290 + case $var in
7.9291 + old_archive_cmds | \
7.9292 + old_archive_from_new_cmds | \
7.9293 + archive_cmds | \
7.9294 + archive_expsym_cmds | \
7.9295 + module_cmds | \
7.9296 + module_expsym_cmds | \
7.9297 + old_archive_from_expsyms_cmds | \
7.9298 + export_symbols_cmds | \
7.9299 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
7.9300 + postinstall_cmds | postuninstall_cmds | \
7.9301 + old_postinstall_cmds | old_postuninstall_cmds | \
7.9302 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
7.9303 + # Double-quote double-evaled strings.
7.9304 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
7.9305 + ;;
7.9306 + *)
7.9307 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
7.9308 + ;;
7.9309 + esac
7.9310 + done
7.9311 +
7.9312 + case $lt_echo in
7.9313 + *'\$0 --fallback-echo"')
7.9314 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
7.9315 + ;;
7.9316 + esac
7.9317 +
7.9318 +cfgfile="${ofile}T"
7.9319 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
7.9320 + $rm -f "$cfgfile"
7.9321 + { echo "$as_me:$LINENO: creating $ofile" >&5
7.9322 +echo "$as_me: creating $ofile" >&6;}
7.9323 +
7.9324 + cat <<__EOF__ >> "$cfgfile"
7.9325 +#! $SHELL
7.9326 +
7.9327 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
7.9328 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
7.9329 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
7.9330 +#
7.9331 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
7.9332 +# Free Software Foundation, Inc.
7.9333 +#
7.9334 +# This file is part of GNU Libtool:
7.9335 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
7.9336 +#
7.9337 +# This program is free software; you can redistribute it and/or modify
7.9338 +# it under the terms of the GNU General Public License as published by
7.9339 +# the Free Software Foundation; either version 2 of the License, or
7.9340 +# (at your option) any later version.
7.9341 +#
7.9342 +# This program is distributed in the hope that it will be useful, but
7.9343 +# WITHOUT ANY WARRANTY; without even the implied warranty of
7.9344 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7.9345 +# General Public License for more details.
7.9346 +#
7.9347 +# You should have received a copy of the GNU General Public License
7.9348 +# along with this program; if not, write to the Free Software
7.9349 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
7.9350 +#
7.9351 +# As a special exception to the GNU General Public License, if you
7.9352 +# distribute this file as part of a program that contains a
7.9353 +# configuration script generated by Autoconf, you may include it under
7.9354 +# the same distribution terms that you use for the rest of that program.
7.9355 +
7.9356 +# A sed program that does not truncate output.
7.9357 +SED=$lt_SED
7.9358 +
7.9359 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
7.9360 +Xsed="$SED -e 1s/^X//"
7.9361 +
7.9362 +# The HP-UX ksh and POSIX shell print the target directory to stdout
7.9363 +# if CDPATH is set.
7.9364 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7.9365 +
7.9366 +# The names of the tagged configurations supported by this script.
7.9367 +available_tags=
7.9368 +
7.9369 +# ### BEGIN LIBTOOL CONFIG
7.9370 +
7.9371 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7.9372 +
7.9373 +# Shell to use when invoking shell scripts.
7.9374 +SHELL=$lt_SHELL
7.9375 +
7.9376 +# Whether or not to build shared libraries.
7.9377 +build_libtool_libs=$enable_shared
7.9378 +
7.9379 +# Whether or not to build static libraries.
7.9380 +build_old_libs=$enable_static
7.9381 +
7.9382 +# Whether or not to add -lc for building shared libraries.
7.9383 +build_libtool_need_lc=$archive_cmds_need_lc
7.9384 +
7.9385 +# Whether or not to disallow shared libs when runtime libs are static
7.9386 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
7.9387 +
7.9388 +# Whether or not to optimize for fast installation.
7.9389 +fast_install=$enable_fast_install
7.9390 +
7.9391 +# The host system.
7.9392 +host_alias=$host_alias
7.9393 +host=$host
7.9394 +host_os=$host_os
7.9395 +
7.9396 +# The build system.
7.9397 +build_alias=$build_alias
7.9398 +build=$build
7.9399 +build_os=$build_os
7.9400 +
7.9401 +# An echo program that does not interpret backslashes.
7.9402 +echo=$lt_echo
7.9403 +
7.9404 +# The archiver.
7.9405 +AR=$lt_AR
7.9406 +AR_FLAGS=$lt_AR_FLAGS
7.9407 +
7.9408 +# A C compiler.
7.9409 +LTCC=$lt_LTCC
7.9410 +
7.9411 +# A language-specific compiler.
7.9412 +CC=$lt_compiler
7.9413 +
7.9414 +# Is the compiler the GNU C compiler?
7.9415 +with_gcc=$GCC
7.9416 +
7.9417 +# An ERE matcher.
7.9418 +EGREP=$lt_EGREP
7.9419 +
7.9420 +# The linker used to build libraries.
7.9421 +LD=$lt_LD
7.9422 +
7.9423 +# Whether we need hard or soft links.
7.9424 +LN_S=$lt_LN_S
7.9425 +
7.9426 +# A BSD-compatible nm program.
7.9427 +NM=$lt_NM
7.9428 +
7.9429 +# A symbol stripping program
7.9430 +STRIP=$lt_STRIP
7.9431 +
7.9432 +# Used to examine libraries when file_magic_cmd begins "file"
7.9433 +MAGIC_CMD=$MAGIC_CMD
7.9434 +
7.9435 +# Used on cygwin: DLL creation program.
7.9436 +DLLTOOL="$DLLTOOL"
7.9437 +
7.9438 +# Used on cygwin: object dumper.
7.9439 +OBJDUMP="$OBJDUMP"
7.9440 +
7.9441 +# Used on cygwin: assembler.
7.9442 +AS="$AS"
7.9443 +
7.9444 +# The name of the directory that contains temporary libtool files.
7.9445 +objdir=$objdir
7.9446 +
7.9447 +# How to create reloadable object files.
7.9448 +reload_flag=$lt_reload_flag
7.9449 +reload_cmds=$lt_reload_cmds
7.9450 +
7.9451 +# How to pass a linker flag through the compiler.
7.9452 +wl=$lt_lt_prog_compiler_wl
7.9453 +
7.9454 +# Object file suffix (normally "o").
7.9455 +objext="$ac_objext"
7.9456 +
7.9457 +# Old archive suffix (normally "a").
7.9458 +libext="$libext"
7.9459 +
7.9460 +# Shared library suffix (normally ".so").
7.9461 +shrext_cmds='$shrext_cmds'
7.9462 +
7.9463 +# Executable file suffix (normally "").
7.9464 +exeext="$exeext"
7.9465 +
7.9466 +# Additional compiler flags for building library objects.
7.9467 +pic_flag=$lt_lt_prog_compiler_pic
7.9468 +pic_mode=$pic_mode
7.9469 +
7.9470 +# What is the maximum length of a command?
7.9471 +max_cmd_len=$lt_cv_sys_max_cmd_len
7.9472 +
7.9473 +# Does compiler simultaneously support -c and -o options?
7.9474 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
7.9475 +
7.9476 +# Must we lock files when doing compilation?
7.9477 +need_locks=$lt_need_locks
7.9478 +
7.9479 +# Do we need the lib prefix for modules?
7.9480 +need_lib_prefix=$need_lib_prefix
7.9481 +
7.9482 +# Do we need a version for libraries?
7.9483 +need_version=$need_version
7.9484 +
7.9485 +# Whether dlopen is supported.
7.9486 +dlopen_support=$enable_dlopen
7.9487 +
7.9488 +# Whether dlopen of programs is supported.
7.9489 +dlopen_self=$enable_dlopen_self
7.9490 +
7.9491 +# Whether dlopen of statically linked programs is supported.
7.9492 +dlopen_self_static=$enable_dlopen_self_static
7.9493 +
7.9494 +# Compiler flag to prevent dynamic linking.
7.9495 +link_static_flag=$lt_lt_prog_compiler_static
7.9496 +
7.9497 +# Compiler flag to turn off builtin functions.
7.9498 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
7.9499 +
7.9500 +# Compiler flag to allow reflexive dlopens.
7.9501 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
7.9502 +
7.9503 +# Compiler flag to generate shared objects directly from archives.
7.9504 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
7.9505 +
7.9506 +# Compiler flag to generate thread-safe objects.
7.9507 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
7.9508 +
7.9509 +# Library versioning type.
7.9510 +version_type=$version_type
7.9511 +
7.9512 +# Format of library name prefix.
7.9513 +libname_spec=$lt_libname_spec
7.9514 +
7.9515 +# List of archive names. First name is the real one, the rest are links.
7.9516 +# The last name is the one that the linker finds with -lNAME.
7.9517 +library_names_spec=$lt_library_names_spec
7.9518 +
7.9519 +# The coded name of the library, if different from the real name.
7.9520 +soname_spec=$lt_soname_spec
7.9521 +
7.9522 +# Commands used to build and install an old-style archive.
7.9523 +RANLIB=$lt_RANLIB
7.9524 +old_archive_cmds=$lt_old_archive_cmds
7.9525 +old_postinstall_cmds=$lt_old_postinstall_cmds
7.9526 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
7.9527 +
7.9528 +# Create an old-style archive from a shared archive.
7.9529 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
7.9530 +
7.9531 +# Create a temporary old-style archive to link instead of a shared archive.
7.9532 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
7.9533 +
7.9534 +# Commands used to build and install a shared archive.
7.9535 +archive_cmds=$lt_archive_cmds
7.9536 +archive_expsym_cmds=$lt_archive_expsym_cmds
7.9537 +postinstall_cmds=$lt_postinstall_cmds
7.9538 +postuninstall_cmds=$lt_postuninstall_cmds
7.9539 +
7.9540 +# Commands used to build a loadable module (assumed same as above if empty)
7.9541 +module_cmds=$lt_module_cmds
7.9542 +module_expsym_cmds=$lt_module_expsym_cmds
7.9543 +
7.9544 +# Commands to strip libraries.
7.9545 +old_striplib=$lt_old_striplib
7.9546 +striplib=$lt_striplib
7.9547 +
7.9548 +# Dependencies to place before the objects being linked to create a
7.9549 +# shared library.
7.9550 +predep_objects=$lt_predep_objects
7.9551 +
7.9552 +# Dependencies to place after the objects being linked to create a
7.9553 +# shared library.
7.9554 +postdep_objects=$lt_postdep_objects
7.9555 +
7.9556 +# Dependencies to place before the objects being linked to create a
7.9557 +# shared library.
7.9558 +predeps=$lt_predeps
7.9559 +
7.9560 +# Dependencies to place after the objects being linked to create a
7.9561 +# shared library.
7.9562 +postdeps=$lt_postdeps
7.9563 +
7.9564 +# The library search path used internally by the compiler when linking
7.9565 +# a shared library.
7.9566 +compiler_lib_search_path=$lt_compiler_lib_search_path
7.9567 +
7.9568 +# Method to check whether dependent libraries are shared objects.
7.9569 +deplibs_check_method=$lt_deplibs_check_method
7.9570 +
7.9571 +# Command to use when deplibs_check_method == file_magic.
7.9572 +file_magic_cmd=$lt_file_magic_cmd
7.9573 +
7.9574 +# Flag that allows shared libraries with undefined symbols to be built.
7.9575 +allow_undefined_flag=$lt_allow_undefined_flag
7.9576 +
7.9577 +# Flag that forces no undefined symbols.
7.9578 +no_undefined_flag=$lt_no_undefined_flag
7.9579 +
7.9580 +# Commands used to finish a libtool library installation in a directory.
7.9581 +finish_cmds=$lt_finish_cmds
7.9582 +
7.9583 +# Same as above, but a single script fragment to be evaled but not shown.
7.9584 +finish_eval=$lt_finish_eval
7.9585 +
7.9586 +# Take the output of nm and produce a listing of raw symbols and C names.
7.9587 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
7.9588 +
7.9589 +# Transform the output of nm in a proper C declaration
7.9590 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
7.9591 +
7.9592 +# Transform the output of nm in a C name address pair
7.9593 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
7.9594 +
7.9595 +# This is the shared library runtime path variable.
7.9596 +runpath_var=$runpath_var
7.9597 +
7.9598 +# This is the shared library path variable.
7.9599 +shlibpath_var=$shlibpath_var
7.9600 +
7.9601 +# Is shlibpath searched before the hard-coded library search path?
7.9602 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
7.9603 +
7.9604 +# How to hardcode a shared library path into an executable.
7.9605 +hardcode_action=$hardcode_action
7.9606 +
7.9607 +# Whether we should hardcode library paths into libraries.
7.9608 +hardcode_into_libs=$hardcode_into_libs
7.9609 +
7.9610 +# Flag to hardcode \$libdir into a binary during linking.
7.9611 +# This must work even if \$libdir does not exist.
7.9612 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
7.9613 +
7.9614 +# If ld is used when linking, flag to hardcode \$libdir into
7.9615 +# a binary during linking. This must work even if \$libdir does
7.9616 +# not exist.
7.9617 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
7.9618 +
7.9619 +# Whether we need a single -rpath flag with a separated argument.
7.9620 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
7.9621 +
7.9622 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
7.9623 +# resulting binary.
7.9624 +hardcode_direct=$hardcode_direct
7.9625 +
7.9626 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
7.9627 +# resulting binary.
7.9628 +hardcode_minus_L=$hardcode_minus_L
7.9629 +
7.9630 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
7.9631 +# the resulting binary.
7.9632 +hardcode_shlibpath_var=$hardcode_shlibpath_var
7.9633 +
7.9634 +# Set to yes if building a shared library automatically hardcodes DIR into the library
7.9635 +# and all subsequent libraries and executables linked against it.
7.9636 +hardcode_automatic=$hardcode_automatic
7.9637 +
7.9638 +# Variables whose values should be saved in libtool wrapper scripts and
7.9639 +# restored at relink time.
7.9640 +variables_saved_for_relink="$variables_saved_for_relink"
7.9641 +
7.9642 +# Whether libtool must link a program against all its dependency libraries.
7.9643 +link_all_deplibs=$link_all_deplibs
7.9644 +
7.9645 +# Compile-time system search path for libraries
7.9646 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
7.9647 +
7.9648 +# Run-time system search path for libraries
7.9649 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
7.9650 +
7.9651 +# Fix the shell variable \$srcfile for the compiler.
7.9652 +fix_srcfile_path="$fix_srcfile_path"
7.9653 +
7.9654 +# Set to yes if exported symbols are required.
7.9655 +always_export_symbols=$always_export_symbols
7.9656 +
7.9657 +# The commands to list exported symbols.
7.9658 +export_symbols_cmds=$lt_export_symbols_cmds
7.9659 +
7.9660 +# The commands to extract the exported symbol list from a shared archive.
7.9661 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
7.9662 +
7.9663 +# Symbols that should not be listed in the preloaded symbols.
7.9664 +exclude_expsyms=$lt_exclude_expsyms
7.9665 +
7.9666 +# Symbols that must always be exported.
7.9667 +include_expsyms=$lt_include_expsyms
7.9668 +
7.9669 +# ### END LIBTOOL CONFIG
7.9670 +
7.9671 +__EOF__
7.9672 +
7.9673 +
7.9674 + case $host_os in
7.9675 + aix3*)
7.9676 + cat <<\EOF >> "$cfgfile"
7.9677 +
7.9678 +# AIX sometimes has problems with the GCC collect2 program. For some
7.9679 +# reason, if we set the COLLECT_NAMES environment variable, the problems
7.9680 +# vanish in a puff of smoke.
7.9681 +if test "X${COLLECT_NAMES+set}" != Xset; then
7.9682 + COLLECT_NAMES=
7.9683 + export COLLECT_NAMES
7.9684 +fi
7.9685 +EOF
7.9686 + ;;
7.9687 + esac
7.9688 +
7.9689 + # We use sed instead of cat because bash on DJGPP gets confused if
7.9690 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
7.9691 + # text mode, it properly converts lines to CR/LF. This bash problem
7.9692 + # is reportedly fixed, but why not run on old versions too?
7.9693 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
7.9694 +
7.9695 + mv -f "$cfgfile" "$ofile" || \
7.9696 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
7.9697 + chmod +x "$ofile"
7.9698 +
7.9699 +else
7.9700 + # If there is no Makefile yet, we rely on a make rule to execute
7.9701 + # `config.status --recheck' to rerun these tests and create the
7.9702 + # libtool script then.
7.9703 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
7.9704 + if test -f "$ltmain_in"; then
7.9705 + test -f Makefile && make "$ltmain"
7.9706 + fi
7.9707 +fi
7.9708 +
7.9709 +
7.9710 +ac_ext=c
7.9711 +ac_cpp='$CPP $CPPFLAGS'
7.9712 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.9713 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.9714 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.9715 +
7.9716 +CC="$lt_save_CC"
7.9717 +
7.9718 +
7.9719 +# Check whether --with-tags or --without-tags was given.
7.9720 +if test "${with_tags+set}" = set; then
7.9721 + withval="$with_tags"
7.9722 + tagnames="$withval"
7.9723 +fi;
7.9724 +
7.9725 +if test -f "$ltmain" && test -n "$tagnames"; then
7.9726 + if test ! -f "${ofile}"; then
7.9727 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
7.9728 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
7.9729 + fi
7.9730 +
7.9731 + if test -z "$LTCC"; then
7.9732 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
7.9733 + if test -z "$LTCC"; then
7.9734 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
7.9735 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
7.9736 + else
7.9737 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
7.9738 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
7.9739 + fi
7.9740 + fi
7.9741 +
7.9742 + # Extract list of available tagged configurations in $ofile.
7.9743 + # Note that this assumes the entire list is on one line.
7.9744 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
7.9745 +
7.9746 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7.9747 + for tagname in $tagnames; do
7.9748 + IFS="$lt_save_ifs"
7.9749 + # Check whether tagname contains only valid characters
7.9750 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
7.9751 + "") ;;
7.9752 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
7.9753 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
7.9754 + { (exit 1); exit 1; }; }
7.9755 + ;;
7.9756 + esac
7.9757 +
7.9758 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
7.9759 + then
7.9760 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
7.9761 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
7.9762 + { (exit 1); exit 1; }; }
7.9763 + fi
7.9764 +
7.9765 + # Update the list of available tags.
7.9766 + if test -n "$tagname"; then
7.9767 + echo appending configuration tag \"$tagname\" to $ofile
7.9768 +
7.9769 + case $tagname in
7.9770 + CXX)
7.9771 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7.9772 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7.9773 + (test "X$CXX" != "Xg++"))) ; then
7.9774 + ac_ext=cc
7.9775 +ac_cpp='$CXXCPP $CPPFLAGS'
7.9776 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.9777 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.9778 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7.9779 +
7.9780 +
7.9781 +
7.9782 +
7.9783 +archive_cmds_need_lc_CXX=no
7.9784 +allow_undefined_flag_CXX=
7.9785 +always_export_symbols_CXX=no
7.9786 +archive_expsym_cmds_CXX=
7.9787 +export_dynamic_flag_spec_CXX=
7.9788 +hardcode_direct_CXX=no
7.9789 +hardcode_libdir_flag_spec_CXX=
7.9790 +hardcode_libdir_flag_spec_ld_CXX=
7.9791 +hardcode_libdir_separator_CXX=
7.9792 +hardcode_minus_L_CXX=no
7.9793 +hardcode_automatic_CXX=no
7.9794 +module_cmds_CXX=
7.9795 +module_expsym_cmds_CXX=
7.9796 +link_all_deplibs_CXX=unknown
7.9797 +old_archive_cmds_CXX=$old_archive_cmds
7.9798 +no_undefined_flag_CXX=
7.9799 +whole_archive_flag_spec_CXX=
7.9800 +enable_shared_with_static_runtimes_CXX=no
7.9801 +
7.9802 +# Dependencies to place before and after the object being linked:
7.9803 +predep_objects_CXX=
7.9804 +postdep_objects_CXX=
7.9805 +predeps_CXX=
7.9806 +postdeps_CXX=
7.9807 +compiler_lib_search_path_CXX=
7.9808 +
7.9809 +# Source file extension for C++ test sources.
7.9810 +ac_ext=cpp
7.9811 +
7.9812 +# Object file extension for compiled C++ test sources.
7.9813 +objext=o
7.9814 +objext_CXX=$objext
7.9815 +
7.9816 +# Code to be used in simple compile tests
7.9817 +lt_simple_compile_test_code="int some_variable = 0;\n"
7.9818 +
7.9819 +# Code to be used in simple link tests
7.9820 +lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
7.9821 +
7.9822 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7.9823 +
7.9824 +# If no C compiler was specified, use CC.
7.9825 +LTCC=${LTCC-"$CC"}
7.9826 +
7.9827 +# Allow CC to be a program name with arguments.
7.9828 +compiler=$CC
7.9829 +
7.9830 +
7.9831 +# save warnings/boilerplate of simple test code
7.9832 +ac_outfile=conftest.$ac_objext
7.9833 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7.9834 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7.9835 +_lt_compiler_boilerplate=`cat conftest.err`
7.9836 +$rm conftest*
7.9837 +
7.9838 +ac_outfile=conftest.$ac_objext
7.9839 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
7.9840 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7.9841 +_lt_linker_boilerplate=`cat conftest.err`
7.9842 +$rm conftest*
7.9843 +
7.9844 +
7.9845 +# Allow CC to be a program name with arguments.
7.9846 +lt_save_CC=$CC
7.9847 +lt_save_LD=$LD
7.9848 +lt_save_GCC=$GCC
7.9849 +GCC=$GXX
7.9850 +lt_save_with_gnu_ld=$with_gnu_ld
7.9851 +lt_save_path_LD=$lt_cv_path_LD
7.9852 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
7.9853 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
7.9854 +else
7.9855 + unset lt_cv_prog_gnu_ld
7.9856 +fi
7.9857 +if test -n "${lt_cv_path_LDCXX+set}"; then
7.9858 + lt_cv_path_LD=$lt_cv_path_LDCXX
7.9859 +else
7.9860 + unset lt_cv_path_LD
7.9861 +fi
7.9862 +test -z "${LDCXX+set}" || LD=$LDCXX
7.9863 +CC=${CXX-"c++"}
7.9864 +compiler=$CC
7.9865 +compiler_CXX=$CC
7.9866 +for cc_temp in $compiler""; do
7.9867 + case $cc_temp in
7.9868 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7.9869 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7.9870 + \-*) ;;
7.9871 + *) break;;
7.9872 + esac
7.9873 +done
7.9874 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7.9875 +
7.9876 +
7.9877 +# We don't want -fno-exception wen compiling C++ code, so set the
7.9878 +# no_builtin_flag separately
7.9879 +if test "$GXX" = yes; then
7.9880 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
7.9881 +else
7.9882 + lt_prog_compiler_no_builtin_flag_CXX=
7.9883 +fi
7.9884 +
7.9885 +if test "$GXX" = yes; then
7.9886 + # Set up default GNU C++ configuration
7.9887 +
7.9888 +
7.9889 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
7.9890 +if test "${with_gnu_ld+set}" = set; then
7.9891 + withval="$with_gnu_ld"
7.9892 + test "$withval" = no || with_gnu_ld=yes
7.9893 +else
7.9894 + with_gnu_ld=no
7.9895 +fi;
7.9896 +ac_prog=ld
7.9897 +if test "$GCC" = yes; then
7.9898 + # Check if gcc -print-prog-name=ld gives a path.
7.9899 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7.9900 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
7.9901 + case $host in
7.9902 + *-*-mingw*)
7.9903 + # gcc leaves a trailing carriage return which upsets mingw
7.9904 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7.9905 + *)
7.9906 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7.9907 + esac
7.9908 + case $ac_prog in
7.9909 + # Accept absolute paths.
7.9910 + [\\/]* | ?:[\\/]*)
7.9911 + re_direlt='/[^/][^/]*/\.\./'
7.9912 + # Canonicalize the pathname of ld
7.9913 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7.9914 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7.9915 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7.9916 + done
7.9917 + test -z "$LD" && LD="$ac_prog"
7.9918 + ;;
7.9919 + "")
7.9920 + # If it fails, then pretend we aren't using GCC.
7.9921 + ac_prog=ld
7.9922 + ;;
7.9923 + *)
7.9924 + # If it is relative, then search for the first ld in PATH.
7.9925 + with_gnu_ld=unknown
7.9926 + ;;
7.9927 + esac
7.9928 +elif test "$with_gnu_ld" = yes; then
7.9929 + echo "$as_me:$LINENO: checking for GNU ld" >&5
7.9930 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7.9931 +else
7.9932 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7.9933 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7.9934 +fi
7.9935 +if test "${lt_cv_path_LD+set}" = set; then
7.9936 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.9937 +else
7.9938 + if test -z "$LD"; then
7.9939 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7.9940 + for ac_dir in $PATH; do
7.9941 + IFS="$lt_save_ifs"
7.9942 + test -z "$ac_dir" && ac_dir=.
7.9943 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7.9944 + lt_cv_path_LD="$ac_dir/$ac_prog"
7.9945 + # Check to see if the program is GNU ld. I'd rather use --version,
7.9946 + # but apparently some variants of GNU ld only accept -v.
7.9947 + # Break only if it was the GNU/non-GNU ld that we prefer.
7.9948 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7.9949 + *GNU* | *'with BFD'*)
7.9950 + test "$with_gnu_ld" != no && break
7.9951 + ;;
7.9952 + *)
7.9953 + test "$with_gnu_ld" != yes && break
7.9954 + ;;
7.9955 + esac
7.9956 + fi
7.9957 + done
7.9958 + IFS="$lt_save_ifs"
7.9959 +else
7.9960 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
7.9961 +fi
7.9962 +fi
7.9963 +
7.9964 +LD="$lt_cv_path_LD"
7.9965 +if test -n "$LD"; then
7.9966 + echo "$as_me:$LINENO: result: $LD" >&5
7.9967 +echo "${ECHO_T}$LD" >&6
7.9968 +else
7.9969 + echo "$as_me:$LINENO: result: no" >&5
7.9970 +echo "${ECHO_T}no" >&6
7.9971 +fi
7.9972 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7.9973 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7.9974 + { (exit 1); exit 1; }; }
7.9975 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7.9976 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7.9977 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
7.9978 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.9979 +else
7.9980 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
7.9981 +case `$LD -v 2>&1 </dev/null` in
7.9982 +*GNU* | *'with BFD'*)
7.9983 + lt_cv_prog_gnu_ld=yes
7.9984 + ;;
7.9985 +*)
7.9986 + lt_cv_prog_gnu_ld=no
7.9987 + ;;
7.9988 +esac
7.9989 +fi
7.9990 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7.9991 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
7.9992 +with_gnu_ld=$lt_cv_prog_gnu_ld
7.9993 +
7.9994 +
7.9995 +
7.9996 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
7.9997 + # archiving commands below assume that GNU ld is being used.
7.9998 + if test "$with_gnu_ld" = yes; then
7.9999 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.10000 + 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'
7.10001 +
7.10002 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
7.10003 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
7.10004 +
7.10005 + # If archive_cmds runs LD, not CC, wlarc should be empty
7.10006 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
7.10007 + # investigate it a little bit more. (MM)
7.10008 + wlarc='${wl}'
7.10009 +
7.10010 + # ancient GNU ld didn't support --whole-archive et. al.
7.10011 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
7.10012 + grep 'no-whole-archive' > /dev/null; then
7.10013 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7.10014 + else
7.10015 + whole_archive_flag_spec_CXX=
7.10016 + fi
7.10017 + else
7.10018 + with_gnu_ld=no
7.10019 + wlarc=
7.10020 +
7.10021 + # A generic and very simple default shared library creation
7.10022 + # command for GNU C++ for the case where it uses the native
7.10023 + # linker, instead of GNU ld. If possible, this setting should
7.10024 + # overridden to take advantage of the native linker features on
7.10025 + # the platform it is being used on.
7.10026 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7.10027 + fi
7.10028 +
7.10029 + # Commands to make compiler produce verbose output that lists
7.10030 + # what "hidden" libraries, object files and flags are used when
7.10031 + # linking a shared library.
7.10032 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
7.10033 +
7.10034 +else
7.10035 + GXX=no
7.10036 + with_gnu_ld=no
7.10037 + wlarc=
7.10038 +fi
7.10039 +
7.10040 +# PORTME: fill in a description of your system's C++ link characteristics
7.10041 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7.10042 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7.10043 +ld_shlibs_CXX=yes
7.10044 +case $host_os in
7.10045 + aix3*)
7.10046 + # FIXME: insert proper C++ library support
7.10047 + ld_shlibs_CXX=no
7.10048 + ;;
7.10049 + aix4* | aix5*)
7.10050 + if test "$host_cpu" = ia64; then
7.10051 + # On IA64, the linker does run time linking by default, so we don't
7.10052 + # have to do anything special.
7.10053 + aix_use_runtimelinking=no
7.10054 + exp_sym_flag='-Bexport'
7.10055 + no_entry_flag=""
7.10056 + else
7.10057 + aix_use_runtimelinking=no
7.10058 +
7.10059 + # Test if we are trying to use run time linking or normal
7.10060 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7.10061 + # need to do runtime linking.
7.10062 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7.10063 + for ld_flag in $LDFLAGS; do
7.10064 + case $ld_flag in
7.10065 + *-brtl*)
7.10066 + aix_use_runtimelinking=yes
7.10067 + break
7.10068 + ;;
7.10069 + esac
7.10070 + done
7.10071 + esac
7.10072 +
7.10073 + exp_sym_flag='-bexport'
7.10074 + no_entry_flag='-bnoentry'
7.10075 + fi
7.10076 +
7.10077 + # When large executables or shared objects are built, AIX ld can
7.10078 + # have problems creating the table of contents. If linking a library
7.10079 + # or program results in "error TOC overflow" add -mminimal-toc to
7.10080 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7.10081 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7.10082 +
7.10083 + archive_cmds_CXX=''
7.10084 + hardcode_direct_CXX=yes
7.10085 + hardcode_libdir_separator_CXX=':'
7.10086 + link_all_deplibs_CXX=yes
7.10087 +
7.10088 + if test "$GXX" = yes; then
7.10089 + case $host_os in aix4.[012]|aix4.[012].*)
7.10090 + # We only want to do this on AIX 4.2 and lower, the check
7.10091 + # below for broken collect2 doesn't work under 4.3+
7.10092 + collect2name=`${CC} -print-prog-name=collect2`
7.10093 + if test -f "$collect2name" && \
7.10094 + strings "$collect2name" | grep resolve_lib_name >/dev/null
7.10095 + then
7.10096 + # We have reworked collect2
7.10097 + hardcode_direct_CXX=yes
7.10098 + else
7.10099 + # We have old collect2
7.10100 + hardcode_direct_CXX=unsupported
7.10101 + # It fails to find uninstalled libraries when the uninstalled
7.10102 + # path is not listed in the libpath. Setting hardcode_minus_L
7.10103 + # to unsupported forces relinking
7.10104 + hardcode_minus_L_CXX=yes
7.10105 + hardcode_libdir_flag_spec_CXX='-L$libdir'
7.10106 + hardcode_libdir_separator_CXX=
7.10107 + fi
7.10108 + esac
7.10109 + shared_flag='-shared'
7.10110 + if test "$aix_use_runtimelinking" = yes; then
7.10111 + shared_flag="$shared_flag "'${wl}-G'
7.10112 + fi
7.10113 + else
7.10114 + # not using gcc
7.10115 + if test "$host_cpu" = ia64; then
7.10116 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7.10117 + # chokes on -Wl,-G. The following line is correct:
7.10118 + shared_flag='-G'
7.10119 + else
7.10120 + if test "$aix_use_runtimelinking" = yes; then
7.10121 + shared_flag='${wl}-G'
7.10122 + else
7.10123 + shared_flag='${wl}-bM:SRE'
7.10124 + fi
7.10125 + fi
7.10126 + fi
7.10127 +
7.10128 + # It seems that -bexpall does not export symbols beginning with
7.10129 + # underscore (_), so it is better to generate a list of symbols to export.
7.10130 + always_export_symbols_CXX=yes
7.10131 + if test "$aix_use_runtimelinking" = yes; then
7.10132 + # Warning - without using the other runtime loading flags (-brtl),
7.10133 + # -berok will link without error, but may produce a broken library.
7.10134 + allow_undefined_flag_CXX='-berok'
7.10135 + # Determine the default libpath from the value encoded in an empty executable.
7.10136 + cat >conftest.$ac_ext <<_ACEOF
7.10137 +/* confdefs.h. */
7.10138 +_ACEOF
7.10139 +cat confdefs.h >>conftest.$ac_ext
7.10140 +cat >>conftest.$ac_ext <<_ACEOF
7.10141 +/* end confdefs.h. */
7.10142 +
7.10143 +int
7.10144 +main ()
7.10145 +{
7.10146 +
7.10147 + ;
7.10148 + return 0;
7.10149 +}
7.10150 +_ACEOF
7.10151 +rm -f conftest.$ac_objext conftest$ac_exeext
7.10152 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.10153 + (eval $ac_link) 2>conftest.er1
7.10154 + ac_status=$?
7.10155 + grep -v '^ *+' conftest.er1 >conftest.err
7.10156 + rm -f conftest.er1
7.10157 + cat conftest.err >&5
7.10158 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.10159 + (exit $ac_status); } &&
7.10160 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.10161 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.10162 + (eval $ac_try) 2>&5
7.10163 + ac_status=$?
7.10164 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.10165 + (exit $ac_status); }; } &&
7.10166 + { ac_try='test -s conftest$ac_exeext'
7.10167 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.10168 + (eval $ac_try) 2>&5
7.10169 + ac_status=$?
7.10170 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.10171 + (exit $ac_status); }; }; then
7.10172 +
7.10173 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7.10174 +}'`
7.10175 +# Check for a 64-bit object if we didn't find anything.
7.10176 +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; }
7.10177 +}'`; fi
7.10178 +else
7.10179 + echo "$as_me: failed program was:" >&5
7.10180 +sed 's/^/| /' conftest.$ac_ext >&5
7.10181 +
7.10182 +fi
7.10183 +rm -f conftest.err conftest.$ac_objext \
7.10184 + conftest$ac_exeext conftest.$ac_ext
7.10185 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7.10186 +
7.10187 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
7.10188 +
7.10189 + 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"
7.10190 + else
7.10191 + if test "$host_cpu" = ia64; then
7.10192 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
7.10193 + allow_undefined_flag_CXX="-z nodefs"
7.10194 + 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"
7.10195 + else
7.10196 + # Determine the default libpath from the value encoded in an empty executable.
7.10197 + cat >conftest.$ac_ext <<_ACEOF
7.10198 +/* confdefs.h. */
7.10199 +_ACEOF
7.10200 +cat confdefs.h >>conftest.$ac_ext
7.10201 +cat >>conftest.$ac_ext <<_ACEOF
7.10202 +/* end confdefs.h. */
7.10203 +
7.10204 +int
7.10205 +main ()
7.10206 +{
7.10207 +
7.10208 + ;
7.10209 + return 0;
7.10210 +}
7.10211 +_ACEOF
7.10212 +rm -f conftest.$ac_objext conftest$ac_exeext
7.10213 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.10214 + (eval $ac_link) 2>conftest.er1
7.10215 + ac_status=$?
7.10216 + grep -v '^ *+' conftest.er1 >conftest.err
7.10217 + rm -f conftest.er1
7.10218 + cat conftest.err >&5
7.10219 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.10220 + (exit $ac_status); } &&
7.10221 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.10222 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.10223 + (eval $ac_try) 2>&5
7.10224 + ac_status=$?
7.10225 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.10226 + (exit $ac_status); }; } &&
7.10227 + { ac_try='test -s conftest$ac_exeext'
7.10228 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.10229 + (eval $ac_try) 2>&5
7.10230 + ac_status=$?
7.10231 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.10232 + (exit $ac_status); }; }; then
7.10233 +
7.10234 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7.10235 +}'`
7.10236 +# Check for a 64-bit object if we didn't find anything.
7.10237 +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; }
7.10238 +}'`; fi
7.10239 +else
7.10240 + echo "$as_me: failed program was:" >&5
7.10241 +sed 's/^/| /' conftest.$ac_ext >&5
7.10242 +
7.10243 +fi
7.10244 +rm -f conftest.err conftest.$ac_objext \
7.10245 + conftest$ac_exeext conftest.$ac_ext
7.10246 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7.10247 +
7.10248 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
7.10249 + # Warning - without using the other run time loading flags,
7.10250 + # -berok will link without error, but may produce a broken library.
7.10251 + no_undefined_flag_CXX=' ${wl}-bernotok'
7.10252 + allow_undefined_flag_CXX=' ${wl}-berok'
7.10253 + # -bexpall does not export symbols beginning with underscore (_)
7.10254 + always_export_symbols_CXX=yes
7.10255 + # Exported symbols can be pulled into shared objects from archives
7.10256 + whole_archive_flag_spec_CXX=' '
7.10257 + archive_cmds_need_lc_CXX=yes
7.10258 + # This is similar to how AIX traditionally builds its shared libraries.
7.10259 + 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'
7.10260 + fi
7.10261 + fi
7.10262 + ;;
7.10263 + chorus*)
7.10264 + case $cc_basename in
7.10265 + *)
7.10266 + # FIXME: insert proper C++ library support
7.10267 + ld_shlibs_CXX=no
7.10268 + ;;
7.10269 + esac
7.10270 + ;;
7.10271 +
7.10272 +
7.10273 + cygwin* | mingw* | pw32*)
7.10274 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
7.10275 + # as there is no search path for DLLs.
7.10276 + hardcode_libdir_flag_spec_CXX='-L$libdir'
7.10277 + allow_undefined_flag_CXX=unsupported
7.10278 + always_export_symbols_CXX=no
7.10279 + enable_shared_with_static_runtimes_CXX=yes
7.10280 +
7.10281 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7.10282 + 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'
7.10283 + # If the export-symbols file already is a .def file (1st line
7.10284 + # is EXPORTS), use it as is; otherwise, prepend...
7.10285 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7.10286 + cp $export_symbols $output_objdir/$soname.def;
7.10287 + else
7.10288 + echo EXPORTS > $output_objdir/$soname.def;
7.10289 + cat $export_symbols >> $output_objdir/$soname.def;
7.10290 + fi~
7.10291 + $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'
7.10292 + else
7.10293 + ld_shlibs_CXX=no
7.10294 + fi
7.10295 + ;;
7.10296 + darwin* | rhapsody*)
7.10297 + case $host_os in
7.10298 + rhapsody* | darwin1.[012])
7.10299 + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
7.10300 + ;;
7.10301 + *) # Darwin 1.3 on
7.10302 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7.10303 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7.10304 + else
7.10305 + case ${MACOSX_DEPLOYMENT_TARGET} in
7.10306 + 10.[012])
7.10307 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7.10308 + ;;
7.10309 + 10.*)
7.10310 + allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
7.10311 + ;;
7.10312 + esac
7.10313 + fi
7.10314 + ;;
7.10315 + esac
7.10316 + archive_cmds_need_lc_CXX=no
7.10317 + hardcode_direct_CXX=no
7.10318 + hardcode_automatic_CXX=yes
7.10319 + hardcode_shlibpath_var_CXX=unsupported
7.10320 + whole_archive_flag_spec_CXX=''
7.10321 + link_all_deplibs_CXX=yes
7.10322 +
7.10323 + if test "$GXX" = yes ; then
7.10324 + lt_int_apple_cc_single_mod=no
7.10325 + output_verbose_link_cmd='echo'
7.10326 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
7.10327 + lt_int_apple_cc_single_mod=yes
7.10328 + fi
7.10329 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7.10330 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7.10331 + else
7.10332 + archive_cmds_CXX='$CC -r -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'
7.10333 + fi
7.10334 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7.10335 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7.10336 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7.10337 + 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}'
7.10338 + else
7.10339 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -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}'
7.10340 + fi
7.10341 + 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}'
7.10342 + else
7.10343 + case $cc_basename in
7.10344 + xlc*)
7.10345 + output_verbose_link_cmd='echo'
7.10346 + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7.10347 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7.10348 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7.10349 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7.10350 + 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}'
7.10351 + ;;
7.10352 + *)
7.10353 + ld_shlibs_CXX=no
7.10354 + ;;
7.10355 + esac
7.10356 + fi
7.10357 + ;;
7.10358 +
7.10359 + dgux*)
7.10360 + case $cc_basename in
7.10361 + ec++*)
7.10362 + # FIXME: insert proper C++ library support
7.10363 + ld_shlibs_CXX=no
7.10364 + ;;
7.10365 + ghcx*)
7.10366 + # Green Hills C++ Compiler
7.10367 + # FIXME: insert proper C++ library support
7.10368 + ld_shlibs_CXX=no
7.10369 + ;;
7.10370 + *)
7.10371 + # FIXME: insert proper C++ library support
7.10372 + ld_shlibs_CXX=no
7.10373 + ;;
7.10374 + esac
7.10375 + ;;
7.10376 + freebsd[12]*)
7.10377 + # C++ shared libraries reported to be fairly broken before switch to ELF
7.10378 + ld_shlibs_CXX=no
7.10379 + ;;
7.10380 + freebsd-elf*)
7.10381 + archive_cmds_need_lc_CXX=no
7.10382 + ;;
7.10383 + freebsd* | kfreebsd*-gnu | dragonfly*)
7.10384 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
7.10385 + # conventions
7.10386 + ld_shlibs_CXX=yes
7.10387 + ;;
7.10388 + gnu*)
7.10389 + ;;
7.10390 + hpux9*)
7.10391 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
7.10392 + hardcode_libdir_separator_CXX=:
7.10393 + export_dynamic_flag_spec_CXX='${wl}-E'
7.10394 + hardcode_direct_CXX=yes
7.10395 + hardcode_minus_L_CXX=yes # Not in the search PATH,
7.10396 + # but as the default
7.10397 + # location of the library.
7.10398 +
7.10399 + case $cc_basename in
7.10400 + CC*)
7.10401 + # FIXME: insert proper C++ library support
7.10402 + ld_shlibs_CXX=no
7.10403 + ;;
7.10404 + aCC*)
7.10405 + 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'
7.10406 + # Commands to make compiler produce verbose output that lists
7.10407 + # what "hidden" libraries, object files and flags are used when
7.10408 + # linking a shared library.
7.10409 + #
7.10410 + # There doesn't appear to be a way to prevent this compiler from
7.10411 + # explicitly linking system object files so we need to strip them
7.10412 + # from the output so that they don't get included in the library
7.10413 + # dependencies.
7.10414 + 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'
7.10415 + ;;
7.10416 + *)
7.10417 + if test "$GXX" = yes; then
7.10418 + 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'
7.10419 + else
7.10420 + # FIXME: insert proper C++ library support
7.10421 + ld_shlibs_CXX=no
7.10422 + fi
7.10423 + ;;
7.10424 + esac
7.10425 + ;;
7.10426 + hpux10*|hpux11*)
7.10427 + if test $with_gnu_ld = no; then
7.10428 + case $host_cpu in
7.10429 + hppa*64*)
7.10430 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
7.10431 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
7.10432 + hardcode_libdir_separator_CXX=:
7.10433 + ;;
7.10434 + ia64*)
7.10435 + hardcode_libdir_flag_spec_CXX='-L$libdir'
7.10436 + ;;
7.10437 + *)
7.10438 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
7.10439 + hardcode_libdir_separator_CXX=:
7.10440 + export_dynamic_flag_spec_CXX='${wl}-E'
7.10441 + ;;
7.10442 + esac
7.10443 + fi
7.10444 + case $host_cpu in
7.10445 + hppa*64*)
7.10446 + hardcode_direct_CXX=no
7.10447 + hardcode_shlibpath_var_CXX=no
7.10448 + ;;
7.10449 + ia64*)
7.10450 + hardcode_direct_CXX=no
7.10451 + hardcode_shlibpath_var_CXX=no
7.10452 + hardcode_minus_L_CXX=yes # Not in the search PATH,
7.10453 + # but as the default
7.10454 + # location of the library.
7.10455 + ;;
7.10456 + *)
7.10457 + hardcode_direct_CXX=yes
7.10458 + hardcode_minus_L_CXX=yes # Not in the search PATH,
7.10459 + # but as the default
7.10460 + # location of the library.
7.10461 + ;;
7.10462 + esac
7.10463 +
7.10464 + case $cc_basename in
7.10465 + CC*)
7.10466 + # FIXME: insert proper C++ library support
7.10467 + ld_shlibs_CXX=no
7.10468 + ;;
7.10469 + aCC*)
7.10470 + case $host_cpu in
7.10471 + hppa*64*|ia64*)
7.10472 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
7.10473 + ;;
7.10474 + *)
7.10475 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7.10476 + ;;
7.10477 + esac
7.10478 + # Commands to make compiler produce verbose output that lists
7.10479 + # what "hidden" libraries, object files and flags are used when
7.10480 + # linking a shared library.
7.10481 + #
7.10482 + # There doesn't appear to be a way to prevent this compiler from
7.10483 + # explicitly linking system object files so we need to strip them
7.10484 + # from the output so that they don't get included in the library
7.10485 + # dependencies.
7.10486 + 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'
7.10487 + ;;
7.10488 + *)
7.10489 + if test "$GXX" = yes; then
7.10490 + if test $with_gnu_ld = no; then
7.10491 + case $host_cpu in
7.10492 + ia64*|hppa*64*)
7.10493 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
7.10494 + ;;
7.10495 + *)
7.10496 + 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'
7.10497 + ;;
7.10498 + esac
7.10499 + fi
7.10500 + else
7.10501 + # FIXME: insert proper C++ library support
7.10502 + ld_shlibs_CXX=no
7.10503 + fi
7.10504 + ;;
7.10505 + esac
7.10506 + ;;
7.10507 + irix5* | irix6*)
7.10508 + case $cc_basename in
7.10509 + CC*)
7.10510 + # SGI C++
7.10511 + 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 ${output_objdir}/so_locations -o $lib'
7.10512 +
7.10513 + # Archives containing C++ object files must be created using
7.10514 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
7.10515 + # necessary to make sure instantiated templates are included
7.10516 + # in the archive.
7.10517 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
7.10518 + ;;
7.10519 + *)
7.10520 + if test "$GXX" = yes; then
7.10521 + if test "$with_gnu_ld" = no; then
7.10522 + 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}${output_objdir}/so_locations -o $lib'
7.10523 + else
7.10524 + 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'
7.10525 + fi
7.10526 + fi
7.10527 + link_all_deplibs_CXX=yes
7.10528 + ;;
7.10529 + esac
7.10530 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
7.10531 + hardcode_libdir_separator_CXX=:
7.10532 + ;;
7.10533 + linux*)
7.10534 + case $cc_basename in
7.10535 + KCC*)
7.10536 + # Kuck and Associates, Inc. (KAI) C++ Compiler
7.10537 +
7.10538 + # KCC will only create a shared library if the output file
7.10539 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
7.10540 + # to its proper name (with version) after linking.
7.10541 + 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'
7.10542 + 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'
7.10543 + # Commands to make compiler produce verbose output that lists
7.10544 + # what "hidden" libraries, object files and flags are used when
7.10545 + # linking a shared library.
7.10546 + #
7.10547 + # There doesn't appear to be a way to prevent this compiler from
7.10548 + # explicitly linking system object files so we need to strip them
7.10549 + # from the output so that they don't get included in the library
7.10550 + # dependencies.
7.10551 + 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'
7.10552 +
7.10553 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
7.10554 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
7.10555 +
7.10556 + # Archives containing C++ object files must be created using
7.10557 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
7.10558 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
7.10559 + ;;
7.10560 + icpc*)
7.10561 + # Intel C++
7.10562 + with_gnu_ld=yes
7.10563 + # version 8.0 and above of icpc choke on multiply defined symbols
7.10564 + # if we add $predep_objects and $postdep_objects, however 7.1 and
7.10565 + # earlier do not add the objects themselves.
7.10566 + case `$CC -V 2>&1` in
7.10567 + *"Version 7."*)
7.10568 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.10569 + 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'
7.10570 + ;;
7.10571 + *) # Version 8.0 or newer
7.10572 + tmp_idyn=
7.10573 + case $host_cpu in
7.10574 + ia64*) tmp_idyn=' -i_dynamic';;
7.10575 + esac
7.10576 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.10577 + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.10578 + ;;
7.10579 + esac
7.10580 + archive_cmds_need_lc_CXX=no
7.10581 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
7.10582 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
7.10583 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
7.10584 + ;;
7.10585 + pgCC*)
7.10586 + # Portland Group C++ compiler
7.10587 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
7.10588 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
7.10589 +
7.10590 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
7.10591 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
7.10592 + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7.10593 + ;;
7.10594 + cxx*)
7.10595 + # Compaq C++
7.10596 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.10597 + 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'
7.10598 +
7.10599 + runpath_var=LD_RUN_PATH
7.10600 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
7.10601 + hardcode_libdir_separator_CXX=:
7.10602 +
7.10603 + # Commands to make compiler produce verbose output that lists
7.10604 + # what "hidden" libraries, object files and flags are used when
7.10605 + # linking a shared library.
7.10606 + #
7.10607 + # There doesn't appear to be a way to prevent this compiler from
7.10608 + # explicitly linking system object files so we need to strip them
7.10609 + # from the output so that they don't get included in the library
7.10610 + # dependencies.
7.10611 + 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'
7.10612 + ;;
7.10613 + esac
7.10614 + ;;
7.10615 + lynxos*)
7.10616 + # FIXME: insert proper C++ library support
7.10617 + ld_shlibs_CXX=no
7.10618 + ;;
7.10619 + m88k*)
7.10620 + # FIXME: insert proper C++ library support
7.10621 + ld_shlibs_CXX=no
7.10622 + ;;
7.10623 + mvs*)
7.10624 + case $cc_basename in
7.10625 + cxx*)
7.10626 + # FIXME: insert proper C++ library support
7.10627 + ld_shlibs_CXX=no
7.10628 + ;;
7.10629 + *)
7.10630 + # FIXME: insert proper C++ library support
7.10631 + ld_shlibs_CXX=no
7.10632 + ;;
7.10633 + esac
7.10634 + ;;
7.10635 + netbsd*)
7.10636 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7.10637 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
7.10638 + wlarc=
7.10639 + hardcode_libdir_flag_spec_CXX='-R$libdir'
7.10640 + hardcode_direct_CXX=yes
7.10641 + hardcode_shlibpath_var_CXX=no
7.10642 + fi
7.10643 + # Workaround some broken pre-1.5 toolchains
7.10644 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
7.10645 + ;;
7.10646 + openbsd2*)
7.10647 + # C++ shared libraries are fairly broken
7.10648 + ld_shlibs_CXX=no
7.10649 + ;;
7.10650 + openbsd*)
7.10651 + hardcode_direct_CXX=yes
7.10652 + hardcode_shlibpath_var_CXX=no
7.10653 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
7.10654 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
7.10655 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7.10656 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
7.10657 + export_dynamic_flag_spec_CXX='${wl}-E'
7.10658 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7.10659 + fi
7.10660 + output_verbose_link_cmd='echo'
7.10661 + ;;
7.10662 + osf3*)
7.10663 + case $cc_basename in
7.10664 + KCC*)
7.10665 + # Kuck and Associates, Inc. (KAI) C++ Compiler
7.10666 +
7.10667 + # KCC will only create a shared library if the output file
7.10668 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
7.10669 + # to its proper name (with version) after linking.
7.10670 + 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'
7.10671 +
7.10672 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
7.10673 + hardcode_libdir_separator_CXX=:
7.10674 +
7.10675 + # Archives containing C++ object files must be created using
7.10676 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
7.10677 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
7.10678 +
7.10679 + ;;
7.10680 + RCC*)
7.10681 + # Rational C++ 2.4.1
7.10682 + # FIXME: insert proper C++ library support
7.10683 + ld_shlibs_CXX=no
7.10684 + ;;
7.10685 + cxx*)
7.10686 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
7.10687 + 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 ${output_objdir}/so_locations -o $lib'
7.10688 +
7.10689 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
7.10690 + hardcode_libdir_separator_CXX=:
7.10691 +
7.10692 + # Commands to make compiler produce verbose output that lists
7.10693 + # what "hidden" libraries, object files and flags are used when
7.10694 + # linking a shared library.
7.10695 + #
7.10696 + # There doesn't appear to be a way to prevent this compiler from
7.10697 + # explicitly linking system object files so we need to strip them
7.10698 + # from the output so that they don't get included in the library
7.10699 + # dependencies.
7.10700 + 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'
7.10701 + ;;
7.10702 + *)
7.10703 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
7.10704 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
7.10705 + 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}${output_objdir}/so_locations -o $lib'
7.10706 +
7.10707 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
7.10708 + hardcode_libdir_separator_CXX=:
7.10709 +
7.10710 + # Commands to make compiler produce verbose output that lists
7.10711 + # what "hidden" libraries, object files and flags are used when
7.10712 + # linking a shared library.
7.10713 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
7.10714 +
7.10715 + else
7.10716 + # FIXME: insert proper C++ library support
7.10717 + ld_shlibs_CXX=no
7.10718 + fi
7.10719 + ;;
7.10720 + esac
7.10721 + ;;
7.10722 + osf4* | osf5*)
7.10723 + case $cc_basename in
7.10724 + KCC*)
7.10725 + # Kuck and Associates, Inc. (KAI) C++ Compiler
7.10726 +
7.10727 + # KCC will only create a shared library if the output file
7.10728 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
7.10729 + # to its proper name (with version) after linking.
7.10730 + 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'
7.10731 +
7.10732 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
7.10733 + hardcode_libdir_separator_CXX=:
7.10734 +
7.10735 + # Archives containing C++ object files must be created using
7.10736 + # the KAI C++ compiler.
7.10737 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
7.10738 + ;;
7.10739 + RCC*)
7.10740 + # Rational C++ 2.4.1
7.10741 + # FIXME: insert proper C++ library support
7.10742 + ld_shlibs_CXX=no
7.10743 + ;;
7.10744 + cxx*)
7.10745 + allow_undefined_flag_CXX=' -expect_unresolved \*'
7.10746 + 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 ${output_objdir}/so_locations -o $lib'
7.10747 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
7.10748 + echo "-hidden">> $lib.exp~
7.10749 + $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 ${output_objdir}/so_locations -o $lib~
7.10750 + $rm $lib.exp'
7.10751 +
7.10752 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
7.10753 + hardcode_libdir_separator_CXX=:
7.10754 +
7.10755 + # Commands to make compiler produce verbose output that lists
7.10756 + # what "hidden" libraries, object files and flags are used when
7.10757 + # linking a shared library.
7.10758 + #
7.10759 + # There doesn't appear to be a way to prevent this compiler from
7.10760 + # explicitly linking system object files so we need to strip them
7.10761 + # from the output so that they don't get included in the library
7.10762 + # dependencies.
7.10763 + 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'
7.10764 + ;;
7.10765 + *)
7.10766 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
7.10767 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
7.10768 + 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}${output_objdir}/so_locations -o $lib'
7.10769 +
7.10770 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
7.10771 + hardcode_libdir_separator_CXX=:
7.10772 +
7.10773 + # Commands to make compiler produce verbose output that lists
7.10774 + # what "hidden" libraries, object files and flags are used when
7.10775 + # linking a shared library.
7.10776 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
7.10777 +
7.10778 + else
7.10779 + # FIXME: insert proper C++ library support
7.10780 + ld_shlibs_CXX=no
7.10781 + fi
7.10782 + ;;
7.10783 + esac
7.10784 + ;;
7.10785 + psos*)
7.10786 + # FIXME: insert proper C++ library support
7.10787 + ld_shlibs_CXX=no
7.10788 + ;;
7.10789 + sco*)
7.10790 + archive_cmds_need_lc_CXX=no
7.10791 + case $cc_basename in
7.10792 + CC*)
7.10793 + # FIXME: insert proper C++ library support
7.10794 + ld_shlibs_CXX=no
7.10795 + ;;
7.10796 + *)
7.10797 + # FIXME: insert proper C++ library support
7.10798 + ld_shlibs_CXX=no
7.10799 + ;;
7.10800 + esac
7.10801 + ;;
7.10802 + sunos4*)
7.10803 + case $cc_basename in
7.10804 + CC*)
7.10805 + # Sun C++ 4.x
7.10806 + # FIXME: insert proper C++ library support
7.10807 + ld_shlibs_CXX=no
7.10808 + ;;
7.10809 + lcc*)
7.10810 + # Lucid
7.10811 + # FIXME: insert proper C++ library support
7.10812 + ld_shlibs_CXX=no
7.10813 + ;;
7.10814 + *)
7.10815 + # FIXME: insert proper C++ library support
7.10816 + ld_shlibs_CXX=no
7.10817 + ;;
7.10818 + esac
7.10819 + ;;
7.10820 + solaris*)
7.10821 + case $cc_basename in
7.10822 + CC*)
7.10823 + # Sun C++ 4.2, 5.x and Centerline C++
7.10824 + archive_cmds_need_lc_CXX=yes
7.10825 + no_undefined_flag_CXX=' -zdefs'
7.10826 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
7.10827 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.10828 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
7.10829 +
7.10830 + hardcode_libdir_flag_spec_CXX='-R$libdir'
7.10831 + hardcode_shlibpath_var_CXX=no
7.10832 + case $host_os in
7.10833 + solaris2.[0-5] | solaris2.[0-5].*) ;;
7.10834 + *)
7.10835 + # The C++ compiler is used as linker so we must use $wl
7.10836 + # flag to pass the commands to the underlying system
7.10837 + # linker. We must also pass each convience library through
7.10838 + # to the system linker between allextract/defaultextract.
7.10839 + # The C++ compiler will combine linker options so we
7.10840 + # cannot just pass the convience library names through
7.10841 + # without $wl.
7.10842 + # Supported since Solaris 2.6 (maybe 2.5.1?)
7.10843 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
7.10844 + ;;
7.10845 + esac
7.10846 + link_all_deplibs_CXX=yes
7.10847 +
7.10848 + output_verbose_link_cmd='echo'
7.10849 +
7.10850 + # Archives containing C++ object files must be created using
7.10851 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
7.10852 + # necessary to make sure instantiated templates are included
7.10853 + # in the archive.
7.10854 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
7.10855 + ;;
7.10856 + gcx*)
7.10857 + # Green Hills C++ Compiler
7.10858 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
7.10859 +
7.10860 + # The C++ compiler must be used to create the archive.
7.10861 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
7.10862 + ;;
7.10863 + *)
7.10864 + # GNU C++ compiler with Solaris linker
7.10865 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
7.10866 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
7.10867 + if $CC --version | grep -v '^2\.7' > /dev/null; then
7.10868 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
7.10869 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.10870 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
7.10871 +
7.10872 + # Commands to make compiler produce verbose output that lists
7.10873 + # what "hidden" libraries, object files and flags are used when
7.10874 + # linking a shared library.
7.10875 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
7.10876 + else
7.10877 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
7.10878 + # platform.
7.10879 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
7.10880 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.10881 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
7.10882 +
7.10883 + # Commands to make compiler produce verbose output that lists
7.10884 + # what "hidden" libraries, object files and flags are used when
7.10885 + # linking a shared library.
7.10886 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
7.10887 + fi
7.10888 +
7.10889 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
7.10890 + fi
7.10891 + ;;
7.10892 + esac
7.10893 + ;;
7.10894 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7.10895 + archive_cmds_need_lc_CXX=no
7.10896 + ;;
7.10897 + tandem*)
7.10898 + case $cc_basename in
7.10899 + NCC*)
7.10900 + # NonStop-UX NCC 3.20
7.10901 + # FIXME: insert proper C++ library support
7.10902 + ld_shlibs_CXX=no
7.10903 + ;;
7.10904 + *)
7.10905 + # FIXME: insert proper C++ library support
7.10906 + ld_shlibs_CXX=no
7.10907 + ;;
7.10908 + esac
7.10909 + ;;
7.10910 + vxworks*)
7.10911 + # FIXME: insert proper C++ library support
7.10912 + ld_shlibs_CXX=no
7.10913 + ;;
7.10914 + *)
7.10915 + # FIXME: insert proper C++ library support
7.10916 + ld_shlibs_CXX=no
7.10917 + ;;
7.10918 +esac
7.10919 +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
7.10920 +echo "${ECHO_T}$ld_shlibs_CXX" >&6
7.10921 +test "$ld_shlibs_CXX" = no && can_build_shared=no
7.10922 +
7.10923 +GCC_CXX="$GXX"
7.10924 +LD_CXX="$LD"
7.10925 +
7.10926 +
7.10927 +cat > conftest.$ac_ext <<EOF
7.10928 +class Foo
7.10929 +{
7.10930 +public:
7.10931 + Foo (void) { a = 0; }
7.10932 +private:
7.10933 + int a;
7.10934 +};
7.10935 +EOF
7.10936 +
7.10937 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.10938 + (eval $ac_compile) 2>&5
7.10939 + ac_status=$?
7.10940 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.10941 + (exit $ac_status); }; then
7.10942 + # Parse the compiler output and extract the necessary
7.10943 + # objects, libraries and library flags.
7.10944 +
7.10945 + # Sentinel used to keep track of whether or not we are before
7.10946 + # the conftest object file.
7.10947 + pre_test_object_deps_done=no
7.10948 +
7.10949 + # The `*' in the case matches for architectures that use `case' in
7.10950 + # $output_verbose_cmd can trigger glob expansion during the loop
7.10951 + # eval without this substitution.
7.10952 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
7.10953 +
7.10954 + for p in `eval $output_verbose_link_cmd`; do
7.10955 + case $p in
7.10956 +
7.10957 + -L* | -R* | -l*)
7.10958 + # Some compilers place space between "-{L,R}" and the path.
7.10959 + # Remove the space.
7.10960 + if test $p = "-L" \
7.10961 + || test $p = "-R"; then
7.10962 + prev=$p
7.10963 + continue
7.10964 + else
7.10965 + prev=
7.10966 + fi
7.10967 +
7.10968 + if test "$pre_test_object_deps_done" = no; then
7.10969 + case $p in
7.10970 + -L* | -R*)
7.10971 + # Internal compiler library paths should come after those
7.10972 + # provided the user. The postdeps already come after the
7.10973 + # user supplied libs so there is no need to process them.
7.10974 + if test -z "$compiler_lib_search_path_CXX"; then
7.10975 + compiler_lib_search_path_CXX="${prev}${p}"
7.10976 + else
7.10977 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
7.10978 + fi
7.10979 + ;;
7.10980 + # The "-l" case would never come before the object being
7.10981 + # linked, so don't bother handling this case.
7.10982 + esac
7.10983 + else
7.10984 + if test -z "$postdeps_CXX"; then
7.10985 + postdeps_CXX="${prev}${p}"
7.10986 + else
7.10987 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
7.10988 + fi
7.10989 + fi
7.10990 + ;;
7.10991 +
7.10992 + *.$objext)
7.10993 + # This assumes that the test object file only shows up
7.10994 + # once in the compiler output.
7.10995 + if test "$p" = "conftest.$objext"; then
7.10996 + pre_test_object_deps_done=yes
7.10997 + continue
7.10998 + fi
7.10999 +
7.11000 + if test "$pre_test_object_deps_done" = no; then
7.11001 + if test -z "$predep_objects_CXX"; then
7.11002 + predep_objects_CXX="$p"
7.11003 + else
7.11004 + predep_objects_CXX="$predep_objects_CXX $p"
7.11005 + fi
7.11006 + else
7.11007 + if test -z "$postdep_objects_CXX"; then
7.11008 + postdep_objects_CXX="$p"
7.11009 + else
7.11010 + postdep_objects_CXX="$postdep_objects_CXX $p"
7.11011 + fi
7.11012 + fi
7.11013 + ;;
7.11014 +
7.11015 + *) ;; # Ignore the rest.
7.11016 +
7.11017 + esac
7.11018 + done
7.11019 +
7.11020 + # Clean up.
7.11021 + rm -f a.out a.exe
7.11022 +else
7.11023 + echo "libtool.m4: error: problem compiling CXX test program"
7.11024 +fi
7.11025 +
7.11026 +$rm -f confest.$objext
7.11027 +
7.11028 +# PORTME: override above test on systems where it is broken
7.11029 +case $host_os in
7.11030 +solaris*)
7.11031 + case $cc_basename in
7.11032 + CC*)
7.11033 + # Adding this requires a known-good setup of shared libraries for
7.11034 + # Sun compiler versions before 5.6, else PIC objects from an old
7.11035 + # archive will be linked into the output, leading to subtle bugs.
7.11036 + postdeps_CXX='-lCstd -lCrun'
7.11037 + ;;
7.11038 + esac
7.11039 +esac
7.11040 +
7.11041 +
7.11042 +case " $postdeps_CXX " in
7.11043 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
7.11044 +esac
7.11045 +
7.11046 +lt_prog_compiler_wl_CXX=
7.11047 +lt_prog_compiler_pic_CXX=
7.11048 +lt_prog_compiler_static_CXX=
7.11049 +
7.11050 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7.11051 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7.11052 +
7.11053 + # C++ specific cases for pic, static, wl, etc.
7.11054 + if test "$GXX" = yes; then
7.11055 + lt_prog_compiler_wl_CXX='-Wl,'
7.11056 + lt_prog_compiler_static_CXX='-static'
7.11057 +
7.11058 + case $host_os in
7.11059 + aix*)
7.11060 + # All AIX code is PIC.
7.11061 + if test "$host_cpu" = ia64; then
7.11062 + # AIX 5 now supports IA64 processor
7.11063 + lt_prog_compiler_static_CXX='-Bstatic'
7.11064 + fi
7.11065 + ;;
7.11066 + amigaos*)
7.11067 + # FIXME: we need at least 68020 code to build shared libraries, but
7.11068 + # adding the `-m68020' flag to GCC prevents building anything better,
7.11069 + # like `-m68040'.
7.11070 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
7.11071 + ;;
7.11072 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7.11073 + # PIC is the default for these OSes.
7.11074 + ;;
7.11075 + mingw* | os2* | pw32*)
7.11076 + # This hack is so that the source file can tell whether it is being
7.11077 + # built for inclusion in a dll (and should export symbols for example).
7.11078 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
7.11079 + ;;
7.11080 + darwin* | rhapsody*)
7.11081 + # PIC is the default on this platform
7.11082 + # Common symbols not allowed in MH_DYLIB files
7.11083 + lt_prog_compiler_pic_CXX='-fno-common'
7.11084 + ;;
7.11085 + *djgpp*)
7.11086 + # DJGPP does not support shared libraries at all
7.11087 + lt_prog_compiler_pic_CXX=
7.11088 + ;;
7.11089 + sysv4*MP*)
7.11090 + if test -d /usr/nec; then
7.11091 + lt_prog_compiler_pic_CXX=-Kconform_pic
7.11092 + fi
7.11093 + ;;
7.11094 + hpux*)
7.11095 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7.11096 + # not for PA HP-UX.
7.11097 + case $host_cpu in
7.11098 + hppa*64*|ia64*)
7.11099 + ;;
7.11100 + *)
7.11101 + lt_prog_compiler_pic_CXX='-fPIC'
7.11102 + ;;
7.11103 + esac
7.11104 + ;;
7.11105 + *)
7.11106 + lt_prog_compiler_pic_CXX='-fPIC'
7.11107 + ;;
7.11108 + esac
7.11109 + else
7.11110 + case $host_os in
7.11111 + aix4* | aix5*)
7.11112 + # All AIX code is PIC.
7.11113 + if test "$host_cpu" = ia64; then
7.11114 + # AIX 5 now supports IA64 processor
7.11115 + lt_prog_compiler_static_CXX='-Bstatic'
7.11116 + else
7.11117 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
7.11118 + fi
7.11119 + ;;
7.11120 + chorus*)
7.11121 + case $cc_basename in
7.11122 + cxch68*)
7.11123 + # Green Hills C++ Compiler
7.11124 + # _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"
7.11125 + ;;
7.11126 + esac
7.11127 + ;;
7.11128 + darwin*)
7.11129 + # PIC is the default on this platform
7.11130 + # Common symbols not allowed in MH_DYLIB files
7.11131 + case $cc_basename in
7.11132 + xlc*)
7.11133 + lt_prog_compiler_pic_CXX='-qnocommon'
7.11134 + lt_prog_compiler_wl_CXX='-Wl,'
7.11135 + ;;
7.11136 + esac
7.11137 + ;;
7.11138 + dgux*)
7.11139 + case $cc_basename in
7.11140 + ec++*)
7.11141 + lt_prog_compiler_pic_CXX='-KPIC'
7.11142 + ;;
7.11143 + ghcx*)
7.11144 + # Green Hills C++ Compiler
7.11145 + lt_prog_compiler_pic_CXX='-pic'
7.11146 + ;;
7.11147 + *)
7.11148 + ;;
7.11149 + esac
7.11150 + ;;
7.11151 + freebsd* | kfreebsd*-gnu | dragonfly*)
7.11152 + # FreeBSD uses GNU C++
7.11153 + ;;
7.11154 + hpux9* | hpux10* | hpux11*)
7.11155 + case $cc_basename in
7.11156 + CC*)
7.11157 + lt_prog_compiler_wl_CXX='-Wl,'
7.11158 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
7.11159 + if test "$host_cpu" != ia64; then
7.11160 + lt_prog_compiler_pic_CXX='+Z'
7.11161 + fi
7.11162 + ;;
7.11163 + aCC*)
7.11164 + lt_prog_compiler_wl_CXX='-Wl,'
7.11165 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
7.11166 + case $host_cpu in
7.11167 + hppa*64*|ia64*)
7.11168 + # +Z the default
7.11169 + ;;
7.11170 + *)
7.11171 + lt_prog_compiler_pic_CXX='+Z'
7.11172 + ;;
7.11173 + esac
7.11174 + ;;
7.11175 + *)
7.11176 + ;;
7.11177 + esac
7.11178 + ;;
7.11179 + irix5* | irix6* | nonstopux*)
7.11180 + case $cc_basename in
7.11181 + CC*)
7.11182 + lt_prog_compiler_wl_CXX='-Wl,'
7.11183 + lt_prog_compiler_static_CXX='-non_shared'
7.11184 + # CC pic flag -KPIC is the default.
7.11185 + ;;
7.11186 + *)
7.11187 + ;;
7.11188 + esac
7.11189 + ;;
7.11190 + linux*)
7.11191 + case $cc_basename in
7.11192 + KCC*)
7.11193 + # KAI C++ Compiler
7.11194 + lt_prog_compiler_wl_CXX='--backend -Wl,'
7.11195 + lt_prog_compiler_pic_CXX='-fPIC'
7.11196 + ;;
7.11197 + icpc* | ecpc*)
7.11198 + # Intel C++
7.11199 + lt_prog_compiler_wl_CXX='-Wl,'
7.11200 + lt_prog_compiler_pic_CXX='-KPIC'
7.11201 + lt_prog_compiler_static_CXX='-static'
7.11202 + ;;
7.11203 + pgCC*)
7.11204 + # Portland Group C++ compiler.
7.11205 + lt_prog_compiler_wl_CXX='-Wl,'
7.11206 + lt_prog_compiler_pic_CXX='-fpic'
7.11207 + lt_prog_compiler_static_CXX='-Bstatic'
7.11208 + ;;
7.11209 + cxx*)
7.11210 + # Compaq C++
7.11211 + # Make sure the PIC flag is empty. It appears that all Alpha
7.11212 + # Linux and Compaq Tru64 Unix objects are PIC.
7.11213 + lt_prog_compiler_pic_CXX=
7.11214 + lt_prog_compiler_static_CXX='-non_shared'
7.11215 + ;;
7.11216 + *)
7.11217 + ;;
7.11218 + esac
7.11219 + ;;
7.11220 + lynxos*)
7.11221 + ;;
7.11222 + m88k*)
7.11223 + ;;
7.11224 + mvs*)
7.11225 + case $cc_basename in
7.11226 + cxx*)
7.11227 + lt_prog_compiler_pic_CXX='-W c,exportall'
7.11228 + ;;
7.11229 + *)
7.11230 + ;;
7.11231 + esac
7.11232 + ;;
7.11233 + netbsd*)
7.11234 + ;;
7.11235 + osf3* | osf4* | osf5*)
7.11236 + case $cc_basename in
7.11237 + KCC*)
7.11238 + lt_prog_compiler_wl_CXX='--backend -Wl,'
7.11239 + ;;
7.11240 + RCC*)
7.11241 + # Rational C++ 2.4.1
7.11242 + lt_prog_compiler_pic_CXX='-pic'
7.11243 + ;;
7.11244 + cxx*)
7.11245 + # Digital/Compaq C++
7.11246 + lt_prog_compiler_wl_CXX='-Wl,'
7.11247 + # Make sure the PIC flag is empty. It appears that all Alpha
7.11248 + # Linux and Compaq Tru64 Unix objects are PIC.
7.11249 + lt_prog_compiler_pic_CXX=
7.11250 + lt_prog_compiler_static_CXX='-non_shared'
7.11251 + ;;
7.11252 + *)
7.11253 + ;;
7.11254 + esac
7.11255 + ;;
7.11256 + psos*)
7.11257 + ;;
7.11258 + sco*)
7.11259 + case $cc_basename in
7.11260 + CC*)
7.11261 + lt_prog_compiler_pic_CXX='-fPIC'
7.11262 + ;;
7.11263 + *)
7.11264 + ;;
7.11265 + esac
7.11266 + ;;
7.11267 + solaris*)
7.11268 + case $cc_basename in
7.11269 + CC*)
7.11270 + # Sun C++ 4.2, 5.x and Centerline C++
7.11271 + lt_prog_compiler_pic_CXX='-KPIC'
7.11272 + lt_prog_compiler_static_CXX='-Bstatic'
7.11273 + lt_prog_compiler_wl_CXX='-Qoption ld '
7.11274 + ;;
7.11275 + gcx*)
7.11276 + # Green Hills C++ Compiler
7.11277 + lt_prog_compiler_pic_CXX='-PIC'
7.11278 + ;;
7.11279 + *)
7.11280 + ;;
7.11281 + esac
7.11282 + ;;
7.11283 + sunos4*)
7.11284 + case $cc_basename in
7.11285 + CC*)
7.11286 + # Sun C++ 4.x
7.11287 + lt_prog_compiler_pic_CXX='-pic'
7.11288 + lt_prog_compiler_static_CXX='-Bstatic'
7.11289 + ;;
7.11290 + lcc*)
7.11291 + # Lucid
7.11292 + lt_prog_compiler_pic_CXX='-pic'
7.11293 + ;;
7.11294 + *)
7.11295 + ;;
7.11296 + esac
7.11297 + ;;
7.11298 + tandem*)
7.11299 + case $cc_basename in
7.11300 + NCC*)
7.11301 + # NonStop-UX NCC 3.20
7.11302 + lt_prog_compiler_pic_CXX='-KPIC'
7.11303 + ;;
7.11304 + *)
7.11305 + ;;
7.11306 + esac
7.11307 + ;;
7.11308 + unixware*)
7.11309 + ;;
7.11310 + vxworks*)
7.11311 + ;;
7.11312 + *)
7.11313 + lt_prog_compiler_can_build_shared_CXX=no
7.11314 + ;;
7.11315 + esac
7.11316 + fi
7.11317 +
7.11318 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
7.11319 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
7.11320 +
7.11321 +#
7.11322 +# Check to make sure the PIC flag actually works.
7.11323 +#
7.11324 +if test -n "$lt_prog_compiler_pic_CXX"; then
7.11325 +
7.11326 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
7.11327 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
7.11328 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
7.11329 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.11330 +else
7.11331 + lt_prog_compiler_pic_works_CXX=no
7.11332 + ac_outfile=conftest.$ac_objext
7.11333 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.11334 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
7.11335 + # Insert the option either (1) after the last *FLAGS variable, or
7.11336 + # (2) before a word containing "conftest.", or (3) at the end.
7.11337 + # Note that $ac_compile itself does not contain backslashes and begins
7.11338 + # with a dollar sign (not a hyphen), so the echo should work correctly.
7.11339 + # The option is referenced via a variable to avoid confusing sed.
7.11340 + lt_compile=`echo "$ac_compile" | $SED \
7.11341 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7.11342 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7.11343 + -e 's:$: $lt_compiler_flag:'`
7.11344 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7.11345 + (eval "$lt_compile" 2>conftest.err)
7.11346 + ac_status=$?
7.11347 + cat conftest.err >&5
7.11348 + echo "$as_me:__oline__: \$? = $ac_status" >&5
7.11349 + if (exit $ac_status) && test -s "$ac_outfile"; then
7.11350 + # The compiler can only warn and ignore the option if not recognized
7.11351 + # So say no if there are warnings other than the usual output.
7.11352 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
7.11353 + $SED '/^$/d' conftest.err >conftest.er2
7.11354 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
7.11355 + lt_prog_compiler_pic_works_CXX=yes
7.11356 + fi
7.11357 + fi
7.11358 + $rm conftest*
7.11359 +
7.11360 +fi
7.11361 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
7.11362 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
7.11363 +
7.11364 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
7.11365 + case $lt_prog_compiler_pic_CXX in
7.11366 + "" | " "*) ;;
7.11367 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
7.11368 + esac
7.11369 +else
7.11370 + lt_prog_compiler_pic_CXX=
7.11371 + lt_prog_compiler_can_build_shared_CXX=no
7.11372 +fi
7.11373 +
7.11374 +fi
7.11375 +case $host_os in
7.11376 + # For platforms which do not support PIC, -DPIC is meaningless:
7.11377 + *djgpp*)
7.11378 + lt_prog_compiler_pic_CXX=
7.11379 + ;;
7.11380 + *)
7.11381 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
7.11382 + ;;
7.11383 +esac
7.11384 +
7.11385 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7.11386 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7.11387 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
7.11388 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.11389 +else
7.11390 + lt_cv_prog_compiler_c_o_CXX=no
7.11391 + $rm -r conftest 2>/dev/null
7.11392 + mkdir conftest
7.11393 + cd conftest
7.11394 + mkdir out
7.11395 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.11396 +
7.11397 + lt_compiler_flag="-o out/conftest2.$ac_objext"
7.11398 + # Insert the option either (1) after the last *FLAGS variable, or
7.11399 + # (2) before a word containing "conftest.", or (3) at the end.
7.11400 + # Note that $ac_compile itself does not contain backslashes and begins
7.11401 + # with a dollar sign (not a hyphen), so the echo should work correctly.
7.11402 + lt_compile=`echo "$ac_compile" | $SED \
7.11403 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7.11404 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7.11405 + -e 's:$: $lt_compiler_flag:'`
7.11406 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7.11407 + (eval "$lt_compile" 2>out/conftest.err)
7.11408 + ac_status=$?
7.11409 + cat out/conftest.err >&5
7.11410 + echo "$as_me:__oline__: \$? = $ac_status" >&5
7.11411 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
7.11412 + then
7.11413 + # The compiler can only warn and ignore the option if not recognized
7.11414 + # So say no if there are warnings
7.11415 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
7.11416 + $SED '/^$/d' out/conftest.err >out/conftest.er2
7.11417 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7.11418 + lt_cv_prog_compiler_c_o_CXX=yes
7.11419 + fi
7.11420 + fi
7.11421 + chmod u+w . 2>&5
7.11422 + $rm conftest*
7.11423 + # SGI C++ compiler will create directory out/ii_files/ for
7.11424 + # template instantiation
7.11425 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7.11426 + $rm out/* && rmdir out
7.11427 + cd ..
7.11428 + rmdir conftest
7.11429 + $rm conftest*
7.11430 +
7.11431 +fi
7.11432 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
7.11433 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
7.11434 +
7.11435 +
7.11436 +hard_links="nottested"
7.11437 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
7.11438 + # do not overwrite the value of need_locks provided by the user
7.11439 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7.11440 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7.11441 + hard_links=yes
7.11442 + $rm conftest*
7.11443 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
7.11444 + touch conftest.a
7.11445 + ln conftest.a conftest.b 2>&5 || hard_links=no
7.11446 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
7.11447 + echo "$as_me:$LINENO: result: $hard_links" >&5
7.11448 +echo "${ECHO_T}$hard_links" >&6
7.11449 + if test "$hard_links" = no; then
7.11450 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7.11451 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7.11452 + need_locks=warn
7.11453 + fi
7.11454 +else
7.11455 + need_locks=no
7.11456 +fi
7.11457 +
7.11458 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7.11459 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7.11460 +
7.11461 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7.11462 + case $host_os in
7.11463 + aix4* | aix5*)
7.11464 + # If we're using GNU nm, then we don't want the "-C" option.
7.11465 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
7.11466 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7.11467 + 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'
7.11468 + else
7.11469 + 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'
7.11470 + fi
7.11471 + ;;
7.11472 + pw32*)
7.11473 + export_symbols_cmds_CXX="$ltdll_cmds"
7.11474 + ;;
7.11475 + cygwin* | mingw*)
7.11476 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7.11477 + ;;
7.11478 + *)
7.11479 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7.11480 + ;;
7.11481 + esac
7.11482 +
7.11483 +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
7.11484 +echo "${ECHO_T}$ld_shlibs_CXX" >&6
7.11485 +test "$ld_shlibs_CXX" = no && can_build_shared=no
7.11486 +
7.11487 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7.11488 +if test "$GCC" = yes; then
7.11489 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7.11490 +fi
7.11491 +
7.11492 +#
7.11493 +# Do we need to explicitly link libc?
7.11494 +#
7.11495 +case "x$archive_cmds_need_lc_CXX" in
7.11496 +x|xyes)
7.11497 + # Assume -lc should be added
7.11498 + archive_cmds_need_lc_CXX=yes
7.11499 +
7.11500 + if test "$enable_shared" = yes && test "$GCC" = yes; then
7.11501 + case $archive_cmds_CXX in
7.11502 + *'~'*)
7.11503 + # FIXME: we may have to deal with multi-command sequences.
7.11504 + ;;
7.11505 + '$CC '*)
7.11506 + # Test whether the compiler implicitly links with -lc since on some
7.11507 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
7.11508 + # to ld, don't add -lc before -lgcc.
7.11509 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7.11510 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7.11511 + $rm conftest*
7.11512 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.11513 +
7.11514 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.11515 + (eval $ac_compile) 2>&5
7.11516 + ac_status=$?
7.11517 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.11518 + (exit $ac_status); } 2>conftest.err; then
7.11519 + soname=conftest
7.11520 + lib=conftest
7.11521 + libobjs=conftest.$ac_objext
7.11522 + deplibs=
7.11523 + wl=$lt_prog_compiler_wl_CXX
7.11524 + compiler_flags=-v
7.11525 + linker_flags=-v
7.11526 + verstring=
7.11527 + output_objdir=.
7.11528 + libname=conftest
7.11529 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
7.11530 + allow_undefined_flag_CXX=
7.11531 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7.11532 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7.11533 + ac_status=$?
7.11534 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.11535 + (exit $ac_status); }
7.11536 + then
7.11537 + archive_cmds_need_lc_CXX=no
7.11538 + else
7.11539 + archive_cmds_need_lc_CXX=yes
7.11540 + fi
7.11541 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
7.11542 + else
7.11543 + cat conftest.err 1>&5
7.11544 + fi
7.11545 + $rm conftest*
7.11546 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
7.11547 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
7.11548 + ;;
7.11549 + esac
7.11550 + fi
7.11551 + ;;
7.11552 +esac
7.11553 +
7.11554 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7.11555 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7.11556 +library_names_spec=
7.11557 +libname_spec='lib$name'
7.11558 +soname_spec=
7.11559 +shrext_cmds=".so"
7.11560 +postinstall_cmds=
7.11561 +postuninstall_cmds=
7.11562 +finish_cmds=
7.11563 +finish_eval=
7.11564 +shlibpath_var=
7.11565 +shlibpath_overrides_runpath=unknown
7.11566 +version_type=none
7.11567 +dynamic_linker="$host_os ld.so"
7.11568 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
7.11569 +if test "$GCC" = yes; then
7.11570 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7.11571 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7.11572 + # if the path contains ";" then we assume it to be the separator
7.11573 + # otherwise default to the standard path separator (i.e. ":") - it is
7.11574 + # assumed that no part of a normal pathname contains ";" but that should
7.11575 + # okay in the real world where ";" in dirpaths is itself problematic.
7.11576 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7.11577 + else
7.11578 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7.11579 + fi
7.11580 +else
7.11581 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7.11582 +fi
7.11583 +need_lib_prefix=unknown
7.11584 +hardcode_into_libs=no
7.11585 +
7.11586 +# when you set need_version to no, make sure it does not cause -set_version
7.11587 +# flags to be left without arguments
7.11588 +need_version=unknown
7.11589 +
7.11590 +case $host_os in
7.11591 +aix3*)
7.11592 + version_type=linux
7.11593 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7.11594 + shlibpath_var=LIBPATH
7.11595 +
7.11596 + # AIX 3 has no versioning support, so we append a major version to the name.
7.11597 + soname_spec='${libname}${release}${shared_ext}$major'
7.11598 + ;;
7.11599 +
7.11600 +aix4* | aix5*)
7.11601 + version_type=linux
7.11602 + need_lib_prefix=no
7.11603 + need_version=no
7.11604 + hardcode_into_libs=yes
7.11605 + if test "$host_cpu" = ia64; then
7.11606 + # AIX 5 supports IA64
7.11607 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7.11608 + shlibpath_var=LD_LIBRARY_PATH
7.11609 + else
7.11610 + # With GCC up to 2.95.x, collect2 would create an import file
7.11611 + # for dependence libraries. The import file would start with
7.11612 + # the line `#! .'. This would cause the generated library to
7.11613 + # depend on `.', always an invalid library. This was fixed in
7.11614 + # development snapshots of GCC prior to 3.0.
7.11615 + case $host_os in
7.11616 + aix4 | aix4.[01] | aix4.[01].*)
7.11617 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7.11618 + echo ' yes '
7.11619 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7.11620 + :
7.11621 + else
7.11622 + can_build_shared=no
7.11623 + fi
7.11624 + ;;
7.11625 + esac
7.11626 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7.11627 + # soname into executable. Probably we can add versioning support to
7.11628 + # collect2, so additional links can be useful in future.
7.11629 + if test "$aix_use_runtimelinking" = yes; then
7.11630 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7.11631 + # instead of lib<name>.a to let people know that these are not
7.11632 + # typical AIX shared libraries.
7.11633 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.11634 + else
7.11635 + # We preserve .a as extension for shared libraries through AIX4.2
7.11636 + # and later when we are not doing run time linking.
7.11637 + library_names_spec='${libname}${release}.a $libname.a'
7.11638 + soname_spec='${libname}${release}${shared_ext}$major'
7.11639 + fi
7.11640 + shlibpath_var=LIBPATH
7.11641 + fi
7.11642 + ;;
7.11643 +
7.11644 +amigaos*)
7.11645 + library_names_spec='$libname.ixlibrary $libname.a'
7.11646 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
7.11647 + 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'
7.11648 + ;;
7.11649 +
7.11650 +beos*)
7.11651 + library_names_spec='${libname}${shared_ext}'
7.11652 + dynamic_linker="$host_os ld.so"
7.11653 + shlibpath_var=LIBRARY_PATH
7.11654 + ;;
7.11655 +
7.11656 +bsdi[45]*)
7.11657 + version_type=linux
7.11658 + need_version=no
7.11659 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.11660 + soname_spec='${libname}${release}${shared_ext}$major'
7.11661 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7.11662 + shlibpath_var=LD_LIBRARY_PATH
7.11663 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7.11664 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7.11665 + # the default ld.so.conf also contains /usr/contrib/lib and
7.11666 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7.11667 + # libtool to hard-code these into programs
7.11668 + ;;
7.11669 +
7.11670 +cygwin* | mingw* | pw32*)
7.11671 + version_type=windows
7.11672 + shrext_cmds=".dll"
7.11673 + need_version=no
7.11674 + need_lib_prefix=no
7.11675 +
7.11676 + case $GCC,$host_os in
7.11677 + yes,cygwin* | yes,mingw* | yes,pw32*)
7.11678 + library_names_spec='$libname.dll.a'
7.11679 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
7.11680 + postinstall_cmds='base_file=`basename \${file}`~
7.11681 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7.11682 + dldir=$destdir/`dirname \$dlpath`~
7.11683 + test -d \$dldir || mkdir -p \$dldir~
7.11684 + $install_prog $dir/$dlname \$dldir/$dlname~
7.11685 + chmod a+x \$dldir/$dlname'
7.11686 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7.11687 + dlpath=$dir/\$dldll~
7.11688 + $rm \$dlpath'
7.11689 + shlibpath_overrides_runpath=yes
7.11690 +
7.11691 + case $host_os in
7.11692 + cygwin*)
7.11693 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7.11694 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.11695 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
7.11696 + ;;
7.11697 + mingw*)
7.11698 + # MinGW DLLs use traditional 'lib' prefix
7.11699 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.11700 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7.11701 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7.11702 + # It is most probably a Windows format PATH printed by
7.11703 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
7.11704 + # path with ; separators, and with drive letters. We can handle the
7.11705 + # drive letters (cygwin fileutils understands them), so leave them,
7.11706 + # especially as we might pass files found there to a mingw objdump,
7.11707 + # which wouldn't understand a cygwinified path. Ahh.
7.11708 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7.11709 + else
7.11710 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7.11711 + fi
7.11712 + ;;
7.11713 + pw32*)
7.11714 + # pw32 DLLs use 'pw' prefix rather than 'lib'
7.11715 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.11716 + ;;
7.11717 + esac
7.11718 + ;;
7.11719 +
7.11720 + *)
7.11721 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7.11722 + ;;
7.11723 + esac
7.11724 + dynamic_linker='Win32 ld.exe'
7.11725 + # FIXME: first we should search . and the directory the executable is in
7.11726 + shlibpath_var=PATH
7.11727 + ;;
7.11728 +
7.11729 +darwin* | rhapsody*)
7.11730 + dynamic_linker="$host_os dyld"
7.11731 + version_type=darwin
7.11732 + need_lib_prefix=no
7.11733 + need_version=no
7.11734 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7.11735 + soname_spec='${libname}${release}${major}$shared_ext'
7.11736 + shlibpath_overrides_runpath=yes
7.11737 + shlibpath_var=DYLD_LIBRARY_PATH
7.11738 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7.11739 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7.11740 + if test "$GCC" = yes; then
7.11741 + 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"`
7.11742 + else
7.11743 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7.11744 + fi
7.11745 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7.11746 + ;;
7.11747 +
7.11748 +dgux*)
7.11749 + version_type=linux
7.11750 + need_lib_prefix=no
7.11751 + need_version=no
7.11752 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7.11753 + soname_spec='${libname}${release}${shared_ext}$major'
7.11754 + shlibpath_var=LD_LIBRARY_PATH
7.11755 + ;;
7.11756 +
7.11757 +freebsd1*)
7.11758 + dynamic_linker=no
7.11759 + ;;
7.11760 +
7.11761 +kfreebsd*-gnu)
7.11762 + version_type=linux
7.11763 + need_lib_prefix=no
7.11764 + need_version=no
7.11765 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.11766 + soname_spec='${libname}${release}${shared_ext}$major'
7.11767 + shlibpath_var=LD_LIBRARY_PATH
7.11768 + shlibpath_overrides_runpath=no
7.11769 + hardcode_into_libs=yes
7.11770 + dynamic_linker='GNU ld.so'
7.11771 + ;;
7.11772 +
7.11773 +freebsd* | dragonfly*)
7.11774 + # DragonFly does not have aout. When/if they implement a new
7.11775 + # versioning mechanism, adjust this.
7.11776 + if test -x /usr/bin/objformat; then
7.11777 + objformat=`/usr/bin/objformat`
7.11778 + else
7.11779 + case $host_os in
7.11780 + freebsd[123]*) objformat=aout ;;
7.11781 + *) objformat=elf ;;
7.11782 + esac
7.11783 + fi
7.11784 + version_type=freebsd-$objformat
7.11785 + case $version_type in
7.11786 + freebsd-elf*)
7.11787 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7.11788 + need_version=no
7.11789 + need_lib_prefix=no
7.11790 + ;;
7.11791 + freebsd-*)
7.11792 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7.11793 + need_version=yes
7.11794 + ;;
7.11795 + esac
7.11796 + shlibpath_var=LD_LIBRARY_PATH
7.11797 + case $host_os in
7.11798 + freebsd2*)
7.11799 + shlibpath_overrides_runpath=yes
7.11800 + ;;
7.11801 + freebsd3.[01]* | freebsdelf3.[01]*)
7.11802 + shlibpath_overrides_runpath=yes
7.11803 + hardcode_into_libs=yes
7.11804 + ;;
7.11805 + *) # from 3.2 on
7.11806 + shlibpath_overrides_runpath=no
7.11807 + hardcode_into_libs=yes
7.11808 + ;;
7.11809 + esac
7.11810 + ;;
7.11811 +
7.11812 +gnu*)
7.11813 + version_type=linux
7.11814 + need_lib_prefix=no
7.11815 + need_version=no
7.11816 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7.11817 + soname_spec='${libname}${release}${shared_ext}$major'
7.11818 + shlibpath_var=LD_LIBRARY_PATH
7.11819 + hardcode_into_libs=yes
7.11820 + ;;
7.11821 +
7.11822 +hpux9* | hpux10* | hpux11*)
7.11823 + # Give a soname corresponding to the major version so that dld.sl refuses to
7.11824 + # link against other versions.
7.11825 + version_type=sunos
7.11826 + need_lib_prefix=no
7.11827 + need_version=no
7.11828 + case $host_cpu in
7.11829 + ia64*)
7.11830 + shrext_cmds='.so'
7.11831 + hardcode_into_libs=yes
7.11832 + dynamic_linker="$host_os dld.so"
7.11833 + shlibpath_var=LD_LIBRARY_PATH
7.11834 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7.11835 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.11836 + soname_spec='${libname}${release}${shared_ext}$major'
7.11837 + if test "X$HPUX_IA64_MODE" = X32; then
7.11838 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7.11839 + else
7.11840 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7.11841 + fi
7.11842 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7.11843 + ;;
7.11844 + hppa*64*)
7.11845 + shrext_cmds='.sl'
7.11846 + hardcode_into_libs=yes
7.11847 + dynamic_linker="$host_os dld.sl"
7.11848 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7.11849 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7.11850 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.11851 + soname_spec='${libname}${release}${shared_ext}$major'
7.11852 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7.11853 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7.11854 + ;;
7.11855 + *)
7.11856 + shrext_cmds='.sl'
7.11857 + dynamic_linker="$host_os dld.sl"
7.11858 + shlibpath_var=SHLIB_PATH
7.11859 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7.11860 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.11861 + soname_spec='${libname}${release}${shared_ext}$major'
7.11862 + ;;
7.11863 + esac
7.11864 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
7.11865 + postinstall_cmds='chmod 555 $lib'
7.11866 + ;;
7.11867 +
7.11868 +irix5* | irix6* | nonstopux*)
7.11869 + case $host_os in
7.11870 + nonstopux*) version_type=nonstopux ;;
7.11871 + *)
7.11872 + if test "$lt_cv_prog_gnu_ld" = yes; then
7.11873 + version_type=linux
7.11874 + else
7.11875 + version_type=irix
7.11876 + fi ;;
7.11877 + esac
7.11878 + need_lib_prefix=no
7.11879 + need_version=no
7.11880 + soname_spec='${libname}${release}${shared_ext}$major'
7.11881 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7.11882 + case $host_os in
7.11883 + irix5* | nonstopux*)
7.11884 + libsuff= shlibsuff=
7.11885 + ;;
7.11886 + *)
7.11887 + case $LD in # libtool.m4 will add one of these switches to LD
7.11888 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7.11889 + libsuff= shlibsuff= libmagic=32-bit;;
7.11890 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7.11891 + libsuff=32 shlibsuff=N32 libmagic=N32;;
7.11892 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7.11893 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
7.11894 + *) libsuff= shlibsuff= libmagic=never-match;;
7.11895 + esac
7.11896 + ;;
7.11897 + esac
7.11898 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7.11899 + shlibpath_overrides_runpath=no
7.11900 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7.11901 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7.11902 + hardcode_into_libs=yes
7.11903 + ;;
7.11904 +
7.11905 +# No shared lib support for Linux oldld, aout, or coff.
7.11906 +linux*oldld* | linux*aout* | linux*coff*)
7.11907 + dynamic_linker=no
7.11908 + ;;
7.11909 +
7.11910 +# This must be Linux ELF.
7.11911 +linux*)
7.11912 + version_type=linux
7.11913 + need_lib_prefix=no
7.11914 + need_version=no
7.11915 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.11916 + soname_spec='${libname}${release}${shared_ext}$major'
7.11917 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7.11918 + shlibpath_var=LD_LIBRARY_PATH
7.11919 + shlibpath_overrides_runpath=no
7.11920 + # This implies no fast_install, which is unacceptable.
7.11921 + # Some rework will be needed to allow for fast_install
7.11922 + # before this can be enabled.
7.11923 + hardcode_into_libs=yes
7.11924 +
7.11925 + # Append ld.so.conf contents to the search path
7.11926 + if test -f /etc/ld.so.conf; then
7.11927 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
7.11928 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7.11929 + fi
7.11930 +
7.11931 + # We used to test for /lib/ld.so.1 and disable shared libraries on
7.11932 + # powerpc, because MkLinux only supported shared libraries with the
7.11933 + # GNU dynamic linker. Since this was broken with cross compilers,
7.11934 + # most powerpc-linux boxes support dynamic linking these days and
7.11935 + # people can always --disable-shared, the test was removed, and we
7.11936 + # assume the GNU/Linux dynamic linker is in use.
7.11937 + dynamic_linker='GNU/Linux ld.so'
7.11938 + ;;
7.11939 +
7.11940 +knetbsd*-gnu)
7.11941 + version_type=linux
7.11942 + need_lib_prefix=no
7.11943 + need_version=no
7.11944 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.11945 + soname_spec='${libname}${release}${shared_ext}$major'
7.11946 + shlibpath_var=LD_LIBRARY_PATH
7.11947 + shlibpath_overrides_runpath=no
7.11948 + hardcode_into_libs=yes
7.11949 + dynamic_linker='GNU ld.so'
7.11950 + ;;
7.11951 +
7.11952 +netbsd*)
7.11953 + version_type=sunos
7.11954 + need_lib_prefix=no
7.11955 + need_version=no
7.11956 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7.11957 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.11958 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7.11959 + dynamic_linker='NetBSD (a.out) ld.so'
7.11960 + else
7.11961 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.11962 + soname_spec='${libname}${release}${shared_ext}$major'
7.11963 + dynamic_linker='NetBSD ld.elf_so'
7.11964 + fi
7.11965 + shlibpath_var=LD_LIBRARY_PATH
7.11966 + shlibpath_overrides_runpath=yes
7.11967 + hardcode_into_libs=yes
7.11968 + ;;
7.11969 +
7.11970 +newsos6)
7.11971 + version_type=linux
7.11972 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.11973 + shlibpath_var=LD_LIBRARY_PATH
7.11974 + shlibpath_overrides_runpath=yes
7.11975 + ;;
7.11976 +
7.11977 +nto-qnx*)
7.11978 + version_type=linux
7.11979 + need_lib_prefix=no
7.11980 + need_version=no
7.11981 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.11982 + soname_spec='${libname}${release}${shared_ext}$major'
7.11983 + shlibpath_var=LD_LIBRARY_PATH
7.11984 + shlibpath_overrides_runpath=yes
7.11985 + ;;
7.11986 +
7.11987 +openbsd*)
7.11988 + version_type=sunos
7.11989 + need_lib_prefix=no
7.11990 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
7.11991 + case $host_os in
7.11992 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
7.11993 + *) need_version=no ;;
7.11994 + esac
7.11995 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.11996 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7.11997 + shlibpath_var=LD_LIBRARY_PATH
7.11998 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7.11999 + case $host_os in
7.12000 + openbsd2.[89] | openbsd2.[89].*)
7.12001 + shlibpath_overrides_runpath=no
7.12002 + ;;
7.12003 + *)
7.12004 + shlibpath_overrides_runpath=yes
7.12005 + ;;
7.12006 + esac
7.12007 + else
7.12008 + shlibpath_overrides_runpath=yes
7.12009 + fi
7.12010 + ;;
7.12011 +
7.12012 +os2*)
7.12013 + libname_spec='$name'
7.12014 + shrext_cmds=".dll"
7.12015 + need_lib_prefix=no
7.12016 + library_names_spec='$libname${shared_ext} $libname.a'
7.12017 + dynamic_linker='OS/2 ld.exe'
7.12018 + shlibpath_var=LIBPATH
7.12019 + ;;
7.12020 +
7.12021 +osf3* | osf4* | osf5*)
7.12022 + version_type=osf
7.12023 + need_lib_prefix=no
7.12024 + need_version=no
7.12025 + soname_spec='${libname}${release}${shared_ext}$major'
7.12026 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.12027 + shlibpath_var=LD_LIBRARY_PATH
7.12028 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7.12029 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7.12030 + ;;
7.12031 +
7.12032 +sco3.2v5*)
7.12033 + version_type=osf
7.12034 + soname_spec='${libname}${release}${shared_ext}$major'
7.12035 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.12036 + shlibpath_var=LD_LIBRARY_PATH
7.12037 + ;;
7.12038 +
7.12039 +solaris*)
7.12040 + version_type=linux
7.12041 + need_lib_prefix=no
7.12042 + need_version=no
7.12043 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.12044 + soname_spec='${libname}${release}${shared_ext}$major'
7.12045 + shlibpath_var=LD_LIBRARY_PATH
7.12046 + shlibpath_overrides_runpath=yes
7.12047 + hardcode_into_libs=yes
7.12048 + # ldd complains unless libraries are executable
7.12049 + postinstall_cmds='chmod +x $lib'
7.12050 + ;;
7.12051 +
7.12052 +sunos4*)
7.12053 + version_type=sunos
7.12054 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.12055 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7.12056 + shlibpath_var=LD_LIBRARY_PATH
7.12057 + shlibpath_overrides_runpath=yes
7.12058 + if test "$with_gnu_ld" = yes; then
7.12059 + need_lib_prefix=no
7.12060 + fi
7.12061 + need_version=yes
7.12062 + ;;
7.12063 +
7.12064 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7.12065 + version_type=linux
7.12066 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.12067 + soname_spec='${libname}${release}${shared_ext}$major'
7.12068 + shlibpath_var=LD_LIBRARY_PATH
7.12069 + case $host_vendor in
7.12070 + sni)
7.12071 + shlibpath_overrides_runpath=no
7.12072 + need_lib_prefix=no
7.12073 + export_dynamic_flag_spec='${wl}-Blargedynsym'
7.12074 + runpath_var=LD_RUN_PATH
7.12075 + ;;
7.12076 + siemens)
7.12077 + need_lib_prefix=no
7.12078 + ;;
7.12079 + motorola)
7.12080 + need_lib_prefix=no
7.12081 + need_version=no
7.12082 + shlibpath_overrides_runpath=no
7.12083 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7.12084 + ;;
7.12085 + esac
7.12086 + ;;
7.12087 +
7.12088 +sysv4*MP*)
7.12089 + if test -d /usr/nec ;then
7.12090 + version_type=linux
7.12091 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
7.12092 + soname_spec='$libname${shared_ext}.$major'
7.12093 + shlibpath_var=LD_LIBRARY_PATH
7.12094 + fi
7.12095 + ;;
7.12096 +
7.12097 +uts4*)
7.12098 + version_type=linux
7.12099 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.12100 + soname_spec='${libname}${release}${shared_ext}$major'
7.12101 + shlibpath_var=LD_LIBRARY_PATH
7.12102 + ;;
7.12103 +
7.12104 +*)
7.12105 + dynamic_linker=no
7.12106 + ;;
7.12107 +esac
7.12108 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7.12109 +echo "${ECHO_T}$dynamic_linker" >&6
7.12110 +test "$dynamic_linker" = no && can_build_shared=no
7.12111 +
7.12112 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7.12113 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7.12114 +hardcode_action_CXX=
7.12115 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
7.12116 + test -n "$runpath_var_CXX" || \
7.12117 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
7.12118 +
7.12119 + # We can hardcode non-existant directories.
7.12120 + if test "$hardcode_direct_CXX" != no &&
7.12121 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
7.12122 + # have to relink, otherwise we might link with an installed library
7.12123 + # when we should be linking with a yet-to-be-installed one
7.12124 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
7.12125 + test "$hardcode_minus_L_CXX" != no; then
7.12126 + # Linking always hardcodes the temporary library directory.
7.12127 + hardcode_action_CXX=relink
7.12128 + else
7.12129 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
7.12130 + hardcode_action_CXX=immediate
7.12131 + fi
7.12132 +else
7.12133 + # We cannot hardcode anything, or else we can only hardcode existing
7.12134 + # directories.
7.12135 + hardcode_action_CXX=unsupported
7.12136 +fi
7.12137 +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
7.12138 +echo "${ECHO_T}$hardcode_action_CXX" >&6
7.12139 +
7.12140 +if test "$hardcode_action_CXX" = relink; then
7.12141 + # Fast installation is not supported
7.12142 + enable_fast_install=no
7.12143 +elif test "$shlibpath_overrides_runpath" = yes ||
7.12144 + test "$enable_shared" = no; then
7.12145 + # Fast installation is not necessary
7.12146 + enable_fast_install=needless
7.12147 +fi
7.12148 +
7.12149 +striplib=
7.12150 +old_striplib=
7.12151 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7.12152 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7.12153 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7.12154 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7.12155 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7.12156 + echo "$as_me:$LINENO: result: yes" >&5
7.12157 +echo "${ECHO_T}yes" >&6
7.12158 +else
7.12159 +# FIXME - insert some real tests, host_os isn't really good enough
7.12160 + case $host_os in
7.12161 + darwin*)
7.12162 + if test -n "$STRIP" ; then
7.12163 + striplib="$STRIP -x"
7.12164 + echo "$as_me:$LINENO: result: yes" >&5
7.12165 +echo "${ECHO_T}yes" >&6
7.12166 + else
7.12167 + echo "$as_me:$LINENO: result: no" >&5
7.12168 +echo "${ECHO_T}no" >&6
7.12169 +fi
7.12170 + ;;
7.12171 + *)
7.12172 + echo "$as_me:$LINENO: result: no" >&5
7.12173 +echo "${ECHO_T}no" >&6
7.12174 + ;;
7.12175 + esac
7.12176 +fi
7.12177 +
7.12178 +if test "x$enable_dlopen" != xyes; then
7.12179 + enable_dlopen=unknown
7.12180 + enable_dlopen_self=unknown
7.12181 + enable_dlopen_self_static=unknown
7.12182 +else
7.12183 + lt_cv_dlopen=no
7.12184 + lt_cv_dlopen_libs=
7.12185 +
7.12186 + case $host_os in
7.12187 + beos*)
7.12188 + lt_cv_dlopen="load_add_on"
7.12189 + lt_cv_dlopen_libs=
7.12190 + lt_cv_dlopen_self=yes
7.12191 + ;;
7.12192 +
7.12193 + mingw* | pw32*)
7.12194 + lt_cv_dlopen="LoadLibrary"
7.12195 + lt_cv_dlopen_libs=
7.12196 + ;;
7.12197 +
7.12198 + cygwin*)
7.12199 + lt_cv_dlopen="dlopen"
7.12200 + lt_cv_dlopen_libs=
7.12201 + ;;
7.12202 +
7.12203 + darwin*)
7.12204 + # if libdl is installed we need to link against it
7.12205 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7.12206 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7.12207 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7.12208 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.12209 +else
7.12210 + ac_check_lib_save_LIBS=$LIBS
7.12211 +LIBS="-ldl $LIBS"
7.12212 +cat >conftest.$ac_ext <<_ACEOF
7.12213 +/* confdefs.h. */
7.12214 +_ACEOF
7.12215 +cat confdefs.h >>conftest.$ac_ext
7.12216 +cat >>conftest.$ac_ext <<_ACEOF
7.12217 +/* end confdefs.h. */
7.12218 +
7.12219 +/* Override any gcc2 internal prototype to avoid an error. */
7.12220 +#ifdef __cplusplus
7.12221 +extern "C"
7.12222 +#endif
7.12223 +/* We use char because int might match the return type of a gcc2
7.12224 + builtin and then its argument prototype would still apply. */
7.12225 +char dlopen ();
7.12226 +int
7.12227 +main ()
7.12228 +{
7.12229 +dlopen ();
7.12230 + ;
7.12231 + return 0;
7.12232 +}
7.12233 +_ACEOF
7.12234 +rm -f conftest.$ac_objext conftest$ac_exeext
7.12235 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.12236 + (eval $ac_link) 2>conftest.er1
7.12237 + ac_status=$?
7.12238 + grep -v '^ *+' conftest.er1 >conftest.err
7.12239 + rm -f conftest.er1
7.12240 + cat conftest.err >&5
7.12241 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12242 + (exit $ac_status); } &&
7.12243 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.12244 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12245 + (eval $ac_try) 2>&5
7.12246 + ac_status=$?
7.12247 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12248 + (exit $ac_status); }; } &&
7.12249 + { ac_try='test -s conftest$ac_exeext'
7.12250 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12251 + (eval $ac_try) 2>&5
7.12252 + ac_status=$?
7.12253 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12254 + (exit $ac_status); }; }; then
7.12255 + ac_cv_lib_dl_dlopen=yes
7.12256 +else
7.12257 + echo "$as_me: failed program was:" >&5
7.12258 +sed 's/^/| /' conftest.$ac_ext >&5
7.12259 +
7.12260 +ac_cv_lib_dl_dlopen=no
7.12261 +fi
7.12262 +rm -f conftest.err conftest.$ac_objext \
7.12263 + conftest$ac_exeext conftest.$ac_ext
7.12264 +LIBS=$ac_check_lib_save_LIBS
7.12265 +fi
7.12266 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7.12267 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7.12268 +if test $ac_cv_lib_dl_dlopen = yes; then
7.12269 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7.12270 +else
7.12271 +
7.12272 + lt_cv_dlopen="dyld"
7.12273 + lt_cv_dlopen_libs=
7.12274 + lt_cv_dlopen_self=yes
7.12275 +
7.12276 +fi
7.12277 +
7.12278 + ;;
7.12279 +
7.12280 + *)
7.12281 + echo "$as_me:$LINENO: checking for shl_load" >&5
7.12282 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7.12283 +if test "${ac_cv_func_shl_load+set}" = set; then
7.12284 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.12285 +else
7.12286 + cat >conftest.$ac_ext <<_ACEOF
7.12287 +/* confdefs.h. */
7.12288 +_ACEOF
7.12289 +cat confdefs.h >>conftest.$ac_ext
7.12290 +cat >>conftest.$ac_ext <<_ACEOF
7.12291 +/* end confdefs.h. */
7.12292 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
7.12293 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
7.12294 +#define shl_load innocuous_shl_load
7.12295 +
7.12296 +/* System header to define __stub macros and hopefully few prototypes,
7.12297 + which can conflict with char shl_load (); below.
7.12298 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.12299 + <limits.h> exists even on freestanding compilers. */
7.12300 +
7.12301 +#ifdef __STDC__
7.12302 +# include <limits.h>
7.12303 +#else
7.12304 +# include <assert.h>
7.12305 +#endif
7.12306 +
7.12307 +#undef shl_load
7.12308 +
7.12309 +/* Override any gcc2 internal prototype to avoid an error. */
7.12310 +#ifdef __cplusplus
7.12311 +extern "C"
7.12312 +{
7.12313 +#endif
7.12314 +/* We use char because int might match the return type of a gcc2
7.12315 + builtin and then its argument prototype would still apply. */
7.12316 +char shl_load ();
7.12317 +/* The GNU C library defines this for functions which it implements
7.12318 + to always fail with ENOSYS. Some functions are actually named
7.12319 + something starting with __ and the normal name is an alias. */
7.12320 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
7.12321 +choke me
7.12322 +#else
7.12323 +char (*f) () = shl_load;
7.12324 +#endif
7.12325 +#ifdef __cplusplus
7.12326 +}
7.12327 +#endif
7.12328 +
7.12329 +int
7.12330 +main ()
7.12331 +{
7.12332 +return f != shl_load;
7.12333 + ;
7.12334 + return 0;
7.12335 +}
7.12336 +_ACEOF
7.12337 +rm -f conftest.$ac_objext conftest$ac_exeext
7.12338 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.12339 + (eval $ac_link) 2>conftest.er1
7.12340 + ac_status=$?
7.12341 + grep -v '^ *+' conftest.er1 >conftest.err
7.12342 + rm -f conftest.er1
7.12343 + cat conftest.err >&5
7.12344 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12345 + (exit $ac_status); } &&
7.12346 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.12347 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12348 + (eval $ac_try) 2>&5
7.12349 + ac_status=$?
7.12350 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12351 + (exit $ac_status); }; } &&
7.12352 + { ac_try='test -s conftest$ac_exeext'
7.12353 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12354 + (eval $ac_try) 2>&5
7.12355 + ac_status=$?
7.12356 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12357 + (exit $ac_status); }; }; then
7.12358 + ac_cv_func_shl_load=yes
7.12359 +else
7.12360 + echo "$as_me: failed program was:" >&5
7.12361 +sed 's/^/| /' conftest.$ac_ext >&5
7.12362 +
7.12363 +ac_cv_func_shl_load=no
7.12364 +fi
7.12365 +rm -f conftest.err conftest.$ac_objext \
7.12366 + conftest$ac_exeext conftest.$ac_ext
7.12367 +fi
7.12368 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7.12369 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7.12370 +if test $ac_cv_func_shl_load = yes; then
7.12371 + lt_cv_dlopen="shl_load"
7.12372 +else
7.12373 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7.12374 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7.12375 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7.12376 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.12377 +else
7.12378 + ac_check_lib_save_LIBS=$LIBS
7.12379 +LIBS="-ldld $LIBS"
7.12380 +cat >conftest.$ac_ext <<_ACEOF
7.12381 +/* confdefs.h. */
7.12382 +_ACEOF
7.12383 +cat confdefs.h >>conftest.$ac_ext
7.12384 +cat >>conftest.$ac_ext <<_ACEOF
7.12385 +/* end confdefs.h. */
7.12386 +
7.12387 +/* Override any gcc2 internal prototype to avoid an error. */
7.12388 +#ifdef __cplusplus
7.12389 +extern "C"
7.12390 +#endif
7.12391 +/* We use char because int might match the return type of a gcc2
7.12392 + builtin and then its argument prototype would still apply. */
7.12393 +char shl_load ();
7.12394 +int
7.12395 +main ()
7.12396 +{
7.12397 +shl_load ();
7.12398 + ;
7.12399 + return 0;
7.12400 +}
7.12401 +_ACEOF
7.12402 +rm -f conftest.$ac_objext conftest$ac_exeext
7.12403 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.12404 + (eval $ac_link) 2>conftest.er1
7.12405 + ac_status=$?
7.12406 + grep -v '^ *+' conftest.er1 >conftest.err
7.12407 + rm -f conftest.er1
7.12408 + cat conftest.err >&5
7.12409 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12410 + (exit $ac_status); } &&
7.12411 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.12412 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12413 + (eval $ac_try) 2>&5
7.12414 + ac_status=$?
7.12415 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12416 + (exit $ac_status); }; } &&
7.12417 + { ac_try='test -s conftest$ac_exeext'
7.12418 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12419 + (eval $ac_try) 2>&5
7.12420 + ac_status=$?
7.12421 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12422 + (exit $ac_status); }; }; then
7.12423 + ac_cv_lib_dld_shl_load=yes
7.12424 +else
7.12425 + echo "$as_me: failed program was:" >&5
7.12426 +sed 's/^/| /' conftest.$ac_ext >&5
7.12427 +
7.12428 +ac_cv_lib_dld_shl_load=no
7.12429 +fi
7.12430 +rm -f conftest.err conftest.$ac_objext \
7.12431 + conftest$ac_exeext conftest.$ac_ext
7.12432 +LIBS=$ac_check_lib_save_LIBS
7.12433 +fi
7.12434 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7.12435 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7.12436 +if test $ac_cv_lib_dld_shl_load = yes; then
7.12437 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
7.12438 +else
7.12439 + echo "$as_me:$LINENO: checking for dlopen" >&5
7.12440 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
7.12441 +if test "${ac_cv_func_dlopen+set}" = set; then
7.12442 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.12443 +else
7.12444 + cat >conftest.$ac_ext <<_ACEOF
7.12445 +/* confdefs.h. */
7.12446 +_ACEOF
7.12447 +cat confdefs.h >>conftest.$ac_ext
7.12448 +cat >>conftest.$ac_ext <<_ACEOF
7.12449 +/* end confdefs.h. */
7.12450 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
7.12451 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
7.12452 +#define dlopen innocuous_dlopen
7.12453 +
7.12454 +/* System header to define __stub macros and hopefully few prototypes,
7.12455 + which can conflict with char dlopen (); below.
7.12456 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.12457 + <limits.h> exists even on freestanding compilers. */
7.12458 +
7.12459 +#ifdef __STDC__
7.12460 +# include <limits.h>
7.12461 +#else
7.12462 +# include <assert.h>
7.12463 +#endif
7.12464 +
7.12465 +#undef dlopen
7.12466 +
7.12467 +/* Override any gcc2 internal prototype to avoid an error. */
7.12468 +#ifdef __cplusplus
7.12469 +extern "C"
7.12470 +{
7.12471 +#endif
7.12472 +/* We use char because int might match the return type of a gcc2
7.12473 + builtin and then its argument prototype would still apply. */
7.12474 +char dlopen ();
7.12475 +/* The GNU C library defines this for functions which it implements
7.12476 + to always fail with ENOSYS. Some functions are actually named
7.12477 + something starting with __ and the normal name is an alias. */
7.12478 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
7.12479 +choke me
7.12480 +#else
7.12481 +char (*f) () = dlopen;
7.12482 +#endif
7.12483 +#ifdef __cplusplus
7.12484 +}
7.12485 +#endif
7.12486 +
7.12487 +int
7.12488 +main ()
7.12489 +{
7.12490 +return f != dlopen;
7.12491 + ;
7.12492 + return 0;
7.12493 +}
7.12494 +_ACEOF
7.12495 +rm -f conftest.$ac_objext conftest$ac_exeext
7.12496 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.12497 + (eval $ac_link) 2>conftest.er1
7.12498 + ac_status=$?
7.12499 + grep -v '^ *+' conftest.er1 >conftest.err
7.12500 + rm -f conftest.er1
7.12501 + cat conftest.err >&5
7.12502 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12503 + (exit $ac_status); } &&
7.12504 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.12505 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12506 + (eval $ac_try) 2>&5
7.12507 + ac_status=$?
7.12508 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12509 + (exit $ac_status); }; } &&
7.12510 + { ac_try='test -s conftest$ac_exeext'
7.12511 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12512 + (eval $ac_try) 2>&5
7.12513 + ac_status=$?
7.12514 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12515 + (exit $ac_status); }; }; then
7.12516 + ac_cv_func_dlopen=yes
7.12517 +else
7.12518 + echo "$as_me: failed program was:" >&5
7.12519 +sed 's/^/| /' conftest.$ac_ext >&5
7.12520 +
7.12521 +ac_cv_func_dlopen=no
7.12522 +fi
7.12523 +rm -f conftest.err conftest.$ac_objext \
7.12524 + conftest$ac_exeext conftest.$ac_ext
7.12525 +fi
7.12526 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7.12527 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7.12528 +if test $ac_cv_func_dlopen = yes; then
7.12529 + lt_cv_dlopen="dlopen"
7.12530 +else
7.12531 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7.12532 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7.12533 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7.12534 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.12535 +else
7.12536 + ac_check_lib_save_LIBS=$LIBS
7.12537 +LIBS="-ldl $LIBS"
7.12538 +cat >conftest.$ac_ext <<_ACEOF
7.12539 +/* confdefs.h. */
7.12540 +_ACEOF
7.12541 +cat confdefs.h >>conftest.$ac_ext
7.12542 +cat >>conftest.$ac_ext <<_ACEOF
7.12543 +/* end confdefs.h. */
7.12544 +
7.12545 +/* Override any gcc2 internal prototype to avoid an error. */
7.12546 +#ifdef __cplusplus
7.12547 +extern "C"
7.12548 +#endif
7.12549 +/* We use char because int might match the return type of a gcc2
7.12550 + builtin and then its argument prototype would still apply. */
7.12551 +char dlopen ();
7.12552 +int
7.12553 +main ()
7.12554 +{
7.12555 +dlopen ();
7.12556 + ;
7.12557 + return 0;
7.12558 +}
7.12559 +_ACEOF
7.12560 +rm -f conftest.$ac_objext conftest$ac_exeext
7.12561 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.12562 + (eval $ac_link) 2>conftest.er1
7.12563 + ac_status=$?
7.12564 + grep -v '^ *+' conftest.er1 >conftest.err
7.12565 + rm -f conftest.er1
7.12566 + cat conftest.err >&5
7.12567 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12568 + (exit $ac_status); } &&
7.12569 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.12570 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12571 + (eval $ac_try) 2>&5
7.12572 + ac_status=$?
7.12573 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12574 + (exit $ac_status); }; } &&
7.12575 + { ac_try='test -s conftest$ac_exeext'
7.12576 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12577 + (eval $ac_try) 2>&5
7.12578 + ac_status=$?
7.12579 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12580 + (exit $ac_status); }; }; then
7.12581 + ac_cv_lib_dl_dlopen=yes
7.12582 +else
7.12583 + echo "$as_me: failed program was:" >&5
7.12584 +sed 's/^/| /' conftest.$ac_ext >&5
7.12585 +
7.12586 +ac_cv_lib_dl_dlopen=no
7.12587 +fi
7.12588 +rm -f conftest.err conftest.$ac_objext \
7.12589 + conftest$ac_exeext conftest.$ac_ext
7.12590 +LIBS=$ac_check_lib_save_LIBS
7.12591 +fi
7.12592 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7.12593 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7.12594 +if test $ac_cv_lib_dl_dlopen = yes; then
7.12595 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7.12596 +else
7.12597 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7.12598 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7.12599 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7.12600 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.12601 +else
7.12602 + ac_check_lib_save_LIBS=$LIBS
7.12603 +LIBS="-lsvld $LIBS"
7.12604 +cat >conftest.$ac_ext <<_ACEOF
7.12605 +/* confdefs.h. */
7.12606 +_ACEOF
7.12607 +cat confdefs.h >>conftest.$ac_ext
7.12608 +cat >>conftest.$ac_ext <<_ACEOF
7.12609 +/* end confdefs.h. */
7.12610 +
7.12611 +/* Override any gcc2 internal prototype to avoid an error. */
7.12612 +#ifdef __cplusplus
7.12613 +extern "C"
7.12614 +#endif
7.12615 +/* We use char because int might match the return type of a gcc2
7.12616 + builtin and then its argument prototype would still apply. */
7.12617 +char dlopen ();
7.12618 +int
7.12619 +main ()
7.12620 +{
7.12621 +dlopen ();
7.12622 + ;
7.12623 + return 0;
7.12624 +}
7.12625 +_ACEOF
7.12626 +rm -f conftest.$ac_objext conftest$ac_exeext
7.12627 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.12628 + (eval $ac_link) 2>conftest.er1
7.12629 + ac_status=$?
7.12630 + grep -v '^ *+' conftest.er1 >conftest.err
7.12631 + rm -f conftest.er1
7.12632 + cat conftest.err >&5
7.12633 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12634 + (exit $ac_status); } &&
7.12635 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.12636 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12637 + (eval $ac_try) 2>&5
7.12638 + ac_status=$?
7.12639 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12640 + (exit $ac_status); }; } &&
7.12641 + { ac_try='test -s conftest$ac_exeext'
7.12642 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12643 + (eval $ac_try) 2>&5
7.12644 + ac_status=$?
7.12645 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12646 + (exit $ac_status); }; }; then
7.12647 + ac_cv_lib_svld_dlopen=yes
7.12648 +else
7.12649 + echo "$as_me: failed program was:" >&5
7.12650 +sed 's/^/| /' conftest.$ac_ext >&5
7.12651 +
7.12652 +ac_cv_lib_svld_dlopen=no
7.12653 +fi
7.12654 +rm -f conftest.err conftest.$ac_objext \
7.12655 + conftest$ac_exeext conftest.$ac_ext
7.12656 +LIBS=$ac_check_lib_save_LIBS
7.12657 +fi
7.12658 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7.12659 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7.12660 +if test $ac_cv_lib_svld_dlopen = yes; then
7.12661 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
7.12662 +else
7.12663 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
7.12664 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
7.12665 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7.12666 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.12667 +else
7.12668 + ac_check_lib_save_LIBS=$LIBS
7.12669 +LIBS="-ldld $LIBS"
7.12670 +cat >conftest.$ac_ext <<_ACEOF
7.12671 +/* confdefs.h. */
7.12672 +_ACEOF
7.12673 +cat confdefs.h >>conftest.$ac_ext
7.12674 +cat >>conftest.$ac_ext <<_ACEOF
7.12675 +/* end confdefs.h. */
7.12676 +
7.12677 +/* Override any gcc2 internal prototype to avoid an error. */
7.12678 +#ifdef __cplusplus
7.12679 +extern "C"
7.12680 +#endif
7.12681 +/* We use char because int might match the return type of a gcc2
7.12682 + builtin and then its argument prototype would still apply. */
7.12683 +char dld_link ();
7.12684 +int
7.12685 +main ()
7.12686 +{
7.12687 +dld_link ();
7.12688 + ;
7.12689 + return 0;
7.12690 +}
7.12691 +_ACEOF
7.12692 +rm -f conftest.$ac_objext conftest$ac_exeext
7.12693 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.12694 + (eval $ac_link) 2>conftest.er1
7.12695 + ac_status=$?
7.12696 + grep -v '^ *+' conftest.er1 >conftest.err
7.12697 + rm -f conftest.er1
7.12698 + cat conftest.err >&5
7.12699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12700 + (exit $ac_status); } &&
7.12701 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.12702 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12703 + (eval $ac_try) 2>&5
7.12704 + ac_status=$?
7.12705 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12706 + (exit $ac_status); }; } &&
7.12707 + { ac_try='test -s conftest$ac_exeext'
7.12708 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.12709 + (eval $ac_try) 2>&5
7.12710 + ac_status=$?
7.12711 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12712 + (exit $ac_status); }; }; then
7.12713 + ac_cv_lib_dld_dld_link=yes
7.12714 +else
7.12715 + echo "$as_me: failed program was:" >&5
7.12716 +sed 's/^/| /' conftest.$ac_ext >&5
7.12717 +
7.12718 +ac_cv_lib_dld_dld_link=no
7.12719 +fi
7.12720 +rm -f conftest.err conftest.$ac_objext \
7.12721 + conftest$ac_exeext conftest.$ac_ext
7.12722 +LIBS=$ac_check_lib_save_LIBS
7.12723 +fi
7.12724 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7.12725 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
7.12726 +if test $ac_cv_lib_dld_dld_link = yes; then
7.12727 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
7.12728 +fi
7.12729 +
7.12730 +
7.12731 +fi
7.12732 +
7.12733 +
7.12734 +fi
7.12735 +
7.12736 +
7.12737 +fi
7.12738 +
7.12739 +
7.12740 +fi
7.12741 +
7.12742 +
7.12743 +fi
7.12744 +
7.12745 + ;;
7.12746 + esac
7.12747 +
7.12748 + if test "x$lt_cv_dlopen" != xno; then
7.12749 + enable_dlopen=yes
7.12750 + else
7.12751 + enable_dlopen=no
7.12752 + fi
7.12753 +
7.12754 + case $lt_cv_dlopen in
7.12755 + dlopen)
7.12756 + save_CPPFLAGS="$CPPFLAGS"
7.12757 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
7.12758 +
7.12759 + save_LDFLAGS="$LDFLAGS"
7.12760 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
7.12761 +
7.12762 + save_LIBS="$LIBS"
7.12763 + LIBS="$lt_cv_dlopen_libs $LIBS"
7.12764 +
7.12765 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
7.12766 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
7.12767 +if test "${lt_cv_dlopen_self+set}" = set; then
7.12768 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.12769 +else
7.12770 + if test "$cross_compiling" = yes; then :
7.12771 + lt_cv_dlopen_self=cross
7.12772 +else
7.12773 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7.12774 + lt_status=$lt_dlunknown
7.12775 + cat > conftest.$ac_ext <<EOF
7.12776 +#line __oline__ "configure"
7.12777 +#include "confdefs.h"
7.12778 +
7.12779 +#if HAVE_DLFCN_H
7.12780 +#include <dlfcn.h>
7.12781 +#endif
7.12782 +
7.12783 +#include <stdio.h>
7.12784 +
7.12785 +#ifdef RTLD_GLOBAL
7.12786 +# define LT_DLGLOBAL RTLD_GLOBAL
7.12787 +#else
7.12788 +# ifdef DL_GLOBAL
7.12789 +# define LT_DLGLOBAL DL_GLOBAL
7.12790 +# else
7.12791 +# define LT_DLGLOBAL 0
7.12792 +# endif
7.12793 +#endif
7.12794 +
7.12795 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7.12796 + find out it does not work in some platform. */
7.12797 +#ifndef LT_DLLAZY_OR_NOW
7.12798 +# ifdef RTLD_LAZY
7.12799 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
7.12800 +# else
7.12801 +# ifdef DL_LAZY
7.12802 +# define LT_DLLAZY_OR_NOW DL_LAZY
7.12803 +# else
7.12804 +# ifdef RTLD_NOW
7.12805 +# define LT_DLLAZY_OR_NOW RTLD_NOW
7.12806 +# else
7.12807 +# ifdef DL_NOW
7.12808 +# define LT_DLLAZY_OR_NOW DL_NOW
7.12809 +# else
7.12810 +# define LT_DLLAZY_OR_NOW 0
7.12811 +# endif
7.12812 +# endif
7.12813 +# endif
7.12814 +# endif
7.12815 +#endif
7.12816 +
7.12817 +#ifdef __cplusplus
7.12818 +extern "C" void exit (int);
7.12819 +#endif
7.12820 +
7.12821 +void fnord() { int i=42;}
7.12822 +int main ()
7.12823 +{
7.12824 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7.12825 + int status = $lt_dlunknown;
7.12826 +
7.12827 + if (self)
7.12828 + {
7.12829 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7.12830 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7.12831 + /* dlclose (self); */
7.12832 + }
7.12833 +
7.12834 + exit (status);
7.12835 +}
7.12836 +EOF
7.12837 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.12838 + (eval $ac_link) 2>&5
7.12839 + ac_status=$?
7.12840 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12841 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7.12842 + (./conftest; exit; ) >&5 2>/dev/null
7.12843 + lt_status=$?
7.12844 + case x$lt_status in
7.12845 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
7.12846 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
7.12847 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
7.12848 + esac
7.12849 + else :
7.12850 + # compilation failed
7.12851 + lt_cv_dlopen_self=no
7.12852 + fi
7.12853 +fi
7.12854 +rm -fr conftest*
7.12855 +
7.12856 +
7.12857 +fi
7.12858 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
7.12859 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
7.12860 +
7.12861 + if test "x$lt_cv_dlopen_self" = xyes; then
7.12862 + LDFLAGS="$LDFLAGS $link_static_flag"
7.12863 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
7.12864 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
7.12865 +if test "${lt_cv_dlopen_self_static+set}" = set; then
7.12866 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.12867 +else
7.12868 + if test "$cross_compiling" = yes; then :
7.12869 + lt_cv_dlopen_self_static=cross
7.12870 +else
7.12871 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7.12872 + lt_status=$lt_dlunknown
7.12873 + cat > conftest.$ac_ext <<EOF
7.12874 +#line __oline__ "configure"
7.12875 +#include "confdefs.h"
7.12876 +
7.12877 +#if HAVE_DLFCN_H
7.12878 +#include <dlfcn.h>
7.12879 +#endif
7.12880 +
7.12881 +#include <stdio.h>
7.12882 +
7.12883 +#ifdef RTLD_GLOBAL
7.12884 +# define LT_DLGLOBAL RTLD_GLOBAL
7.12885 +#else
7.12886 +# ifdef DL_GLOBAL
7.12887 +# define LT_DLGLOBAL DL_GLOBAL
7.12888 +# else
7.12889 +# define LT_DLGLOBAL 0
7.12890 +# endif
7.12891 +#endif
7.12892 +
7.12893 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7.12894 + find out it does not work in some platform. */
7.12895 +#ifndef LT_DLLAZY_OR_NOW
7.12896 +# ifdef RTLD_LAZY
7.12897 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
7.12898 +# else
7.12899 +# ifdef DL_LAZY
7.12900 +# define LT_DLLAZY_OR_NOW DL_LAZY
7.12901 +# else
7.12902 +# ifdef RTLD_NOW
7.12903 +# define LT_DLLAZY_OR_NOW RTLD_NOW
7.12904 +# else
7.12905 +# ifdef DL_NOW
7.12906 +# define LT_DLLAZY_OR_NOW DL_NOW
7.12907 +# else
7.12908 +# define LT_DLLAZY_OR_NOW 0
7.12909 +# endif
7.12910 +# endif
7.12911 +# endif
7.12912 +# endif
7.12913 +#endif
7.12914 +
7.12915 +#ifdef __cplusplus
7.12916 +extern "C" void exit (int);
7.12917 +#endif
7.12918 +
7.12919 +void fnord() { int i=42;}
7.12920 +int main ()
7.12921 +{
7.12922 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7.12923 + int status = $lt_dlunknown;
7.12924 +
7.12925 + if (self)
7.12926 + {
7.12927 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7.12928 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7.12929 + /* dlclose (self); */
7.12930 + }
7.12931 +
7.12932 + exit (status);
7.12933 +}
7.12934 +EOF
7.12935 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.12936 + (eval $ac_link) 2>&5
7.12937 + ac_status=$?
7.12938 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.12939 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7.12940 + (./conftest; exit; ) >&5 2>/dev/null
7.12941 + lt_status=$?
7.12942 + case x$lt_status in
7.12943 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
7.12944 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
7.12945 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
7.12946 + esac
7.12947 + else :
7.12948 + # compilation failed
7.12949 + lt_cv_dlopen_self_static=no
7.12950 + fi
7.12951 +fi
7.12952 +rm -fr conftest*
7.12953 +
7.12954 +
7.12955 +fi
7.12956 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
7.12957 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
7.12958 + fi
7.12959 +
7.12960 + CPPFLAGS="$save_CPPFLAGS"
7.12961 + LDFLAGS="$save_LDFLAGS"
7.12962 + LIBS="$save_LIBS"
7.12963 + ;;
7.12964 + esac
7.12965 +
7.12966 + case $lt_cv_dlopen_self in
7.12967 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
7.12968 + *) enable_dlopen_self=unknown ;;
7.12969 + esac
7.12970 +
7.12971 + case $lt_cv_dlopen_self_static in
7.12972 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
7.12973 + *) enable_dlopen_self_static=unknown ;;
7.12974 + esac
7.12975 +fi
7.12976 +
7.12977 +
7.12978 +# The else clause should only fire when bootstrapping the
7.12979 +# libtool distribution, otherwise you forgot to ship ltmain.sh
7.12980 +# with your package, and you will get complaints that there are
7.12981 +# no rules to generate ltmain.sh.
7.12982 +if test -f "$ltmain"; then
7.12983 + # See if we are running on zsh, and set the options which allow our commands through
7.12984 + # without removal of \ escapes.
7.12985 + if test -n "${ZSH_VERSION+set}" ; then
7.12986 + setopt NO_GLOB_SUBST
7.12987 + fi
7.12988 + # Now quote all the things that may contain metacharacters while being
7.12989 + # careful not to overquote the AC_SUBSTed values. We take copies of the
7.12990 + # variables and quote the copies for generation of the libtool script.
7.12991 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
7.12992 + SED SHELL STRIP \
7.12993 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
7.12994 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
7.12995 + deplibs_check_method reload_flag reload_cmds need_locks \
7.12996 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
7.12997 + lt_cv_sys_global_symbol_to_c_name_address \
7.12998 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
7.12999 + old_postinstall_cmds old_postuninstall_cmds \
7.13000 + compiler_CXX \
7.13001 + CC_CXX \
7.13002 + LD_CXX \
7.13003 + lt_prog_compiler_wl_CXX \
7.13004 + lt_prog_compiler_pic_CXX \
7.13005 + lt_prog_compiler_static_CXX \
7.13006 + lt_prog_compiler_no_builtin_flag_CXX \
7.13007 + export_dynamic_flag_spec_CXX \
7.13008 + thread_safe_flag_spec_CXX \
7.13009 + whole_archive_flag_spec_CXX \
7.13010 + enable_shared_with_static_runtimes_CXX \
7.13011 + old_archive_cmds_CXX \
7.13012 + old_archive_from_new_cmds_CXX \
7.13013 + predep_objects_CXX \
7.13014 + postdep_objects_CXX \
7.13015 + predeps_CXX \
7.13016 + postdeps_CXX \
7.13017 + compiler_lib_search_path_CXX \
7.13018 + archive_cmds_CXX \
7.13019 + archive_expsym_cmds_CXX \
7.13020 + postinstall_cmds_CXX \
7.13021 + postuninstall_cmds_CXX \
7.13022 + old_archive_from_expsyms_cmds_CXX \
7.13023 + allow_undefined_flag_CXX \
7.13024 + no_undefined_flag_CXX \
7.13025 + export_symbols_cmds_CXX \
7.13026 + hardcode_libdir_flag_spec_CXX \
7.13027 + hardcode_libdir_flag_spec_ld_CXX \
7.13028 + hardcode_libdir_separator_CXX \
7.13029 + hardcode_automatic_CXX \
7.13030 + module_cmds_CXX \
7.13031 + module_expsym_cmds_CXX \
7.13032 + lt_cv_prog_compiler_c_o_CXX \
7.13033 + exclude_expsyms_CXX \
7.13034 + include_expsyms_CXX; do
7.13035 +
7.13036 + case $var in
7.13037 + old_archive_cmds_CXX | \
7.13038 + old_archive_from_new_cmds_CXX | \
7.13039 + archive_cmds_CXX | \
7.13040 + archive_expsym_cmds_CXX | \
7.13041 + module_cmds_CXX | \
7.13042 + module_expsym_cmds_CXX | \
7.13043 + old_archive_from_expsyms_cmds_CXX | \
7.13044 + export_symbols_cmds_CXX | \
7.13045 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
7.13046 + postinstall_cmds | postuninstall_cmds | \
7.13047 + old_postinstall_cmds | old_postuninstall_cmds | \
7.13048 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
7.13049 + # Double-quote double-evaled strings.
7.13050 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
7.13051 + ;;
7.13052 + *)
7.13053 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
7.13054 + ;;
7.13055 + esac
7.13056 + done
7.13057 +
7.13058 + case $lt_echo in
7.13059 + *'\$0 --fallback-echo"')
7.13060 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
7.13061 + ;;
7.13062 + esac
7.13063 +
7.13064 +cfgfile="$ofile"
7.13065 +
7.13066 + cat <<__EOF__ >> "$cfgfile"
7.13067 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
7.13068 +
7.13069 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7.13070 +
7.13071 +# Shell to use when invoking shell scripts.
7.13072 +SHELL=$lt_SHELL
7.13073 +
7.13074 +# Whether or not to build shared libraries.
7.13075 +build_libtool_libs=$enable_shared
7.13076 +
7.13077 +# Whether or not to build static libraries.
7.13078 +build_old_libs=$enable_static
7.13079 +
7.13080 +# Whether or not to add -lc for building shared libraries.
7.13081 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
7.13082 +
7.13083 +# Whether or not to disallow shared libs when runtime libs are static
7.13084 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
7.13085 +
7.13086 +# Whether or not to optimize for fast installation.
7.13087 +fast_install=$enable_fast_install
7.13088 +
7.13089 +# The host system.
7.13090 +host_alias=$host_alias
7.13091 +host=$host
7.13092 +host_os=$host_os
7.13093 +
7.13094 +# The build system.
7.13095 +build_alias=$build_alias
7.13096 +build=$build
7.13097 +build_os=$build_os
7.13098 +
7.13099 +# An echo program that does not interpret backslashes.
7.13100 +echo=$lt_echo
7.13101 +
7.13102 +# The archiver.
7.13103 +AR=$lt_AR
7.13104 +AR_FLAGS=$lt_AR_FLAGS
7.13105 +
7.13106 +# A C compiler.
7.13107 +LTCC=$lt_LTCC
7.13108 +
7.13109 +# A language-specific compiler.
7.13110 +CC=$lt_compiler_CXX
7.13111 +
7.13112 +# Is the compiler the GNU C compiler?
7.13113 +with_gcc=$GCC_CXX
7.13114 +
7.13115 +# An ERE matcher.
7.13116 +EGREP=$lt_EGREP
7.13117 +
7.13118 +# The linker used to build libraries.
7.13119 +LD=$lt_LD_CXX
7.13120 +
7.13121 +# Whether we need hard or soft links.
7.13122 +LN_S=$lt_LN_S
7.13123 +
7.13124 +# A BSD-compatible nm program.
7.13125 +NM=$lt_NM
7.13126 +
7.13127 +# A symbol stripping program
7.13128 +STRIP=$lt_STRIP
7.13129 +
7.13130 +# Used to examine libraries when file_magic_cmd begins "file"
7.13131 +MAGIC_CMD=$MAGIC_CMD
7.13132 +
7.13133 +# Used on cygwin: DLL creation program.
7.13134 +DLLTOOL="$DLLTOOL"
7.13135 +
7.13136 +# Used on cygwin: object dumper.
7.13137 +OBJDUMP="$OBJDUMP"
7.13138 +
7.13139 +# Used on cygwin: assembler.
7.13140 +AS="$AS"
7.13141 +
7.13142 +# The name of the directory that contains temporary libtool files.
7.13143 +objdir=$objdir
7.13144 +
7.13145 +# How to create reloadable object files.
7.13146 +reload_flag=$lt_reload_flag
7.13147 +reload_cmds=$lt_reload_cmds
7.13148 +
7.13149 +# How to pass a linker flag through the compiler.
7.13150 +wl=$lt_lt_prog_compiler_wl_CXX
7.13151 +
7.13152 +# Object file suffix (normally "o").
7.13153 +objext="$ac_objext"
7.13154 +
7.13155 +# Old archive suffix (normally "a").
7.13156 +libext="$libext"
7.13157 +
7.13158 +# Shared library suffix (normally ".so").
7.13159 +shrext_cmds='$shrext_cmds'
7.13160 +
7.13161 +# Executable file suffix (normally "").
7.13162 +exeext="$exeext"
7.13163 +
7.13164 +# Additional compiler flags for building library objects.
7.13165 +pic_flag=$lt_lt_prog_compiler_pic_CXX
7.13166 +pic_mode=$pic_mode
7.13167 +
7.13168 +# What is the maximum length of a command?
7.13169 +max_cmd_len=$lt_cv_sys_max_cmd_len
7.13170 +
7.13171 +# Does compiler simultaneously support -c and -o options?
7.13172 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
7.13173 +
7.13174 +# Must we lock files when doing compilation?
7.13175 +need_locks=$lt_need_locks
7.13176 +
7.13177 +# Do we need the lib prefix for modules?
7.13178 +need_lib_prefix=$need_lib_prefix
7.13179 +
7.13180 +# Do we need a version for libraries?
7.13181 +need_version=$need_version
7.13182 +
7.13183 +# Whether dlopen is supported.
7.13184 +dlopen_support=$enable_dlopen
7.13185 +
7.13186 +# Whether dlopen of programs is supported.
7.13187 +dlopen_self=$enable_dlopen_self
7.13188 +
7.13189 +# Whether dlopen of statically linked programs is supported.
7.13190 +dlopen_self_static=$enable_dlopen_self_static
7.13191 +
7.13192 +# Compiler flag to prevent dynamic linking.
7.13193 +link_static_flag=$lt_lt_prog_compiler_static_CXX
7.13194 +
7.13195 +# Compiler flag to turn off builtin functions.
7.13196 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
7.13197 +
7.13198 +# Compiler flag to allow reflexive dlopens.
7.13199 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
7.13200 +
7.13201 +# Compiler flag to generate shared objects directly from archives.
7.13202 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
7.13203 +
7.13204 +# Compiler flag to generate thread-safe objects.
7.13205 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
7.13206 +
7.13207 +# Library versioning type.
7.13208 +version_type=$version_type
7.13209 +
7.13210 +# Format of library name prefix.
7.13211 +libname_spec=$lt_libname_spec
7.13212 +
7.13213 +# List of archive names. First name is the real one, the rest are links.
7.13214 +# The last name is the one that the linker finds with -lNAME.
7.13215 +library_names_spec=$lt_library_names_spec
7.13216 +
7.13217 +# The coded name of the library, if different from the real name.
7.13218 +soname_spec=$lt_soname_spec
7.13219 +
7.13220 +# Commands used to build and install an old-style archive.
7.13221 +RANLIB=$lt_RANLIB
7.13222 +old_archive_cmds=$lt_old_archive_cmds_CXX
7.13223 +old_postinstall_cmds=$lt_old_postinstall_cmds
7.13224 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
7.13225 +
7.13226 +# Create an old-style archive from a shared archive.
7.13227 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
7.13228 +
7.13229 +# Create a temporary old-style archive to link instead of a shared archive.
7.13230 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
7.13231 +
7.13232 +# Commands used to build and install a shared archive.
7.13233 +archive_cmds=$lt_archive_cmds_CXX
7.13234 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
7.13235 +postinstall_cmds=$lt_postinstall_cmds
7.13236 +postuninstall_cmds=$lt_postuninstall_cmds
7.13237 +
7.13238 +# Commands used to build a loadable module (assumed same as above if empty)
7.13239 +module_cmds=$lt_module_cmds_CXX
7.13240 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
7.13241 +
7.13242 +# Commands to strip libraries.
7.13243 +old_striplib=$lt_old_striplib
7.13244 +striplib=$lt_striplib
7.13245 +
7.13246 +# Dependencies to place before the objects being linked to create a
7.13247 +# shared library.
7.13248 +predep_objects=$lt_predep_objects_CXX
7.13249 +
7.13250 +# Dependencies to place after the objects being linked to create a
7.13251 +# shared library.
7.13252 +postdep_objects=$lt_postdep_objects_CXX
7.13253 +
7.13254 +# Dependencies to place before the objects being linked to create a
7.13255 +# shared library.
7.13256 +predeps=$lt_predeps_CXX
7.13257 +
7.13258 +# Dependencies to place after the objects being linked to create a
7.13259 +# shared library.
7.13260 +postdeps=$lt_postdeps_CXX
7.13261 +
7.13262 +# The library search path used internally by the compiler when linking
7.13263 +# a shared library.
7.13264 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
7.13265 +
7.13266 +# Method to check whether dependent libraries are shared objects.
7.13267 +deplibs_check_method=$lt_deplibs_check_method
7.13268 +
7.13269 +# Command to use when deplibs_check_method == file_magic.
7.13270 +file_magic_cmd=$lt_file_magic_cmd
7.13271 +
7.13272 +# Flag that allows shared libraries with undefined symbols to be built.
7.13273 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
7.13274 +
7.13275 +# Flag that forces no undefined symbols.
7.13276 +no_undefined_flag=$lt_no_undefined_flag_CXX
7.13277 +
7.13278 +# Commands used to finish a libtool library installation in a directory.
7.13279 +finish_cmds=$lt_finish_cmds
7.13280 +
7.13281 +# Same as above, but a single script fragment to be evaled but not shown.
7.13282 +finish_eval=$lt_finish_eval
7.13283 +
7.13284 +# Take the output of nm and produce a listing of raw symbols and C names.
7.13285 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
7.13286 +
7.13287 +# Transform the output of nm in a proper C declaration
7.13288 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
7.13289 +
7.13290 +# Transform the output of nm in a C name address pair
7.13291 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
7.13292 +
7.13293 +# This is the shared library runtime path variable.
7.13294 +runpath_var=$runpath_var
7.13295 +
7.13296 +# This is the shared library path variable.
7.13297 +shlibpath_var=$shlibpath_var
7.13298 +
7.13299 +# Is shlibpath searched before the hard-coded library search path?
7.13300 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
7.13301 +
7.13302 +# How to hardcode a shared library path into an executable.
7.13303 +hardcode_action=$hardcode_action_CXX
7.13304 +
7.13305 +# Whether we should hardcode library paths into libraries.
7.13306 +hardcode_into_libs=$hardcode_into_libs
7.13307 +
7.13308 +# Flag to hardcode \$libdir into a binary during linking.
7.13309 +# This must work even if \$libdir does not exist.
7.13310 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
7.13311 +
7.13312 +# If ld is used when linking, flag to hardcode \$libdir into
7.13313 +# a binary during linking. This must work even if \$libdir does
7.13314 +# not exist.
7.13315 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
7.13316 +
7.13317 +# Whether we need a single -rpath flag with a separated argument.
7.13318 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
7.13319 +
7.13320 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
7.13321 +# resulting binary.
7.13322 +hardcode_direct=$hardcode_direct_CXX
7.13323 +
7.13324 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
7.13325 +# resulting binary.
7.13326 +hardcode_minus_L=$hardcode_minus_L_CXX
7.13327 +
7.13328 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
7.13329 +# the resulting binary.
7.13330 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
7.13331 +
7.13332 +# Set to yes if building a shared library automatically hardcodes DIR into the library
7.13333 +# and all subsequent libraries and executables linked against it.
7.13334 +hardcode_automatic=$hardcode_automatic_CXX
7.13335 +
7.13336 +# Variables whose values should be saved in libtool wrapper scripts and
7.13337 +# restored at relink time.
7.13338 +variables_saved_for_relink="$variables_saved_for_relink"
7.13339 +
7.13340 +# Whether libtool must link a program against all its dependency libraries.
7.13341 +link_all_deplibs=$link_all_deplibs_CXX
7.13342 +
7.13343 +# Compile-time system search path for libraries
7.13344 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
7.13345 +
7.13346 +# Run-time system search path for libraries
7.13347 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
7.13348 +
7.13349 +# Fix the shell variable \$srcfile for the compiler.
7.13350 +fix_srcfile_path="$fix_srcfile_path_CXX"
7.13351 +
7.13352 +# Set to yes if exported symbols are required.
7.13353 +always_export_symbols=$always_export_symbols_CXX
7.13354 +
7.13355 +# The commands to list exported symbols.
7.13356 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
7.13357 +
7.13358 +# The commands to extract the exported symbol list from a shared archive.
7.13359 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
7.13360 +
7.13361 +# Symbols that should not be listed in the preloaded symbols.
7.13362 +exclude_expsyms=$lt_exclude_expsyms_CXX
7.13363 +
7.13364 +# Symbols that must always be exported.
7.13365 +include_expsyms=$lt_include_expsyms_CXX
7.13366 +
7.13367 +# ### END LIBTOOL TAG CONFIG: $tagname
7.13368 +
7.13369 +__EOF__
7.13370 +
7.13371 +
7.13372 +else
7.13373 + # If there is no Makefile yet, we rely on a make rule to execute
7.13374 + # `config.status --recheck' to rerun these tests and create the
7.13375 + # libtool script then.
7.13376 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
7.13377 + if test -f "$ltmain_in"; then
7.13378 + test -f Makefile && make "$ltmain"
7.13379 + fi
7.13380 +fi
7.13381 +
7.13382 +
7.13383 +ac_ext=c
7.13384 +ac_cpp='$CPP $CPPFLAGS'
7.13385 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.13386 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.13387 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.13388 +
7.13389 +CC=$lt_save_CC
7.13390 +LDCXX=$LD
7.13391 +LD=$lt_save_LD
7.13392 +GCC=$lt_save_GCC
7.13393 +with_gnu_ldcxx=$with_gnu_ld
7.13394 +with_gnu_ld=$lt_save_with_gnu_ld
7.13395 +lt_cv_path_LDCXX=$lt_cv_path_LD
7.13396 +lt_cv_path_LD=$lt_save_path_LD
7.13397 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
7.13398 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
7.13399 +
7.13400 + else
7.13401 + tagname=""
7.13402 + fi
7.13403 + ;;
7.13404 +
7.13405 + F77)
7.13406 + if test -n "$F77" && test "X$F77" != "Xno"; then
7.13407 +
7.13408 +ac_ext=f
7.13409 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7.13410 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.13411 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7.13412 +
7.13413 +
7.13414 +archive_cmds_need_lc_F77=no
7.13415 +allow_undefined_flag_F77=
7.13416 +always_export_symbols_F77=no
7.13417 +archive_expsym_cmds_F77=
7.13418 +export_dynamic_flag_spec_F77=
7.13419 +hardcode_direct_F77=no
7.13420 +hardcode_libdir_flag_spec_F77=
7.13421 +hardcode_libdir_flag_spec_ld_F77=
7.13422 +hardcode_libdir_separator_F77=
7.13423 +hardcode_minus_L_F77=no
7.13424 +hardcode_automatic_F77=no
7.13425 +module_cmds_F77=
7.13426 +module_expsym_cmds_F77=
7.13427 +link_all_deplibs_F77=unknown
7.13428 +old_archive_cmds_F77=$old_archive_cmds
7.13429 +no_undefined_flag_F77=
7.13430 +whole_archive_flag_spec_F77=
7.13431 +enable_shared_with_static_runtimes_F77=no
7.13432 +
7.13433 +# Source file extension for f77 test sources.
7.13434 +ac_ext=f
7.13435 +
7.13436 +# Object file extension for compiled f77 test sources.
7.13437 +objext=o
7.13438 +objext_F77=$objext
7.13439 +
7.13440 +# Code to be used in simple compile tests
7.13441 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
7.13442 +
7.13443 +# Code to be used in simple link tests
7.13444 +lt_simple_link_test_code=" program t\n end\n"
7.13445 +
7.13446 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7.13447 +
7.13448 +# If no C compiler was specified, use CC.
7.13449 +LTCC=${LTCC-"$CC"}
7.13450 +
7.13451 +# Allow CC to be a program name with arguments.
7.13452 +compiler=$CC
7.13453 +
7.13454 +
7.13455 +# save warnings/boilerplate of simple test code
7.13456 +ac_outfile=conftest.$ac_objext
7.13457 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7.13458 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7.13459 +_lt_compiler_boilerplate=`cat conftest.err`
7.13460 +$rm conftest*
7.13461 +
7.13462 +ac_outfile=conftest.$ac_objext
7.13463 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
7.13464 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7.13465 +_lt_linker_boilerplate=`cat conftest.err`
7.13466 +$rm conftest*
7.13467 +
7.13468 +
7.13469 +# Allow CC to be a program name with arguments.
7.13470 +lt_save_CC="$CC"
7.13471 +CC=${F77-"f77"}
7.13472 +compiler=$CC
7.13473 +compiler_F77=$CC
7.13474 +for cc_temp in $compiler""; do
7.13475 + case $cc_temp in
7.13476 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7.13477 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7.13478 + \-*) ;;
7.13479 + *) break;;
7.13480 + esac
7.13481 +done
7.13482 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7.13483 +
7.13484 +
7.13485 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
7.13486 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
7.13487 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
7.13488 +echo "${ECHO_T}$can_build_shared" >&6
7.13489 +
7.13490 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
7.13491 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
7.13492 +test "$can_build_shared" = "no" && enable_shared=no
7.13493 +
7.13494 +# On AIX, shared libraries and static libraries use the same namespace, and
7.13495 +# are all built from PIC.
7.13496 +case $host_os in
7.13497 +aix3*)
7.13498 + test "$enable_shared" = yes && enable_static=no
7.13499 + if test -n "$RANLIB"; then
7.13500 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
7.13501 + postinstall_cmds='$RANLIB $lib'
7.13502 + fi
7.13503 + ;;
7.13504 +aix4* | aix5*)
7.13505 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7.13506 + test "$enable_shared" = yes && enable_static=no
7.13507 + fi
7.13508 + ;;
7.13509 +esac
7.13510 +echo "$as_me:$LINENO: result: $enable_shared" >&5
7.13511 +echo "${ECHO_T}$enable_shared" >&6
7.13512 +
7.13513 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
7.13514 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
7.13515 +# Make sure either enable_shared or enable_static is yes.
7.13516 +test "$enable_shared" = yes || enable_static=yes
7.13517 +echo "$as_me:$LINENO: result: $enable_static" >&5
7.13518 +echo "${ECHO_T}$enable_static" >&6
7.13519 +
7.13520 +test "$ld_shlibs_F77" = no && can_build_shared=no
7.13521 +
7.13522 +GCC_F77="$G77"
7.13523 +LD_F77="$LD"
7.13524 +
7.13525 +lt_prog_compiler_wl_F77=
7.13526 +lt_prog_compiler_pic_F77=
7.13527 +lt_prog_compiler_static_F77=
7.13528 +
7.13529 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7.13530 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7.13531 +
7.13532 + if test "$GCC" = yes; then
7.13533 + lt_prog_compiler_wl_F77='-Wl,'
7.13534 + lt_prog_compiler_static_F77='-static'
7.13535 +
7.13536 + case $host_os in
7.13537 + aix*)
7.13538 + # All AIX code is PIC.
7.13539 + if test "$host_cpu" = ia64; then
7.13540 + # AIX 5 now supports IA64 processor
7.13541 + lt_prog_compiler_static_F77='-Bstatic'
7.13542 + fi
7.13543 + ;;
7.13544 +
7.13545 + amigaos*)
7.13546 + # FIXME: we need at least 68020 code to build shared libraries, but
7.13547 + # adding the `-m68020' flag to GCC prevents building anything better,
7.13548 + # like `-m68040'.
7.13549 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
7.13550 + ;;
7.13551 +
7.13552 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7.13553 + # PIC is the default for these OSes.
7.13554 + ;;
7.13555 +
7.13556 + mingw* | pw32* | os2*)
7.13557 + # This hack is so that the source file can tell whether it is being
7.13558 + # built for inclusion in a dll (and should export symbols for example).
7.13559 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
7.13560 + ;;
7.13561 +
7.13562 + darwin* | rhapsody*)
7.13563 + # PIC is the default on this platform
7.13564 + # Common symbols not allowed in MH_DYLIB files
7.13565 + lt_prog_compiler_pic_F77='-fno-common'
7.13566 + ;;
7.13567 +
7.13568 + msdosdjgpp*)
7.13569 + # Just because we use GCC doesn't mean we suddenly get shared libraries
7.13570 + # on systems that don't support them.
7.13571 + lt_prog_compiler_can_build_shared_F77=no
7.13572 + enable_shared=no
7.13573 + ;;
7.13574 +
7.13575 + sysv4*MP*)
7.13576 + if test -d /usr/nec; then
7.13577 + lt_prog_compiler_pic_F77=-Kconform_pic
7.13578 + fi
7.13579 + ;;
7.13580 +
7.13581 + hpux*)
7.13582 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7.13583 + # not for PA HP-UX.
7.13584 + case $host_cpu in
7.13585 + hppa*64*|ia64*)
7.13586 + # +Z the default
7.13587 + ;;
7.13588 + *)
7.13589 + lt_prog_compiler_pic_F77='-fPIC'
7.13590 + ;;
7.13591 + esac
7.13592 + ;;
7.13593 +
7.13594 + *)
7.13595 + lt_prog_compiler_pic_F77='-fPIC'
7.13596 + ;;
7.13597 + esac
7.13598 + else
7.13599 + # PORTME Check for flag to pass linker flags through the system compiler.
7.13600 + case $host_os in
7.13601 + aix*)
7.13602 + lt_prog_compiler_wl_F77='-Wl,'
7.13603 + if test "$host_cpu" = ia64; then
7.13604 + # AIX 5 now supports IA64 processor
7.13605 + lt_prog_compiler_static_F77='-Bstatic'
7.13606 + else
7.13607 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
7.13608 + fi
7.13609 + ;;
7.13610 + darwin*)
7.13611 + # PIC is the default on this platform
7.13612 + # Common symbols not allowed in MH_DYLIB files
7.13613 + case $cc_basename in
7.13614 + xlc*)
7.13615 + lt_prog_compiler_pic_F77='-qnocommon'
7.13616 + lt_prog_compiler_wl_F77='-Wl,'
7.13617 + ;;
7.13618 + esac
7.13619 + ;;
7.13620 +
7.13621 + mingw* | pw32* | os2*)
7.13622 + # This hack is so that the source file can tell whether it is being
7.13623 + # built for inclusion in a dll (and should export symbols for example).
7.13624 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
7.13625 + ;;
7.13626 +
7.13627 + hpux9* | hpux10* | hpux11*)
7.13628 + lt_prog_compiler_wl_F77='-Wl,'
7.13629 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7.13630 + # not for PA HP-UX.
7.13631 + case $host_cpu in
7.13632 + hppa*64*|ia64*)
7.13633 + # +Z the default
7.13634 + ;;
7.13635 + *)
7.13636 + lt_prog_compiler_pic_F77='+Z'
7.13637 + ;;
7.13638 + esac
7.13639 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
7.13640 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
7.13641 + ;;
7.13642 +
7.13643 + irix5* | irix6* | nonstopux*)
7.13644 + lt_prog_compiler_wl_F77='-Wl,'
7.13645 + # PIC (with -KPIC) is the default.
7.13646 + lt_prog_compiler_static_F77='-non_shared'
7.13647 + ;;
7.13648 +
7.13649 + newsos6)
7.13650 + lt_prog_compiler_pic_F77='-KPIC'
7.13651 + lt_prog_compiler_static_F77='-Bstatic'
7.13652 + ;;
7.13653 +
7.13654 + linux*)
7.13655 + case $cc_basename in
7.13656 + icc* | ecc*)
7.13657 + lt_prog_compiler_wl_F77='-Wl,'
7.13658 + lt_prog_compiler_pic_F77='-KPIC'
7.13659 + lt_prog_compiler_static_F77='-static'
7.13660 + ;;
7.13661 + pgcc* | pgf77* | pgf90* | pgf95*)
7.13662 + # Portland Group compilers (*not* the Pentium gcc compiler,
7.13663 + # which looks to be a dead project)
7.13664 + lt_prog_compiler_wl_F77='-Wl,'
7.13665 + lt_prog_compiler_pic_F77='-fpic'
7.13666 + lt_prog_compiler_static_F77='-Bstatic'
7.13667 + ;;
7.13668 + ccc*)
7.13669 + lt_prog_compiler_wl_F77='-Wl,'
7.13670 + # All Alpha code is PIC.
7.13671 + lt_prog_compiler_static_F77='-non_shared'
7.13672 + ;;
7.13673 + esac
7.13674 + ;;
7.13675 +
7.13676 + osf3* | osf4* | osf5*)
7.13677 + lt_prog_compiler_wl_F77='-Wl,'
7.13678 + # All OSF/1 code is PIC.
7.13679 + lt_prog_compiler_static_F77='-non_shared'
7.13680 + ;;
7.13681 +
7.13682 + sco3.2v5*)
7.13683 + lt_prog_compiler_pic_F77='-Kpic'
7.13684 + lt_prog_compiler_static_F77='-dn'
7.13685 + ;;
7.13686 +
7.13687 + solaris*)
7.13688 + lt_prog_compiler_pic_F77='-KPIC'
7.13689 + lt_prog_compiler_static_F77='-Bstatic'
7.13690 + case $cc_basename in
7.13691 + f77* | f90* | f95*)
7.13692 + lt_prog_compiler_wl_F77='-Qoption ld ';;
7.13693 + *)
7.13694 + lt_prog_compiler_wl_F77='-Wl,';;
7.13695 + esac
7.13696 + ;;
7.13697 +
7.13698 + sunos4*)
7.13699 + lt_prog_compiler_wl_F77='-Qoption ld '
7.13700 + lt_prog_compiler_pic_F77='-PIC'
7.13701 + lt_prog_compiler_static_F77='-Bstatic'
7.13702 + ;;
7.13703 +
7.13704 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7.13705 + lt_prog_compiler_wl_F77='-Wl,'
7.13706 + lt_prog_compiler_pic_F77='-KPIC'
7.13707 + lt_prog_compiler_static_F77='-Bstatic'
7.13708 + ;;
7.13709 +
7.13710 + sysv4*MP*)
7.13711 + if test -d /usr/nec ;then
7.13712 + lt_prog_compiler_pic_F77='-Kconform_pic'
7.13713 + lt_prog_compiler_static_F77='-Bstatic'
7.13714 + fi
7.13715 + ;;
7.13716 +
7.13717 + unicos*)
7.13718 + lt_prog_compiler_wl_F77='-Wl,'
7.13719 + lt_prog_compiler_can_build_shared_F77=no
7.13720 + ;;
7.13721 +
7.13722 + uts4*)
7.13723 + lt_prog_compiler_pic_F77='-pic'
7.13724 + lt_prog_compiler_static_F77='-Bstatic'
7.13725 + ;;
7.13726 +
7.13727 + *)
7.13728 + lt_prog_compiler_can_build_shared_F77=no
7.13729 + ;;
7.13730 + esac
7.13731 + fi
7.13732 +
7.13733 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
7.13734 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
7.13735 +
7.13736 +#
7.13737 +# Check to make sure the PIC flag actually works.
7.13738 +#
7.13739 +if test -n "$lt_prog_compiler_pic_F77"; then
7.13740 +
7.13741 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
7.13742 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
7.13743 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
7.13744 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.13745 +else
7.13746 + lt_prog_compiler_pic_works_F77=no
7.13747 + ac_outfile=conftest.$ac_objext
7.13748 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.13749 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
7.13750 + # Insert the option either (1) after the last *FLAGS variable, or
7.13751 + # (2) before a word containing "conftest.", or (3) at the end.
7.13752 + # Note that $ac_compile itself does not contain backslashes and begins
7.13753 + # with a dollar sign (not a hyphen), so the echo should work correctly.
7.13754 + # The option is referenced via a variable to avoid confusing sed.
7.13755 + lt_compile=`echo "$ac_compile" | $SED \
7.13756 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7.13757 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7.13758 + -e 's:$: $lt_compiler_flag:'`
7.13759 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7.13760 + (eval "$lt_compile" 2>conftest.err)
7.13761 + ac_status=$?
7.13762 + cat conftest.err >&5
7.13763 + echo "$as_me:__oline__: \$? = $ac_status" >&5
7.13764 + if (exit $ac_status) && test -s "$ac_outfile"; then
7.13765 + # The compiler can only warn and ignore the option if not recognized
7.13766 + # So say no if there are warnings other than the usual output.
7.13767 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
7.13768 + $SED '/^$/d' conftest.err >conftest.er2
7.13769 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
7.13770 + lt_prog_compiler_pic_works_F77=yes
7.13771 + fi
7.13772 + fi
7.13773 + $rm conftest*
7.13774 +
7.13775 +fi
7.13776 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
7.13777 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
7.13778 +
7.13779 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
7.13780 + case $lt_prog_compiler_pic_F77 in
7.13781 + "" | " "*) ;;
7.13782 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
7.13783 + esac
7.13784 +else
7.13785 + lt_prog_compiler_pic_F77=
7.13786 + lt_prog_compiler_can_build_shared_F77=no
7.13787 +fi
7.13788 +
7.13789 +fi
7.13790 +case $host_os in
7.13791 + # For platforms which do not support PIC, -DPIC is meaningless:
7.13792 + *djgpp*)
7.13793 + lt_prog_compiler_pic_F77=
7.13794 + ;;
7.13795 + *)
7.13796 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
7.13797 + ;;
7.13798 +esac
7.13799 +
7.13800 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7.13801 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7.13802 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
7.13803 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.13804 +else
7.13805 + lt_cv_prog_compiler_c_o_F77=no
7.13806 + $rm -r conftest 2>/dev/null
7.13807 + mkdir conftest
7.13808 + cd conftest
7.13809 + mkdir out
7.13810 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.13811 +
7.13812 + lt_compiler_flag="-o out/conftest2.$ac_objext"
7.13813 + # Insert the option either (1) after the last *FLAGS variable, or
7.13814 + # (2) before a word containing "conftest.", or (3) at the end.
7.13815 + # Note that $ac_compile itself does not contain backslashes and begins
7.13816 + # with a dollar sign (not a hyphen), so the echo should work correctly.
7.13817 + lt_compile=`echo "$ac_compile" | $SED \
7.13818 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7.13819 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7.13820 + -e 's:$: $lt_compiler_flag:'`
7.13821 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7.13822 + (eval "$lt_compile" 2>out/conftest.err)
7.13823 + ac_status=$?
7.13824 + cat out/conftest.err >&5
7.13825 + echo "$as_me:__oline__: \$? = $ac_status" >&5
7.13826 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
7.13827 + then
7.13828 + # The compiler can only warn and ignore the option if not recognized
7.13829 + # So say no if there are warnings
7.13830 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
7.13831 + $SED '/^$/d' out/conftest.err >out/conftest.er2
7.13832 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7.13833 + lt_cv_prog_compiler_c_o_F77=yes
7.13834 + fi
7.13835 + fi
7.13836 + chmod u+w . 2>&5
7.13837 + $rm conftest*
7.13838 + # SGI C++ compiler will create directory out/ii_files/ for
7.13839 + # template instantiation
7.13840 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7.13841 + $rm out/* && rmdir out
7.13842 + cd ..
7.13843 + rmdir conftest
7.13844 + $rm conftest*
7.13845 +
7.13846 +fi
7.13847 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
7.13848 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
7.13849 +
7.13850 +
7.13851 +hard_links="nottested"
7.13852 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
7.13853 + # do not overwrite the value of need_locks provided by the user
7.13854 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7.13855 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7.13856 + hard_links=yes
7.13857 + $rm conftest*
7.13858 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
7.13859 + touch conftest.a
7.13860 + ln conftest.a conftest.b 2>&5 || hard_links=no
7.13861 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
7.13862 + echo "$as_me:$LINENO: result: $hard_links" >&5
7.13863 +echo "${ECHO_T}$hard_links" >&6
7.13864 + if test "$hard_links" = no; then
7.13865 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7.13866 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7.13867 + need_locks=warn
7.13868 + fi
7.13869 +else
7.13870 + need_locks=no
7.13871 +fi
7.13872 +
7.13873 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7.13874 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7.13875 +
7.13876 + runpath_var=
7.13877 + allow_undefined_flag_F77=
7.13878 + enable_shared_with_static_runtimes_F77=no
7.13879 + archive_cmds_F77=
7.13880 + archive_expsym_cmds_F77=
7.13881 + old_archive_From_new_cmds_F77=
7.13882 + old_archive_from_expsyms_cmds_F77=
7.13883 + export_dynamic_flag_spec_F77=
7.13884 + whole_archive_flag_spec_F77=
7.13885 + thread_safe_flag_spec_F77=
7.13886 + hardcode_libdir_flag_spec_F77=
7.13887 + hardcode_libdir_flag_spec_ld_F77=
7.13888 + hardcode_libdir_separator_F77=
7.13889 + hardcode_direct_F77=no
7.13890 + hardcode_minus_L_F77=no
7.13891 + hardcode_shlibpath_var_F77=unsupported
7.13892 + link_all_deplibs_F77=unknown
7.13893 + hardcode_automatic_F77=no
7.13894 + module_cmds_F77=
7.13895 + module_expsym_cmds_F77=
7.13896 + always_export_symbols_F77=no
7.13897 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7.13898 + # include_expsyms should be a list of space-separated symbols to be *always*
7.13899 + # included in the symbol list
7.13900 + include_expsyms_F77=
7.13901 + # exclude_expsyms can be an extended regexp of symbols to exclude
7.13902 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
7.13903 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7.13904 + # as well as any symbol that contains `d'.
7.13905 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
7.13906 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7.13907 + # platforms (ab)use it in PIC code, but their linkers get confused if
7.13908 + # the symbol is explicitly referenced. Since portable code cannot
7.13909 + # rely on this symbol name, it's probably fine to never include it in
7.13910 + # preloaded symbol tables.
7.13911 + extract_expsyms_cmds=
7.13912 + # Just being paranoid about ensuring that cc_basename is set.
7.13913 + for cc_temp in $compiler""; do
7.13914 + case $cc_temp in
7.13915 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7.13916 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7.13917 + \-*) ;;
7.13918 + *) break;;
7.13919 + esac
7.13920 +done
7.13921 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7.13922 +
7.13923 + case $host_os in
7.13924 + cygwin* | mingw* | pw32*)
7.13925 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
7.13926 + # When not using gcc, we currently assume that we are using
7.13927 + # Microsoft Visual C++.
7.13928 + if test "$GCC" != yes; then
7.13929 + with_gnu_ld=no
7.13930 + fi
7.13931 + ;;
7.13932 + openbsd*)
7.13933 + with_gnu_ld=no
7.13934 + ;;
7.13935 + esac
7.13936 +
7.13937 + ld_shlibs_F77=yes
7.13938 + if test "$with_gnu_ld" = yes; then
7.13939 + # If archive_cmds runs LD, not CC, wlarc should be empty
7.13940 + wlarc='${wl}'
7.13941 +
7.13942 + # Set some defaults for GNU ld with shared library support. These
7.13943 + # are reset later if shared libraries are not supported. Putting them
7.13944 + # here allows them to be overridden if necessary.
7.13945 + runpath_var=LD_RUN_PATH
7.13946 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
7.13947 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
7.13948 + # ancient GNU ld didn't support --whole-archive et. al.
7.13949 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7.13950 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7.13951 + else
7.13952 + whole_archive_flag_spec_F77=
7.13953 + fi
7.13954 + supports_anon_versioning=no
7.13955 + case `$LD -v 2>/dev/null` in
7.13956 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7.13957 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7.13958 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7.13959 + *\ 2.11.*) ;; # other 2.11 versions
7.13960 + *) supports_anon_versioning=yes ;;
7.13961 + esac
7.13962 +
7.13963 + # See if GNU ld supports shared libraries.
7.13964 + case $host_os in
7.13965 + aix3* | aix4* | aix5*)
7.13966 + # On AIX/PPC, the GNU linker is very broken
7.13967 + if test "$host_cpu" != ia64; then
7.13968 + ld_shlibs_F77=no
7.13969 + cat <<EOF 1>&2
7.13970 +
7.13971 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7.13972 +*** to be unable to reliably create shared libraries on AIX.
7.13973 +*** Therefore, libtool is disabling shared libraries support. If you
7.13974 +*** really care for shared libraries, you may want to modify your PATH
7.13975 +*** so that a non-GNU linker is found, and then restart.
7.13976 +
7.13977 +EOF
7.13978 + fi
7.13979 + ;;
7.13980 +
7.13981 + amigaos*)
7.13982 + 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)'
7.13983 + hardcode_libdir_flag_spec_F77='-L$libdir'
7.13984 + hardcode_minus_L_F77=yes
7.13985 +
7.13986 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7.13987 + # that the semantics of dynamic libraries on AmigaOS, at least up
7.13988 + # to version 4, is to share data among multiple programs linked
7.13989 + # with the same dynamic library. Since this doesn't match the
7.13990 + # behavior of shared libraries on other platforms, we can't use
7.13991 + # them.
7.13992 + ld_shlibs_F77=no
7.13993 + ;;
7.13994 +
7.13995 + beos*)
7.13996 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.13997 + allow_undefined_flag_F77=unsupported
7.13998 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7.13999 + # support --undefined. This deserves some investigation. FIXME
7.14000 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.14001 + else
7.14002 + ld_shlibs_F77=no
7.14003 + fi
7.14004 + ;;
7.14005 +
7.14006 + cygwin* | mingw* | pw32*)
7.14007 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
7.14008 + # as there is no search path for DLLs.
7.14009 + hardcode_libdir_flag_spec_F77='-L$libdir'
7.14010 + allow_undefined_flag_F77=unsupported
7.14011 + always_export_symbols_F77=no
7.14012 + enable_shared_with_static_runtimes_F77=yes
7.14013 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7.14014 +
7.14015 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7.14016 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7.14017 + # If the export-symbols file already is a .def file (1st line
7.14018 + # is EXPORTS), use it as is; otherwise, prepend...
7.14019 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7.14020 + cp $export_symbols $output_objdir/$soname.def;
7.14021 + else
7.14022 + echo EXPORTS > $output_objdir/$soname.def;
7.14023 + cat $export_symbols >> $output_objdir/$soname.def;
7.14024 + fi~
7.14025 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7.14026 + else
7.14027 + ld_shlibs_F77=no
7.14028 + fi
7.14029 + ;;
7.14030 +
7.14031 + linux*)
7.14032 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.14033 + tmp_addflag=
7.14034 + case $cc_basename,$host_cpu in
7.14035 + pgcc*) # Portland Group C compiler
7.14036 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7.14037 + tmp_addflag=' $pic_flag'
7.14038 + ;;
7.14039 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7.14040 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7.14041 + tmp_addflag=' $pic_flag -Mnomain' ;;
7.14042 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7.14043 + tmp_addflag=' -i_dynamic' ;;
7.14044 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7.14045 + tmp_addflag=' -i_dynamic -nofor_main' ;;
7.14046 + ifc* | ifort*) # Intel Fortran compiler
7.14047 + tmp_addflag=' -nofor_main' ;;
7.14048 + esac
7.14049 + archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.14050 +
7.14051 + if test $supports_anon_versioning = yes; then
7.14052 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
7.14053 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7.14054 + $echo "local: *; };" >> $output_objdir/$libname.ver~
7.14055 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7.14056 + fi
7.14057 + else
7.14058 + ld_shlibs_F77=no
7.14059 + fi
7.14060 + ;;
7.14061 +
7.14062 + netbsd*)
7.14063 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7.14064 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7.14065 + wlarc=
7.14066 + else
7.14067 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.14068 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.14069 + fi
7.14070 + ;;
7.14071 +
7.14072 + solaris* | sysv5*)
7.14073 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7.14074 + ld_shlibs_F77=no
7.14075 + cat <<EOF 1>&2
7.14076 +
7.14077 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7.14078 +*** create shared libraries on Solaris systems. Therefore, libtool
7.14079 +*** is disabling shared libraries support. We urge you to upgrade GNU
7.14080 +*** binutils to release 2.9.1 or newer. Another option is to modify
7.14081 +*** your PATH or compiler configuration so that the native linker is
7.14082 +*** used, and then restart.
7.14083 +
7.14084 +EOF
7.14085 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.14086 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.14087 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.14088 + else
7.14089 + ld_shlibs_F77=no
7.14090 + fi
7.14091 + ;;
7.14092 +
7.14093 + sunos4*)
7.14094 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7.14095 + wlarc=
7.14096 + hardcode_direct_F77=yes
7.14097 + hardcode_shlibpath_var_F77=no
7.14098 + ;;
7.14099 +
7.14100 + *)
7.14101 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.14102 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.14103 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.14104 + else
7.14105 + ld_shlibs_F77=no
7.14106 + fi
7.14107 + ;;
7.14108 + esac
7.14109 +
7.14110 + if test "$ld_shlibs_F77" = no; then
7.14111 + runpath_var=
7.14112 + hardcode_libdir_flag_spec_F77=
7.14113 + export_dynamic_flag_spec_F77=
7.14114 + whole_archive_flag_spec_F77=
7.14115 + fi
7.14116 + else
7.14117 + # PORTME fill in a description of your system's linker (not GNU ld)
7.14118 + case $host_os in
7.14119 + aix3*)
7.14120 + allow_undefined_flag_F77=unsupported
7.14121 + always_export_symbols_F77=yes
7.14122 + 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'
7.14123 + # Note: this linker hardcodes the directories in LIBPATH if there
7.14124 + # are no directories specified by -L.
7.14125 + hardcode_minus_L_F77=yes
7.14126 + if test "$GCC" = yes && test -z "$link_static_flag"; then
7.14127 + # Neither direct hardcoding nor static linking is supported with a
7.14128 + # broken collect2.
7.14129 + hardcode_direct_F77=unsupported
7.14130 + fi
7.14131 + ;;
7.14132 +
7.14133 + aix4* | aix5*)
7.14134 + if test "$host_cpu" = ia64; then
7.14135 + # On IA64, the linker does run time linking by default, so we don't
7.14136 + # have to do anything special.
7.14137 + aix_use_runtimelinking=no
7.14138 + exp_sym_flag='-Bexport'
7.14139 + no_entry_flag=""
7.14140 + else
7.14141 + # If we're using GNU nm, then we don't want the "-C" option.
7.14142 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
7.14143 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7.14144 + 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'
7.14145 + else
7.14146 + 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'
7.14147 + fi
7.14148 + aix_use_runtimelinking=no
7.14149 +
7.14150 + # Test if we are trying to use run time linking or normal
7.14151 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7.14152 + # need to do runtime linking.
7.14153 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7.14154 + for ld_flag in $LDFLAGS; do
7.14155 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7.14156 + aix_use_runtimelinking=yes
7.14157 + break
7.14158 + fi
7.14159 + done
7.14160 + esac
7.14161 +
7.14162 + exp_sym_flag='-bexport'
7.14163 + no_entry_flag='-bnoentry'
7.14164 + fi
7.14165 +
7.14166 + # When large executables or shared objects are built, AIX ld can
7.14167 + # have problems creating the table of contents. If linking a library
7.14168 + # or program results in "error TOC overflow" add -mminimal-toc to
7.14169 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7.14170 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7.14171 +
7.14172 + archive_cmds_F77=''
7.14173 + hardcode_direct_F77=yes
7.14174 + hardcode_libdir_separator_F77=':'
7.14175 + link_all_deplibs_F77=yes
7.14176 +
7.14177 + if test "$GCC" = yes; then
7.14178 + case $host_os in aix4.[012]|aix4.[012].*)
7.14179 + # We only want to do this on AIX 4.2 and lower, the check
7.14180 + # below for broken collect2 doesn't work under 4.3+
7.14181 + collect2name=`${CC} -print-prog-name=collect2`
7.14182 + if test -f "$collect2name" && \
7.14183 + strings "$collect2name" | grep resolve_lib_name >/dev/null
7.14184 + then
7.14185 + # We have reworked collect2
7.14186 + hardcode_direct_F77=yes
7.14187 + else
7.14188 + # We have old collect2
7.14189 + hardcode_direct_F77=unsupported
7.14190 + # It fails to find uninstalled libraries when the uninstalled
7.14191 + # path is not listed in the libpath. Setting hardcode_minus_L
7.14192 + # to unsupported forces relinking
7.14193 + hardcode_minus_L_F77=yes
7.14194 + hardcode_libdir_flag_spec_F77='-L$libdir'
7.14195 + hardcode_libdir_separator_F77=
7.14196 + fi
7.14197 + esac
7.14198 + shared_flag='-shared'
7.14199 + if test "$aix_use_runtimelinking" = yes; then
7.14200 + shared_flag="$shared_flag "'${wl}-G'
7.14201 + fi
7.14202 + else
7.14203 + # not using gcc
7.14204 + if test "$host_cpu" = ia64; then
7.14205 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7.14206 + # chokes on -Wl,-G. The following line is correct:
7.14207 + shared_flag='-G'
7.14208 + else
7.14209 + if test "$aix_use_runtimelinking" = yes; then
7.14210 + shared_flag='${wl}-G'
7.14211 + else
7.14212 + shared_flag='${wl}-bM:SRE'
7.14213 + fi
7.14214 + fi
7.14215 + fi
7.14216 +
7.14217 + # It seems that -bexpall does not export symbols beginning with
7.14218 + # underscore (_), so it is better to generate a list of symbols to export.
7.14219 + always_export_symbols_F77=yes
7.14220 + if test "$aix_use_runtimelinking" = yes; then
7.14221 + # Warning - without using the other runtime loading flags (-brtl),
7.14222 + # -berok will link without error, but may produce a broken library.
7.14223 + allow_undefined_flag_F77='-berok'
7.14224 + # Determine the default libpath from the value encoded in an empty executable.
7.14225 + cat >conftest.$ac_ext <<_ACEOF
7.14226 + program main
7.14227 +
7.14228 + end
7.14229 +_ACEOF
7.14230 +rm -f conftest.$ac_objext conftest$ac_exeext
7.14231 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.14232 + (eval $ac_link) 2>conftest.er1
7.14233 + ac_status=$?
7.14234 + grep -v '^ *+' conftest.er1 >conftest.err
7.14235 + rm -f conftest.er1
7.14236 + cat conftest.err >&5
7.14237 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.14238 + (exit $ac_status); } &&
7.14239 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
7.14240 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.14241 + (eval $ac_try) 2>&5
7.14242 + ac_status=$?
7.14243 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.14244 + (exit $ac_status); }; } &&
7.14245 + { ac_try='test -s conftest$ac_exeext'
7.14246 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.14247 + (eval $ac_try) 2>&5
7.14248 + ac_status=$?
7.14249 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.14250 + (exit $ac_status); }; }; then
7.14251 +
7.14252 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7.14253 +}'`
7.14254 +# Check for a 64-bit object if we didn't find anything.
7.14255 +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; }
7.14256 +}'`; fi
7.14257 +else
7.14258 + echo "$as_me: failed program was:" >&5
7.14259 +sed 's/^/| /' conftest.$ac_ext >&5
7.14260 +
7.14261 +fi
7.14262 +rm -f conftest.err conftest.$ac_objext \
7.14263 + conftest$ac_exeext conftest.$ac_ext
7.14264 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7.14265 +
7.14266 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
7.14267 + 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"
7.14268 + else
7.14269 + if test "$host_cpu" = ia64; then
7.14270 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
7.14271 + allow_undefined_flag_F77="-z nodefs"
7.14272 + 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"
7.14273 + else
7.14274 + # Determine the default libpath from the value encoded in an empty executable.
7.14275 + cat >conftest.$ac_ext <<_ACEOF
7.14276 + program main
7.14277 +
7.14278 + end
7.14279 +_ACEOF
7.14280 +rm -f conftest.$ac_objext conftest$ac_exeext
7.14281 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.14282 + (eval $ac_link) 2>conftest.er1
7.14283 + ac_status=$?
7.14284 + grep -v '^ *+' conftest.er1 >conftest.err
7.14285 + rm -f conftest.er1
7.14286 + cat conftest.err >&5
7.14287 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.14288 + (exit $ac_status); } &&
7.14289 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
7.14290 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.14291 + (eval $ac_try) 2>&5
7.14292 + ac_status=$?
7.14293 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.14294 + (exit $ac_status); }; } &&
7.14295 + { ac_try='test -s conftest$ac_exeext'
7.14296 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.14297 + (eval $ac_try) 2>&5
7.14298 + ac_status=$?
7.14299 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.14300 + (exit $ac_status); }; }; then
7.14301 +
7.14302 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7.14303 +}'`
7.14304 +# Check for a 64-bit object if we didn't find anything.
7.14305 +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; }
7.14306 +}'`; fi
7.14307 +else
7.14308 + echo "$as_me: failed program was:" >&5
7.14309 +sed 's/^/| /' conftest.$ac_ext >&5
7.14310 +
7.14311 +fi
7.14312 +rm -f conftest.err conftest.$ac_objext \
7.14313 + conftest$ac_exeext conftest.$ac_ext
7.14314 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7.14315 +
7.14316 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
7.14317 + # Warning - without using the other run time loading flags,
7.14318 + # -berok will link without error, but may produce a broken library.
7.14319 + no_undefined_flag_F77=' ${wl}-bernotok'
7.14320 + allow_undefined_flag_F77=' ${wl}-berok'
7.14321 + # -bexpall does not export symbols beginning with underscore (_)
7.14322 + always_export_symbols_F77=yes
7.14323 + # Exported symbols can be pulled into shared objects from archives
7.14324 + whole_archive_flag_spec_F77=' '
7.14325 + archive_cmds_need_lc_F77=yes
7.14326 + # This is similar to how AIX traditionally builds its shared libraries.
7.14327 + 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'
7.14328 + fi
7.14329 + fi
7.14330 + ;;
7.14331 +
7.14332 + amigaos*)
7.14333 + 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)'
7.14334 + hardcode_libdir_flag_spec_F77='-L$libdir'
7.14335 + hardcode_minus_L_F77=yes
7.14336 + # see comment about different semantics on the GNU ld section
7.14337 + ld_shlibs_F77=no
7.14338 + ;;
7.14339 +
7.14340 + bsdi[45]*)
7.14341 + export_dynamic_flag_spec_F77=-rdynamic
7.14342 + ;;
7.14343 +
7.14344 + cygwin* | mingw* | pw32*)
7.14345 + # When not using gcc, we currently assume that we are using
7.14346 + # Microsoft Visual C++.
7.14347 + # hardcode_libdir_flag_spec is actually meaningless, as there is
7.14348 + # no search path for DLLs.
7.14349 + hardcode_libdir_flag_spec_F77=' '
7.14350 + allow_undefined_flag_F77=unsupported
7.14351 + # Tell ltmain to make .lib files, not .a files.
7.14352 + libext=lib
7.14353 + # Tell ltmain to make .dll files, not .so files.
7.14354 + shrext_cmds=".dll"
7.14355 + # FIXME: Setting linknames here is a bad hack.
7.14356 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7.14357 + # The linker will automatically build a .lib file if we build a DLL.
7.14358 + old_archive_From_new_cmds_F77='true'
7.14359 + # FIXME: Should let the user specify the lib program.
7.14360 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
7.14361 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
7.14362 + enable_shared_with_static_runtimes_F77=yes
7.14363 + ;;
7.14364 +
7.14365 + darwin* | rhapsody*)
7.14366 + case $host_os in
7.14367 + rhapsody* | darwin1.[012])
7.14368 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
7.14369 + ;;
7.14370 + *) # Darwin 1.3 on
7.14371 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7.14372 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7.14373 + else
7.14374 + case ${MACOSX_DEPLOYMENT_TARGET} in
7.14375 + 10.[012])
7.14376 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7.14377 + ;;
7.14378 + 10.*)
7.14379 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
7.14380 + ;;
7.14381 + esac
7.14382 + fi
7.14383 + ;;
7.14384 + esac
7.14385 + archive_cmds_need_lc_F77=no
7.14386 + hardcode_direct_F77=no
7.14387 + hardcode_automatic_F77=yes
7.14388 + hardcode_shlibpath_var_F77=unsupported
7.14389 + whole_archive_flag_spec_F77=''
7.14390 + link_all_deplibs_F77=yes
7.14391 + if test "$GCC" = yes ; then
7.14392 + output_verbose_link_cmd='echo'
7.14393 + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7.14394 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7.14395 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7.14396 + archive_expsym_cmds_F77='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}'
7.14397 + 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}'
7.14398 + else
7.14399 + case $cc_basename in
7.14400 + xlc*)
7.14401 + output_verbose_link_cmd='echo'
7.14402 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7.14403 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7.14404 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7.14405 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7.14406 + 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}'
7.14407 + ;;
7.14408 + *)
7.14409 + ld_shlibs_F77=no
7.14410 + ;;
7.14411 + esac
7.14412 + fi
7.14413 + ;;
7.14414 +
7.14415 + dgux*)
7.14416 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.14417 + hardcode_libdir_flag_spec_F77='-L$libdir'
7.14418 + hardcode_shlibpath_var_F77=no
7.14419 + ;;
7.14420 +
7.14421 + freebsd1*)
7.14422 + ld_shlibs_F77=no
7.14423 + ;;
7.14424 +
7.14425 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7.14426 + # support. Future versions do this automatically, but an explicit c++rt0.o
7.14427 + # does not break anything, and helps significantly (at the cost of a little
7.14428 + # extra space).
7.14429 + freebsd2.2*)
7.14430 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7.14431 + hardcode_libdir_flag_spec_F77='-R$libdir'
7.14432 + hardcode_direct_F77=yes
7.14433 + hardcode_shlibpath_var_F77=no
7.14434 + ;;
7.14435 +
7.14436 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7.14437 + freebsd2*)
7.14438 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7.14439 + hardcode_direct_F77=yes
7.14440 + hardcode_minus_L_F77=yes
7.14441 + hardcode_shlibpath_var_F77=no
7.14442 + ;;
7.14443 +
7.14444 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7.14445 + freebsd* | kfreebsd*-gnu | dragonfly*)
7.14446 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7.14447 + hardcode_libdir_flag_spec_F77='-R$libdir'
7.14448 + hardcode_direct_F77=yes
7.14449 + hardcode_shlibpath_var_F77=no
7.14450 + ;;
7.14451 +
7.14452 + hpux9*)
7.14453 + if test "$GCC" = yes; then
7.14454 + 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'
7.14455 + else
7.14456 + 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'
7.14457 + fi
7.14458 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
7.14459 + hardcode_libdir_separator_F77=:
7.14460 + hardcode_direct_F77=yes
7.14461 +
7.14462 + # hardcode_minus_L: Not really in the search PATH,
7.14463 + # but as the default location of the library.
7.14464 + hardcode_minus_L_F77=yes
7.14465 + export_dynamic_flag_spec_F77='${wl}-E'
7.14466 + ;;
7.14467 +
7.14468 + hpux10* | hpux11*)
7.14469 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7.14470 + case $host_cpu in
7.14471 + hppa*64*|ia64*)
7.14472 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.14473 + ;;
7.14474 + *)
7.14475 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7.14476 + ;;
7.14477 + esac
7.14478 + else
7.14479 + case $host_cpu in
7.14480 + hppa*64*|ia64*)
7.14481 + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7.14482 + ;;
7.14483 + *)
7.14484 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7.14485 + ;;
7.14486 + esac
7.14487 + fi
7.14488 + if test "$with_gnu_ld" = no; then
7.14489 + case $host_cpu in
7.14490 + hppa*64*)
7.14491 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
7.14492 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
7.14493 + hardcode_libdir_separator_F77=:
7.14494 + hardcode_direct_F77=no
7.14495 + hardcode_shlibpath_var_F77=no
7.14496 + ;;
7.14497 + ia64*)
7.14498 + hardcode_libdir_flag_spec_F77='-L$libdir'
7.14499 + hardcode_direct_F77=no
7.14500 + hardcode_shlibpath_var_F77=no
7.14501 +
7.14502 + # hardcode_minus_L: Not really in the search PATH,
7.14503 + # but as the default location of the library.
7.14504 + hardcode_minus_L_F77=yes
7.14505 + ;;
7.14506 + *)
7.14507 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
7.14508 + hardcode_libdir_separator_F77=:
7.14509 + hardcode_direct_F77=yes
7.14510 + export_dynamic_flag_spec_F77='${wl}-E'
7.14511 +
7.14512 + # hardcode_minus_L: Not really in the search PATH,
7.14513 + # but as the default location of the library.
7.14514 + hardcode_minus_L_F77=yes
7.14515 + ;;
7.14516 + esac
7.14517 + fi
7.14518 + ;;
7.14519 +
7.14520 + irix5* | irix6* | nonstopux*)
7.14521 + if test "$GCC" = yes; then
7.14522 + 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'
7.14523 + else
7.14524 + 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'
7.14525 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
7.14526 + fi
7.14527 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
7.14528 + hardcode_libdir_separator_F77=:
7.14529 + link_all_deplibs_F77=yes
7.14530 + ;;
7.14531 +
7.14532 + netbsd*)
7.14533 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7.14534 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7.14535 + else
7.14536 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7.14537 + fi
7.14538 + hardcode_libdir_flag_spec_F77='-R$libdir'
7.14539 + hardcode_direct_F77=yes
7.14540 + hardcode_shlibpath_var_F77=no
7.14541 + ;;
7.14542 +
7.14543 + newsos6)
7.14544 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.14545 + hardcode_direct_F77=yes
7.14546 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
7.14547 + hardcode_libdir_separator_F77=:
7.14548 + hardcode_shlibpath_var_F77=no
7.14549 + ;;
7.14550 +
7.14551 + openbsd*)
7.14552 + hardcode_direct_F77=yes
7.14553 + hardcode_shlibpath_var_F77=no
7.14554 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7.14555 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7.14556 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7.14557 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
7.14558 + export_dynamic_flag_spec_F77='${wl}-E'
7.14559 + else
7.14560 + case $host_os in
7.14561 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7.14562 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7.14563 + hardcode_libdir_flag_spec_F77='-R$libdir'
7.14564 + ;;
7.14565 + *)
7.14566 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7.14567 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
7.14568 + ;;
7.14569 + esac
7.14570 + fi
7.14571 + ;;
7.14572 +
7.14573 + os2*)
7.14574 + hardcode_libdir_flag_spec_F77='-L$libdir'
7.14575 + hardcode_minus_L_F77=yes
7.14576 + allow_undefined_flag_F77=unsupported
7.14577 + 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'
7.14578 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7.14579 + ;;
7.14580 +
7.14581 + osf3*)
7.14582 + if test "$GCC" = yes; then
7.14583 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
7.14584 + 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'
7.14585 + else
7.14586 + allow_undefined_flag_F77=' -expect_unresolved \*'
7.14587 + 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'
7.14588 + fi
7.14589 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
7.14590 + hardcode_libdir_separator_F77=:
7.14591 + ;;
7.14592 +
7.14593 + osf4* | osf5*) # as osf3* with the addition of -msym flag
7.14594 + if test "$GCC" = yes; then
7.14595 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
7.14596 + 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'
7.14597 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
7.14598 + else
7.14599 + allow_undefined_flag_F77=' -expect_unresolved \*'
7.14600 + 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'
7.14601 + 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~
7.14602 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7.14603 +
7.14604 + # Both c and cxx compiler support -rpath directly
7.14605 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
7.14606 + fi
7.14607 + hardcode_libdir_separator_F77=:
7.14608 + ;;
7.14609 +
7.14610 + sco3.2v5*)
7.14611 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.14612 + hardcode_shlibpath_var_F77=no
7.14613 + export_dynamic_flag_spec_F77='${wl}-Bexport'
7.14614 + runpath_var=LD_RUN_PATH
7.14615 + hardcode_runpath_var=yes
7.14616 + ;;
7.14617 +
7.14618 + solaris*)
7.14619 + no_undefined_flag_F77=' -z text'
7.14620 + if test "$GCC" = yes; then
7.14621 + wlarc='${wl}'
7.14622 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.14623 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.14624 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7.14625 + else
7.14626 + wlarc=''
7.14627 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.14628 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.14629 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7.14630 + fi
7.14631 + hardcode_libdir_flag_spec_F77='-R$libdir'
7.14632 + hardcode_shlibpath_var_F77=no
7.14633 + case $host_os in
7.14634 + solaris2.[0-5] | solaris2.[0-5].*) ;;
7.14635 + *)
7.14636 + # The compiler driver will combine linker options so we
7.14637 + # cannot just pass the convience library names through
7.14638 + # without $wl, iff we do not link with $LD.
7.14639 + # Luckily, gcc supports the same syntax we need for Sun Studio.
7.14640 + # Supported since Solaris 2.6 (maybe 2.5.1?)
7.14641 + case $wlarc in
7.14642 + '')
7.14643 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
7.14644 + *)
7.14645 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7.14646 + esac ;;
7.14647 + esac
7.14648 + link_all_deplibs_F77=yes
7.14649 + ;;
7.14650 +
7.14651 + sunos4*)
7.14652 + if test "x$host_vendor" = xsequent; then
7.14653 + # Use $CC to link under sequent, because it throws in some extra .o
7.14654 + # files that make .init and .fini sections work.
7.14655 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7.14656 + else
7.14657 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7.14658 + fi
7.14659 + hardcode_libdir_flag_spec_F77='-L$libdir'
7.14660 + hardcode_direct_F77=yes
7.14661 + hardcode_minus_L_F77=yes
7.14662 + hardcode_shlibpath_var_F77=no
7.14663 + ;;
7.14664 +
7.14665 + sysv4)
7.14666 + case $host_vendor in
7.14667 + sni)
7.14668 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.14669 + hardcode_direct_F77=yes # is this really true???
7.14670 + ;;
7.14671 + siemens)
7.14672 + ## LD is ld it makes a PLAMLIB
7.14673 + ## CC just makes a GrossModule.
7.14674 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7.14675 + reload_cmds_F77='$CC -r -o $output$reload_objs'
7.14676 + hardcode_direct_F77=no
7.14677 + ;;
7.14678 + motorola)
7.14679 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.14680 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
7.14681 + ;;
7.14682 + esac
7.14683 + runpath_var='LD_RUN_PATH'
7.14684 + hardcode_shlibpath_var_F77=no
7.14685 + ;;
7.14686 +
7.14687 + sysv4.3*)
7.14688 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.14689 + hardcode_shlibpath_var_F77=no
7.14690 + export_dynamic_flag_spec_F77='-Bexport'
7.14691 + ;;
7.14692 +
7.14693 + sysv4*MP*)
7.14694 + if test -d /usr/nec; then
7.14695 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.14696 + hardcode_shlibpath_var_F77=no
7.14697 + runpath_var=LD_RUN_PATH
7.14698 + hardcode_runpath_var=yes
7.14699 + ld_shlibs_F77=yes
7.14700 + fi
7.14701 + ;;
7.14702 +
7.14703 + sysv4.2uw2*)
7.14704 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7.14705 + hardcode_direct_F77=yes
7.14706 + hardcode_minus_L_F77=no
7.14707 + hardcode_shlibpath_var_F77=no
7.14708 + hardcode_runpath_var=yes
7.14709 + runpath_var=LD_RUN_PATH
7.14710 + ;;
7.14711 +
7.14712 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7.14713 + no_undefined_flag_F77='${wl}-z ${wl}text'
7.14714 + if test "$GCC" = yes; then
7.14715 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.14716 + else
7.14717 + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.14718 + fi
7.14719 + runpath_var='LD_RUN_PATH'
7.14720 + hardcode_shlibpath_var_F77=no
7.14721 + ;;
7.14722 +
7.14723 + sysv5*)
7.14724 + no_undefined_flag_F77=' -z text'
7.14725 + # $CC -shared without GNU ld will not create a library from C++
7.14726 + # object files and a static libstdc++, better avoid it by now
7.14727 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.14728 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.14729 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7.14730 + hardcode_libdir_flag_spec_F77=
7.14731 + hardcode_shlibpath_var_F77=no
7.14732 + runpath_var='LD_RUN_PATH'
7.14733 + ;;
7.14734 +
7.14735 + uts4*)
7.14736 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.14737 + hardcode_libdir_flag_spec_F77='-L$libdir'
7.14738 + hardcode_shlibpath_var_F77=no
7.14739 + ;;
7.14740 +
7.14741 + *)
7.14742 + ld_shlibs_F77=no
7.14743 + ;;
7.14744 + esac
7.14745 + fi
7.14746 +
7.14747 +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
7.14748 +echo "${ECHO_T}$ld_shlibs_F77" >&6
7.14749 +test "$ld_shlibs_F77" = no && can_build_shared=no
7.14750 +
7.14751 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7.14752 +if test "$GCC" = yes; then
7.14753 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7.14754 +fi
7.14755 +
7.14756 +#
7.14757 +# Do we need to explicitly link libc?
7.14758 +#
7.14759 +case "x$archive_cmds_need_lc_F77" in
7.14760 +x|xyes)
7.14761 + # Assume -lc should be added
7.14762 + archive_cmds_need_lc_F77=yes
7.14763 +
7.14764 + if test "$enable_shared" = yes && test "$GCC" = yes; then
7.14765 + case $archive_cmds_F77 in
7.14766 + *'~'*)
7.14767 + # FIXME: we may have to deal with multi-command sequences.
7.14768 + ;;
7.14769 + '$CC '*)
7.14770 + # Test whether the compiler implicitly links with -lc since on some
7.14771 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
7.14772 + # to ld, don't add -lc before -lgcc.
7.14773 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7.14774 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7.14775 + $rm conftest*
7.14776 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.14777 +
7.14778 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.14779 + (eval $ac_compile) 2>&5
7.14780 + ac_status=$?
7.14781 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.14782 + (exit $ac_status); } 2>conftest.err; then
7.14783 + soname=conftest
7.14784 + lib=conftest
7.14785 + libobjs=conftest.$ac_objext
7.14786 + deplibs=
7.14787 + wl=$lt_prog_compiler_wl_F77
7.14788 + compiler_flags=-v
7.14789 + linker_flags=-v
7.14790 + verstring=
7.14791 + output_objdir=.
7.14792 + libname=conftest
7.14793 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
7.14794 + allow_undefined_flag_F77=
7.14795 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7.14796 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7.14797 + ac_status=$?
7.14798 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.14799 + (exit $ac_status); }
7.14800 + then
7.14801 + archive_cmds_need_lc_F77=no
7.14802 + else
7.14803 + archive_cmds_need_lc_F77=yes
7.14804 + fi
7.14805 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
7.14806 + else
7.14807 + cat conftest.err 1>&5
7.14808 + fi
7.14809 + $rm conftest*
7.14810 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
7.14811 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
7.14812 + ;;
7.14813 + esac
7.14814 + fi
7.14815 + ;;
7.14816 +esac
7.14817 +
7.14818 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7.14819 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7.14820 +library_names_spec=
7.14821 +libname_spec='lib$name'
7.14822 +soname_spec=
7.14823 +shrext_cmds=".so"
7.14824 +postinstall_cmds=
7.14825 +postuninstall_cmds=
7.14826 +finish_cmds=
7.14827 +finish_eval=
7.14828 +shlibpath_var=
7.14829 +shlibpath_overrides_runpath=unknown
7.14830 +version_type=none
7.14831 +dynamic_linker="$host_os ld.so"
7.14832 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
7.14833 +if test "$GCC" = yes; then
7.14834 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7.14835 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7.14836 + # if the path contains ";" then we assume it to be the separator
7.14837 + # otherwise default to the standard path separator (i.e. ":") - it is
7.14838 + # assumed that no part of a normal pathname contains ";" but that should
7.14839 + # okay in the real world where ";" in dirpaths is itself problematic.
7.14840 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7.14841 + else
7.14842 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7.14843 + fi
7.14844 +else
7.14845 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7.14846 +fi
7.14847 +need_lib_prefix=unknown
7.14848 +hardcode_into_libs=no
7.14849 +
7.14850 +# when you set need_version to no, make sure it does not cause -set_version
7.14851 +# flags to be left without arguments
7.14852 +need_version=unknown
7.14853 +
7.14854 +case $host_os in
7.14855 +aix3*)
7.14856 + version_type=linux
7.14857 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7.14858 + shlibpath_var=LIBPATH
7.14859 +
7.14860 + # AIX 3 has no versioning support, so we append a major version to the name.
7.14861 + soname_spec='${libname}${release}${shared_ext}$major'
7.14862 + ;;
7.14863 +
7.14864 +aix4* | aix5*)
7.14865 + version_type=linux
7.14866 + need_lib_prefix=no
7.14867 + need_version=no
7.14868 + hardcode_into_libs=yes
7.14869 + if test "$host_cpu" = ia64; then
7.14870 + # AIX 5 supports IA64
7.14871 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7.14872 + shlibpath_var=LD_LIBRARY_PATH
7.14873 + else
7.14874 + # With GCC up to 2.95.x, collect2 would create an import file
7.14875 + # for dependence libraries. The import file would start with
7.14876 + # the line `#! .'. This would cause the generated library to
7.14877 + # depend on `.', always an invalid library. This was fixed in
7.14878 + # development snapshots of GCC prior to 3.0.
7.14879 + case $host_os in
7.14880 + aix4 | aix4.[01] | aix4.[01].*)
7.14881 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7.14882 + echo ' yes '
7.14883 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7.14884 + :
7.14885 + else
7.14886 + can_build_shared=no
7.14887 + fi
7.14888 + ;;
7.14889 + esac
7.14890 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7.14891 + # soname into executable. Probably we can add versioning support to
7.14892 + # collect2, so additional links can be useful in future.
7.14893 + if test "$aix_use_runtimelinking" = yes; then
7.14894 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7.14895 + # instead of lib<name>.a to let people know that these are not
7.14896 + # typical AIX shared libraries.
7.14897 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.14898 + else
7.14899 + # We preserve .a as extension for shared libraries through AIX4.2
7.14900 + # and later when we are not doing run time linking.
7.14901 + library_names_spec='${libname}${release}.a $libname.a'
7.14902 + soname_spec='${libname}${release}${shared_ext}$major'
7.14903 + fi
7.14904 + shlibpath_var=LIBPATH
7.14905 + fi
7.14906 + ;;
7.14907 +
7.14908 +amigaos*)
7.14909 + library_names_spec='$libname.ixlibrary $libname.a'
7.14910 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
7.14911 + 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'
7.14912 + ;;
7.14913 +
7.14914 +beos*)
7.14915 + library_names_spec='${libname}${shared_ext}'
7.14916 + dynamic_linker="$host_os ld.so"
7.14917 + shlibpath_var=LIBRARY_PATH
7.14918 + ;;
7.14919 +
7.14920 +bsdi[45]*)
7.14921 + version_type=linux
7.14922 + need_version=no
7.14923 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.14924 + soname_spec='${libname}${release}${shared_ext}$major'
7.14925 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7.14926 + shlibpath_var=LD_LIBRARY_PATH
7.14927 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7.14928 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7.14929 + # the default ld.so.conf also contains /usr/contrib/lib and
7.14930 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7.14931 + # libtool to hard-code these into programs
7.14932 + ;;
7.14933 +
7.14934 +cygwin* | mingw* | pw32*)
7.14935 + version_type=windows
7.14936 + shrext_cmds=".dll"
7.14937 + need_version=no
7.14938 + need_lib_prefix=no
7.14939 +
7.14940 + case $GCC,$host_os in
7.14941 + yes,cygwin* | yes,mingw* | yes,pw32*)
7.14942 + library_names_spec='$libname.dll.a'
7.14943 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
7.14944 + postinstall_cmds='base_file=`basename \${file}`~
7.14945 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7.14946 + dldir=$destdir/`dirname \$dlpath`~
7.14947 + test -d \$dldir || mkdir -p \$dldir~
7.14948 + $install_prog $dir/$dlname \$dldir/$dlname~
7.14949 + chmod a+x \$dldir/$dlname'
7.14950 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7.14951 + dlpath=$dir/\$dldll~
7.14952 + $rm \$dlpath'
7.14953 + shlibpath_overrides_runpath=yes
7.14954 +
7.14955 + case $host_os in
7.14956 + cygwin*)
7.14957 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7.14958 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.14959 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
7.14960 + ;;
7.14961 + mingw*)
7.14962 + # MinGW DLLs use traditional 'lib' prefix
7.14963 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.14964 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7.14965 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7.14966 + # It is most probably a Windows format PATH printed by
7.14967 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
7.14968 + # path with ; separators, and with drive letters. We can handle the
7.14969 + # drive letters (cygwin fileutils understands them), so leave them,
7.14970 + # especially as we might pass files found there to a mingw objdump,
7.14971 + # which wouldn't understand a cygwinified path. Ahh.
7.14972 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7.14973 + else
7.14974 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7.14975 + fi
7.14976 + ;;
7.14977 + pw32*)
7.14978 + # pw32 DLLs use 'pw' prefix rather than 'lib'
7.14979 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.14980 + ;;
7.14981 + esac
7.14982 + ;;
7.14983 +
7.14984 + *)
7.14985 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7.14986 + ;;
7.14987 + esac
7.14988 + dynamic_linker='Win32 ld.exe'
7.14989 + # FIXME: first we should search . and the directory the executable is in
7.14990 + shlibpath_var=PATH
7.14991 + ;;
7.14992 +
7.14993 +darwin* | rhapsody*)
7.14994 + dynamic_linker="$host_os dyld"
7.14995 + version_type=darwin
7.14996 + need_lib_prefix=no
7.14997 + need_version=no
7.14998 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7.14999 + soname_spec='${libname}${release}${major}$shared_ext'
7.15000 + shlibpath_overrides_runpath=yes
7.15001 + shlibpath_var=DYLD_LIBRARY_PATH
7.15002 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7.15003 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7.15004 + if test "$GCC" = yes; then
7.15005 + 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"`
7.15006 + else
7.15007 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7.15008 + fi
7.15009 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7.15010 + ;;
7.15011 +
7.15012 +dgux*)
7.15013 + version_type=linux
7.15014 + need_lib_prefix=no
7.15015 + need_version=no
7.15016 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7.15017 + soname_spec='${libname}${release}${shared_ext}$major'
7.15018 + shlibpath_var=LD_LIBRARY_PATH
7.15019 + ;;
7.15020 +
7.15021 +freebsd1*)
7.15022 + dynamic_linker=no
7.15023 + ;;
7.15024 +
7.15025 +kfreebsd*-gnu)
7.15026 + version_type=linux
7.15027 + need_lib_prefix=no
7.15028 + need_version=no
7.15029 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.15030 + soname_spec='${libname}${release}${shared_ext}$major'
7.15031 + shlibpath_var=LD_LIBRARY_PATH
7.15032 + shlibpath_overrides_runpath=no
7.15033 + hardcode_into_libs=yes
7.15034 + dynamic_linker='GNU ld.so'
7.15035 + ;;
7.15036 +
7.15037 +freebsd* | dragonfly*)
7.15038 + # DragonFly does not have aout. When/if they implement a new
7.15039 + # versioning mechanism, adjust this.
7.15040 + if test -x /usr/bin/objformat; then
7.15041 + objformat=`/usr/bin/objformat`
7.15042 + else
7.15043 + case $host_os in
7.15044 + freebsd[123]*) objformat=aout ;;
7.15045 + *) objformat=elf ;;
7.15046 + esac
7.15047 + fi
7.15048 + version_type=freebsd-$objformat
7.15049 + case $version_type in
7.15050 + freebsd-elf*)
7.15051 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7.15052 + need_version=no
7.15053 + need_lib_prefix=no
7.15054 + ;;
7.15055 + freebsd-*)
7.15056 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7.15057 + need_version=yes
7.15058 + ;;
7.15059 + esac
7.15060 + shlibpath_var=LD_LIBRARY_PATH
7.15061 + case $host_os in
7.15062 + freebsd2*)
7.15063 + shlibpath_overrides_runpath=yes
7.15064 + ;;
7.15065 + freebsd3.[01]* | freebsdelf3.[01]*)
7.15066 + shlibpath_overrides_runpath=yes
7.15067 + hardcode_into_libs=yes
7.15068 + ;;
7.15069 + *) # from 3.2 on
7.15070 + shlibpath_overrides_runpath=no
7.15071 + hardcode_into_libs=yes
7.15072 + ;;
7.15073 + esac
7.15074 + ;;
7.15075 +
7.15076 +gnu*)
7.15077 + version_type=linux
7.15078 + need_lib_prefix=no
7.15079 + need_version=no
7.15080 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7.15081 + soname_spec='${libname}${release}${shared_ext}$major'
7.15082 + shlibpath_var=LD_LIBRARY_PATH
7.15083 + hardcode_into_libs=yes
7.15084 + ;;
7.15085 +
7.15086 +hpux9* | hpux10* | hpux11*)
7.15087 + # Give a soname corresponding to the major version so that dld.sl refuses to
7.15088 + # link against other versions.
7.15089 + version_type=sunos
7.15090 + need_lib_prefix=no
7.15091 + need_version=no
7.15092 + case $host_cpu in
7.15093 + ia64*)
7.15094 + shrext_cmds='.so'
7.15095 + hardcode_into_libs=yes
7.15096 + dynamic_linker="$host_os dld.so"
7.15097 + shlibpath_var=LD_LIBRARY_PATH
7.15098 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7.15099 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.15100 + soname_spec='${libname}${release}${shared_ext}$major'
7.15101 + if test "X$HPUX_IA64_MODE" = X32; then
7.15102 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7.15103 + else
7.15104 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7.15105 + fi
7.15106 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7.15107 + ;;
7.15108 + hppa*64*)
7.15109 + shrext_cmds='.sl'
7.15110 + hardcode_into_libs=yes
7.15111 + dynamic_linker="$host_os dld.sl"
7.15112 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7.15113 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7.15114 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.15115 + soname_spec='${libname}${release}${shared_ext}$major'
7.15116 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7.15117 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7.15118 + ;;
7.15119 + *)
7.15120 + shrext_cmds='.sl'
7.15121 + dynamic_linker="$host_os dld.sl"
7.15122 + shlibpath_var=SHLIB_PATH
7.15123 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7.15124 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.15125 + soname_spec='${libname}${release}${shared_ext}$major'
7.15126 + ;;
7.15127 + esac
7.15128 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
7.15129 + postinstall_cmds='chmod 555 $lib'
7.15130 + ;;
7.15131 +
7.15132 +irix5* | irix6* | nonstopux*)
7.15133 + case $host_os in
7.15134 + nonstopux*) version_type=nonstopux ;;
7.15135 + *)
7.15136 + if test "$lt_cv_prog_gnu_ld" = yes; then
7.15137 + version_type=linux
7.15138 + else
7.15139 + version_type=irix
7.15140 + fi ;;
7.15141 + esac
7.15142 + need_lib_prefix=no
7.15143 + need_version=no
7.15144 + soname_spec='${libname}${release}${shared_ext}$major'
7.15145 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7.15146 + case $host_os in
7.15147 + irix5* | nonstopux*)
7.15148 + libsuff= shlibsuff=
7.15149 + ;;
7.15150 + *)
7.15151 + case $LD in # libtool.m4 will add one of these switches to LD
7.15152 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7.15153 + libsuff= shlibsuff= libmagic=32-bit;;
7.15154 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7.15155 + libsuff=32 shlibsuff=N32 libmagic=N32;;
7.15156 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7.15157 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
7.15158 + *) libsuff= shlibsuff= libmagic=never-match;;
7.15159 + esac
7.15160 + ;;
7.15161 + esac
7.15162 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7.15163 + shlibpath_overrides_runpath=no
7.15164 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7.15165 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7.15166 + hardcode_into_libs=yes
7.15167 + ;;
7.15168 +
7.15169 +# No shared lib support for Linux oldld, aout, or coff.
7.15170 +linux*oldld* | linux*aout* | linux*coff*)
7.15171 + dynamic_linker=no
7.15172 + ;;
7.15173 +
7.15174 +# This must be Linux ELF.
7.15175 +linux*)
7.15176 + version_type=linux
7.15177 + need_lib_prefix=no
7.15178 + need_version=no
7.15179 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.15180 + soname_spec='${libname}${release}${shared_ext}$major'
7.15181 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7.15182 + shlibpath_var=LD_LIBRARY_PATH
7.15183 + shlibpath_overrides_runpath=no
7.15184 + # This implies no fast_install, which is unacceptable.
7.15185 + # Some rework will be needed to allow for fast_install
7.15186 + # before this can be enabled.
7.15187 + hardcode_into_libs=yes
7.15188 +
7.15189 + # Append ld.so.conf contents to the search path
7.15190 + if test -f /etc/ld.so.conf; then
7.15191 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
7.15192 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7.15193 + fi
7.15194 +
7.15195 + # We used to test for /lib/ld.so.1 and disable shared libraries on
7.15196 + # powerpc, because MkLinux only supported shared libraries with the
7.15197 + # GNU dynamic linker. Since this was broken with cross compilers,
7.15198 + # most powerpc-linux boxes support dynamic linking these days and
7.15199 + # people can always --disable-shared, the test was removed, and we
7.15200 + # assume the GNU/Linux dynamic linker is in use.
7.15201 + dynamic_linker='GNU/Linux ld.so'
7.15202 + ;;
7.15203 +
7.15204 +knetbsd*-gnu)
7.15205 + version_type=linux
7.15206 + need_lib_prefix=no
7.15207 + need_version=no
7.15208 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.15209 + soname_spec='${libname}${release}${shared_ext}$major'
7.15210 + shlibpath_var=LD_LIBRARY_PATH
7.15211 + shlibpath_overrides_runpath=no
7.15212 + hardcode_into_libs=yes
7.15213 + dynamic_linker='GNU ld.so'
7.15214 + ;;
7.15215 +
7.15216 +netbsd*)
7.15217 + version_type=sunos
7.15218 + need_lib_prefix=no
7.15219 + need_version=no
7.15220 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7.15221 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.15222 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7.15223 + dynamic_linker='NetBSD (a.out) ld.so'
7.15224 + else
7.15225 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.15226 + soname_spec='${libname}${release}${shared_ext}$major'
7.15227 + dynamic_linker='NetBSD ld.elf_so'
7.15228 + fi
7.15229 + shlibpath_var=LD_LIBRARY_PATH
7.15230 + shlibpath_overrides_runpath=yes
7.15231 + hardcode_into_libs=yes
7.15232 + ;;
7.15233 +
7.15234 +newsos6)
7.15235 + version_type=linux
7.15236 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.15237 + shlibpath_var=LD_LIBRARY_PATH
7.15238 + shlibpath_overrides_runpath=yes
7.15239 + ;;
7.15240 +
7.15241 +nto-qnx*)
7.15242 + version_type=linux
7.15243 + need_lib_prefix=no
7.15244 + need_version=no
7.15245 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.15246 + soname_spec='${libname}${release}${shared_ext}$major'
7.15247 + shlibpath_var=LD_LIBRARY_PATH
7.15248 + shlibpath_overrides_runpath=yes
7.15249 + ;;
7.15250 +
7.15251 +openbsd*)
7.15252 + version_type=sunos
7.15253 + need_lib_prefix=no
7.15254 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
7.15255 + case $host_os in
7.15256 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
7.15257 + *) need_version=no ;;
7.15258 + esac
7.15259 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.15260 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7.15261 + shlibpath_var=LD_LIBRARY_PATH
7.15262 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7.15263 + case $host_os in
7.15264 + openbsd2.[89] | openbsd2.[89].*)
7.15265 + shlibpath_overrides_runpath=no
7.15266 + ;;
7.15267 + *)
7.15268 + shlibpath_overrides_runpath=yes
7.15269 + ;;
7.15270 + esac
7.15271 + else
7.15272 + shlibpath_overrides_runpath=yes
7.15273 + fi
7.15274 + ;;
7.15275 +
7.15276 +os2*)
7.15277 + libname_spec='$name'
7.15278 + shrext_cmds=".dll"
7.15279 + need_lib_prefix=no
7.15280 + library_names_spec='$libname${shared_ext} $libname.a'
7.15281 + dynamic_linker='OS/2 ld.exe'
7.15282 + shlibpath_var=LIBPATH
7.15283 + ;;
7.15284 +
7.15285 +osf3* | osf4* | osf5*)
7.15286 + version_type=osf
7.15287 + need_lib_prefix=no
7.15288 + need_version=no
7.15289 + soname_spec='${libname}${release}${shared_ext}$major'
7.15290 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.15291 + shlibpath_var=LD_LIBRARY_PATH
7.15292 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7.15293 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7.15294 + ;;
7.15295 +
7.15296 +sco3.2v5*)
7.15297 + version_type=osf
7.15298 + soname_spec='${libname}${release}${shared_ext}$major'
7.15299 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.15300 + shlibpath_var=LD_LIBRARY_PATH
7.15301 + ;;
7.15302 +
7.15303 +solaris*)
7.15304 + version_type=linux
7.15305 + need_lib_prefix=no
7.15306 + need_version=no
7.15307 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.15308 + soname_spec='${libname}${release}${shared_ext}$major'
7.15309 + shlibpath_var=LD_LIBRARY_PATH
7.15310 + shlibpath_overrides_runpath=yes
7.15311 + hardcode_into_libs=yes
7.15312 + # ldd complains unless libraries are executable
7.15313 + postinstall_cmds='chmod +x $lib'
7.15314 + ;;
7.15315 +
7.15316 +sunos4*)
7.15317 + version_type=sunos
7.15318 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.15319 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7.15320 + shlibpath_var=LD_LIBRARY_PATH
7.15321 + shlibpath_overrides_runpath=yes
7.15322 + if test "$with_gnu_ld" = yes; then
7.15323 + need_lib_prefix=no
7.15324 + fi
7.15325 + need_version=yes
7.15326 + ;;
7.15327 +
7.15328 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7.15329 + version_type=linux
7.15330 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.15331 + soname_spec='${libname}${release}${shared_ext}$major'
7.15332 + shlibpath_var=LD_LIBRARY_PATH
7.15333 + case $host_vendor in
7.15334 + sni)
7.15335 + shlibpath_overrides_runpath=no
7.15336 + need_lib_prefix=no
7.15337 + export_dynamic_flag_spec='${wl}-Blargedynsym'
7.15338 + runpath_var=LD_RUN_PATH
7.15339 + ;;
7.15340 + siemens)
7.15341 + need_lib_prefix=no
7.15342 + ;;
7.15343 + motorola)
7.15344 + need_lib_prefix=no
7.15345 + need_version=no
7.15346 + shlibpath_overrides_runpath=no
7.15347 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7.15348 + ;;
7.15349 + esac
7.15350 + ;;
7.15351 +
7.15352 +sysv4*MP*)
7.15353 + if test -d /usr/nec ;then
7.15354 + version_type=linux
7.15355 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
7.15356 + soname_spec='$libname${shared_ext}.$major'
7.15357 + shlibpath_var=LD_LIBRARY_PATH
7.15358 + fi
7.15359 + ;;
7.15360 +
7.15361 +uts4*)
7.15362 + version_type=linux
7.15363 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.15364 + soname_spec='${libname}${release}${shared_ext}$major'
7.15365 + shlibpath_var=LD_LIBRARY_PATH
7.15366 + ;;
7.15367 +
7.15368 +*)
7.15369 + dynamic_linker=no
7.15370 + ;;
7.15371 +esac
7.15372 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7.15373 +echo "${ECHO_T}$dynamic_linker" >&6
7.15374 +test "$dynamic_linker" = no && can_build_shared=no
7.15375 +
7.15376 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7.15377 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7.15378 +hardcode_action_F77=
7.15379 +if test -n "$hardcode_libdir_flag_spec_F77" || \
7.15380 + test -n "$runpath_var_F77" || \
7.15381 + test "X$hardcode_automatic_F77" = "Xyes" ; then
7.15382 +
7.15383 + # We can hardcode non-existant directories.
7.15384 + if test "$hardcode_direct_F77" != no &&
7.15385 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
7.15386 + # have to relink, otherwise we might link with an installed library
7.15387 + # when we should be linking with a yet-to-be-installed one
7.15388 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
7.15389 + test "$hardcode_minus_L_F77" != no; then
7.15390 + # Linking always hardcodes the temporary library directory.
7.15391 + hardcode_action_F77=relink
7.15392 + else
7.15393 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
7.15394 + hardcode_action_F77=immediate
7.15395 + fi
7.15396 +else
7.15397 + # We cannot hardcode anything, or else we can only hardcode existing
7.15398 + # directories.
7.15399 + hardcode_action_F77=unsupported
7.15400 +fi
7.15401 +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
7.15402 +echo "${ECHO_T}$hardcode_action_F77" >&6
7.15403 +
7.15404 +if test "$hardcode_action_F77" = relink; then
7.15405 + # Fast installation is not supported
7.15406 + enable_fast_install=no
7.15407 +elif test "$shlibpath_overrides_runpath" = yes ||
7.15408 + test "$enable_shared" = no; then
7.15409 + # Fast installation is not necessary
7.15410 + enable_fast_install=needless
7.15411 +fi
7.15412 +
7.15413 +striplib=
7.15414 +old_striplib=
7.15415 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7.15416 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7.15417 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7.15418 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7.15419 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7.15420 + echo "$as_me:$LINENO: result: yes" >&5
7.15421 +echo "${ECHO_T}yes" >&6
7.15422 +else
7.15423 +# FIXME - insert some real tests, host_os isn't really good enough
7.15424 + case $host_os in
7.15425 + darwin*)
7.15426 + if test -n "$STRIP" ; then
7.15427 + striplib="$STRIP -x"
7.15428 + echo "$as_me:$LINENO: result: yes" >&5
7.15429 +echo "${ECHO_T}yes" >&6
7.15430 + else
7.15431 + echo "$as_me:$LINENO: result: no" >&5
7.15432 +echo "${ECHO_T}no" >&6
7.15433 +fi
7.15434 + ;;
7.15435 + *)
7.15436 + echo "$as_me:$LINENO: result: no" >&5
7.15437 +echo "${ECHO_T}no" >&6
7.15438 + ;;
7.15439 + esac
7.15440 +fi
7.15441 +
7.15442 +
7.15443 +
7.15444 +# The else clause should only fire when bootstrapping the
7.15445 +# libtool distribution, otherwise you forgot to ship ltmain.sh
7.15446 +# with your package, and you will get complaints that there are
7.15447 +# no rules to generate ltmain.sh.
7.15448 +if test -f "$ltmain"; then
7.15449 + # See if we are running on zsh, and set the options which allow our commands through
7.15450 + # without removal of \ escapes.
7.15451 + if test -n "${ZSH_VERSION+set}" ; then
7.15452 + setopt NO_GLOB_SUBST
7.15453 + fi
7.15454 + # Now quote all the things that may contain metacharacters while being
7.15455 + # careful not to overquote the AC_SUBSTed values. We take copies of the
7.15456 + # variables and quote the copies for generation of the libtool script.
7.15457 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
7.15458 + SED SHELL STRIP \
7.15459 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
7.15460 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
7.15461 + deplibs_check_method reload_flag reload_cmds need_locks \
7.15462 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
7.15463 + lt_cv_sys_global_symbol_to_c_name_address \
7.15464 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
7.15465 + old_postinstall_cmds old_postuninstall_cmds \
7.15466 + compiler_F77 \
7.15467 + CC_F77 \
7.15468 + LD_F77 \
7.15469 + lt_prog_compiler_wl_F77 \
7.15470 + lt_prog_compiler_pic_F77 \
7.15471 + lt_prog_compiler_static_F77 \
7.15472 + lt_prog_compiler_no_builtin_flag_F77 \
7.15473 + export_dynamic_flag_spec_F77 \
7.15474 + thread_safe_flag_spec_F77 \
7.15475 + whole_archive_flag_spec_F77 \
7.15476 + enable_shared_with_static_runtimes_F77 \
7.15477 + old_archive_cmds_F77 \
7.15478 + old_archive_from_new_cmds_F77 \
7.15479 + predep_objects_F77 \
7.15480 + postdep_objects_F77 \
7.15481 + predeps_F77 \
7.15482 + postdeps_F77 \
7.15483 + compiler_lib_search_path_F77 \
7.15484 + archive_cmds_F77 \
7.15485 + archive_expsym_cmds_F77 \
7.15486 + postinstall_cmds_F77 \
7.15487 + postuninstall_cmds_F77 \
7.15488 + old_archive_from_expsyms_cmds_F77 \
7.15489 + allow_undefined_flag_F77 \
7.15490 + no_undefined_flag_F77 \
7.15491 + export_symbols_cmds_F77 \
7.15492 + hardcode_libdir_flag_spec_F77 \
7.15493 + hardcode_libdir_flag_spec_ld_F77 \
7.15494 + hardcode_libdir_separator_F77 \
7.15495 + hardcode_automatic_F77 \
7.15496 + module_cmds_F77 \
7.15497 + module_expsym_cmds_F77 \
7.15498 + lt_cv_prog_compiler_c_o_F77 \
7.15499 + exclude_expsyms_F77 \
7.15500 + include_expsyms_F77; do
7.15501 +
7.15502 + case $var in
7.15503 + old_archive_cmds_F77 | \
7.15504 + old_archive_from_new_cmds_F77 | \
7.15505 + archive_cmds_F77 | \
7.15506 + archive_expsym_cmds_F77 | \
7.15507 + module_cmds_F77 | \
7.15508 + module_expsym_cmds_F77 | \
7.15509 + old_archive_from_expsyms_cmds_F77 | \
7.15510 + export_symbols_cmds_F77 | \
7.15511 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
7.15512 + postinstall_cmds | postuninstall_cmds | \
7.15513 + old_postinstall_cmds | old_postuninstall_cmds | \
7.15514 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
7.15515 + # Double-quote double-evaled strings.
7.15516 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
7.15517 + ;;
7.15518 + *)
7.15519 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
7.15520 + ;;
7.15521 + esac
7.15522 + done
7.15523 +
7.15524 + case $lt_echo in
7.15525 + *'\$0 --fallback-echo"')
7.15526 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
7.15527 + ;;
7.15528 + esac
7.15529 +
7.15530 +cfgfile="$ofile"
7.15531 +
7.15532 + cat <<__EOF__ >> "$cfgfile"
7.15533 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
7.15534 +
7.15535 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7.15536 +
7.15537 +# Shell to use when invoking shell scripts.
7.15538 +SHELL=$lt_SHELL
7.15539 +
7.15540 +# Whether or not to build shared libraries.
7.15541 +build_libtool_libs=$enable_shared
7.15542 +
7.15543 +# Whether or not to build static libraries.
7.15544 +build_old_libs=$enable_static
7.15545 +
7.15546 +# Whether or not to add -lc for building shared libraries.
7.15547 +build_libtool_need_lc=$archive_cmds_need_lc_F77
7.15548 +
7.15549 +# Whether or not to disallow shared libs when runtime libs are static
7.15550 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
7.15551 +
7.15552 +# Whether or not to optimize for fast installation.
7.15553 +fast_install=$enable_fast_install
7.15554 +
7.15555 +# The host system.
7.15556 +host_alias=$host_alias
7.15557 +host=$host
7.15558 +host_os=$host_os
7.15559 +
7.15560 +# The build system.
7.15561 +build_alias=$build_alias
7.15562 +build=$build
7.15563 +build_os=$build_os
7.15564 +
7.15565 +# An echo program that does not interpret backslashes.
7.15566 +echo=$lt_echo
7.15567 +
7.15568 +# The archiver.
7.15569 +AR=$lt_AR
7.15570 +AR_FLAGS=$lt_AR_FLAGS
7.15571 +
7.15572 +# A C compiler.
7.15573 +LTCC=$lt_LTCC
7.15574 +
7.15575 +# A language-specific compiler.
7.15576 +CC=$lt_compiler_F77
7.15577 +
7.15578 +# Is the compiler the GNU C compiler?
7.15579 +with_gcc=$GCC_F77
7.15580 +
7.15581 +# An ERE matcher.
7.15582 +EGREP=$lt_EGREP
7.15583 +
7.15584 +# The linker used to build libraries.
7.15585 +LD=$lt_LD_F77
7.15586 +
7.15587 +# Whether we need hard or soft links.
7.15588 +LN_S=$lt_LN_S
7.15589 +
7.15590 +# A BSD-compatible nm program.
7.15591 +NM=$lt_NM
7.15592 +
7.15593 +# A symbol stripping program
7.15594 +STRIP=$lt_STRIP
7.15595 +
7.15596 +# Used to examine libraries when file_magic_cmd begins "file"
7.15597 +MAGIC_CMD=$MAGIC_CMD
7.15598 +
7.15599 +# Used on cygwin: DLL creation program.
7.15600 +DLLTOOL="$DLLTOOL"
7.15601 +
7.15602 +# Used on cygwin: object dumper.
7.15603 +OBJDUMP="$OBJDUMP"
7.15604 +
7.15605 +# Used on cygwin: assembler.
7.15606 +AS="$AS"
7.15607 +
7.15608 +# The name of the directory that contains temporary libtool files.
7.15609 +objdir=$objdir
7.15610 +
7.15611 +# How to create reloadable object files.
7.15612 +reload_flag=$lt_reload_flag
7.15613 +reload_cmds=$lt_reload_cmds
7.15614 +
7.15615 +# How to pass a linker flag through the compiler.
7.15616 +wl=$lt_lt_prog_compiler_wl_F77
7.15617 +
7.15618 +# Object file suffix (normally "o").
7.15619 +objext="$ac_objext"
7.15620 +
7.15621 +# Old archive suffix (normally "a").
7.15622 +libext="$libext"
7.15623 +
7.15624 +# Shared library suffix (normally ".so").
7.15625 +shrext_cmds='$shrext_cmds'
7.15626 +
7.15627 +# Executable file suffix (normally "").
7.15628 +exeext="$exeext"
7.15629 +
7.15630 +# Additional compiler flags for building library objects.
7.15631 +pic_flag=$lt_lt_prog_compiler_pic_F77
7.15632 +pic_mode=$pic_mode
7.15633 +
7.15634 +# What is the maximum length of a command?
7.15635 +max_cmd_len=$lt_cv_sys_max_cmd_len
7.15636 +
7.15637 +# Does compiler simultaneously support -c and -o options?
7.15638 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
7.15639 +
7.15640 +# Must we lock files when doing compilation?
7.15641 +need_locks=$lt_need_locks
7.15642 +
7.15643 +# Do we need the lib prefix for modules?
7.15644 +need_lib_prefix=$need_lib_prefix
7.15645 +
7.15646 +# Do we need a version for libraries?
7.15647 +need_version=$need_version
7.15648 +
7.15649 +# Whether dlopen is supported.
7.15650 +dlopen_support=$enable_dlopen
7.15651 +
7.15652 +# Whether dlopen of programs is supported.
7.15653 +dlopen_self=$enable_dlopen_self
7.15654 +
7.15655 +# Whether dlopen of statically linked programs is supported.
7.15656 +dlopen_self_static=$enable_dlopen_self_static
7.15657 +
7.15658 +# Compiler flag to prevent dynamic linking.
7.15659 +link_static_flag=$lt_lt_prog_compiler_static_F77
7.15660 +
7.15661 +# Compiler flag to turn off builtin functions.
7.15662 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
7.15663 +
7.15664 +# Compiler flag to allow reflexive dlopens.
7.15665 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
7.15666 +
7.15667 +# Compiler flag to generate shared objects directly from archives.
7.15668 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
7.15669 +
7.15670 +# Compiler flag to generate thread-safe objects.
7.15671 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
7.15672 +
7.15673 +# Library versioning type.
7.15674 +version_type=$version_type
7.15675 +
7.15676 +# Format of library name prefix.
7.15677 +libname_spec=$lt_libname_spec
7.15678 +
7.15679 +# List of archive names. First name is the real one, the rest are links.
7.15680 +# The last name is the one that the linker finds with -lNAME.
7.15681 +library_names_spec=$lt_library_names_spec
7.15682 +
7.15683 +# The coded name of the library, if different from the real name.
7.15684 +soname_spec=$lt_soname_spec
7.15685 +
7.15686 +# Commands used to build and install an old-style archive.
7.15687 +RANLIB=$lt_RANLIB
7.15688 +old_archive_cmds=$lt_old_archive_cmds_F77
7.15689 +old_postinstall_cmds=$lt_old_postinstall_cmds
7.15690 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
7.15691 +
7.15692 +# Create an old-style archive from a shared archive.
7.15693 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
7.15694 +
7.15695 +# Create a temporary old-style archive to link instead of a shared archive.
7.15696 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
7.15697 +
7.15698 +# Commands used to build and install a shared archive.
7.15699 +archive_cmds=$lt_archive_cmds_F77
7.15700 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
7.15701 +postinstall_cmds=$lt_postinstall_cmds
7.15702 +postuninstall_cmds=$lt_postuninstall_cmds
7.15703 +
7.15704 +# Commands used to build a loadable module (assumed same as above if empty)
7.15705 +module_cmds=$lt_module_cmds_F77
7.15706 +module_expsym_cmds=$lt_module_expsym_cmds_F77
7.15707 +
7.15708 +# Commands to strip libraries.
7.15709 +old_striplib=$lt_old_striplib
7.15710 +striplib=$lt_striplib
7.15711 +
7.15712 +# Dependencies to place before the objects being linked to create a
7.15713 +# shared library.
7.15714 +predep_objects=$lt_predep_objects_F77
7.15715 +
7.15716 +# Dependencies to place after the objects being linked to create a
7.15717 +# shared library.
7.15718 +postdep_objects=$lt_postdep_objects_F77
7.15719 +
7.15720 +# Dependencies to place before the objects being linked to create a
7.15721 +# shared library.
7.15722 +predeps=$lt_predeps_F77
7.15723 +
7.15724 +# Dependencies to place after the objects being linked to create a
7.15725 +# shared library.
7.15726 +postdeps=$lt_postdeps_F77
7.15727 +
7.15728 +# The library search path used internally by the compiler when linking
7.15729 +# a shared library.
7.15730 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
7.15731 +
7.15732 +# Method to check whether dependent libraries are shared objects.
7.15733 +deplibs_check_method=$lt_deplibs_check_method
7.15734 +
7.15735 +# Command to use when deplibs_check_method == file_magic.
7.15736 +file_magic_cmd=$lt_file_magic_cmd
7.15737 +
7.15738 +# Flag that allows shared libraries with undefined symbols to be built.
7.15739 +allow_undefined_flag=$lt_allow_undefined_flag_F77
7.15740 +
7.15741 +# Flag that forces no undefined symbols.
7.15742 +no_undefined_flag=$lt_no_undefined_flag_F77
7.15743 +
7.15744 +# Commands used to finish a libtool library installation in a directory.
7.15745 +finish_cmds=$lt_finish_cmds
7.15746 +
7.15747 +# Same as above, but a single script fragment to be evaled but not shown.
7.15748 +finish_eval=$lt_finish_eval
7.15749 +
7.15750 +# Take the output of nm and produce a listing of raw symbols and C names.
7.15751 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
7.15752 +
7.15753 +# Transform the output of nm in a proper C declaration
7.15754 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
7.15755 +
7.15756 +# Transform the output of nm in a C name address pair
7.15757 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
7.15758 +
7.15759 +# This is the shared library runtime path variable.
7.15760 +runpath_var=$runpath_var
7.15761 +
7.15762 +# This is the shared library path variable.
7.15763 +shlibpath_var=$shlibpath_var
7.15764 +
7.15765 +# Is shlibpath searched before the hard-coded library search path?
7.15766 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
7.15767 +
7.15768 +# How to hardcode a shared library path into an executable.
7.15769 +hardcode_action=$hardcode_action_F77
7.15770 +
7.15771 +# Whether we should hardcode library paths into libraries.
7.15772 +hardcode_into_libs=$hardcode_into_libs
7.15773 +
7.15774 +# Flag to hardcode \$libdir into a binary during linking.
7.15775 +# This must work even if \$libdir does not exist.
7.15776 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
7.15777 +
7.15778 +# If ld is used when linking, flag to hardcode \$libdir into
7.15779 +# a binary during linking. This must work even if \$libdir does
7.15780 +# not exist.
7.15781 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
7.15782 +
7.15783 +# Whether we need a single -rpath flag with a separated argument.
7.15784 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
7.15785 +
7.15786 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
7.15787 +# resulting binary.
7.15788 +hardcode_direct=$hardcode_direct_F77
7.15789 +
7.15790 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
7.15791 +# resulting binary.
7.15792 +hardcode_minus_L=$hardcode_minus_L_F77
7.15793 +
7.15794 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
7.15795 +# the resulting binary.
7.15796 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
7.15797 +
7.15798 +# Set to yes if building a shared library automatically hardcodes DIR into the library
7.15799 +# and all subsequent libraries and executables linked against it.
7.15800 +hardcode_automatic=$hardcode_automatic_F77
7.15801 +
7.15802 +# Variables whose values should be saved in libtool wrapper scripts and
7.15803 +# restored at relink time.
7.15804 +variables_saved_for_relink="$variables_saved_for_relink"
7.15805 +
7.15806 +# Whether libtool must link a program against all its dependency libraries.
7.15807 +link_all_deplibs=$link_all_deplibs_F77
7.15808 +
7.15809 +# Compile-time system search path for libraries
7.15810 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
7.15811 +
7.15812 +# Run-time system search path for libraries
7.15813 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
7.15814 +
7.15815 +# Fix the shell variable \$srcfile for the compiler.
7.15816 +fix_srcfile_path="$fix_srcfile_path_F77"
7.15817 +
7.15818 +# Set to yes if exported symbols are required.
7.15819 +always_export_symbols=$always_export_symbols_F77
7.15820 +
7.15821 +# The commands to list exported symbols.
7.15822 +export_symbols_cmds=$lt_export_symbols_cmds_F77
7.15823 +
7.15824 +# The commands to extract the exported symbol list from a shared archive.
7.15825 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
7.15826 +
7.15827 +# Symbols that should not be listed in the preloaded symbols.
7.15828 +exclude_expsyms=$lt_exclude_expsyms_F77
7.15829 +
7.15830 +# Symbols that must always be exported.
7.15831 +include_expsyms=$lt_include_expsyms_F77
7.15832 +
7.15833 +# ### END LIBTOOL TAG CONFIG: $tagname
7.15834 +
7.15835 +__EOF__
7.15836 +
7.15837 +
7.15838 +else
7.15839 + # If there is no Makefile yet, we rely on a make rule to execute
7.15840 + # `config.status --recheck' to rerun these tests and create the
7.15841 + # libtool script then.
7.15842 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
7.15843 + if test -f "$ltmain_in"; then
7.15844 + test -f Makefile && make "$ltmain"
7.15845 + fi
7.15846 +fi
7.15847 +
7.15848 +
7.15849 +ac_ext=c
7.15850 +ac_cpp='$CPP $CPPFLAGS'
7.15851 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.15852 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.15853 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.15854 +
7.15855 +CC="$lt_save_CC"
7.15856 +
7.15857 + else
7.15858 + tagname=""
7.15859 + fi
7.15860 + ;;
7.15861 +
7.15862 + GCJ)
7.15863 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
7.15864 +
7.15865 +
7.15866 +
7.15867 +# Source file extension for Java test sources.
7.15868 +ac_ext=java
7.15869 +
7.15870 +# Object file extension for compiled Java test sources.
7.15871 +objext=o
7.15872 +objext_GCJ=$objext
7.15873 +
7.15874 +# Code to be used in simple compile tests
7.15875 +lt_simple_compile_test_code="class foo {}\n"
7.15876 +
7.15877 +# Code to be used in simple link tests
7.15878 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
7.15879 +
7.15880 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7.15881 +
7.15882 +# If no C compiler was specified, use CC.
7.15883 +LTCC=${LTCC-"$CC"}
7.15884 +
7.15885 +# Allow CC to be a program name with arguments.
7.15886 +compiler=$CC
7.15887 +
7.15888 +
7.15889 +# save warnings/boilerplate of simple test code
7.15890 +ac_outfile=conftest.$ac_objext
7.15891 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7.15892 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7.15893 +_lt_compiler_boilerplate=`cat conftest.err`
7.15894 +$rm conftest*
7.15895 +
7.15896 +ac_outfile=conftest.$ac_objext
7.15897 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
7.15898 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7.15899 +_lt_linker_boilerplate=`cat conftest.err`
7.15900 +$rm conftest*
7.15901 +
7.15902 +
7.15903 +# Allow CC to be a program name with arguments.
7.15904 +lt_save_CC="$CC"
7.15905 +CC=${GCJ-"gcj"}
7.15906 +compiler=$CC
7.15907 +compiler_GCJ=$CC
7.15908 +for cc_temp in $compiler""; do
7.15909 + case $cc_temp in
7.15910 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7.15911 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7.15912 + \-*) ;;
7.15913 + *) break;;
7.15914 + esac
7.15915 +done
7.15916 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7.15917 +
7.15918 +
7.15919 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
7.15920 +archive_cmds_need_lc_GCJ=no
7.15921 +
7.15922 +old_archive_cmds_GCJ=$old_archive_cmds
7.15923 +
7.15924 +
7.15925 +lt_prog_compiler_no_builtin_flag_GCJ=
7.15926 +
7.15927 +if test "$GCC" = yes; then
7.15928 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
7.15929 +
7.15930 +
7.15931 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7.15932 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7.15933 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7.15934 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.15935 +else
7.15936 + lt_cv_prog_compiler_rtti_exceptions=no
7.15937 + ac_outfile=conftest.$ac_objext
7.15938 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.15939 + lt_compiler_flag="-fno-rtti -fno-exceptions"
7.15940 + # Insert the option either (1) after the last *FLAGS variable, or
7.15941 + # (2) before a word containing "conftest.", or (3) at the end.
7.15942 + # Note that $ac_compile itself does not contain backslashes and begins
7.15943 + # with a dollar sign (not a hyphen), so the echo should work correctly.
7.15944 + # The option is referenced via a variable to avoid confusing sed.
7.15945 + lt_compile=`echo "$ac_compile" | $SED \
7.15946 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7.15947 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7.15948 + -e 's:$: $lt_compiler_flag:'`
7.15949 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7.15950 + (eval "$lt_compile" 2>conftest.err)
7.15951 + ac_status=$?
7.15952 + cat conftest.err >&5
7.15953 + echo "$as_me:__oline__: \$? = $ac_status" >&5
7.15954 + if (exit $ac_status) && test -s "$ac_outfile"; then
7.15955 + # The compiler can only warn and ignore the option if not recognized
7.15956 + # So say no if there are warnings other than the usual output.
7.15957 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
7.15958 + $SED '/^$/d' conftest.err >conftest.er2
7.15959 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
7.15960 + lt_cv_prog_compiler_rtti_exceptions=yes
7.15961 + fi
7.15962 + fi
7.15963 + $rm conftest*
7.15964 +
7.15965 +fi
7.15966 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7.15967 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7.15968 +
7.15969 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7.15970 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
7.15971 +else
7.15972 + :
7.15973 +fi
7.15974 +
7.15975 +fi
7.15976 +
7.15977 +lt_prog_compiler_wl_GCJ=
7.15978 +lt_prog_compiler_pic_GCJ=
7.15979 +lt_prog_compiler_static_GCJ=
7.15980 +
7.15981 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7.15982 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7.15983 +
7.15984 + if test "$GCC" = yes; then
7.15985 + lt_prog_compiler_wl_GCJ='-Wl,'
7.15986 + lt_prog_compiler_static_GCJ='-static'
7.15987 +
7.15988 + case $host_os in
7.15989 + aix*)
7.15990 + # All AIX code is PIC.
7.15991 + if test "$host_cpu" = ia64; then
7.15992 + # AIX 5 now supports IA64 processor
7.15993 + lt_prog_compiler_static_GCJ='-Bstatic'
7.15994 + fi
7.15995 + ;;
7.15996 +
7.15997 + amigaos*)
7.15998 + # FIXME: we need at least 68020 code to build shared libraries, but
7.15999 + # adding the `-m68020' flag to GCC prevents building anything better,
7.16000 + # like `-m68040'.
7.16001 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
7.16002 + ;;
7.16003 +
7.16004 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7.16005 + # PIC is the default for these OSes.
7.16006 + ;;
7.16007 +
7.16008 + mingw* | pw32* | os2*)
7.16009 + # This hack is so that the source file can tell whether it is being
7.16010 + # built for inclusion in a dll (and should export symbols for example).
7.16011 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
7.16012 + ;;
7.16013 +
7.16014 + darwin* | rhapsody*)
7.16015 + # PIC is the default on this platform
7.16016 + # Common symbols not allowed in MH_DYLIB files
7.16017 + lt_prog_compiler_pic_GCJ='-fno-common'
7.16018 + ;;
7.16019 +
7.16020 + msdosdjgpp*)
7.16021 + # Just because we use GCC doesn't mean we suddenly get shared libraries
7.16022 + # on systems that don't support them.
7.16023 + lt_prog_compiler_can_build_shared_GCJ=no
7.16024 + enable_shared=no
7.16025 + ;;
7.16026 +
7.16027 + sysv4*MP*)
7.16028 + if test -d /usr/nec; then
7.16029 + lt_prog_compiler_pic_GCJ=-Kconform_pic
7.16030 + fi
7.16031 + ;;
7.16032 +
7.16033 + hpux*)
7.16034 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7.16035 + # not for PA HP-UX.
7.16036 + case $host_cpu in
7.16037 + hppa*64*|ia64*)
7.16038 + # +Z the default
7.16039 + ;;
7.16040 + *)
7.16041 + lt_prog_compiler_pic_GCJ='-fPIC'
7.16042 + ;;
7.16043 + esac
7.16044 + ;;
7.16045 +
7.16046 + *)
7.16047 + lt_prog_compiler_pic_GCJ='-fPIC'
7.16048 + ;;
7.16049 + esac
7.16050 + else
7.16051 + # PORTME Check for flag to pass linker flags through the system compiler.
7.16052 + case $host_os in
7.16053 + aix*)
7.16054 + lt_prog_compiler_wl_GCJ='-Wl,'
7.16055 + if test "$host_cpu" = ia64; then
7.16056 + # AIX 5 now supports IA64 processor
7.16057 + lt_prog_compiler_static_GCJ='-Bstatic'
7.16058 + else
7.16059 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
7.16060 + fi
7.16061 + ;;
7.16062 + darwin*)
7.16063 + # PIC is the default on this platform
7.16064 + # Common symbols not allowed in MH_DYLIB files
7.16065 + case $cc_basename in
7.16066 + xlc*)
7.16067 + lt_prog_compiler_pic_GCJ='-qnocommon'
7.16068 + lt_prog_compiler_wl_GCJ='-Wl,'
7.16069 + ;;
7.16070 + esac
7.16071 + ;;
7.16072 +
7.16073 + mingw* | pw32* | os2*)
7.16074 + # This hack is so that the source file can tell whether it is being
7.16075 + # built for inclusion in a dll (and should export symbols for example).
7.16076 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
7.16077 + ;;
7.16078 +
7.16079 + hpux9* | hpux10* | hpux11*)
7.16080 + lt_prog_compiler_wl_GCJ='-Wl,'
7.16081 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7.16082 + # not for PA HP-UX.
7.16083 + case $host_cpu in
7.16084 + hppa*64*|ia64*)
7.16085 + # +Z the default
7.16086 + ;;
7.16087 + *)
7.16088 + lt_prog_compiler_pic_GCJ='+Z'
7.16089 + ;;
7.16090 + esac
7.16091 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
7.16092 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
7.16093 + ;;
7.16094 +
7.16095 + irix5* | irix6* | nonstopux*)
7.16096 + lt_prog_compiler_wl_GCJ='-Wl,'
7.16097 + # PIC (with -KPIC) is the default.
7.16098 + lt_prog_compiler_static_GCJ='-non_shared'
7.16099 + ;;
7.16100 +
7.16101 + newsos6)
7.16102 + lt_prog_compiler_pic_GCJ='-KPIC'
7.16103 + lt_prog_compiler_static_GCJ='-Bstatic'
7.16104 + ;;
7.16105 +
7.16106 + linux*)
7.16107 + case $cc_basename in
7.16108 + icc* | ecc*)
7.16109 + lt_prog_compiler_wl_GCJ='-Wl,'
7.16110 + lt_prog_compiler_pic_GCJ='-KPIC'
7.16111 + lt_prog_compiler_static_GCJ='-static'
7.16112 + ;;
7.16113 + pgcc* | pgf77* | pgf90* | pgf95*)
7.16114 + # Portland Group compilers (*not* the Pentium gcc compiler,
7.16115 + # which looks to be a dead project)
7.16116 + lt_prog_compiler_wl_GCJ='-Wl,'
7.16117 + lt_prog_compiler_pic_GCJ='-fpic'
7.16118 + lt_prog_compiler_static_GCJ='-Bstatic'
7.16119 + ;;
7.16120 + ccc*)
7.16121 + lt_prog_compiler_wl_GCJ='-Wl,'
7.16122 + # All Alpha code is PIC.
7.16123 + lt_prog_compiler_static_GCJ='-non_shared'
7.16124 + ;;
7.16125 + esac
7.16126 + ;;
7.16127 +
7.16128 + osf3* | osf4* | osf5*)
7.16129 + lt_prog_compiler_wl_GCJ='-Wl,'
7.16130 + # All OSF/1 code is PIC.
7.16131 + lt_prog_compiler_static_GCJ='-non_shared'
7.16132 + ;;
7.16133 +
7.16134 + sco3.2v5*)
7.16135 + lt_prog_compiler_pic_GCJ='-Kpic'
7.16136 + lt_prog_compiler_static_GCJ='-dn'
7.16137 + ;;
7.16138 +
7.16139 + solaris*)
7.16140 + lt_prog_compiler_pic_GCJ='-KPIC'
7.16141 + lt_prog_compiler_static_GCJ='-Bstatic'
7.16142 + case $cc_basename in
7.16143 + f77* | f90* | f95*)
7.16144 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
7.16145 + *)
7.16146 + lt_prog_compiler_wl_GCJ='-Wl,';;
7.16147 + esac
7.16148 + ;;
7.16149 +
7.16150 + sunos4*)
7.16151 + lt_prog_compiler_wl_GCJ='-Qoption ld '
7.16152 + lt_prog_compiler_pic_GCJ='-PIC'
7.16153 + lt_prog_compiler_static_GCJ='-Bstatic'
7.16154 + ;;
7.16155 +
7.16156 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7.16157 + lt_prog_compiler_wl_GCJ='-Wl,'
7.16158 + lt_prog_compiler_pic_GCJ='-KPIC'
7.16159 + lt_prog_compiler_static_GCJ='-Bstatic'
7.16160 + ;;
7.16161 +
7.16162 + sysv4*MP*)
7.16163 + if test -d /usr/nec ;then
7.16164 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
7.16165 + lt_prog_compiler_static_GCJ='-Bstatic'
7.16166 + fi
7.16167 + ;;
7.16168 +
7.16169 + unicos*)
7.16170 + lt_prog_compiler_wl_GCJ='-Wl,'
7.16171 + lt_prog_compiler_can_build_shared_GCJ=no
7.16172 + ;;
7.16173 +
7.16174 + uts4*)
7.16175 + lt_prog_compiler_pic_GCJ='-pic'
7.16176 + lt_prog_compiler_static_GCJ='-Bstatic'
7.16177 + ;;
7.16178 +
7.16179 + *)
7.16180 + lt_prog_compiler_can_build_shared_GCJ=no
7.16181 + ;;
7.16182 + esac
7.16183 + fi
7.16184 +
7.16185 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
7.16186 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
7.16187 +
7.16188 +#
7.16189 +# Check to make sure the PIC flag actually works.
7.16190 +#
7.16191 +if test -n "$lt_prog_compiler_pic_GCJ"; then
7.16192 +
7.16193 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
7.16194 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
7.16195 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
7.16196 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.16197 +else
7.16198 + lt_prog_compiler_pic_works_GCJ=no
7.16199 + ac_outfile=conftest.$ac_objext
7.16200 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.16201 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
7.16202 + # Insert the option either (1) after the last *FLAGS variable, or
7.16203 + # (2) before a word containing "conftest.", or (3) at the end.
7.16204 + # Note that $ac_compile itself does not contain backslashes and begins
7.16205 + # with a dollar sign (not a hyphen), so the echo should work correctly.
7.16206 + # The option is referenced via a variable to avoid confusing sed.
7.16207 + lt_compile=`echo "$ac_compile" | $SED \
7.16208 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7.16209 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7.16210 + -e 's:$: $lt_compiler_flag:'`
7.16211 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7.16212 + (eval "$lt_compile" 2>conftest.err)
7.16213 + ac_status=$?
7.16214 + cat conftest.err >&5
7.16215 + echo "$as_me:__oline__: \$? = $ac_status" >&5
7.16216 + if (exit $ac_status) && test -s "$ac_outfile"; then
7.16217 + # The compiler can only warn and ignore the option if not recognized
7.16218 + # So say no if there are warnings other than the usual output.
7.16219 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
7.16220 + $SED '/^$/d' conftest.err >conftest.er2
7.16221 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
7.16222 + lt_prog_compiler_pic_works_GCJ=yes
7.16223 + fi
7.16224 + fi
7.16225 + $rm conftest*
7.16226 +
7.16227 +fi
7.16228 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
7.16229 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
7.16230 +
7.16231 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
7.16232 + case $lt_prog_compiler_pic_GCJ in
7.16233 + "" | " "*) ;;
7.16234 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
7.16235 + esac
7.16236 +else
7.16237 + lt_prog_compiler_pic_GCJ=
7.16238 + lt_prog_compiler_can_build_shared_GCJ=no
7.16239 +fi
7.16240 +
7.16241 +fi
7.16242 +case $host_os in
7.16243 + # For platforms which do not support PIC, -DPIC is meaningless:
7.16244 + *djgpp*)
7.16245 + lt_prog_compiler_pic_GCJ=
7.16246 + ;;
7.16247 + *)
7.16248 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
7.16249 + ;;
7.16250 +esac
7.16251 +
7.16252 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7.16253 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7.16254 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
7.16255 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.16256 +else
7.16257 + lt_cv_prog_compiler_c_o_GCJ=no
7.16258 + $rm -r conftest 2>/dev/null
7.16259 + mkdir conftest
7.16260 + cd conftest
7.16261 + mkdir out
7.16262 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.16263 +
7.16264 + lt_compiler_flag="-o out/conftest2.$ac_objext"
7.16265 + # Insert the option either (1) after the last *FLAGS variable, or
7.16266 + # (2) before a word containing "conftest.", or (3) at the end.
7.16267 + # Note that $ac_compile itself does not contain backslashes and begins
7.16268 + # with a dollar sign (not a hyphen), so the echo should work correctly.
7.16269 + lt_compile=`echo "$ac_compile" | $SED \
7.16270 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7.16271 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7.16272 + -e 's:$: $lt_compiler_flag:'`
7.16273 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7.16274 + (eval "$lt_compile" 2>out/conftest.err)
7.16275 + ac_status=$?
7.16276 + cat out/conftest.err >&5
7.16277 + echo "$as_me:__oline__: \$? = $ac_status" >&5
7.16278 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
7.16279 + then
7.16280 + # The compiler can only warn and ignore the option if not recognized
7.16281 + # So say no if there are warnings
7.16282 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
7.16283 + $SED '/^$/d' out/conftest.err >out/conftest.er2
7.16284 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7.16285 + lt_cv_prog_compiler_c_o_GCJ=yes
7.16286 + fi
7.16287 + fi
7.16288 + chmod u+w . 2>&5
7.16289 + $rm conftest*
7.16290 + # SGI C++ compiler will create directory out/ii_files/ for
7.16291 + # template instantiation
7.16292 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7.16293 + $rm out/* && rmdir out
7.16294 + cd ..
7.16295 + rmdir conftest
7.16296 + $rm conftest*
7.16297 +
7.16298 +fi
7.16299 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
7.16300 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
7.16301 +
7.16302 +
7.16303 +hard_links="nottested"
7.16304 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
7.16305 + # do not overwrite the value of need_locks provided by the user
7.16306 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7.16307 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7.16308 + hard_links=yes
7.16309 + $rm conftest*
7.16310 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
7.16311 + touch conftest.a
7.16312 + ln conftest.a conftest.b 2>&5 || hard_links=no
7.16313 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
7.16314 + echo "$as_me:$LINENO: result: $hard_links" >&5
7.16315 +echo "${ECHO_T}$hard_links" >&6
7.16316 + if test "$hard_links" = no; then
7.16317 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7.16318 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7.16319 + need_locks=warn
7.16320 + fi
7.16321 +else
7.16322 + need_locks=no
7.16323 +fi
7.16324 +
7.16325 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7.16326 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7.16327 +
7.16328 + runpath_var=
7.16329 + allow_undefined_flag_GCJ=
7.16330 + enable_shared_with_static_runtimes_GCJ=no
7.16331 + archive_cmds_GCJ=
7.16332 + archive_expsym_cmds_GCJ=
7.16333 + old_archive_From_new_cmds_GCJ=
7.16334 + old_archive_from_expsyms_cmds_GCJ=
7.16335 + export_dynamic_flag_spec_GCJ=
7.16336 + whole_archive_flag_spec_GCJ=
7.16337 + thread_safe_flag_spec_GCJ=
7.16338 + hardcode_libdir_flag_spec_GCJ=
7.16339 + hardcode_libdir_flag_spec_ld_GCJ=
7.16340 + hardcode_libdir_separator_GCJ=
7.16341 + hardcode_direct_GCJ=no
7.16342 + hardcode_minus_L_GCJ=no
7.16343 + hardcode_shlibpath_var_GCJ=unsupported
7.16344 + link_all_deplibs_GCJ=unknown
7.16345 + hardcode_automatic_GCJ=no
7.16346 + module_cmds_GCJ=
7.16347 + module_expsym_cmds_GCJ=
7.16348 + always_export_symbols_GCJ=no
7.16349 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7.16350 + # include_expsyms should be a list of space-separated symbols to be *always*
7.16351 + # included in the symbol list
7.16352 + include_expsyms_GCJ=
7.16353 + # exclude_expsyms can be an extended regexp of symbols to exclude
7.16354 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
7.16355 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7.16356 + # as well as any symbol that contains `d'.
7.16357 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
7.16358 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7.16359 + # platforms (ab)use it in PIC code, but their linkers get confused if
7.16360 + # the symbol is explicitly referenced. Since portable code cannot
7.16361 + # rely on this symbol name, it's probably fine to never include it in
7.16362 + # preloaded symbol tables.
7.16363 + extract_expsyms_cmds=
7.16364 + # Just being paranoid about ensuring that cc_basename is set.
7.16365 + for cc_temp in $compiler""; do
7.16366 + case $cc_temp in
7.16367 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7.16368 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7.16369 + \-*) ;;
7.16370 + *) break;;
7.16371 + esac
7.16372 +done
7.16373 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7.16374 +
7.16375 + case $host_os in
7.16376 + cygwin* | mingw* | pw32*)
7.16377 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
7.16378 + # When not using gcc, we currently assume that we are using
7.16379 + # Microsoft Visual C++.
7.16380 + if test "$GCC" != yes; then
7.16381 + with_gnu_ld=no
7.16382 + fi
7.16383 + ;;
7.16384 + openbsd*)
7.16385 + with_gnu_ld=no
7.16386 + ;;
7.16387 + esac
7.16388 +
7.16389 + ld_shlibs_GCJ=yes
7.16390 + if test "$with_gnu_ld" = yes; then
7.16391 + # If archive_cmds runs LD, not CC, wlarc should be empty
7.16392 + wlarc='${wl}'
7.16393 +
7.16394 + # Set some defaults for GNU ld with shared library support. These
7.16395 + # are reset later if shared libraries are not supported. Putting them
7.16396 + # here allows them to be overridden if necessary.
7.16397 + runpath_var=LD_RUN_PATH
7.16398 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
7.16399 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
7.16400 + # ancient GNU ld didn't support --whole-archive et. al.
7.16401 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7.16402 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7.16403 + else
7.16404 + whole_archive_flag_spec_GCJ=
7.16405 + fi
7.16406 + supports_anon_versioning=no
7.16407 + case `$LD -v 2>/dev/null` in
7.16408 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7.16409 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7.16410 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7.16411 + *\ 2.11.*) ;; # other 2.11 versions
7.16412 + *) supports_anon_versioning=yes ;;
7.16413 + esac
7.16414 +
7.16415 + # See if GNU ld supports shared libraries.
7.16416 + case $host_os in
7.16417 + aix3* | aix4* | aix5*)
7.16418 + # On AIX/PPC, the GNU linker is very broken
7.16419 + if test "$host_cpu" != ia64; then
7.16420 + ld_shlibs_GCJ=no
7.16421 + cat <<EOF 1>&2
7.16422 +
7.16423 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7.16424 +*** to be unable to reliably create shared libraries on AIX.
7.16425 +*** Therefore, libtool is disabling shared libraries support. If you
7.16426 +*** really care for shared libraries, you may want to modify your PATH
7.16427 +*** so that a non-GNU linker is found, and then restart.
7.16428 +
7.16429 +EOF
7.16430 + fi
7.16431 + ;;
7.16432 +
7.16433 + amigaos*)
7.16434 + 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)'
7.16435 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
7.16436 + hardcode_minus_L_GCJ=yes
7.16437 +
7.16438 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7.16439 + # that the semantics of dynamic libraries on AmigaOS, at least up
7.16440 + # to version 4, is to share data among multiple programs linked
7.16441 + # with the same dynamic library. Since this doesn't match the
7.16442 + # behavior of shared libraries on other platforms, we can't use
7.16443 + # them.
7.16444 + ld_shlibs_GCJ=no
7.16445 + ;;
7.16446 +
7.16447 + beos*)
7.16448 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.16449 + allow_undefined_flag_GCJ=unsupported
7.16450 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7.16451 + # support --undefined. This deserves some investigation. FIXME
7.16452 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.16453 + else
7.16454 + ld_shlibs_GCJ=no
7.16455 + fi
7.16456 + ;;
7.16457 +
7.16458 + cygwin* | mingw* | pw32*)
7.16459 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
7.16460 + # as there is no search path for DLLs.
7.16461 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
7.16462 + allow_undefined_flag_GCJ=unsupported
7.16463 + always_export_symbols_GCJ=no
7.16464 + enable_shared_with_static_runtimes_GCJ=yes
7.16465 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7.16466 +
7.16467 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7.16468 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7.16469 + # If the export-symbols file already is a .def file (1st line
7.16470 + # is EXPORTS), use it as is; otherwise, prepend...
7.16471 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7.16472 + cp $export_symbols $output_objdir/$soname.def;
7.16473 + else
7.16474 + echo EXPORTS > $output_objdir/$soname.def;
7.16475 + cat $export_symbols >> $output_objdir/$soname.def;
7.16476 + fi~
7.16477 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7.16478 + else
7.16479 + ld_shlibs_GCJ=no
7.16480 + fi
7.16481 + ;;
7.16482 +
7.16483 + linux*)
7.16484 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.16485 + tmp_addflag=
7.16486 + case $cc_basename,$host_cpu in
7.16487 + pgcc*) # Portland Group C compiler
7.16488 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7.16489 + tmp_addflag=' $pic_flag'
7.16490 + ;;
7.16491 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7.16492 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7.16493 + tmp_addflag=' $pic_flag -Mnomain' ;;
7.16494 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7.16495 + tmp_addflag=' -i_dynamic' ;;
7.16496 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7.16497 + tmp_addflag=' -i_dynamic -nofor_main' ;;
7.16498 + ifc* | ifort*) # Intel Fortran compiler
7.16499 + tmp_addflag=' -nofor_main' ;;
7.16500 + esac
7.16501 + archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.16502 +
7.16503 + if test $supports_anon_versioning = yes; then
7.16504 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
7.16505 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7.16506 + $echo "local: *; };" >> $output_objdir/$libname.ver~
7.16507 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7.16508 + fi
7.16509 + else
7.16510 + ld_shlibs_GCJ=no
7.16511 + fi
7.16512 + ;;
7.16513 +
7.16514 + netbsd*)
7.16515 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7.16516 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7.16517 + wlarc=
7.16518 + else
7.16519 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.16520 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.16521 + fi
7.16522 + ;;
7.16523 +
7.16524 + solaris* | sysv5*)
7.16525 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7.16526 + ld_shlibs_GCJ=no
7.16527 + cat <<EOF 1>&2
7.16528 +
7.16529 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7.16530 +*** create shared libraries on Solaris systems. Therefore, libtool
7.16531 +*** is disabling shared libraries support. We urge you to upgrade GNU
7.16532 +*** binutils to release 2.9.1 or newer. Another option is to modify
7.16533 +*** your PATH or compiler configuration so that the native linker is
7.16534 +*** used, and then restart.
7.16535 +
7.16536 +EOF
7.16537 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.16538 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.16539 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.16540 + else
7.16541 + ld_shlibs_GCJ=no
7.16542 + fi
7.16543 + ;;
7.16544 +
7.16545 + sunos4*)
7.16546 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7.16547 + wlarc=
7.16548 + hardcode_direct_GCJ=yes
7.16549 + hardcode_shlibpath_var_GCJ=no
7.16550 + ;;
7.16551 +
7.16552 + *)
7.16553 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7.16554 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.16555 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.16556 + else
7.16557 + ld_shlibs_GCJ=no
7.16558 + fi
7.16559 + ;;
7.16560 + esac
7.16561 +
7.16562 + if test "$ld_shlibs_GCJ" = no; then
7.16563 + runpath_var=
7.16564 + hardcode_libdir_flag_spec_GCJ=
7.16565 + export_dynamic_flag_spec_GCJ=
7.16566 + whole_archive_flag_spec_GCJ=
7.16567 + fi
7.16568 + else
7.16569 + # PORTME fill in a description of your system's linker (not GNU ld)
7.16570 + case $host_os in
7.16571 + aix3*)
7.16572 + allow_undefined_flag_GCJ=unsupported
7.16573 + always_export_symbols_GCJ=yes
7.16574 + 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'
7.16575 + # Note: this linker hardcodes the directories in LIBPATH if there
7.16576 + # are no directories specified by -L.
7.16577 + hardcode_minus_L_GCJ=yes
7.16578 + if test "$GCC" = yes && test -z "$link_static_flag"; then
7.16579 + # Neither direct hardcoding nor static linking is supported with a
7.16580 + # broken collect2.
7.16581 + hardcode_direct_GCJ=unsupported
7.16582 + fi
7.16583 + ;;
7.16584 +
7.16585 + aix4* | aix5*)
7.16586 + if test "$host_cpu" = ia64; then
7.16587 + # On IA64, the linker does run time linking by default, so we don't
7.16588 + # have to do anything special.
7.16589 + aix_use_runtimelinking=no
7.16590 + exp_sym_flag='-Bexport'
7.16591 + no_entry_flag=""
7.16592 + else
7.16593 + # If we're using GNU nm, then we don't want the "-C" option.
7.16594 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
7.16595 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7.16596 + 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'
7.16597 + else
7.16598 + 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'
7.16599 + fi
7.16600 + aix_use_runtimelinking=no
7.16601 +
7.16602 + # Test if we are trying to use run time linking or normal
7.16603 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7.16604 + # need to do runtime linking.
7.16605 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7.16606 + for ld_flag in $LDFLAGS; do
7.16607 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7.16608 + aix_use_runtimelinking=yes
7.16609 + break
7.16610 + fi
7.16611 + done
7.16612 + esac
7.16613 +
7.16614 + exp_sym_flag='-bexport'
7.16615 + no_entry_flag='-bnoentry'
7.16616 + fi
7.16617 +
7.16618 + # When large executables or shared objects are built, AIX ld can
7.16619 + # have problems creating the table of contents. If linking a library
7.16620 + # or program results in "error TOC overflow" add -mminimal-toc to
7.16621 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7.16622 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7.16623 +
7.16624 + archive_cmds_GCJ=''
7.16625 + hardcode_direct_GCJ=yes
7.16626 + hardcode_libdir_separator_GCJ=':'
7.16627 + link_all_deplibs_GCJ=yes
7.16628 +
7.16629 + if test "$GCC" = yes; then
7.16630 + case $host_os in aix4.[012]|aix4.[012].*)
7.16631 + # We only want to do this on AIX 4.2 and lower, the check
7.16632 + # below for broken collect2 doesn't work under 4.3+
7.16633 + collect2name=`${CC} -print-prog-name=collect2`
7.16634 + if test -f "$collect2name" && \
7.16635 + strings "$collect2name" | grep resolve_lib_name >/dev/null
7.16636 + then
7.16637 + # We have reworked collect2
7.16638 + hardcode_direct_GCJ=yes
7.16639 + else
7.16640 + # We have old collect2
7.16641 + hardcode_direct_GCJ=unsupported
7.16642 + # It fails to find uninstalled libraries when the uninstalled
7.16643 + # path is not listed in the libpath. Setting hardcode_minus_L
7.16644 + # to unsupported forces relinking
7.16645 + hardcode_minus_L_GCJ=yes
7.16646 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
7.16647 + hardcode_libdir_separator_GCJ=
7.16648 + fi
7.16649 + esac
7.16650 + shared_flag='-shared'
7.16651 + if test "$aix_use_runtimelinking" = yes; then
7.16652 + shared_flag="$shared_flag "'${wl}-G'
7.16653 + fi
7.16654 + else
7.16655 + # not using gcc
7.16656 + if test "$host_cpu" = ia64; then
7.16657 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7.16658 + # chokes on -Wl,-G. The following line is correct:
7.16659 + shared_flag='-G'
7.16660 + else
7.16661 + if test "$aix_use_runtimelinking" = yes; then
7.16662 + shared_flag='${wl}-G'
7.16663 + else
7.16664 + shared_flag='${wl}-bM:SRE'
7.16665 + fi
7.16666 + fi
7.16667 + fi
7.16668 +
7.16669 + # It seems that -bexpall does not export symbols beginning with
7.16670 + # underscore (_), so it is better to generate a list of symbols to export.
7.16671 + always_export_symbols_GCJ=yes
7.16672 + if test "$aix_use_runtimelinking" = yes; then
7.16673 + # Warning - without using the other runtime loading flags (-brtl),
7.16674 + # -berok will link without error, but may produce a broken library.
7.16675 + allow_undefined_flag_GCJ='-berok'
7.16676 + # Determine the default libpath from the value encoded in an empty executable.
7.16677 + cat >conftest.$ac_ext <<_ACEOF
7.16678 +/* confdefs.h. */
7.16679 +_ACEOF
7.16680 +cat confdefs.h >>conftest.$ac_ext
7.16681 +cat >>conftest.$ac_ext <<_ACEOF
7.16682 +/* end confdefs.h. */
7.16683 +
7.16684 +int
7.16685 +main ()
7.16686 +{
7.16687 +
7.16688 + ;
7.16689 + return 0;
7.16690 +}
7.16691 +_ACEOF
7.16692 +rm -f conftest.$ac_objext conftest$ac_exeext
7.16693 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.16694 + (eval $ac_link) 2>conftest.er1
7.16695 + ac_status=$?
7.16696 + grep -v '^ *+' conftest.er1 >conftest.err
7.16697 + rm -f conftest.er1
7.16698 + cat conftest.err >&5
7.16699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.16700 + (exit $ac_status); } &&
7.16701 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.16702 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.16703 + (eval $ac_try) 2>&5
7.16704 + ac_status=$?
7.16705 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.16706 + (exit $ac_status); }; } &&
7.16707 + { ac_try='test -s conftest$ac_exeext'
7.16708 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.16709 + (eval $ac_try) 2>&5
7.16710 + ac_status=$?
7.16711 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.16712 + (exit $ac_status); }; }; then
7.16713 +
7.16714 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7.16715 +}'`
7.16716 +# Check for a 64-bit object if we didn't find anything.
7.16717 +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; }
7.16718 +}'`; fi
7.16719 +else
7.16720 + echo "$as_me: failed program was:" >&5
7.16721 +sed 's/^/| /' conftest.$ac_ext >&5
7.16722 +
7.16723 +fi
7.16724 +rm -f conftest.err conftest.$ac_objext \
7.16725 + conftest$ac_exeext conftest.$ac_ext
7.16726 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7.16727 +
7.16728 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
7.16729 + 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"
7.16730 + else
7.16731 + if test "$host_cpu" = ia64; then
7.16732 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
7.16733 + allow_undefined_flag_GCJ="-z nodefs"
7.16734 + 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"
7.16735 + else
7.16736 + # Determine the default libpath from the value encoded in an empty executable.
7.16737 + cat >conftest.$ac_ext <<_ACEOF
7.16738 +/* confdefs.h. */
7.16739 +_ACEOF
7.16740 +cat confdefs.h >>conftest.$ac_ext
7.16741 +cat >>conftest.$ac_ext <<_ACEOF
7.16742 +/* end confdefs.h. */
7.16743 +
7.16744 +int
7.16745 +main ()
7.16746 +{
7.16747 +
7.16748 + ;
7.16749 + return 0;
7.16750 +}
7.16751 +_ACEOF
7.16752 +rm -f conftest.$ac_objext conftest$ac_exeext
7.16753 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.16754 + (eval $ac_link) 2>conftest.er1
7.16755 + ac_status=$?
7.16756 + grep -v '^ *+' conftest.er1 >conftest.err
7.16757 + rm -f conftest.er1
7.16758 + cat conftest.err >&5
7.16759 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.16760 + (exit $ac_status); } &&
7.16761 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.16762 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.16763 + (eval $ac_try) 2>&5
7.16764 + ac_status=$?
7.16765 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.16766 + (exit $ac_status); }; } &&
7.16767 + { ac_try='test -s conftest$ac_exeext'
7.16768 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.16769 + (eval $ac_try) 2>&5
7.16770 + ac_status=$?
7.16771 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.16772 + (exit $ac_status); }; }; then
7.16773 +
7.16774 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7.16775 +}'`
7.16776 +# Check for a 64-bit object if we didn't find anything.
7.16777 +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; }
7.16778 +}'`; fi
7.16779 +else
7.16780 + echo "$as_me: failed program was:" >&5
7.16781 +sed 's/^/| /' conftest.$ac_ext >&5
7.16782 +
7.16783 +fi
7.16784 +rm -f conftest.err conftest.$ac_objext \
7.16785 + conftest$ac_exeext conftest.$ac_ext
7.16786 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7.16787 +
7.16788 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
7.16789 + # Warning - without using the other run time loading flags,
7.16790 + # -berok will link without error, but may produce a broken library.
7.16791 + no_undefined_flag_GCJ=' ${wl}-bernotok'
7.16792 + allow_undefined_flag_GCJ=' ${wl}-berok'
7.16793 + # -bexpall does not export symbols beginning with underscore (_)
7.16794 + always_export_symbols_GCJ=yes
7.16795 + # Exported symbols can be pulled into shared objects from archives
7.16796 + whole_archive_flag_spec_GCJ=' '
7.16797 + archive_cmds_need_lc_GCJ=yes
7.16798 + # This is similar to how AIX traditionally builds its shared libraries.
7.16799 + 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'
7.16800 + fi
7.16801 + fi
7.16802 + ;;
7.16803 +
7.16804 + amigaos*)
7.16805 + 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)'
7.16806 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
7.16807 + hardcode_minus_L_GCJ=yes
7.16808 + # see comment about different semantics on the GNU ld section
7.16809 + ld_shlibs_GCJ=no
7.16810 + ;;
7.16811 +
7.16812 + bsdi[45]*)
7.16813 + export_dynamic_flag_spec_GCJ=-rdynamic
7.16814 + ;;
7.16815 +
7.16816 + cygwin* | mingw* | pw32*)
7.16817 + # When not using gcc, we currently assume that we are using
7.16818 + # Microsoft Visual C++.
7.16819 + # hardcode_libdir_flag_spec is actually meaningless, as there is
7.16820 + # no search path for DLLs.
7.16821 + hardcode_libdir_flag_spec_GCJ=' '
7.16822 + allow_undefined_flag_GCJ=unsupported
7.16823 + # Tell ltmain to make .lib files, not .a files.
7.16824 + libext=lib
7.16825 + # Tell ltmain to make .dll files, not .so files.
7.16826 + shrext_cmds=".dll"
7.16827 + # FIXME: Setting linknames here is a bad hack.
7.16828 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7.16829 + # The linker will automatically build a .lib file if we build a DLL.
7.16830 + old_archive_From_new_cmds_GCJ='true'
7.16831 + # FIXME: Should let the user specify the lib program.
7.16832 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
7.16833 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
7.16834 + enable_shared_with_static_runtimes_GCJ=yes
7.16835 + ;;
7.16836 +
7.16837 + darwin* | rhapsody*)
7.16838 + case $host_os in
7.16839 + rhapsody* | darwin1.[012])
7.16840 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
7.16841 + ;;
7.16842 + *) # Darwin 1.3 on
7.16843 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7.16844 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7.16845 + else
7.16846 + case ${MACOSX_DEPLOYMENT_TARGET} in
7.16847 + 10.[012])
7.16848 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7.16849 + ;;
7.16850 + 10.*)
7.16851 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
7.16852 + ;;
7.16853 + esac
7.16854 + fi
7.16855 + ;;
7.16856 + esac
7.16857 + archive_cmds_need_lc_GCJ=no
7.16858 + hardcode_direct_GCJ=no
7.16859 + hardcode_automatic_GCJ=yes
7.16860 + hardcode_shlibpath_var_GCJ=unsupported
7.16861 + whole_archive_flag_spec_GCJ=''
7.16862 + link_all_deplibs_GCJ=yes
7.16863 + if test "$GCC" = yes ; then
7.16864 + output_verbose_link_cmd='echo'
7.16865 + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7.16866 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7.16867 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7.16868 + archive_expsym_cmds_GCJ='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}'
7.16869 + 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}'
7.16870 + else
7.16871 + case $cc_basename in
7.16872 + xlc*)
7.16873 + output_verbose_link_cmd='echo'
7.16874 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7.16875 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7.16876 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7.16877 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7.16878 + 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}'
7.16879 + ;;
7.16880 + *)
7.16881 + ld_shlibs_GCJ=no
7.16882 + ;;
7.16883 + esac
7.16884 + fi
7.16885 + ;;
7.16886 +
7.16887 + dgux*)
7.16888 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.16889 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
7.16890 + hardcode_shlibpath_var_GCJ=no
7.16891 + ;;
7.16892 +
7.16893 + freebsd1*)
7.16894 + ld_shlibs_GCJ=no
7.16895 + ;;
7.16896 +
7.16897 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7.16898 + # support. Future versions do this automatically, but an explicit c++rt0.o
7.16899 + # does not break anything, and helps significantly (at the cost of a little
7.16900 + # extra space).
7.16901 + freebsd2.2*)
7.16902 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7.16903 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
7.16904 + hardcode_direct_GCJ=yes
7.16905 + hardcode_shlibpath_var_GCJ=no
7.16906 + ;;
7.16907 +
7.16908 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7.16909 + freebsd2*)
7.16910 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7.16911 + hardcode_direct_GCJ=yes
7.16912 + hardcode_minus_L_GCJ=yes
7.16913 + hardcode_shlibpath_var_GCJ=no
7.16914 + ;;
7.16915 +
7.16916 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7.16917 + freebsd* | kfreebsd*-gnu | dragonfly*)
7.16918 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7.16919 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
7.16920 + hardcode_direct_GCJ=yes
7.16921 + hardcode_shlibpath_var_GCJ=no
7.16922 + ;;
7.16923 +
7.16924 + hpux9*)
7.16925 + if test "$GCC" = yes; then
7.16926 + 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'
7.16927 + else
7.16928 + 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'
7.16929 + fi
7.16930 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
7.16931 + hardcode_libdir_separator_GCJ=:
7.16932 + hardcode_direct_GCJ=yes
7.16933 +
7.16934 + # hardcode_minus_L: Not really in the search PATH,
7.16935 + # but as the default location of the library.
7.16936 + hardcode_minus_L_GCJ=yes
7.16937 + export_dynamic_flag_spec_GCJ='${wl}-E'
7.16938 + ;;
7.16939 +
7.16940 + hpux10* | hpux11*)
7.16941 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7.16942 + case $host_cpu in
7.16943 + hppa*64*|ia64*)
7.16944 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.16945 + ;;
7.16946 + *)
7.16947 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7.16948 + ;;
7.16949 + esac
7.16950 + else
7.16951 + case $host_cpu in
7.16952 + hppa*64*|ia64*)
7.16953 + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7.16954 + ;;
7.16955 + *)
7.16956 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7.16957 + ;;
7.16958 + esac
7.16959 + fi
7.16960 + if test "$with_gnu_ld" = no; then
7.16961 + case $host_cpu in
7.16962 + hppa*64*)
7.16963 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
7.16964 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
7.16965 + hardcode_libdir_separator_GCJ=:
7.16966 + hardcode_direct_GCJ=no
7.16967 + hardcode_shlibpath_var_GCJ=no
7.16968 + ;;
7.16969 + ia64*)
7.16970 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
7.16971 + hardcode_direct_GCJ=no
7.16972 + hardcode_shlibpath_var_GCJ=no
7.16973 +
7.16974 + # hardcode_minus_L: Not really in the search PATH,
7.16975 + # but as the default location of the library.
7.16976 + hardcode_minus_L_GCJ=yes
7.16977 + ;;
7.16978 + *)
7.16979 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
7.16980 + hardcode_libdir_separator_GCJ=:
7.16981 + hardcode_direct_GCJ=yes
7.16982 + export_dynamic_flag_spec_GCJ='${wl}-E'
7.16983 +
7.16984 + # hardcode_minus_L: Not really in the search PATH,
7.16985 + # but as the default location of the library.
7.16986 + hardcode_minus_L_GCJ=yes
7.16987 + ;;
7.16988 + esac
7.16989 + fi
7.16990 + ;;
7.16991 +
7.16992 + irix5* | irix6* | nonstopux*)
7.16993 + if test "$GCC" = yes; then
7.16994 + 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'
7.16995 + else
7.16996 + 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'
7.16997 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
7.16998 + fi
7.16999 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
7.17000 + hardcode_libdir_separator_GCJ=:
7.17001 + link_all_deplibs_GCJ=yes
7.17002 + ;;
7.17003 +
7.17004 + netbsd*)
7.17005 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7.17006 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7.17007 + else
7.17008 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7.17009 + fi
7.17010 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
7.17011 + hardcode_direct_GCJ=yes
7.17012 + hardcode_shlibpath_var_GCJ=no
7.17013 + ;;
7.17014 +
7.17015 + newsos6)
7.17016 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.17017 + hardcode_direct_GCJ=yes
7.17018 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
7.17019 + hardcode_libdir_separator_GCJ=:
7.17020 + hardcode_shlibpath_var_GCJ=no
7.17021 + ;;
7.17022 +
7.17023 + openbsd*)
7.17024 + hardcode_direct_GCJ=yes
7.17025 + hardcode_shlibpath_var_GCJ=no
7.17026 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7.17027 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7.17028 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7.17029 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
7.17030 + export_dynamic_flag_spec_GCJ='${wl}-E'
7.17031 + else
7.17032 + case $host_os in
7.17033 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7.17034 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7.17035 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
7.17036 + ;;
7.17037 + *)
7.17038 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7.17039 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
7.17040 + ;;
7.17041 + esac
7.17042 + fi
7.17043 + ;;
7.17044 +
7.17045 + os2*)
7.17046 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
7.17047 + hardcode_minus_L_GCJ=yes
7.17048 + allow_undefined_flag_GCJ=unsupported
7.17049 + 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'
7.17050 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7.17051 + ;;
7.17052 +
7.17053 + osf3*)
7.17054 + if test "$GCC" = yes; then
7.17055 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
7.17056 + 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'
7.17057 + else
7.17058 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
7.17059 + 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'
7.17060 + fi
7.17061 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
7.17062 + hardcode_libdir_separator_GCJ=:
7.17063 + ;;
7.17064 +
7.17065 + osf4* | osf5*) # as osf3* with the addition of -msym flag
7.17066 + if test "$GCC" = yes; then
7.17067 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
7.17068 + 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'
7.17069 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
7.17070 + else
7.17071 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
7.17072 + 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'
7.17073 + 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~
7.17074 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7.17075 +
7.17076 + # Both c and cxx compiler support -rpath directly
7.17077 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
7.17078 + fi
7.17079 + hardcode_libdir_separator_GCJ=:
7.17080 + ;;
7.17081 +
7.17082 + sco3.2v5*)
7.17083 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.17084 + hardcode_shlibpath_var_GCJ=no
7.17085 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
7.17086 + runpath_var=LD_RUN_PATH
7.17087 + hardcode_runpath_var=yes
7.17088 + ;;
7.17089 +
7.17090 + solaris*)
7.17091 + no_undefined_flag_GCJ=' -z text'
7.17092 + if test "$GCC" = yes; then
7.17093 + wlarc='${wl}'
7.17094 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.17095 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.17096 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7.17097 + else
7.17098 + wlarc=''
7.17099 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.17100 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.17101 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7.17102 + fi
7.17103 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
7.17104 + hardcode_shlibpath_var_GCJ=no
7.17105 + case $host_os in
7.17106 + solaris2.[0-5] | solaris2.[0-5].*) ;;
7.17107 + *)
7.17108 + # The compiler driver will combine linker options so we
7.17109 + # cannot just pass the convience library names through
7.17110 + # without $wl, iff we do not link with $LD.
7.17111 + # Luckily, gcc supports the same syntax we need for Sun Studio.
7.17112 + # Supported since Solaris 2.6 (maybe 2.5.1?)
7.17113 + case $wlarc in
7.17114 + '')
7.17115 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
7.17116 + *)
7.17117 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7.17118 + esac ;;
7.17119 + esac
7.17120 + link_all_deplibs_GCJ=yes
7.17121 + ;;
7.17122 +
7.17123 + sunos4*)
7.17124 + if test "x$host_vendor" = xsequent; then
7.17125 + # Use $CC to link under sequent, because it throws in some extra .o
7.17126 + # files that make .init and .fini sections work.
7.17127 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7.17128 + else
7.17129 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7.17130 + fi
7.17131 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
7.17132 + hardcode_direct_GCJ=yes
7.17133 + hardcode_minus_L_GCJ=yes
7.17134 + hardcode_shlibpath_var_GCJ=no
7.17135 + ;;
7.17136 +
7.17137 + sysv4)
7.17138 + case $host_vendor in
7.17139 + sni)
7.17140 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.17141 + hardcode_direct_GCJ=yes # is this really true???
7.17142 + ;;
7.17143 + siemens)
7.17144 + ## LD is ld it makes a PLAMLIB
7.17145 + ## CC just makes a GrossModule.
7.17146 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7.17147 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
7.17148 + hardcode_direct_GCJ=no
7.17149 + ;;
7.17150 + motorola)
7.17151 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.17152 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
7.17153 + ;;
7.17154 + esac
7.17155 + runpath_var='LD_RUN_PATH'
7.17156 + hardcode_shlibpath_var_GCJ=no
7.17157 + ;;
7.17158 +
7.17159 + sysv4.3*)
7.17160 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.17161 + hardcode_shlibpath_var_GCJ=no
7.17162 + export_dynamic_flag_spec_GCJ='-Bexport'
7.17163 + ;;
7.17164 +
7.17165 + sysv4*MP*)
7.17166 + if test -d /usr/nec; then
7.17167 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.17168 + hardcode_shlibpath_var_GCJ=no
7.17169 + runpath_var=LD_RUN_PATH
7.17170 + hardcode_runpath_var=yes
7.17171 + ld_shlibs_GCJ=yes
7.17172 + fi
7.17173 + ;;
7.17174 +
7.17175 + sysv4.2uw2*)
7.17176 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7.17177 + hardcode_direct_GCJ=yes
7.17178 + hardcode_minus_L_GCJ=no
7.17179 + hardcode_shlibpath_var_GCJ=no
7.17180 + hardcode_runpath_var=yes
7.17181 + runpath_var=LD_RUN_PATH
7.17182 + ;;
7.17183 +
7.17184 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7.17185 + no_undefined_flag_GCJ='${wl}-z ${wl}text'
7.17186 + if test "$GCC" = yes; then
7.17187 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.17188 + else
7.17189 + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7.17190 + fi
7.17191 + runpath_var='LD_RUN_PATH'
7.17192 + hardcode_shlibpath_var_GCJ=no
7.17193 + ;;
7.17194 +
7.17195 + sysv5*)
7.17196 + no_undefined_flag_GCJ=' -z text'
7.17197 + # $CC -shared without GNU ld will not create a library from C++
7.17198 + # object files and a static libstdc++, better avoid it by now
7.17199 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.17200 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7.17201 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7.17202 + hardcode_libdir_flag_spec_GCJ=
7.17203 + hardcode_shlibpath_var_GCJ=no
7.17204 + runpath_var='LD_RUN_PATH'
7.17205 + ;;
7.17206 +
7.17207 + uts4*)
7.17208 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7.17209 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
7.17210 + hardcode_shlibpath_var_GCJ=no
7.17211 + ;;
7.17212 +
7.17213 + *)
7.17214 + ld_shlibs_GCJ=no
7.17215 + ;;
7.17216 + esac
7.17217 + fi
7.17218 +
7.17219 +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
7.17220 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6
7.17221 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
7.17222 +
7.17223 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7.17224 +if test "$GCC" = yes; then
7.17225 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7.17226 +fi
7.17227 +
7.17228 +#
7.17229 +# Do we need to explicitly link libc?
7.17230 +#
7.17231 +case "x$archive_cmds_need_lc_GCJ" in
7.17232 +x|xyes)
7.17233 + # Assume -lc should be added
7.17234 + archive_cmds_need_lc_GCJ=yes
7.17235 +
7.17236 + if test "$enable_shared" = yes && test "$GCC" = yes; then
7.17237 + case $archive_cmds_GCJ in
7.17238 + *'~'*)
7.17239 + # FIXME: we may have to deal with multi-command sequences.
7.17240 + ;;
7.17241 + '$CC '*)
7.17242 + # Test whether the compiler implicitly links with -lc since on some
7.17243 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
7.17244 + # to ld, don't add -lc before -lgcc.
7.17245 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7.17246 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7.17247 + $rm conftest*
7.17248 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7.17249 +
7.17250 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.17251 + (eval $ac_compile) 2>&5
7.17252 + ac_status=$?
7.17253 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.17254 + (exit $ac_status); } 2>conftest.err; then
7.17255 + soname=conftest
7.17256 + lib=conftest
7.17257 + libobjs=conftest.$ac_objext
7.17258 + deplibs=
7.17259 + wl=$lt_prog_compiler_wl_GCJ
7.17260 + compiler_flags=-v
7.17261 + linker_flags=-v
7.17262 + verstring=
7.17263 + output_objdir=.
7.17264 + libname=conftest
7.17265 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
7.17266 + allow_undefined_flag_GCJ=
7.17267 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7.17268 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7.17269 + ac_status=$?
7.17270 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.17271 + (exit $ac_status); }
7.17272 + then
7.17273 + archive_cmds_need_lc_GCJ=no
7.17274 + else
7.17275 + archive_cmds_need_lc_GCJ=yes
7.17276 + fi
7.17277 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
7.17278 + else
7.17279 + cat conftest.err 1>&5
7.17280 + fi
7.17281 + $rm conftest*
7.17282 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
7.17283 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
7.17284 + ;;
7.17285 + esac
7.17286 + fi
7.17287 + ;;
7.17288 +esac
7.17289 +
7.17290 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7.17291 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7.17292 +library_names_spec=
7.17293 +libname_spec='lib$name'
7.17294 +soname_spec=
7.17295 +shrext_cmds=".so"
7.17296 +postinstall_cmds=
7.17297 +postuninstall_cmds=
7.17298 +finish_cmds=
7.17299 +finish_eval=
7.17300 +shlibpath_var=
7.17301 +shlibpath_overrides_runpath=unknown
7.17302 +version_type=none
7.17303 +dynamic_linker="$host_os ld.so"
7.17304 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
7.17305 +if test "$GCC" = yes; then
7.17306 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7.17307 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7.17308 + # if the path contains ";" then we assume it to be the separator
7.17309 + # otherwise default to the standard path separator (i.e. ":") - it is
7.17310 + # assumed that no part of a normal pathname contains ";" but that should
7.17311 + # okay in the real world where ";" in dirpaths is itself problematic.
7.17312 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7.17313 + else
7.17314 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7.17315 + fi
7.17316 +else
7.17317 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7.17318 +fi
7.17319 +need_lib_prefix=unknown
7.17320 +hardcode_into_libs=no
7.17321 +
7.17322 +# when you set need_version to no, make sure it does not cause -set_version
7.17323 +# flags to be left without arguments
7.17324 +need_version=unknown
7.17325 +
7.17326 +case $host_os in
7.17327 +aix3*)
7.17328 + version_type=linux
7.17329 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7.17330 + shlibpath_var=LIBPATH
7.17331 +
7.17332 + # AIX 3 has no versioning support, so we append a major version to the name.
7.17333 + soname_spec='${libname}${release}${shared_ext}$major'
7.17334 + ;;
7.17335 +
7.17336 +aix4* | aix5*)
7.17337 + version_type=linux
7.17338 + need_lib_prefix=no
7.17339 + need_version=no
7.17340 + hardcode_into_libs=yes
7.17341 + if test "$host_cpu" = ia64; then
7.17342 + # AIX 5 supports IA64
7.17343 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7.17344 + shlibpath_var=LD_LIBRARY_PATH
7.17345 + else
7.17346 + # With GCC up to 2.95.x, collect2 would create an import file
7.17347 + # for dependence libraries. The import file would start with
7.17348 + # the line `#! .'. This would cause the generated library to
7.17349 + # depend on `.', always an invalid library. This was fixed in
7.17350 + # development snapshots of GCC prior to 3.0.
7.17351 + case $host_os in
7.17352 + aix4 | aix4.[01] | aix4.[01].*)
7.17353 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7.17354 + echo ' yes '
7.17355 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7.17356 + :
7.17357 + else
7.17358 + can_build_shared=no
7.17359 + fi
7.17360 + ;;
7.17361 + esac
7.17362 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7.17363 + # soname into executable. Probably we can add versioning support to
7.17364 + # collect2, so additional links can be useful in future.
7.17365 + if test "$aix_use_runtimelinking" = yes; then
7.17366 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7.17367 + # instead of lib<name>.a to let people know that these are not
7.17368 + # typical AIX shared libraries.
7.17369 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17370 + else
7.17371 + # We preserve .a as extension for shared libraries through AIX4.2
7.17372 + # and later when we are not doing run time linking.
7.17373 + library_names_spec='${libname}${release}.a $libname.a'
7.17374 + soname_spec='${libname}${release}${shared_ext}$major'
7.17375 + fi
7.17376 + shlibpath_var=LIBPATH
7.17377 + fi
7.17378 + ;;
7.17379 +
7.17380 +amigaos*)
7.17381 + library_names_spec='$libname.ixlibrary $libname.a'
7.17382 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
7.17383 + 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'
7.17384 + ;;
7.17385 +
7.17386 +beos*)
7.17387 + library_names_spec='${libname}${shared_ext}'
7.17388 + dynamic_linker="$host_os ld.so"
7.17389 + shlibpath_var=LIBRARY_PATH
7.17390 + ;;
7.17391 +
7.17392 +bsdi[45]*)
7.17393 + version_type=linux
7.17394 + need_version=no
7.17395 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17396 + soname_spec='${libname}${release}${shared_ext}$major'
7.17397 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7.17398 + shlibpath_var=LD_LIBRARY_PATH
7.17399 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7.17400 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7.17401 + # the default ld.so.conf also contains /usr/contrib/lib and
7.17402 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7.17403 + # libtool to hard-code these into programs
7.17404 + ;;
7.17405 +
7.17406 +cygwin* | mingw* | pw32*)
7.17407 + version_type=windows
7.17408 + shrext_cmds=".dll"
7.17409 + need_version=no
7.17410 + need_lib_prefix=no
7.17411 +
7.17412 + case $GCC,$host_os in
7.17413 + yes,cygwin* | yes,mingw* | yes,pw32*)
7.17414 + library_names_spec='$libname.dll.a'
7.17415 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
7.17416 + postinstall_cmds='base_file=`basename \${file}`~
7.17417 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7.17418 + dldir=$destdir/`dirname \$dlpath`~
7.17419 + test -d \$dldir || mkdir -p \$dldir~
7.17420 + $install_prog $dir/$dlname \$dldir/$dlname~
7.17421 + chmod a+x \$dldir/$dlname'
7.17422 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7.17423 + dlpath=$dir/\$dldll~
7.17424 + $rm \$dlpath'
7.17425 + shlibpath_overrides_runpath=yes
7.17426 +
7.17427 + case $host_os in
7.17428 + cygwin*)
7.17429 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7.17430 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.17431 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
7.17432 + ;;
7.17433 + mingw*)
7.17434 + # MinGW DLLs use traditional 'lib' prefix
7.17435 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.17436 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7.17437 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7.17438 + # It is most probably a Windows format PATH printed by
7.17439 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
7.17440 + # path with ; separators, and with drive letters. We can handle the
7.17441 + # drive letters (cygwin fileutils understands them), so leave them,
7.17442 + # especially as we might pass files found there to a mingw objdump,
7.17443 + # which wouldn't understand a cygwinified path. Ahh.
7.17444 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7.17445 + else
7.17446 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7.17447 + fi
7.17448 + ;;
7.17449 + pw32*)
7.17450 + # pw32 DLLs use 'pw' prefix rather than 'lib'
7.17451 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7.17452 + ;;
7.17453 + esac
7.17454 + ;;
7.17455 +
7.17456 + *)
7.17457 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7.17458 + ;;
7.17459 + esac
7.17460 + dynamic_linker='Win32 ld.exe'
7.17461 + # FIXME: first we should search . and the directory the executable is in
7.17462 + shlibpath_var=PATH
7.17463 + ;;
7.17464 +
7.17465 +darwin* | rhapsody*)
7.17466 + dynamic_linker="$host_os dyld"
7.17467 + version_type=darwin
7.17468 + need_lib_prefix=no
7.17469 + need_version=no
7.17470 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7.17471 + soname_spec='${libname}${release}${major}$shared_ext'
7.17472 + shlibpath_overrides_runpath=yes
7.17473 + shlibpath_var=DYLD_LIBRARY_PATH
7.17474 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7.17475 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7.17476 + if test "$GCC" = yes; then
7.17477 + 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"`
7.17478 + else
7.17479 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7.17480 + fi
7.17481 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7.17482 + ;;
7.17483 +
7.17484 +dgux*)
7.17485 + version_type=linux
7.17486 + need_lib_prefix=no
7.17487 + need_version=no
7.17488 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7.17489 + soname_spec='${libname}${release}${shared_ext}$major'
7.17490 + shlibpath_var=LD_LIBRARY_PATH
7.17491 + ;;
7.17492 +
7.17493 +freebsd1*)
7.17494 + dynamic_linker=no
7.17495 + ;;
7.17496 +
7.17497 +kfreebsd*-gnu)
7.17498 + version_type=linux
7.17499 + need_lib_prefix=no
7.17500 + need_version=no
7.17501 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.17502 + soname_spec='${libname}${release}${shared_ext}$major'
7.17503 + shlibpath_var=LD_LIBRARY_PATH
7.17504 + shlibpath_overrides_runpath=no
7.17505 + hardcode_into_libs=yes
7.17506 + dynamic_linker='GNU ld.so'
7.17507 + ;;
7.17508 +
7.17509 +freebsd* | dragonfly*)
7.17510 + # DragonFly does not have aout. When/if they implement a new
7.17511 + # versioning mechanism, adjust this.
7.17512 + if test -x /usr/bin/objformat; then
7.17513 + objformat=`/usr/bin/objformat`
7.17514 + else
7.17515 + case $host_os in
7.17516 + freebsd[123]*) objformat=aout ;;
7.17517 + *) objformat=elf ;;
7.17518 + esac
7.17519 + fi
7.17520 + version_type=freebsd-$objformat
7.17521 + case $version_type in
7.17522 + freebsd-elf*)
7.17523 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7.17524 + need_version=no
7.17525 + need_lib_prefix=no
7.17526 + ;;
7.17527 + freebsd-*)
7.17528 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7.17529 + need_version=yes
7.17530 + ;;
7.17531 + esac
7.17532 + shlibpath_var=LD_LIBRARY_PATH
7.17533 + case $host_os in
7.17534 + freebsd2*)
7.17535 + shlibpath_overrides_runpath=yes
7.17536 + ;;
7.17537 + freebsd3.[01]* | freebsdelf3.[01]*)
7.17538 + shlibpath_overrides_runpath=yes
7.17539 + hardcode_into_libs=yes
7.17540 + ;;
7.17541 + *) # from 3.2 on
7.17542 + shlibpath_overrides_runpath=no
7.17543 + hardcode_into_libs=yes
7.17544 + ;;
7.17545 + esac
7.17546 + ;;
7.17547 +
7.17548 +gnu*)
7.17549 + version_type=linux
7.17550 + need_lib_prefix=no
7.17551 + need_version=no
7.17552 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7.17553 + soname_spec='${libname}${release}${shared_ext}$major'
7.17554 + shlibpath_var=LD_LIBRARY_PATH
7.17555 + hardcode_into_libs=yes
7.17556 + ;;
7.17557 +
7.17558 +hpux9* | hpux10* | hpux11*)
7.17559 + # Give a soname corresponding to the major version so that dld.sl refuses to
7.17560 + # link against other versions.
7.17561 + version_type=sunos
7.17562 + need_lib_prefix=no
7.17563 + need_version=no
7.17564 + case $host_cpu in
7.17565 + ia64*)
7.17566 + shrext_cmds='.so'
7.17567 + hardcode_into_libs=yes
7.17568 + dynamic_linker="$host_os dld.so"
7.17569 + shlibpath_var=LD_LIBRARY_PATH
7.17570 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7.17571 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17572 + soname_spec='${libname}${release}${shared_ext}$major'
7.17573 + if test "X$HPUX_IA64_MODE" = X32; then
7.17574 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7.17575 + else
7.17576 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7.17577 + fi
7.17578 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7.17579 + ;;
7.17580 + hppa*64*)
7.17581 + shrext_cmds='.sl'
7.17582 + hardcode_into_libs=yes
7.17583 + dynamic_linker="$host_os dld.sl"
7.17584 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7.17585 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7.17586 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17587 + soname_spec='${libname}${release}${shared_ext}$major'
7.17588 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7.17589 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7.17590 + ;;
7.17591 + *)
7.17592 + shrext_cmds='.sl'
7.17593 + dynamic_linker="$host_os dld.sl"
7.17594 + shlibpath_var=SHLIB_PATH
7.17595 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7.17596 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17597 + soname_spec='${libname}${release}${shared_ext}$major'
7.17598 + ;;
7.17599 + esac
7.17600 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
7.17601 + postinstall_cmds='chmod 555 $lib'
7.17602 + ;;
7.17603 +
7.17604 +irix5* | irix6* | nonstopux*)
7.17605 + case $host_os in
7.17606 + nonstopux*) version_type=nonstopux ;;
7.17607 + *)
7.17608 + if test "$lt_cv_prog_gnu_ld" = yes; then
7.17609 + version_type=linux
7.17610 + else
7.17611 + version_type=irix
7.17612 + fi ;;
7.17613 + esac
7.17614 + need_lib_prefix=no
7.17615 + need_version=no
7.17616 + soname_spec='${libname}${release}${shared_ext}$major'
7.17617 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7.17618 + case $host_os in
7.17619 + irix5* | nonstopux*)
7.17620 + libsuff= shlibsuff=
7.17621 + ;;
7.17622 + *)
7.17623 + case $LD in # libtool.m4 will add one of these switches to LD
7.17624 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7.17625 + libsuff= shlibsuff= libmagic=32-bit;;
7.17626 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7.17627 + libsuff=32 shlibsuff=N32 libmagic=N32;;
7.17628 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7.17629 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
7.17630 + *) libsuff= shlibsuff= libmagic=never-match;;
7.17631 + esac
7.17632 + ;;
7.17633 + esac
7.17634 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7.17635 + shlibpath_overrides_runpath=no
7.17636 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7.17637 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7.17638 + hardcode_into_libs=yes
7.17639 + ;;
7.17640 +
7.17641 +# No shared lib support for Linux oldld, aout, or coff.
7.17642 +linux*oldld* | linux*aout* | linux*coff*)
7.17643 + dynamic_linker=no
7.17644 + ;;
7.17645 +
7.17646 +# This must be Linux ELF.
7.17647 +linux*)
7.17648 + version_type=linux
7.17649 + need_lib_prefix=no
7.17650 + need_version=no
7.17651 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17652 + soname_spec='${libname}${release}${shared_ext}$major'
7.17653 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7.17654 + shlibpath_var=LD_LIBRARY_PATH
7.17655 + shlibpath_overrides_runpath=no
7.17656 + # This implies no fast_install, which is unacceptable.
7.17657 + # Some rework will be needed to allow for fast_install
7.17658 + # before this can be enabled.
7.17659 + hardcode_into_libs=yes
7.17660 +
7.17661 + # Append ld.so.conf contents to the search path
7.17662 + if test -f /etc/ld.so.conf; then
7.17663 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
7.17664 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7.17665 + fi
7.17666 +
7.17667 + # We used to test for /lib/ld.so.1 and disable shared libraries on
7.17668 + # powerpc, because MkLinux only supported shared libraries with the
7.17669 + # GNU dynamic linker. Since this was broken with cross compilers,
7.17670 + # most powerpc-linux boxes support dynamic linking these days and
7.17671 + # people can always --disable-shared, the test was removed, and we
7.17672 + # assume the GNU/Linux dynamic linker is in use.
7.17673 + dynamic_linker='GNU/Linux ld.so'
7.17674 + ;;
7.17675 +
7.17676 +knetbsd*-gnu)
7.17677 + version_type=linux
7.17678 + need_lib_prefix=no
7.17679 + need_version=no
7.17680 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.17681 + soname_spec='${libname}${release}${shared_ext}$major'
7.17682 + shlibpath_var=LD_LIBRARY_PATH
7.17683 + shlibpath_overrides_runpath=no
7.17684 + hardcode_into_libs=yes
7.17685 + dynamic_linker='GNU ld.so'
7.17686 + ;;
7.17687 +
7.17688 +netbsd*)
7.17689 + version_type=sunos
7.17690 + need_lib_prefix=no
7.17691 + need_version=no
7.17692 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7.17693 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.17694 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7.17695 + dynamic_linker='NetBSD (a.out) ld.so'
7.17696 + else
7.17697 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7.17698 + soname_spec='${libname}${release}${shared_ext}$major'
7.17699 + dynamic_linker='NetBSD ld.elf_so'
7.17700 + fi
7.17701 + shlibpath_var=LD_LIBRARY_PATH
7.17702 + shlibpath_overrides_runpath=yes
7.17703 + hardcode_into_libs=yes
7.17704 + ;;
7.17705 +
7.17706 +newsos6)
7.17707 + version_type=linux
7.17708 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17709 + shlibpath_var=LD_LIBRARY_PATH
7.17710 + shlibpath_overrides_runpath=yes
7.17711 + ;;
7.17712 +
7.17713 +nto-qnx*)
7.17714 + version_type=linux
7.17715 + need_lib_prefix=no
7.17716 + need_version=no
7.17717 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17718 + soname_spec='${libname}${release}${shared_ext}$major'
7.17719 + shlibpath_var=LD_LIBRARY_PATH
7.17720 + shlibpath_overrides_runpath=yes
7.17721 + ;;
7.17722 +
7.17723 +openbsd*)
7.17724 + version_type=sunos
7.17725 + need_lib_prefix=no
7.17726 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
7.17727 + case $host_os in
7.17728 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
7.17729 + *) need_version=no ;;
7.17730 + esac
7.17731 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.17732 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7.17733 + shlibpath_var=LD_LIBRARY_PATH
7.17734 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7.17735 + case $host_os in
7.17736 + openbsd2.[89] | openbsd2.[89].*)
7.17737 + shlibpath_overrides_runpath=no
7.17738 + ;;
7.17739 + *)
7.17740 + shlibpath_overrides_runpath=yes
7.17741 + ;;
7.17742 + esac
7.17743 + else
7.17744 + shlibpath_overrides_runpath=yes
7.17745 + fi
7.17746 + ;;
7.17747 +
7.17748 +os2*)
7.17749 + libname_spec='$name'
7.17750 + shrext_cmds=".dll"
7.17751 + need_lib_prefix=no
7.17752 + library_names_spec='$libname${shared_ext} $libname.a'
7.17753 + dynamic_linker='OS/2 ld.exe'
7.17754 + shlibpath_var=LIBPATH
7.17755 + ;;
7.17756 +
7.17757 +osf3* | osf4* | osf5*)
7.17758 + version_type=osf
7.17759 + need_lib_prefix=no
7.17760 + need_version=no
7.17761 + soname_spec='${libname}${release}${shared_ext}$major'
7.17762 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17763 + shlibpath_var=LD_LIBRARY_PATH
7.17764 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7.17765 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7.17766 + ;;
7.17767 +
7.17768 +sco3.2v5*)
7.17769 + version_type=osf
7.17770 + soname_spec='${libname}${release}${shared_ext}$major'
7.17771 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17772 + shlibpath_var=LD_LIBRARY_PATH
7.17773 + ;;
7.17774 +
7.17775 +solaris*)
7.17776 + version_type=linux
7.17777 + need_lib_prefix=no
7.17778 + need_version=no
7.17779 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17780 + soname_spec='${libname}${release}${shared_ext}$major'
7.17781 + shlibpath_var=LD_LIBRARY_PATH
7.17782 + shlibpath_overrides_runpath=yes
7.17783 + hardcode_into_libs=yes
7.17784 + # ldd complains unless libraries are executable
7.17785 + postinstall_cmds='chmod +x $lib'
7.17786 + ;;
7.17787 +
7.17788 +sunos4*)
7.17789 + version_type=sunos
7.17790 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7.17791 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7.17792 + shlibpath_var=LD_LIBRARY_PATH
7.17793 + shlibpath_overrides_runpath=yes
7.17794 + if test "$with_gnu_ld" = yes; then
7.17795 + need_lib_prefix=no
7.17796 + fi
7.17797 + need_version=yes
7.17798 + ;;
7.17799 +
7.17800 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7.17801 + version_type=linux
7.17802 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17803 + soname_spec='${libname}${release}${shared_ext}$major'
7.17804 + shlibpath_var=LD_LIBRARY_PATH
7.17805 + case $host_vendor in
7.17806 + sni)
7.17807 + shlibpath_overrides_runpath=no
7.17808 + need_lib_prefix=no
7.17809 + export_dynamic_flag_spec='${wl}-Blargedynsym'
7.17810 + runpath_var=LD_RUN_PATH
7.17811 + ;;
7.17812 + siemens)
7.17813 + need_lib_prefix=no
7.17814 + ;;
7.17815 + motorola)
7.17816 + need_lib_prefix=no
7.17817 + need_version=no
7.17818 + shlibpath_overrides_runpath=no
7.17819 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7.17820 + ;;
7.17821 + esac
7.17822 + ;;
7.17823 +
7.17824 +sysv4*MP*)
7.17825 + if test -d /usr/nec ;then
7.17826 + version_type=linux
7.17827 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
7.17828 + soname_spec='$libname${shared_ext}.$major'
7.17829 + shlibpath_var=LD_LIBRARY_PATH
7.17830 + fi
7.17831 + ;;
7.17832 +
7.17833 +uts4*)
7.17834 + version_type=linux
7.17835 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7.17836 + soname_spec='${libname}${release}${shared_ext}$major'
7.17837 + shlibpath_var=LD_LIBRARY_PATH
7.17838 + ;;
7.17839 +
7.17840 +*)
7.17841 + dynamic_linker=no
7.17842 + ;;
7.17843 +esac
7.17844 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7.17845 +echo "${ECHO_T}$dynamic_linker" >&6
7.17846 +test "$dynamic_linker" = no && can_build_shared=no
7.17847 +
7.17848 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7.17849 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7.17850 +hardcode_action_GCJ=
7.17851 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
7.17852 + test -n "$runpath_var_GCJ" || \
7.17853 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
7.17854 +
7.17855 + # We can hardcode non-existant directories.
7.17856 + if test "$hardcode_direct_GCJ" != no &&
7.17857 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
7.17858 + # have to relink, otherwise we might link with an installed library
7.17859 + # when we should be linking with a yet-to-be-installed one
7.17860 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
7.17861 + test "$hardcode_minus_L_GCJ" != no; then
7.17862 + # Linking always hardcodes the temporary library directory.
7.17863 + hardcode_action_GCJ=relink
7.17864 + else
7.17865 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
7.17866 + hardcode_action_GCJ=immediate
7.17867 + fi
7.17868 +else
7.17869 + # We cannot hardcode anything, or else we can only hardcode existing
7.17870 + # directories.
7.17871 + hardcode_action_GCJ=unsupported
7.17872 +fi
7.17873 +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
7.17874 +echo "${ECHO_T}$hardcode_action_GCJ" >&6
7.17875 +
7.17876 +if test "$hardcode_action_GCJ" = relink; then
7.17877 + # Fast installation is not supported
7.17878 + enable_fast_install=no
7.17879 +elif test "$shlibpath_overrides_runpath" = yes ||
7.17880 + test "$enable_shared" = no; then
7.17881 + # Fast installation is not necessary
7.17882 + enable_fast_install=needless
7.17883 +fi
7.17884 +
7.17885 +striplib=
7.17886 +old_striplib=
7.17887 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7.17888 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7.17889 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7.17890 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7.17891 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7.17892 + echo "$as_me:$LINENO: result: yes" >&5
7.17893 +echo "${ECHO_T}yes" >&6
7.17894 +else
7.17895 +# FIXME - insert some real tests, host_os isn't really good enough
7.17896 + case $host_os in
7.17897 + darwin*)
7.17898 + if test -n "$STRIP" ; then
7.17899 + striplib="$STRIP -x"
7.17900 + echo "$as_me:$LINENO: result: yes" >&5
7.17901 +echo "${ECHO_T}yes" >&6
7.17902 + else
7.17903 + echo "$as_me:$LINENO: result: no" >&5
7.17904 +echo "${ECHO_T}no" >&6
7.17905 +fi
7.17906 + ;;
7.17907 + *)
7.17908 + echo "$as_me:$LINENO: result: no" >&5
7.17909 +echo "${ECHO_T}no" >&6
7.17910 + ;;
7.17911 + esac
7.17912 +fi
7.17913 +
7.17914 +if test "x$enable_dlopen" != xyes; then
7.17915 + enable_dlopen=unknown
7.17916 + enable_dlopen_self=unknown
7.17917 + enable_dlopen_self_static=unknown
7.17918 +else
7.17919 + lt_cv_dlopen=no
7.17920 + lt_cv_dlopen_libs=
7.17921 +
7.17922 + case $host_os in
7.17923 + beos*)
7.17924 + lt_cv_dlopen="load_add_on"
7.17925 + lt_cv_dlopen_libs=
7.17926 + lt_cv_dlopen_self=yes
7.17927 + ;;
7.17928 +
7.17929 + mingw* | pw32*)
7.17930 + lt_cv_dlopen="LoadLibrary"
7.17931 + lt_cv_dlopen_libs=
7.17932 + ;;
7.17933 +
7.17934 + cygwin*)
7.17935 + lt_cv_dlopen="dlopen"
7.17936 + lt_cv_dlopen_libs=
7.17937 + ;;
7.17938 +
7.17939 + darwin*)
7.17940 + # if libdl is installed we need to link against it
7.17941 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7.17942 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7.17943 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7.17944 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.17945 +else
7.17946 + ac_check_lib_save_LIBS=$LIBS
7.17947 +LIBS="-ldl $LIBS"
7.17948 +cat >conftest.$ac_ext <<_ACEOF
7.17949 +/* confdefs.h. */
7.17950 +_ACEOF
7.17951 +cat confdefs.h >>conftest.$ac_ext
7.17952 +cat >>conftest.$ac_ext <<_ACEOF
7.17953 +/* end confdefs.h. */
7.17954 +
7.17955 +/* Override any gcc2 internal prototype to avoid an error. */
7.17956 +#ifdef __cplusplus
7.17957 +extern "C"
7.17958 +#endif
7.17959 +/* We use char because int might match the return type of a gcc2
7.17960 + builtin and then its argument prototype would still apply. */
7.17961 +char dlopen ();
7.17962 +int
7.17963 +main ()
7.17964 +{
7.17965 +dlopen ();
7.17966 + ;
7.17967 + return 0;
7.17968 +}
7.17969 +_ACEOF
7.17970 +rm -f conftest.$ac_objext conftest$ac_exeext
7.17971 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.17972 + (eval $ac_link) 2>conftest.er1
7.17973 + ac_status=$?
7.17974 + grep -v '^ *+' conftest.er1 >conftest.err
7.17975 + rm -f conftest.er1
7.17976 + cat conftest.err >&5
7.17977 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.17978 + (exit $ac_status); } &&
7.17979 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.17980 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.17981 + (eval $ac_try) 2>&5
7.17982 + ac_status=$?
7.17983 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.17984 + (exit $ac_status); }; } &&
7.17985 + { ac_try='test -s conftest$ac_exeext'
7.17986 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.17987 + (eval $ac_try) 2>&5
7.17988 + ac_status=$?
7.17989 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.17990 + (exit $ac_status); }; }; then
7.17991 + ac_cv_lib_dl_dlopen=yes
7.17992 +else
7.17993 + echo "$as_me: failed program was:" >&5
7.17994 +sed 's/^/| /' conftest.$ac_ext >&5
7.17995 +
7.17996 +ac_cv_lib_dl_dlopen=no
7.17997 +fi
7.17998 +rm -f conftest.err conftest.$ac_objext \
7.17999 + conftest$ac_exeext conftest.$ac_ext
7.18000 +LIBS=$ac_check_lib_save_LIBS
7.18001 +fi
7.18002 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7.18003 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7.18004 +if test $ac_cv_lib_dl_dlopen = yes; then
7.18005 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7.18006 +else
7.18007 +
7.18008 + lt_cv_dlopen="dyld"
7.18009 + lt_cv_dlopen_libs=
7.18010 + lt_cv_dlopen_self=yes
7.18011 +
7.18012 +fi
7.18013 +
7.18014 + ;;
7.18015 +
7.18016 + *)
7.18017 + echo "$as_me:$LINENO: checking for shl_load" >&5
7.18018 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7.18019 +if test "${ac_cv_func_shl_load+set}" = set; then
7.18020 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.18021 +else
7.18022 + cat >conftest.$ac_ext <<_ACEOF
7.18023 +/* confdefs.h. */
7.18024 +_ACEOF
7.18025 +cat confdefs.h >>conftest.$ac_ext
7.18026 +cat >>conftest.$ac_ext <<_ACEOF
7.18027 +/* end confdefs.h. */
7.18028 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
7.18029 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
7.18030 +#define shl_load innocuous_shl_load
7.18031 +
7.18032 +/* System header to define __stub macros and hopefully few prototypes,
7.18033 + which can conflict with char shl_load (); below.
7.18034 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.18035 + <limits.h> exists even on freestanding compilers. */
7.18036 +
7.18037 +#ifdef __STDC__
7.18038 +# include <limits.h>
7.18039 +#else
7.18040 +# include <assert.h>
7.18041 +#endif
7.18042 +
7.18043 +#undef shl_load
7.18044 +
7.18045 +/* Override any gcc2 internal prototype to avoid an error. */
7.18046 +#ifdef __cplusplus
7.18047 +extern "C"
7.18048 +{
7.18049 +#endif
7.18050 +/* We use char because int might match the return type of a gcc2
7.18051 + builtin and then its argument prototype would still apply. */
7.18052 +char shl_load ();
7.18053 +/* The GNU C library defines this for functions which it implements
7.18054 + to always fail with ENOSYS. Some functions are actually named
7.18055 + something starting with __ and the normal name is an alias. */
7.18056 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
7.18057 +choke me
7.18058 +#else
7.18059 +char (*f) () = shl_load;
7.18060 +#endif
7.18061 +#ifdef __cplusplus
7.18062 +}
7.18063 +#endif
7.18064 +
7.18065 +int
7.18066 +main ()
7.18067 +{
7.18068 +return f != shl_load;
7.18069 + ;
7.18070 + return 0;
7.18071 +}
7.18072 +_ACEOF
7.18073 +rm -f conftest.$ac_objext conftest$ac_exeext
7.18074 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.18075 + (eval $ac_link) 2>conftest.er1
7.18076 + ac_status=$?
7.18077 + grep -v '^ *+' conftest.er1 >conftest.err
7.18078 + rm -f conftest.er1
7.18079 + cat conftest.err >&5
7.18080 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18081 + (exit $ac_status); } &&
7.18082 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.18083 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18084 + (eval $ac_try) 2>&5
7.18085 + ac_status=$?
7.18086 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18087 + (exit $ac_status); }; } &&
7.18088 + { ac_try='test -s conftest$ac_exeext'
7.18089 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18090 + (eval $ac_try) 2>&5
7.18091 + ac_status=$?
7.18092 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18093 + (exit $ac_status); }; }; then
7.18094 + ac_cv_func_shl_load=yes
7.18095 +else
7.18096 + echo "$as_me: failed program was:" >&5
7.18097 +sed 's/^/| /' conftest.$ac_ext >&5
7.18098 +
7.18099 +ac_cv_func_shl_load=no
7.18100 +fi
7.18101 +rm -f conftest.err conftest.$ac_objext \
7.18102 + conftest$ac_exeext conftest.$ac_ext
7.18103 +fi
7.18104 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7.18105 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7.18106 +if test $ac_cv_func_shl_load = yes; then
7.18107 + lt_cv_dlopen="shl_load"
7.18108 +else
7.18109 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7.18110 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7.18111 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7.18112 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.18113 +else
7.18114 + ac_check_lib_save_LIBS=$LIBS
7.18115 +LIBS="-ldld $LIBS"
7.18116 +cat >conftest.$ac_ext <<_ACEOF
7.18117 +/* confdefs.h. */
7.18118 +_ACEOF
7.18119 +cat confdefs.h >>conftest.$ac_ext
7.18120 +cat >>conftest.$ac_ext <<_ACEOF
7.18121 +/* end confdefs.h. */
7.18122 +
7.18123 +/* Override any gcc2 internal prototype to avoid an error. */
7.18124 +#ifdef __cplusplus
7.18125 +extern "C"
7.18126 +#endif
7.18127 +/* We use char because int might match the return type of a gcc2
7.18128 + builtin and then its argument prototype would still apply. */
7.18129 +char shl_load ();
7.18130 +int
7.18131 +main ()
7.18132 +{
7.18133 +shl_load ();
7.18134 + ;
7.18135 + return 0;
7.18136 +}
7.18137 +_ACEOF
7.18138 +rm -f conftest.$ac_objext conftest$ac_exeext
7.18139 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.18140 + (eval $ac_link) 2>conftest.er1
7.18141 + ac_status=$?
7.18142 + grep -v '^ *+' conftest.er1 >conftest.err
7.18143 + rm -f conftest.er1
7.18144 + cat conftest.err >&5
7.18145 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18146 + (exit $ac_status); } &&
7.18147 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.18148 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18149 + (eval $ac_try) 2>&5
7.18150 + ac_status=$?
7.18151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18152 + (exit $ac_status); }; } &&
7.18153 + { ac_try='test -s conftest$ac_exeext'
7.18154 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18155 + (eval $ac_try) 2>&5
7.18156 + ac_status=$?
7.18157 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18158 + (exit $ac_status); }; }; then
7.18159 + ac_cv_lib_dld_shl_load=yes
7.18160 +else
7.18161 + echo "$as_me: failed program was:" >&5
7.18162 +sed 's/^/| /' conftest.$ac_ext >&5
7.18163 +
7.18164 +ac_cv_lib_dld_shl_load=no
7.18165 +fi
7.18166 +rm -f conftest.err conftest.$ac_objext \
7.18167 + conftest$ac_exeext conftest.$ac_ext
7.18168 +LIBS=$ac_check_lib_save_LIBS
7.18169 +fi
7.18170 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7.18171 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7.18172 +if test $ac_cv_lib_dld_shl_load = yes; then
7.18173 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
7.18174 +else
7.18175 + echo "$as_me:$LINENO: checking for dlopen" >&5
7.18176 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
7.18177 +if test "${ac_cv_func_dlopen+set}" = set; then
7.18178 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.18179 +else
7.18180 + cat >conftest.$ac_ext <<_ACEOF
7.18181 +/* confdefs.h. */
7.18182 +_ACEOF
7.18183 +cat confdefs.h >>conftest.$ac_ext
7.18184 +cat >>conftest.$ac_ext <<_ACEOF
7.18185 +/* end confdefs.h. */
7.18186 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
7.18187 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
7.18188 +#define dlopen innocuous_dlopen
7.18189 +
7.18190 +/* System header to define __stub macros and hopefully few prototypes,
7.18191 + which can conflict with char dlopen (); below.
7.18192 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.18193 + <limits.h> exists even on freestanding compilers. */
7.18194 +
7.18195 +#ifdef __STDC__
7.18196 +# include <limits.h>
7.18197 +#else
7.18198 +# include <assert.h>
7.18199 +#endif
7.18200 +
7.18201 +#undef dlopen
7.18202 +
7.18203 +/* Override any gcc2 internal prototype to avoid an error. */
7.18204 +#ifdef __cplusplus
7.18205 +extern "C"
7.18206 +{
7.18207 +#endif
7.18208 +/* We use char because int might match the return type of a gcc2
7.18209 + builtin and then its argument prototype would still apply. */
7.18210 +char dlopen ();
7.18211 +/* The GNU C library defines this for functions which it implements
7.18212 + to always fail with ENOSYS. Some functions are actually named
7.18213 + something starting with __ and the normal name is an alias. */
7.18214 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
7.18215 +choke me
7.18216 +#else
7.18217 +char (*f) () = dlopen;
7.18218 +#endif
7.18219 +#ifdef __cplusplus
7.18220 +}
7.18221 +#endif
7.18222 +
7.18223 +int
7.18224 +main ()
7.18225 +{
7.18226 +return f != dlopen;
7.18227 + ;
7.18228 + return 0;
7.18229 +}
7.18230 +_ACEOF
7.18231 +rm -f conftest.$ac_objext conftest$ac_exeext
7.18232 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.18233 + (eval $ac_link) 2>conftest.er1
7.18234 + ac_status=$?
7.18235 + grep -v '^ *+' conftest.er1 >conftest.err
7.18236 + rm -f conftest.er1
7.18237 + cat conftest.err >&5
7.18238 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18239 + (exit $ac_status); } &&
7.18240 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.18241 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18242 + (eval $ac_try) 2>&5
7.18243 + ac_status=$?
7.18244 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18245 + (exit $ac_status); }; } &&
7.18246 + { ac_try='test -s conftest$ac_exeext'
7.18247 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18248 + (eval $ac_try) 2>&5
7.18249 + ac_status=$?
7.18250 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18251 + (exit $ac_status); }; }; then
7.18252 + ac_cv_func_dlopen=yes
7.18253 +else
7.18254 + echo "$as_me: failed program was:" >&5
7.18255 +sed 's/^/| /' conftest.$ac_ext >&5
7.18256 +
7.18257 +ac_cv_func_dlopen=no
7.18258 +fi
7.18259 +rm -f conftest.err conftest.$ac_objext \
7.18260 + conftest$ac_exeext conftest.$ac_ext
7.18261 +fi
7.18262 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7.18263 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7.18264 +if test $ac_cv_func_dlopen = yes; then
7.18265 + lt_cv_dlopen="dlopen"
7.18266 +else
7.18267 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7.18268 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7.18269 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7.18270 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.18271 +else
7.18272 + ac_check_lib_save_LIBS=$LIBS
7.18273 +LIBS="-ldl $LIBS"
7.18274 +cat >conftest.$ac_ext <<_ACEOF
7.18275 +/* confdefs.h. */
7.18276 +_ACEOF
7.18277 +cat confdefs.h >>conftest.$ac_ext
7.18278 +cat >>conftest.$ac_ext <<_ACEOF
7.18279 +/* end confdefs.h. */
7.18280 +
7.18281 +/* Override any gcc2 internal prototype to avoid an error. */
7.18282 +#ifdef __cplusplus
7.18283 +extern "C"
7.18284 +#endif
7.18285 +/* We use char because int might match the return type of a gcc2
7.18286 + builtin and then its argument prototype would still apply. */
7.18287 +char dlopen ();
7.18288 +int
7.18289 +main ()
7.18290 +{
7.18291 +dlopen ();
7.18292 + ;
7.18293 + return 0;
7.18294 +}
7.18295 +_ACEOF
7.18296 +rm -f conftest.$ac_objext conftest$ac_exeext
7.18297 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.18298 + (eval $ac_link) 2>conftest.er1
7.18299 + ac_status=$?
7.18300 + grep -v '^ *+' conftest.er1 >conftest.err
7.18301 + rm -f conftest.er1
7.18302 + cat conftest.err >&5
7.18303 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18304 + (exit $ac_status); } &&
7.18305 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.18306 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18307 + (eval $ac_try) 2>&5
7.18308 + ac_status=$?
7.18309 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18310 + (exit $ac_status); }; } &&
7.18311 + { ac_try='test -s conftest$ac_exeext'
7.18312 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18313 + (eval $ac_try) 2>&5
7.18314 + ac_status=$?
7.18315 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18316 + (exit $ac_status); }; }; then
7.18317 + ac_cv_lib_dl_dlopen=yes
7.18318 +else
7.18319 + echo "$as_me: failed program was:" >&5
7.18320 +sed 's/^/| /' conftest.$ac_ext >&5
7.18321 +
7.18322 +ac_cv_lib_dl_dlopen=no
7.18323 +fi
7.18324 +rm -f conftest.err conftest.$ac_objext \
7.18325 + conftest$ac_exeext conftest.$ac_ext
7.18326 +LIBS=$ac_check_lib_save_LIBS
7.18327 +fi
7.18328 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7.18329 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7.18330 +if test $ac_cv_lib_dl_dlopen = yes; then
7.18331 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7.18332 +else
7.18333 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7.18334 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7.18335 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7.18336 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.18337 +else
7.18338 + ac_check_lib_save_LIBS=$LIBS
7.18339 +LIBS="-lsvld $LIBS"
7.18340 +cat >conftest.$ac_ext <<_ACEOF
7.18341 +/* confdefs.h. */
7.18342 +_ACEOF
7.18343 +cat confdefs.h >>conftest.$ac_ext
7.18344 +cat >>conftest.$ac_ext <<_ACEOF
7.18345 +/* end confdefs.h. */
7.18346 +
7.18347 +/* Override any gcc2 internal prototype to avoid an error. */
7.18348 +#ifdef __cplusplus
7.18349 +extern "C"
7.18350 +#endif
7.18351 +/* We use char because int might match the return type of a gcc2
7.18352 + builtin and then its argument prototype would still apply. */
7.18353 +char dlopen ();
7.18354 +int
7.18355 +main ()
7.18356 +{
7.18357 +dlopen ();
7.18358 + ;
7.18359 + return 0;
7.18360 +}
7.18361 +_ACEOF
7.18362 +rm -f conftest.$ac_objext conftest$ac_exeext
7.18363 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.18364 + (eval $ac_link) 2>conftest.er1
7.18365 + ac_status=$?
7.18366 + grep -v '^ *+' conftest.er1 >conftest.err
7.18367 + rm -f conftest.er1
7.18368 + cat conftest.err >&5
7.18369 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18370 + (exit $ac_status); } &&
7.18371 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.18372 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18373 + (eval $ac_try) 2>&5
7.18374 + ac_status=$?
7.18375 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18376 + (exit $ac_status); }; } &&
7.18377 + { ac_try='test -s conftest$ac_exeext'
7.18378 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18379 + (eval $ac_try) 2>&5
7.18380 + ac_status=$?
7.18381 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18382 + (exit $ac_status); }; }; then
7.18383 + ac_cv_lib_svld_dlopen=yes
7.18384 +else
7.18385 + echo "$as_me: failed program was:" >&5
7.18386 +sed 's/^/| /' conftest.$ac_ext >&5
7.18387 +
7.18388 +ac_cv_lib_svld_dlopen=no
7.18389 +fi
7.18390 +rm -f conftest.err conftest.$ac_objext \
7.18391 + conftest$ac_exeext conftest.$ac_ext
7.18392 +LIBS=$ac_check_lib_save_LIBS
7.18393 +fi
7.18394 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7.18395 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7.18396 +if test $ac_cv_lib_svld_dlopen = yes; then
7.18397 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
7.18398 +else
7.18399 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
7.18400 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
7.18401 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7.18402 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.18403 +else
7.18404 + ac_check_lib_save_LIBS=$LIBS
7.18405 +LIBS="-ldld $LIBS"
7.18406 +cat >conftest.$ac_ext <<_ACEOF
7.18407 +/* confdefs.h. */
7.18408 +_ACEOF
7.18409 +cat confdefs.h >>conftest.$ac_ext
7.18410 +cat >>conftest.$ac_ext <<_ACEOF
7.18411 +/* end confdefs.h. */
7.18412 +
7.18413 +/* Override any gcc2 internal prototype to avoid an error. */
7.18414 +#ifdef __cplusplus
7.18415 +extern "C"
7.18416 +#endif
7.18417 +/* We use char because int might match the return type of a gcc2
7.18418 + builtin and then its argument prototype would still apply. */
7.18419 +char dld_link ();
7.18420 +int
7.18421 +main ()
7.18422 +{
7.18423 +dld_link ();
7.18424 + ;
7.18425 + return 0;
7.18426 +}
7.18427 +_ACEOF
7.18428 +rm -f conftest.$ac_objext conftest$ac_exeext
7.18429 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.18430 + (eval $ac_link) 2>conftest.er1
7.18431 + ac_status=$?
7.18432 + grep -v '^ *+' conftest.er1 >conftest.err
7.18433 + rm -f conftest.er1
7.18434 + cat conftest.err >&5
7.18435 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18436 + (exit $ac_status); } &&
7.18437 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.18438 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18439 + (eval $ac_try) 2>&5
7.18440 + ac_status=$?
7.18441 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18442 + (exit $ac_status); }; } &&
7.18443 + { ac_try='test -s conftest$ac_exeext'
7.18444 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.18445 + (eval $ac_try) 2>&5
7.18446 + ac_status=$?
7.18447 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18448 + (exit $ac_status); }; }; then
7.18449 + ac_cv_lib_dld_dld_link=yes
7.18450 +else
7.18451 + echo "$as_me: failed program was:" >&5
7.18452 +sed 's/^/| /' conftest.$ac_ext >&5
7.18453 +
7.18454 +ac_cv_lib_dld_dld_link=no
7.18455 +fi
7.18456 +rm -f conftest.err conftest.$ac_objext \
7.18457 + conftest$ac_exeext conftest.$ac_ext
7.18458 +LIBS=$ac_check_lib_save_LIBS
7.18459 +fi
7.18460 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7.18461 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
7.18462 +if test $ac_cv_lib_dld_dld_link = yes; then
7.18463 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
7.18464 +fi
7.18465 +
7.18466 +
7.18467 +fi
7.18468 +
7.18469 +
7.18470 +fi
7.18471 +
7.18472 +
7.18473 +fi
7.18474 +
7.18475 +
7.18476 +fi
7.18477 +
7.18478 +
7.18479 +fi
7.18480 +
7.18481 + ;;
7.18482 + esac
7.18483 +
7.18484 + if test "x$lt_cv_dlopen" != xno; then
7.18485 + enable_dlopen=yes
7.18486 + else
7.18487 + enable_dlopen=no
7.18488 + fi
7.18489 +
7.18490 + case $lt_cv_dlopen in
7.18491 + dlopen)
7.18492 + save_CPPFLAGS="$CPPFLAGS"
7.18493 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
7.18494 +
7.18495 + save_LDFLAGS="$LDFLAGS"
7.18496 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
7.18497 +
7.18498 + save_LIBS="$LIBS"
7.18499 + LIBS="$lt_cv_dlopen_libs $LIBS"
7.18500 +
7.18501 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
7.18502 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
7.18503 +if test "${lt_cv_dlopen_self+set}" = set; then
7.18504 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.18505 +else
7.18506 + if test "$cross_compiling" = yes; then :
7.18507 + lt_cv_dlopen_self=cross
7.18508 +else
7.18509 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7.18510 + lt_status=$lt_dlunknown
7.18511 + cat > conftest.$ac_ext <<EOF
7.18512 +#line __oline__ "configure"
7.18513 +#include "confdefs.h"
7.18514 +
7.18515 +#if HAVE_DLFCN_H
7.18516 +#include <dlfcn.h>
7.18517 +#endif
7.18518 +
7.18519 +#include <stdio.h>
7.18520 +
7.18521 +#ifdef RTLD_GLOBAL
7.18522 +# define LT_DLGLOBAL RTLD_GLOBAL
7.18523 +#else
7.18524 +# ifdef DL_GLOBAL
7.18525 +# define LT_DLGLOBAL DL_GLOBAL
7.18526 +# else
7.18527 +# define LT_DLGLOBAL 0
7.18528 +# endif
7.18529 +#endif
7.18530 +
7.18531 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7.18532 + find out it does not work in some platform. */
7.18533 +#ifndef LT_DLLAZY_OR_NOW
7.18534 +# ifdef RTLD_LAZY
7.18535 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
7.18536 +# else
7.18537 +# ifdef DL_LAZY
7.18538 +# define LT_DLLAZY_OR_NOW DL_LAZY
7.18539 +# else
7.18540 +# ifdef RTLD_NOW
7.18541 +# define LT_DLLAZY_OR_NOW RTLD_NOW
7.18542 +# else
7.18543 +# ifdef DL_NOW
7.18544 +# define LT_DLLAZY_OR_NOW DL_NOW
7.18545 +# else
7.18546 +# define LT_DLLAZY_OR_NOW 0
7.18547 +# endif
7.18548 +# endif
7.18549 +# endif
7.18550 +# endif
7.18551 +#endif
7.18552 +
7.18553 +#ifdef __cplusplus
7.18554 +extern "C" void exit (int);
7.18555 +#endif
7.18556 +
7.18557 +void fnord() { int i=42;}
7.18558 +int main ()
7.18559 +{
7.18560 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7.18561 + int status = $lt_dlunknown;
7.18562 +
7.18563 + if (self)
7.18564 + {
7.18565 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7.18566 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7.18567 + /* dlclose (self); */
7.18568 + }
7.18569 +
7.18570 + exit (status);
7.18571 +}
7.18572 +EOF
7.18573 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.18574 + (eval $ac_link) 2>&5
7.18575 + ac_status=$?
7.18576 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18577 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7.18578 + (./conftest; exit; ) >&5 2>/dev/null
7.18579 + lt_status=$?
7.18580 + case x$lt_status in
7.18581 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
7.18582 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
7.18583 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
7.18584 + esac
7.18585 + else :
7.18586 + # compilation failed
7.18587 + lt_cv_dlopen_self=no
7.18588 + fi
7.18589 +fi
7.18590 +rm -fr conftest*
7.18591 +
7.18592 +
7.18593 +fi
7.18594 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
7.18595 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
7.18596 +
7.18597 + if test "x$lt_cv_dlopen_self" = xyes; then
7.18598 + LDFLAGS="$LDFLAGS $link_static_flag"
7.18599 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
7.18600 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
7.18601 +if test "${lt_cv_dlopen_self_static+set}" = set; then
7.18602 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.18603 +else
7.18604 + if test "$cross_compiling" = yes; then :
7.18605 + lt_cv_dlopen_self_static=cross
7.18606 +else
7.18607 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7.18608 + lt_status=$lt_dlunknown
7.18609 + cat > conftest.$ac_ext <<EOF
7.18610 +#line __oline__ "configure"
7.18611 +#include "confdefs.h"
7.18612 +
7.18613 +#if HAVE_DLFCN_H
7.18614 +#include <dlfcn.h>
7.18615 +#endif
7.18616 +
7.18617 +#include <stdio.h>
7.18618 +
7.18619 +#ifdef RTLD_GLOBAL
7.18620 +# define LT_DLGLOBAL RTLD_GLOBAL
7.18621 +#else
7.18622 +# ifdef DL_GLOBAL
7.18623 +# define LT_DLGLOBAL DL_GLOBAL
7.18624 +# else
7.18625 +# define LT_DLGLOBAL 0
7.18626 +# endif
7.18627 +#endif
7.18628 +
7.18629 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7.18630 + find out it does not work in some platform. */
7.18631 +#ifndef LT_DLLAZY_OR_NOW
7.18632 +# ifdef RTLD_LAZY
7.18633 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
7.18634 +# else
7.18635 +# ifdef DL_LAZY
7.18636 +# define LT_DLLAZY_OR_NOW DL_LAZY
7.18637 +# else
7.18638 +# ifdef RTLD_NOW
7.18639 +# define LT_DLLAZY_OR_NOW RTLD_NOW
7.18640 +# else
7.18641 +# ifdef DL_NOW
7.18642 +# define LT_DLLAZY_OR_NOW DL_NOW
7.18643 +# else
7.18644 +# define LT_DLLAZY_OR_NOW 0
7.18645 +# endif
7.18646 +# endif
7.18647 +# endif
7.18648 +# endif
7.18649 +#endif
7.18650 +
7.18651 +#ifdef __cplusplus
7.18652 +extern "C" void exit (int);
7.18653 +#endif
7.18654 +
7.18655 +void fnord() { int i=42;}
7.18656 +int main ()
7.18657 +{
7.18658 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7.18659 + int status = $lt_dlunknown;
7.18660 +
7.18661 + if (self)
7.18662 + {
7.18663 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7.18664 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7.18665 + /* dlclose (self); */
7.18666 + }
7.18667 +
7.18668 + exit (status);
7.18669 +}
7.18670 +EOF
7.18671 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.18672 + (eval $ac_link) 2>&5
7.18673 + ac_status=$?
7.18674 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.18675 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7.18676 + (./conftest; exit; ) >&5 2>/dev/null
7.18677 + lt_status=$?
7.18678 + case x$lt_status in
7.18679 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
7.18680 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
7.18681 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
7.18682 + esac
7.18683 + else :
7.18684 + # compilation failed
7.18685 + lt_cv_dlopen_self_static=no
7.18686 + fi
7.18687 +fi
7.18688 +rm -fr conftest*
7.18689 +
7.18690 +
7.18691 +fi
7.18692 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
7.18693 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
7.18694 + fi
7.18695 +
7.18696 + CPPFLAGS="$save_CPPFLAGS"
7.18697 + LDFLAGS="$save_LDFLAGS"
7.18698 + LIBS="$save_LIBS"
7.18699 + ;;
7.18700 + esac
7.18701 +
7.18702 + case $lt_cv_dlopen_self in
7.18703 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
7.18704 + *) enable_dlopen_self=unknown ;;
7.18705 + esac
7.18706 +
7.18707 + case $lt_cv_dlopen_self_static in
7.18708 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
7.18709 + *) enable_dlopen_self_static=unknown ;;
7.18710 + esac
7.18711 +fi
7.18712 +
7.18713 +
7.18714 +# The else clause should only fire when bootstrapping the
7.18715 +# libtool distribution, otherwise you forgot to ship ltmain.sh
7.18716 +# with your package, and you will get complaints that there are
7.18717 +# no rules to generate ltmain.sh.
7.18718 +if test -f "$ltmain"; then
7.18719 + # See if we are running on zsh, and set the options which allow our commands through
7.18720 + # without removal of \ escapes.
7.18721 + if test -n "${ZSH_VERSION+set}" ; then
7.18722 + setopt NO_GLOB_SUBST
7.18723 + fi
7.18724 + # Now quote all the things that may contain metacharacters while being
7.18725 + # careful not to overquote the AC_SUBSTed values. We take copies of the
7.18726 + # variables and quote the copies for generation of the libtool script.
7.18727 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
7.18728 + SED SHELL STRIP \
7.18729 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
7.18730 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
7.18731 + deplibs_check_method reload_flag reload_cmds need_locks \
7.18732 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
7.18733 + lt_cv_sys_global_symbol_to_c_name_address \
7.18734 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
7.18735 + old_postinstall_cmds old_postuninstall_cmds \
7.18736 + compiler_GCJ \
7.18737 + CC_GCJ \
7.18738 + LD_GCJ \
7.18739 + lt_prog_compiler_wl_GCJ \
7.18740 + lt_prog_compiler_pic_GCJ \
7.18741 + lt_prog_compiler_static_GCJ \
7.18742 + lt_prog_compiler_no_builtin_flag_GCJ \
7.18743 + export_dynamic_flag_spec_GCJ \
7.18744 + thread_safe_flag_spec_GCJ \
7.18745 + whole_archive_flag_spec_GCJ \
7.18746 + enable_shared_with_static_runtimes_GCJ \
7.18747 + old_archive_cmds_GCJ \
7.18748 + old_archive_from_new_cmds_GCJ \
7.18749 + predep_objects_GCJ \
7.18750 + postdep_objects_GCJ \
7.18751 + predeps_GCJ \
7.18752 + postdeps_GCJ \
7.18753 + compiler_lib_search_path_GCJ \
7.18754 + archive_cmds_GCJ \
7.18755 + archive_expsym_cmds_GCJ \
7.18756 + postinstall_cmds_GCJ \
7.18757 + postuninstall_cmds_GCJ \
7.18758 + old_archive_from_expsyms_cmds_GCJ \
7.18759 + allow_undefined_flag_GCJ \
7.18760 + no_undefined_flag_GCJ \
7.18761 + export_symbols_cmds_GCJ \
7.18762 + hardcode_libdir_flag_spec_GCJ \
7.18763 + hardcode_libdir_flag_spec_ld_GCJ \
7.18764 + hardcode_libdir_separator_GCJ \
7.18765 + hardcode_automatic_GCJ \
7.18766 + module_cmds_GCJ \
7.18767 + module_expsym_cmds_GCJ \
7.18768 + lt_cv_prog_compiler_c_o_GCJ \
7.18769 + exclude_expsyms_GCJ \
7.18770 + include_expsyms_GCJ; do
7.18771 +
7.18772 + case $var in
7.18773 + old_archive_cmds_GCJ | \
7.18774 + old_archive_from_new_cmds_GCJ | \
7.18775 + archive_cmds_GCJ | \
7.18776 + archive_expsym_cmds_GCJ | \
7.18777 + module_cmds_GCJ | \
7.18778 + module_expsym_cmds_GCJ | \
7.18779 + old_archive_from_expsyms_cmds_GCJ | \
7.18780 + export_symbols_cmds_GCJ | \
7.18781 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
7.18782 + postinstall_cmds | postuninstall_cmds | \
7.18783 + old_postinstall_cmds | old_postuninstall_cmds | \
7.18784 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
7.18785 + # Double-quote double-evaled strings.
7.18786 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
7.18787 + ;;
7.18788 + *)
7.18789 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
7.18790 + ;;
7.18791 + esac
7.18792 + done
7.18793 +
7.18794 + case $lt_echo in
7.18795 + *'\$0 --fallback-echo"')
7.18796 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
7.18797 + ;;
7.18798 + esac
7.18799 +
7.18800 +cfgfile="$ofile"
7.18801 +
7.18802 + cat <<__EOF__ >> "$cfgfile"
7.18803 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
7.18804 +
7.18805 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7.18806 +
7.18807 +# Shell to use when invoking shell scripts.
7.18808 +SHELL=$lt_SHELL
7.18809 +
7.18810 +# Whether or not to build shared libraries.
7.18811 +build_libtool_libs=$enable_shared
7.18812 +
7.18813 +# Whether or not to build static libraries.
7.18814 +build_old_libs=$enable_static
7.18815 +
7.18816 +# Whether or not to add -lc for building shared libraries.
7.18817 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
7.18818 +
7.18819 +# Whether or not to disallow shared libs when runtime libs are static
7.18820 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
7.18821 +
7.18822 +# Whether or not to optimize for fast installation.
7.18823 +fast_install=$enable_fast_install
7.18824 +
7.18825 +# The host system.
7.18826 +host_alias=$host_alias
7.18827 +host=$host
7.18828 +host_os=$host_os
7.18829 +
7.18830 +# The build system.
7.18831 +build_alias=$build_alias
7.18832 +build=$build
7.18833 +build_os=$build_os
7.18834 +
7.18835 +# An echo program that does not interpret backslashes.
7.18836 +echo=$lt_echo
7.18837 +
7.18838 +# The archiver.
7.18839 +AR=$lt_AR
7.18840 +AR_FLAGS=$lt_AR_FLAGS
7.18841 +
7.18842 +# A C compiler.
7.18843 +LTCC=$lt_LTCC
7.18844 +
7.18845 +# A language-specific compiler.
7.18846 +CC=$lt_compiler_GCJ
7.18847 +
7.18848 +# Is the compiler the GNU C compiler?
7.18849 +with_gcc=$GCC_GCJ
7.18850 +
7.18851 +# An ERE matcher.
7.18852 +EGREP=$lt_EGREP
7.18853 +
7.18854 +# The linker used to build libraries.
7.18855 +LD=$lt_LD_GCJ
7.18856 +
7.18857 +# Whether we need hard or soft links.
7.18858 +LN_S=$lt_LN_S
7.18859 +
7.18860 +# A BSD-compatible nm program.
7.18861 +NM=$lt_NM
7.18862 +
7.18863 +# A symbol stripping program
7.18864 +STRIP=$lt_STRIP
7.18865 +
7.18866 +# Used to examine libraries when file_magic_cmd begins "file"
7.18867 +MAGIC_CMD=$MAGIC_CMD
7.18868 +
7.18869 +# Used on cygwin: DLL creation program.
7.18870 +DLLTOOL="$DLLTOOL"
7.18871 +
7.18872 +# Used on cygwin: object dumper.
7.18873 +OBJDUMP="$OBJDUMP"
7.18874 +
7.18875 +# Used on cygwin: assembler.
7.18876 +AS="$AS"
7.18877 +
7.18878 +# The name of the directory that contains temporary libtool files.
7.18879 +objdir=$objdir
7.18880 +
7.18881 +# How to create reloadable object files.
7.18882 +reload_flag=$lt_reload_flag
7.18883 +reload_cmds=$lt_reload_cmds
7.18884 +
7.18885 +# How to pass a linker flag through the compiler.
7.18886 +wl=$lt_lt_prog_compiler_wl_GCJ
7.18887 +
7.18888 +# Object file suffix (normally "o").
7.18889 +objext="$ac_objext"
7.18890 +
7.18891 +# Old archive suffix (normally "a").
7.18892 +libext="$libext"
7.18893 +
7.18894 +# Shared library suffix (normally ".so").
7.18895 +shrext_cmds='$shrext_cmds'
7.18896 +
7.18897 +# Executable file suffix (normally "").
7.18898 +exeext="$exeext"
7.18899 +
7.18900 +# Additional compiler flags for building library objects.
7.18901 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
7.18902 +pic_mode=$pic_mode
7.18903 +
7.18904 +# What is the maximum length of a command?
7.18905 +max_cmd_len=$lt_cv_sys_max_cmd_len
7.18906 +
7.18907 +# Does compiler simultaneously support -c and -o options?
7.18908 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
7.18909 +
7.18910 +# Must we lock files when doing compilation?
7.18911 +need_locks=$lt_need_locks
7.18912 +
7.18913 +# Do we need the lib prefix for modules?
7.18914 +need_lib_prefix=$need_lib_prefix
7.18915 +
7.18916 +# Do we need a version for libraries?
7.18917 +need_version=$need_version
7.18918 +
7.18919 +# Whether dlopen is supported.
7.18920 +dlopen_support=$enable_dlopen
7.18921 +
7.18922 +# Whether dlopen of programs is supported.
7.18923 +dlopen_self=$enable_dlopen_self
7.18924 +
7.18925 +# Whether dlopen of statically linked programs is supported.
7.18926 +dlopen_self_static=$enable_dlopen_self_static
7.18927 +
7.18928 +# Compiler flag to prevent dynamic linking.
7.18929 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
7.18930 +
7.18931 +# Compiler flag to turn off builtin functions.
7.18932 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
7.18933 +
7.18934 +# Compiler flag to allow reflexive dlopens.
7.18935 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
7.18936 +
7.18937 +# Compiler flag to generate shared objects directly from archives.
7.18938 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
7.18939 +
7.18940 +# Compiler flag to generate thread-safe objects.
7.18941 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
7.18942 +
7.18943 +# Library versioning type.
7.18944 +version_type=$version_type
7.18945 +
7.18946 +# Format of library name prefix.
7.18947 +libname_spec=$lt_libname_spec
7.18948 +
7.18949 +# List of archive names. First name is the real one, the rest are links.
7.18950 +# The last name is the one that the linker finds with -lNAME.
7.18951 +library_names_spec=$lt_library_names_spec
7.18952 +
7.18953 +# The coded name of the library, if different from the real name.
7.18954 +soname_spec=$lt_soname_spec
7.18955 +
7.18956 +# Commands used to build and install an old-style archive.
7.18957 +RANLIB=$lt_RANLIB
7.18958 +old_archive_cmds=$lt_old_archive_cmds_GCJ
7.18959 +old_postinstall_cmds=$lt_old_postinstall_cmds
7.18960 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
7.18961 +
7.18962 +# Create an old-style archive from a shared archive.
7.18963 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
7.18964 +
7.18965 +# Create a temporary old-style archive to link instead of a shared archive.
7.18966 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
7.18967 +
7.18968 +# Commands used to build and install a shared archive.
7.18969 +archive_cmds=$lt_archive_cmds_GCJ
7.18970 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
7.18971 +postinstall_cmds=$lt_postinstall_cmds
7.18972 +postuninstall_cmds=$lt_postuninstall_cmds
7.18973 +
7.18974 +# Commands used to build a loadable module (assumed same as above if empty)
7.18975 +module_cmds=$lt_module_cmds_GCJ
7.18976 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
7.18977 +
7.18978 +# Commands to strip libraries.
7.18979 +old_striplib=$lt_old_striplib
7.18980 +striplib=$lt_striplib
7.18981 +
7.18982 +# Dependencies to place before the objects being linked to create a
7.18983 +# shared library.
7.18984 +predep_objects=$lt_predep_objects_GCJ
7.18985 +
7.18986 +# Dependencies to place after the objects being linked to create a
7.18987 +# shared library.
7.18988 +postdep_objects=$lt_postdep_objects_GCJ
7.18989 +
7.18990 +# Dependencies to place before the objects being linked to create a
7.18991 +# shared library.
7.18992 +predeps=$lt_predeps_GCJ
7.18993 +
7.18994 +# Dependencies to place after the objects being linked to create a
7.18995 +# shared library.
7.18996 +postdeps=$lt_postdeps_GCJ
7.18997 +
7.18998 +# The library search path used internally by the compiler when linking
7.18999 +# a shared library.
7.19000 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
7.19001 +
7.19002 +# Method to check whether dependent libraries are shared objects.
7.19003 +deplibs_check_method=$lt_deplibs_check_method
7.19004 +
7.19005 +# Command to use when deplibs_check_method == file_magic.
7.19006 +file_magic_cmd=$lt_file_magic_cmd
7.19007 +
7.19008 +# Flag that allows shared libraries with undefined symbols to be built.
7.19009 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
7.19010 +
7.19011 +# Flag that forces no undefined symbols.
7.19012 +no_undefined_flag=$lt_no_undefined_flag_GCJ
7.19013 +
7.19014 +# Commands used to finish a libtool library installation in a directory.
7.19015 +finish_cmds=$lt_finish_cmds
7.19016 +
7.19017 +# Same as above, but a single script fragment to be evaled but not shown.
7.19018 +finish_eval=$lt_finish_eval
7.19019 +
7.19020 +# Take the output of nm and produce a listing of raw symbols and C names.
7.19021 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
7.19022 +
7.19023 +# Transform the output of nm in a proper C declaration
7.19024 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
7.19025 +
7.19026 +# Transform the output of nm in a C name address pair
7.19027 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
7.19028 +
7.19029 +# This is the shared library runtime path variable.
7.19030 +runpath_var=$runpath_var
7.19031 +
7.19032 +# This is the shared library path variable.
7.19033 +shlibpath_var=$shlibpath_var
7.19034 +
7.19035 +# Is shlibpath searched before the hard-coded library search path?
7.19036 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
7.19037 +
7.19038 +# How to hardcode a shared library path into an executable.
7.19039 +hardcode_action=$hardcode_action_GCJ
7.19040 +
7.19041 +# Whether we should hardcode library paths into libraries.
7.19042 +hardcode_into_libs=$hardcode_into_libs
7.19043 +
7.19044 +# Flag to hardcode \$libdir into a binary during linking.
7.19045 +# This must work even if \$libdir does not exist.
7.19046 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
7.19047 +
7.19048 +# If ld is used when linking, flag to hardcode \$libdir into
7.19049 +# a binary during linking. This must work even if \$libdir does
7.19050 +# not exist.
7.19051 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
7.19052 +
7.19053 +# Whether we need a single -rpath flag with a separated argument.
7.19054 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
7.19055 +
7.19056 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
7.19057 +# resulting binary.
7.19058 +hardcode_direct=$hardcode_direct_GCJ
7.19059 +
7.19060 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
7.19061 +# resulting binary.
7.19062 +hardcode_minus_L=$hardcode_minus_L_GCJ
7.19063 +
7.19064 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
7.19065 +# the resulting binary.
7.19066 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
7.19067 +
7.19068 +# Set to yes if building a shared library automatically hardcodes DIR into the library
7.19069 +# and all subsequent libraries and executables linked against it.
7.19070 +hardcode_automatic=$hardcode_automatic_GCJ
7.19071 +
7.19072 +# Variables whose values should be saved in libtool wrapper scripts and
7.19073 +# restored at relink time.
7.19074 +variables_saved_for_relink="$variables_saved_for_relink"
7.19075 +
7.19076 +# Whether libtool must link a program against all its dependency libraries.
7.19077 +link_all_deplibs=$link_all_deplibs_GCJ
7.19078 +
7.19079 +# Compile-time system search path for libraries
7.19080 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
7.19081 +
7.19082 +# Run-time system search path for libraries
7.19083 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
7.19084 +
7.19085 +# Fix the shell variable \$srcfile for the compiler.
7.19086 +fix_srcfile_path="$fix_srcfile_path_GCJ"
7.19087 +
7.19088 +# Set to yes if exported symbols are required.
7.19089 +always_export_symbols=$always_export_symbols_GCJ
7.19090 +
7.19091 +# The commands to list exported symbols.
7.19092 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
7.19093 +
7.19094 +# The commands to extract the exported symbol list from a shared archive.
7.19095 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
7.19096 +
7.19097 +# Symbols that should not be listed in the preloaded symbols.
7.19098 +exclude_expsyms=$lt_exclude_expsyms_GCJ
7.19099 +
7.19100 +# Symbols that must always be exported.
7.19101 +include_expsyms=$lt_include_expsyms_GCJ
7.19102 +
7.19103 +# ### END LIBTOOL TAG CONFIG: $tagname
7.19104 +
7.19105 +__EOF__
7.19106 +
7.19107 +
7.19108 +else
7.19109 + # If there is no Makefile yet, we rely on a make rule to execute
7.19110 + # `config.status --recheck' to rerun these tests and create the
7.19111 + # libtool script then.
7.19112 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
7.19113 + if test -f "$ltmain_in"; then
7.19114 + test -f Makefile && make "$ltmain"
7.19115 + fi
7.19116 +fi
7.19117 +
7.19118 +
7.19119 +ac_ext=c
7.19120 +ac_cpp='$CPP $CPPFLAGS'
7.19121 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.19122 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.19123 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.19124 +
7.19125 +CC="$lt_save_CC"
7.19126 +
7.19127 + else
7.19128 + tagname=""
7.19129 + fi
7.19130 + ;;
7.19131 +
7.19132 + RC)
7.19133 +
7.19134 +
7.19135 +
7.19136 +# Source file extension for RC test sources.
7.19137 +ac_ext=rc
7.19138 +
7.19139 +# Object file extension for compiled RC test sources.
7.19140 +objext=o
7.19141 +objext_RC=$objext
7.19142 +
7.19143 +# Code to be used in simple compile tests
7.19144 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
7.19145 +
7.19146 +# Code to be used in simple link tests
7.19147 +lt_simple_link_test_code="$lt_simple_compile_test_code"
7.19148 +
7.19149 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7.19150 +
7.19151 +# If no C compiler was specified, use CC.
7.19152 +LTCC=${LTCC-"$CC"}
7.19153 +
7.19154 +# Allow CC to be a program name with arguments.
7.19155 +compiler=$CC
7.19156 +
7.19157 +
7.19158 +# save warnings/boilerplate of simple test code
7.19159 +ac_outfile=conftest.$ac_objext
7.19160 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7.19161 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7.19162 +_lt_compiler_boilerplate=`cat conftest.err`
7.19163 +$rm conftest*
7.19164 +
7.19165 +ac_outfile=conftest.$ac_objext
7.19166 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
7.19167 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
7.19168 +_lt_linker_boilerplate=`cat conftest.err`
7.19169 +$rm conftest*
7.19170 +
7.19171 +
7.19172 +# Allow CC to be a program name with arguments.
7.19173 +lt_save_CC="$CC"
7.19174 +CC=${RC-"windres"}
7.19175 +compiler=$CC
7.19176 +compiler_RC=$CC
7.19177 +for cc_temp in $compiler""; do
7.19178 + case $cc_temp in
7.19179 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7.19180 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7.19181 + \-*) ;;
7.19182 + *) break;;
7.19183 + esac
7.19184 +done
7.19185 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7.19186 +
7.19187 +lt_cv_prog_compiler_c_o_RC=yes
7.19188 +
7.19189 +# The else clause should only fire when bootstrapping the
7.19190 +# libtool distribution, otherwise you forgot to ship ltmain.sh
7.19191 +# with your package, and you will get complaints that there are
7.19192 +# no rules to generate ltmain.sh.
7.19193 +if test -f "$ltmain"; then
7.19194 + # See if we are running on zsh, and set the options which allow our commands through
7.19195 + # without removal of \ escapes.
7.19196 + if test -n "${ZSH_VERSION+set}" ; then
7.19197 + setopt NO_GLOB_SUBST
7.19198 + fi
7.19199 + # Now quote all the things that may contain metacharacters while being
7.19200 + # careful not to overquote the AC_SUBSTed values. We take copies of the
7.19201 + # variables and quote the copies for generation of the libtool script.
7.19202 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
7.19203 + SED SHELL STRIP \
7.19204 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
7.19205 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
7.19206 + deplibs_check_method reload_flag reload_cmds need_locks \
7.19207 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
7.19208 + lt_cv_sys_global_symbol_to_c_name_address \
7.19209 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
7.19210 + old_postinstall_cmds old_postuninstall_cmds \
7.19211 + compiler_RC \
7.19212 + CC_RC \
7.19213 + LD_RC \
7.19214 + lt_prog_compiler_wl_RC \
7.19215 + lt_prog_compiler_pic_RC \
7.19216 + lt_prog_compiler_static_RC \
7.19217 + lt_prog_compiler_no_builtin_flag_RC \
7.19218 + export_dynamic_flag_spec_RC \
7.19219 + thread_safe_flag_spec_RC \
7.19220 + whole_archive_flag_spec_RC \
7.19221 + enable_shared_with_static_runtimes_RC \
7.19222 + old_archive_cmds_RC \
7.19223 + old_archive_from_new_cmds_RC \
7.19224 + predep_objects_RC \
7.19225 + postdep_objects_RC \
7.19226 + predeps_RC \
7.19227 + postdeps_RC \
7.19228 + compiler_lib_search_path_RC \
7.19229 + archive_cmds_RC \
7.19230 + archive_expsym_cmds_RC \
7.19231 + postinstall_cmds_RC \
7.19232 + postuninstall_cmds_RC \
7.19233 + old_archive_from_expsyms_cmds_RC \
7.19234 + allow_undefined_flag_RC \
7.19235 + no_undefined_flag_RC \
7.19236 + export_symbols_cmds_RC \
7.19237 + hardcode_libdir_flag_spec_RC \
7.19238 + hardcode_libdir_flag_spec_ld_RC \
7.19239 + hardcode_libdir_separator_RC \
7.19240 + hardcode_automatic_RC \
7.19241 + module_cmds_RC \
7.19242 + module_expsym_cmds_RC \
7.19243 + lt_cv_prog_compiler_c_o_RC \
7.19244 + exclude_expsyms_RC \
7.19245 + include_expsyms_RC; do
7.19246 +
7.19247 + case $var in
7.19248 + old_archive_cmds_RC | \
7.19249 + old_archive_from_new_cmds_RC | \
7.19250 + archive_cmds_RC | \
7.19251 + archive_expsym_cmds_RC | \
7.19252 + module_cmds_RC | \
7.19253 + module_expsym_cmds_RC | \
7.19254 + old_archive_from_expsyms_cmds_RC | \
7.19255 + export_symbols_cmds_RC | \
7.19256 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
7.19257 + postinstall_cmds | postuninstall_cmds | \
7.19258 + old_postinstall_cmds | old_postuninstall_cmds | \
7.19259 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
7.19260 + # Double-quote double-evaled strings.
7.19261 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
7.19262 + ;;
7.19263 + *)
7.19264 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
7.19265 + ;;
7.19266 + esac
7.19267 + done
7.19268 +
7.19269 + case $lt_echo in
7.19270 + *'\$0 --fallback-echo"')
7.19271 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
7.19272 + ;;
7.19273 + esac
7.19274 +
7.19275 +cfgfile="$ofile"
7.19276 +
7.19277 + cat <<__EOF__ >> "$cfgfile"
7.19278 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
7.19279 +
7.19280 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7.19281 +
7.19282 +# Shell to use when invoking shell scripts.
7.19283 +SHELL=$lt_SHELL
7.19284 +
7.19285 +# Whether or not to build shared libraries.
7.19286 +build_libtool_libs=$enable_shared
7.19287 +
7.19288 +# Whether or not to build static libraries.
7.19289 +build_old_libs=$enable_static
7.19290 +
7.19291 +# Whether or not to add -lc for building shared libraries.
7.19292 +build_libtool_need_lc=$archive_cmds_need_lc_RC
7.19293 +
7.19294 +# Whether or not to disallow shared libs when runtime libs are static
7.19295 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
7.19296 +
7.19297 +# Whether or not to optimize for fast installation.
7.19298 +fast_install=$enable_fast_install
7.19299 +
7.19300 +# The host system.
7.19301 +host_alias=$host_alias
7.19302 +host=$host
7.19303 +host_os=$host_os
7.19304 +
7.19305 +# The build system.
7.19306 +build_alias=$build_alias
7.19307 +build=$build
7.19308 +build_os=$build_os
7.19309 +
7.19310 +# An echo program that does not interpret backslashes.
7.19311 +echo=$lt_echo
7.19312 +
7.19313 +# The archiver.
7.19314 +AR=$lt_AR
7.19315 +AR_FLAGS=$lt_AR_FLAGS
7.19316 +
7.19317 +# A C compiler.
7.19318 +LTCC=$lt_LTCC
7.19319 +
7.19320 +# A language-specific compiler.
7.19321 +CC=$lt_compiler_RC
7.19322 +
7.19323 +# Is the compiler the GNU C compiler?
7.19324 +with_gcc=$GCC_RC
7.19325 +
7.19326 +# An ERE matcher.
7.19327 +EGREP=$lt_EGREP
7.19328 +
7.19329 +# The linker used to build libraries.
7.19330 +LD=$lt_LD_RC
7.19331 +
7.19332 +# Whether we need hard or soft links.
7.19333 +LN_S=$lt_LN_S
7.19334 +
7.19335 +# A BSD-compatible nm program.
7.19336 +NM=$lt_NM
7.19337 +
7.19338 +# A symbol stripping program
7.19339 +STRIP=$lt_STRIP
7.19340 +
7.19341 +# Used to examine libraries when file_magic_cmd begins "file"
7.19342 +MAGIC_CMD=$MAGIC_CMD
7.19343 +
7.19344 +# Used on cygwin: DLL creation program.
7.19345 +DLLTOOL="$DLLTOOL"
7.19346 +
7.19347 +# Used on cygwin: object dumper.
7.19348 +OBJDUMP="$OBJDUMP"
7.19349 +
7.19350 +# Used on cygwin: assembler.
7.19351 +AS="$AS"
7.19352 +
7.19353 +# The name of the directory that contains temporary libtool files.
7.19354 +objdir=$objdir
7.19355 +
7.19356 +# How to create reloadable object files.
7.19357 +reload_flag=$lt_reload_flag
7.19358 +reload_cmds=$lt_reload_cmds
7.19359 +
7.19360 +# How to pass a linker flag through the compiler.
7.19361 +wl=$lt_lt_prog_compiler_wl_RC
7.19362 +
7.19363 +# Object file suffix (normally "o").
7.19364 +objext="$ac_objext"
7.19365 +
7.19366 +# Old archive suffix (normally "a").
7.19367 +libext="$libext"
7.19368 +
7.19369 +# Shared library suffix (normally ".so").
7.19370 +shrext_cmds='$shrext_cmds'
7.19371 +
7.19372 +# Executable file suffix (normally "").
7.19373 +exeext="$exeext"
7.19374 +
7.19375 +# Additional compiler flags for building library objects.
7.19376 +pic_flag=$lt_lt_prog_compiler_pic_RC
7.19377 +pic_mode=$pic_mode
7.19378 +
7.19379 +# What is the maximum length of a command?
7.19380 +max_cmd_len=$lt_cv_sys_max_cmd_len
7.19381 +
7.19382 +# Does compiler simultaneously support -c and -o options?
7.19383 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
7.19384 +
7.19385 +# Must we lock files when doing compilation?
7.19386 +need_locks=$lt_need_locks
7.19387 +
7.19388 +# Do we need the lib prefix for modules?
7.19389 +need_lib_prefix=$need_lib_prefix
7.19390 +
7.19391 +# Do we need a version for libraries?
7.19392 +need_version=$need_version
7.19393 +
7.19394 +# Whether dlopen is supported.
7.19395 +dlopen_support=$enable_dlopen
7.19396 +
7.19397 +# Whether dlopen of programs is supported.
7.19398 +dlopen_self=$enable_dlopen_self
7.19399 +
7.19400 +# Whether dlopen of statically linked programs is supported.
7.19401 +dlopen_self_static=$enable_dlopen_self_static
7.19402 +
7.19403 +# Compiler flag to prevent dynamic linking.
7.19404 +link_static_flag=$lt_lt_prog_compiler_static_RC
7.19405 +
7.19406 +# Compiler flag to turn off builtin functions.
7.19407 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
7.19408 +
7.19409 +# Compiler flag to allow reflexive dlopens.
7.19410 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
7.19411 +
7.19412 +# Compiler flag to generate shared objects directly from archives.
7.19413 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
7.19414 +
7.19415 +# Compiler flag to generate thread-safe objects.
7.19416 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
7.19417 +
7.19418 +# Library versioning type.
7.19419 +version_type=$version_type
7.19420 +
7.19421 +# Format of library name prefix.
7.19422 +libname_spec=$lt_libname_spec
7.19423 +
7.19424 +# List of archive names. First name is the real one, the rest are links.
7.19425 +# The last name is the one that the linker finds with -lNAME.
7.19426 +library_names_spec=$lt_library_names_spec
7.19427 +
7.19428 +# The coded name of the library, if different from the real name.
7.19429 +soname_spec=$lt_soname_spec
7.19430 +
7.19431 +# Commands used to build and install an old-style archive.
7.19432 +RANLIB=$lt_RANLIB
7.19433 +old_archive_cmds=$lt_old_archive_cmds_RC
7.19434 +old_postinstall_cmds=$lt_old_postinstall_cmds
7.19435 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
7.19436 +
7.19437 +# Create an old-style archive from a shared archive.
7.19438 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
7.19439 +
7.19440 +# Create a temporary old-style archive to link instead of a shared archive.
7.19441 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
7.19442 +
7.19443 +# Commands used to build and install a shared archive.
7.19444 +archive_cmds=$lt_archive_cmds_RC
7.19445 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
7.19446 +postinstall_cmds=$lt_postinstall_cmds
7.19447 +postuninstall_cmds=$lt_postuninstall_cmds
7.19448 +
7.19449 +# Commands used to build a loadable module (assumed same as above if empty)
7.19450 +module_cmds=$lt_module_cmds_RC
7.19451 +module_expsym_cmds=$lt_module_expsym_cmds_RC
7.19452 +
7.19453 +# Commands to strip libraries.
7.19454 +old_striplib=$lt_old_striplib
7.19455 +striplib=$lt_striplib
7.19456 +
7.19457 +# Dependencies to place before the objects being linked to create a
7.19458 +# shared library.
7.19459 +predep_objects=$lt_predep_objects_RC
7.19460 +
7.19461 +# Dependencies to place after the objects being linked to create a
7.19462 +# shared library.
7.19463 +postdep_objects=$lt_postdep_objects_RC
7.19464 +
7.19465 +# Dependencies to place before the objects being linked to create a
7.19466 +# shared library.
7.19467 +predeps=$lt_predeps_RC
7.19468 +
7.19469 +# Dependencies to place after the objects being linked to create a
7.19470 +# shared library.
7.19471 +postdeps=$lt_postdeps_RC
7.19472 +
7.19473 +# The library search path used internally by the compiler when linking
7.19474 +# a shared library.
7.19475 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
7.19476 +
7.19477 +# Method to check whether dependent libraries are shared objects.
7.19478 +deplibs_check_method=$lt_deplibs_check_method
7.19479 +
7.19480 +# Command to use when deplibs_check_method == file_magic.
7.19481 +file_magic_cmd=$lt_file_magic_cmd
7.19482 +
7.19483 +# Flag that allows shared libraries with undefined symbols to be built.
7.19484 +allow_undefined_flag=$lt_allow_undefined_flag_RC
7.19485 +
7.19486 +# Flag that forces no undefined symbols.
7.19487 +no_undefined_flag=$lt_no_undefined_flag_RC
7.19488 +
7.19489 +# Commands used to finish a libtool library installation in a directory.
7.19490 +finish_cmds=$lt_finish_cmds
7.19491 +
7.19492 +# Same as above, but a single script fragment to be evaled but not shown.
7.19493 +finish_eval=$lt_finish_eval
7.19494 +
7.19495 +# Take the output of nm and produce a listing of raw symbols and C names.
7.19496 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
7.19497 +
7.19498 +# Transform the output of nm in a proper C declaration
7.19499 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
7.19500 +
7.19501 +# Transform the output of nm in a C name address pair
7.19502 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
7.19503 +
7.19504 +# This is the shared library runtime path variable.
7.19505 +runpath_var=$runpath_var
7.19506 +
7.19507 +# This is the shared library path variable.
7.19508 +shlibpath_var=$shlibpath_var
7.19509 +
7.19510 +# Is shlibpath searched before the hard-coded library search path?
7.19511 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
7.19512 +
7.19513 +# How to hardcode a shared library path into an executable.
7.19514 +hardcode_action=$hardcode_action_RC
7.19515 +
7.19516 +# Whether we should hardcode library paths into libraries.
7.19517 +hardcode_into_libs=$hardcode_into_libs
7.19518 +
7.19519 +# Flag to hardcode \$libdir into a binary during linking.
7.19520 +# This must work even if \$libdir does not exist.
7.19521 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
7.19522 +
7.19523 +# If ld is used when linking, flag to hardcode \$libdir into
7.19524 +# a binary during linking. This must work even if \$libdir does
7.19525 +# not exist.
7.19526 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
7.19527 +
7.19528 +# Whether we need a single -rpath flag with a separated argument.
7.19529 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
7.19530 +
7.19531 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
7.19532 +# resulting binary.
7.19533 +hardcode_direct=$hardcode_direct_RC
7.19534 +
7.19535 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
7.19536 +# resulting binary.
7.19537 +hardcode_minus_L=$hardcode_minus_L_RC
7.19538 +
7.19539 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
7.19540 +# the resulting binary.
7.19541 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
7.19542 +
7.19543 +# Set to yes if building a shared library automatically hardcodes DIR into the library
7.19544 +# and all subsequent libraries and executables linked against it.
7.19545 +hardcode_automatic=$hardcode_automatic_RC
7.19546 +
7.19547 +# Variables whose values should be saved in libtool wrapper scripts and
7.19548 +# restored at relink time.
7.19549 +variables_saved_for_relink="$variables_saved_for_relink"
7.19550 +
7.19551 +# Whether libtool must link a program against all its dependency libraries.
7.19552 +link_all_deplibs=$link_all_deplibs_RC
7.19553 +
7.19554 +# Compile-time system search path for libraries
7.19555 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
7.19556 +
7.19557 +# Run-time system search path for libraries
7.19558 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
7.19559 +
7.19560 +# Fix the shell variable \$srcfile for the compiler.
7.19561 +fix_srcfile_path="$fix_srcfile_path_RC"
7.19562 +
7.19563 +# Set to yes if exported symbols are required.
7.19564 +always_export_symbols=$always_export_symbols_RC
7.19565 +
7.19566 +# The commands to list exported symbols.
7.19567 +export_symbols_cmds=$lt_export_symbols_cmds_RC
7.19568 +
7.19569 +# The commands to extract the exported symbol list from a shared archive.
7.19570 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
7.19571 +
7.19572 +# Symbols that should not be listed in the preloaded symbols.
7.19573 +exclude_expsyms=$lt_exclude_expsyms_RC
7.19574 +
7.19575 +# Symbols that must always be exported.
7.19576 +include_expsyms=$lt_include_expsyms_RC
7.19577 +
7.19578 +# ### END LIBTOOL TAG CONFIG: $tagname
7.19579 +
7.19580 +__EOF__
7.19581 +
7.19582 +
7.19583 +else
7.19584 + # If there is no Makefile yet, we rely on a make rule to execute
7.19585 + # `config.status --recheck' to rerun these tests and create the
7.19586 + # libtool script then.
7.19587 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
7.19588 + if test -f "$ltmain_in"; then
7.19589 + test -f Makefile && make "$ltmain"
7.19590 + fi
7.19591 +fi
7.19592 +
7.19593 +
7.19594 +ac_ext=c
7.19595 +ac_cpp='$CPP $CPPFLAGS'
7.19596 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.19597 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.19598 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.19599 +
7.19600 +CC="$lt_save_CC"
7.19601 +
7.19602 + ;;
7.19603 +
7.19604 + *)
7.19605 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
7.19606 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
7.19607 + { (exit 1); exit 1; }; }
7.19608 + ;;
7.19609 + esac
7.19610 +
7.19611 + # Append the new tag name to the list of available tags.
7.19612 + if test -n "$tagname" ; then
7.19613 + available_tags="$available_tags $tagname"
7.19614 + fi
7.19615 + fi
7.19616 + done
7.19617 + IFS="$lt_save_ifs"
7.19618 +
7.19619 + # Now substitute the updated list of available tags.
7.19620 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
7.19621 + mv "${ofile}T" "$ofile"
7.19622 + chmod +x "$ofile"
7.19623 + else
7.19624 + rm -f "${ofile}T"
7.19625 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
7.19626 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
7.19627 + { (exit 1); exit 1; }; }
7.19628 + fi
7.19629 +fi
7.19630 +
7.19631 +
7.19632 +
7.19633 +# This can be used to rebuild libtool when needed
7.19634 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
7.19635 +
7.19636 +# Always use our own libtool.
7.19637 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7.19638 +
7.19639 +# Prevent multiple expansion
7.19640 +
7.19641 +
7.19642 +
7.19643 +
7.19644 +
7.19645 +
7.19646 +
7.19647 +
7.19648 +
7.19649 +
7.19650 +
7.19651 +
7.19652 +
7.19653 +
7.19654 +
7.19655 +
7.19656 +
7.19657 +
7.19658 +
7.19659 +
7.19660 +
7.19661 + ac_config_headers="$ac_config_headers config.h"
7.19662 +
7.19663 +
7.19664 +ACLOCAL_AMFLAGS="-I m4"
7.19665 +
7.19666 +
7.19667 +ac_ext=c
7.19668 +ac_cpp='$CPP $CPPFLAGS'
7.19669 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.19670 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.19671 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.19672 +if test -n "$ac_tool_prefix"; then
7.19673 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7.19674 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
7.19675 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.19676 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.19677 +if test "${ac_cv_prog_CC+set}" = set; then
7.19678 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.19679 +else
7.19680 + if test -n "$CC"; then
7.19681 + ac_cv_prog_CC="$CC" # Let the user override the test.
7.19682 +else
7.19683 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.19684 +for as_dir in $PATH
7.19685 +do
7.19686 + IFS=$as_save_IFS
7.19687 + test -z "$as_dir" && as_dir=.
7.19688 + for ac_exec_ext in '' $ac_executable_extensions; do
7.19689 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.19690 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
7.19691 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.19692 + break 2
7.19693 + fi
7.19694 +done
7.19695 +done
7.19696 +
7.19697 +fi
7.19698 +fi
7.19699 +CC=$ac_cv_prog_CC
7.19700 +if test -n "$CC"; then
7.19701 + echo "$as_me:$LINENO: result: $CC" >&5
7.19702 +echo "${ECHO_T}$CC" >&6
7.19703 +else
7.19704 + echo "$as_me:$LINENO: result: no" >&5
7.19705 +echo "${ECHO_T}no" >&6
7.19706 +fi
7.19707 +
7.19708 +fi
7.19709 +if test -z "$ac_cv_prog_CC"; then
7.19710 + ac_ct_CC=$CC
7.19711 + # Extract the first word of "gcc", so it can be a program name with args.
7.19712 +set dummy gcc; ac_word=$2
7.19713 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.19714 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.19715 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7.19716 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.19717 +else
7.19718 + if test -n "$ac_ct_CC"; then
7.19719 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7.19720 +else
7.19721 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.19722 +for as_dir in $PATH
7.19723 +do
7.19724 + IFS=$as_save_IFS
7.19725 + test -z "$as_dir" && as_dir=.
7.19726 + for ac_exec_ext in '' $ac_executable_extensions; do
7.19727 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.19728 + ac_cv_prog_ac_ct_CC="gcc"
7.19729 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.19730 + break 2
7.19731 + fi
7.19732 +done
7.19733 +done
7.19734 +
7.19735 +fi
7.19736 +fi
7.19737 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
7.19738 +if test -n "$ac_ct_CC"; then
7.19739 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7.19740 +echo "${ECHO_T}$ac_ct_CC" >&6
7.19741 +else
7.19742 + echo "$as_me:$LINENO: result: no" >&5
7.19743 +echo "${ECHO_T}no" >&6
7.19744 +fi
7.19745 +
7.19746 + CC=$ac_ct_CC
7.19747 +else
7.19748 + CC="$ac_cv_prog_CC"
7.19749 +fi
7.19750 +
7.19751 +if test -z "$CC"; then
7.19752 + if test -n "$ac_tool_prefix"; then
7.19753 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7.19754 +set dummy ${ac_tool_prefix}cc; ac_word=$2
7.19755 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.19756 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.19757 +if test "${ac_cv_prog_CC+set}" = set; then
7.19758 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.19759 +else
7.19760 + if test -n "$CC"; then
7.19761 + ac_cv_prog_CC="$CC" # Let the user override the test.
7.19762 +else
7.19763 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.19764 +for as_dir in $PATH
7.19765 +do
7.19766 + IFS=$as_save_IFS
7.19767 + test -z "$as_dir" && as_dir=.
7.19768 + for ac_exec_ext in '' $ac_executable_extensions; do
7.19769 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.19770 + ac_cv_prog_CC="${ac_tool_prefix}cc"
7.19771 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.19772 + break 2
7.19773 + fi
7.19774 +done
7.19775 +done
7.19776 +
7.19777 +fi
7.19778 +fi
7.19779 +CC=$ac_cv_prog_CC
7.19780 +if test -n "$CC"; then
7.19781 + echo "$as_me:$LINENO: result: $CC" >&5
7.19782 +echo "${ECHO_T}$CC" >&6
7.19783 +else
7.19784 + echo "$as_me:$LINENO: result: no" >&5
7.19785 +echo "${ECHO_T}no" >&6
7.19786 +fi
7.19787 +
7.19788 +fi
7.19789 +if test -z "$ac_cv_prog_CC"; then
7.19790 + ac_ct_CC=$CC
7.19791 + # Extract the first word of "cc", so it can be a program name with args.
7.19792 +set dummy cc; ac_word=$2
7.19793 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.19794 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.19795 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7.19796 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.19797 +else
7.19798 + if test -n "$ac_ct_CC"; then
7.19799 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7.19800 +else
7.19801 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.19802 +for as_dir in $PATH
7.19803 +do
7.19804 + IFS=$as_save_IFS
7.19805 + test -z "$as_dir" && as_dir=.
7.19806 + for ac_exec_ext in '' $ac_executable_extensions; do
7.19807 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.19808 + ac_cv_prog_ac_ct_CC="cc"
7.19809 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.19810 + break 2
7.19811 + fi
7.19812 +done
7.19813 +done
7.19814 +
7.19815 +fi
7.19816 +fi
7.19817 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
7.19818 +if test -n "$ac_ct_CC"; then
7.19819 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7.19820 +echo "${ECHO_T}$ac_ct_CC" >&6
7.19821 +else
7.19822 + echo "$as_me:$LINENO: result: no" >&5
7.19823 +echo "${ECHO_T}no" >&6
7.19824 +fi
7.19825 +
7.19826 + CC=$ac_ct_CC
7.19827 +else
7.19828 + CC="$ac_cv_prog_CC"
7.19829 +fi
7.19830 +
7.19831 +fi
7.19832 +if test -z "$CC"; then
7.19833 + # Extract the first word of "cc", so it can be a program name with args.
7.19834 +set dummy cc; ac_word=$2
7.19835 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.19836 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.19837 +if test "${ac_cv_prog_CC+set}" = set; then
7.19838 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.19839 +else
7.19840 + if test -n "$CC"; then
7.19841 + ac_cv_prog_CC="$CC" # Let the user override the test.
7.19842 +else
7.19843 + ac_prog_rejected=no
7.19844 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.19845 +for as_dir in $PATH
7.19846 +do
7.19847 + IFS=$as_save_IFS
7.19848 + test -z "$as_dir" && as_dir=.
7.19849 + for ac_exec_ext in '' $ac_executable_extensions; do
7.19850 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.19851 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
7.19852 + ac_prog_rejected=yes
7.19853 + continue
7.19854 + fi
7.19855 + ac_cv_prog_CC="cc"
7.19856 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.19857 + break 2
7.19858 + fi
7.19859 +done
7.19860 +done
7.19861 +
7.19862 +if test $ac_prog_rejected = yes; then
7.19863 + # We found a bogon in the path, so make sure we never use it.
7.19864 + set dummy $ac_cv_prog_CC
7.19865 + shift
7.19866 + if test $@%:@ != 0; then
7.19867 + # We chose a different compiler from the bogus one.
7.19868 + # However, it has the same basename, so the bogon will be chosen
7.19869 + # first if we set CC to just the basename; use the full file name.
7.19870 + shift
7.19871 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
7.19872 + fi
7.19873 +fi
7.19874 +fi
7.19875 +fi
7.19876 +CC=$ac_cv_prog_CC
7.19877 +if test -n "$CC"; then
7.19878 + echo "$as_me:$LINENO: result: $CC" >&5
7.19879 +echo "${ECHO_T}$CC" >&6
7.19880 +else
7.19881 + echo "$as_me:$LINENO: result: no" >&5
7.19882 +echo "${ECHO_T}no" >&6
7.19883 +fi
7.19884 +
7.19885 +fi
7.19886 +if test -z "$CC"; then
7.19887 + if test -n "$ac_tool_prefix"; then
7.19888 + for ac_prog in cl
7.19889 + do
7.19890 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7.19891 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7.19892 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.19893 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.19894 +if test "${ac_cv_prog_CC+set}" = set; then
7.19895 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.19896 +else
7.19897 + if test -n "$CC"; then
7.19898 + ac_cv_prog_CC="$CC" # Let the user override the test.
7.19899 +else
7.19900 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.19901 +for as_dir in $PATH
7.19902 +do
7.19903 + IFS=$as_save_IFS
7.19904 + test -z "$as_dir" && as_dir=.
7.19905 + for ac_exec_ext in '' $ac_executable_extensions; do
7.19906 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.19907 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
7.19908 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.19909 + break 2
7.19910 + fi
7.19911 +done
7.19912 +done
7.19913 +
7.19914 +fi
7.19915 +fi
7.19916 +CC=$ac_cv_prog_CC
7.19917 +if test -n "$CC"; then
7.19918 + echo "$as_me:$LINENO: result: $CC" >&5
7.19919 +echo "${ECHO_T}$CC" >&6
7.19920 +else
7.19921 + echo "$as_me:$LINENO: result: no" >&5
7.19922 +echo "${ECHO_T}no" >&6
7.19923 +fi
7.19924 +
7.19925 + test -n "$CC" && break
7.19926 + done
7.19927 +fi
7.19928 +if test -z "$CC"; then
7.19929 + ac_ct_CC=$CC
7.19930 + for ac_prog in cl
7.19931 +do
7.19932 + # Extract the first word of "$ac_prog", so it can be a program name with args.
7.19933 +set dummy $ac_prog; ac_word=$2
7.19934 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.19935 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.19936 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7.19937 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.19938 +else
7.19939 + if test -n "$ac_ct_CC"; then
7.19940 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7.19941 +else
7.19942 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.19943 +for as_dir in $PATH
7.19944 +do
7.19945 + IFS=$as_save_IFS
7.19946 + test -z "$as_dir" && as_dir=.
7.19947 + for ac_exec_ext in '' $ac_executable_extensions; do
7.19948 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.19949 + ac_cv_prog_ac_ct_CC="$ac_prog"
7.19950 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.19951 + break 2
7.19952 + fi
7.19953 +done
7.19954 +done
7.19955 +
7.19956 +fi
7.19957 +fi
7.19958 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
7.19959 +if test -n "$ac_ct_CC"; then
7.19960 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7.19961 +echo "${ECHO_T}$ac_ct_CC" >&6
7.19962 +else
7.19963 + echo "$as_me:$LINENO: result: no" >&5
7.19964 +echo "${ECHO_T}no" >&6
7.19965 +fi
7.19966 +
7.19967 + test -n "$ac_ct_CC" && break
7.19968 +done
7.19969 +
7.19970 + CC=$ac_ct_CC
7.19971 +fi
7.19972 +
7.19973 +fi
7.19974 +
7.19975 +
7.19976 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
7.19977 +See \`config.log' for more details." >&5
7.19978 +echo "$as_me: error: no acceptable C compiler found in \$PATH
7.19979 +See \`config.log' for more details." >&2;}
7.19980 + { (exit 1); exit 1; }; }
7.19981 +
7.19982 +# Provide some information about the compiler.
7.19983 +echo "$as_me:$LINENO:" \
7.19984 + "checking for C compiler version" >&5
7.19985 +ac_compiler=`set X $ac_compile; echo $2`
7.19986 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7.19987 + (eval $ac_compiler --version </dev/null >&5) 2>&5
7.19988 + ac_status=$?
7.19989 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.19990 + (exit $ac_status); }
7.19991 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7.19992 + (eval $ac_compiler -v </dev/null >&5) 2>&5
7.19993 + ac_status=$?
7.19994 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.19995 + (exit $ac_status); }
7.19996 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7.19997 + (eval $ac_compiler -V </dev/null >&5) 2>&5
7.19998 + ac_status=$?
7.19999 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20000 + (exit $ac_status); }
7.20001 +
7.20002 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
7.20003 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
7.20004 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
7.20005 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.20006 +else
7.20007 + cat >conftest.$ac_ext <<_ACEOF
7.20008 +/* confdefs.h. */
7.20009 +_ACEOF
7.20010 +cat confdefs.h >>conftest.$ac_ext
7.20011 +cat >>conftest.$ac_ext <<_ACEOF
7.20012 +/* end confdefs.h. */
7.20013 +
7.20014 +int
7.20015 +main ()
7.20016 +{
7.20017 +#ifndef __GNUC__
7.20018 + choke me
7.20019 +#endif
7.20020 +
7.20021 + ;
7.20022 + return 0;
7.20023 +}
7.20024 +_ACEOF
7.20025 +rm -f conftest.$ac_objext
7.20026 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20027 + (eval $ac_compile) 2>conftest.er1
7.20028 + ac_status=$?
7.20029 + grep -v '^ *+' conftest.er1 >conftest.err
7.20030 + rm -f conftest.er1
7.20031 + cat conftest.err >&5
7.20032 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20033 + (exit $ac_status); } &&
7.20034 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.20035 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20036 + (eval $ac_try) 2>&5
7.20037 + ac_status=$?
7.20038 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20039 + (exit $ac_status); }; } &&
7.20040 + { ac_try='test -s conftest.$ac_objext'
7.20041 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20042 + (eval $ac_try) 2>&5
7.20043 + ac_status=$?
7.20044 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20045 + (exit $ac_status); }; }; then
7.20046 + ac_compiler_gnu=yes
7.20047 +else
7.20048 + echo "$as_me: failed program was:" >&5
7.20049 +sed 's/^/| /' conftest.$ac_ext >&5
7.20050 +
7.20051 +ac_compiler_gnu=no
7.20052 +fi
7.20053 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.20054 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
7.20055 +
7.20056 +fi
7.20057 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
7.20058 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
7.20059 +GCC=`test $ac_compiler_gnu = yes && echo yes`
7.20060 +ac_test_CFLAGS=${CFLAGS+set}
7.20061 +ac_save_CFLAGS=$CFLAGS
7.20062 +CFLAGS="-g"
7.20063 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
7.20064 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
7.20065 +if test "${ac_cv_prog_cc_g+set}" = set; then
7.20066 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.20067 +else
7.20068 + cat >conftest.$ac_ext <<_ACEOF
7.20069 +/* confdefs.h. */
7.20070 +_ACEOF
7.20071 +cat confdefs.h >>conftest.$ac_ext
7.20072 +cat >>conftest.$ac_ext <<_ACEOF
7.20073 +/* end confdefs.h. */
7.20074 +
7.20075 +int
7.20076 +main ()
7.20077 +{
7.20078 +
7.20079 + ;
7.20080 + return 0;
7.20081 +}
7.20082 +_ACEOF
7.20083 +rm -f conftest.$ac_objext
7.20084 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20085 + (eval $ac_compile) 2>conftest.er1
7.20086 + ac_status=$?
7.20087 + grep -v '^ *+' conftest.er1 >conftest.err
7.20088 + rm -f conftest.er1
7.20089 + cat conftest.err >&5
7.20090 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20091 + (exit $ac_status); } &&
7.20092 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.20093 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20094 + (eval $ac_try) 2>&5
7.20095 + ac_status=$?
7.20096 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20097 + (exit $ac_status); }; } &&
7.20098 + { ac_try='test -s conftest.$ac_objext'
7.20099 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20100 + (eval $ac_try) 2>&5
7.20101 + ac_status=$?
7.20102 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20103 + (exit $ac_status); }; }; then
7.20104 + ac_cv_prog_cc_g=yes
7.20105 +else
7.20106 + echo "$as_me: failed program was:" >&5
7.20107 +sed 's/^/| /' conftest.$ac_ext >&5
7.20108 +
7.20109 +ac_cv_prog_cc_g=no
7.20110 +fi
7.20111 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.20112 +fi
7.20113 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
7.20114 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
7.20115 +if test "$ac_test_CFLAGS" = set; then
7.20116 + CFLAGS=$ac_save_CFLAGS
7.20117 +elif test $ac_cv_prog_cc_g = yes; then
7.20118 + if test "$GCC" = yes; then
7.20119 + CFLAGS="-g -O2"
7.20120 + else
7.20121 + CFLAGS="-g"
7.20122 + fi
7.20123 +else
7.20124 + if test "$GCC" = yes; then
7.20125 + CFLAGS="-O2"
7.20126 + else
7.20127 + CFLAGS=
7.20128 + fi
7.20129 +fi
7.20130 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
7.20131 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
7.20132 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
7.20133 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.20134 +else
7.20135 + ac_cv_prog_cc_stdc=no
7.20136 +ac_save_CC=$CC
7.20137 +cat >conftest.$ac_ext <<_ACEOF
7.20138 +/* confdefs.h. */
7.20139 +_ACEOF
7.20140 +cat confdefs.h >>conftest.$ac_ext
7.20141 +cat >>conftest.$ac_ext <<_ACEOF
7.20142 +/* end confdefs.h. */
7.20143 +#include <stdarg.h>
7.20144 +#include <stdio.h>
7.20145 +#include <sys/types.h>
7.20146 +#include <sys/stat.h>
7.20147 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
7.20148 +struct buf { int x; };
7.20149 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
7.20150 +static char *e (p, i)
7.20151 + char **p;
7.20152 + int i;
7.20153 +{
7.20154 + return p[i];
7.20155 +}
7.20156 +static char *f (char * (*g) (char **, int), char **p, ...)
7.20157 +{
7.20158 + char *s;
7.20159 + va_list v;
7.20160 + va_start (v,p);
7.20161 + s = g (p, va_arg (v,int));
7.20162 + va_end (v);
7.20163 + return s;
7.20164 +}
7.20165 +
7.20166 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
7.20167 + function prototypes and stuff, but not '\xHH' hex character constants.
7.20168 + These don't provoke an error unfortunately, instead are silently treated
7.20169 + as 'x'. The following induces an error, until -std1 is added to get
7.20170 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
7.20171 + array size at least. It's necessary to write '\x00'==0 to get something
7.20172 + that's true only with -std1. */
7.20173 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
7.20174 +
7.20175 +int test (int i, double x);
7.20176 +struct s1 {int (*f) (int a);};
7.20177 +struct s2 {int (*f) (double a);};
7.20178 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
7.20179 +int argc;
7.20180 +char **argv;
7.20181 +int
7.20182 +main ()
7.20183 +{
7.20184 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
7.20185 + ;
7.20186 + return 0;
7.20187 +}
7.20188 +_ACEOF
7.20189 +# Don't try gcc -ansi; that turns off useful extensions and
7.20190 +# breaks some systems' header files.
7.20191 +# AIX -qlanglvl=ansi
7.20192 +# Ultrix and OSF/1 -std1
7.20193 +# HP-UX 10.20 and later -Ae
7.20194 +# HP-UX older versions -Aa -D_HPUX_SOURCE
7.20195 +# SVR4 -Xc -D__EXTENSIONS__
7.20196 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7.20197 +do
7.20198 + CC="$ac_save_CC $ac_arg"
7.20199 + rm -f conftest.$ac_objext
7.20200 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20201 + (eval $ac_compile) 2>conftest.er1
7.20202 + ac_status=$?
7.20203 + grep -v '^ *+' conftest.er1 >conftest.err
7.20204 + rm -f conftest.er1
7.20205 + cat conftest.err >&5
7.20206 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20207 + (exit $ac_status); } &&
7.20208 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.20209 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20210 + (eval $ac_try) 2>&5
7.20211 + ac_status=$?
7.20212 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20213 + (exit $ac_status); }; } &&
7.20214 + { ac_try='test -s conftest.$ac_objext'
7.20215 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20216 + (eval $ac_try) 2>&5
7.20217 + ac_status=$?
7.20218 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20219 + (exit $ac_status); }; }; then
7.20220 + ac_cv_prog_cc_stdc=$ac_arg
7.20221 +break
7.20222 +else
7.20223 + echo "$as_me: failed program was:" >&5
7.20224 +sed 's/^/| /' conftest.$ac_ext >&5
7.20225 +
7.20226 +fi
7.20227 +rm -f conftest.err conftest.$ac_objext
7.20228 +done
7.20229 +rm -f conftest.$ac_ext conftest.$ac_objext
7.20230 +CC=$ac_save_CC
7.20231 +
7.20232 +fi
7.20233 +
7.20234 +case "x$ac_cv_prog_cc_stdc" in
7.20235 + x|xno)
7.20236 + echo "$as_me:$LINENO: result: none needed" >&5
7.20237 +echo "${ECHO_T}none needed" >&6 ;;
7.20238 + *)
7.20239 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
7.20240 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
7.20241 + CC="$CC $ac_cv_prog_cc_stdc" ;;
7.20242 +esac
7.20243 +
7.20244 +# Some people use a C++ compiler to compile C. Since we use `exit',
7.20245 +# in C++ we need to declare it. In case someone uses the same compiler
7.20246 +# for both compiling C and C++ we need to have the C++ compiler decide
7.20247 +# the declaration of exit, since it's the most demanding environment.
7.20248 +cat >conftest.$ac_ext <<_ACEOF
7.20249 +@%:@ifndef __cplusplus
7.20250 + choke me
7.20251 +@%:@endif
7.20252 +_ACEOF
7.20253 +rm -f conftest.$ac_objext
7.20254 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20255 + (eval $ac_compile) 2>conftest.er1
7.20256 + ac_status=$?
7.20257 + grep -v '^ *+' conftest.er1 >conftest.err
7.20258 + rm -f conftest.er1
7.20259 + cat conftest.err >&5
7.20260 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20261 + (exit $ac_status); } &&
7.20262 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.20263 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20264 + (eval $ac_try) 2>&5
7.20265 + ac_status=$?
7.20266 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20267 + (exit $ac_status); }; } &&
7.20268 + { ac_try='test -s conftest.$ac_objext'
7.20269 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20270 + (eval $ac_try) 2>&5
7.20271 + ac_status=$?
7.20272 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20273 + (exit $ac_status); }; }; then
7.20274 + for ac_declaration in \
7.20275 + '' \
7.20276 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
7.20277 + 'extern "C" void std::exit (int); using std::exit;' \
7.20278 + 'extern "C" void exit (int) throw ();' \
7.20279 + 'extern "C" void exit (int);' \
7.20280 + 'void exit (int);'
7.20281 +do
7.20282 + cat >conftest.$ac_ext <<_ACEOF
7.20283 +/* confdefs.h. */
7.20284 +_ACEOF
7.20285 +cat confdefs.h >>conftest.$ac_ext
7.20286 +cat >>conftest.$ac_ext <<_ACEOF
7.20287 +/* end confdefs.h. */
7.20288 +$ac_declaration
7.20289 +@%:@include <stdlib.h>
7.20290 +int
7.20291 +main ()
7.20292 +{
7.20293 +exit (42);
7.20294 + ;
7.20295 + return 0;
7.20296 +}
7.20297 +_ACEOF
7.20298 +rm -f conftest.$ac_objext
7.20299 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20300 + (eval $ac_compile) 2>conftest.er1
7.20301 + ac_status=$?
7.20302 + grep -v '^ *+' conftest.er1 >conftest.err
7.20303 + rm -f conftest.er1
7.20304 + cat conftest.err >&5
7.20305 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20306 + (exit $ac_status); } &&
7.20307 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.20308 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20309 + (eval $ac_try) 2>&5
7.20310 + ac_status=$?
7.20311 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20312 + (exit $ac_status); }; } &&
7.20313 + { ac_try='test -s conftest.$ac_objext'
7.20314 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20315 + (eval $ac_try) 2>&5
7.20316 + ac_status=$?
7.20317 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20318 + (exit $ac_status); }; }; then
7.20319 + :
7.20320 +else
7.20321 + echo "$as_me: failed program was:" >&5
7.20322 +sed 's/^/| /' conftest.$ac_ext >&5
7.20323 +
7.20324 +continue
7.20325 +fi
7.20326 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.20327 + cat >conftest.$ac_ext <<_ACEOF
7.20328 +/* confdefs.h. */
7.20329 +_ACEOF
7.20330 +cat confdefs.h >>conftest.$ac_ext
7.20331 +cat >>conftest.$ac_ext <<_ACEOF
7.20332 +/* end confdefs.h. */
7.20333 +$ac_declaration
7.20334 +int
7.20335 +main ()
7.20336 +{
7.20337 +exit (42);
7.20338 + ;
7.20339 + return 0;
7.20340 +}
7.20341 +_ACEOF
7.20342 +rm -f conftest.$ac_objext
7.20343 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20344 + (eval $ac_compile) 2>conftest.er1
7.20345 + ac_status=$?
7.20346 + grep -v '^ *+' conftest.er1 >conftest.err
7.20347 + rm -f conftest.er1
7.20348 + cat conftest.err >&5
7.20349 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20350 + (exit $ac_status); } &&
7.20351 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.20352 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20353 + (eval $ac_try) 2>&5
7.20354 + ac_status=$?
7.20355 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20356 + (exit $ac_status); }; } &&
7.20357 + { ac_try='test -s conftest.$ac_objext'
7.20358 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20359 + (eval $ac_try) 2>&5
7.20360 + ac_status=$?
7.20361 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20362 + (exit $ac_status); }; }; then
7.20363 + break
7.20364 +else
7.20365 + echo "$as_me: failed program was:" >&5
7.20366 +sed 's/^/| /' conftest.$ac_ext >&5
7.20367 +
7.20368 +fi
7.20369 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.20370 +done
7.20371 +rm -f conftest*
7.20372 +if test -n "$ac_declaration"; then
7.20373 + echo '#ifdef __cplusplus' >>confdefs.h
7.20374 + echo $ac_declaration >>confdefs.h
7.20375 + echo '#endif' >>confdefs.h
7.20376 +fi
7.20377 +
7.20378 +else
7.20379 + echo "$as_me: failed program was:" >&5
7.20380 +sed 's/^/| /' conftest.$ac_ext >&5
7.20381 +
7.20382 +fi
7.20383 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.20384 +ac_ext=c
7.20385 +ac_cpp='$CPP $CPPFLAGS'
7.20386 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.20387 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.20388 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.20389 +
7.20390 +depcc="$CC" am_compiler_list=
7.20391 +
7.20392 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7.20393 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7.20394 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
7.20395 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.20396 +else
7.20397 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7.20398 + # We make a subdir and do the tests there. Otherwise we can end up
7.20399 + # making bogus files that we don't know about and never remove. For
7.20400 + # instance it was reported that on HP-UX the gcc test will end up
7.20401 + # making a dummy file named `D' -- because `-MD' means `put the output
7.20402 + # in D'.
7.20403 + mkdir conftest.dir
7.20404 + # Copy depcomp to subdir because otherwise we won't find it if we're
7.20405 + # using a relative directory.
7.20406 + cp "$am_depcomp" conftest.dir
7.20407 + cd conftest.dir
7.20408 + # We will build objects and dependencies in a subdirectory because
7.20409 + # it helps to detect inapplicable dependency modes. For instance
7.20410 + # both Tru64's cc and ICC support -MD to output dependencies as a
7.20411 + # side effect of compilation, but ICC will put the dependencies in
7.20412 + # the current directory while Tru64 will put them in the object
7.20413 + # directory.
7.20414 + mkdir sub
7.20415 +
7.20416 + am_cv_CC_dependencies_compiler_type=none
7.20417 + if test "$am_compiler_list" = ""; then
7.20418 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7.20419 + fi
7.20420 + for depmode in $am_compiler_list; do
7.20421 + # Setup a source with many dependencies, because some compilers
7.20422 + # like to wrap large dependency lists on column 80 (with \), and
7.20423 + # we should not choose a depcomp mode which is confused by this.
7.20424 + #
7.20425 + # We need to recreate these files for each test, as the compiler may
7.20426 + # overwrite some of them when testing with obscure command lines.
7.20427 + # This happens at least with the AIX C compiler.
7.20428 + : > sub/conftest.c
7.20429 + for i in 1 2 3 4 5 6; do
7.20430 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
7.20431 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7.20432 + # Solaris 8's {/usr,}/bin/sh.
7.20433 + touch sub/conftst$i.h
7.20434 + done
7.20435 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7.20436 +
7.20437 + case $depmode in
7.20438 + nosideeffect)
7.20439 + # after this tag, mechanisms are not by side-effect, so they'll
7.20440 + # only be used when explicitly requested
7.20441 + if test "x$enable_dependency_tracking" = xyes; then
7.20442 + continue
7.20443 + else
7.20444 + break
7.20445 + fi
7.20446 + ;;
7.20447 + none) break ;;
7.20448 + esac
7.20449 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
7.20450 + # mode. It turns out that the SunPro C++ compiler does not properly
7.20451 + # handle `-M -o', and we need to detect this.
7.20452 + if depmode=$depmode \
7.20453 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7.20454 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7.20455 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7.20456 + >/dev/null 2>conftest.err &&
7.20457 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7.20458 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7.20459 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7.20460 + # icc doesn't choke on unknown options, it will just issue warnings
7.20461 + # or remarks (even with -Werror). So we grep stderr for any message
7.20462 + # that says an option was ignored or not supported.
7.20463 + # When given -MP, icc 7.0 and 7.1 complain thusly:
7.20464 + # icc: Command line warning: ignoring option '-M'; no argument required
7.20465 + # The diagnosis changed in icc 8.0:
7.20466 + # icc: Command line remark: option '-MP' not supported
7.20467 + if (grep 'ignoring option' conftest.err ||
7.20468 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7.20469 + am_cv_CC_dependencies_compiler_type=$depmode
7.20470 + break
7.20471 + fi
7.20472 + fi
7.20473 + done
7.20474 +
7.20475 + cd ..
7.20476 + rm -rf conftest.dir
7.20477 +else
7.20478 + am_cv_CC_dependencies_compiler_type=none
7.20479 +fi
7.20480 +
7.20481 +fi
7.20482 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
7.20483 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
7.20484 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
7.20485 +
7.20486 +
7.20487 +
7.20488 +if
7.20489 + test "x$enable_dependency_tracking" != xno \
7.20490 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
7.20491 + am__fastdepCC_TRUE=
7.20492 + am__fastdepCC_FALSE='#'
7.20493 +else
7.20494 + am__fastdepCC_TRUE='#'
7.20495 + am__fastdepCC_FALSE=
7.20496 +fi
7.20497 +
7.20498 +
7.20499 +
7.20500 +# By default we simply use the C compiler to build assembly code.
7.20501 +
7.20502 +test "${CCAS+set}" = set || CCAS=$CC
7.20503 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
7.20504 +
7.20505 +
7.20506 +
7.20507 +
7.20508 +
7.20509 + echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
7.20510 +echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6
7.20511 +
7.20512 + save_CFLAGS="$CFLAGS"
7.20513 + CFLAGS="$CFLAGS -Wall"
7.20514 +
7.20515 + cat >conftest.$ac_ext <<_ACEOF
7.20516 +/* confdefs.h. */
7.20517 +_ACEOF
7.20518 +cat confdefs.h >>conftest.$ac_ext
7.20519 +cat >>conftest.$ac_ext <<_ACEOF
7.20520 +/* end confdefs.h. */
7.20521 +
7.20522 +int
7.20523 +main ()
7.20524 +{
7.20525 +
7.20526 + ;
7.20527 + return 0;
7.20528 +}
7.20529 +_ACEOF
7.20530 +rm -f conftest.$ac_objext
7.20531 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20532 + (eval $ac_compile) 2>conftest.er1
7.20533 + ac_status=$?
7.20534 + grep -v '^ *+' conftest.er1 >conftest.err
7.20535 + rm -f conftest.er1
7.20536 + cat conftest.err >&5
7.20537 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20538 + (exit $ac_status); } &&
7.20539 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.20540 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20541 + (eval $ac_try) 2>&5
7.20542 + ac_status=$?
7.20543 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20544 + (exit $ac_status); }; } &&
7.20545 + { ac_try='test -s conftest.$ac_objext'
7.20546 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20547 + (eval $ac_try) 2>&5
7.20548 + ac_status=$?
7.20549 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20550 + (exit $ac_status); }; }; then
7.20551 + flag_ok=yes
7.20552 +else
7.20553 + echo "$as_me: failed program was:" >&5
7.20554 +sed 's/^/| /' conftest.$ac_ext >&5
7.20555 +
7.20556 +flag_ok=no
7.20557 +fi
7.20558 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.20559 + CFLAGS="$save_CFLAGS"
7.20560 +
7.20561 + if test "X$flag_ok" = Xyes ; then
7.20562 + GST_WALL="yes"
7.20563 + true
7.20564 + else
7.20565 + GST_WALL="no"
7.20566 + true
7.20567 + fi
7.20568 + echo "$as_me:$LINENO: result: $flag_ok" >&5
7.20569 +echo "${ECHO_T}$flag_ok" >&6
7.20570 +
7.20571 +
7.20572 +if test "x$GST_WALL" = "xyes"; then
7.20573 + ERROR_CFLAGS="$GST_ERROR -Wall"
7.20574 +
7.20575 + if test "x$GST_CVS" = "xyes"; then
7.20576 +
7.20577 + echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
7.20578 +echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6
7.20579 +
7.20580 + save_CFLAGS="$CFLAGS"
7.20581 + CFLAGS="$CFLAGS -Werror"
7.20582 +
7.20583 + cat >conftest.$ac_ext <<_ACEOF
7.20584 +/* confdefs.h. */
7.20585 +_ACEOF
7.20586 +cat confdefs.h >>conftest.$ac_ext
7.20587 +cat >>conftest.$ac_ext <<_ACEOF
7.20588 +/* end confdefs.h. */
7.20589 +
7.20590 +int
7.20591 +main ()
7.20592 +{
7.20593 +
7.20594 + ;
7.20595 + return 0;
7.20596 +}
7.20597 +_ACEOF
7.20598 +rm -f conftest.$ac_objext
7.20599 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20600 + (eval $ac_compile) 2>conftest.er1
7.20601 + ac_status=$?
7.20602 + grep -v '^ *+' conftest.er1 >conftest.err
7.20603 + rm -f conftest.er1
7.20604 + cat conftest.err >&5
7.20605 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20606 + (exit $ac_status); } &&
7.20607 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.20608 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20609 + (eval $ac_try) 2>&5
7.20610 + ac_status=$?
7.20611 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20612 + (exit $ac_status); }; } &&
7.20613 + { ac_try='test -s conftest.$ac_objext'
7.20614 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20615 + (eval $ac_try) 2>&5
7.20616 + ac_status=$?
7.20617 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20618 + (exit $ac_status); }; }; then
7.20619 + flag_ok=yes
7.20620 +else
7.20621 + echo "$as_me: failed program was:" >&5
7.20622 +sed 's/^/| /' conftest.$ac_ext >&5
7.20623 +
7.20624 +flag_ok=no
7.20625 +fi
7.20626 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.20627 + CFLAGS="$save_CFLAGS"
7.20628 +
7.20629 + if test "X$flag_ok" = Xyes ; then
7.20630 + ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
7.20631 + true
7.20632 + else
7.20633 + ERROR_CFLAGS="$ERROR_CFLAGS"
7.20634 + true
7.20635 + fi
7.20636 + echo "$as_me:$LINENO: result: $flag_ok" >&5
7.20637 +echo "${ECHO_T}$flag_ok" >&6
7.20638 +
7.20639 + fi
7.20640 +fi
7.20641 +
7.20642 +
7.20643 +
7.20644 +ac_ext=cc
7.20645 +ac_cpp='$CXXCPP $CPPFLAGS'
7.20646 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.20647 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.20648 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7.20649 +if test -n "$ac_tool_prefix"; then
7.20650 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7.20651 + do
7.20652 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7.20653 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7.20654 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.20655 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.20656 +if test "${ac_cv_prog_CXX+set}" = set; then
7.20657 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.20658 +else
7.20659 + if test -n "$CXX"; then
7.20660 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
7.20661 +else
7.20662 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.20663 +for as_dir in $PATH
7.20664 +do
7.20665 + IFS=$as_save_IFS
7.20666 + test -z "$as_dir" && as_dir=.
7.20667 + for ac_exec_ext in '' $ac_executable_extensions; do
7.20668 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.20669 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7.20670 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.20671 + break 2
7.20672 + fi
7.20673 +done
7.20674 +done
7.20675 +
7.20676 +fi
7.20677 +fi
7.20678 +CXX=$ac_cv_prog_CXX
7.20679 +if test -n "$CXX"; then
7.20680 + echo "$as_me:$LINENO: result: $CXX" >&5
7.20681 +echo "${ECHO_T}$CXX" >&6
7.20682 +else
7.20683 + echo "$as_me:$LINENO: result: no" >&5
7.20684 +echo "${ECHO_T}no" >&6
7.20685 +fi
7.20686 +
7.20687 + test -n "$CXX" && break
7.20688 + done
7.20689 +fi
7.20690 +if test -z "$CXX"; then
7.20691 + ac_ct_CXX=$CXX
7.20692 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7.20693 +do
7.20694 + # Extract the first word of "$ac_prog", so it can be a program name with args.
7.20695 +set dummy $ac_prog; ac_word=$2
7.20696 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.20697 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.20698 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7.20699 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.20700 +else
7.20701 + if test -n "$ac_ct_CXX"; then
7.20702 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7.20703 +else
7.20704 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.20705 +for as_dir in $PATH
7.20706 +do
7.20707 + IFS=$as_save_IFS
7.20708 + test -z "$as_dir" && as_dir=.
7.20709 + for ac_exec_ext in '' $ac_executable_extensions; do
7.20710 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.20711 + ac_cv_prog_ac_ct_CXX="$ac_prog"
7.20712 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.20713 + break 2
7.20714 + fi
7.20715 +done
7.20716 +done
7.20717 +
7.20718 +fi
7.20719 +fi
7.20720 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7.20721 +if test -n "$ac_ct_CXX"; then
7.20722 + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7.20723 +echo "${ECHO_T}$ac_ct_CXX" >&6
7.20724 +else
7.20725 + echo "$as_me:$LINENO: result: no" >&5
7.20726 +echo "${ECHO_T}no" >&6
7.20727 +fi
7.20728 +
7.20729 + test -n "$ac_ct_CXX" && break
7.20730 +done
7.20731 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7.20732 +
7.20733 + CXX=$ac_ct_CXX
7.20734 +fi
7.20735 +
7.20736 +
7.20737 +# Provide some information about the compiler.
7.20738 +echo "$as_me:$LINENO:" \
7.20739 + "checking for C++ compiler version" >&5
7.20740 +ac_compiler=`set X $ac_compile; echo $2`
7.20741 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7.20742 + (eval $ac_compiler --version </dev/null >&5) 2>&5
7.20743 + ac_status=$?
7.20744 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20745 + (exit $ac_status); }
7.20746 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7.20747 + (eval $ac_compiler -v </dev/null >&5) 2>&5
7.20748 + ac_status=$?
7.20749 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20750 + (exit $ac_status); }
7.20751 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7.20752 + (eval $ac_compiler -V </dev/null >&5) 2>&5
7.20753 + ac_status=$?
7.20754 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20755 + (exit $ac_status); }
7.20756 +
7.20757 +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7.20758 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7.20759 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7.20760 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.20761 +else
7.20762 + cat >conftest.$ac_ext <<_ACEOF
7.20763 +/* confdefs.h. */
7.20764 +_ACEOF
7.20765 +cat confdefs.h >>conftest.$ac_ext
7.20766 +cat >>conftest.$ac_ext <<_ACEOF
7.20767 +/* end confdefs.h. */
7.20768 +
7.20769 +int
7.20770 +main ()
7.20771 +{
7.20772 +#ifndef __GNUC__
7.20773 + choke me
7.20774 +#endif
7.20775 +
7.20776 + ;
7.20777 + return 0;
7.20778 +}
7.20779 +_ACEOF
7.20780 +rm -f conftest.$ac_objext
7.20781 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20782 + (eval $ac_compile) 2>conftest.er1
7.20783 + ac_status=$?
7.20784 + grep -v '^ *+' conftest.er1 >conftest.err
7.20785 + rm -f conftest.er1
7.20786 + cat conftest.err >&5
7.20787 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20788 + (exit $ac_status); } &&
7.20789 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.20790 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20791 + (eval $ac_try) 2>&5
7.20792 + ac_status=$?
7.20793 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20794 + (exit $ac_status); }; } &&
7.20795 + { ac_try='test -s conftest.$ac_objext'
7.20796 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20797 + (eval $ac_try) 2>&5
7.20798 + ac_status=$?
7.20799 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20800 + (exit $ac_status); }; }; then
7.20801 + ac_compiler_gnu=yes
7.20802 +else
7.20803 + echo "$as_me: failed program was:" >&5
7.20804 +sed 's/^/| /' conftest.$ac_ext >&5
7.20805 +
7.20806 +ac_compiler_gnu=no
7.20807 +fi
7.20808 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.20809 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7.20810 +
7.20811 +fi
7.20812 +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7.20813 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7.20814 +GXX=`test $ac_compiler_gnu = yes && echo yes`
7.20815 +ac_test_CXXFLAGS=${CXXFLAGS+set}
7.20816 +ac_save_CXXFLAGS=$CXXFLAGS
7.20817 +CXXFLAGS="-g"
7.20818 +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7.20819 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7.20820 +if test "${ac_cv_prog_cxx_g+set}" = set; then
7.20821 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.20822 +else
7.20823 + cat >conftest.$ac_ext <<_ACEOF
7.20824 +/* confdefs.h. */
7.20825 +_ACEOF
7.20826 +cat confdefs.h >>conftest.$ac_ext
7.20827 +cat >>conftest.$ac_ext <<_ACEOF
7.20828 +/* end confdefs.h. */
7.20829 +
7.20830 +int
7.20831 +main ()
7.20832 +{
7.20833 +
7.20834 + ;
7.20835 + return 0;
7.20836 +}
7.20837 +_ACEOF
7.20838 +rm -f conftest.$ac_objext
7.20839 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20840 + (eval $ac_compile) 2>conftest.er1
7.20841 + ac_status=$?
7.20842 + grep -v '^ *+' conftest.er1 >conftest.err
7.20843 + rm -f conftest.er1
7.20844 + cat conftest.err >&5
7.20845 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20846 + (exit $ac_status); } &&
7.20847 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.20848 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20849 + (eval $ac_try) 2>&5
7.20850 + ac_status=$?
7.20851 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20852 + (exit $ac_status); }; } &&
7.20853 + { ac_try='test -s conftest.$ac_objext'
7.20854 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20855 + (eval $ac_try) 2>&5
7.20856 + ac_status=$?
7.20857 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20858 + (exit $ac_status); }; }; then
7.20859 + ac_cv_prog_cxx_g=yes
7.20860 +else
7.20861 + echo "$as_me: failed program was:" >&5
7.20862 +sed 's/^/| /' conftest.$ac_ext >&5
7.20863 +
7.20864 +ac_cv_prog_cxx_g=no
7.20865 +fi
7.20866 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.20867 +fi
7.20868 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7.20869 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7.20870 +if test "$ac_test_CXXFLAGS" = set; then
7.20871 + CXXFLAGS=$ac_save_CXXFLAGS
7.20872 +elif test $ac_cv_prog_cxx_g = yes; then
7.20873 + if test "$GXX" = yes; then
7.20874 + CXXFLAGS="-g -O2"
7.20875 + else
7.20876 + CXXFLAGS="-g"
7.20877 + fi
7.20878 +else
7.20879 + if test "$GXX" = yes; then
7.20880 + CXXFLAGS="-O2"
7.20881 + else
7.20882 + CXXFLAGS=
7.20883 + fi
7.20884 +fi
7.20885 +for ac_declaration in \
7.20886 + '' \
7.20887 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
7.20888 + 'extern "C" void std::exit (int); using std::exit;' \
7.20889 + 'extern "C" void exit (int) throw ();' \
7.20890 + 'extern "C" void exit (int);' \
7.20891 + 'void exit (int);'
7.20892 +do
7.20893 + cat >conftest.$ac_ext <<_ACEOF
7.20894 +/* confdefs.h. */
7.20895 +_ACEOF
7.20896 +cat confdefs.h >>conftest.$ac_ext
7.20897 +cat >>conftest.$ac_ext <<_ACEOF
7.20898 +/* end confdefs.h. */
7.20899 +$ac_declaration
7.20900 +@%:@include <stdlib.h>
7.20901 +int
7.20902 +main ()
7.20903 +{
7.20904 +exit (42);
7.20905 + ;
7.20906 + return 0;
7.20907 +}
7.20908 +_ACEOF
7.20909 +rm -f conftest.$ac_objext
7.20910 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20911 + (eval $ac_compile) 2>conftest.er1
7.20912 + ac_status=$?
7.20913 + grep -v '^ *+' conftest.er1 >conftest.err
7.20914 + rm -f conftest.er1
7.20915 + cat conftest.err >&5
7.20916 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20917 + (exit $ac_status); } &&
7.20918 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.20919 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20920 + (eval $ac_try) 2>&5
7.20921 + ac_status=$?
7.20922 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20923 + (exit $ac_status); }; } &&
7.20924 + { ac_try='test -s conftest.$ac_objext'
7.20925 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20926 + (eval $ac_try) 2>&5
7.20927 + ac_status=$?
7.20928 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20929 + (exit $ac_status); }; }; then
7.20930 + :
7.20931 +else
7.20932 + echo "$as_me: failed program was:" >&5
7.20933 +sed 's/^/| /' conftest.$ac_ext >&5
7.20934 +
7.20935 +continue
7.20936 +fi
7.20937 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.20938 + cat >conftest.$ac_ext <<_ACEOF
7.20939 +/* confdefs.h. */
7.20940 +_ACEOF
7.20941 +cat confdefs.h >>conftest.$ac_ext
7.20942 +cat >>conftest.$ac_ext <<_ACEOF
7.20943 +/* end confdefs.h. */
7.20944 +$ac_declaration
7.20945 +int
7.20946 +main ()
7.20947 +{
7.20948 +exit (42);
7.20949 + ;
7.20950 + return 0;
7.20951 +}
7.20952 +_ACEOF
7.20953 +rm -f conftest.$ac_objext
7.20954 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.20955 + (eval $ac_compile) 2>conftest.er1
7.20956 + ac_status=$?
7.20957 + grep -v '^ *+' conftest.er1 >conftest.err
7.20958 + rm -f conftest.er1
7.20959 + cat conftest.err >&5
7.20960 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20961 + (exit $ac_status); } &&
7.20962 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7.20963 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20964 + (eval $ac_try) 2>&5
7.20965 + ac_status=$?
7.20966 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20967 + (exit $ac_status); }; } &&
7.20968 + { ac_try='test -s conftest.$ac_objext'
7.20969 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.20970 + (eval $ac_try) 2>&5
7.20971 + ac_status=$?
7.20972 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.20973 + (exit $ac_status); }; }; then
7.20974 + break
7.20975 +else
7.20976 + echo "$as_me: failed program was:" >&5
7.20977 +sed 's/^/| /' conftest.$ac_ext >&5
7.20978 +
7.20979 +fi
7.20980 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.20981 +done
7.20982 +rm -f conftest*
7.20983 +if test -n "$ac_declaration"; then
7.20984 + echo '#ifdef __cplusplus' >>confdefs.h
7.20985 + echo $ac_declaration >>confdefs.h
7.20986 + echo '#endif' >>confdefs.h
7.20987 +fi
7.20988 +
7.20989 +ac_ext=c
7.20990 +ac_cpp='$CPP $CPPFLAGS'
7.20991 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.20992 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.20993 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.20994 +
7.20995 +depcc="$CXX" am_compiler_list=
7.20996 +
7.20997 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7.20998 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
7.20999 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7.21000 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.21001 +else
7.21002 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7.21003 + # We make a subdir and do the tests there. Otherwise we can end up
7.21004 + # making bogus files that we don't know about and never remove. For
7.21005 + # instance it was reported that on HP-UX the gcc test will end up
7.21006 + # making a dummy file named `D' -- because `-MD' means `put the output
7.21007 + # in D'.
7.21008 + mkdir conftest.dir
7.21009 + # Copy depcomp to subdir because otherwise we won't find it if we're
7.21010 + # using a relative directory.
7.21011 + cp "$am_depcomp" conftest.dir
7.21012 + cd conftest.dir
7.21013 + # We will build objects and dependencies in a subdirectory because
7.21014 + # it helps to detect inapplicable dependency modes. For instance
7.21015 + # both Tru64's cc and ICC support -MD to output dependencies as a
7.21016 + # side effect of compilation, but ICC will put the dependencies in
7.21017 + # the current directory while Tru64 will put them in the object
7.21018 + # directory.
7.21019 + mkdir sub
7.21020 +
7.21021 + am_cv_CXX_dependencies_compiler_type=none
7.21022 + if test "$am_compiler_list" = ""; then
7.21023 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7.21024 + fi
7.21025 + for depmode in $am_compiler_list; do
7.21026 + # Setup a source with many dependencies, because some compilers
7.21027 + # like to wrap large dependency lists on column 80 (with \), and
7.21028 + # we should not choose a depcomp mode which is confused by this.
7.21029 + #
7.21030 + # We need to recreate these files for each test, as the compiler may
7.21031 + # overwrite some of them when testing with obscure command lines.
7.21032 + # This happens at least with the AIX C compiler.
7.21033 + : > sub/conftest.c
7.21034 + for i in 1 2 3 4 5 6; do
7.21035 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
7.21036 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7.21037 + # Solaris 8's {/usr,}/bin/sh.
7.21038 + touch sub/conftst$i.h
7.21039 + done
7.21040 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7.21041 +
7.21042 + case $depmode in
7.21043 + nosideeffect)
7.21044 + # after this tag, mechanisms are not by side-effect, so they'll
7.21045 + # only be used when explicitly requested
7.21046 + if test "x$enable_dependency_tracking" = xyes; then
7.21047 + continue
7.21048 + else
7.21049 + break
7.21050 + fi
7.21051 + ;;
7.21052 + none) break ;;
7.21053 + esac
7.21054 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
7.21055 + # mode. It turns out that the SunPro C++ compiler does not properly
7.21056 + # handle `-M -o', and we need to detect this.
7.21057 + if depmode=$depmode \
7.21058 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7.21059 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7.21060 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7.21061 + >/dev/null 2>conftest.err &&
7.21062 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7.21063 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7.21064 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7.21065 + # icc doesn't choke on unknown options, it will just issue warnings
7.21066 + # or remarks (even with -Werror). So we grep stderr for any message
7.21067 + # that says an option was ignored or not supported.
7.21068 + # When given -MP, icc 7.0 and 7.1 complain thusly:
7.21069 + # icc: Command line warning: ignoring option '-M'; no argument required
7.21070 + # The diagnosis changed in icc 8.0:
7.21071 + # icc: Command line remark: option '-MP' not supported
7.21072 + if (grep 'ignoring option' conftest.err ||
7.21073 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7.21074 + am_cv_CXX_dependencies_compiler_type=$depmode
7.21075 + break
7.21076 + fi
7.21077 + fi
7.21078 + done
7.21079 +
7.21080 + cd ..
7.21081 + rm -rf conftest.dir
7.21082 +else
7.21083 + am_cv_CXX_dependencies_compiler_type=none
7.21084 +fi
7.21085 +
7.21086 +fi
7.21087 +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7.21088 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
7.21089 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7.21090 +
7.21091 +
7.21092 +
7.21093 +if
7.21094 + test "x$enable_dependency_tracking" != xno \
7.21095 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7.21096 + am__fastdepCXX_TRUE=
7.21097 + am__fastdepCXX_FALSE='#'
7.21098 +else
7.21099 + am__fastdepCXX_TRUE='#'
7.21100 + am__fastdepCXX_FALSE=
7.21101 +fi
7.21102 +
7.21103 +
7.21104 +# Extract the first word of "$CXX", so it can be a program name with args.
7.21105 +set dummy $CXX; ac_word=$2
7.21106 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.21107 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.21108 +if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
7.21109 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.21110 +else
7.21111 + if test -n "$HAVE_CXX"; then
7.21112 + ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
7.21113 +else
7.21114 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.21115 +for as_dir in $PATH
7.21116 +do
7.21117 + IFS=$as_save_IFS
7.21118 + test -z "$as_dir" && as_dir=.
7.21119 + for ac_exec_ext in '' $ac_executable_extensions; do
7.21120 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.21121 + ac_cv_prog_HAVE_CXX="yes"
7.21122 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.21123 + break 2
7.21124 + fi
7.21125 +done
7.21126 +done
7.21127 +
7.21128 + test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
7.21129 +fi
7.21130 +fi
7.21131 +HAVE_CXX=$ac_cv_prog_HAVE_CXX
7.21132 +if test -n "$HAVE_CXX"; then
7.21133 + echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
7.21134 +echo "${ECHO_T}$HAVE_CXX" >&6
7.21135 +else
7.21136 + echo "$as_me:$LINENO: result: no" >&5
7.21137 +echo "${ECHO_T}no" >&6
7.21138 +fi
7.21139 +
7.21140 +ac_ext=cc
7.21141 +ac_cpp='$CXXCPP $CPPFLAGS'
7.21142 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.21143 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.21144 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7.21145 +echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7.21146 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7.21147 +if test -z "$CXXCPP"; then
7.21148 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
7.21149 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.21150 +else
7.21151 + # Double quotes because CXXCPP needs to be expanded
7.21152 + for CXXCPP in "$CXX -E" "/lib/cpp"
7.21153 + do
7.21154 + ac_preproc_ok=false
7.21155 +for ac_cxx_preproc_warn_flag in '' yes
7.21156 +do
7.21157 + # Use a header file that comes with gcc, so configuring glibc
7.21158 + # with a fresh cross-compiler works.
7.21159 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.21160 + # <limits.h> exists even on freestanding compilers.
7.21161 + # On the NeXT, cc -E runs the code through the compiler's parser,
7.21162 + # not just through cpp. "Syntax error" is here to catch this case.
7.21163 + cat >conftest.$ac_ext <<_ACEOF
7.21164 +/* confdefs.h. */
7.21165 +_ACEOF
7.21166 +cat confdefs.h >>conftest.$ac_ext
7.21167 +cat >>conftest.$ac_ext <<_ACEOF
7.21168 +/* end confdefs.h. */
7.21169 +@%:@ifdef __STDC__
7.21170 +@%:@ include <limits.h>
7.21171 +@%:@else
7.21172 +@%:@ include <assert.h>
7.21173 +@%:@endif
7.21174 + Syntax error
7.21175 +_ACEOF
7.21176 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.21177 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.21178 + ac_status=$?
7.21179 + grep -v '^ *+' conftest.er1 >conftest.err
7.21180 + rm -f conftest.er1
7.21181 + cat conftest.err >&5
7.21182 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21183 + (exit $ac_status); } >/dev/null; then
7.21184 + if test -s conftest.err; then
7.21185 + ac_cpp_err=$ac_cxx_preproc_warn_flag
7.21186 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7.21187 + else
7.21188 + ac_cpp_err=
7.21189 + fi
7.21190 +else
7.21191 + ac_cpp_err=yes
7.21192 +fi
7.21193 +if test -z "$ac_cpp_err"; then
7.21194 + :
7.21195 +else
7.21196 + echo "$as_me: failed program was:" >&5
7.21197 +sed 's/^/| /' conftest.$ac_ext >&5
7.21198 +
7.21199 + # Broken: fails on valid input.
7.21200 +continue
7.21201 +fi
7.21202 +rm -f conftest.err conftest.$ac_ext
7.21203 +
7.21204 + # OK, works on sane cases. Now check whether non-existent headers
7.21205 + # can be detected and how.
7.21206 + cat >conftest.$ac_ext <<_ACEOF
7.21207 +/* confdefs.h. */
7.21208 +_ACEOF
7.21209 +cat confdefs.h >>conftest.$ac_ext
7.21210 +cat >>conftest.$ac_ext <<_ACEOF
7.21211 +/* end confdefs.h. */
7.21212 +@%:@include <ac_nonexistent.h>
7.21213 +_ACEOF
7.21214 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.21215 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.21216 + ac_status=$?
7.21217 + grep -v '^ *+' conftest.er1 >conftest.err
7.21218 + rm -f conftest.er1
7.21219 + cat conftest.err >&5
7.21220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21221 + (exit $ac_status); } >/dev/null; then
7.21222 + if test -s conftest.err; then
7.21223 + ac_cpp_err=$ac_cxx_preproc_warn_flag
7.21224 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7.21225 + else
7.21226 + ac_cpp_err=
7.21227 + fi
7.21228 +else
7.21229 + ac_cpp_err=yes
7.21230 +fi
7.21231 +if test -z "$ac_cpp_err"; then
7.21232 + # Broken: success on invalid input.
7.21233 +continue
7.21234 +else
7.21235 + echo "$as_me: failed program was:" >&5
7.21236 +sed 's/^/| /' conftest.$ac_ext >&5
7.21237 +
7.21238 + # Passes both tests.
7.21239 +ac_preproc_ok=:
7.21240 +break
7.21241 +fi
7.21242 +rm -f conftest.err conftest.$ac_ext
7.21243 +
7.21244 +done
7.21245 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7.21246 +rm -f conftest.err conftest.$ac_ext
7.21247 +if $ac_preproc_ok; then
7.21248 + break
7.21249 +fi
7.21250 +
7.21251 + done
7.21252 + ac_cv_prog_CXXCPP=$CXXCPP
7.21253 +
7.21254 +fi
7.21255 + CXXCPP=$ac_cv_prog_CXXCPP
7.21256 +else
7.21257 + ac_cv_prog_CXXCPP=$CXXCPP
7.21258 +fi
7.21259 +echo "$as_me:$LINENO: result: $CXXCPP" >&5
7.21260 +echo "${ECHO_T}$CXXCPP" >&6
7.21261 +ac_preproc_ok=false
7.21262 +for ac_cxx_preproc_warn_flag in '' yes
7.21263 +do
7.21264 + # Use a header file that comes with gcc, so configuring glibc
7.21265 + # with a fresh cross-compiler works.
7.21266 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7.21267 + # <limits.h> exists even on freestanding compilers.
7.21268 + # On the NeXT, cc -E runs the code through the compiler's parser,
7.21269 + # not just through cpp. "Syntax error" is here to catch this case.
7.21270 + cat >conftest.$ac_ext <<_ACEOF
7.21271 +/* confdefs.h. */
7.21272 +_ACEOF
7.21273 +cat confdefs.h >>conftest.$ac_ext
7.21274 +cat >>conftest.$ac_ext <<_ACEOF
7.21275 +/* end confdefs.h. */
7.21276 +@%:@ifdef __STDC__
7.21277 +@%:@ include <limits.h>
7.21278 +@%:@else
7.21279 +@%:@ include <assert.h>
7.21280 +@%:@endif
7.21281 + Syntax error
7.21282 +_ACEOF
7.21283 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.21284 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.21285 + ac_status=$?
7.21286 + grep -v '^ *+' conftest.er1 >conftest.err
7.21287 + rm -f conftest.er1
7.21288 + cat conftest.err >&5
7.21289 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21290 + (exit $ac_status); } >/dev/null; then
7.21291 + if test -s conftest.err; then
7.21292 + ac_cpp_err=$ac_cxx_preproc_warn_flag
7.21293 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7.21294 + else
7.21295 + ac_cpp_err=
7.21296 + fi
7.21297 +else
7.21298 + ac_cpp_err=yes
7.21299 +fi
7.21300 +if test -z "$ac_cpp_err"; then
7.21301 + :
7.21302 +else
7.21303 + echo "$as_me: failed program was:" >&5
7.21304 +sed 's/^/| /' conftest.$ac_ext >&5
7.21305 +
7.21306 + # Broken: fails on valid input.
7.21307 +continue
7.21308 +fi
7.21309 +rm -f conftest.err conftest.$ac_ext
7.21310 +
7.21311 + # OK, works on sane cases. Now check whether non-existent headers
7.21312 + # can be detected and how.
7.21313 + cat >conftest.$ac_ext <<_ACEOF
7.21314 +/* confdefs.h. */
7.21315 +_ACEOF
7.21316 +cat confdefs.h >>conftest.$ac_ext
7.21317 +cat >>conftest.$ac_ext <<_ACEOF
7.21318 +/* end confdefs.h. */
7.21319 +@%:@include <ac_nonexistent.h>
7.21320 +_ACEOF
7.21321 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7.21322 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7.21323 + ac_status=$?
7.21324 + grep -v '^ *+' conftest.er1 >conftest.err
7.21325 + rm -f conftest.er1
7.21326 + cat conftest.err >&5
7.21327 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21328 + (exit $ac_status); } >/dev/null; then
7.21329 + if test -s conftest.err; then
7.21330 + ac_cpp_err=$ac_cxx_preproc_warn_flag
7.21331 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7.21332 + else
7.21333 + ac_cpp_err=
7.21334 + fi
7.21335 +else
7.21336 + ac_cpp_err=yes
7.21337 +fi
7.21338 +if test -z "$ac_cpp_err"; then
7.21339 + # Broken: success on invalid input.
7.21340 +continue
7.21341 +else
7.21342 + echo "$as_me: failed program was:" >&5
7.21343 +sed 's/^/| /' conftest.$ac_ext >&5
7.21344 +
7.21345 + # Passes both tests.
7.21346 +ac_preproc_ok=:
7.21347 +break
7.21348 +fi
7.21349 +rm -f conftest.err conftest.$ac_ext
7.21350 +
7.21351 +done
7.21352 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7.21353 +rm -f conftest.err conftest.$ac_ext
7.21354 +if $ac_preproc_ok; then
7.21355 + :
7.21356 +else
7.21357 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7.21358 +See \`config.log' for more details." >&5
7.21359 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7.21360 +See \`config.log' for more details." >&2;}
7.21361 + { (exit 1); exit 1; }; }
7.21362 +fi
7.21363 +
7.21364 +ac_ext=c
7.21365 +ac_cpp='$CPP $CPPFLAGS'
7.21366 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7.21367 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7.21368 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7.21369 +
7.21370 +echo "$as_me:$LINENO: checking for library containing strerror" >&5
7.21371 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
7.21372 +if test "${ac_cv_search_strerror+set}" = set; then
7.21373 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.21374 +else
7.21375 + ac_func_search_save_LIBS=$LIBS
7.21376 +ac_cv_search_strerror=no
7.21377 +cat >conftest.$ac_ext <<_ACEOF
7.21378 +/* confdefs.h. */
7.21379 +_ACEOF
7.21380 +cat confdefs.h >>conftest.$ac_ext
7.21381 +cat >>conftest.$ac_ext <<_ACEOF
7.21382 +/* end confdefs.h. */
7.21383 +
7.21384 +/* Override any gcc2 internal prototype to avoid an error. */
7.21385 +#ifdef __cplusplus
7.21386 +extern "C"
7.21387 +#endif
7.21388 +/* We use char because int might match the return type of a gcc2
7.21389 + builtin and then its argument prototype would still apply. */
7.21390 +char strerror ();
7.21391 +int
7.21392 +main ()
7.21393 +{
7.21394 +strerror ();
7.21395 + ;
7.21396 + return 0;
7.21397 +}
7.21398 +_ACEOF
7.21399 +rm -f conftest.$ac_objext conftest$ac_exeext
7.21400 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.21401 + (eval $ac_link) 2>conftest.er1
7.21402 + ac_status=$?
7.21403 + grep -v '^ *+' conftest.er1 >conftest.err
7.21404 + rm -f conftest.er1
7.21405 + cat conftest.err >&5
7.21406 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21407 + (exit $ac_status); } &&
7.21408 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.21409 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.21410 + (eval $ac_try) 2>&5
7.21411 + ac_status=$?
7.21412 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21413 + (exit $ac_status); }; } &&
7.21414 + { ac_try='test -s conftest$ac_exeext'
7.21415 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.21416 + (eval $ac_try) 2>&5
7.21417 + ac_status=$?
7.21418 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21419 + (exit $ac_status); }; }; then
7.21420 + ac_cv_search_strerror="none required"
7.21421 +else
7.21422 + echo "$as_me: failed program was:" >&5
7.21423 +sed 's/^/| /' conftest.$ac_ext >&5
7.21424 +
7.21425 +fi
7.21426 +rm -f conftest.err conftest.$ac_objext \
7.21427 + conftest$ac_exeext conftest.$ac_ext
7.21428 +if test "$ac_cv_search_strerror" = no; then
7.21429 + for ac_lib in cposix; do
7.21430 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7.21431 + cat >conftest.$ac_ext <<_ACEOF
7.21432 +/* confdefs.h. */
7.21433 +_ACEOF
7.21434 +cat confdefs.h >>conftest.$ac_ext
7.21435 +cat >>conftest.$ac_ext <<_ACEOF
7.21436 +/* end confdefs.h. */
7.21437 +
7.21438 +/* Override any gcc2 internal prototype to avoid an error. */
7.21439 +#ifdef __cplusplus
7.21440 +extern "C"
7.21441 +#endif
7.21442 +/* We use char because int might match the return type of a gcc2
7.21443 + builtin and then its argument prototype would still apply. */
7.21444 +char strerror ();
7.21445 +int
7.21446 +main ()
7.21447 +{
7.21448 +strerror ();
7.21449 + ;
7.21450 + return 0;
7.21451 +}
7.21452 +_ACEOF
7.21453 +rm -f conftest.$ac_objext conftest$ac_exeext
7.21454 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.21455 + (eval $ac_link) 2>conftest.er1
7.21456 + ac_status=$?
7.21457 + grep -v '^ *+' conftest.er1 >conftest.err
7.21458 + rm -f conftest.er1
7.21459 + cat conftest.err >&5
7.21460 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21461 + (exit $ac_status); } &&
7.21462 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.21463 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.21464 + (eval $ac_try) 2>&5
7.21465 + ac_status=$?
7.21466 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21467 + (exit $ac_status); }; } &&
7.21468 + { ac_try='test -s conftest$ac_exeext'
7.21469 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.21470 + (eval $ac_try) 2>&5
7.21471 + ac_status=$?
7.21472 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21473 + (exit $ac_status); }; }; then
7.21474 + ac_cv_search_strerror="-l$ac_lib"
7.21475 +break
7.21476 +else
7.21477 + echo "$as_me: failed program was:" >&5
7.21478 +sed 's/^/| /' conftest.$ac_ext >&5
7.21479 +
7.21480 +fi
7.21481 +rm -f conftest.err conftest.$ac_objext \
7.21482 + conftest$ac_exeext conftest.$ac_ext
7.21483 + done
7.21484 +fi
7.21485 +LIBS=$ac_func_search_save_LIBS
7.21486 +fi
7.21487 +echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
7.21488 +echo "${ECHO_T}$ac_cv_search_strerror" >&6
7.21489 +if test "$ac_cv_search_strerror" != no; then
7.21490 + test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
7.21491 +
7.21492 +fi
7.21493 +
7.21494 +
7.21495 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7.21496 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7.21497 +if test "${ac_cv_header_stdc+set}" = set; then
7.21498 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.21499 +else
7.21500 + cat >conftest.$ac_ext <<_ACEOF
7.21501 +/* confdefs.h. */
7.21502 +_ACEOF
7.21503 +cat confdefs.h >>conftest.$ac_ext
7.21504 +cat >>conftest.$ac_ext <<_ACEOF
7.21505 +/* end confdefs.h. */
7.21506 +#include <stdlib.h>
7.21507 +#include <stdarg.h>
7.21508 +#include <string.h>
7.21509 +#include <float.h>
7.21510 +
7.21511 +int
7.21512 +main ()
7.21513 +{
7.21514 +
7.21515 + ;
7.21516 + return 0;
7.21517 +}
7.21518 +_ACEOF
7.21519 +rm -f conftest.$ac_objext
7.21520 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.21521 + (eval $ac_compile) 2>conftest.er1
7.21522 + ac_status=$?
7.21523 + grep -v '^ *+' conftest.er1 >conftest.err
7.21524 + rm -f conftest.er1
7.21525 + cat conftest.err >&5
7.21526 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21527 + (exit $ac_status); } &&
7.21528 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.21529 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.21530 + (eval $ac_try) 2>&5
7.21531 + ac_status=$?
7.21532 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21533 + (exit $ac_status); }; } &&
7.21534 + { ac_try='test -s conftest.$ac_objext'
7.21535 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.21536 + (eval $ac_try) 2>&5
7.21537 + ac_status=$?
7.21538 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21539 + (exit $ac_status); }; }; then
7.21540 + ac_cv_header_stdc=yes
7.21541 +else
7.21542 + echo "$as_me: failed program was:" >&5
7.21543 +sed 's/^/| /' conftest.$ac_ext >&5
7.21544 +
7.21545 +ac_cv_header_stdc=no
7.21546 +fi
7.21547 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.21548 +
7.21549 +if test $ac_cv_header_stdc = yes; then
7.21550 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7.21551 + cat >conftest.$ac_ext <<_ACEOF
7.21552 +/* confdefs.h. */
7.21553 +_ACEOF
7.21554 +cat confdefs.h >>conftest.$ac_ext
7.21555 +cat >>conftest.$ac_ext <<_ACEOF
7.21556 +/* end confdefs.h. */
7.21557 +#include <string.h>
7.21558 +
7.21559 +_ACEOF
7.21560 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7.21561 + $EGREP "memchr" >/dev/null 2>&1; then
7.21562 + :
7.21563 +else
7.21564 + ac_cv_header_stdc=no
7.21565 +fi
7.21566 +rm -f conftest*
7.21567 +
7.21568 +fi
7.21569 +
7.21570 +if test $ac_cv_header_stdc = yes; then
7.21571 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7.21572 + cat >conftest.$ac_ext <<_ACEOF
7.21573 +/* confdefs.h. */
7.21574 +_ACEOF
7.21575 +cat confdefs.h >>conftest.$ac_ext
7.21576 +cat >>conftest.$ac_ext <<_ACEOF
7.21577 +/* end confdefs.h. */
7.21578 +#include <stdlib.h>
7.21579 +
7.21580 +_ACEOF
7.21581 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7.21582 + $EGREP "free" >/dev/null 2>&1; then
7.21583 + :
7.21584 +else
7.21585 + ac_cv_header_stdc=no
7.21586 +fi
7.21587 +rm -f conftest*
7.21588 +
7.21589 +fi
7.21590 +
7.21591 +if test $ac_cv_header_stdc = yes; then
7.21592 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7.21593 + if test "$cross_compiling" = yes; then
7.21594 + :
7.21595 +else
7.21596 + cat >conftest.$ac_ext <<_ACEOF
7.21597 +/* confdefs.h. */
7.21598 +_ACEOF
7.21599 +cat confdefs.h >>conftest.$ac_ext
7.21600 +cat >>conftest.$ac_ext <<_ACEOF
7.21601 +/* end confdefs.h. */
7.21602 +#include <ctype.h>
7.21603 +#if ((' ' & 0x0FF) == 0x020)
7.21604 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7.21605 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7.21606 +#else
7.21607 +# define ISLOWER(c) \
7.21608 + (('a' <= (c) && (c) <= 'i') \
7.21609 + || ('j' <= (c) && (c) <= 'r') \
7.21610 + || ('s' <= (c) && (c) <= 'z'))
7.21611 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7.21612 +#endif
7.21613 +
7.21614 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7.21615 +int
7.21616 +main ()
7.21617 +{
7.21618 + int i;
7.21619 + for (i = 0; i < 256; i++)
7.21620 + if (XOR (islower (i), ISLOWER (i))
7.21621 + || toupper (i) != TOUPPER (i))
7.21622 + exit(2);
7.21623 + exit (0);
7.21624 +}
7.21625 +_ACEOF
7.21626 +rm -f conftest$ac_exeext
7.21627 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7.21628 + (eval $ac_link) 2>&5
7.21629 + ac_status=$?
7.21630 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21631 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7.21632 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.21633 + (eval $ac_try) 2>&5
7.21634 + ac_status=$?
7.21635 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21636 + (exit $ac_status); }; }; then
7.21637 + :
7.21638 +else
7.21639 + echo "$as_me: program exited with status $ac_status" >&5
7.21640 +echo "$as_me: failed program was:" >&5
7.21641 +sed 's/^/| /' conftest.$ac_ext >&5
7.21642 +
7.21643 +( exit $ac_status )
7.21644 +ac_cv_header_stdc=no
7.21645 +fi
7.21646 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7.21647 +fi
7.21648 +fi
7.21649 +fi
7.21650 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7.21651 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
7.21652 +if test $ac_cv_header_stdc = yes; then
7.21653 +
7.21654 +cat >>confdefs.h <<\_ACEOF
7.21655 +@%:@define STDC_HEADERS 1
7.21656 +_ACEOF
7.21657 +
7.21658 +fi
7.21659 +
7.21660 +echo "$as_me:$LINENO: checking for inline" >&5
7.21661 +echo $ECHO_N "checking for inline... $ECHO_C" >&6
7.21662 +if test "${ac_cv_c_inline+set}" = set; then
7.21663 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.21664 +else
7.21665 + ac_cv_c_inline=no
7.21666 +for ac_kw in inline __inline__ __inline; do
7.21667 + cat >conftest.$ac_ext <<_ACEOF
7.21668 +/* confdefs.h. */
7.21669 +_ACEOF
7.21670 +cat confdefs.h >>conftest.$ac_ext
7.21671 +cat >>conftest.$ac_ext <<_ACEOF
7.21672 +/* end confdefs.h. */
7.21673 +#ifndef __cplusplus
7.21674 +typedef int foo_t;
7.21675 +static $ac_kw foo_t static_foo () {return 0; }
7.21676 +$ac_kw foo_t foo () {return 0; }
7.21677 +#endif
7.21678 +
7.21679 +_ACEOF
7.21680 +rm -f conftest.$ac_objext
7.21681 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7.21682 + (eval $ac_compile) 2>conftest.er1
7.21683 + ac_status=$?
7.21684 + grep -v '^ *+' conftest.er1 >conftest.err
7.21685 + rm -f conftest.er1
7.21686 + cat conftest.err >&5
7.21687 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21688 + (exit $ac_status); } &&
7.21689 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7.21690 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.21691 + (eval $ac_try) 2>&5
7.21692 + ac_status=$?
7.21693 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21694 + (exit $ac_status); }; } &&
7.21695 + { ac_try='test -s conftest.$ac_objext'
7.21696 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7.21697 + (eval $ac_try) 2>&5
7.21698 + ac_status=$?
7.21699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7.21700 + (exit $ac_status); }; }; then
7.21701 + ac_cv_c_inline=$ac_kw; break
7.21702 +else
7.21703 + echo "$as_me: failed program was:" >&5
7.21704 +sed 's/^/| /' conftest.$ac_ext >&5
7.21705 +
7.21706 +fi
7.21707 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7.21708 +done
7.21709 +
7.21710 +fi
7.21711 +echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7.21712 +echo "${ECHO_T}$ac_cv_c_inline" >&6
7.21713 +
7.21714 +
7.21715 +case $ac_cv_c_inline in
7.21716 + inline | yes) ;;
7.21717 + *)
7.21718 + case $ac_cv_c_inline in
7.21719 + no) ac_val=;;
7.21720 + *) ac_val=$ac_cv_c_inline;;
7.21721 + esac
7.21722 + cat >>confdefs.h <<_ACEOF
7.21723 +#ifndef __cplusplus
7.21724 +#define inline $ac_val
7.21725 +#endif
7.21726 +_ACEOF
7.21727 + ;;
7.21728 +esac
7.21729 +
7.21730 +
7.21731 +# Extract the first word of "pkg-config", so it can be a program name with args.
7.21732 +set dummy pkg-config; ac_word=$2
7.21733 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.21734 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.21735 +if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
7.21736 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.21737 +else
7.21738 + if test -n "$HAVE_PKGCONFIG"; then
7.21739 + ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
7.21740 +else
7.21741 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.21742 +for as_dir in $PATH
7.21743 +do
7.21744 + IFS=$as_save_IFS
7.21745 + test -z "$as_dir" && as_dir=.
7.21746 + for ac_exec_ext in '' $ac_executable_extensions; do
7.21747 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.21748 + ac_cv_prog_HAVE_PKGCONFIG="yes"
7.21749 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.21750 + break 2
7.21751 + fi
7.21752 +done
7.21753 +done
7.21754 +
7.21755 + test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
7.21756 +fi
7.21757 +fi
7.21758 +HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
7.21759 +if test -n "$HAVE_PKGCONFIG"; then
7.21760 + echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
7.21761 +echo "${ECHO_T}$HAVE_PKGCONFIG" >&6
7.21762 +else
7.21763 + echo "$as_me:$LINENO: result: no" >&5
7.21764 +echo "${ECHO_T}no" >&6
7.21765 +fi
7.21766 +
7.21767 +
7.21768 +if test "x$HAVE_PKGCONFIG" = "xno"; then
7.21769 + { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
7.21770 +echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
7.21771 + { (exit 1); exit 1; }; }
7.21772 +fi
7.21773 +
7.21774 +
7.21775 +GST_REQUIRED=0.10.3
7.21776 +GST_MAJORMINOR=0.10
7.21777 +
7.21778 +
7.21779 + succeeded=no
7.21780 +
7.21781 + if test -z "$PKG_CONFIG"; then
7.21782 + # Extract the first word of "pkg-config", so it can be a program name with args.
7.21783 +set dummy pkg-config; ac_word=$2
7.21784 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.21785 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.21786 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7.21787 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.21788 +else
7.21789 + case $PKG_CONFIG in
7.21790 + [\\/]* | ?:[\\/]*)
7.21791 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7.21792 + ;;
7.21793 + *)
7.21794 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.21795 +for as_dir in $PATH
7.21796 +do
7.21797 + IFS=$as_save_IFS
7.21798 + test -z "$as_dir" && as_dir=.
7.21799 + for ac_exec_ext in '' $ac_executable_extensions; do
7.21800 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.21801 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7.21802 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.21803 + break 2
7.21804 + fi
7.21805 +done
7.21806 +done
7.21807 +
7.21808 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7.21809 + ;;
7.21810 +esac
7.21811 +fi
7.21812 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7.21813 +
7.21814 +if test -n "$PKG_CONFIG"; then
7.21815 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7.21816 +echo "${ECHO_T}$PKG_CONFIG" >&6
7.21817 +else
7.21818 + echo "$as_me:$LINENO: result: no" >&5
7.21819 +echo "${ECHO_T}no" >&6
7.21820 +fi
7.21821 +
7.21822 + fi
7.21823 +
7.21824 + if test "$PKG_CONFIG" = "no" ; then
7.21825 + echo "*** The pkg-config script could not be found. Make sure it is"
7.21826 + echo "*** in your path, or set the PKG_CONFIG environment variable"
7.21827 + echo "*** to the full path to pkg-config."
7.21828 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
7.21829 + else
7.21830 + PKG_CONFIG_MIN_VERSION=0.9.0
7.21831 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7.21832 + echo "$as_me:$LINENO: checking for \
7.21833 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
7.21834 +echo $ECHO_N "checking for \
7.21835 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
7.21836 +
7.21837 + if $PKG_CONFIG --exists "\
7.21838 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
7.21839 + echo "$as_me:$LINENO: result: yes" >&5
7.21840 +echo "${ECHO_T}yes" >&6
7.21841 + succeeded=yes
7.21842 +
7.21843 + echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
7.21844 +echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
7.21845 + GST_CFLAGS=`$PKG_CONFIG --cflags "\
7.21846 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
7.21847 + echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
7.21848 +echo "${ECHO_T}$GST_CFLAGS" >&6
7.21849 +
7.21850 + echo "$as_me:$LINENO: checking GST_LIBS" >&5
7.21851 +echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
7.21852 + GST_LIBS=`$PKG_CONFIG --libs "\
7.21853 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
7.21854 + echo "$as_me:$LINENO: result: $GST_LIBS" >&5
7.21855 +echo "${ECHO_T}$GST_LIBS" >&6
7.21856 + else
7.21857 + GST_CFLAGS=""
7.21858 + GST_LIBS=""
7.21859 + ## If we have a custom action on failure, don't print errors, but
7.21860 + ## do set a variable so people can do so.
7.21861 + GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
7.21862 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
7.21863 +
7.21864 + fi
7.21865 +
7.21866 +
7.21867 +
7.21868 + else
7.21869 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
7.21870 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
7.21871 + fi
7.21872 + fi
7.21873 +
7.21874 + if test $succeeded = yes; then
7.21875 + HAVE_GST=yes
7.21876 + else
7.21877 + HAVE_GST=no
7.21878 + fi
7.21879 +
7.21880 +
7.21881 +if test "x$HAVE_GST" = "xno"; then
7.21882 + { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
7.21883 +echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
7.21884 + { (exit 1); exit 1; }; }
7.21885 +fi
7.21886 +
7.21887 +if test "x$USE_DEBUG" = xyes; then
7.21888 + GST_CFLAGS="$GST_CFLAGS -g"
7.21889 +fi
7.21890 +
7.21891 +
7.21892 +
7.21893 +
7.21894 +
7.21895 +
7.21896 +
7.21897 + succeeded=no
7.21898 +
7.21899 + if test -z "$PKG_CONFIG"; then
7.21900 + # Extract the first word of "pkg-config", so it can be a program name with args.
7.21901 +set dummy pkg-config; ac_word=$2
7.21902 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.21903 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.21904 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7.21905 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.21906 +else
7.21907 + case $PKG_CONFIG in
7.21908 + [\\/]* | ?:[\\/]*)
7.21909 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7.21910 + ;;
7.21911 + *)
7.21912 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.21913 +for as_dir in $PATH
7.21914 +do
7.21915 + IFS=$as_save_IFS
7.21916 + test -z "$as_dir" && as_dir=.
7.21917 + for ac_exec_ext in '' $ac_executable_extensions; do
7.21918 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.21919 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7.21920 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.21921 + break 2
7.21922 + fi
7.21923 +done
7.21924 +done
7.21925 +
7.21926 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7.21927 + ;;
7.21928 +esac
7.21929 +fi
7.21930 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7.21931 +
7.21932 +if test -n "$PKG_CONFIG"; then
7.21933 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7.21934 +echo "${ECHO_T}$PKG_CONFIG" >&6
7.21935 +else
7.21936 + echo "$as_me:$LINENO: result: no" >&5
7.21937 +echo "${ECHO_T}no" >&6
7.21938 +fi
7.21939 +
7.21940 + fi
7.21941 +
7.21942 + if test "$PKG_CONFIG" = "no" ; then
7.21943 + echo "*** The pkg-config script could not be found. Make sure it is"
7.21944 + echo "*** in your path, or set the PKG_CONFIG environment variable"
7.21945 + echo "*** to the full path to pkg-config."
7.21946 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
7.21947 + else
7.21948 + PKG_CONFIG_MIN_VERSION=0.9.0
7.21949 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7.21950 + echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
7.21951 +echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
7.21952 +
7.21953 + if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
7.21954 + echo "$as_me:$LINENO: result: yes" >&5
7.21955 +echo "${ECHO_T}yes" >&6
7.21956 + succeeded=yes
7.21957 +
7.21958 + echo "$as_me:$LINENO: checking GST_BASE_CFLAGS" >&5
7.21959 +echo $ECHO_N "checking GST_BASE_CFLAGS... $ECHO_C" >&6
7.21960 + GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
7.21961 + echo "$as_me:$LINENO: result: $GST_BASE_CFLAGS" >&5
7.21962 +echo "${ECHO_T}$GST_BASE_CFLAGS" >&6
7.21963 +
7.21964 + echo "$as_me:$LINENO: checking GST_BASE_LIBS" >&5
7.21965 +echo $ECHO_N "checking GST_BASE_LIBS... $ECHO_C" >&6
7.21966 + GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
7.21967 + echo "$as_me:$LINENO: result: $GST_BASE_LIBS" >&5
7.21968 +echo "${ECHO_T}$GST_BASE_LIBS" >&6
7.21969 + else
7.21970 + GST_BASE_CFLAGS=""
7.21971 + GST_BASE_LIBS=""
7.21972 + ## If we have a custom action on failure, don't print errors, but
7.21973 + ## do set a variable so people can do so.
7.21974 + GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
7.21975 +
7.21976 + fi
7.21977 +
7.21978 +
7.21979 +
7.21980 + else
7.21981 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
7.21982 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
7.21983 + fi
7.21984 + fi
7.21985 +
7.21986 + if test $succeeded = yes; then
7.21987 + HAVE_GST_BASE="yes"
7.21988 + else
7.21989 + HAVE_GST_BASE="no"
7.21990 + fi
7.21991 +
7.21992 +
7.21993 +if test "x$HAVE_GST_BASE" = "xno"; then
7.21994 + { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
7.21995 +echo "$as_me: error: no GStreamer Base Libs found" >&2;}
7.21996 + { (exit 1); exit 1; }; }
7.21997 +fi
7.21998 +
7.21999 +
7.22000 +
7.22001 +
7.22002 +
7.22003 + succeeded=no
7.22004 +
7.22005 + if test -z "$PKG_CONFIG"; then
7.22006 + # Extract the first word of "pkg-config", so it can be a program name with args.
7.22007 +set dummy pkg-config; ac_word=$2
7.22008 +echo "$as_me:$LINENO: checking for $ac_word" >&5
7.22009 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7.22010 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7.22011 + echo $ECHO_N "(cached) $ECHO_C" >&6
7.22012 +else
7.22013 + case $PKG_CONFIG in
7.22014 + [\\/]* | ?:[\\/]*)
7.22015 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7.22016 + ;;
7.22017 + *)
7.22018 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.22019 +for as_dir in $PATH
7.22020 +do
7.22021 + IFS=$as_save_IFS
7.22022 + test -z "$as_dir" && as_dir=.
7.22023 + for ac_exec_ext in '' $ac_executable_extensions; do
7.22024 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7.22025 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7.22026 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7.22027 + break 2
7.22028 + fi
7.22029 +done
7.22030 +done
7.22031 +
7.22032 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7.22033 + ;;
7.22034 +esac
7.22035 +fi
7.22036 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7.22037 +
7.22038 +if test -n "$PKG_CONFIG"; then
7.22039 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7.22040 +echo "${ECHO_T}$PKG_CONFIG" >&6
7.22041 +else
7.22042 + echo "$as_me:$LINENO: result: no" >&5
7.22043 +echo "${ECHO_T}no" >&6
7.22044 +fi
7.22045 +
7.22046 + fi
7.22047 +
7.22048 + if test "$PKG_CONFIG" = "no" ; then
7.22049 + echo "*** The pkg-config script could not be found. Make sure it is"
7.22050 + echo "*** in your path, or set the PKG_CONFIG environment variable"
7.22051 + echo "*** to the full path to pkg-config."
7.22052 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
7.22053 + else
7.22054 + PKG_CONFIG_MIN_VERSION=0.9.0
7.22055 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7.22056 + echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
7.22057 +echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
7.22058 +
7.22059 + if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
7.22060 + echo "$as_me:$LINENO: result: yes" >&5
7.22061 +echo "${ECHO_T}yes" >&6
7.22062 + succeeded=yes
7.22063 +
7.22064 + echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_CFLAGS" >&5
7.22065 +echo $ECHO_N "checking GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
7.22066 + GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
7.22067 + echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_CFLAGS" >&5
7.22068 +echo "${ECHO_T}$GST_PLUGINS_BASE_CFLAGS" >&6
7.22069 +
7.22070 + echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_LIBS" >&5
7.22071 +echo $ECHO_N "checking GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6
7.22072 + GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
7.22073 + echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_LIBS" >&5
7.22074 +echo "${ECHO_T}$GST_PLUGINS_BASE_LIBS" >&6
7.22075 + else
7.22076 + GST_PLUGINS_BASE_CFLAGS=""
7.22077 + GST_PLUGINS_BASE_LIBS=""
7.22078 + ## If we have a custom action on failure, don't print errors, but
7.22079 + ## do set a variable so people can do so.
7.22080 + GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
7.22081 +
7.22082 + fi
7.22083 +
7.22084 +
7.22085 +
7.22086 + else
7.22087 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
7.22088 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
7.22089 + fi
7.22090 + fi
7.22091 +
7.22092 + if test $succeeded = yes; then
7.22093 + HAVE_GST_PLUGINS="yes"
7.22094 + else
7.22095 + HAVE_GST_PLUGINS="no"
7.22096 + fi
7.22097 +
7.22098 +
7.22099 +if test "x$HAVE_GST_PLUGINS" = "xno"; then
7.22100 + { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
7.22101 +echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
7.22102 + { (exit 1); exit 1; }; }
7.22103 +fi
7.22104 +
7.22105 +
7.22106 +
7.22107 +
7.22108 +plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
7.22109 +
7.22110 +
7.22111 +GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
7.22112 +
7.22113 +
7.22114 + ac_config_files="$ac_config_files Makefile src/Makefile m4/Makefile"
7.22115 +cat >confcache <<\_ACEOF
7.22116 +# This file is a shell script that caches the results of configure
7.22117 +# tests run on this system so they can be shared between configure
7.22118 +# scripts and configure runs, see configure's option --config-cache.
7.22119 +# It is not useful on other systems. If it contains results you don't
7.22120 +# want to keep, you may remove or edit it.
7.22121 +#
7.22122 +# config.status only pays attention to the cache file if you give it
7.22123 +# the --recheck option to rerun configure.
7.22124 +#
7.22125 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
7.22126 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
7.22127 +# following values.
7.22128 +
7.22129 +_ACEOF
7.22130 +
7.22131 +# The following way of writing the cache mishandles newlines in values,
7.22132 +# but we know of no workaround that is simple, portable, and efficient.
7.22133 +# So, don't put newlines in cache variables' values.
7.22134 +# Ultrix sh set writes to stderr and can't be redirected directly,
7.22135 +# and sets the high bit in the cache file unless we assign to the vars.
7.22136 +{
7.22137 + (set) 2>&1 |
7.22138 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
7.22139 + *ac_space=\ *)
7.22140 + # `set' does not quote correctly, so add quotes (double-quote
7.22141 + # substitution turns \\\\ into \\, and sed turns \\ into \).
7.22142 + sed -n \
7.22143 + "s/'/'\\\\''/g;
7.22144 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7.22145 + ;;
7.22146 + *)
7.22147 + # `set' quotes correctly as required by POSIX, so do not add quotes.
7.22148 + sed -n \
7.22149 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7.22150 + ;;
7.22151 + esac;
7.22152 +} |
7.22153 + sed '
7.22154 + t clear
7.22155 + : clear
7.22156 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7.22157 + t end
7.22158 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7.22159 + : end' >>confcache
7.22160 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
7.22161 + if test -w $cache_file; then
7.22162 + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7.22163 + cat confcache >$cache_file
7.22164 + else
7.22165 + echo "not updating unwritable cache $cache_file"
7.22166 + fi
7.22167 +fi
7.22168 +rm -f confcache
7.22169 +
7.22170 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
7.22171 +# Let make expand exec_prefix.
7.22172 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7.22173 +
7.22174 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
7.22175 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7.22176 +# trailing colons and then remove the whole line if VPATH becomes empty
7.22177 +# (actually we leave an empty line to preserve line numbers).
7.22178 +if test "x$srcdir" = x.; then
7.22179 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
7.22180 +s/:*\$(srcdir):*/:/;
7.22181 +s/:*\${srcdir}:*/:/;
7.22182 +s/:*@srcdir@:*/:/;
7.22183 +s/^\([^=]*=[ ]*\):*/\1/;
7.22184 +s/:*$//;
7.22185 +s/^[^=]*=[ ]*$//;
7.22186 +}'
7.22187 +fi
7.22188 +
7.22189 +DEFS=-DHAVE_CONFIG_H
7.22190 +
7.22191 +ac_libobjs=
7.22192 +ac_ltlibobjs=
7.22193 +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
7.22194 + # 1. Remove the extension, and $U if already installed.
7.22195 + ac_i=`echo "$ac_i" |
7.22196 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7.22197 + # 2. Add them.
7.22198 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7.22199 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7.22200 +done
7.22201 +LIB@&t@OBJS=$ac_libobjs
7.22202 +
7.22203 +LTLIBOBJS=$ac_ltlibobjs
7.22204 +
7.22205 +
7.22206 +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7.22207 + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7.22208 +Usually this means the macro was only invoked conditionally." >&5
7.22209 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7.22210 +Usually this means the macro was only invoked conditionally." >&2;}
7.22211 + { (exit 1); exit 1; }; }
7.22212 +fi
7.22213 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7.22214 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7.22215 +Usually this means the macro was only invoked conditionally." >&5
7.22216 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
7.22217 +Usually this means the macro was only invoked conditionally." >&2;}
7.22218 + { (exit 1); exit 1; }; }
7.22219 +fi
7.22220 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7.22221 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7.22222 +Usually this means the macro was only invoked conditionally." >&5
7.22223 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7.22224 +Usually this means the macro was only invoked conditionally." >&2;}
7.22225 + { (exit 1); exit 1; }; }
7.22226 +fi
7.22227 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7.22228 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
7.22229 +Usually this means the macro was only invoked conditionally." >&5
7.22230 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
7.22231 +Usually this means the macro was only invoked conditionally." >&2;}
7.22232 + { (exit 1); exit 1; }; }
7.22233 +fi
7.22234 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7.22235 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7.22236 +Usually this means the macro was only invoked conditionally." >&5
7.22237 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7.22238 +Usually this means the macro was only invoked conditionally." >&2;}
7.22239 + { (exit 1); exit 1; }; }
7.22240 +fi
7.22241 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7.22242 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
7.22243 +Usually this means the macro was only invoked conditionally." >&5
7.22244 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
7.22245 +Usually this means the macro was only invoked conditionally." >&2;}
7.22246 + { (exit 1); exit 1; }; }
7.22247 +fi
7.22248 +
7.22249 +: ${CONFIG_STATUS=./config.status}
7.22250 +ac_clean_files_save=$ac_clean_files
7.22251 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7.22252 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7.22253 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
7.22254 +cat >$CONFIG_STATUS <<_ACEOF
7.22255 +#! $SHELL
7.22256 +# Generated by $as_me.
7.22257 +# Run this file to recreate the current configuration.
7.22258 +# Compiler output produced by configure, useful for debugging
7.22259 +# configure, is in config.log if it exists.
7.22260 +
7.22261 +debug=false
7.22262 +ac_cs_recheck=false
7.22263 +ac_cs_silent=false
7.22264 +SHELL=\${CONFIG_SHELL-$SHELL}
7.22265 +_ACEOF
7.22266 +
7.22267 +cat >>$CONFIG_STATUS <<\_ACEOF
7.22268 +## --------------------- ##
7.22269 +## M4sh Initialization. ##
7.22270 +## --------------------- ##
7.22271 +
7.22272 +# Be Bourne compatible
7.22273 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7.22274 + emulate sh
7.22275 + NULLCMD=:
7.22276 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7.22277 + # is contrary to our usage. Disable this feature.
7.22278 + alias -g '${1+"$@"}'='"$@"'
7.22279 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7.22280 + set -o posix
7.22281 +fi
7.22282 +DUALCASE=1; export DUALCASE # for MKS sh
7.22283 +
7.22284 +# Support unset when possible.
7.22285 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7.22286 + as_unset=unset
7.22287 +else
7.22288 + as_unset=false
7.22289 +fi
7.22290 +
7.22291 +
7.22292 +# Work around bugs in pre-3.0 UWIN ksh.
7.22293 +$as_unset ENV MAIL MAILPATH
7.22294 +PS1='$ '
7.22295 +PS2='> '
7.22296 +PS4='+ '
7.22297 +
7.22298 +# NLS nuisances.
7.22299 +for as_var in \
7.22300 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7.22301 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7.22302 + LC_TELEPHONE LC_TIME
7.22303 +do
7.22304 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7.22305 + eval $as_var=C; export $as_var
7.22306 + else
7.22307 + $as_unset $as_var
7.22308 + fi
7.22309 +done
7.22310 +
7.22311 +# Required to use basename.
7.22312 +if expr a : '\(a\)' >/dev/null 2>&1; then
7.22313 + as_expr=expr
7.22314 +else
7.22315 + as_expr=false
7.22316 +fi
7.22317 +
7.22318 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7.22319 + as_basename=basename
7.22320 +else
7.22321 + as_basename=false
7.22322 +fi
7.22323 +
7.22324 +
7.22325 +# Name of the executable.
7.22326 +as_me=`$as_basename "$0" ||
7.22327 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7.22328 + X"$0" : 'X\(//\)$' \| \
7.22329 + X"$0" : 'X\(/\)$' \| \
7.22330 + . : '\(.\)' 2>/dev/null ||
7.22331 +echo X/"$0" |
7.22332 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7.22333 + /^X\/\(\/\/\)$/{ s//\1/; q; }
7.22334 + /^X\/\(\/\).*/{ s//\1/; q; }
7.22335 + s/.*/./; q'`
7.22336 +
7.22337 +
7.22338 +# PATH needs CR, and LINENO needs CR and PATH.
7.22339 +# Avoid depending upon Character Ranges.
7.22340 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7.22341 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7.22342 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7.22343 +as_cr_digits='0123456789'
7.22344 +as_cr_alnum=$as_cr_Letters$as_cr_digits
7.22345 +
7.22346 +# The user is always right.
7.22347 +if test "${PATH_SEPARATOR+set}" != set; then
7.22348 + echo "#! /bin/sh" >conf$$.sh
7.22349 + echo "exit 0" >>conf$$.sh
7.22350 + chmod +x conf$$.sh
7.22351 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7.22352 + PATH_SEPARATOR=';'
7.22353 + else
7.22354 + PATH_SEPARATOR=:
7.22355 + fi
7.22356 + rm -f conf$$.sh
7.22357 +fi
7.22358 +
7.22359 +
7.22360 + as_lineno_1=$LINENO
7.22361 + as_lineno_2=$LINENO
7.22362 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7.22363 + test "x$as_lineno_1" != "x$as_lineno_2" &&
7.22364 + test "x$as_lineno_3" = "x$as_lineno_2" || {
7.22365 + # Find who we are. Look in the path if we contain no path at all
7.22366 + # relative or not.
7.22367 + case $0 in
7.22368 + *[\\/]* ) as_myself=$0 ;;
7.22369 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.22370 +for as_dir in $PATH
7.22371 +do
7.22372 + IFS=$as_save_IFS
7.22373 + test -z "$as_dir" && as_dir=.
7.22374 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7.22375 +done
7.22376 +
7.22377 + ;;
7.22378 + esac
7.22379 + # We did not find ourselves, most probably we were run as `sh COMMAND'
7.22380 + # in which case we are not to be found in the path.
7.22381 + if test "x$as_myself" = x; then
7.22382 + as_myself=$0
7.22383 + fi
7.22384 + if test ! -f "$as_myself"; then
7.22385 + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7.22386 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7.22387 + { (exit 1); exit 1; }; }
7.22388 + fi
7.22389 + case $CONFIG_SHELL in
7.22390 + '')
7.22391 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7.22392 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7.22393 +do
7.22394 + IFS=$as_save_IFS
7.22395 + test -z "$as_dir" && as_dir=.
7.22396 + for as_base in sh bash ksh sh5; do
7.22397 + case $as_dir in
7.22398 + /*)
7.22399 + if ("$as_dir/$as_base" -c '
7.22400 + as_lineno_1=$LINENO
7.22401 + as_lineno_2=$LINENO
7.22402 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7.22403 + test "x$as_lineno_1" != "x$as_lineno_2" &&
7.22404 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7.22405 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7.22406 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7.22407 + CONFIG_SHELL=$as_dir/$as_base
7.22408 + export CONFIG_SHELL
7.22409 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7.22410 + fi;;
7.22411 + esac
7.22412 + done
7.22413 +done
7.22414 +;;
7.22415 + esac
7.22416 +
7.22417 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7.22418 + # uniformly replaced by the line number. The first 'sed' inserts a
7.22419 + # line-number line before each line; the second 'sed' does the real
7.22420 + # work. The second script uses 'N' to pair each line-number line
7.22421 + # with the numbered line, and appends trailing '-' during
7.22422 + # substitution so that $LINENO is not a special case at line end.
7.22423 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7.22424 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7.22425 + sed '=' <$as_myself |
7.22426 + sed '
7.22427 + N
7.22428 + s,$,-,
7.22429 + : loop
7.22430 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7.22431 + t loop
7.22432 + s,-$,,
7.22433 + s,^['$as_cr_digits']*\n,,
7.22434 + ' >$as_me.lineno &&
7.22435 + chmod +x $as_me.lineno ||
7.22436 + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7.22437 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7.22438 + { (exit 1); exit 1; }; }
7.22439 +
7.22440 + # Don't try to exec as it changes $[0], causing all sort of problems
7.22441 + # (the dirname of $[0] is not the place where we might find the
7.22442 + # original and so on. Autoconf is especially sensible to this).
7.22443 + . ./$as_me.lineno
7.22444 + # Exit status is that of the last command.
7.22445 + exit
7.22446 +}
7.22447 +
7.22448 +
7.22449 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7.22450 + *c*,-n*) ECHO_N= ECHO_C='
7.22451 +' ECHO_T=' ' ;;
7.22452 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7.22453 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7.22454 +esac
7.22455 +
7.22456 +if expr a : '\(a\)' >/dev/null 2>&1; then
7.22457 + as_expr=expr
7.22458 +else
7.22459 + as_expr=false
7.22460 +fi
7.22461 +
7.22462 +rm -f conf$$ conf$$.exe conf$$.file
7.22463 +echo >conf$$.file
7.22464 +if ln -s conf$$.file conf$$ 2>/dev/null; then
7.22465 + # We could just check for DJGPP; but this test a) works b) is more generic
7.22466 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7.22467 + if test -f conf$$.exe; then
7.22468 + # Don't use ln at all; we don't have any links
7.22469 + as_ln_s='cp -p'
7.22470 + else
7.22471 + as_ln_s='ln -s'
7.22472 + fi
7.22473 +elif ln conf$$.file conf$$ 2>/dev/null; then
7.22474 + as_ln_s=ln
7.22475 +else
7.22476 + as_ln_s='cp -p'
7.22477 +fi
7.22478 +rm -f conf$$ conf$$.exe conf$$.file
7.22479 +
7.22480 +if mkdir -p . 2>/dev/null; then
7.22481 + as_mkdir_p=:
7.22482 +else
7.22483 + test -d ./-p && rmdir ./-p
7.22484 + as_mkdir_p=false
7.22485 +fi
7.22486 +
7.22487 +as_executable_p="test -f"
7.22488 +
7.22489 +# Sed expression to map a string onto a valid CPP name.
7.22490 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7.22491 +
7.22492 +# Sed expression to map a string onto a valid variable name.
7.22493 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7.22494 +
7.22495 +
7.22496 +# IFS
7.22497 +# We need space, tab and new line, in precisely that order.
7.22498 +as_nl='
7.22499 +'
7.22500 +IFS=" $as_nl"
7.22501 +
7.22502 +# CDPATH.
7.22503 +$as_unset CDPATH
7.22504 +
7.22505 +exec 6>&1
7.22506 +
7.22507 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
7.22508 +# report actual input values of CONFIG_FILES etc. instead of their
7.22509 +# values after options handling. Logging --version etc. is OK.
7.22510 +exec 5>>config.log
7.22511 +{
7.22512 + echo
7.22513 + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
7.22514 +@%:@@%:@ Running $as_me. @%:@@%:@
7.22515 +_ASBOX
7.22516 +} >&5
7.22517 +cat >&5 <<_CSEOF
7.22518 +
7.22519 +This file was extended by $as_me, which was
7.22520 +generated by GNU Autoconf 2.59. Invocation command line was
7.22521 +
7.22522 + CONFIG_FILES = $CONFIG_FILES
7.22523 + CONFIG_HEADERS = $CONFIG_HEADERS
7.22524 + CONFIG_LINKS = $CONFIG_LINKS
7.22525 + CONFIG_COMMANDS = $CONFIG_COMMANDS
7.22526 + $ $0 $@
7.22527 +
7.22528 +_CSEOF
7.22529 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7.22530 +echo >&5
7.22531 +_ACEOF
7.22532 +
7.22533 +# Files that config.status was made for.
7.22534 +if test -n "$ac_config_files"; then
7.22535 + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7.22536 +fi
7.22537 +
7.22538 +if test -n "$ac_config_headers"; then
7.22539 + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7.22540 +fi
7.22541 +
7.22542 +if test -n "$ac_config_links"; then
7.22543 + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7.22544 +fi
7.22545 +
7.22546 +if test -n "$ac_config_commands"; then
7.22547 + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7.22548 +fi
7.22549 +
7.22550 +cat >>$CONFIG_STATUS <<\_ACEOF
7.22551 +
7.22552 +ac_cs_usage="\
7.22553 +\`$as_me' instantiates files from templates according to the
7.22554 +current configuration.
7.22555 +
7.22556 +Usage: $0 [OPTIONS] [FILE]...
7.22557 +
7.22558 + -h, --help print this help, then exit
7.22559 + -V, --version print version number, then exit
7.22560 + -q, --quiet do not print progress messages
7.22561 + -d, --debug don't remove temporary files
7.22562 + --recheck update $as_me by reconfiguring in the same conditions
7.22563 + --file=FILE[:TEMPLATE]
7.22564 + instantiate the configuration file FILE
7.22565 + --header=FILE[:TEMPLATE]
7.22566 + instantiate the configuration header FILE
7.22567 +
7.22568 +Configuration files:
7.22569 +$config_files
7.22570 +
7.22571 +Configuration headers:
7.22572 +$config_headers
7.22573 +
7.22574 +Configuration commands:
7.22575 +$config_commands
7.22576 +
7.22577 +Report bugs to <bug-autoconf@gnu.org>."
7.22578 +_ACEOF
7.22579 +
7.22580 +cat >>$CONFIG_STATUS <<_ACEOF
7.22581 +ac_cs_version="\\
7.22582 +config.status
7.22583 +configured by $0, generated by GNU Autoconf 2.59,
7.22584 + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7.22585 +
7.22586 +Copyright (C) 2003 Free Software Foundation, Inc.
7.22587 +This config.status script is free software; the Free Software Foundation
7.22588 +gives unlimited permission to copy, distribute and modify it."
7.22589 +srcdir=$srcdir
7.22590 +INSTALL="$INSTALL"
7.22591 +_ACEOF
7.22592 +
7.22593 +cat >>$CONFIG_STATUS <<\_ACEOF
7.22594 +# If no file are specified by the user, then we need to provide default
7.22595 +# value. By we need to know if files were specified by the user.
7.22596 +ac_need_defaults=:
7.22597 +while test $# != 0
7.22598 +do
7.22599 + case $1 in
7.22600 + --*=*)
7.22601 + ac_option=`expr "x$1" : 'x\([^=]*\)='`
7.22602 + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7.22603 + ac_shift=:
7.22604 + ;;
7.22605 + -*)
7.22606 + ac_option=$1
7.22607 + ac_optarg=$2
7.22608 + ac_shift=shift
7.22609 + ;;
7.22610 + *) # This is not an option, so the user has probably given explicit
7.22611 + # arguments.
7.22612 + ac_option=$1
7.22613 + ac_need_defaults=false;;
7.22614 + esac
7.22615 +
7.22616 + case $ac_option in
7.22617 + # Handling of the options.
7.22618 +_ACEOF
7.22619 +cat >>$CONFIG_STATUS <<\_ACEOF
7.22620 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7.22621 + ac_cs_recheck=: ;;
7.22622 + --version | --vers* | -V )
7.22623 + echo "$ac_cs_version"; exit 0 ;;
7.22624 + --he | --h)
7.22625 + # Conflict between --help and --header
7.22626 + { { echo "$as_me:$LINENO: error: ambiguous option: $1
7.22627 +Try \`$0 --help' for more information." >&5
7.22628 +echo "$as_me: error: ambiguous option: $1
7.22629 +Try \`$0 --help' for more information." >&2;}
7.22630 + { (exit 1); exit 1; }; };;
7.22631 + --help | --hel | -h )
7.22632 + echo "$ac_cs_usage"; exit 0 ;;
7.22633 + --debug | --d* | -d )
7.22634 + debug=: ;;
7.22635 + --file | --fil | --fi | --f )
7.22636 + $ac_shift
7.22637 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7.22638 + ac_need_defaults=false;;
7.22639 + --header | --heade | --head | --hea )
7.22640 + $ac_shift
7.22641 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7.22642 + ac_need_defaults=false;;
7.22643 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7.22644 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
7.22645 + ac_cs_silent=: ;;
7.22646 +
7.22647 + # This is an error.
7.22648 + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7.22649 +Try \`$0 --help' for more information." >&5
7.22650 +echo "$as_me: error: unrecognized option: $1
7.22651 +Try \`$0 --help' for more information." >&2;}
7.22652 + { (exit 1); exit 1; }; } ;;
7.22653 +
7.22654 + *) ac_config_targets="$ac_config_targets $1" ;;
7.22655 +
7.22656 + esac
7.22657 + shift
7.22658 +done
7.22659 +
7.22660 +ac_configure_extra_args=
7.22661 +
7.22662 +if $ac_cs_silent; then
7.22663 + exec 6>/dev/null
7.22664 + ac_configure_extra_args="$ac_configure_extra_args --silent"
7.22665 +fi
7.22666 +
7.22667 +_ACEOF
7.22668 +cat >>$CONFIG_STATUS <<_ACEOF
7.22669 +if \$ac_cs_recheck; then
7.22670 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7.22671 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7.22672 +fi
7.22673 +
7.22674 +_ACEOF
7.22675 +
7.22676 +cat >>$CONFIG_STATUS <<_ACEOF
7.22677 +#
7.22678 +# INIT-COMMANDS section.
7.22679 +#
7.22680 +
7.22681 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7.22682 +
7.22683 +_ACEOF
7.22684 +
7.22685 +
7.22686 +
7.22687 +cat >>$CONFIG_STATUS <<\_ACEOF
7.22688 +for ac_config_target in $ac_config_targets
7.22689 +do
7.22690 + case "$ac_config_target" in
7.22691 + # Handling of arguments.
7.22692 + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7.22693 + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7.22694 + "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
7.22695 + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7.22696 + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7.22697 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7.22698 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7.22699 + { (exit 1); exit 1; }; };;
7.22700 + esac
7.22701 +done
7.22702 +
7.22703 +# If the user did not use the arguments to specify the items to instantiate,
7.22704 +# then the envvar interface is used. Set only those that are not.
7.22705 +# We use the long form for the default assignment because of an extremely
7.22706 +# bizarre bug on SunOS 4.1.3.
7.22707 +if $ac_need_defaults; then
7.22708 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7.22709 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7.22710 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7.22711 +fi
7.22712 +
7.22713 +# Have a temporary directory for convenience. Make it in the build tree
7.22714 +# simply because there is no reason to put it here, and in addition,
7.22715 +# creating and moving files from /tmp can sometimes cause problems.
7.22716 +# Create a temporary directory, and hook for its removal unless debugging.
7.22717 +$debug ||
7.22718 +{
7.22719 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7.22720 + trap '{ (exit 1); exit 1; }' 1 2 13 15
7.22721 +}
7.22722 +
7.22723 +# Create a (secure) tmp directory for tmp files.
7.22724 +
7.22725 +{
7.22726 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7.22727 + test -n "$tmp" && test -d "$tmp"
7.22728 +} ||
7.22729 +{
7.22730 + tmp=./confstat$$-$RANDOM
7.22731 + (umask 077 && mkdir $tmp)
7.22732 +} ||
7.22733 +{
7.22734 + echo "$me: cannot create a temporary directory in ." >&2
7.22735 + { (exit 1); exit 1; }
7.22736 +}
7.22737 +
7.22738 +_ACEOF
7.22739 +
7.22740 +cat >>$CONFIG_STATUS <<_ACEOF
7.22741 +
7.22742 +#
7.22743 +# CONFIG_FILES section.
7.22744 +#
7.22745 +
7.22746 +# No need to generate the scripts if there are no CONFIG_FILES.
7.22747 +# This happens for instance when ./config.status config.h
7.22748 +if test -n "\$CONFIG_FILES"; then
7.22749 + # Protect against being on the right side of a sed subst in config.status.
7.22750 + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7.22751 + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7.22752 +s,@SHELL@,$SHELL,;t t
7.22753 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7.22754 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7.22755 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7.22756 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7.22757 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7.22758 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7.22759 +s,@exec_prefix@,$exec_prefix,;t t
7.22760 +s,@prefix@,$prefix,;t t
7.22761 +s,@program_transform_name@,$program_transform_name,;t t
7.22762 +s,@bindir@,$bindir,;t t
7.22763 +s,@sbindir@,$sbindir,;t t
7.22764 +s,@libexecdir@,$libexecdir,;t t
7.22765 +s,@datadir@,$datadir,;t t
7.22766 +s,@sysconfdir@,$sysconfdir,;t t
7.22767 +s,@sharedstatedir@,$sharedstatedir,;t t
7.22768 +s,@localstatedir@,$localstatedir,;t t
7.22769 +s,@libdir@,$libdir,;t t
7.22770 +s,@includedir@,$includedir,;t t
7.22771 +s,@oldincludedir@,$oldincludedir,;t t
7.22772 +s,@infodir@,$infodir,;t t
7.22773 +s,@mandir@,$mandir,;t t
7.22774 +s,@build_alias@,$build_alias,;t t
7.22775 +s,@host_alias@,$host_alias,;t t
7.22776 +s,@target_alias@,$target_alias,;t t
7.22777 +s,@DEFS@,$DEFS,;t t
7.22778 +s,@ECHO_C@,$ECHO_C,;t t
7.22779 +s,@ECHO_N@,$ECHO_N,;t t
7.22780 +s,@ECHO_T@,$ECHO_T,;t t
7.22781 +s,@LIBS@,$LIBS,;t t
7.22782 +s,@build@,$build,;t t
7.22783 +s,@build_cpu@,$build_cpu,;t t
7.22784 +s,@build_vendor@,$build_vendor,;t t
7.22785 +s,@build_os@,$build_os,;t t
7.22786 +s,@host@,$host,;t t
7.22787 +s,@host_cpu@,$host_cpu,;t t
7.22788 +s,@host_vendor@,$host_vendor,;t t
7.22789 +s,@host_os@,$host_os,;t t
7.22790 +s,@target@,$target,;t t
7.22791 +s,@target_cpu@,$target_cpu,;t t
7.22792 +s,@target_vendor@,$target_vendor,;t t
7.22793 +s,@target_os@,$target_os,;t t
7.22794 +s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7.22795 +s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7.22796 +s,@MAINT@,$MAINT,;t t
7.22797 +s,@GST_PLUGINS_VERSION@,$GST_PLUGINS_VERSION,;t t
7.22798 +s,@GST_PLUGINS_VERSION_RELEASE@,$GST_PLUGINS_VERSION_RELEASE,;t t
7.22799 +s,@GST_PLUGINS_VERSION_MAJOR@,$GST_PLUGINS_VERSION_MAJOR,;t t
7.22800 +s,@GST_PLUGINS_VERSION_MINOR@,$GST_PLUGINS_VERSION_MINOR,;t t
7.22801 +s,@GST_PLUGINS_VERSION_MICRO@,$GST_PLUGINS_VERSION_MICRO,;t t
7.22802 +s,@GST_PLUGINS_VERSION_NANO@,$GST_PLUGINS_VERSION_NANO,;t t
7.22803 +s,@PACKAGE@,$PACKAGE,;t t
7.22804 +s,@VERSION@,$VERSION,;t t
7.22805 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7.22806 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7.22807 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7.22808 +s,@CYGPATH_W@,$CYGPATH_W,;t t
7.22809 +s,@ACLOCAL@,$ACLOCAL,;t t
7.22810 +s,@AUTOCONF@,$AUTOCONF,;t t
7.22811 +s,@AUTOMAKE@,$AUTOMAKE,;t t
7.22812 +s,@AUTOHEADER@,$AUTOHEADER,;t t
7.22813 +s,@MAKEINFO@,$MAKEINFO,;t t
7.22814 +s,@AMTAR@,$AMTAR,;t t
7.22815 +s,@install_sh@,$install_sh,;t t
7.22816 +s,@STRIP@,$STRIP,;t t
7.22817 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7.22818 +s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7.22819 +s,@mkdir_p@,$mkdir_p,;t t
7.22820 +s,@AWK@,$AWK,;t t
7.22821 +s,@SET_MAKE@,$SET_MAKE,;t t
7.22822 +s,@am__leading_dot@,$am__leading_dot,;t t
7.22823 +s,@CC@,$CC,;t t
7.22824 +s,@CFLAGS@,$CFLAGS,;t t
7.22825 +s,@LDFLAGS@,$LDFLAGS,;t t
7.22826 +s,@CPPFLAGS@,$CPPFLAGS,;t t
7.22827 +s,@ac_ct_CC@,$ac_ct_CC,;t t
7.22828 +s,@EXEEXT@,$EXEEXT,;t t
7.22829 +s,@OBJEXT@,$OBJEXT,;t t
7.22830 +s,@DEPDIR@,$DEPDIR,;t t
7.22831 +s,@am__include@,$am__include,;t t
7.22832 +s,@am__quote@,$am__quote,;t t
7.22833 +s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7.22834 +s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7.22835 +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7.22836 +s,@CCDEPMODE@,$CCDEPMODE,;t t
7.22837 +s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7.22838 +s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7.22839 +s,@EGREP@,$EGREP,;t t
7.22840 +s,@LN_S@,$LN_S,;t t
7.22841 +s,@ECHO@,$ECHO,;t t
7.22842 +s,@AR@,$AR,;t t
7.22843 +s,@ac_ct_AR@,$ac_ct_AR,;t t
7.22844 +s,@RANLIB@,$RANLIB,;t t
7.22845 +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7.22846 +s,@CPP@,$CPP,;t t
7.22847 +s,@CXX@,$CXX,;t t
7.22848 +s,@CXXFLAGS@,$CXXFLAGS,;t t
7.22849 +s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7.22850 +s,@CXXDEPMODE@,$CXXDEPMODE,;t t
7.22851 +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
7.22852 +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
7.22853 +s,@CXXCPP@,$CXXCPP,;t t
7.22854 +s,@F77@,$F77,;t t
7.22855 +s,@FFLAGS@,$FFLAGS,;t t
7.22856 +s,@ac_ct_F77@,$ac_ct_F77,;t t
7.22857 +s,@LIBTOOL@,$LIBTOOL,;t t
7.22858 +s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
7.22859 +s,@CCAS@,$CCAS,;t t
7.22860 +s,@CCASFLAGS@,$CCASFLAGS,;t t
7.22861 +s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
7.22862 +s,@HAVE_CXX@,$HAVE_CXX,;t t
7.22863 +s,@HAVE_PKGCONFIG@,$HAVE_PKGCONFIG,;t t
7.22864 +s,@PKG_CONFIG@,$PKG_CONFIG,;t t
7.22865 +s,@GST_CFLAGS@,$GST_CFLAGS,;t t
7.22866 +s,@GST_LIBS@,$GST_LIBS,;t t
7.22867 +s,@GST_MAJORMINOR@,$GST_MAJORMINOR,;t t
7.22868 +s,@GST_BASE_CFLAGS@,$GST_BASE_CFLAGS,;t t
7.22869 +s,@GST_BASE_LIBS@,$GST_BASE_LIBS,;t t
7.22870 +s,@GST_PLUGINS_BASE_CFLAGS@,$GST_PLUGINS_BASE_CFLAGS,;t t
7.22871 +s,@GST_PLUGINS_BASE_LIBS@,$GST_PLUGINS_BASE_LIBS,;t t
7.22872 +s,@plugindir@,$plugindir,;t t
7.22873 +s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
7.22874 +s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
7.22875 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7.22876 +CEOF
7.22877 +
7.22878 +_ACEOF
7.22879 +
7.22880 + cat >>$CONFIG_STATUS <<\_ACEOF
7.22881 + # Split the substitutions into bite-sized pieces for seds with
7.22882 + # small command number limits, like on Digital OSF/1 and HP-UX.
7.22883 + ac_max_sed_lines=48
7.22884 + ac_sed_frag=1 # Number of current file.
7.22885 + ac_beg=1 # First line for current file.
7.22886 + ac_end=$ac_max_sed_lines # Line after last line for current file.
7.22887 + ac_more_lines=:
7.22888 + ac_sed_cmds=
7.22889 + while $ac_more_lines; do
7.22890 + if test $ac_beg -gt 1; then
7.22891 + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7.22892 + else
7.22893 + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7.22894 + fi
7.22895 + if test ! -s $tmp/subs.frag; then
7.22896 + ac_more_lines=false
7.22897 + else
7.22898 + # The purpose of the label and of the branching condition is to
7.22899 + # speed up the sed processing (if there are no `@' at all, there
7.22900 + # is no need to browse any of the substitutions).
7.22901 + # These are the two extra sed commands mentioned above.
7.22902 + (echo ':t
7.22903 + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7.22904 + if test -z "$ac_sed_cmds"; then
7.22905 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7.22906 + else
7.22907 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7.22908 + fi
7.22909 + ac_sed_frag=`expr $ac_sed_frag + 1`
7.22910 + ac_beg=$ac_end
7.22911 + ac_end=`expr $ac_end + $ac_max_sed_lines`
7.22912 + fi
7.22913 + done
7.22914 + if test -z "$ac_sed_cmds"; then
7.22915 + ac_sed_cmds=cat
7.22916 + fi
7.22917 +fi # test -n "$CONFIG_FILES"
7.22918 +
7.22919 +_ACEOF
7.22920 +cat >>$CONFIG_STATUS <<\_ACEOF
7.22921 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7.22922 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7.22923 + case $ac_file in
7.22924 + - | *:- | *:-:* ) # input from stdin
7.22925 + cat >$tmp/stdin
7.22926 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7.22927 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7.22928 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7.22929 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7.22930 + * ) ac_file_in=$ac_file.in ;;
7.22931 + esac
7.22932 +
7.22933 + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7.22934 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7.22935 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7.22936 + X"$ac_file" : 'X\(//\)[^/]' \| \
7.22937 + X"$ac_file" : 'X\(//\)$' \| \
7.22938 + X"$ac_file" : 'X\(/\)' \| \
7.22939 + . : '\(.\)' 2>/dev/null ||
7.22940 +echo X"$ac_file" |
7.22941 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7.22942 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7.22943 + /^X\(\/\/\)$/{ s//\1/; q; }
7.22944 + /^X\(\/\).*/{ s//\1/; q; }
7.22945 + s/.*/./; q'`
7.22946 + { if $as_mkdir_p; then
7.22947 + mkdir -p "$ac_dir"
7.22948 + else
7.22949 + as_dir="$ac_dir"
7.22950 + as_dirs=
7.22951 + while test ! -d "$as_dir"; do
7.22952 + as_dirs="$as_dir $as_dirs"
7.22953 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
7.22954 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7.22955 + X"$as_dir" : 'X\(//\)[^/]' \| \
7.22956 + X"$as_dir" : 'X\(//\)$' \| \
7.22957 + X"$as_dir" : 'X\(/\)' \| \
7.22958 + . : '\(.\)' 2>/dev/null ||
7.22959 +echo X"$as_dir" |
7.22960 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7.22961 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7.22962 + /^X\(\/\/\)$/{ s//\1/; q; }
7.22963 + /^X\(\/\).*/{ s//\1/; q; }
7.22964 + s/.*/./; q'`
7.22965 + done
7.22966 + test ! -n "$as_dirs" || mkdir $as_dirs
7.22967 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7.22968 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7.22969 + { (exit 1); exit 1; }; }; }
7.22970 +
7.22971 + ac_builddir=.
7.22972 +
7.22973 +if test "$ac_dir" != .; then
7.22974 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7.22975 + # A "../" for each directory in $ac_dir_suffix.
7.22976 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7.22977 +else
7.22978 + ac_dir_suffix= ac_top_builddir=
7.22979 +fi
7.22980 +
7.22981 +case $srcdir in
7.22982 + .) # No --srcdir option. We are building in place.
7.22983 + ac_srcdir=.
7.22984 + if test -z "$ac_top_builddir"; then
7.22985 + ac_top_srcdir=.
7.22986 + else
7.22987 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7.22988 + fi ;;
7.22989 + [\\/]* | ?:[\\/]* ) # Absolute path.
7.22990 + ac_srcdir=$srcdir$ac_dir_suffix;
7.22991 + ac_top_srcdir=$srcdir ;;
7.22992 + *) # Relative path.
7.22993 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7.22994 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
7.22995 +esac
7.22996 +
7.22997 +# Do not use `cd foo && pwd` to compute absolute paths, because
7.22998 +# the directories may not exist.
7.22999 +case `pwd` in
7.23000 +.) ac_abs_builddir="$ac_dir";;
7.23001 +*)
7.23002 + case "$ac_dir" in
7.23003 + .) ac_abs_builddir=`pwd`;;
7.23004 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7.23005 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
7.23006 + esac;;
7.23007 +esac
7.23008 +case $ac_abs_builddir in
7.23009 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
7.23010 +*)
7.23011 + case ${ac_top_builddir}. in
7.23012 + .) ac_abs_top_builddir=$ac_abs_builddir;;
7.23013 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7.23014 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7.23015 + esac;;
7.23016 +esac
7.23017 +case $ac_abs_builddir in
7.23018 +.) ac_abs_srcdir=$ac_srcdir;;
7.23019 +*)
7.23020 + case $ac_srcdir in
7.23021 + .) ac_abs_srcdir=$ac_abs_builddir;;
7.23022 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7.23023 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7.23024 + esac;;
7.23025 +esac
7.23026 +case $ac_abs_builddir in
7.23027 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
7.23028 +*)
7.23029 + case $ac_top_srcdir in
7.23030 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
7.23031 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7.23032 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7.23033 + esac;;
7.23034 +esac
7.23035 +
7.23036 +
7.23037 + case $INSTALL in
7.23038 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7.23039 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7.23040 + esac
7.23041 +
7.23042 + # Let's still pretend it is `configure' which instantiates (i.e., don't
7.23043 + # use $as_me), people would be surprised to read:
7.23044 + # /* config.h. Generated by config.status. */
7.23045 + if test x"$ac_file" = x-; then
7.23046 + configure_input=
7.23047 + else
7.23048 + configure_input="$ac_file. "
7.23049 + fi
7.23050 + configure_input=$configure_input"Generated from `echo $ac_file_in |
7.23051 + sed 's,.*/,,'` by configure."
7.23052 +
7.23053 + # First look for the input files in the build tree, otherwise in the
7.23054 + # src tree.
7.23055 + ac_file_inputs=`IFS=:
7.23056 + for f in $ac_file_in; do
7.23057 + case $f in
7.23058 + -) echo $tmp/stdin ;;
7.23059 + [\\/$]*)
7.23060 + # Absolute (can't be DOS-style, as IFS=:)
7.23061 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7.23062 +echo "$as_me: error: cannot find input file: $f" >&2;}
7.23063 + { (exit 1); exit 1; }; }
7.23064 + echo "$f";;
7.23065 + *) # Relative
7.23066 + if test -f "$f"; then
7.23067 + # Build tree
7.23068 + echo "$f"
7.23069 + elif test -f "$srcdir/$f"; then
7.23070 + # Source tree
7.23071 + echo "$srcdir/$f"
7.23072 + else
7.23073 + # /dev/null tree
7.23074 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7.23075 +echo "$as_me: error: cannot find input file: $f" >&2;}
7.23076 + { (exit 1); exit 1; }; }
7.23077 + fi;;
7.23078 + esac
7.23079 + done` || { (exit 1); exit 1; }
7.23080 +
7.23081 + if test x"$ac_file" != x-; then
7.23082 + { echo "$as_me:$LINENO: creating $ac_file" >&5
7.23083 +echo "$as_me: creating $ac_file" >&6;}
7.23084 + rm -f "$ac_file"
7.23085 + fi
7.23086 +_ACEOF
7.23087 +cat >>$CONFIG_STATUS <<_ACEOF
7.23088 + sed "$ac_vpsub
7.23089 +$extrasub
7.23090 +_ACEOF
7.23091 +cat >>$CONFIG_STATUS <<\_ACEOF
7.23092 +:t
7.23093 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7.23094 +s,@configure_input@,$configure_input,;t t
7.23095 +s,@srcdir@,$ac_srcdir,;t t
7.23096 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
7.23097 +s,@top_srcdir@,$ac_top_srcdir,;t t
7.23098 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7.23099 +s,@builddir@,$ac_builddir,;t t
7.23100 +s,@abs_builddir@,$ac_abs_builddir,;t t
7.23101 +s,@top_builddir@,$ac_top_builddir,;t t
7.23102 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7.23103 +s,@INSTALL@,$ac_INSTALL,;t t
7.23104 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7.23105 + rm -f $tmp/stdin
7.23106 + if test x"$ac_file" != x-; then
7.23107 + mv $tmp/out $ac_file
7.23108 + else
7.23109 + cat $tmp/out
7.23110 + rm -f $tmp/out
7.23111 + fi
7.23112 +
7.23113 +done
7.23114 +_ACEOF
7.23115 +cat >>$CONFIG_STATUS <<\_ACEOF
7.23116 +
7.23117 +#
7.23118 +# CONFIG_HEADER section.
7.23119 +#
7.23120 +
7.23121 +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7.23122 +# NAME is the cpp macro being defined and VALUE is the value it is being given.
7.23123 +#
7.23124 +# ac_d sets the value in "#define NAME VALUE" lines.
7.23125 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7.23126 +ac_dB='[ ].*$,\1#\2'
7.23127 +ac_dC=' '
7.23128 +ac_dD=',;t'
7.23129 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7.23130 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7.23131 +ac_uB='$,\1#\2define\3'
7.23132 +ac_uC=' '
7.23133 +ac_uD=',;t'
7.23134 +
7.23135 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7.23136 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7.23137 + case $ac_file in
7.23138 + - | *:- | *:-:* ) # input from stdin
7.23139 + cat >$tmp/stdin
7.23140 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7.23141 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7.23142 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7.23143 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7.23144 + * ) ac_file_in=$ac_file.in ;;
7.23145 + esac
7.23146 +
7.23147 + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7.23148 +echo "$as_me: creating $ac_file" >&6;}
7.23149 +
7.23150 + # First look for the input files in the build tree, otherwise in the
7.23151 + # src tree.
7.23152 + ac_file_inputs=`IFS=:
7.23153 + for f in $ac_file_in; do
7.23154 + case $f in
7.23155 + -) echo $tmp/stdin ;;
7.23156 + [\\/$]*)
7.23157 + # Absolute (can't be DOS-style, as IFS=:)
7.23158 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7.23159 +echo "$as_me: error: cannot find input file: $f" >&2;}
7.23160 + { (exit 1); exit 1; }; }
7.23161 + # Do quote $f, to prevent DOS paths from being IFS'd.
7.23162 + echo "$f";;
7.23163 + *) # Relative
7.23164 + if test -f "$f"; then
7.23165 + # Build tree
7.23166 + echo "$f"
7.23167 + elif test -f "$srcdir/$f"; then
7.23168 + # Source tree
7.23169 + echo "$srcdir/$f"
7.23170 + else
7.23171 + # /dev/null tree
7.23172 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7.23173 +echo "$as_me: error: cannot find input file: $f" >&2;}
7.23174 + { (exit 1); exit 1; }; }
7.23175 + fi;;
7.23176 + esac
7.23177 + done` || { (exit 1); exit 1; }
7.23178 + # Remove the trailing spaces.
7.23179 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7.23180 +
7.23181 +_ACEOF
7.23182 +
7.23183 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
7.23184 +# `conftest.undefs', that substitutes the proper values into
7.23185 +# config.h.in to produce config.h. The first handles `#define'
7.23186 +# templates, and the second `#undef' templates.
7.23187 +# And first: Protect against being on the right side of a sed subst in
7.23188 +# config.status. Protect against being in an unquoted here document
7.23189 +# in config.status.
7.23190 +rm -f conftest.defines conftest.undefs
7.23191 +# Using a here document instead of a string reduces the quoting nightmare.
7.23192 +# Putting comments in sed scripts is not portable.
7.23193 +#
7.23194 +# `end' is used to avoid that the second main sed command (meant for
7.23195 +# 0-ary CPP macros) applies to n-ary macro definitions.
7.23196 +# See the Autoconf documentation for `clear'.
7.23197 +cat >confdef2sed.sed <<\_ACEOF
7.23198 +s/[\\&,]/\\&/g
7.23199 +s,[\\$`],\\&,g
7.23200 +t clear
7.23201 +: clear
7.23202 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7.23203 +t end
7.23204 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7.23205 +: end
7.23206 +_ACEOF
7.23207 +# If some macros were called several times there might be several times
7.23208 +# the same #defines, which is useless. Nevertheless, we may not want to
7.23209 +# sort them, since we want the *last* AC-DEFINE to be honored.
7.23210 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7.23211 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7.23212 +rm -f confdef2sed.sed
7.23213 +
7.23214 +# This sed command replaces #undef with comments. This is necessary, for
7.23215 +# example, in the case of _POSIX_SOURCE, which is predefined and required
7.23216 +# on some systems where configure will not decide to define it.
7.23217 +cat >>conftest.undefs <<\_ACEOF
7.23218 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7.23219 +_ACEOF
7.23220 +
7.23221 +# Break up conftest.defines because some shells have a limit on the size
7.23222 +# of here documents, and old seds have small limits too (100 cmds).
7.23223 +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7.23224 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7.23225 +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7.23226 +echo ' :' >>$CONFIG_STATUS
7.23227 +rm -f conftest.tail
7.23228 +while grep . conftest.defines >/dev/null
7.23229 +do
7.23230 + # Write a limited-size here document to $tmp/defines.sed.
7.23231 + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7.23232 + # Speed up: don't consider the non `#define' lines.
7.23233 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7.23234 + # Work around the forget-to-reset-the-flag bug.
7.23235 + echo 't clr' >>$CONFIG_STATUS
7.23236 + echo ': clr' >>$CONFIG_STATUS
7.23237 + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7.23238 + echo 'CEOF
7.23239 + sed -f $tmp/defines.sed $tmp/in >$tmp/out
7.23240 + rm -f $tmp/in
7.23241 + mv $tmp/out $tmp/in
7.23242 +' >>$CONFIG_STATUS
7.23243 + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7.23244 + rm -f conftest.defines
7.23245 + mv conftest.tail conftest.defines
7.23246 +done
7.23247 +rm -f conftest.defines
7.23248 +echo ' fi # grep' >>$CONFIG_STATUS
7.23249 +echo >>$CONFIG_STATUS
7.23250 +
7.23251 +# Break up conftest.undefs because some shells have a limit on the size
7.23252 +# of here documents, and old seds have small limits too (100 cmds).
7.23253 +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7.23254 +rm -f conftest.tail
7.23255 +while grep . conftest.undefs >/dev/null
7.23256 +do
7.23257 + # Write a limited-size here document to $tmp/undefs.sed.
7.23258 + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7.23259 + # Speed up: don't consider the non `#undef'
7.23260 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7.23261 + # Work around the forget-to-reset-the-flag bug.
7.23262 + echo 't clr' >>$CONFIG_STATUS
7.23263 + echo ': clr' >>$CONFIG_STATUS
7.23264 + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7.23265 + echo 'CEOF
7.23266 + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7.23267 + rm -f $tmp/in
7.23268 + mv $tmp/out $tmp/in
7.23269 +' >>$CONFIG_STATUS
7.23270 + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7.23271 + rm -f conftest.undefs
7.23272 + mv conftest.tail conftest.undefs
7.23273 +done
7.23274 +rm -f conftest.undefs
7.23275 +
7.23276 +cat >>$CONFIG_STATUS <<\_ACEOF
7.23277 + # Let's still pretend it is `configure' which instantiates (i.e., don't
7.23278 + # use $as_me), people would be surprised to read:
7.23279 + # /* config.h. Generated by config.status. */
7.23280 + if test x"$ac_file" = x-; then
7.23281 + echo "/* Generated by configure. */" >$tmp/config.h
7.23282 + else
7.23283 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7.23284 + fi
7.23285 + cat $tmp/in >>$tmp/config.h
7.23286 + rm -f $tmp/in
7.23287 + if test x"$ac_file" != x-; then
7.23288 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7.23289 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7.23290 +echo "$as_me: $ac_file is unchanged" >&6;}
7.23291 + else
7.23292 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7.23293 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7.23294 + X"$ac_file" : 'X\(//\)[^/]' \| \
7.23295 + X"$ac_file" : 'X\(//\)$' \| \
7.23296 + X"$ac_file" : 'X\(/\)' \| \
7.23297 + . : '\(.\)' 2>/dev/null ||
7.23298 +echo X"$ac_file" |
7.23299 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7.23300 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7.23301 + /^X\(\/\/\)$/{ s//\1/; q; }
7.23302 + /^X\(\/\).*/{ s//\1/; q; }
7.23303 + s/.*/./; q'`
7.23304 + { if $as_mkdir_p; then
7.23305 + mkdir -p "$ac_dir"
7.23306 + else
7.23307 + as_dir="$ac_dir"
7.23308 + as_dirs=
7.23309 + while test ! -d "$as_dir"; do
7.23310 + as_dirs="$as_dir $as_dirs"
7.23311 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
7.23312 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7.23313 + X"$as_dir" : 'X\(//\)[^/]' \| \
7.23314 + X"$as_dir" : 'X\(//\)$' \| \
7.23315 + X"$as_dir" : 'X\(/\)' \| \
7.23316 + . : '\(.\)' 2>/dev/null ||
7.23317 +echo X"$as_dir" |
7.23318 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7.23319 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7.23320 + /^X\(\/\/\)$/{ s//\1/; q; }
7.23321 + /^X\(\/\).*/{ s//\1/; q; }
7.23322 + s/.*/./; q'`
7.23323 + done
7.23324 + test ! -n "$as_dirs" || mkdir $as_dirs
7.23325 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7.23326 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7.23327 + { (exit 1); exit 1; }; }; }
7.23328 +
7.23329 + rm -f $ac_file
7.23330 + mv $tmp/config.h $ac_file
7.23331 + fi
7.23332 + else
7.23333 + cat $tmp/config.h
7.23334 + rm -f $tmp/config.h
7.23335 + fi
7.23336 +# Compute $ac_file's index in $config_headers.
7.23337 +_am_stamp_count=1
7.23338 +for _am_header in $config_headers :; do
7.23339 + case $_am_header in
7.23340 + $ac_file | $ac_file:* )
7.23341 + break ;;
7.23342 + * )
7.23343 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7.23344 + esac
7.23345 +done
7.23346 +echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7.23347 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7.23348 + X$ac_file : 'X\(//\)[^/]' \| \
7.23349 + X$ac_file : 'X\(//\)$' \| \
7.23350 + X$ac_file : 'X\(/\)' \| \
7.23351 + . : '\(.\)' 2>/dev/null ||
7.23352 +echo X$ac_file |
7.23353 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7.23354 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7.23355 + /^X\(\/\/\)$/{ s//\1/; q; }
7.23356 + /^X\(\/\).*/{ s//\1/; q; }
7.23357 + s/.*/./; q'`/stamp-h$_am_stamp_count
7.23358 +done
7.23359 +_ACEOF
7.23360 +cat >>$CONFIG_STATUS <<\_ACEOF
7.23361 +
7.23362 +#
7.23363 +# CONFIG_COMMANDS section.
7.23364 +#
7.23365 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7.23366 + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7.23367 + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7.23368 + ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7.23369 +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7.23370 + X"$ac_dest" : 'X\(//\)[^/]' \| \
7.23371 + X"$ac_dest" : 'X\(//\)$' \| \
7.23372 + X"$ac_dest" : 'X\(/\)' \| \
7.23373 + . : '\(.\)' 2>/dev/null ||
7.23374 +echo X"$ac_dest" |
7.23375 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7.23376 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7.23377 + /^X\(\/\/\)$/{ s//\1/; q; }
7.23378 + /^X\(\/\).*/{ s//\1/; q; }
7.23379 + s/.*/./; q'`
7.23380 + { if $as_mkdir_p; then
7.23381 + mkdir -p "$ac_dir"
7.23382 + else
7.23383 + as_dir="$ac_dir"
7.23384 + as_dirs=
7.23385 + while test ! -d "$as_dir"; do
7.23386 + as_dirs="$as_dir $as_dirs"
7.23387 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
7.23388 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7.23389 + X"$as_dir" : 'X\(//\)[^/]' \| \
7.23390 + X"$as_dir" : 'X\(//\)$' \| \
7.23391 + X"$as_dir" : 'X\(/\)' \| \
7.23392 + . : '\(.\)' 2>/dev/null ||
7.23393 +echo X"$as_dir" |
7.23394 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7.23395 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7.23396 + /^X\(\/\/\)$/{ s//\1/; q; }
7.23397 + /^X\(\/\).*/{ s//\1/; q; }
7.23398 + s/.*/./; q'`
7.23399 + done
7.23400 + test ! -n "$as_dirs" || mkdir $as_dirs
7.23401 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7.23402 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7.23403 + { (exit 1); exit 1; }; }; }
7.23404 +
7.23405 + ac_builddir=.
7.23406 +
7.23407 +if test "$ac_dir" != .; then
7.23408 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7.23409 + # A "../" for each directory in $ac_dir_suffix.
7.23410 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7.23411 +else
7.23412 + ac_dir_suffix= ac_top_builddir=
7.23413 +fi
7.23414 +
7.23415 +case $srcdir in
7.23416 + .) # No --srcdir option. We are building in place.
7.23417 + ac_srcdir=.
7.23418 + if test -z "$ac_top_builddir"; then
7.23419 + ac_top_srcdir=.
7.23420 + else
7.23421 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7.23422 + fi ;;
7.23423 + [\\/]* | ?:[\\/]* ) # Absolute path.
7.23424 + ac_srcdir=$srcdir$ac_dir_suffix;
7.23425 + ac_top_srcdir=$srcdir ;;
7.23426 + *) # Relative path.
7.23427 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7.23428 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
7.23429 +esac
7.23430 +
7.23431 +# Do not use `cd foo && pwd` to compute absolute paths, because
7.23432 +# the directories may not exist.
7.23433 +case `pwd` in
7.23434 +.) ac_abs_builddir="$ac_dir";;
7.23435 +*)
7.23436 + case "$ac_dir" in
7.23437 + .) ac_abs_builddir=`pwd`;;
7.23438 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7.23439 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
7.23440 + esac;;
7.23441 +esac
7.23442 +case $ac_abs_builddir in
7.23443 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
7.23444 +*)
7.23445 + case ${ac_top_builddir}. in
7.23446 + .) ac_abs_top_builddir=$ac_abs_builddir;;
7.23447 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7.23448 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7.23449 + esac;;
7.23450 +esac
7.23451 +case $ac_abs_builddir in
7.23452 +.) ac_abs_srcdir=$ac_srcdir;;
7.23453 +*)
7.23454 + case $ac_srcdir in
7.23455 + .) ac_abs_srcdir=$ac_abs_builddir;;
7.23456 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7.23457 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7.23458 + esac;;
7.23459 +esac
7.23460 +case $ac_abs_builddir in
7.23461 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
7.23462 +*)
7.23463 + case $ac_top_srcdir in
7.23464 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
7.23465 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7.23466 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7.23467 + esac;;
7.23468 +esac
7.23469 +
7.23470 +
7.23471 + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7.23472 +echo "$as_me: executing $ac_dest commands" >&6;}
7.23473 + case $ac_dest in
7.23474 + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7.23475 + # Strip MF so we end up with the name of the file.
7.23476 + mf=`echo "$mf" | sed -e 's/:.*$//'`
7.23477 + # Check whether this is an Automake generated Makefile or not.
7.23478 + # We used to match only the files named `Makefile.in', but
7.23479 + # some people rename them; so instead we look at the file content.
7.23480 + # Grep'ing the first line is not enough: some people post-process
7.23481 + # each Makefile.in and add a new line on top of each file to say so.
7.23482 + # So let's grep whole file.
7.23483 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7.23484 + dirpart=`(dirname "$mf") 2>/dev/null ||
7.23485 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7.23486 + X"$mf" : 'X\(//\)[^/]' \| \
7.23487 + X"$mf" : 'X\(//\)$' \| \
7.23488 + X"$mf" : 'X\(/\)' \| \
7.23489 + . : '\(.\)' 2>/dev/null ||
7.23490 +echo X"$mf" |
7.23491 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7.23492 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7.23493 + /^X\(\/\/\)$/{ s//\1/; q; }
7.23494 + /^X\(\/\).*/{ s//\1/; q; }
7.23495 + s/.*/./; q'`
7.23496 + else
7.23497 + continue
7.23498 + fi
7.23499 + grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
7.23500 + # Extract the definition of DEP_FILES from the Makefile without
7.23501 + # running `make'.
7.23502 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7.23503 + test -z "$DEPDIR" && continue
7.23504 + # When using ansi2knr, U may be empty or an underscore; expand it
7.23505 + U=`sed -n 's/^U = //p' < "$mf"`
7.23506 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7.23507 + # We invoke sed twice because it is the simplest approach to
7.23508 + # changing $(DEPDIR) to its actual value in the expansion.
7.23509 + for file in `sed -n '
7.23510 + /^DEP_FILES = .*\\\\$/ {
7.23511 + s/^DEP_FILES = //
7.23512 + :loop
7.23513 + s/\\\\$//
7.23514 + p
7.23515 + n
7.23516 + /\\\\$/ b loop
7.23517 + p
7.23518 + }
7.23519 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7.23520 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7.23521 + # Make sure the directory exists.
7.23522 + test -f "$dirpart/$file" && continue
7.23523 + fdir=`(dirname "$file") 2>/dev/null ||
7.23524 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7.23525 + X"$file" : 'X\(//\)[^/]' \| \
7.23526 + X"$file" : 'X\(//\)$' \| \
7.23527 + X"$file" : 'X\(/\)' \| \
7.23528 + . : '\(.\)' 2>/dev/null ||
7.23529 +echo X"$file" |
7.23530 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7.23531 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7.23532 + /^X\(\/\/\)$/{ s//\1/; q; }
7.23533 + /^X\(\/\).*/{ s//\1/; q; }
7.23534 + s/.*/./; q'`
7.23535 + { if $as_mkdir_p; then
7.23536 + mkdir -p $dirpart/$fdir
7.23537 + else
7.23538 + as_dir=$dirpart/$fdir
7.23539 + as_dirs=
7.23540 + while test ! -d "$as_dir"; do
7.23541 + as_dirs="$as_dir $as_dirs"
7.23542 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
7.23543 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7.23544 + X"$as_dir" : 'X\(//\)[^/]' \| \
7.23545 + X"$as_dir" : 'X\(//\)$' \| \
7.23546 + X"$as_dir" : 'X\(/\)' \| \
7.23547 + . : '\(.\)' 2>/dev/null ||
7.23548 +echo X"$as_dir" |
7.23549 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7.23550 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7.23551 + /^X\(\/\/\)$/{ s//\1/; q; }
7.23552 + /^X\(\/\).*/{ s//\1/; q; }
7.23553 + s/.*/./; q'`
7.23554 + done
7.23555 + test ! -n "$as_dirs" || mkdir $as_dirs
7.23556 + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7.23557 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7.23558 + { (exit 1); exit 1; }; }; }
7.23559 +
7.23560 + # echo "creating $dirpart/$file"
7.23561 + echo '# dummy' > "$dirpart/$file"
7.23562 + done
7.23563 +done
7.23564 + ;;
7.23565 + esac
7.23566 +done
7.23567 +_ACEOF
7.23568 +
7.23569 +cat >>$CONFIG_STATUS <<\_ACEOF
7.23570 +
7.23571 +{ (exit 0); exit 0; }
7.23572 +_ACEOF
7.23573 +chmod +x $CONFIG_STATUS
7.23574 +ac_clean_files=$ac_clean_files_save
7.23575 +
7.23576 +
7.23577 +# configure is writing to config.log, and then calls config.status.
7.23578 +# config.status does its own redirection, appending to config.log.
7.23579 +# Unfortunately, on DOS this fails, as config.log is still kept open
7.23580 +# by configure, so config.status won't be able to write to it; its
7.23581 +# output is simply discarded. So we exec the FD to /dev/null,
7.23582 +# effectively closing config.log, so it can be properly (re)opened and
7.23583 +# appended to by config.status. When coming back to configure, we
7.23584 +# need to make the FD available again.
7.23585 +if test "$no_create" != yes; then
7.23586 + ac_cs_success=:
7.23587 + ac_config_status_args=
7.23588 + test "$silent" = yes &&
7.23589 + ac_config_status_args="$ac_config_status_args --quiet"
7.23590 + exec 5>/dev/null
7.23591 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7.23592 + exec 5>>config.log
7.23593 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7.23594 + # would make configure fail if this is the last instruction.
7.23595 + $ac_cs_success || { (exit 1); exit 1; }
7.23596 +fi
7.23597 +
7.23598 +
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/gst-plugins-nuvdemux/autom4te.cache/requests Tue Oct 24 15:02:26 2006 +0100
8.3 @@ -0,0 +1,353 @@
8.4 +# This file was generated by Autom4te Sat Jan 3 15:24:14 PST 2004.
8.5 +# It contains the lists of macros which have been traced.
8.6 +# It can be safely removed.
8.7 +
8.8 +@request = (
8.9 + bless( [
8.10 + '0',
8.11 + 1,
8.12 + [
8.13 + '/scratchbox/tools/autotools/autoconf2.59/share/autoconf'
8.14 + ],
8.15 + [
8.16 + '/scratchbox/tools/autotools/autoconf2.59/share/autoconf/autoconf/autoconf.m4f',
8.17 + '/targets/links/libtool/share/aclocal/libtool.m4',
8.18 + '/scratchbox/tools/share/aclocal/isc-posix.m4',
8.19 + '/scratchbox/tools/share/aclocal/pkg.m4',
8.20 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/amversion.m4',
8.21 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/as.m4',
8.22 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/auxdir.m4',
8.23 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/cond.m4',
8.24 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/depend.m4',
8.25 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/depout.m4',
8.26 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/header.m4',
8.27 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/init.m4',
8.28 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/install-sh.m4',
8.29 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/lead-dot.m4',
8.30 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/maintainer.m4',
8.31 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/make.m4',
8.32 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/missing.m4',
8.33 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/mkdirp.m4',
8.34 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/options.m4',
8.35 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/sanity.m4',
8.36 + '/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/strip.m4',
8.37 + 'm4/as-compiler-flag.m4',
8.38 + 'm4/as-version.m4',
8.39 + 'configure.ac'
8.40 + ],
8.41 + {
8.42 + 'AM_ENABLE_STATIC' => 1,
8.43 + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
8.44 + 'AC_C_VOLATILE' => 1,
8.45 + 'AC_TYPE_OFF_T' => 1,
8.46 + '_LT_AC_SHELL_INIT' => 1,
8.47 + 'AC_FUNC_CLOSEDIR_VOID' => 1,
8.48 + 'AC_REPLACE_FNMATCH' => 1,
8.49 + '_LT_AC_LANG_CXX_CONFIG' => 1,
8.50 + 'AC_PROG_LIBTOOL' => 1,
8.51 + 'AM_PROG_MKDIR_P' => 1,
8.52 + 'AC_FUNC_STAT' => 1,
8.53 + 'AC_FUNC_WAIT3' => 1,
8.54 + 'AM_AUTOMAKE_VERSION' => 1,
8.55 + 'AC_FUNC_LSTAT' => 1,
8.56 + 'AC_STRUCT_TM' => 1,
8.57 + 'AC_FUNC_STRTOD' => 1,
8.58 + 'AC_CHECK_HEADERS' => 1,
8.59 + 'AM_MISSING_PROG' => 1,
8.60 + 'AC_FUNC_STRNLEN' => 1,
8.61 + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
8.62 + 'AC_PROG_CXX' => 1,
8.63 + '_LT_AC_LANG_C_CONFIG' => 1,
8.64 + 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
8.65 + 'AM_PROG_INSTALL_STRIP' => 1,
8.66 + 'AC_PROG_AWK' => 1,
8.67 + '_m4_warn' => 1,
8.68 + 'AC_LIBTOOL_OBJDIR' => 1,
8.69 + 'AC_HEADER_MAJOR' => 1,
8.70 + 'AM_SANITY_CHECK' => 1,
8.71 + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
8.72 + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
8.73 + '_LT_AC_CHECK_DLFCN' => 1,
8.74 + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
8.75 + 'AC_LIBTOOL_GCJ' => 1,
8.76 + 'AC_PROG_GCC_TRADITIONAL' => 1,
8.77 + 'AC_LIBSOURCE' => 1,
8.78 + 'AC_STRUCT_ST_BLOCKS' => 1,
8.79 + '_LT_AC_LANG_F77' => 1,
8.80 + 'AC_LIBTOOL_CONFIG' => 1,
8.81 + 'AC_PROG_MAKE_SET' => 1,
8.82 + 'AC_CONFIG_AUX_DIR' => 1,
8.83 + 'sinclude' => 1,
8.84 + 'AM_DISABLE_SHARED' => 1,
8.85 + '_LT_AC_LANG_CXX' => 1,
8.86 + 'AM_PROG_LIBTOOL' => 1,
8.87 + '_LT_AC_FILE_LTDLL_C' => 1,
8.88 + 'AM_PROG_LD' => 1,
8.89 + 'AC_FUNC_STRERROR_R' => 1,
8.90 + 'AC_DECL_SYS_SIGLIST' => 1,
8.91 + 'AC_FUNC_FORK' => 1,
8.92 + 'AC_FUNC_VPRINTF' => 1,
8.93 + 'AC_PROG_NM' => 1,
8.94 + 'AC_LIBTOOL_DLOPEN' => 1,
8.95 + 'AC_PROG_LD' => 1,
8.96 + 'AC_ENABLE_FAST_INSTALL' => 1,
8.97 + 'AC_PROG_LD_GNU' => 1,
8.98 + 'AC_INIT' => 1,
8.99 + 'AC_STRUCT_TIMEZONE' => 1,
8.100 + 'AC_SUBST' => 1,
8.101 + 'AC_FUNC_ALLOCA' => 1,
8.102 + '_AM_SET_OPTION' => 1,
8.103 + 'AC_CANONICAL_HOST' => 1,
8.104 + '_LT_LINKER_BOILERPLATE' => 1,
8.105 + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
8.106 + 'AC_LIBTOOL_PROG_CC_C_O' => 1,
8.107 + 'AC_PROG_RANLIB' => 1,
8.108 + 'AC_FUNC_SETPGRP' => 1,
8.109 + 'AC_CONFIG_SUBDIRS' => 1,
8.110 + 'AC_FUNC_MMAP' => 1,
8.111 + 'AC_TYPE_SIZE_T' => 1,
8.112 + 'AC_CHECK_TYPES' => 1,
8.113 + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
8.114 + 'AC_CHECK_MEMBERS' => 1,
8.115 + 'AC_FUNC_UTIME_NULL' => 1,
8.116 + 'AC_FUNC_SELECT_ARGTYPES' => 1,
8.117 + '_LT_AC_LANG_GCJ' => 1,
8.118 + 'AC_FUNC_STRFTIME' => 1,
8.119 + 'AC_HEADER_STAT' => 1,
8.120 + 'AC_C_INLINE' => 1,
8.121 + 'AC_LIBTOOL_RC' => 1,
8.122 + 'AC_DISABLE_FAST_INSTALL' => 1,
8.123 + '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
8.124 + 'AC_CONFIG_FILES' => 1,
8.125 + '_LT_AC_TRY_DLOPEN_SELF' => 1,
8.126 + '_LT_AC_SYS_LIBPATH_AIX' => 1,
8.127 + 'include' => 1,
8.128 + 'LT_AC_PROG_SED' => 1,
8.129 + 'AM_ENABLE_SHARED' => 1,
8.130 + 'AM_GNU_GETTEXT' => 1,
8.131 + '_LT_AC_LANG_GCJ_CONFIG' => 1,
8.132 + 'AC_ENABLE_SHARED' => 1,
8.133 + 'AC_CHECK_LIB' => 1,
8.134 + 'AC_FUNC_OBSTACK' => 1,
8.135 + 'AC_FUNC_MALLOC' => 1,
8.136 + 'AC_FUNC_GETGROUPS' => 1,
8.137 + 'AC_FUNC_GETLOADAVG' => 1,
8.138 + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
8.139 + 'AC_ENABLE_STATIC' => 1,
8.140 + 'AC_FUNC_FSEEKO' => 1,
8.141 + '_LT_AC_TAGVAR' => 1,
8.142 + 'AM_PROG_CC_C_O' => 1,
8.143 + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
8.144 + 'AM_CONDITIONAL' => 1,
8.145 + 'AC_FUNC_MKTIME' => 1,
8.146 + 'AC_HEADER_SYS_WAIT' => 1,
8.147 + 'AC_FUNC_MEMCMP' => 1,
8.148 + 'AC_PROG_LN_S' => 1,
8.149 + 'AM_PROG_INSTALL_SH' => 1,
8.150 + 'm4_include' => 1,
8.151 + 'AC_PROG_EGREP' => 1,
8.152 + 'AC_HEADER_DIRENT' => 1,
8.153 + 'AC_PATH_MAGIC' => 1,
8.154 + '_AC_AM_CONFIG_HEADER_HOOK' => 1,
8.155 + 'AM_MAKE_INCLUDE' => 1,
8.156 + '_LT_AC_TAGCONFIG' => 1,
8.157 + 'm4_pattern_forbid' => 1,
8.158 + 'AC_CONFIG_LIBOBJ_DIR' => 1,
8.159 + 'AC_LIBTOOL_COMPILER_OPTION' => 1,
8.160 + 'AC_DISABLE_SHARED' => 1,
8.161 + '_LT_COMPILER_BOILERPLATE' => 1,
8.162 + 'AC_LIBTOOL_SETUP' => 1,
8.163 + 'AC_LIBTOOL_WIN32_DLL' => 1,
8.164 + 'AC_PROG_LD_RELOAD_FLAG' => 1,
8.165 + 'AC_HEADER_TIME' => 1,
8.166 + 'AS_COMPILER_FLAG' => 1,
8.167 + 'AC_TYPE_MODE_T' => 1,
8.168 + 'AC_FUNC_GETMNTENT' => 1,
8.169 + 'AM_MISSING_HAS_RUN' => 1,
8.170 + 'AC_LIBTOOL_DLOPEN_SELF' => 1,
8.171 + 'm4_sinclude' => 1,
8.172 + 'AC_PATH_X' => 1,
8.173 + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
8.174 + 'AC_HEADER_STDC' => 1,
8.175 + 'AC_LIBTOOL_LINKER_OPTION' => 1,
8.176 + 'LT_AC_PROG_RC' => 1,
8.177 + 'AC_LIBTOOL_CXX' => 1,
8.178 + 'LT_AC_PROG_GCJ' => 1,
8.179 + 'AC_FUNC_ERROR_AT_LINE' => 1,
8.180 + 'AM_DEP_TRACK' => 1,
8.181 + '_LT_AC_PROG_CXXCPP' => 1,
8.182 + 'AM_DISABLE_STATIC' => 1,
8.183 + 'AM_CONFIG_HEADER' => 1,
8.184 + '_AC_PROG_LIBTOOL' => 1,
8.185 + 'AC_FUNC_MBRTOWC' => 1,
8.186 + 'AC_TYPE_SIGNAL' => 1,
8.187 + '_AM_IF_OPTION' => 1,
8.188 + 'AC_TYPE_UID_T' => 1,
8.189 + 'AC_PATH_TOOL_PREFIX' => 1,
8.190 + 'm4_pattern_allow' => 1,
8.191 + 'AC_LIBTOOL_F77' => 1,
8.192 + 'AM_SET_LEADING_DOT' => 1,
8.193 + 'AC_DEFINE_TRACE_LITERAL' => 1,
8.194 + '_AM_DEPENDENCIES' => 1,
8.195 + 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
8.196 + '_LT_AC_SYS_COMPILER' => 1,
8.197 + 'AC_PROG_CC' => 1,
8.198 + 'AM_PROG_NM' => 1,
8.199 + 'PKG_CHECK_MODULES' => 1,
8.200 + 'AC_FUNC_STRCOLL' => 1,
8.201 + 'AC_PROG_YACC' => 1,
8.202 + 'AC_LIBLTDL_CONVENIENCE' => 1,
8.203 + 'AC_DEPLIBS_CHECK_METHOD' => 1,
8.204 + 'AC_FUNC_CHOWN' => 1,
8.205 + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
8.206 + 'jm_MAINTAINER_MODE' => 1,
8.207 + 'AC_LIBLTDL_INSTALLABLE' => 1,
8.208 + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
8.209 + 'AC_FUNC_GETPGRP' => 1,
8.210 + 'AM_INIT_AUTOMAKE' => 1,
8.211 + 'AC_FUNC_REALLOC' => 1,
8.212 + 'AC_DISABLE_STATIC' => 1,
8.213 + 'AC_CONFIG_LINKS' => 1,
8.214 + 'AS_VERSION' => 1,
8.215 + 'AM_MAINTAINER_MODE' => 1,
8.216 + '_LT_AC_LOCK' => 1,
8.217 + '_LT_AC_LANG_RC_CONFIG' => 1,
8.218 + 'AC_PROG_CPP' => 1,
8.219 + 'AC_C_CONST' => 1,
8.220 + 'AC_PROG_LEX' => 1,
8.221 + 'AC_TYPE_PID_T' => 1,
8.222 + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
8.223 + 'AC_FUNC_SETVBUF_REVERSED' => 1,
8.224 + 'AM_PROG_AS' => 1,
8.225 + 'AM_AUX_DIR_EXPAND' => 1,
8.226 + 'AC_PROG_INSTALL' => 1,
8.227 + '_LT_AC_LANG_F77_CONFIG' => 1,
8.228 + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
8.229 + '_AM_SET_OPTIONS' => 1,
8.230 + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
8.231 + 'AC_LIBTOOL_PICMODE' => 1,
8.232 + 'AH_OUTPUT' => 1,
8.233 + 'AC_ISC_POSIX' => 1,
8.234 + 'AC_CHECK_LIBM' => 1,
8.235 + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
8.236 + '_AM_MANGLE_OPTION' => 1,
8.237 + 'AC_CANONICAL_SYSTEM' => 1,
8.238 + 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
8.239 + 'AC_CONFIG_HEADERS' => 1,
8.240 + 'AM_SET_DEPDIR' => 1,
8.241 + '_LT_CC_BASENAME' => 1,
8.242 + 'AC_CHECK_FUNCS' => 1
8.243 + }
8.244 + ], 'Autom4te::Request' ),
8.245 + bless( [
8.246 + '1',
8.247 + 1,
8.248 + [
8.249 + '/scratchbox/tools/autotools/autoconf2.59/share/autoconf'
8.250 + ],
8.251 + [
8.252 + '/scratchbox/tools/autotools/autoconf2.59/share/autoconf/autoconf/autoconf.m4f',
8.253 + 'aclocal.m4',
8.254 + 'configure.ac'
8.255 + ],
8.256 + {
8.257 + 'm4_pattern_forbid' => 1,
8.258 + 'AC_CONFIG_LIBOBJ_DIR' => 1,
8.259 + 'AC_TYPE_OFF_T' => 1,
8.260 + 'AC_C_VOLATILE' => 1,
8.261 + 'AC_FUNC_CLOSEDIR_VOID' => 1,
8.262 + 'AC_REPLACE_FNMATCH' => 1,
8.263 + 'AC_PROG_LIBTOOL' => 1,
8.264 + 'AC_FUNC_STAT' => 1,
8.265 + 'AC_HEADER_TIME' => 1,
8.266 + 'AC_FUNC_WAIT3' => 1,
8.267 + 'AM_AUTOMAKE_VERSION' => 1,
8.268 + 'AC_STRUCT_TM' => 1,
8.269 + 'AC_FUNC_LSTAT' => 1,
8.270 + 'AC_TYPE_MODE_T' => 1,
8.271 + 'AC_FUNC_GETMNTENT' => 1,
8.272 + 'AC_FUNC_STRTOD' => 1,
8.273 + 'AC_CHECK_HEADERS' => 1,
8.274 + 'AC_FUNC_STRNLEN' => 1,
8.275 + 'm4_sinclude' => 1,
8.276 + 'AC_PROG_CXX' => 1,
8.277 + 'AC_PATH_X' => 1,
8.278 + 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
8.279 + 'AC_PROG_AWK' => 1,
8.280 + '_m4_warn' => 1,
8.281 + 'AC_HEADER_STDC' => 1,
8.282 + 'AC_HEADER_MAJOR' => 1,
8.283 + 'AC_FUNC_ERROR_AT_LINE' => 1,
8.284 + 'AC_PROG_GCC_TRADITIONAL' => 1,
8.285 + 'AC_LIBSOURCE' => 1,
8.286 + 'AC_FUNC_MBRTOWC' => 1,
8.287 + 'AC_STRUCT_ST_BLOCKS' => 1,
8.288 + 'AC_TYPE_SIGNAL' => 1,
8.289 + 'AC_TYPE_UID_T' => 1,
8.290 + 'AC_PROG_MAKE_SET' => 1,
8.291 + 'AC_CONFIG_AUX_DIR' => 1,
8.292 + 'sinclude' => 1,
8.293 + 'm4_pattern_allow' => 1,
8.294 + 'AC_DEFINE_TRACE_LITERAL' => 1,
8.295 + 'AC_FUNC_STRERROR_R' => 1,
8.296 + 'AC_PROG_CC' => 1,
8.297 + 'AC_DECL_SYS_SIGLIST' => 1,
8.298 + 'AC_FUNC_FORK' => 1,
8.299 + 'AC_FUNC_VPRINTF' => 1,
8.300 + 'AC_FUNC_STRCOLL' => 1,
8.301 + 'AC_PROG_YACC' => 1,
8.302 + 'AC_STRUCT_TIMEZONE' => 1,
8.303 + 'AC_INIT' => 1,
8.304 + 'AC_FUNC_CHOWN' => 1,
8.305 + 'AC_SUBST' => 1,
8.306 + 'AC_FUNC_ALLOCA' => 1,
8.307 + 'AC_CANONICAL_HOST' => 1,
8.308 + 'AC_FUNC_GETPGRP' => 1,
8.309 + 'AC_PROG_RANLIB' => 1,
8.310 + 'AM_INIT_AUTOMAKE' => 1,
8.311 + 'AC_FUNC_SETPGRP' => 1,
8.312 + 'AC_CONFIG_SUBDIRS' => 1,
8.313 + 'AC_FUNC_MMAP' => 1,
8.314 + 'AC_FUNC_REALLOC' => 1,
8.315 + 'AC_TYPE_SIZE_T' => 1,
8.316 + 'AC_CONFIG_LINKS' => 1,
8.317 + 'AC_CHECK_TYPES' => 1,
8.318 + 'AC_CHECK_MEMBERS' => 1,
8.319 + 'AM_MAINTAINER_MODE' => 1,
8.320 + 'AC_FUNC_UTIME_NULL' => 1,
8.321 + 'AC_FUNC_SELECT_ARGTYPES' => 1,
8.322 + 'AC_FUNC_STRFTIME' => 1,
8.323 + 'AC_HEADER_STAT' => 1,
8.324 + 'AC_C_INLINE' => 1,
8.325 + 'AC_PROG_CPP' => 1,
8.326 + 'AM_ENABLE_MULTILIB' => 1,
8.327 + 'AC_TYPE_PID_T' => 1,
8.328 + 'AC_C_CONST' => 1,
8.329 + 'AC_PROG_LEX' => 1,
8.330 + 'AC_CONFIG_FILES' => 1,
8.331 + 'include' => 1,
8.332 + 'AC_FUNC_SETVBUF_REVERSED' => 1,
8.333 + 'AC_PROG_INSTALL' => 1,
8.334 + 'AM_GNU_GETTEXT' => 1,
8.335 + 'AC_CHECK_LIB' => 1,
8.336 + 'AC_FUNC_OBSTACK' => 1,
8.337 + 'AC_FUNC_MALLOC' => 1,
8.338 + 'AC_FUNC_GETGROUPS' => 1,
8.339 + 'AC_FUNC_GETLOADAVG' => 1,
8.340 + 'AH_OUTPUT' => 1,
8.341 + 'AC_FUNC_FSEEKO' => 1,
8.342 + 'AM_PROG_CC_C_O' => 1,
8.343 + 'AM_CONDITIONAL' => 1,
8.344 + 'AC_CANONICAL_SYSTEM' => 1,
8.345 + 'AC_FUNC_MKTIME' => 1,
8.346 + 'AC_CONFIG_HEADERS' => 1,
8.347 + 'AC_HEADER_SYS_WAIT' => 1,
8.348 + 'AC_PROG_LN_S' => 1,
8.349 + 'AC_FUNC_MEMCMP' => 1,
8.350 + 'm4_include' => 1,
8.351 + 'AC_HEADER_DIRENT' => 1,
8.352 + 'AC_CHECK_FUNCS' => 1
8.353 + }
8.354 + ], 'Autom4te::Request' )
8.355 + );
8.356 +
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/gst-plugins-nuvdemux/autom4te.cache/traces.0 Tue Oct 24 15:02:26 2006 +0100
9.3 @@ -0,0 +1,2834 @@
9.4 +m4trace:configure.ac:3: -1- AC_INIT
9.5 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
9.6 +m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
9.7 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
9.8 +m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
9.9 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
9.10 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
9.11 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
9.12 +m4trace:configure.ac:3: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
9.13 +m4trace:configure.ac:3: -1- AC_SUBST([PATH_SEPARATOR])
9.14 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
9.15 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
9.16 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
9.17 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
9.18 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
9.19 +m4trace:configure.ac:3: -1- AC_SUBST([exec_prefix], [NONE])
9.20 +m4trace:configure.ac:3: -1- AC_SUBST([prefix], [NONE])
9.21 +m4trace:configure.ac:3: -1- AC_SUBST([program_transform_name], [s,x,x,])
9.22 +m4trace:configure.ac:3: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
9.23 +m4trace:configure.ac:3: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
9.24 +m4trace:configure.ac:3: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
9.25 +m4trace:configure.ac:3: -1- AC_SUBST([datadir], ['${prefix}/share'])
9.26 +m4trace:configure.ac:3: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
9.27 +m4trace:configure.ac:3: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
9.28 +m4trace:configure.ac:3: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
9.29 +m4trace:configure.ac:3: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
9.30 +m4trace:configure.ac:3: -1- AC_SUBST([includedir], ['${prefix}/include'])
9.31 +m4trace:configure.ac:3: -1- AC_SUBST([oldincludedir], ['/usr/include'])
9.32 +m4trace:configure.ac:3: -1- AC_SUBST([infodir], ['${prefix}/info'])
9.33 +m4trace:configure.ac:3: -1- AC_SUBST([mandir], ['${prefix}/man'])
9.34 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
9.35 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
9.36 +#undef PACKAGE_NAME])
9.37 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
9.38 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
9.39 +#undef PACKAGE_TARNAME])
9.40 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
9.41 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
9.42 +#undef PACKAGE_VERSION])
9.43 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
9.44 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
9.45 +#undef PACKAGE_STRING])
9.46 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
9.47 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
9.48 +#undef PACKAGE_BUGREPORT])
9.49 +m4trace:configure.ac:3: -1- AC_SUBST([build_alias])
9.50 +m4trace:configure.ac:3: -1- AC_SUBST([host_alias])
9.51 +m4trace:configure.ac:3: -1- AC_SUBST([target_alias])
9.52 +m4trace:configure.ac:3: -1- AC_SUBST([DEFS])
9.53 +m4trace:configure.ac:3: -1- AC_SUBST([ECHO_C])
9.54 +m4trace:configure.ac:3: -1- AC_SUBST([ECHO_N])
9.55 +m4trace:configure.ac:3: -1- AC_SUBST([ECHO_T])
9.56 +m4trace:configure.ac:3: -1- AC_SUBST([LIBS])
9.57 +m4trace:configure.ac:4: -1- AC_CANONICAL_HOST
9.58 +m4trace:configure.ac:4: -1- AC_SUBST([build], [$ac_cv_build])
9.59 +m4trace:configure.ac:4: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
9.60 +m4trace:configure.ac:4: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
9.61 +m4trace:configure.ac:4: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
9.62 +m4trace:configure.ac:4: -1- AC_SUBST([host], [$ac_cv_host])
9.63 +m4trace:configure.ac:4: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
9.64 +m4trace:configure.ac:4: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
9.65 +m4trace:configure.ac:4: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
9.66 +m4trace:configure.ac:4: -1- AC_SUBST([target], [$ac_cv_target])
9.67 +m4trace:configure.ac:4: -1- AC_SUBST([target_cpu], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
9.68 +m4trace:configure.ac:4: -1- AC_SUBST([target_vendor], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
9.69 +m4trace:configure.ac:4: -1- AC_SUBST([target_os], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
9.70 +m4trace:configure.ac:10: -1- AM_DISABLE_STATIC
9.71 +m4trace:configure.ac:10: -1- AC_DISABLE_STATIC([])
9.72 +m4trace:configure.ac:10: -1- AC_ENABLE_STATIC([no])
9.73 +m4trace:configure.ac:10: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.74 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.75 +autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
9.76 +/targets/links/libtool/share/aclocal/libtool.m4:1890: AC_ENABLE_STATIC is expanded from...
9.77 +/targets/links/libtool/share/aclocal/libtool.m4:1899: AC_DISABLE_STATIC is expanded from...
9.78 +/targets/links/libtool/share/aclocal/libtool.m4:6106: AM_DISABLE_STATIC is expanded from...
9.79 +configure.ac:10: the top level])
9.80 +m4trace:configure.ac:13: -1- AM_MAINTAINER_MODE
9.81 +m4trace:configure.ac:13: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9.82 +m4trace:configure.ac:13: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
9.83 +m4trace:configure.ac:13: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
9.84 +m4trace:configure.ac:13: -1- AC_SUBST([MAINT])
9.85 +m4trace:configure.ac:17: -1- AS_VERSION([gst-plugins-nuvdemux], [GST_PLUGINS_VERSION], [0], [10], [0], [1], [GST_CVS="no"], [GST_CVS="yes"])
9.86 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([GST_PLUGINS_VERSION])
9.87 +m4trace:configure.ac:17: -1- AH_OUTPUT([GST_PLUGINS_VERSION], [/* Define the version */
9.88 +#undef GST_PLUGINS_VERSION])
9.89 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION])
9.90 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([GST_PLUGINS_VERSION_RELEASE])
9.91 +m4trace:configure.ac:17: -1- AH_OUTPUT([GST_PLUGINS_VERSION_RELEASE], [/* Define the release version */
9.92 +#undef GST_PLUGINS_VERSION_RELEASE])
9.93 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_RELEASE])
9.94 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MAJOR])
9.95 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MINOR])
9.96 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MICRO])
9.97 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_NANO])
9.98 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
9.99 +m4trace:configure.ac:17: -1- AH_OUTPUT([PACKAGE], [/* Define the package name */
9.100 +#undef PACKAGE])
9.101 +m4trace:configure.ac:17: -1- AC_SUBST([PACKAGE])
9.102 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
9.103 +m4trace:configure.ac:17: -1- AH_OUTPUT([VERSION], [/* Define the version */
9.104 +#undef VERSION])
9.105 +m4trace:configure.ac:17: -1- AC_SUBST([VERSION])
9.106 +m4trace:configure.ac:19: -1- AM_INIT_AUTOMAKE([$PACKAGE], [$VERSION])
9.107 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
9.108 +m4trace:configure.ac:19: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
9.109 +m4trace:configure.ac:19: -1- AM_AUTOMAKE_VERSION([1.8.5])
9.110 +m4trace:configure.ac:19: -1- AC_PROG_INSTALL
9.111 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_PROGRAM])
9.112 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_SCRIPT])
9.113 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_DATA])
9.114 +m4trace:configure.ac:19: -1- AC_SUBST([CYGPATH_W])
9.115 +m4trace:configure.ac:19: -1- AC_SUBST([PACKAGE], [$PACKAGE])
9.116 +m4trace:configure.ac:19: -1- AC_SUBST([VERSION], [$VERSION])
9.117 +m4trace:configure.ac:19: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
9.118 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
9.119 +m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([no-define])
9.120 +m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
9.121 +m4trace:configure.ac:19: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
9.122 +#undef PACKAGE])
9.123 +m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
9.124 +m4trace:configure.ac:19: -1- AH_OUTPUT([VERSION], [/* Version number of package */
9.125 +#undef VERSION])
9.126 +m4trace:configure.ac:19: -1- AM_SANITY_CHECK
9.127 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
9.128 +m4trace:configure.ac:19: -1- AM_MISSING_HAS_RUN
9.129 +m4trace:configure.ac:19: -1- AM_AUX_DIR_EXPAND
9.130 +m4trace:configure.ac:19: -1- AC_SUBST([ACLOCAL])
9.131 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
9.132 +m4trace:configure.ac:19: -1- AC_SUBST([AUTOCONF])
9.133 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
9.134 +m4trace:configure.ac:19: -1- AC_SUBST([AUTOMAKE])
9.135 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
9.136 +m4trace:configure.ac:19: -1- AC_SUBST([AUTOHEADER])
9.137 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
9.138 +m4trace:configure.ac:19: -1- AC_SUBST([MAKEINFO])
9.139 +m4trace:configure.ac:19: -1- AM_MISSING_PROG([AMTAR], [tar])
9.140 +m4trace:configure.ac:19: -1- AC_SUBST([AMTAR])
9.141 +m4trace:configure.ac:19: -1- AM_PROG_INSTALL_SH
9.142 +m4trace:configure.ac:19: -1- AC_SUBST([install_sh])
9.143 +m4trace:configure.ac:19: -1- AM_PROG_INSTALL_STRIP
9.144 +m4trace:configure.ac:19: -1- AC_SUBST([STRIP])
9.145 +m4trace:configure.ac:19: -1- AC_SUBST([ac_ct_STRIP])
9.146 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
9.147 +m4trace:configure.ac:19: -1- AM_PROG_MKDIR_P
9.148 +m4trace:configure.ac:19: -1- AC_SUBST([mkdir_p])
9.149 +m4trace:configure.ac:19: -1- AC_PROG_AWK
9.150 +m4trace:configure.ac:19: -1- AC_SUBST([AWK])
9.151 +m4trace:configure.ac:19: -1- AC_PROG_MAKE_SET
9.152 +m4trace:configure.ac:19: -1- AC_SUBST([SET_MAKE])
9.153 +m4trace:configure.ac:19: -1- AM_SET_LEADING_DOT
9.154 +m4trace:configure.ac:19: -1- AC_SUBST([am__leading_dot])
9.155 +m4trace:configure.ac:19: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
9.156 + [_AM_DEPENDENCIES(CC)],
9.157 + [define([AC_PROG_CC],
9.158 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9.159 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
9.160 + [_AM_DEPENDENCIES(CXX)],
9.161 + [define([AC_PROG_CXX],
9.162 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9.163 +])
9.164 +m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([no-dependencies])
9.165 +m4trace:configure.ac:21: -1- AM_PROG_LIBTOOL
9.166 +m4trace:configure.ac:21: -1- AC_PROG_LIBTOOL
9.167 +m4trace:configure.ac:21: -1- _AC_PROG_LIBTOOL
9.168 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SETUP
9.169 +m4trace:configure.ac:21: -1- AC_ENABLE_SHARED
9.170 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.171 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.172 +autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
9.173 +/targets/links/libtool/share/aclocal/libtool.m4:1851: AC_ENABLE_SHARED is expanded from...
9.174 +configure.ac:21: AC_ENABLE_SHARED is required by...
9.175 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.176 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.177 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.178 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.179 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.180 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.181 +configure.ac:21: the top level])
9.182 +m4trace:configure.ac:21: -1- AC_ENABLE_FAST_INSTALL
9.183 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.184 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.185 +autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
9.186 +/targets/links/libtool/share/aclocal/libtool.m4:1929: AC_ENABLE_FAST_INSTALL is expanded from...
9.187 +configure.ac:21: AC_ENABLE_FAST_INSTALL is required by...
9.188 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.189 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.190 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.191 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.192 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.193 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.194 +configure.ac:21: the top level])
9.195 +m4trace:configure.ac:21: -1- AC_PROG_CC
9.196 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
9.197 +m4trace:configure.ac:21: -1- AC_SUBST([CFLAGS])
9.198 +m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
9.199 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
9.200 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
9.201 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
9.202 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
9.203 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
9.204 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
9.205 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
9.206 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
9.207 +m4trace:configure.ac:21: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
9.208 +m4trace:configure.ac:21: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
9.209 +m4trace:configure.ac:21: -1- _AM_DEPENDENCIES([CC])
9.210 +m4trace:configure.ac:21: -1- AM_SET_DEPDIR
9.211 +m4trace:configure.ac:21: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
9.212 +m4trace:configure.ac:21: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
9.213 +m4trace:configure.ac:21: -1- AM_MAKE_INCLUDE
9.214 +m4trace:configure.ac:21: -1- AC_SUBST([am__include])
9.215 +m4trace:configure.ac:21: -1- AC_SUBST([am__quote])
9.216 +m4trace:configure.ac:21: -1- AM_DEP_TRACK
9.217 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
9.218 +m4trace:configure.ac:21: -1- AC_SUBST([AMDEP_TRUE])
9.219 +m4trace:configure.ac:21: -1- AC_SUBST([AMDEP_FALSE])
9.220 +m4trace:configure.ac:21: -1- AC_SUBST([AMDEPBACKSLASH])
9.221 +m4trace:configure.ac:21: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
9.222 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCC], [
9.223 + test "x$enable_dependency_tracking" != xno \
9.224 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
9.225 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCC_TRUE])
9.226 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCC_FALSE])
9.227 +m4trace:configure.ac:21: -1- AC_PROG_LD
9.228 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.229 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.230 +autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
9.231 +/targets/links/libtool/share/aclocal/libtool.m4:2126: AC_PROG_LD is expanded from...
9.232 +configure.ac:21: AC_PROG_LD is required by...
9.233 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.234 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.235 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.236 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.237 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.238 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.239 +configure.ac:21: the top level])
9.240 +m4trace:configure.ac:21: -1- LT_AC_PROG_SED
9.241 +m4trace:configure.ac:21: -1- AC_PROG_LD_GNU
9.242 +m4trace:configure.ac:21: -1- AC_PROG_EGREP
9.243 +m4trace:configure.ac:21: -1- AC_SUBST([EGREP])
9.244 +m4trace:configure.ac:21: -1- AC_PROG_LD_RELOAD_FLAG
9.245 +m4trace:configure.ac:21: -1- AC_PROG_NM
9.246 +m4trace:configure.ac:21: -1- AC_PROG_LN_S
9.247 +m4trace:configure.ac:21: -1- AC_SUBST([LN_S], [$as_ln_s])
9.248 +m4trace:configure.ac:21: -1- AC_DEPLIBS_CHECK_METHOD
9.249 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_MAX_CMD_LEN
9.250 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
9.251 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
9.252 +m4trace:configure.ac:21: -1- AC_LIBTOOL_OBJDIR
9.253 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
9.254 +m4trace:configure.ac:21: -1- _LT_AC_PROG_ECHO_BACKSLASH
9.255 +m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([
9.256 +# Check that we are running under the correct shell.
9.257 +SHELL=${CONFIG_SHELL-/bin/sh}
9.258 +
9.259 +case X$ECHO in
9.260 +X*--fallback-echo)
9.261 + # Remove one level of quotation (which was required for Make).
9.262 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
9.263 + ;;
9.264 +esac
9.265 +
9.266 +echo=${ECHO-echo}
9.267 +if test "X[$]1" = X--no-reexec; then
9.268 + # Discard the --no-reexec flag, and continue.
9.269 + shift
9.270 +elif test "X[$]1" = X--fallback-echo; then
9.271 + # Avoid inline document here, it may be left over
9.272 + :
9.273 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
9.274 + # Yippee, $echo works!
9.275 + :
9.276 +else
9.277 + # Restart under the correct shell.
9.278 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
9.279 +fi
9.280 +
9.281 +if test "X[$]1" = X--fallback-echo; then
9.282 + # used as fallback echo
9.283 + shift
9.284 + cat <<EOF
9.285 +[$]*
9.286 +EOF
9.287 + exit 0
9.288 +fi
9.289 +
9.290 +# The HP-UX ksh and POSIX shell print the target directory to stdout
9.291 +# if CDPATH is set.
9.292 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9.293 +
9.294 +if test -z "$ECHO"; then
9.295 +if test "X${echo_test_string+set}" != Xset; then
9.296 +# find a string as large as possible, as long as the shell can cope with it
9.297 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
9.298 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
9.299 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
9.300 + echo_test_string=`eval $cmd` &&
9.301 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
9.302 + then
9.303 + break
9.304 + fi
9.305 + done
9.306 +fi
9.307 +
9.308 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
9.309 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
9.310 + test "X$echo_testing_string" = "X$echo_test_string"; then
9.311 + :
9.312 +else
9.313 + # The Solaris, AIX, and Digital Unix default echo programs unquote
9.314 + # backslashes. This makes it impossible to quote backslashes using
9.315 + # echo "$something" | sed 's/\\/\\\\/g'
9.316 + #
9.317 + # So, first we look for a working echo in the user's PATH.
9.318 +
9.319 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9.320 + for dir in $PATH /usr/ucb; do
9.321 + IFS="$lt_save_ifs"
9.322 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
9.323 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
9.324 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
9.325 + test "X$echo_testing_string" = "X$echo_test_string"; then
9.326 + echo="$dir/echo"
9.327 + break
9.328 + fi
9.329 + done
9.330 + IFS="$lt_save_ifs"
9.331 +
9.332 + if test "X$echo" = Xecho; then
9.333 + # We didn't find a better echo, so look for alternatives.
9.334 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
9.335 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
9.336 + test "X$echo_testing_string" = "X$echo_test_string"; then
9.337 + # This shell has a builtin print -r that does the trick.
9.338 + echo='print -r'
9.339 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
9.340 + test "X$CONFIG_SHELL" != X/bin/ksh; then
9.341 + # If we have ksh, try running configure again with it.
9.342 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
9.343 + export ORIGINAL_CONFIG_SHELL
9.344 + CONFIG_SHELL=/bin/ksh
9.345 + export CONFIG_SHELL
9.346 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
9.347 + else
9.348 + # Try using printf.
9.349 + echo='printf %s\n'
9.350 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
9.351 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
9.352 + test "X$echo_testing_string" = "X$echo_test_string"; then
9.353 + # Cool, printf works
9.354 + :
9.355 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
9.356 + test "X$echo_testing_string" = 'X\t' &&
9.357 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
9.358 + test "X$echo_testing_string" = "X$echo_test_string"; then
9.359 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
9.360 + export CONFIG_SHELL
9.361 + SHELL="$CONFIG_SHELL"
9.362 + export SHELL
9.363 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
9.364 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
9.365 + test "X$echo_testing_string" = 'X\t' &&
9.366 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
9.367 + test "X$echo_testing_string" = "X$echo_test_string"; then
9.368 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
9.369 + else
9.370 + # maybe with a smaller string...
9.371 + prev=:
9.372 +
9.373 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
9.374 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
9.375 + then
9.376 + break
9.377 + fi
9.378 + prev="$cmd"
9.379 + done
9.380 +
9.381 + if test "$prev" != 'sed 50q "[$]0"'; then
9.382 + echo_test_string=`eval $prev`
9.383 + export echo_test_string
9.384 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
9.385 + else
9.386 + # Oops. We lost completely, so just stick with echo.
9.387 + echo=echo
9.388 + fi
9.389 + fi
9.390 + fi
9.391 + fi
9.392 +fi
9.393 +fi
9.394 +
9.395 +# Copy echo and quote the copy suitably for passing to libtool from
9.396 +# the Makefile, instead of quoting the original, which is used later.
9.397 +ECHO=$echo
9.398 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
9.399 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
9.400 +fi
9.401 +
9.402 +AC_SUBST(ECHO)
9.403 +])
9.404 +m4trace:configure.ac:21: -1- AC_SUBST([ECHO])
9.405 +m4trace:configure.ac:21: -1- AC_SUBST([AR])
9.406 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_AR])
9.407 +m4trace:configure.ac:21: -1- AC_SUBST([RANLIB])
9.408 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_RANLIB])
9.409 +m4trace:configure.ac:21: -1- AC_SUBST([STRIP])
9.410 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_STRIP])
9.411 +m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
9.412 +m4trace:configure.ac:21: -1- AC_PATH_MAGIC
9.413 +m4trace:configure.ac:21: -1- AC_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
9.414 +m4trace:configure.ac:21: -1- AC_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
9.415 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.416 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.417 +autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
9.418 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.419 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.420 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.421 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.422 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.423 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.424 +configure.ac:21: the top level])
9.425 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.426 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.427 +autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
9.428 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.429 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.430 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.431 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.432 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.433 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.434 +configure.ac:21: the top level])
9.435 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_C_CONFIG
9.436 +m4trace:configure.ac:21: -1- _LT_AC_LANG_C_CONFIG
9.437 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [])
9.438 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
9.439 +m4trace:configure.ac:21: -1- _LT_COMPILER_BOILERPLATE
9.440 +m4trace:configure.ac:21: -1- _LT_LINKER_BOILERPLATE
9.441 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
9.442 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
9.443 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
9.444 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
9.445 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
9.446 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
9.447 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
9.448 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_cc_shlib], [])
9.449 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_cc_can_build_shared], [])
9.450 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_static_works], [])
9.451 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.452 +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, )=])
9.453 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.454 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.455 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.456 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_NO_RTTI([])
9.457 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
9.458 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
9.459 +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"])
9.460 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
9.461 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
9.462 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([])
9.463 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.464 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.465 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.466 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.467 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.468 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.469 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.470 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.471 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.472 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
9.473 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.474 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.475 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.476 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.477 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.478 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.479 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.480 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.481 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.482 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.483 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.484 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.485 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.486 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.487 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.488 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.489 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.490 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.491 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.492 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.493 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.494 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.495 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.496 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.497 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.498 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.499 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.500 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.501 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.502 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.503 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.504 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.505 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.506 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.507 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.508 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.509 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.510 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.511 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.512 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.513 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.514 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
9.515 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.516 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.517 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
9.518 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.519 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.520 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.521 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [])
9.522 +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
9.523 + "" | " "*) ;;
9.524 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, )=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, )" ;;
9.525 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, )=
9.526 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
9.527 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.528 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.529 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.530 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.531 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.532 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.533 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.534 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [])
9.535 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.536 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.537 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.538 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([])
9.539 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
9.540 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
9.541 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
9.542 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
9.543 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
9.544 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([])
9.545 +m4trace:configure.ac:21: -1- _LT_AC_LOCK
9.546 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
9.547 +You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
9.548 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
9.549 +autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
9.550 +/targets/links/libtool/share/aclocal/libtool.m4:588: _LT_AC_LOCK is expanded from...
9.551 +configure.ac:21: _LT_AC_LOCK is required by...
9.552 +/targets/links/libtool/share/aclocal/libtool.m4:1055: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
9.553 +/targets/links/libtool/share/aclocal/libtool.m4:2662: _LT_AC_LANG_C_CONFIG is expanded from...
9.554 +/targets/links/libtool/share/aclocal/libtool.m4:2558: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
9.555 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.556 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.557 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.558 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.559 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.560 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.561 +configure.ac:21: the top level])
9.562 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
9.563 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([])
9.564 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.565 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
9.566 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.567 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.568 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
9.569 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
9.570 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
9.571 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.572 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
9.573 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.574 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
9.575 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.576 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.577 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.578 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.579 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
9.580 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
9.581 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
9.582 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
9.583 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
9.584 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
9.585 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
9.586 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
9.587 +m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
9.588 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.589 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.590 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
9.591 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.592 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.593 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.594 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.595 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.596 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.597 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.598 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.599 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.600 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.601 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.602 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.603 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
9.604 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
9.605 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
9.606 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.607 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.608 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.609 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.610 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.611 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.612 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.613 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.614 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.615 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.616 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.617 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.618 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.619 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.620 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.621 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.622 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.623 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.624 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.625 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.626 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.627 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.628 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.629 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
9.630 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.631 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.632 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
9.633 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.634 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.635 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.636 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
9.637 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
9.638 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.639 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.640 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.641 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
9.642 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.643 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.644 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.645 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.646 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.647 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
9.648 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.649 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
9.650 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.651 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.652 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.653 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.654 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.655 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
9.656 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.657 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
9.658 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.659 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
9.660 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.661 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
9.662 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.663 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.664 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.665 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.666 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.667 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
9.668 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.669 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.670 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.671 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
9.672 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
9.673 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [])
9.674 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
9.675 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.676 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.677 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.678 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.679 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
9.680 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.681 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
9.682 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.683 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.684 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
9.685 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.686 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
9.687 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.688 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
9.689 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.690 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
9.691 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.692 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
9.693 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.694 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.695 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.696 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.697 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.698 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.699 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.700 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.701 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.702 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.703 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.704 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.705 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.706 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.707 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.708 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.709 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.710 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.711 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.712 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.713 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.714 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.715 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.716 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
9.717 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.718 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.719 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.720 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.721 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.722 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
9.723 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.724 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.725 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.726 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.727 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.728 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.729 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.730 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.731 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.732 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.733 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
9.734 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.735 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.736 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.737 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
9.738 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.739 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.740 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
9.741 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.742 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.743 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.744 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.745 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.746 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.747 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.748 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.749 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.750 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.751 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.752 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.753 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.754 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.755 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.756 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
9.757 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.758 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.759 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.760 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.761 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.762 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.763 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.764 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.765 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [])
9.766 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.767 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.768 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.769 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.770 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.771 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.772 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.773 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.774 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.775 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.776 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.777 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.778 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.779 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.780 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.781 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.782 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
9.783 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
9.784 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.785 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.786 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.787 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.788 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.789 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.790 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.791 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.792 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
9.793 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.794 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.795 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.796 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.797 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.798 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.799 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.800 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.801 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.802 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [])
9.803 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.804 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.805 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.806 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.807 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.808 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.809 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
9.810 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.811 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.812 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.813 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.814 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.815 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.816 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.817 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
9.818 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.819 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.820 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.821 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
9.822 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.823 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.824 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.825 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.826 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.827 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.828 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.829 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.830 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.831 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.832 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [])
9.833 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
9.834 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
9.835 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.836 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.837 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.838 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.839 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [])
9.840 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
9.841 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
9.842 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.843 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
9.844 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
9.845 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([])
9.846 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([])
9.847 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
9.848 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.849 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var], [])
9.850 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
9.851 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.852 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.853 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
9.854 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
9.855 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
9.856 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
9.857 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
9.858 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
9.859 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
9.860 +m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([])
9.861 +m4trace:configure.ac:21: -1- _LT_AC_CHECK_DLFCN
9.862 +m4trace:configure.ac:21: -1- AC_CHECK_HEADERS([dlfcn.h])
9.863 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
9.864 +#undef HAVE_DLFCN_H])
9.865 +m4trace:configure.ac:21: -1- AC_HEADER_STDC
9.866 +m4trace:configure.ac:21: -1- AC_PROG_CPP
9.867 +m4trace:configure.ac:21: -1- AC_SUBST([CPP])
9.868 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
9.869 +m4trace:configure.ac:21: -1- AC_SUBST([CPP])
9.870 +m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
9.871 +m4trace:configure.ac:21: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
9.872 +#undef STDC_HEADERS])
9.873 +m4trace:configure.ac:21: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9.874 + inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
9.875 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
9.876 +#undef HAVE_SYS_TYPES_H])
9.877 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
9.878 +#undef HAVE_SYS_STAT_H])
9.879 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
9.880 +#undef HAVE_STDLIB_H])
9.881 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
9.882 +#undef HAVE_STRING_H])
9.883 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
9.884 +#undef HAVE_MEMORY_H])
9.885 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
9.886 +#undef HAVE_STRINGS_H])
9.887 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
9.888 +#undef HAVE_INTTYPES_H])
9.889 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
9.890 +#undef HAVE_STDINT_H])
9.891 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
9.892 +#undef HAVE_UNISTD_H])
9.893 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
9.894 + lt_cv_dlopen="dyld"
9.895 + lt_cv_dlopen_libs=
9.896 + lt_cv_dlopen_self=yes
9.897 + ])
9.898 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
9.899 + [lt_cv_dlopen="dlopen"],
9.900 + [AC_CHECK_LIB([dl], [dlopen],
9.901 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
9.902 + [AC_CHECK_LIB([svld], [dlopen],
9.903 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.904 + [AC_CHECK_LIB([dld], [dld_link],
9.905 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.906 + ])
9.907 + ])
9.908 + ])
9.909 + ])
9.910 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
9.911 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.912 + [AC_CHECK_LIB([dld], [dld_link],
9.913 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.914 + ])
9.915 + ])
9.916 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
9.917 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.918 + ])
9.919 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.920 +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])
9.921 +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])
9.922 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([])
9.923 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [])
9.924 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [])
9.925 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [])
9.926 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.927 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.928 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.929 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
9.930 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
9.931 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
9.932 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.933 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
9.934 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
9.935 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
9.936 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [])
9.937 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [])
9.938 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [])
9.939 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [])
9.940 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [])
9.941 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.942 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.943 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [])
9.944 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [])
9.945 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
9.946 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.947 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
9.948 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
9.949 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.950 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
9.951 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.952 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
9.953 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
9.954 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
9.955 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
9.956 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
9.957 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
9.958 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
9.959 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
9.960 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.961 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.962 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
9.963 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
9.964 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
9.965 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
9.966 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [])
9.967 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [])
9.968 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [])
9.969 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [])
9.970 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [])
9.971 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [])
9.972 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [])
9.973 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [])
9.974 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [])
9.975 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [])
9.976 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [])
9.977 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [])
9.978 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [])
9.979 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [])
9.980 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [])
9.981 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [])
9.982 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [])
9.983 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [])
9.984 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [])
9.985 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [])
9.986 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [])
9.987 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [])
9.988 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [])
9.989 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [])
9.990 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [])
9.991 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [])
9.992 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [])
9.993 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [])
9.994 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [])
9.995 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [])
9.996 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [])
9.997 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [])
9.998 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [])
9.999 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [])
9.1000 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [])
9.1001 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [])
9.1002 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [])
9.1003 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [])
9.1004 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [])
9.1005 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [])
9.1006 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [])
9.1007 +m4trace:configure.ac:21: -1- _LT_AC_TAGCONFIG
9.1008 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
9.1009 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
9.1010 +autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
9.1011 +/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
9.1012 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.1013 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.1014 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.1015 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.1016 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.1017 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.1018 +configure.ac:21: the top level])
9.1019 +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], [/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
9.1020 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.1021 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.1022 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.1023 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.1024 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.1025 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.1026 +configure.ac:21: the top level])
9.1027 +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], [/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
9.1028 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.1029 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.1030 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.1031 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.1032 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.1033 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.1034 +configure.ac:21: the top level])
9.1035 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_CXX_CONFIG
9.1036 +m4trace:configure.ac:21: -1- _LT_AC_LANG_CXX_CONFIG([CXX])
9.1037 +m4trace:configure.ac:21: -1- AC_PROG_CXX
9.1038 +m4trace:configure.ac:21: -1- AC_SUBST([CXX])
9.1039 +m4trace:configure.ac:21: -1- AC_SUBST([CXXFLAGS])
9.1040 +m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
9.1041 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
9.1042 +m4trace:configure.ac:21: -1- AC_SUBST([CXX])
9.1043 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CXX])
9.1044 +m4trace:configure.ac:21: -1- _AM_DEPENDENCIES([CXX])
9.1045 +m4trace:configure.ac:21: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
9.1046 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCXX], [
9.1047 + test "x$enable_dependency_tracking" != xno \
9.1048 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
9.1049 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCXX_TRUE])
9.1050 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCXX_FALSE])
9.1051 +m4trace:configure.ac:21: -1- _LT_AC_PROG_CXXCPP
9.1052 +m4trace:configure.ac:21: -1- AC_SUBST([CXXCPP])
9.1053 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
9.1054 +m4trace:configure.ac:21: -1- AC_SUBST([CXXCPP])
9.1055 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1056 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1057 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
9.1058 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1059 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
9.1060 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1061 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1062 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
9.1063 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1064 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
9.1065 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
9.1066 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
9.1067 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
9.1068 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
9.1069 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
9.1070 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
9.1071 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
9.1072 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
9.1073 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
9.1074 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
9.1075 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
9.1076 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
9.1077 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
9.1078 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [CXX])
9.1079 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
9.1080 +m4trace:configure.ac:21: -1- _LT_COMPILER_BOILERPLATE
9.1081 +m4trace:configure.ac:21: -1- _LT_LINKER_BOILERPLATE
9.1082 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
9.1083 +m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
9.1084 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
9.1085 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
9.1086 +m4trace:configure.ac:21: -1- AC_PROG_LD
9.1087 +m4trace:configure.ac:21: -1- AC_PROG_LD_GNU
9.1088 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1089 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1090 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1091 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
9.1092 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
9.1093 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
9.1094 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1095 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1096 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1097 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1098 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1099 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1100 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
9.1101 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1102 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1103 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
9.1104 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1105 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1106 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
9.1107 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1108 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
9.1109 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1110 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1111 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1112 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1113 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1114 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
9.1115 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1116 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
9.1117 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1118 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
9.1119 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
9.1120 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1121 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1122 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1123 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1124 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1125 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
9.1126 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
9.1127 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1128 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1129 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1130 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1131 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1132 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1133 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1134 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1135 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1136 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
9.1137 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
9.1138 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
9.1139 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
9.1140 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1141 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1142 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
9.1143 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1144 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1145 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
9.1146 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1147 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
9.1148 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1149 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
9.1150 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1151 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1152 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1153 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1154 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1155 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1156 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1157 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1158 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1159 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
9.1160 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1161 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
9.1162 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1163 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1164 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1165 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1166 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1167 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
9.1168 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1169 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1170 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1171 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1172 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
9.1173 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1174 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
9.1175 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1176 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
9.1177 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
9.1178 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1179 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
9.1180 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1181 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1182 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1183 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1184 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1185 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1186 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1187 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
9.1188 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1189 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1190 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
9.1191 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1192 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1193 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1194 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1195 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1196 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
9.1197 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
9.1198 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1199 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1200 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1201 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1202 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1203 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1204 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
9.1205 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
9.1206 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1207 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1208 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1209 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
9.1210 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
9.1211 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1212 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1213 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1214 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1215 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1216 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1217 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1218 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1219 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1220 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1221 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1222 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
9.1223 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1224 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1225 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
9.1226 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1227 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1228 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1229 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
9.1230 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
9.1231 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1232 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1233 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1234 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
9.1235 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1236 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1237 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1238 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1239 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1240 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1241 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1242 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1243 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1244 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1245 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1246 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1247 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1248 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
9.1249 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1250 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1251 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1252 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1253 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1254 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1255 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1256 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1257 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1258 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1259 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1260 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1261 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1262 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1263 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1264 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1265 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1266 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1267 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1268 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
9.1269 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1270 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1271 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1272 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
9.1273 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
9.1274 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
9.1275 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
9.1276 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1277 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
9.1278 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
9.1279 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1280 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1281 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1282 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1283 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1284 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1285 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1286 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1287 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1288 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1289 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1290 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1291 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1292 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [CXX])
9.1293 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
9.1294 +m4trace:configure.ac:21: -1- AC_LIBTOOL_POSTDEP_PREDEP([CXX])
9.1295 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
9.1296 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
9.1297 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
9.1298 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
9.1299 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
9.1300 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
9.1301 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
9.1302 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
9.1303 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
9.1304 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
9.1305 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
9.1306 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
9.1307 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
9.1308 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
9.1309 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
9.1310 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
9.1311 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
9.1312 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
9.1313 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1314 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([CXX])
9.1315 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1316 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1317 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1318 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1319 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1320 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1321 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1322 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1323 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1324 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1325 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1326 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1327 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1328 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1329 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1330 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1331 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1332 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1333 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1334 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1335 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1336 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1337 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1338 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1339 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1340 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1341 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1342 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1343 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1344 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1345 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1346 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1347 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1348 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1349 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1350 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1351 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1352 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1353 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1354 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1355 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1356 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1357 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1358 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1359 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1360 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1361 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1362 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1363 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1364 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1365 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1366 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1367 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [CXX])
9.1368 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1369 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1370 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1371 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [CXX])
9.1372 +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
9.1373 + "" | " "*) ;;
9.1374 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
9.1375 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, CXX)=
9.1376 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
9.1377 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1378 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1379 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1380 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1381 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1382 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1383 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1384 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [CXX])
9.1385 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1386 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1387 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1388 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([CXX])
9.1389 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
9.1390 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
9.1391 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
9.1392 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
9.1393 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
9.1394 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([CXX])
9.1395 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
9.1396 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([CXX])
9.1397 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
9.1398 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
9.1399 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
9.1400 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
9.1401 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
9.1402 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
9.1403 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1404 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1405 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [CXX])
9.1406 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1407 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1408 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1409 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1410 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1411 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1412 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1413 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1414 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1415 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1416 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1417 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1418 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([CXX])
9.1419 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([CXX])
9.1420 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
9.1421 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1422 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var], [CXX])
9.1423 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
9.1424 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1425 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
9.1426 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
9.1427 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
9.1428 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
9.1429 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
9.1430 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
9.1431 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
9.1432 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
9.1433 +m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([CXX])
9.1434 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
9.1435 + lt_cv_dlopen="dyld"
9.1436 + lt_cv_dlopen_libs=
9.1437 + lt_cv_dlopen_self=yes
9.1438 + ])
9.1439 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
9.1440 + [lt_cv_dlopen="dlopen"],
9.1441 + [AC_CHECK_LIB([dl], [dlopen],
9.1442 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
9.1443 + [AC_CHECK_LIB([svld], [dlopen],
9.1444 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.1445 + [AC_CHECK_LIB([dld], [dld_link],
9.1446 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.1447 + ])
9.1448 + ])
9.1449 + ])
9.1450 + ])
9.1451 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
9.1452 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.1453 + [AC_CHECK_LIB([dld], [dld_link],
9.1454 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.1455 + ])
9.1456 + ])
9.1457 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
9.1458 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.1459 + ])
9.1460 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.1461 +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])
9.1462 +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])
9.1463 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([CXX])
9.1464 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
9.1465 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [CXX])
9.1466 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
9.1467 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1468 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1469 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1470 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
9.1471 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
9.1472 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [CXX])
9.1473 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
9.1474 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
9.1475 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
9.1476 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
9.1477 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
9.1478 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
9.1479 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
9.1480 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
9.1481 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
9.1482 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1483 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1484 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [CXX])
9.1485 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [CXX])
9.1486 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
9.1487 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1488 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
9.1489 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
9.1490 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1491 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
9.1492 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1493 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
9.1494 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
9.1495 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
9.1496 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
9.1497 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [CXX])
9.1498 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [CXX])
9.1499 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
9.1500 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
9.1501 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1502 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1503 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
9.1504 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
9.1505 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
9.1506 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
9.1507 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [CXX])
9.1508 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [CXX])
9.1509 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [CXX])
9.1510 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [CXX])
9.1511 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [CXX])
9.1512 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [CXX])
9.1513 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [CXX])
9.1514 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [CXX])
9.1515 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [CXX])
9.1516 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [CXX])
9.1517 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [CXX])
9.1518 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [CXX])
9.1519 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [CXX])
9.1520 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [CXX])
9.1521 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [CXX])
9.1522 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [CXX])
9.1523 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [CXX])
9.1524 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [CXX])
9.1525 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [CXX])
9.1526 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [CXX])
9.1527 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [CXX])
9.1528 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [CXX])
9.1529 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [CXX])
9.1530 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [CXX])
9.1531 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [CXX])
9.1532 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [CXX])
9.1533 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [CXX])
9.1534 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [CXX])
9.1535 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [CXX])
9.1536 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [CXX])
9.1537 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [CXX])
9.1538 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [CXX])
9.1539 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [CXX])
9.1540 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [CXX])
9.1541 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [CXX])
9.1542 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [CXX])
9.1543 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [CXX])
9.1544 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [CXX])
9.1545 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [CXX])
9.1546 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [CXX])
9.1547 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [CXX])
9.1548 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_F77_CONFIG
9.1549 +m4trace:configure.ac:21: -1- _LT_AC_LANG_F77_CONFIG([F77])
9.1550 +m4trace:configure.ac:21: -1- AC_SUBST([F77])
9.1551 +m4trace:configure.ac:21: -1- AC_SUBST([FFLAGS])
9.1552 +m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
9.1553 +m4trace:configure.ac:21: -1- AC_SUBST([F77])
9.1554 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_F77])
9.1555 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
9.1556 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1557 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
9.1558 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1559 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.1560 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1561 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1562 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
9.1563 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1564 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1565 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
9.1566 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
9.1567 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
9.1568 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
9.1569 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
9.1570 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
9.1571 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1572 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
9.1573 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [F77])
9.1574 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
9.1575 +m4trace:configure.ac:21: -1- _LT_COMPILER_BOILERPLATE
9.1576 +m4trace:configure.ac:21: -1- _LT_LINKER_BOILERPLATE
9.1577 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
9.1578 +m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
9.1579 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1580 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [F77])
9.1581 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
9.1582 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([F77])
9.1583 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1584 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1585 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1586 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1587 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1588 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1589 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1590 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1591 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1592 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
9.1593 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1594 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1595 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1596 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1597 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1598 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1599 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1600 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1601 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1602 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1603 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1604 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1605 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1606 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1607 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1608 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1609 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1610 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1611 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1612 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1613 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1614 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1615 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1616 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1617 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1618 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1619 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1620 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1621 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1622 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1623 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1624 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1625 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1626 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1627 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1628 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1629 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1630 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1631 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1632 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1633 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1634 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
9.1635 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1636 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1637 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
9.1638 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1639 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1640 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1641 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [F77])
9.1642 +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
9.1643 + "" | " "*) ;;
9.1644 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, F77)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, F77)" ;;
9.1645 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, F77)=
9.1646 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, F77)=no])
9.1647 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1648 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1649 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1650 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1651 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1652 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1653 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1654 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [F77])
9.1655 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1656 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1657 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1658 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([F77])
9.1659 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
9.1660 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
9.1661 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
9.1662 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
9.1663 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
9.1664 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([F77])
9.1665 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
9.1666 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([F77])
9.1667 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1668 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
9.1669 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1670 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1671 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
9.1672 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
9.1673 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.1674 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1675 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
9.1676 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1677 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
9.1678 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1679 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1680 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1681 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1682 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
9.1683 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
9.1684 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
9.1685 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
9.1686 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
9.1687 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
9.1688 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
9.1689 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
9.1690 +m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
9.1691 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1692 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1693 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.1694 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1695 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1696 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1697 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1698 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1699 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1700 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1701 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1702 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1703 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1704 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1705 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1706 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
9.1707 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
9.1708 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
9.1709 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1710 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1711 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1712 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1713 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1714 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1715 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1716 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1717 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1718 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1719 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1720 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1721 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1722 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1723 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1724 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1725 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1726 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1727 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1728 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1729 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1730 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1731 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1732 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.1733 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1734 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1735 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
9.1736 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1737 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1738 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1739 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
9.1740 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
9.1741 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1742 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1743 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1744 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
9.1745 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1746 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1747 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1748 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1749 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1750 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
9.1751 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1752 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
9.1753 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1754 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1755 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1756 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1757 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1758 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
9.1759 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1760 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
9.1761 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1762 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
9.1763 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1764 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
9.1765 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1766 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1767 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1768 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1769 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1770 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.1771 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1772 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1773 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1774 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
9.1775 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
9.1776 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [F77])
9.1777 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
9.1778 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1779 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1780 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1781 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1782 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
9.1783 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1784 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
9.1785 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1786 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1787 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
9.1788 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1789 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
9.1790 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1791 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
9.1792 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1793 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
9.1794 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1795 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
9.1796 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1797 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1798 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1799 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1800 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1801 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1802 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1803 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1804 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1805 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1806 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1807 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1808 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1809 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1810 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1811 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1812 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1813 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1814 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1815 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1816 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1817 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1818 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1819 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.1820 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1821 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1822 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1823 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1824 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1825 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
9.1826 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1827 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1828 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1829 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1830 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1831 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1832 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1833 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1834 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1835 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1836 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.1837 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1838 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1839 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1840 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
9.1841 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1842 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1843 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
9.1844 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1845 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1846 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1847 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1848 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1849 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1850 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1851 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1852 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1853 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1854 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1855 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1856 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1857 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1858 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1859 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.1860 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1861 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1862 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1863 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1864 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1865 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1866 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1867 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1868 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [F77])
9.1869 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1870 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1871 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1872 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1873 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1874 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1875 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1876 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1877 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1878 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1879 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1880 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1881 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1882 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1883 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1884 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1885 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.1886 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
9.1887 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1888 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1889 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1890 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1891 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1892 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1893 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1894 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1895 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
9.1896 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1897 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1898 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1899 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1900 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1901 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1902 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1903 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1904 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1905 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [F77])
9.1906 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1907 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1908 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1909 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1910 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1911 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1912 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.1913 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1914 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1915 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1916 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1917 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1918 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1919 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1920 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
9.1921 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1922 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1923 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1924 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
9.1925 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1926 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1927 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1928 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1929 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1930 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1931 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.1932 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1933 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1934 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1935 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [F77])
9.1936 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
9.1937 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
9.1938 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1939 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1940 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1941 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1942 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1943 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
9.1944 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
9.1945 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1946 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
9.1947 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
9.1948 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([F77])
9.1949 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([F77])
9.1950 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
9.1951 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1952 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var], [F77])
9.1953 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
9.1954 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.1955 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.1956 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
9.1957 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
9.1958 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
9.1959 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
9.1960 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
9.1961 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
9.1962 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
9.1963 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([F77])
9.1964 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
9.1965 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [F77])
9.1966 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
9.1967 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.1968 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.1969 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.1970 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [F77])
9.1971 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.1972 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
9.1973 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.1974 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
9.1975 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
9.1976 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
9.1977 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [F77])
9.1978 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [F77])
9.1979 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [F77])
9.1980 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [F77])
9.1981 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [F77])
9.1982 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.1983 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.1984 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [F77])
9.1985 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [F77])
9.1986 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
9.1987 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.1988 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
9.1989 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
9.1990 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.1991 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
9.1992 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.1993 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
9.1994 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
9.1995 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
9.1996 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
9.1997 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
9.1998 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
9.1999 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
9.2000 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
9.2001 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.2002 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.2003 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
9.2004 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
9.2005 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
9.2006 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
9.2007 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [F77])
9.2008 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [F77])
9.2009 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [F77])
9.2010 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [F77])
9.2011 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [F77])
9.2012 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [F77])
9.2013 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [F77])
9.2014 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [F77])
9.2015 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [F77])
9.2016 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [F77])
9.2017 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [F77])
9.2018 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [F77])
9.2019 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [F77])
9.2020 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [F77])
9.2021 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [F77])
9.2022 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [F77])
9.2023 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [F77])
9.2024 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [F77])
9.2025 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [F77])
9.2026 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [F77])
9.2027 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [F77])
9.2028 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [F77])
9.2029 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [F77])
9.2030 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [F77])
9.2031 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [F77])
9.2032 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [F77])
9.2033 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [F77])
9.2034 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [F77])
9.2035 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [F77])
9.2036 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [F77])
9.2037 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [F77])
9.2038 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [F77])
9.2039 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [F77])
9.2040 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [F77])
9.2041 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [F77])
9.2042 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [F77])
9.2043 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [F77])
9.2044 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [F77])
9.2045 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [F77])
9.2046 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [F77])
9.2047 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [F77])
9.2048 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_GCJ_CONFIG
9.2049 +m4trace:configure.ac:21: -1- _LT_AC_LANG_GCJ_CONFIG([GCJ])
9.2050 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
9.2051 +You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
9.2052 +/targets/links/libtool/share/aclocal/libtool.m4:3931: _LT_AC_LANG_GCJ_CONFIG is expanded from...
9.2053 +/targets/links/libtool/share/aclocal/libtool.m4:3877: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
9.2054 +/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
9.2055 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.2056 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.2057 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.2058 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.2059 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.2060 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.2061 +configure.ac:21: the top level])
9.2062 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
9.2063 +and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
9.2064 +/targets/links/libtool/share/aclocal/libtool.m4:3931: _LT_AC_LANG_GCJ_CONFIG is expanded from...
9.2065 +/targets/links/libtool/share/aclocal/libtool.m4:3877: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
9.2066 +/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
9.2067 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.2068 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.2069 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.2070 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.2071 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.2072 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.2073 +configure.ac:21: the top level])
9.2074 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [GCJ])
9.2075 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
9.2076 +m4trace:configure.ac:21: -1- _LT_COMPILER_BOILERPLATE
9.2077 +m4trace:configure.ac:21: -1- _LT_LINKER_BOILERPLATE
9.2078 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
9.2079 +m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
9.2080 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
9.2081 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
9.2082 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_NO_RTTI([GCJ])
9.2083 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
9.2084 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
9.2085 +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"])
9.2086 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
9.2087 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
9.2088 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_COMPILER_PIC([GCJ])
9.2089 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2090 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2091 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2092 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2093 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2094 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2095 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2096 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2097 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2098 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
9.2099 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2100 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2101 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2102 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2103 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2104 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2105 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2106 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2107 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2108 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2109 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2110 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2111 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2112 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2113 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2114 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2115 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2116 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2117 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2118 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2119 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2120 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2121 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2122 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2123 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2124 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2125 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2126 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2127 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2128 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2129 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2130 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2131 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2132 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2133 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2134 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2135 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2136 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2137 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2138 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2139 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2140 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
9.2141 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2142 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2143 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
9.2144 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2145 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2146 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2147 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([lt_prog_compiler_pic_works], [GCJ])
9.2148 +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
9.2149 + "" | " "*) ;;
9.2150 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)" ;;
9.2151 + esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, GCJ)=
9.2152 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, GCJ)=no])
9.2153 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2154 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2155 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2156 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2157 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2158 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2159 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2160 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_can_build_shared], [GCJ])
9.2161 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2162 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2163 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2164 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_CC_C_O([GCJ])
9.2165 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
9.2166 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
9.2167 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
9.2168 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
9.2169 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
9.2170 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_HARD_LINK_LOCKS([GCJ])
9.2171 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
9.2172 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_SHLIBS([GCJ])
9.2173 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2174 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
9.2175 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2176 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2177 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
9.2178 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
9.2179 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
9.2180 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2181 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
9.2182 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2183 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
9.2184 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2185 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2186 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2187 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2188 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
9.2189 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
9.2190 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
9.2191 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
9.2192 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
9.2193 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
9.2194 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
9.2195 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
9.2196 +m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
9.2197 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2198 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2199 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
9.2200 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2201 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2202 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2203 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2204 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2205 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2206 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2207 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2208 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2209 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2210 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2211 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2212 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
9.2213 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
9.2214 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
9.2215 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2216 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2217 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2218 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2219 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2220 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2221 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2222 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2223 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2224 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2225 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2226 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2227 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2228 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2229 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2230 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2231 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2232 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2233 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2234 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2235 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2236 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2237 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2238 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
9.2239 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2240 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2241 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
9.2242 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2243 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2244 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2245 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
9.2246 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
9.2247 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2248 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2249 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2250 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
9.2251 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2252 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2253 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2254 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2255 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2256 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
9.2257 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2258 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
9.2259 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2260 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2261 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2262 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2263 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2264 +m4trace:configure.ac:21: -1- _LT_AC_SYS_LIBPATH_AIX
9.2265 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2266 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
9.2267 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2268 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
9.2269 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2270 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
9.2271 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2272 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2273 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2274 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2275 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2276 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
9.2277 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2278 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2279 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2280 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
9.2281 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
9.2282 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [GCJ])
9.2283 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
9.2284 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2285 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2286 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2287 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2288 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
9.2289 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2290 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
9.2291 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2292 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2293 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
9.2294 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2295 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
9.2296 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2297 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
9.2298 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2299 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
9.2300 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2301 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
9.2302 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2303 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2304 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2305 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2306 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2307 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2308 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2309 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2310 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2311 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2312 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2313 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2314 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2315 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2316 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2317 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2318 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2319 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2320 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2321 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2322 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2323 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2324 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2325 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
9.2326 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2327 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2328 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2329 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2330 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2331 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
9.2332 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2333 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2334 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2335 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2336 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2337 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2338 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2339 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2340 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2341 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2342 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
9.2343 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2344 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2345 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2346 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
9.2347 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2348 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2349 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
9.2350 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2351 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2352 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2353 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2354 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2355 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2356 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2357 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2358 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2359 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2360 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2361 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2362 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2363 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2364 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2365 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
9.2366 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2367 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2368 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2369 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2370 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2371 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2372 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2373 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2374 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_From_new_cmds], [GCJ])
9.2375 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2376 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2377 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2378 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2379 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2380 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2381 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2382 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2383 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2384 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2385 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2386 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2387 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2388 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2389 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2390 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2391 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
9.2392 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
9.2393 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2394 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2395 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2396 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2397 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2398 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2399 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2400 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2401 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
9.2402 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2403 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2404 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2405 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2406 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2407 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2408 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2409 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2410 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2411 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([reload_cmds], [GCJ])
9.2412 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2413 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2414 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2415 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2416 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2417 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2418 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
9.2419 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2420 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2421 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2422 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2423 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2424 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2425 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2426 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
9.2427 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2428 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2429 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2430 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
9.2431 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2432 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2433 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2434 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2435 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2436 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2437 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2438 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2439 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2440 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2441 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([ld_shlibs], [GCJ])
9.2442 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
9.2443 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
9.2444 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2445 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2446 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2447 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2448 +m4trace:configure.ac:21: -2- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2449 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
9.2450 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
9.2451 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2452 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
9.2453 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
9.2454 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_DYNAMIC_LINKER([GCJ])
9.2455 +m4trace:configure.ac:21: -1- AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([GCJ])
9.2456 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
9.2457 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2458 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([runpath_var], [GCJ])
9.2459 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
9.2460 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2461 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2462 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
9.2463 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
9.2464 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
9.2465 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
9.2466 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
9.2467 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
9.2468 +m4trace:configure.ac:21: -1- AC_LIBTOOL_SYS_LIB_STRIP
9.2469 +m4trace:configure.ac:21: -1- AC_LIBTOOL_DLOPEN_SELF([GCJ])
9.2470 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
9.2471 + lt_cv_dlopen="dyld"
9.2472 + lt_cv_dlopen_libs=
9.2473 + lt_cv_dlopen_self=yes
9.2474 + ])
9.2475 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
9.2476 + [lt_cv_dlopen="dlopen"],
9.2477 + [AC_CHECK_LIB([dl], [dlopen],
9.2478 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
9.2479 + [AC_CHECK_LIB([svld], [dlopen],
9.2480 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.2481 + [AC_CHECK_LIB([dld], [dld_link],
9.2482 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.2483 + ])
9.2484 + ])
9.2485 + ])
9.2486 + ])
9.2487 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
9.2488 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
9.2489 + [AC_CHECK_LIB([dld], [dld_link],
9.2490 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.2491 + ])
9.2492 + ])
9.2493 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
9.2494 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.2495 + ])
9.2496 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
9.2497 +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])
9.2498 +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])
9.2499 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([GCJ])
9.2500 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
9.2501 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [GCJ])
9.2502 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [GCJ])
9.2503 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2504 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2505 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2506 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
9.2507 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
9.2508 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
9.2509 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2510 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
9.2511 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
9.2512 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
9.2513 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [GCJ])
9.2514 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [GCJ])
9.2515 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [GCJ])
9.2516 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [GCJ])
9.2517 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [GCJ])
9.2518 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2519 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2520 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [GCJ])
9.2521 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [GCJ])
9.2522 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
9.2523 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2524 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
9.2525 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
9.2526 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2527 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
9.2528 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2529 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
9.2530 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
9.2531 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
9.2532 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
9.2533 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
9.2534 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
9.2535 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
9.2536 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
9.2537 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2538 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2539 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
9.2540 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
9.2541 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
9.2542 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
9.2543 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [GCJ])
9.2544 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [GCJ])
9.2545 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [GCJ])
9.2546 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [GCJ])
9.2547 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [GCJ])
9.2548 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [GCJ])
9.2549 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [GCJ])
9.2550 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [GCJ])
9.2551 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [GCJ])
9.2552 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [GCJ])
9.2553 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [GCJ])
9.2554 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [GCJ])
9.2555 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [GCJ])
9.2556 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [GCJ])
9.2557 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [GCJ])
9.2558 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [GCJ])
9.2559 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [GCJ])
9.2560 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [GCJ])
9.2561 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [GCJ])
9.2562 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [GCJ])
9.2563 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [GCJ])
9.2564 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [GCJ])
9.2565 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [GCJ])
9.2566 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [GCJ])
9.2567 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [GCJ])
9.2568 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [GCJ])
9.2569 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [GCJ])
9.2570 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [GCJ])
9.2571 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [GCJ])
9.2572 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [GCJ])
9.2573 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [GCJ])
9.2574 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [GCJ])
9.2575 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [GCJ])
9.2576 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [GCJ])
9.2577 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [GCJ])
9.2578 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [GCJ])
9.2579 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [GCJ])
9.2580 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [GCJ])
9.2581 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [GCJ])
9.2582 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [GCJ])
9.2583 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [GCJ])
9.2584 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
9.2585 +You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
9.2586 +/targets/links/libtool/share/aclocal/libtool.m4:3931: _LT_AC_LANG_GCJ_CONFIG is expanded from...
9.2587 +/targets/links/libtool/share/aclocal/libtool.m4:3877: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
9.2588 +/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
9.2589 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.2590 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.2591 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.2592 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.2593 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.2594 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.2595 +configure.ac:21: the top level])
9.2596 +m4trace:configure.ac:21: -1- AC_LIBTOOL_LANG_RC_CONFIG
9.2597 +m4trace:configure.ac:21: -1- _LT_AC_LANG_RC_CONFIG([RC])
9.2598 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
9.2599 +You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
9.2600 +/targets/links/libtool/share/aclocal/libtool.m4:3975: _LT_AC_LANG_RC_CONFIG is expanded from...
9.2601 +/targets/links/libtool/share/aclocal/libtool.m4:3939: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
9.2602 +/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
9.2603 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.2604 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.2605 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.2606 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.2607 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.2608 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.2609 +configure.ac:21: the top level])
9.2610 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
9.2611 +and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
9.2612 +/targets/links/libtool/share/aclocal/libtool.m4:3975: _LT_AC_LANG_RC_CONFIG is expanded from...
9.2613 +/targets/links/libtool/share/aclocal/libtool.m4:3939: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
9.2614 +/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
9.2615 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.2616 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.2617 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.2618 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.2619 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.2620 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.2621 +configure.ac:21: the top level])
9.2622 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([objext], [RC])
9.2623 +m4trace:configure.ac:21: -1- _LT_AC_SYS_COMPILER
9.2624 +m4trace:configure.ac:21: -1- _LT_COMPILER_BOILERPLATE
9.2625 +m4trace:configure.ac:21: -1- _LT_LINKER_BOILERPLATE
9.2626 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
9.2627 +m4trace:configure.ac:21: -1- _LT_CC_BASENAME([$compiler])
9.2628 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
9.2629 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CONFIG([RC])
9.2630 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
9.2631 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([CC], [RC])
9.2632 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [RC])
9.2633 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [RC])
9.2634 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [RC])
9.2635 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [RC])
9.2636 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [RC])
9.2637 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [RC])
9.2638 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [RC])
9.2639 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [RC])
9.2640 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [RC])
9.2641 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
9.2642 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
9.2643 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [RC])
9.2644 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [RC])
9.2645 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [RC])
9.2646 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [RC])
9.2647 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [RC])
9.2648 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
9.2649 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
9.2650 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postinstall_cmds], [RC])
9.2651 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postuninstall_cmds], [RC])
9.2652 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
9.2653 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [RC])
9.2654 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [RC])
9.2655 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
9.2656 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [RC])
9.2657 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [RC])
9.2658 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [RC])
9.2659 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [RC])
9.2660 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
9.2661 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
9.2662 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
9.2663 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [RC])
9.2664 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [RC])
9.2665 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
9.2666 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
9.2667 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
9.2668 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
9.2669 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
9.2670 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
9.2671 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
9.2672 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
9.2673 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds_need_lc], [RC])
9.2674 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([enable_shared_with_static_runtimes], [RC])
9.2675 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler], [RC])
9.2676 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([GCC], [RC])
9.2677 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([LD], [RC])
9.2678 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_wl], [RC])
9.2679 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_pic], [RC])
9.2680 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_cv_prog_compiler_c_o], [RC])
9.2681 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_static], [RC])
9.2682 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([lt_prog_compiler_no_builtin_flag], [RC])
9.2683 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_dynamic_flag_spec], [RC])
9.2684 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([whole_archive_flag_spec], [RC])
9.2685 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([thread_safe_flag_spec], [RC])
9.2686 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_cmds], [RC])
9.2687 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_new_cmds], [RC])
9.2688 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([old_archive_from_expsyms_cmds], [RC])
9.2689 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_cmds], [RC])
9.2690 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([archive_expsym_cmds], [RC])
9.2691 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_cmds], [RC])
9.2692 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([module_expsym_cmds], [RC])
9.2693 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predep_objects], [RC])
9.2694 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdep_objects], [RC])
9.2695 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([predeps], [RC])
9.2696 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([postdeps], [RC])
9.2697 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([compiler_lib_search_path], [RC])
9.2698 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([allow_undefined_flag], [RC])
9.2699 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([no_undefined_flag], [RC])
9.2700 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_action], [RC])
9.2701 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec], [RC])
9.2702 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_flag_spec_ld], [RC])
9.2703 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_libdir_separator], [RC])
9.2704 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_direct], [RC])
9.2705 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_minus_L], [RC])
9.2706 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_shlibpath_var], [RC])
9.2707 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([hardcode_automatic], [RC])
9.2708 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([link_all_deplibs], [RC])
9.2709 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([fix_srcfile_path], [RC])
9.2710 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([always_export_symbols], [RC])
9.2711 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([export_symbols_cmds], [RC])
9.2712 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([exclude_expsyms], [RC])
9.2713 +m4trace:configure.ac:21: -1- _LT_AC_TAGVAR([include_expsyms], [RC])
9.2714 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
9.2715 +You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
9.2716 +/targets/links/libtool/share/aclocal/libtool.m4:3975: _LT_AC_LANG_RC_CONFIG is expanded from...
9.2717 +/targets/links/libtool/share/aclocal/libtool.m4:3939: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
9.2718 +/targets/links/libtool/share/aclocal/libtool.m4:1805: _LT_AC_TAGCONFIG is expanded from...
9.2719 +/targets/links/libtool/share/aclocal/libtool.m4:219: AC_LIBTOOL_SETUP is expanded from...
9.2720 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
9.2721 +/targets/links/libtool/share/aclocal/libtool.m4:75: _AC_PROG_LIBTOOL is expanded from...
9.2722 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
9.2723 +/targets/links/libtool/share/aclocal/libtool.m4:55: AC_PROG_LIBTOOL is expanded from...
9.2724 +/targets/links/libtool/share/aclocal/libtool.m4:6102: AM_PROG_LIBTOOL is expanded from...
9.2725 +configure.ac:21: the top level])
9.2726 +m4trace:configure.ac:21: -1- AC_SUBST([LIBTOOL])
9.2727 +m4trace:configure.ac:21: -1- AC_LIBTOOL_CXX
9.2728 +m4trace:configure.ac:21: -1- _LT_AC_LANG_CXX
9.2729 +m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
9.2730 +m4trace:configure.ac:21: -1- AC_LIBTOOL_F77
9.2731 +m4trace:configure.ac:21: -1- _LT_AC_LANG_F77
9.2732 +m4trace:configure.ac:21: -1- _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
9.2733 +m4trace:configure.ac:23: -1- AM_CONFIG_HEADER([config.h])
9.2734 +m4trace:configure.ac:23: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
9.2735 +You should run autoupdate.], [/scratchbox/tools/autotools/automake-1.8/share/aclocal-1.8/header.m4:23: AM_CONFIG_HEADER is expanded from...
9.2736 +configure.ac:23: the top level])
9.2737 +m4trace:configure.ac:23: -1- AC_CONFIG_HEADERS([config.h])
9.2738 +m4trace:configure.ac:26: -1- AC_SUBST([ACLOCAL_AMFLAGS], ["-I m4"])
9.2739 +m4trace:configure.ac:29: -1- AC_PROG_CC
9.2740 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
9.2741 +m4trace:configure.ac:29: -1- AC_SUBST([CFLAGS])
9.2742 +m4trace:configure.ac:29: -1- AC_SUBST([LDFLAGS])
9.2743 +m4trace:configure.ac:29: -1- AC_SUBST([CPPFLAGS])
9.2744 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
9.2745 +m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
9.2746 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
9.2747 +m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
9.2748 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
9.2749 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
9.2750 +m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
9.2751 +m4trace:configure.ac:29: -1- _AM_DEPENDENCIES([CC])
9.2752 +m4trace:configure.ac:29: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
9.2753 +m4trace:configure.ac:29: -1- AM_CONDITIONAL([am__fastdepCC], [
9.2754 + test "x$enable_dependency_tracking" != xno \
9.2755 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
9.2756 +m4trace:configure.ac:29: -1- AC_SUBST([am__fastdepCC_TRUE])
9.2757 +m4trace:configure.ac:29: -1- AC_SUBST([am__fastdepCC_FALSE])
9.2758 +m4trace:configure.ac:30: -1- _m4_warn([obsolete], [The macro `AC_PROG_CC_STDC' is obsolete.
9.2759 +You should run autoupdate.], [autoconf/c.m4:870: AC_PROG_CC_STDC is expanded from...
9.2760 +configure.ac:30: the top level])
9.2761 +m4trace:configure.ac:31: -1- AM_PROG_AS
9.2762 +m4trace:configure.ac:31: -1- AC_SUBST([CCAS])
9.2763 +m4trace:configure.ac:31: -1- AC_SUBST([CCASFLAGS])
9.2764 +m4trace:configure.ac:34: -1- AS_COMPILER_FLAG([-Wall], [GST_WALL="yes"], [GST_WALL="no"])
9.2765 +m4trace:configure.ac:34: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
9.2766 +You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
9.2767 +m4/as-compiler-flag.m4:32: AS_COMPILER_FLAG is expanded from...
9.2768 +configure.ac:34: the top level])
9.2769 +m4trace:configure.ac:40: -1- AS_COMPILER_FLAG([-Werror], [ERROR_CFLAGS="$ERROR_CFLAGS -Werror"], [ERROR_CFLAGS="$ERROR_CFLAGS"])
9.2770 +m4trace:configure.ac:40: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
9.2771 +You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
9.2772 +m4/as-compiler-flag.m4:32: AS_COMPILER_FLAG is expanded from...
9.2773 +configure.ac:40: the top level])
9.2774 +m4trace:configure.ac:44: -1- AC_SUBST([ERROR_CFLAGS])
9.2775 +m4trace:configure.ac:47: -1- AC_PROG_CXX
9.2776 +m4trace:configure.ac:47: -1- AC_SUBST([CXX])
9.2777 +m4trace:configure.ac:47: -1- AC_SUBST([CXXFLAGS])
9.2778 +m4trace:configure.ac:47: -1- AC_SUBST([LDFLAGS])
9.2779 +m4trace:configure.ac:47: -1- AC_SUBST([CPPFLAGS])
9.2780 +m4trace:configure.ac:47: -1- AC_SUBST([CXX])
9.2781 +m4trace:configure.ac:47: -1- AC_SUBST([ac_ct_CXX])
9.2782 +m4trace:configure.ac:47: -1- _AM_DEPENDENCIES([CXX])
9.2783 +m4trace:configure.ac:47: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
9.2784 +m4trace:configure.ac:47: -1- AM_CONDITIONAL([am__fastdepCXX], [
9.2785 + test "x$enable_dependency_tracking" != xno \
9.2786 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
9.2787 +m4trace:configure.ac:47: -1- AC_SUBST([am__fastdepCXX_TRUE])
9.2788 +m4trace:configure.ac:47: -1- AC_SUBST([am__fastdepCXX_FALSE])
9.2789 +m4trace:configure.ac:49: -1- AC_SUBST([HAVE_CXX])
9.2790 +m4trace:configure.ac:51: -1- AC_SUBST([CXXCPP])
9.2791 +m4trace:configure.ac:51: -1- AC_SUBST([CPPFLAGS])
9.2792 +m4trace:configure.ac:51: -1- AC_SUBST([CXXCPP])
9.2793 +m4trace:configure.ac:52: -1- AC_CHECK_LIB([cposix], [strerror], [LIBS="$LIBS -lcposix"])
9.2794 +m4trace:configure.ac:54: -1- AC_HEADER_STDC([])
9.2795 +m4trace:configure.ac:54: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
9.2796 +m4trace:configure.ac:54: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
9.2797 +#undef STDC_HEADERS])
9.2798 +m4trace:configure.ac:55: -1- AC_C_INLINE
9.2799 +m4trace:configure.ac:55: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
9.2800 + calls it, or to nothing if \'inline\' is not supported under any name. */
9.2801 +#ifndef __cplusplus
9.2802 +#undef inline
9.2803 +#endif])
9.2804 +m4trace:configure.ac:58: -1- AC_SUBST([HAVE_PKGCONFIG])
9.2805 +m4trace:configure.ac:73: -1- PKG_CHECK_MODULES([GST], [\
9.2806 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST=yes], [HAVE_GST=no])
9.2807 +m4trace:configure.ac:73: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
9.2808 +m4trace:configure.ac:73: -1- AC_SUBST([GST_CFLAGS])
9.2809 +m4trace:configure.ac:73: -1- AC_SUBST([GST_LIBS])
9.2810 +m4trace:configure.ac:85: -1- AC_SUBST([GST_CFLAGS])
9.2811 +m4trace:configure.ac:86: -1- AC_SUBST([GST_LIBS])
9.2812 +m4trace:configure.ac:89: -1- AC_SUBST([GST_MAJORMINOR])
9.2813 +m4trace:configure.ac:93: -1- PKG_CHECK_MODULES([GST_BASE], [gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST_BASE="yes"], [HAVE_GST_BASE="no"])
9.2814 +m4trace:configure.ac:93: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
9.2815 +m4trace:configure.ac:93: -1- AC_SUBST([GST_BASE_CFLAGS])
9.2816 +m4trace:configure.ac:93: -1- AC_SUBST([GST_BASE_LIBS])
9.2817 +m4trace:configure.ac:99: -1- AC_SUBST([GST_BASE_LIBS])
9.2818 +m4trace:configure.ac:100: -1- AC_SUBST([GST_BASE_CFLAGS])
9.2819 +m4trace:configure.ac:104: -1- PKG_CHECK_MODULES([GST_PLUGINS_BASE], [gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED], [HAVE_GST_PLUGINS="yes"], [HAVE_GST_PLUGINS="no"])
9.2820 +m4trace:configure.ac:104: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
9.2821 +m4trace:configure.ac:104: -1- AC_SUBST([GST_PLUGINS_BASE_CFLAGS])
9.2822 +m4trace:configure.ac:104: -1- AC_SUBST([GST_PLUGINS_BASE_LIBS])
9.2823 +m4trace:configure.ac:110: -1- AC_SUBST([GST_PLUGINS_BASE_LIBS])
9.2824 +m4trace:configure.ac:111: -1- AC_SUBST([GST_PLUGINS_BASE_CFLAGS])
9.2825 +m4trace:configure.ac:115: -1- AC_SUBST([plugindir])
9.2826 +m4trace:configure.ac:119: -1- AC_SUBST([GST_PLUGIN_LDFLAGS])
9.2827 +m4trace:configure.ac:125: -1- AC_CONFIG_FILES([\
9.2828 + Makefile \
9.2829 + src/Makefile \
9.2830 + m4/Makefile
9.2831 +])
9.2832 +m4trace:configure.ac:125: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
9.2833 +You should run autoupdate.], [])
9.2834 +m4trace:configure.ac:125: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
9.2835 +m4trace:configure.ac:125: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
9.2836 +m4trace:configure.ac:125: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
9.2837 +m4trace:configure.ac:125: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/gst-plugins-nuvdemux/autom4te.cache/traces.1 Tue Oct 24 15:02:26 2006 +0100
10.3 @@ -0,0 +1,567 @@
10.4 +m4trace:aclocal.m4:7227: -1- m4_include([m4/as-compiler-flag.m4])
10.5 +m4trace:aclocal.m4:7228: -1- m4_include([m4/as-version.m4])
10.6 +m4trace:configure.ac:3: -1- AC_INIT
10.7 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
10.8 +m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
10.9 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
10.10 +m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
10.11 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
10.12 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
10.13 +m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
10.14 +m4trace:configure.ac:3: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
10.15 +m4trace:configure.ac:3: -1- AC_SUBST([PATH_SEPARATOR])
10.16 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
10.17 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
10.18 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
10.19 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
10.20 +m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
10.21 +m4trace:configure.ac:3: -1- AC_SUBST([exec_prefix], [NONE])
10.22 +m4trace:configure.ac:3: -1- AC_SUBST([prefix], [NONE])
10.23 +m4trace:configure.ac:3: -1- AC_SUBST([program_transform_name], [s,x,x,])
10.24 +m4trace:configure.ac:3: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
10.25 +m4trace:configure.ac:3: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
10.26 +m4trace:configure.ac:3: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
10.27 +m4trace:configure.ac:3: -1- AC_SUBST([datadir], ['${prefix}/share'])
10.28 +m4trace:configure.ac:3: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
10.29 +m4trace:configure.ac:3: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
10.30 +m4trace:configure.ac:3: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
10.31 +m4trace:configure.ac:3: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
10.32 +m4trace:configure.ac:3: -1- AC_SUBST([includedir], ['${prefix}/include'])
10.33 +m4trace:configure.ac:3: -1- AC_SUBST([oldincludedir], ['/usr/include'])
10.34 +m4trace:configure.ac:3: -1- AC_SUBST([infodir], ['${prefix}/info'])
10.35 +m4trace:configure.ac:3: -1- AC_SUBST([mandir], ['${prefix}/man'])
10.36 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
10.37 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
10.38 +#undef PACKAGE_NAME])
10.39 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
10.40 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
10.41 +#undef PACKAGE_TARNAME])
10.42 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
10.43 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
10.44 +#undef PACKAGE_VERSION])
10.45 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
10.46 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
10.47 +#undef PACKAGE_STRING])
10.48 +m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
10.49 +m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
10.50 +#undef PACKAGE_BUGREPORT])
10.51 +m4trace:configure.ac:3: -1- AC_SUBST([build_alias])
10.52 +m4trace:configure.ac:3: -1- AC_SUBST([host_alias])
10.53 +m4trace:configure.ac:3: -1- AC_SUBST([target_alias])
10.54 +m4trace:configure.ac:3: -1- AC_SUBST([DEFS])
10.55 +m4trace:configure.ac:3: -1- AC_SUBST([ECHO_C])
10.56 +m4trace:configure.ac:3: -1- AC_SUBST([ECHO_N])
10.57 +m4trace:configure.ac:3: -1- AC_SUBST([ECHO_T])
10.58 +m4trace:configure.ac:3: -1- AC_SUBST([LIBS])
10.59 +m4trace:configure.ac:4: -1- AC_CANONICAL_HOST
10.60 +m4trace:configure.ac:4: -1- AC_SUBST([build], [$ac_cv_build])
10.61 +m4trace:configure.ac:4: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
10.62 +m4trace:configure.ac:4: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
10.63 +m4trace:configure.ac:4: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
10.64 +m4trace:configure.ac:4: -1- AC_SUBST([host], [$ac_cv_host])
10.65 +m4trace:configure.ac:4: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
10.66 +m4trace:configure.ac:4: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
10.67 +m4trace:configure.ac:4: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
10.68 +m4trace:configure.ac:4: -1- AC_SUBST([target], [$ac_cv_target])
10.69 +m4trace:configure.ac:4: -1- AC_SUBST([target_cpu], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
10.70 +m4trace:configure.ac:4: -1- AC_SUBST([target_vendor], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
10.71 +m4trace:configure.ac:4: -1- AC_SUBST([target_os], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
10.72 +m4trace:configure.ac:10: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
10.73 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
10.74 +autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
10.75 +aclocal.m4:1896: AC_ENABLE_STATIC is expanded from...
10.76 +aclocal.m4:1905: AC_DISABLE_STATIC is expanded from...
10.77 +aclocal.m4:6100: AM_DISABLE_STATIC is expanded from...
10.78 +configure.ac:10: the top level])
10.79 +m4trace:configure.ac:13: -1- AM_MAINTAINER_MODE
10.80 +m4trace:configure.ac:13: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
10.81 +m4trace:configure.ac:13: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
10.82 +m4trace:configure.ac:13: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
10.83 +m4trace:configure.ac:13: -1- AC_SUBST([MAINT])
10.84 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([GST_PLUGINS_VERSION])
10.85 +m4trace:configure.ac:17: -1- AH_OUTPUT([GST_PLUGINS_VERSION], [/* Define the version */
10.86 +#undef GST_PLUGINS_VERSION])
10.87 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION])
10.88 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([GST_PLUGINS_VERSION_RELEASE])
10.89 +m4trace:configure.ac:17: -1- AH_OUTPUT([GST_PLUGINS_VERSION_RELEASE], [/* Define the release version */
10.90 +#undef GST_PLUGINS_VERSION_RELEASE])
10.91 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_RELEASE])
10.92 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MAJOR])
10.93 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MINOR])
10.94 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_MICRO])
10.95 +m4trace:configure.ac:17: -1- AC_SUBST([GST_PLUGINS_VERSION_NANO])
10.96 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
10.97 +m4trace:configure.ac:17: -1- AH_OUTPUT([PACKAGE], [/* Define the package name */
10.98 +#undef PACKAGE])
10.99 +m4trace:configure.ac:17: -1- AC_SUBST([PACKAGE])
10.100 +m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
10.101 +m4trace:configure.ac:17: -1- AH_OUTPUT([VERSION], [/* Define the version */
10.102 +#undef VERSION])
10.103 +m4trace:configure.ac:17: -1- AC_SUBST([VERSION])
10.104 +m4trace:configure.ac:19: -1- AM_INIT_AUTOMAKE([$PACKAGE], [$VERSION])
10.105 +m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
10.106 +m4trace:configure.ac:19: -1- AM_AUTOMAKE_VERSION([1.8.5])
10.107 +m4trace:configure.ac:19: -1- AC_PROG_INSTALL
10.108 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_PROGRAM])
10.109 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_SCRIPT])
10.110 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_DATA])
10.111 +m4trace:configure.ac:19: -1- AC_SUBST([CYGPATH_W])
10.112 +m4trace:configure.ac:19: -1- AC_SUBST([PACKAGE], [$PACKAGE])
10.113 +m4trace:configure.ac:19: -1- AC_SUBST([VERSION], [$VERSION])
10.114 +m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
10.115 +m4trace:configure.ac:19: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
10.116 +#undef PACKAGE])
10.117 +m4trace:configure.ac:19: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
10.118 +m4trace:configure.ac:19: -1- AH_OUTPUT([VERSION], [/* Version number of package */
10.119 +#undef VERSION])
10.120 +m4trace:configure.ac:19: -1- AC_SUBST([ACLOCAL])
10.121 +m4trace:configure.ac:19: -1- AC_SUBST([AUTOCONF])
10.122 +m4trace:configure.ac:19: -1- AC_SUBST([AUTOMAKE])
10.123 +m4trace:configure.ac:19: -1- AC_SUBST([AUTOHEADER])
10.124 +m4trace:configure.ac:19: -1- AC_SUBST([MAKEINFO])
10.125 +m4trace:configure.ac:19: -1- AC_SUBST([AMTAR])
10.126 +m4trace:configure.ac:19: -1- AC_SUBST([install_sh])
10.127 +m4trace:configure.ac:19: -1- AC_SUBST([STRIP])
10.128 +m4trace:configure.ac:19: -1- AC_SUBST([ac_ct_STRIP])
10.129 +m4trace:configure.ac:19: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
10.130 +m4trace:configure.ac:19: -1- AC_SUBST([mkdir_p])
10.131 +m4trace:configure.ac:19: -1- AC_PROG_AWK
10.132 +m4trace:configure.ac:19: -1- AC_SUBST([AWK])
10.133 +m4trace:configure.ac:19: -1- AC_PROG_MAKE_SET
10.134 +m4trace:configure.ac:19: -1- AC_SUBST([SET_MAKE])
10.135 +m4trace:configure.ac:19: -1- AC_SUBST([am__leading_dot])
10.136 +m4trace:configure.ac:21: -1- AC_PROG_LIBTOOL
10.137 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
10.138 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
10.139 +autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
10.140 +aclocal.m4:1857: AC_ENABLE_SHARED is expanded from...
10.141 +configure.ac:21: AC_ENABLE_SHARED is required by...
10.142 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.143 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.144 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.145 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.146 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.147 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.148 +configure.ac:21: the top level])
10.149 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
10.150 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
10.151 +autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
10.152 +aclocal.m4:1935: AC_ENABLE_FAST_INSTALL is expanded from...
10.153 +configure.ac:21: AC_ENABLE_FAST_INSTALL is required by...
10.154 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.155 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.156 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.157 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.158 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.159 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.160 +configure.ac:21: the top level])
10.161 +m4trace:configure.ac:21: -1- AC_PROG_CC
10.162 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
10.163 +m4trace:configure.ac:21: -1- AC_SUBST([CFLAGS])
10.164 +m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
10.165 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
10.166 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
10.167 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
10.168 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
10.169 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
10.170 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
10.171 +m4trace:configure.ac:21: -1- AC_SUBST([CC])
10.172 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CC])
10.173 +m4trace:configure.ac:21: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
10.174 +m4trace:configure.ac:21: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
10.175 +m4trace:configure.ac:21: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
10.176 +m4trace:configure.ac:21: -1- AC_SUBST([am__include])
10.177 +m4trace:configure.ac:21: -1- AC_SUBST([am__quote])
10.178 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
10.179 +m4trace:configure.ac:21: -1- AC_SUBST([AMDEP_TRUE])
10.180 +m4trace:configure.ac:21: -1- AC_SUBST([AMDEP_FALSE])
10.181 +m4trace:configure.ac:21: -1- AC_SUBST([AMDEPBACKSLASH])
10.182 +m4trace:configure.ac:21: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
10.183 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCC], [
10.184 + test "x$enable_dependency_tracking" != xno \
10.185 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
10.186 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCC_TRUE])
10.187 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCC_FALSE])
10.188 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
10.189 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
10.190 +autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
10.191 +aclocal.m4:2132: AC_PROG_LD is expanded from...
10.192 +configure.ac:21: AC_PROG_LD is required by...
10.193 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.194 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.195 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.196 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.197 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.198 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.199 +configure.ac:21: the top level])
10.200 +m4trace:configure.ac:21: -1- AC_SUBST([EGREP])
10.201 +m4trace:configure.ac:21: -1- AC_PROG_LN_S
10.202 +m4trace:configure.ac:21: -1- AC_SUBST([LN_S], [$as_ln_s])
10.203 +m4trace:configure.ac:21: -1- AC_SUBST([ECHO])
10.204 +m4trace:configure.ac:21: -1- AC_SUBST([AR])
10.205 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_AR])
10.206 +m4trace:configure.ac:21: -1- AC_SUBST([RANLIB])
10.207 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_RANLIB])
10.208 +m4trace:configure.ac:21: -1- AC_SUBST([STRIP])
10.209 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_STRIP])
10.210 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
10.211 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
10.212 +autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
10.213 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.214 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.215 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.216 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.217 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.218 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.219 +configure.ac:21: the top level])
10.220 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
10.221 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
10.222 +autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
10.223 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.224 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.225 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.226 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.227 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.228 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.229 +configure.ac:21: the top level])
10.230 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
10.231 +You should run autoupdate.], [autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
10.232 +autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
10.233 +autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
10.234 +aclocal.m4:594: _LT_AC_LOCK is expanded from...
10.235 +configure.ac:21: _LT_AC_LOCK is required by...
10.236 +aclocal.m4:1061: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
10.237 +aclocal.m4:2664: _LT_AC_LANG_C_CONFIG is expanded from...
10.238 +aclocal.m4:2564: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
10.239 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.240 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.241 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.242 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.243 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.244 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.245 +configure.ac:21: the top level])
10.246 +m4trace:configure.ac:21: -1- AC_CHECK_HEADERS([dlfcn.h])
10.247 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
10.248 +#undef HAVE_DLFCN_H])
10.249 +m4trace:configure.ac:21: -1- AC_HEADER_STDC
10.250 +m4trace:configure.ac:21: -1- AC_PROG_CPP
10.251 +m4trace:configure.ac:21: -1- AC_SUBST([CPP])
10.252 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
10.253 +m4trace:configure.ac:21: -1- AC_SUBST([CPP])
10.254 +m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
10.255 +m4trace:configure.ac:21: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
10.256 +#undef STDC_HEADERS])
10.257 +m4trace:configure.ac:21: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10.258 + inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
10.259 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
10.260 +#undef HAVE_SYS_TYPES_H])
10.261 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
10.262 +#undef HAVE_SYS_STAT_H])
10.263 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
10.264 +#undef HAVE_STDLIB_H])
10.265 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
10.266 +#undef HAVE_STRING_H])
10.267 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
10.268 +#undef HAVE_MEMORY_H])
10.269 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
10.270 +#undef HAVE_STRINGS_H])
10.271 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
10.272 +#undef HAVE_INTTYPES_H])
10.273 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
10.274 +#undef HAVE_STDINT_H])
10.275 +m4trace:configure.ac:21: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
10.276 +#undef HAVE_UNISTD_H])
10.277 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
10.278 + lt_cv_dlopen="dyld"
10.279 + lt_cv_dlopen_libs=
10.280 + lt_cv_dlopen_self=yes
10.281 + ])
10.282 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
10.283 + [lt_cv_dlopen="dlopen"],
10.284 + [AC_CHECK_LIB([dl], [dlopen],
10.285 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
10.286 + [AC_CHECK_LIB([svld], [dlopen],
10.287 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
10.288 + [AC_CHECK_LIB([dld], [dld_link],
10.289 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.290 + ])
10.291 + ])
10.292 + ])
10.293 + ])
10.294 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
10.295 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
10.296 + [AC_CHECK_LIB([dld], [dld_link],
10.297 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.298 + ])
10.299 + ])
10.300 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
10.301 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.302 + ])
10.303 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.304 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
10.305 +You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
10.306 +autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
10.307 +aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
10.308 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.309 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.310 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.311 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.312 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.313 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.314 +configure.ac:21: the top level])
10.315 +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], [aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
10.316 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.317 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.318 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.319 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.320 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.321 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.322 +configure.ac:21: the top level])
10.323 +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], [aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
10.324 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.325 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.326 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.327 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.328 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.329 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.330 +configure.ac:21: the top level])
10.331 +m4trace:configure.ac:21: -1- AC_PROG_CXX
10.332 +m4trace:configure.ac:21: -1- AC_SUBST([CXX])
10.333 +m4trace:configure.ac:21: -1- AC_SUBST([CXXFLAGS])
10.334 +m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
10.335 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
10.336 +m4trace:configure.ac:21: -1- AC_SUBST([CXX])
10.337 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_CXX])
10.338 +m4trace:configure.ac:21: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
10.339 +m4trace:configure.ac:21: -1- AM_CONDITIONAL([am__fastdepCXX], [
10.340 + test "x$enable_dependency_tracking" != xno \
10.341 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
10.342 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCXX_TRUE])
10.343 +m4trace:configure.ac:21: -1- AC_SUBST([am__fastdepCXX_FALSE])
10.344 +m4trace:configure.ac:21: -1- AC_SUBST([CXXCPP])
10.345 +m4trace:configure.ac:21: -1- AC_SUBST([CPPFLAGS])
10.346 +m4trace:configure.ac:21: -1- AC_SUBST([CXXCPP])
10.347 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
10.348 + lt_cv_dlopen="dyld"
10.349 + lt_cv_dlopen_libs=
10.350 + lt_cv_dlopen_self=yes
10.351 + ])
10.352 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
10.353 + [lt_cv_dlopen="dlopen"],
10.354 + [AC_CHECK_LIB([dl], [dlopen],
10.355 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
10.356 + [AC_CHECK_LIB([svld], [dlopen],
10.357 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
10.358 + [AC_CHECK_LIB([dld], [dld_link],
10.359 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.360 + ])
10.361 + ])
10.362 + ])
10.363 + ])
10.364 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
10.365 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
10.366 + [AC_CHECK_LIB([dld], [dld_link],
10.367 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.368 + ])
10.369 + ])
10.370 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
10.371 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.372 + ])
10.373 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.374 +m4trace:configure.ac:21: -1- AC_SUBST([F77])
10.375 +m4trace:configure.ac:21: -1- AC_SUBST([FFLAGS])
10.376 +m4trace:configure.ac:21: -1- AC_SUBST([LDFLAGS])
10.377 +m4trace:configure.ac:21: -1- AC_SUBST([F77])
10.378 +m4trace:configure.ac:21: -1- AC_SUBST([ac_ct_F77])
10.379 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
10.380 +You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
10.381 +aclocal.m4:3925: _LT_AC_LANG_GCJ_CONFIG is expanded from...
10.382 +aclocal.m4:3875: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
10.383 +aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
10.384 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.385 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.386 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.387 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.388 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.389 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.390 +configure.ac:21: the top level])
10.391 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
10.392 +and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
10.393 +aclocal.m4:3925: _LT_AC_LANG_GCJ_CONFIG is expanded from...
10.394 +aclocal.m4:3875: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
10.395 +aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
10.396 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.397 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.398 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.399 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.400 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.401 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.402 +configure.ac:21: the top level])
10.403 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [
10.404 + lt_cv_dlopen="dyld"
10.405 + lt_cv_dlopen_libs=
10.406 + lt_cv_dlopen_self=yes
10.407 + ])
10.408 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
10.409 + [lt_cv_dlopen="dlopen"],
10.410 + [AC_CHECK_LIB([dl], [dlopen],
10.411 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
10.412 + [AC_CHECK_LIB([svld], [dlopen],
10.413 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
10.414 + [AC_CHECK_LIB([dld], [dld_link],
10.415 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.416 + ])
10.417 + ])
10.418 + ])
10.419 + ])
10.420 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
10.421 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
10.422 + [AC_CHECK_LIB([dld], [dld_link],
10.423 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.424 + ])
10.425 + ])
10.426 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
10.427 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.428 + ])
10.429 +m4trace:configure.ac:21: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
10.430 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
10.431 +You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
10.432 +aclocal.m4:3925: _LT_AC_LANG_GCJ_CONFIG is expanded from...
10.433 +aclocal.m4:3875: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
10.434 +aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
10.435 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.436 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.437 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.438 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.439 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.440 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.441 +configure.ac:21: the top level])
10.442 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
10.443 +You should run autoupdate.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
10.444 +aclocal.m4:3969: _LT_AC_LANG_RC_CONFIG is expanded from...
10.445 +aclocal.m4:3933: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
10.446 +aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
10.447 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.448 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.449 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.450 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.451 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.452 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.453 +configure.ac:21: the top level])
10.454 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [instead of using `AC_LANG', `AC_LANG_SAVE',
10.455 +and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.], [autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
10.456 +aclocal.m4:3969: _LT_AC_LANG_RC_CONFIG is expanded from...
10.457 +aclocal.m4:3933: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
10.458 +aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
10.459 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.460 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.461 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.462 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.463 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.464 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.465 +configure.ac:21: the top level])
10.466 +m4trace:configure.ac:21: -1- _m4_warn([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
10.467 +You should run autoupdate.], [autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
10.468 +aclocal.m4:3969: _LT_AC_LANG_RC_CONFIG is expanded from...
10.469 +aclocal.m4:3933: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
10.470 +aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
10.471 +aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
10.472 +configure.ac:21: AC_LIBTOOL_SETUP is required by...
10.473 +aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
10.474 +configure.ac:21: _AC_PROG_LIBTOOL is required by...
10.475 +aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
10.476 +aclocal.m4:6096: AM_PROG_LIBTOOL is expanded from...
10.477 +configure.ac:21: the top level])
10.478 +m4trace:configure.ac:21: -1- AC_SUBST([LIBTOOL])
10.479 +m4trace:configure.ac:23: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
10.480 +You should run autoupdate.], [aclocal.m4:6680: AM_CONFIG_HEADER is expanded from...
10.481 +configure.ac:23: the top level])
10.482 +m4trace:configure.ac:23: -1- AC_CONFIG_HEADERS([config.h])
10.483 +m4trace:configure.ac:26: -1- AC_SUBST([ACLOCAL_AMFLAGS], ["-I m4"])
10.484 +m4trace:configure.ac:29: -1- AC_PROG_CC
10.485 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
10.486 +m4trace:configure.ac:29: -1- AC_SUBST([CFLAGS])
10.487 +m4trace:configure.ac:29: -1- AC_SUBST([LDFLAGS])
10.488 +m4trace:configure.ac:29: -1- AC_SUBST([CPPFLAGS])
10.489 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
10.490 +m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
10.491 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
10.492 +m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
10.493 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
10.494 +m4trace:configure.ac:29: -1- AC_SUBST([CC])
10.495 +m4trace:configure.ac:29: -1- AC_SUBST([ac_ct_CC])
10.496 +m4trace:configure.ac:29: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
10.497 +m4trace:configure.ac:29: -1- AM_CONDITIONAL([am__fastdepCC], [
10.498 + test "x$enable_dependency_tracking" != xno \
10.499 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
10.500 +m4trace:configure.ac:29: -1- AC_SUBST([am__fastdepCC_TRUE])
10.501 +m4trace:configure.ac:29: -1- AC_SUBST([am__fastdepCC_FALSE])
10.502 +m4trace:configure.ac:30: -1- _m4_warn([obsolete], [The macro `AC_PROG_CC_STDC' is obsolete.
10.503 +You should run autoupdate.], [autoconf/c.m4:870: AC_PROG_CC_STDC is expanded from...
10.504 +configure.ac:30: the top level])
10.505 +m4trace:configure.ac:31: -1- AC_SUBST([CCAS])
10.506 +m4trace:configure.ac:31: -1- AC_SUBST([CCASFLAGS])
10.507 +m4trace:configure.ac:34: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
10.508 +You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
10.509 +m4/as-compiler-flag.m4:32: AS_COMPILER_FLAG is expanded from...
10.510 +configure.ac:34: the top level])
10.511 +m4trace:configure.ac:40: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
10.512 +You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
10.513 +m4/as-compiler-flag.m4:32: AS_COMPILER_FLAG is expanded from...
10.514 +configure.ac:40: the top level])
10.515 +m4trace:configure.ac:44: -1- AC_SUBST([ERROR_CFLAGS])
10.516 +m4trace:configure.ac:47: -1- AC_PROG_CXX
10.517 +m4trace:configure.ac:47: -1- AC_SUBST([CXX])
10.518 +m4trace:configure.ac:47: -1- AC_SUBST([CXXFLAGS])
10.519 +m4trace:configure.ac:47: -1- AC_SUBST([LDFLAGS])
10.520 +m4trace:configure.ac:47: -1- AC_SUBST([CPPFLAGS])
10.521 +m4trace:configure.ac:47: -1- AC_SUBST([CXX])
10.522 +m4trace:configure.ac:47: -1- AC_SUBST([ac_ct_CXX])
10.523 +m4trace:configure.ac:47: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
10.524 +m4trace:configure.ac:47: -1- AM_CONDITIONAL([am__fastdepCXX], [
10.525 + test "x$enable_dependency_tracking" != xno \
10.526 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
10.527 +m4trace:configure.ac:47: -1- AC_SUBST([am__fastdepCXX_TRUE])
10.528 +m4trace:configure.ac:47: -1- AC_SUBST([am__fastdepCXX_FALSE])
10.529 +m4trace:configure.ac:49: -1- AC_SUBST([HAVE_CXX])
10.530 +m4trace:configure.ac:51: -1- AC_SUBST([CXXCPP])
10.531 +m4trace:configure.ac:51: -1- AC_SUBST([CPPFLAGS])
10.532 +m4trace:configure.ac:51: -1- AC_SUBST([CXXCPP])
10.533 +m4trace:configure.ac:54: -1- AC_HEADER_STDC([])
10.534 +m4trace:configure.ac:54: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
10.535 +m4trace:configure.ac:54: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
10.536 +#undef STDC_HEADERS])
10.537 +m4trace:configure.ac:55: -1- AC_C_INLINE
10.538 +m4trace:configure.ac:55: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
10.539 + calls it, or to nothing if \'inline\' is not supported under any name. */
10.540 +#ifndef __cplusplus
10.541 +#undef inline
10.542 +#endif])
10.543 +m4trace:configure.ac:58: -1- AC_SUBST([HAVE_PKGCONFIG])
10.544 +m4trace:configure.ac:73: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
10.545 +m4trace:configure.ac:73: -1- AC_SUBST([GST_CFLAGS])
10.546 +m4trace:configure.ac:73: -1- AC_SUBST([GST_LIBS])
10.547 +m4trace:configure.ac:85: -1- AC_SUBST([GST_CFLAGS])
10.548 +m4trace:configure.ac:86: -1- AC_SUBST([GST_LIBS])
10.549 +m4trace:configure.ac:89: -1- AC_SUBST([GST_MAJORMINOR])
10.550 +m4trace:configure.ac:93: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
10.551 +m4trace:configure.ac:93: -1- AC_SUBST([GST_BASE_CFLAGS])
10.552 +m4trace:configure.ac:93: -1- AC_SUBST([GST_BASE_LIBS])
10.553 +m4trace:configure.ac:99: -1- AC_SUBST([GST_BASE_LIBS])
10.554 +m4trace:configure.ac:100: -1- AC_SUBST([GST_BASE_CFLAGS])
10.555 +m4trace:configure.ac:104: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
10.556 +m4trace:configure.ac:104: -1- AC_SUBST([GST_PLUGINS_BASE_CFLAGS])
10.557 +m4trace:configure.ac:104: -1- AC_SUBST([GST_PLUGINS_BASE_LIBS])
10.558 +m4trace:configure.ac:110: -1- AC_SUBST([GST_PLUGINS_BASE_LIBS])
10.559 +m4trace:configure.ac:111: -1- AC_SUBST([GST_PLUGINS_BASE_CFLAGS])
10.560 +m4trace:configure.ac:115: -1- AC_SUBST([plugindir])
10.561 +m4trace:configure.ac:119: -1- AC_SUBST([GST_PLUGIN_LDFLAGS])
10.562 +m4trace:configure.ac:125: -1- AC_CONFIG_FILES([\
10.563 + Makefile \
10.564 + src/Makefile \
10.565 + m4/Makefile
10.566 +])
10.567 +m4trace:configure.ac:125: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
10.568 +You should run autoupdate.], [])
10.569 +m4trace:configure.ac:125: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
10.570 +m4trace:configure.ac:125: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/gst-plugins-nuvdemux/compile Tue Oct 24 15:02:26 2006 +0100
11.3 @@ -0,0 +1,136 @@
11.4 +#! /bin/sh
11.5 +# Wrapper for compilers which do not understand `-c -o'.
11.6 +
11.7 +scriptversion=2003-11-09.00
11.8 +
11.9 +# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
11.10 +# Written by Tom Tromey <tromey@cygnus.com>.
11.11 +#
11.12 +# This program is free software; you can redistribute it and/or modify
11.13 +# it under the terms of the GNU General Public License as published by
11.14 +# the Free Software Foundation; either version 2, or (at your option)
11.15 +# any later version.
11.16 +#
11.17 +# This program is distributed in the hope that it will be useful,
11.18 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
11.19 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11.20 +# GNU General Public License for more details.
11.21 +#
11.22 +# You should have received a copy of the GNU General Public License
11.23 +# along with this program; if not, write to the Free Software
11.24 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
11.25 +
11.26 +# As a special exception to the GNU General Public License, if you
11.27 +# distribute this file as part of a program that contains a
11.28 +# configuration script generated by Autoconf, you may include it under
11.29 +# the same distribution terms that you use for the rest of that program.
11.30 +
11.31 +# This file is maintained in Automake, please report
11.32 +# bugs to <bug-automake@gnu.org> or send patches to
11.33 +# <automake-patches@gnu.org>.
11.34 +
11.35 +case $1 in
11.36 + '')
11.37 + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
11.38 + exit 1;
11.39 + ;;
11.40 + -h | --h*)
11.41 + cat <<\EOF
11.42 +Usage: compile [--help] [--version] PROGRAM [ARGS]
11.43 +
11.44 +Wrapper for compilers which do not understand `-c -o'.
11.45 +Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
11.46 +arguments, and rename the output as expected.
11.47 +
11.48 +If you are trying to build a whole package this is not the
11.49 +right script to run: please start by reading the file `INSTALL'.
11.50 +
11.51 +Report bugs to <bug-automake@gnu.org>.
11.52 +EOF
11.53 + exit 0
11.54 + ;;
11.55 + -v | --v*)
11.56 + echo "compile $scriptversion"
11.57 + exit 0
11.58 + ;;
11.59 +esac
11.60 +
11.61 +
11.62 +prog=$1
11.63 +shift
11.64 +
11.65 +ofile=
11.66 +cfile=
11.67 +args=
11.68 +while test $# -gt 0; do
11.69 + case "$1" in
11.70 + -o)
11.71 + # configure might choose to run compile as `compile cc -o foo foo.c'.
11.72 + # So we do something ugly here.
11.73 + ofile=$2
11.74 + shift
11.75 + case "$ofile" in
11.76 + *.o | *.obj)
11.77 + ;;
11.78 + *)
11.79 + args="$args -o $ofile"
11.80 + ofile=
11.81 + ;;
11.82 + esac
11.83 + ;;
11.84 + *.c)
11.85 + cfile=$1
11.86 + args="$args $1"
11.87 + ;;
11.88 + *)
11.89 + args="$args $1"
11.90 + ;;
11.91 + esac
11.92 + shift
11.93 +done
11.94 +
11.95 +if test -z "$ofile" || test -z "$cfile"; then
11.96 + # If no `-o' option was seen then we might have been invoked from a
11.97 + # pattern rule where we don't need one. That is ok -- this is a
11.98 + # normal compilation that the losing compiler can handle. If no
11.99 + # `.c' file was seen then we are probably linking. That is also
11.100 + # ok.
11.101 + exec "$prog" $args
11.102 +fi
11.103 +
11.104 +# Name of file we expect compiler to create.
11.105 +cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
11.106 +
11.107 +# Create the lock directory.
11.108 +# Note: use `[/.-]' here to ensure that we don't use the same name
11.109 +# that we are using for the .o file. Also, base the name on the expected
11.110 +# object file name, since that is what matters with a parallel build.
11.111 +lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
11.112 +while true; do
11.113 + if mkdir $lockdir > /dev/null 2>&1; then
11.114 + break
11.115 + fi
11.116 + sleep 1
11.117 +done
11.118 +# FIXME: race condition here if user kills between mkdir and trap.
11.119 +trap "rmdir $lockdir; exit 1" 1 2 15
11.120 +
11.121 +# Run the compile.
11.122 +"$prog" $args
11.123 +status=$?
11.124 +
11.125 +if test -f "$cofile"; then
11.126 + mv "$cofile" "$ofile"
11.127 +fi
11.128 +
11.129 +rmdir $lockdir
11.130 +exit $status
11.131 +
11.132 +# Local Variables:
11.133 +# mode: shell-script
11.134 +# sh-indentation: 2
11.135 +# eval: (add-hook 'write-file-hooks 'time-stamp)
11.136 +# time-stamp-start: "scriptversion="
11.137 +# time-stamp-format: "%:y-%02m-%02d.%02H"
11.138 +# time-stamp-end: "$"
11.139 +# End:
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/gst-plugins-nuvdemux/config.guess Tue Oct 24 15:02:26 2006 +0100
12.3 @@ -0,0 +1,1466 @@
12.4 +#! /bin/sh
12.5 +# Attempt to guess a canonical system name.
12.6 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
12.7 +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
12.8 +
12.9 +timestamp='2005-08-03'
12.10 +
12.11 +# This file is free software; you can redistribute it and/or modify it
12.12 +# under the terms of the GNU General Public License as published by
12.13 +# the Free Software Foundation; either version 2 of the License, or
12.14 +# (at your option) any later version.
12.15 +#
12.16 +# This program is distributed in the hope that it will be useful, but
12.17 +# WITHOUT ANY WARRANTY; without even the implied warranty of
12.18 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12.19 +# General Public License for more details.
12.20 +#
12.21 +# You should have received a copy of the GNU General Public License
12.22 +# along with this program; if not, write to the Free Software
12.23 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
12.24 +# 02110-1301, USA.
12.25 +#
12.26 +# As a special exception to the GNU General Public License, if you
12.27 +# distribute this file as part of a program that contains a
12.28 +# configuration script generated by Autoconf, you may include it under
12.29 +# the same distribution terms that you use for the rest of that program.
12.30 +
12.31 +
12.32 +# Originally written by Per Bothner <per@bothner.com>.
12.33 +# Please send patches to <config-patches@gnu.org>. Submit a context
12.34 +# diff and a properly formatted ChangeLog entry.
12.35 +#
12.36 +# This script attempts to guess a canonical system name similar to
12.37 +# config.sub. If it succeeds, it prints the system name on stdout, and
12.38 +# exits with 0. Otherwise, it exits with 1.
12.39 +#
12.40 +# The plan is that this can be called by configure scripts if you
12.41 +# don't specify an explicit build system type.
12.42 +
12.43 +me=`echo "$0" | sed -e 's,.*/,,'`
12.44 +
12.45 +usage="\
12.46 +Usage: $0 [OPTION]
12.47 +
12.48 +Output the configuration name of the system \`$me' is run on.
12.49 +
12.50 +Operation modes:
12.51 + -h, --help print this help, then exit
12.52 + -t, --time-stamp print date of last modification, then exit
12.53 + -v, --version print version number, then exit
12.54 +
12.55 +Report bugs and patches to <config-patches@gnu.org>."
12.56 +
12.57 +version="\
12.58 +GNU config.guess ($timestamp)
12.59 +
12.60 +Originally written by Per Bothner.
12.61 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
12.62 +Free Software Foundation, Inc.
12.63 +
12.64 +This is free software; see the source for copying conditions. There is NO
12.65 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
12.66 +
12.67 +help="
12.68 +Try \`$me --help' for more information."
12.69 +
12.70 +# Parse command line
12.71 +while test $# -gt 0 ; do
12.72 + case $1 in
12.73 + --time-stamp | --time* | -t )
12.74 + echo "$timestamp" ; exit ;;
12.75 + --version | -v )
12.76 + echo "$version" ; exit ;;
12.77 + --help | --h* | -h )
12.78 + echo "$usage"; exit ;;
12.79 + -- ) # Stop option processing
12.80 + shift; break ;;
12.81 + - ) # Use stdin as input.
12.82 + break ;;
12.83 + -* )
12.84 + echo "$me: invalid option $1$help" >&2
12.85 + exit 1 ;;
12.86 + * )
12.87 + break ;;
12.88 + esac
12.89 +done
12.90 +
12.91 +if test $# != 0; then
12.92 + echo "$me: too many arguments$help" >&2
12.93 + exit 1
12.94 +fi
12.95 +
12.96 +trap 'exit 1' 1 2 15
12.97 +
12.98 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
12.99 +# compiler to aid in system detection is discouraged as it requires
12.100 +# temporary files to be created and, as you can see below, it is a
12.101 +# headache to deal with in a portable fashion.
12.102 +
12.103 +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
12.104 +# use `HOST_CC' if defined, but it is deprecated.
12.105 +
12.106 +# Portable tmp directory creation inspired by the Autoconf team.
12.107 +
12.108 +set_cc_for_build='
12.109 +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
12.110 +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
12.111 +: ${TMPDIR=/tmp} ;
12.112 + { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
12.113 + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
12.114 + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
12.115 + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
12.116 +dummy=$tmp/dummy ;
12.117 +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
12.118 +case $CC_FOR_BUILD,$HOST_CC,$CC in
12.119 + ,,) echo "int x;" > $dummy.c ;
12.120 + for c in cc gcc c89 c99 ; do
12.121 + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
12.122 + CC_FOR_BUILD="$c"; break ;
12.123 + fi ;
12.124 + done ;
12.125 + if test x"$CC_FOR_BUILD" = x ; then
12.126 + CC_FOR_BUILD=no_compiler_found ;
12.127 + fi
12.128 + ;;
12.129 + ,,*) CC_FOR_BUILD=$CC ;;
12.130 + ,*,*) CC_FOR_BUILD=$HOST_CC ;;
12.131 +esac ; set_cc_for_build= ;'
12.132 +
12.133 +# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
12.134 +# (ghazi@noc.rutgers.edu 1994-08-24)
12.135 +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
12.136 + PATH=$PATH:/.attbin ; export PATH
12.137 +fi
12.138 +
12.139 +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
12.140 +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
12.141 +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
12.142 +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
12.143 +
12.144 +# Note: order is significant - the case branches are not exclusive.
12.145 +
12.146 +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
12.147 + *:NetBSD:*:*)
12.148 + # NetBSD (nbsd) targets should (where applicable) match one or
12.149 + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
12.150 + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
12.151 + # switched to ELF, *-*-netbsd* would select the old
12.152 + # object file format. This provides both forward
12.153 + # compatibility and a consistent mechanism for selecting the
12.154 + # object file format.
12.155 + #
12.156 + # Note: NetBSD doesn't particularly care about the vendor
12.157 + # portion of the name. We always set it to "unknown".
12.158 + sysctl="sysctl -n hw.machine_arch"
12.159 + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
12.160 + /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
12.161 + case "${UNAME_MACHINE_ARCH}" in
12.162 + armeb) machine=armeb-unknown ;;
12.163 + arm*) machine=arm-unknown ;;
12.164 + sh3el) machine=shl-unknown ;;
12.165 + sh3eb) machine=sh-unknown ;;
12.166 + *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
12.167 + esac
12.168 + # The Operating System including object format, if it has switched
12.169 + # to ELF recently, or will in the future.
12.170 + case "${UNAME_MACHINE_ARCH}" in
12.171 + arm*|i386|m68k|ns32k|sh3*|sparc|vax)
12.172 + eval $set_cc_for_build
12.173 + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
12.174 + | grep __ELF__ >/dev/null
12.175 + then
12.176 + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
12.177 + # Return netbsd for either. FIX?
12.178 + os=netbsd
12.179 + else
12.180 + os=netbsdelf
12.181 + fi
12.182 + ;;
12.183 + *)
12.184 + os=netbsd
12.185 + ;;
12.186 + esac
12.187 + # The OS release
12.188 + # Debian GNU/NetBSD machines have a different userland, and
12.189 + # thus, need a distinct triplet. However, they do not need
12.190 + # kernel version information, so it can be replaced with a
12.191 + # suitable tag, in the style of linux-gnu.
12.192 + case "${UNAME_VERSION}" in
12.193 + Debian*)
12.194 + release='-gnu'
12.195 + ;;
12.196 + *)
12.197 + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
12.198 + ;;
12.199 + esac
12.200 + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
12.201 + # contains redundant information, the shorter form:
12.202 + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
12.203 + echo "${machine}-${os}${release}"
12.204 + exit ;;
12.205 + *:OpenBSD:*:*)
12.206 + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
12.207 + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
12.208 + exit ;;
12.209 + *:ekkoBSD:*:*)
12.210 + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
12.211 + exit ;;
12.212 + macppc:MirBSD:*:*)
12.213 + echo powerppc-unknown-mirbsd${UNAME_RELEASE}
12.214 + exit ;;
12.215 + *:MirBSD:*:*)
12.216 + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
12.217 + exit ;;
12.218 + alpha:OSF1:*:*)
12.219 + case $UNAME_RELEASE in
12.220 + *4.0)
12.221 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
12.222 + ;;
12.223 + *5.*)
12.224 + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
12.225 + ;;
12.226 + esac
12.227 + # According to Compaq, /usr/sbin/psrinfo has been available on
12.228 + # OSF/1 and Tru64 systems produced since 1995. I hope that
12.229 + # covers most systems running today. This code pipes the CPU
12.230 + # types through head -n 1, so we only detect the type of CPU 0.
12.231 + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
12.232 + case "$ALPHA_CPU_TYPE" in
12.233 + "EV4 (21064)")
12.234 + UNAME_MACHINE="alpha" ;;
12.235 + "EV4.5 (21064)")
12.236 + UNAME_MACHINE="alpha" ;;
12.237 + "LCA4 (21066/21068)")
12.238 + UNAME_MACHINE="alpha" ;;
12.239 + "EV5 (21164)")
12.240 + UNAME_MACHINE="alphaev5" ;;
12.241 + "EV5.6 (21164A)")
12.242 + UNAME_MACHINE="alphaev56" ;;
12.243 + "EV5.6 (21164PC)")
12.244 + UNAME_MACHINE="alphapca56" ;;
12.245 + "EV5.7 (21164PC)")
12.246 + UNAME_MACHINE="alphapca57" ;;
12.247 + "EV6 (21264)")
12.248 + UNAME_MACHINE="alphaev6" ;;
12.249 + "EV6.7 (21264A)")
12.250 + UNAME_MACHINE="alphaev67" ;;
12.251 + "EV6.8CB (21264C)")
12.252 + UNAME_MACHINE="alphaev68" ;;
12.253 + "EV6.8AL (21264B)")
12.254 + UNAME_MACHINE="alphaev68" ;;
12.255 + "EV6.8CX (21264D)")
12.256 + UNAME_MACHINE="alphaev68" ;;
12.257 + "EV6.9A (21264/EV69A)")
12.258 + UNAME_MACHINE="alphaev69" ;;
12.259 + "EV7 (21364)")
12.260 + UNAME_MACHINE="alphaev7" ;;
12.261 + "EV7.9 (21364A)")
12.262 + UNAME_MACHINE="alphaev79" ;;
12.263 + esac
12.264 + # A Pn.n version is a patched version.
12.265 + # A Vn.n version is a released version.
12.266 + # A Tn.n version is a released field test version.
12.267 + # A Xn.n version is an unreleased experimental baselevel.
12.268 + # 1.2 uses "1.2" for uname -r.
12.269 + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
12.270 + exit ;;
12.271 + Alpha\ *:Windows_NT*:*)
12.272 + # How do we know it's Interix rather than the generic POSIX subsystem?
12.273 + # Should we change UNAME_MACHINE based on the output of uname instead
12.274 + # of the specific Alpha model?
12.275 + echo alpha-pc-interix
12.276 + exit ;;
12.277 + 21064:Windows_NT:50:3)
12.278 + echo alpha-dec-winnt3.5
12.279 + exit ;;
12.280 + Amiga*:UNIX_System_V:4.0:*)
12.281 + echo m68k-unknown-sysv4
12.282 + exit ;;
12.283 + *:[Aa]miga[Oo][Ss]:*:*)
12.284 + echo ${UNAME_MACHINE}-unknown-amigaos
12.285 + exit ;;
12.286 + *:[Mm]orph[Oo][Ss]:*:*)
12.287 + echo ${UNAME_MACHINE}-unknown-morphos
12.288 + exit ;;
12.289 + *:OS/390:*:*)
12.290 + echo i370-ibm-openedition
12.291 + exit ;;
12.292 + *:z/VM:*:*)
12.293 + echo s390-ibm-zvmoe
12.294 + exit ;;
12.295 + *:OS400:*:*)
12.296 + echo powerpc-ibm-os400
12.297 + exit ;;
12.298 + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
12.299 + echo arm-acorn-riscix${UNAME_RELEASE}
12.300 + exit ;;
12.301 + arm:riscos:*:*|arm:RISCOS:*:*)
12.302 + echo arm-unknown-riscos
12.303 + exit ;;
12.304 + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
12.305 + echo hppa1.1-hitachi-hiuxmpp
12.306 + exit ;;
12.307 + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
12.308 + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
12.309 + if test "`(/bin/universe) 2>/dev/null`" = att ; then
12.310 + echo pyramid-pyramid-sysv3
12.311 + else
12.312 + echo pyramid-pyramid-bsd
12.313 + fi
12.314 + exit ;;
12.315 + NILE*:*:*:dcosx)
12.316 + echo pyramid-pyramid-svr4
12.317 + exit ;;
12.318 + DRS?6000:unix:4.0:6*)
12.319 + echo sparc-icl-nx6
12.320 + exit ;;
12.321 + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
12.322 + case `/usr/bin/uname -p` in
12.323 + sparc) echo sparc-icl-nx7; exit ;;
12.324 + esac ;;
12.325 + sun4H:SunOS:5.*:*)
12.326 + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
12.327 + exit ;;
12.328 + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
12.329 + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
12.330 + exit ;;
12.331 + i86pc:SunOS:5.*:*)
12.332 + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
12.333 + exit ;;
12.334 + sun4*:SunOS:6*:*)
12.335 + # According to config.sub, this is the proper way to canonicalize
12.336 + # SunOS6. Hard to guess exactly what SunOS6 will be like, but
12.337 + # it's likely to be more like Solaris than SunOS4.
12.338 + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
12.339 + exit ;;
12.340 + sun4*:SunOS:*:*)
12.341 + case "`/usr/bin/arch -k`" in
12.342 + Series*|S4*)
12.343 + UNAME_RELEASE=`uname -v`
12.344 + ;;
12.345 + esac
12.346 + # Japanese Language versions have a version number like `4.1.3-JL'.
12.347 + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
12.348 + exit ;;
12.349 + sun3*:SunOS:*:*)
12.350 + echo m68k-sun-sunos${UNAME_RELEASE}
12.351 + exit ;;
12.352 + sun*:*:4.2BSD:*)
12.353 + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
12.354 + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
12.355 + case "`/bin/arch`" in
12.356 + sun3)
12.357 + echo m68k-sun-sunos${UNAME_RELEASE}
12.358 + ;;
12.359 + sun4)
12.360 + echo sparc-sun-sunos${UNAME_RELEASE}
12.361 + ;;
12.362 + esac
12.363 + exit ;;
12.364 + aushp:SunOS:*:*)
12.365 + echo sparc-auspex-sunos${UNAME_RELEASE}
12.366 + exit ;;
12.367 + # The situation for MiNT is a little confusing. The machine name
12.368 + # can be virtually everything (everything which is not
12.369 + # "atarist" or "atariste" at least should have a processor
12.370 + # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
12.371 + # to the lowercase version "mint" (or "freemint"). Finally
12.372 + # the system name "TOS" denotes a system which is actually not
12.373 + # MiNT. But MiNT is downward compatible to TOS, so this should
12.374 + # be no problem.
12.375 + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
12.376 + echo m68k-atari-mint${UNAME_RELEASE}
12.377 + exit ;;
12.378 + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
12.379 + echo m68k-atari-mint${UNAME_RELEASE}
12.380 + exit ;;
12.381 + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
12.382 + echo m68k-atari-mint${UNAME_RELEASE}
12.383 + exit ;;
12.384 + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
12.385 + echo m68k-milan-mint${UNAME_RELEASE}
12.386 + exit ;;
12.387 + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
12.388 + echo m68k-hades-mint${UNAME_RELEASE}
12.389 + exit ;;
12.390 + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
12.391 + echo m68k-unknown-mint${UNAME_RELEASE}
12.392 + exit ;;
12.393 + m68k:machten:*:*)
12.394 + echo m68k-apple-machten${UNAME_RELEASE}
12.395 + exit ;;
12.396 + powerpc:machten:*:*)
12.397 + echo powerpc-apple-machten${UNAME_RELEASE}
12.398 + exit ;;
12.399 + RISC*:Mach:*:*)
12.400 + echo mips-dec-mach_bsd4.3
12.401 + exit ;;
12.402 + RISC*:ULTRIX:*:*)
12.403 + echo mips-dec-ultrix${UNAME_RELEASE}
12.404 + exit ;;
12.405 + VAX*:ULTRIX*:*:*)
12.406 + echo vax-dec-ultrix${UNAME_RELEASE}
12.407 + exit ;;
12.408 + 2020:CLIX:*:* | 2430:CLIX:*:*)
12.409 + echo clipper-intergraph-clix${UNAME_RELEASE}
12.410 + exit ;;
12.411 + mips:*:*:UMIPS | mips:*:*:RISCos)
12.412 + eval $set_cc_for_build
12.413 + sed 's/^ //' << EOF >$dummy.c
12.414 +#ifdef __cplusplus
12.415 +#include <stdio.h> /* for printf() prototype */
12.416 + int main (int argc, char *argv[]) {
12.417 +#else
12.418 + int main (argc, argv) int argc; char *argv[]; {
12.419 +#endif
12.420 + #if defined (host_mips) && defined (MIPSEB)
12.421 + #if defined (SYSTYPE_SYSV)
12.422 + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
12.423 + #endif
12.424 + #if defined (SYSTYPE_SVR4)
12.425 + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
12.426 + #endif
12.427 + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
12.428 + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
12.429 + #endif
12.430 + #endif
12.431 + exit (-1);
12.432 + }
12.433 +EOF
12.434 + $CC_FOR_BUILD -o $dummy $dummy.c &&
12.435 + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
12.436 + SYSTEM_NAME=`$dummy $dummyarg` &&
12.437 + { echo "$SYSTEM_NAME"; exit; }
12.438 + echo mips-mips-riscos${UNAME_RELEASE}
12.439 + exit ;;
12.440 + Motorola:PowerMAX_OS:*:*)
12.441 + echo powerpc-motorola-powermax
12.442 + exit ;;
12.443 + Motorola:*:4.3:PL8-*)
12.444 + echo powerpc-harris-powermax
12.445 + exit ;;
12.446 + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
12.447 + echo powerpc-harris-powermax
12.448 + exit ;;
12.449 + Night_Hawk:Power_UNIX:*:*)
12.450 + echo powerpc-harris-powerunix
12.451 + exit ;;
12.452 + m88k:CX/UX:7*:*)
12.453 + echo m88k-harris-cxux7
12.454 + exit ;;
12.455 + m88k:*:4*:R4*)
12.456 + echo m88k-motorola-sysv4
12.457 + exit ;;
12.458 + m88k:*:3*:R3*)
12.459 + echo m88k-motorola-sysv3
12.460 + exit ;;
12.461 + AViiON:dgux:*:*)
12.462 + # DG/UX returns AViiON for all architectures
12.463 + UNAME_PROCESSOR=`/usr/bin/uname -p`
12.464 + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
12.465 + then
12.466 + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
12.467 + [ ${TARGET_BINARY_INTERFACE}x = x ]
12.468 + then
12.469 + echo m88k-dg-dgux${UNAME_RELEASE}
12.470 + else
12.471 + echo m88k-dg-dguxbcs${UNAME_RELEASE}
12.472 + fi
12.473 + else
12.474 + echo i586-dg-dgux${UNAME_RELEASE}
12.475 + fi
12.476 + exit ;;
12.477 + M88*:DolphinOS:*:*) # DolphinOS (SVR3)
12.478 + echo m88k-dolphin-sysv3
12.479 + exit ;;
12.480 + M88*:*:R3*:*)
12.481 + # Delta 88k system running SVR3
12.482 + echo m88k-motorola-sysv3
12.483 + exit ;;
12.484 + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
12.485 + echo m88k-tektronix-sysv3
12.486 + exit ;;
12.487 + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
12.488 + echo m68k-tektronix-bsd
12.489 + exit ;;
12.490 + *:IRIX*:*:*)
12.491 + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
12.492 + exit ;;
12.493 + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
12.494 + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
12.495 + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
12.496 + i*86:AIX:*:*)
12.497 + echo i386-ibm-aix
12.498 + exit ;;
12.499 + ia64:AIX:*:*)
12.500 + if [ -x /usr/bin/oslevel ] ; then
12.501 + IBM_REV=`/usr/bin/oslevel`
12.502 + else
12.503 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
12.504 + fi
12.505 + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
12.506 + exit ;;
12.507 + *:AIX:2:3)
12.508 + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
12.509 + eval $set_cc_for_build
12.510 + sed 's/^ //' << EOF >$dummy.c
12.511 + #include <sys/systemcfg.h>
12.512 +
12.513 + main()
12.514 + {
12.515 + if (!__power_pc())
12.516 + exit(1);
12.517 + puts("powerpc-ibm-aix3.2.5");
12.518 + exit(0);
12.519 + }
12.520 +EOF
12.521 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
12.522 + then
12.523 + echo "$SYSTEM_NAME"
12.524 + else
12.525 + echo rs6000-ibm-aix3.2.5
12.526 + fi
12.527 + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
12.528 + echo rs6000-ibm-aix3.2.4
12.529 + else
12.530 + echo rs6000-ibm-aix3.2
12.531 + fi
12.532 + exit ;;
12.533 + *:AIX:*:[45])
12.534 + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
12.535 + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
12.536 + IBM_ARCH=rs6000
12.537 + else
12.538 + IBM_ARCH=powerpc
12.539 + fi
12.540 + if [ -x /usr/bin/oslevel ] ; then
12.541 + IBM_REV=`/usr/bin/oslevel`
12.542 + else
12.543 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
12.544 + fi
12.545 + echo ${IBM_ARCH}-ibm-aix${IBM_REV}
12.546 + exit ;;
12.547 + *:AIX:*:*)
12.548 + echo rs6000-ibm-aix
12.549 + exit ;;
12.550 + ibmrt:4.4BSD:*|romp-ibm:BSD:*)
12.551 + echo romp-ibm-bsd4.4
12.552 + exit ;;
12.553 + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
12.554 + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
12.555 + exit ;; # report: romp-ibm BSD 4.3
12.556 + *:BOSX:*:*)
12.557 + echo rs6000-bull-bosx
12.558 + exit ;;
12.559 + DPX/2?00:B.O.S.:*:*)
12.560 + echo m68k-bull-sysv3
12.561 + exit ;;
12.562 + 9000/[34]??:4.3bsd:1.*:*)
12.563 + echo m68k-hp-bsd
12.564 + exit ;;
12.565 + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
12.566 + echo m68k-hp-bsd4.4
12.567 + exit ;;
12.568 + 9000/[34678]??:HP-UX:*:*)
12.569 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
12.570 + case "${UNAME_MACHINE}" in
12.571 + 9000/31? ) HP_ARCH=m68000 ;;
12.572 + 9000/[34]?? ) HP_ARCH=m68k ;;
12.573 + 9000/[678][0-9][0-9])
12.574 + if [ -x /usr/bin/getconf ]; then
12.575 + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
12.576 + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
12.577 + case "${sc_cpu_version}" in
12.578 + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
12.579 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
12.580 + 532) # CPU_PA_RISC2_0
12.581 + case "${sc_kernel_bits}" in
12.582 + 32) HP_ARCH="hppa2.0n" ;;
12.583 + 64) HP_ARCH="hppa2.0w" ;;
12.584 + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
12.585 + esac ;;
12.586 + esac
12.587 + fi
12.588 + if [ "${HP_ARCH}" = "" ]; then
12.589 + eval $set_cc_for_build
12.590 + sed 's/^ //' << EOF >$dummy.c
12.591 +
12.592 + #define _HPUX_SOURCE
12.593 + #include <stdlib.h>
12.594 + #include <unistd.h>
12.595 +
12.596 + int main ()
12.597 + {
12.598 + #if defined(_SC_KERNEL_BITS)
12.599 + long bits = sysconf(_SC_KERNEL_BITS);
12.600 + #endif
12.601 + long cpu = sysconf (_SC_CPU_VERSION);
12.602 +
12.603 + switch (cpu)
12.604 + {
12.605 + case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
12.606 + case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
12.607 + case CPU_PA_RISC2_0:
12.608 + #if defined(_SC_KERNEL_BITS)
12.609 + switch (bits)
12.610 + {
12.611 + case 64: puts ("hppa2.0w"); break;
12.612 + case 32: puts ("hppa2.0n"); break;
12.613 + default: puts ("hppa2.0"); break;
12.614 + } break;
12.615 + #else /* !defined(_SC_KERNEL_BITS) */
12.616 + puts ("hppa2.0"); break;
12.617 + #endif
12.618 + default: puts ("hppa1.0"); break;
12.619 + }
12.620 + exit (0);
12.621 + }
12.622 +EOF
12.623 + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
12.624 + test -z "$HP_ARCH" && HP_ARCH=hppa
12.625 + fi ;;
12.626 + esac
12.627 + if [ ${HP_ARCH} = "hppa2.0w" ]
12.628 + then
12.629 + eval $set_cc_for_build
12.630 +
12.631 + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
12.632 + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
12.633 + # generating 64-bit code. GNU and HP use different nomenclature:
12.634 + #
12.635 + # $ CC_FOR_BUILD=cc ./config.guess
12.636 + # => hppa2.0w-hp-hpux11.23
12.637 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
12.638 + # => hppa64-hp-hpux11.23
12.639 +
12.640 + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
12.641 + grep __LP64__ >/dev/null
12.642 + then
12.643 + HP_ARCH="hppa2.0w"
12.644 + else
12.645 + HP_ARCH="hppa64"
12.646 + fi
12.647 + fi
12.648 + echo ${HP_ARCH}-hp-hpux${HPUX_REV}
12.649 + exit ;;
12.650 + ia64:HP-UX:*:*)
12.651 + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
12.652 + echo ia64-hp-hpux${HPUX_REV}
12.653 + exit ;;
12.654 + 3050*:HI-UX:*:*)
12.655 + eval $set_cc_for_build
12.656 + sed 's/^ //' << EOF >$dummy.c
12.657 + #include <unistd.h>
12.658 + int
12.659 + main ()
12.660 + {
12.661 + long cpu = sysconf (_SC_CPU_VERSION);
12.662 + /* The order matters, because CPU_IS_HP_MC68K erroneously returns
12.663 + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
12.664 + results, however. */
12.665 + if (CPU_IS_PA_RISC (cpu))
12.666 + {
12.667 + switch (cpu)
12.668 + {
12.669 + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
12.670 + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
12.671 + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
12.672 + default: puts ("hppa-hitachi-hiuxwe2"); break;
12.673 + }
12.674 + }
12.675 + else if (CPU_IS_HP_MC68K (cpu))
12.676 + puts ("m68k-hitachi-hiuxwe2");
12.677 + else puts ("unknown-hitachi-hiuxwe2");
12.678 + exit (0);
12.679 + }
12.680 +EOF
12.681 + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
12.682 + { echo "$SYSTEM_NAME"; exit; }
12.683 + echo unknown-hitachi-hiuxwe2
12.684 + exit ;;
12.685 + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
12.686 + echo hppa1.1-hp-bsd
12.687 + exit ;;
12.688 + 9000/8??:4.3bsd:*:*)
12.689 + echo hppa1.0-hp-bsd
12.690 + exit ;;
12.691 + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
12.692 + echo hppa1.0-hp-mpeix
12.693 + exit ;;
12.694 + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
12.695 + echo hppa1.1-hp-osf
12.696 + exit ;;
12.697 + hp8??:OSF1:*:*)
12.698 + echo hppa1.0-hp-osf
12.699 + exit ;;
12.700 + i*86:OSF1:*:*)
12.701 + if [ -x /usr/sbin/sysversion ] ; then
12.702 + echo ${UNAME_MACHINE}-unknown-osf1mk
12.703 + else
12.704 + echo ${UNAME_MACHINE}-unknown-osf1
12.705 + fi
12.706 + exit ;;
12.707 + parisc*:Lites*:*:*)
12.708 + echo hppa1.1-hp-lites
12.709 + exit ;;
12.710 + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
12.711 + echo c1-convex-bsd
12.712 + exit ;;
12.713 + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
12.714 + if getsysinfo -f scalar_acc
12.715 + then echo c32-convex-bsd
12.716 + else echo c2-convex-bsd
12.717 + fi
12.718 + exit ;;
12.719 + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
12.720 + echo c34-convex-bsd
12.721 + exit ;;
12.722 + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
12.723 + echo c38-convex-bsd
12.724 + exit ;;
12.725 + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
12.726 + echo c4-convex-bsd
12.727 + exit ;;
12.728 + CRAY*Y-MP:*:*:*)
12.729 + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
12.730 + exit ;;
12.731 + CRAY*[A-Z]90:*:*:*)
12.732 + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
12.733 + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
12.734 + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
12.735 + -e 's/\.[^.]*$/.X/'
12.736 + exit ;;
12.737 + CRAY*TS:*:*:*)
12.738 + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
12.739 + exit ;;
12.740 + CRAY*T3E:*:*:*)
12.741 + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
12.742 + exit ;;
12.743 + CRAY*SV1:*:*:*)
12.744 + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
12.745 + exit ;;
12.746 + *:UNICOS/mp:*:*)
12.747 + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
12.748 + exit ;;
12.749 + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
12.750 + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
12.751 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
12.752 + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
12.753 + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
12.754 + exit ;;
12.755 + 5000:UNIX_System_V:4.*:*)
12.756 + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
12.757 + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
12.758 + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
12.759 + exit ;;
12.760 + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
12.761 + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
12.762 + exit ;;
12.763 + sparc*:BSD/OS:*:*)
12.764 + echo sparc-unknown-bsdi${UNAME_RELEASE}
12.765 + exit ;;
12.766 + *:BSD/OS:*:*)
12.767 + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
12.768 + exit ;;
12.769 + *:FreeBSD:*:*)
12.770 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
12.771 + exit ;;
12.772 + i*:CYGWIN*:*)
12.773 + echo ${UNAME_MACHINE}-pc-cygwin
12.774 + exit ;;
12.775 + i*:MINGW*:*)
12.776 + echo ${UNAME_MACHINE}-pc-mingw32
12.777 + exit ;;
12.778 + i*:windows32*:*)
12.779 + # uname -m includes "-pc" on this system.
12.780 + echo ${UNAME_MACHINE}-mingw32
12.781 + exit ;;
12.782 + i*:PW*:*)
12.783 + echo ${UNAME_MACHINE}-pc-pw32
12.784 + exit ;;
12.785 + x86:Interix*:[34]*)
12.786 + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
12.787 + exit ;;
12.788 + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
12.789 + echo i${UNAME_MACHINE}-pc-mks
12.790 + exit ;;
12.791 + i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
12.792 + # How do we know it's Interix rather than the generic POSIX subsystem?
12.793 + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
12.794 + # UNAME_MACHINE based on the output of uname instead of i386?
12.795 + echo i586-pc-interix
12.796 + exit ;;
12.797 + i*:UWIN*:*)
12.798 + echo ${UNAME_MACHINE}-pc-uwin
12.799 + exit ;;
12.800 + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
12.801 + echo x86_64-unknown-cygwin
12.802 + exit ;;
12.803 + p*:CYGWIN*:*)
12.804 + echo powerpcle-unknown-cygwin
12.805 + exit ;;
12.806 + prep*:SunOS:5.*:*)
12.807 + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
12.808 + exit ;;
12.809 + *:GNU:*:*)
12.810 + # the GNU system
12.811 + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
12.812 + exit ;;
12.813 + *:GNU/*:*:*)
12.814 + # other systems with GNU libc and userland
12.815 + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
12.816 + exit ;;
12.817 + i*86:Minix:*:*)
12.818 + echo ${UNAME_MACHINE}-pc-minix
12.819 + exit ;;
12.820 + arm*:Linux:*:*)
12.821 + echo ${UNAME_MACHINE}-unknown-linux-gnu
12.822 + exit ;;
12.823 + cris:Linux:*:*)
12.824 + echo cris-axis-linux-gnu
12.825 + exit ;;
12.826 + crisv32:Linux:*:*)
12.827 + echo crisv32-axis-linux-gnu
12.828 + exit ;;
12.829 + frv:Linux:*:*)
12.830 + echo frv-unknown-linux-gnu
12.831 + exit ;;
12.832 + ia64:Linux:*:*)
12.833 + echo ${UNAME_MACHINE}-unknown-linux-gnu
12.834 + exit ;;
12.835 + m32r*:Linux:*:*)
12.836 + echo ${UNAME_MACHINE}-unknown-linux-gnu
12.837 + exit ;;
12.838 + m68*:Linux:*:*)
12.839 + echo ${UNAME_MACHINE}-unknown-linux-gnu
12.840 + exit ;;
12.841 + mips:Linux:*:*)
12.842 + eval $set_cc_for_build
12.843 + sed 's/^ //' << EOF >$dummy.c
12.844 + #undef CPU
12.845 + #undef mips
12.846 + #undef mipsel
12.847 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
12.848 + CPU=mipsel
12.849 + #else
12.850 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
12.851 + CPU=mips
12.852 + #else
12.853 + CPU=
12.854 + #endif
12.855 + #endif
12.856 +EOF
12.857 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
12.858 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
12.859 + ;;
12.860 + mips64:Linux:*:*)
12.861 + eval $set_cc_for_build
12.862 + sed 's/^ //' << EOF >$dummy.c
12.863 + #undef CPU
12.864 + #undef mips64
12.865 + #undef mips64el
12.866 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
12.867 + CPU=mips64el
12.868 + #else
12.869 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
12.870 + CPU=mips64
12.871 + #else
12.872 + CPU=
12.873 + #endif
12.874 + #endif
12.875 +EOF
12.876 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
12.877 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
12.878 + ;;
12.879 + or32:Linux:*:*)
12.880 + echo or32-unknown-linux-gnu
12.881 + exit ;;
12.882 + ppc:Linux:*:*)
12.883 + echo powerpc-unknown-linux-gnu
12.884 + exit ;;
12.885 + ppc64:Linux:*:*)
12.886 + echo powerpc64-unknown-linux-gnu
12.887 + exit ;;
12.888 + alpha:Linux:*:*)
12.889 + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
12.890 + EV5) UNAME_MACHINE=alphaev5 ;;
12.891 + EV56) UNAME_MACHINE=alphaev56 ;;
12.892 + PCA56) UNAME_MACHINE=alphapca56 ;;
12.893 + PCA57) UNAME_MACHINE=alphapca56 ;;
12.894 + EV6) UNAME_MACHINE=alphaev6 ;;
12.895 + EV67) UNAME_MACHINE=alphaev67 ;;
12.896 + EV68*) UNAME_MACHINE=alphaev68 ;;
12.897 + esac
12.898 + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
12.899 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
12.900 + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
12.901 + exit ;;
12.902 + parisc:Linux:*:* | hppa:Linux:*:*)
12.903 + # Look for CPU level
12.904 + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
12.905 + PA7*) echo hppa1.1-unknown-linux-gnu ;;
12.906 + PA8*) echo hppa2.0-unknown-linux-gnu ;;
12.907 + *) echo hppa-unknown-linux-gnu ;;
12.908 + esac
12.909 + exit ;;
12.910 + parisc64:Linux:*:* | hppa64:Linux:*:*)
12.911 + echo hppa64-unknown-linux-gnu
12.912 + exit ;;
12.913 + s390:Linux:*:* | s390x:Linux:*:*)
12.914 + echo ${UNAME_MACHINE}-ibm-linux
12.915 + exit ;;
12.916 + sh64*:Linux:*:*)
12.917 + echo ${UNAME_MACHINE}-unknown-linux-gnu
12.918 + exit ;;
12.919 + sh*:Linux:*:*)
12.920 + echo ${UNAME_MACHINE}-unknown-linux-gnu
12.921 + exit ;;
12.922 + sparc:Linux:*:* | sparc64:Linux:*:*)
12.923 + echo ${UNAME_MACHINE}-unknown-linux-gnu
12.924 + exit ;;
12.925 + x86_64:Linux:*:*)
12.926 + echo x86_64-unknown-linux-gnu
12.927 + exit ;;
12.928 + i*86:Linux:*:*)
12.929 + # The BFD linker knows what the default object file format is, so
12.930 + # first see if it will tell us. cd to the root directory to prevent
12.931 + # problems with other programs or directories called `ld' in the path.
12.932 + # Set LC_ALL=C to ensure ld outputs messages in English.
12.933 + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
12.934 + | sed -ne '/supported targets:/!d
12.935 + s/[ ][ ]*/ /g
12.936 + s/.*supported targets: *//
12.937 + s/ .*//
12.938 + p'`
12.939 + case "$ld_supported_targets" in
12.940 + elf32-i386)
12.941 + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
12.942 + ;;
12.943 + a.out-i386-linux)
12.944 + echo "${UNAME_MACHINE}-pc-linux-gnuaout"
12.945 + exit ;;
12.946 + coff-i386)
12.947 + echo "${UNAME_MACHINE}-pc-linux-gnucoff"
12.948 + exit ;;
12.949 + "")
12.950 + # Either a pre-BFD a.out linker (linux-gnuoldld) or
12.951 + # one that does not give us useful --help.
12.952 + echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
12.953 + exit ;;
12.954 + esac
12.955 + # Determine whether the default compiler is a.out or elf
12.956 + eval $set_cc_for_build
12.957 + sed 's/^ //' << EOF >$dummy.c
12.958 + #include <features.h>
12.959 + #ifdef __ELF__
12.960 + # ifdef __GLIBC__
12.961 + # if __GLIBC__ >= 2
12.962 + LIBC=gnu
12.963 + # else
12.964 + LIBC=gnulibc1
12.965 + # endif
12.966 + # else
12.967 + LIBC=gnulibc1
12.968 + # endif
12.969 + #else
12.970 + #ifdef __INTEL_COMPILER
12.971 + LIBC=gnu
12.972 + #else
12.973 + LIBC=gnuaout
12.974 + #endif
12.975 + #endif
12.976 + #ifdef __dietlibc__
12.977 + LIBC=dietlibc
12.978 + #endif
12.979 +EOF
12.980 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
12.981 + test x"${LIBC}" != x && {
12.982 + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
12.983 + exit
12.984 + }
12.985 + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
12.986 + ;;
12.987 + i*86:DYNIX/ptx:4*:*)
12.988 + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
12.989 + # earlier versions are messed up and put the nodename in both
12.990 + # sysname and nodename.
12.991 + echo i386-sequent-sysv4
12.992 + exit ;;
12.993 + i*86:UNIX_SV:4.2MP:2.*)
12.994 + # Unixware is an offshoot of SVR4, but it has its own version
12.995 + # number series starting with 2...
12.996 + # I am not positive that other SVR4 systems won't match this,
12.997 + # I just have to hope. -- rms.
12.998 + # Use sysv4.2uw... so that sysv4* matches it.
12.999 + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
12.1000 + exit ;;
12.1001 + i*86:OS/2:*:*)
12.1002 + # If we were able to find `uname', then EMX Unix compatibility
12.1003 + # is probably installed.
12.1004 + echo ${UNAME_MACHINE}-pc-os2-emx
12.1005 + exit ;;
12.1006 + i*86:XTS-300:*:STOP)
12.1007 + echo ${UNAME_MACHINE}-unknown-stop
12.1008 + exit ;;
12.1009 + i*86:atheos:*:*)
12.1010 + echo ${UNAME_MACHINE}-unknown-atheos
12.1011 + exit ;;
12.1012 + i*86:syllable:*:*)
12.1013 + echo ${UNAME_MACHINE}-pc-syllable
12.1014 + exit ;;
12.1015 + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
12.1016 + echo i386-unknown-lynxos${UNAME_RELEASE}
12.1017 + exit ;;
12.1018 + i*86:*DOS:*:*)
12.1019 + echo ${UNAME_MACHINE}-pc-msdosdjgpp
12.1020 + exit ;;
12.1021 + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
12.1022 + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
12.1023 + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
12.1024 + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
12.1025 + else
12.1026 + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
12.1027 + fi
12.1028 + exit ;;
12.1029 + i*86:*:5:[678]*)
12.1030 + # UnixWare 7.x, OpenUNIX and OpenServer 6.
12.1031 + case `/bin/uname -X | grep "^Machine"` in
12.1032 + *486*) UNAME_MACHINE=i486 ;;
12.1033 + *Pentium) UNAME_MACHINE=i586 ;;
12.1034 + *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
12.1035 + esac
12.1036 + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
12.1037 + exit ;;
12.1038 + i*86:*:3.2:*)
12.1039 + if test -f /usr/options/cb.name; then
12.1040 + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
12.1041 + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
12.1042 + elif /bin/uname -X 2>/dev/null >/dev/null ; then
12.1043 + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
12.1044 + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
12.1045 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
12.1046 + && UNAME_MACHINE=i586
12.1047 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
12.1048 + && UNAME_MACHINE=i686
12.1049 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
12.1050 + && UNAME_MACHINE=i686
12.1051 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
12.1052 + else
12.1053 + echo ${UNAME_MACHINE}-pc-sysv32
12.1054 + fi
12.1055 + exit ;;
12.1056 + pc:*:*:*)
12.1057 + # Left here for compatibility:
12.1058 + # uname -m prints for DJGPP always 'pc', but it prints nothing about
12.1059 + # the processor, so we play safe by assuming i386.
12.1060 + echo i386-pc-msdosdjgpp
12.1061 + exit ;;
12.1062 + Intel:Mach:3*:*)
12.1063 + echo i386-pc-mach3
12.1064 + exit ;;
12.1065 + paragon:*:*:*)
12.1066 + echo i860-intel-osf1
12.1067 + exit ;;
12.1068 + i860:*:4.*:*) # i860-SVR4
12.1069 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
12.1070 + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
12.1071 + else # Add other i860-SVR4 vendors below as they are discovered.
12.1072 + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
12.1073 + fi
12.1074 + exit ;;
12.1075 + mini*:CTIX:SYS*5:*)
12.1076 + # "miniframe"
12.1077 + echo m68010-convergent-sysv
12.1078 + exit ;;
12.1079 + mc68k:UNIX:SYSTEM5:3.51m)
12.1080 + echo m68k-convergent-sysv
12.1081 + exit ;;
12.1082 + M680?0:D-NIX:5.3:*)
12.1083 + echo m68k-diab-dnix
12.1084 + exit ;;
12.1085 + M68*:*:R3V[5678]*:*)
12.1086 + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
12.1087 + 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)
12.1088 + OS_REL=''
12.1089 + test -r /etc/.relid \
12.1090 + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
12.1091 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
12.1092 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
12.1093 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
12.1094 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
12.1095 + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
12.1096 + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
12.1097 + && { echo i486-ncr-sysv4; exit; } ;;
12.1098 + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
12.1099 + echo m68k-unknown-lynxos${UNAME_RELEASE}
12.1100 + exit ;;
12.1101 + mc68030:UNIX_System_V:4.*:*)
12.1102 + echo m68k-atari-sysv4
12.1103 + exit ;;
12.1104 + TSUNAMI:LynxOS:2.*:*)
12.1105 + echo sparc-unknown-lynxos${UNAME_RELEASE}
12.1106 + exit ;;
12.1107 + rs6000:LynxOS:2.*:*)
12.1108 + echo rs6000-unknown-lynxos${UNAME_RELEASE}
12.1109 + exit ;;
12.1110 + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
12.1111 + echo powerpc-unknown-lynxos${UNAME_RELEASE}
12.1112 + exit ;;
12.1113 + SM[BE]S:UNIX_SV:*:*)
12.1114 + echo mips-dde-sysv${UNAME_RELEASE}
12.1115 + exit ;;
12.1116 + RM*:ReliantUNIX-*:*:*)
12.1117 + echo mips-sni-sysv4
12.1118 + exit ;;
12.1119 + RM*:SINIX-*:*:*)
12.1120 + echo mips-sni-sysv4
12.1121 + exit ;;
12.1122 + *:SINIX-*:*:*)
12.1123 + if uname -p 2>/dev/null >/dev/null ; then
12.1124 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
12.1125 + echo ${UNAME_MACHINE}-sni-sysv4
12.1126 + else
12.1127 + echo ns32k-sni-sysv
12.1128 + fi
12.1129 + exit ;;
12.1130 + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
12.1131 + # says <Richard.M.Bartel@ccMail.Census.GOV>
12.1132 + echo i586-unisys-sysv4
12.1133 + exit ;;
12.1134 + *:UNIX_System_V:4*:FTX*)
12.1135 + # From Gerald Hewes <hewes@openmarket.com>.
12.1136 + # How about differentiating between stratus architectures? -djm
12.1137 + echo hppa1.1-stratus-sysv4
12.1138 + exit ;;
12.1139 + *:*:*:FTX*)
12.1140 + # From seanf@swdc.stratus.com.
12.1141 + echo i860-stratus-sysv4
12.1142 + exit ;;
12.1143 + i*86:VOS:*:*)
12.1144 + # From Paul.Green@stratus.com.
12.1145 + echo ${UNAME_MACHINE}-stratus-vos
12.1146 + exit ;;
12.1147 + *:VOS:*:*)
12.1148 + # From Paul.Green@stratus.com.
12.1149 + echo hppa1.1-stratus-vos
12.1150 + exit ;;
12.1151 + mc68*:A/UX:*:*)
12.1152 + echo m68k-apple-aux${UNAME_RELEASE}
12.1153 + exit ;;
12.1154 + news*:NEWS-OS:6*:*)
12.1155 + echo mips-sony-newsos6
12.1156 + exit ;;
12.1157 + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
12.1158 + if [ -d /usr/nec ]; then
12.1159 + echo mips-nec-sysv${UNAME_RELEASE}
12.1160 + else
12.1161 + echo mips-unknown-sysv${UNAME_RELEASE}
12.1162 + fi
12.1163 + exit ;;
12.1164 + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
12.1165 + echo powerpc-be-beos
12.1166 + exit ;;
12.1167 + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
12.1168 + echo powerpc-apple-beos
12.1169 + exit ;;
12.1170 + BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
12.1171 + echo i586-pc-beos
12.1172 + exit ;;
12.1173 + SX-4:SUPER-UX:*:*)
12.1174 + echo sx4-nec-superux${UNAME_RELEASE}
12.1175 + exit ;;
12.1176 + SX-5:SUPER-UX:*:*)
12.1177 + echo sx5-nec-superux${UNAME_RELEASE}
12.1178 + exit ;;
12.1179 + SX-6:SUPER-UX:*:*)
12.1180 + echo sx6-nec-superux${UNAME_RELEASE}
12.1181 + exit ;;
12.1182 + Power*:Rhapsody:*:*)
12.1183 + echo powerpc-apple-rhapsody${UNAME_RELEASE}
12.1184 + exit ;;
12.1185 + *:Rhapsody:*:*)
12.1186 + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
12.1187 + exit ;;
12.1188 + *:Darwin:*:*)
12.1189 + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
12.1190 + case $UNAME_PROCESSOR in
12.1191 + *86) UNAME_PROCESSOR=i686 ;;
12.1192 + unknown) UNAME_PROCESSOR=powerpc ;;
12.1193 + esac
12.1194 + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
12.1195 + exit ;;
12.1196 + *:procnto*:*:* | *:QNX:[0123456789]*:*)
12.1197 + UNAME_PROCESSOR=`uname -p`
12.1198 + if test "$UNAME_PROCESSOR" = "x86"; then
12.1199 + UNAME_PROCESSOR=i386
12.1200 + UNAME_MACHINE=pc
12.1201 + fi
12.1202 + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
12.1203 + exit ;;
12.1204 + *:QNX:*:4*)
12.1205 + echo i386-pc-qnx
12.1206 + exit ;;
12.1207 + NSE-?:NONSTOP_KERNEL:*:*)
12.1208 + echo nse-tandem-nsk${UNAME_RELEASE}
12.1209 + exit ;;
12.1210 + NSR-?:NONSTOP_KERNEL:*:*)
12.1211 + echo nsr-tandem-nsk${UNAME_RELEASE}
12.1212 + exit ;;
12.1213 + *:NonStop-UX:*:*)
12.1214 + echo mips-compaq-nonstopux
12.1215 + exit ;;
12.1216 + BS2000:POSIX*:*:*)
12.1217 + echo bs2000-siemens-sysv
12.1218 + exit ;;
12.1219 + DS/*:UNIX_System_V:*:*)
12.1220 + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
12.1221 + exit ;;
12.1222 + *:Plan9:*:*)
12.1223 + # "uname -m" is not consistent, so use $cputype instead. 386
12.1224 + # is converted to i386 for consistency with other x86
12.1225 + # operating systems.
12.1226 + if test "$cputype" = "386"; then
12.1227 + UNAME_MACHINE=i386
12.1228 + else
12.1229 + UNAME_MACHINE="$cputype"
12.1230 + fi
12.1231 + echo ${UNAME_MACHINE}-unknown-plan9
12.1232 + exit ;;
12.1233 + *:TOPS-10:*:*)
12.1234 + echo pdp10-unknown-tops10
12.1235 + exit ;;
12.1236 + *:TENEX:*:*)
12.1237 + echo pdp10-unknown-tenex
12.1238 + exit ;;
12.1239 + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
12.1240 + echo pdp10-dec-tops20
12.1241 + exit ;;
12.1242 + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
12.1243 + echo pdp10-xkl-tops20
12.1244 + exit ;;
12.1245 + *:TOPS-20:*:*)
12.1246 + echo pdp10-unknown-tops20
12.1247 + exit ;;
12.1248 + *:ITS:*:*)
12.1249 + echo pdp10-unknown-its
12.1250 + exit ;;
12.1251 + SEI:*:*:SEIUX)
12.1252 + echo mips-sei-seiux${UNAME_RELEASE}
12.1253 + exit ;;
12.1254 + *:DragonFly:*:*)
12.1255 + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
12.1256 + exit ;;
12.1257 + *:*VMS:*:*)
12.1258 + UNAME_MACHINE=`(uname -p) 2>/dev/null`
12.1259 + case "${UNAME_MACHINE}" in
12.1260 + A*) echo alpha-dec-vms ; exit ;;
12.1261 + I*) echo ia64-dec-vms ; exit ;;
12.1262 + V*) echo vax-dec-vms ; exit ;;
12.1263 + esac ;;
12.1264 + *:XENIX:*:SysV)
12.1265 + echo i386-pc-xenix
12.1266 + exit ;;
12.1267 + i*86:skyos:*:*)
12.1268 + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
12.1269 + exit ;;
12.1270 +esac
12.1271 +
12.1272 +#echo '(No uname command or uname output not recognized.)' 1>&2
12.1273 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
12.1274 +
12.1275 +eval $set_cc_for_build
12.1276 +cat >$dummy.c <<EOF
12.1277 +#ifdef _SEQUENT_
12.1278 +# include <sys/types.h>
12.1279 +# include <sys/utsname.h>
12.1280 +#endif
12.1281 +main ()
12.1282 +{
12.1283 +#if defined (sony)
12.1284 +#if defined (MIPSEB)
12.1285 + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
12.1286 + I don't know.... */
12.1287 + printf ("mips-sony-bsd\n"); exit (0);
12.1288 +#else
12.1289 +#include <sys/param.h>
12.1290 + printf ("m68k-sony-newsos%s\n",
12.1291 +#ifdef NEWSOS4
12.1292 + "4"
12.1293 +#else
12.1294 + ""
12.1295 +#endif
12.1296 + ); exit (0);
12.1297 +#endif
12.1298 +#endif
12.1299 +
12.1300 +#if defined (__arm) && defined (__acorn) && defined (__unix)
12.1301 + printf ("arm-acorn-riscix\n"); exit (0);
12.1302 +#endif
12.1303 +
12.1304 +#if defined (hp300) && !defined (hpux)
12.1305 + printf ("m68k-hp-bsd\n"); exit (0);
12.1306 +#endif
12.1307 +
12.1308 +#if defined (NeXT)
12.1309 +#if !defined (__ARCHITECTURE__)
12.1310 +#define __ARCHITECTURE__ "m68k"
12.1311 +#endif
12.1312 + int version;
12.1313 + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
12.1314 + if (version < 4)
12.1315 + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
12.1316 + else
12.1317 + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
12.1318 + exit (0);
12.1319 +#endif
12.1320 +
12.1321 +#if defined (MULTIMAX) || defined (n16)
12.1322 +#if defined (UMAXV)
12.1323 + printf ("ns32k-encore-sysv\n"); exit (0);
12.1324 +#else
12.1325 +#if defined (CMU)
12.1326 + printf ("ns32k-encore-mach\n"); exit (0);
12.1327 +#else
12.1328 + printf ("ns32k-encore-bsd\n"); exit (0);
12.1329 +#endif
12.1330 +#endif
12.1331 +#endif
12.1332 +
12.1333 +#if defined (__386BSD__)
12.1334 + printf ("i386-pc-bsd\n"); exit (0);
12.1335 +#endif
12.1336 +
12.1337 +#if defined (sequent)
12.1338 +#if defined (i386)
12.1339 + printf ("i386-sequent-dynix\n"); exit (0);
12.1340 +#endif
12.1341 +#if defined (ns32000)
12.1342 + printf ("ns32k-sequent-dynix\n"); exit (0);
12.1343 +#endif
12.1344 +#endif
12.1345 +
12.1346 +#if defined (_SEQUENT_)
12.1347 + struct utsname un;
12.1348 +
12.1349 + uname(&un);
12.1350 +
12.1351 + if (strncmp(un.version, "V2", 2) == 0) {
12.1352 + printf ("i386-sequent-ptx2\n"); exit (0);
12.1353 + }
12.1354 + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
12.1355 + printf ("i386-sequent-ptx1\n"); exit (0);
12.1356 + }
12.1357 + printf ("i386-sequent-ptx\n"); exit (0);
12.1358 +
12.1359 +#endif
12.1360 +
12.1361 +#if defined (vax)
12.1362 +# if !defined (ultrix)
12.1363 +# include <sys/param.h>
12.1364 +# if defined (BSD)
12.1365 +# if BSD == 43
12.1366 + printf ("vax-dec-bsd4.3\n"); exit (0);
12.1367 +# else
12.1368 +# if BSD == 199006
12.1369 + printf ("vax-dec-bsd4.3reno\n"); exit (0);
12.1370 +# else
12.1371 + printf ("vax-dec-bsd\n"); exit (0);
12.1372 +# endif
12.1373 +# endif
12.1374 +# else
12.1375 + printf ("vax-dec-bsd\n"); exit (0);
12.1376 +# endif
12.1377 +# else
12.1378 + printf ("vax-dec-ultrix\n"); exit (0);
12.1379 +# endif
12.1380 +#endif
12.1381 +
12.1382 +#if defined (alliant) && defined (i860)
12.1383 + printf ("i860-alliant-bsd\n"); exit (0);
12.1384 +#endif
12.1385 +
12.1386 + exit (1);
12.1387 +}
12.1388 +EOF
12.1389 +
12.1390 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
12.1391 + { echo "$SYSTEM_NAME"; exit; }
12.1392 +
12.1393 +# Apollos put the system type in the environment.
12.1394 +
12.1395 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
12.1396 +
12.1397 +# Convex versions that predate uname can use getsysinfo(1)
12.1398 +
12.1399 +if [ -x /usr/convex/getsysinfo ]
12.1400 +then
12.1401 + case `getsysinfo -f cpu_type` in
12.1402 + c1*)
12.1403 + echo c1-convex-bsd
12.1404 + exit ;;
12.1405 + c2*)
12.1406 + if getsysinfo -f scalar_acc
12.1407 + then echo c32-convex-bsd
12.1408 + else echo c2-convex-bsd
12.1409 + fi
12.1410 + exit ;;
12.1411 + c34*)
12.1412 + echo c34-convex-bsd
12.1413 + exit ;;
12.1414 + c38*)
12.1415 + echo c38-convex-bsd
12.1416 + exit ;;
12.1417 + c4*)
12.1418 + echo c4-convex-bsd
12.1419 + exit ;;
12.1420 + esac
12.1421 +fi
12.1422 +
12.1423 +cat >&2 <<EOF
12.1424 +$0: unable to guess system type
12.1425 +
12.1426 +This script, last modified $timestamp, has failed to recognize
12.1427 +the operating system you are using. It is advised that you
12.1428 +download the most up to date version of the config scripts from
12.1429 +
12.1430 + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
12.1431 +and
12.1432 + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
12.1433 +
12.1434 +If the version you run ($0) is already up to date, please
12.1435 +send the following data and any information you think might be
12.1436 +pertinent to <config-patches@gnu.org> in order to provide the needed
12.1437 +information to handle your system.
12.1438 +
12.1439 +config.guess timestamp = $timestamp
12.1440 +
12.1441 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
12.1442 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
12.1443 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
12.1444 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
12.1445 +
12.1446 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
12.1447 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
12.1448 +
12.1449 +hostinfo = `(hostinfo) 2>/dev/null`
12.1450 +/bin/universe = `(/bin/universe) 2>/dev/null`
12.1451 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
12.1452 +/bin/arch = `(/bin/arch) 2>/dev/null`
12.1453 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
12.1454 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
12.1455 +
12.1456 +UNAME_MACHINE = ${UNAME_MACHINE}
12.1457 +UNAME_RELEASE = ${UNAME_RELEASE}
12.1458 +UNAME_SYSTEM = ${UNAME_SYSTEM}
12.1459 +UNAME_VERSION = ${UNAME_VERSION}
12.1460 +EOF
12.1461 +
12.1462 +exit 1
12.1463 +
12.1464 +# Local variables:
12.1465 +# eval: (add-hook 'write-file-hooks 'time-stamp)
12.1466 +# time-stamp-start: "timestamp='"
12.1467 +# time-stamp-format: "%:y-%02m-%02d"
12.1468 +# time-stamp-end: "'"
12.1469 +# End:
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
13.2 +++ b/gst-plugins-nuvdemux/config.h.in Tue Oct 24 15:02:26 2006 +0100
13.3 @@ -0,0 +1,67 @@
13.4 +/* config.h.in. Generated from configure.ac by autoheader. */
13.5 +
13.6 +/* Define the version */
13.7 +#undef GST_PLUGINS_VERSION
13.8 +
13.9 +/* Define the release version */
13.10 +#undef GST_PLUGINS_VERSION_RELEASE
13.11 +
13.12 +/* Define to 1 if you have the <dlfcn.h> header file. */
13.13 +#undef HAVE_DLFCN_H
13.14 +
13.15 +/* Define to 1 if you have the <inttypes.h> header file. */
13.16 +#undef HAVE_INTTYPES_H
13.17 +
13.18 +/* Define to 1 if you have the <memory.h> header file. */
13.19 +#undef HAVE_MEMORY_H
13.20 +
13.21 +/* Define to 1 if you have the <stdint.h> header file. */
13.22 +#undef HAVE_STDINT_H
13.23 +
13.24 +/* Define to 1 if you have the <stdlib.h> header file. */
13.25 +#undef HAVE_STDLIB_H
13.26 +
13.27 +/* Define to 1 if you have the <strings.h> header file. */
13.28 +#undef HAVE_STRINGS_H
13.29 +
13.30 +/* Define to 1 if you have the <string.h> header file. */
13.31 +#undef HAVE_STRING_H
13.32 +
13.33 +/* Define to 1 if you have the <sys/stat.h> header file. */
13.34 +#undef HAVE_SYS_STAT_H
13.35 +
13.36 +/* Define to 1 if you have the <sys/types.h> header file. */
13.37 +#undef HAVE_SYS_TYPES_H
13.38 +
13.39 +/* Define to 1 if you have the <unistd.h> header file. */
13.40 +#undef HAVE_UNISTD_H
13.41 +
13.42 +/* Name of package */
13.43 +#undef PACKAGE
13.44 +
13.45 +/* Define to the address where bug reports for this package should be sent. */
13.46 +#undef PACKAGE_BUGREPORT
13.47 +
13.48 +/* Define to the full name of this package. */
13.49 +#undef PACKAGE_NAME
13.50 +
13.51 +/* Define to the full name and version of this package. */
13.52 +#undef PACKAGE_STRING
13.53 +
13.54 +/* Define to the one symbol short name of this package. */
13.55 +#undef PACKAGE_TARNAME
13.56 +
13.57 +/* Define to the version of this package. */
13.58 +#undef PACKAGE_VERSION
13.59 +
13.60 +/* Define to 1 if you have the ANSI C header files. */
13.61 +#undef STDC_HEADERS
13.62 +
13.63 +/* Version number of package */
13.64 +#undef VERSION
13.65 +
13.66 +/* Define to `__inline__' or `__inline' if that's what the C compiler
13.67 + calls it, or to nothing if 'inline' is not supported under any name. */
13.68 +#ifndef __cplusplus
13.69 +#undef inline
13.70 +#endif
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
14.2 +++ b/gst-plugins-nuvdemux/config.sub Tue Oct 24 15:02:26 2006 +0100
14.3 @@ -0,0 +1,1579 @@
14.4 +#! /bin/sh
14.5 +# Configuration validation subroutine script.
14.6 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
14.7 +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
14.8 +
14.9 +timestamp='2005-07-08'
14.10 +
14.11 +# This file is (in principle) common to ALL GNU software.
14.12 +# The presence of a machine in this file suggests that SOME GNU software
14.13 +# can handle that machine. It does not imply ALL GNU software can.
14.14 +#
14.15 +# This file is free software; you can redistribute it and/or modify
14.16 +# it under the terms of the GNU General Public License as published by
14.17 +# the Free Software Foundation; either version 2 of the License, or
14.18 +# (at your option) any later version.
14.19 +#
14.20 +# This program is distributed in the hope that it will be useful,
14.21 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
14.22 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14.23 +# GNU General Public License for more details.
14.24 +#
14.25 +# You should have received a copy of the GNU General Public License
14.26 +# along with this program; if not, write to the Free Software
14.27 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
14.28 +# 02110-1301, USA.
14.29 +#
14.30 +# As a special exception to the GNU General Public License, if you
14.31 +# distribute this file as part of a program that contains a
14.32 +# configuration script generated by Autoconf, you may include it under
14.33 +# the same distribution terms that you use for the rest of that program.
14.34 +
14.35 +
14.36 +# Please send patches to <config-patches@gnu.org>. Submit a context
14.37 +# diff and a properly formatted ChangeLog entry.
14.38 +#
14.39 +# Configuration subroutine to validate and canonicalize a configuration type.
14.40 +# Supply the specified configuration type as an argument.
14.41 +# If it is invalid, we print an error message on stderr and exit with code 1.
14.42 +# Otherwise, we print the canonical config type on stdout and succeed.
14.43 +
14.44 +# This file is supposed to be the same for all GNU packages
14.45 +# and recognize all the CPU types, system types and aliases
14.46 +# that are meaningful with *any* GNU software.
14.47 +# Each package is responsible for reporting which valid configurations
14.48 +# it does not support. The user should be able to distinguish
14.49 +# a failure to support a valid configuration from a meaningless
14.50 +# configuration.
14.51 +
14.52 +# The goal of this file is to map all the various variations of a given
14.53 +# machine specification into a single specification in the form:
14.54 +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
14.55 +# or in some cases, the newer four-part form:
14.56 +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
14.57 +# It is wrong to echo any other type of specification.
14.58 +
14.59 +me=`echo "$0" | sed -e 's,.*/,,'`
14.60 +
14.61 +usage="\
14.62 +Usage: $0 [OPTION] CPU-MFR-OPSYS
14.63 + $0 [OPTION] ALIAS
14.64 +
14.65 +Canonicalize a configuration name.
14.66 +
14.67 +Operation modes:
14.68 + -h, --help print this help, then exit
14.69 + -t, --time-stamp print date of last modification, then exit
14.70 + -v, --version print version number, then exit
14.71 +
14.72 +Report bugs and patches to <config-patches@gnu.org>."
14.73 +
14.74 +version="\
14.75 +GNU config.sub ($timestamp)
14.76 +
14.77 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
14.78 +Free Software Foundation, Inc.
14.79 +
14.80 +This is free software; see the source for copying conditions. There is NO
14.81 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
14.82 +
14.83 +help="
14.84 +Try \`$me --help' for more information."
14.85 +
14.86 +# Parse command line
14.87 +while test $# -gt 0 ; do
14.88 + case $1 in
14.89 + --time-stamp | --time* | -t )
14.90 + echo "$timestamp" ; exit ;;
14.91 + --version | -v )
14.92 + echo "$version" ; exit ;;
14.93 + --help | --h* | -h )
14.94 + echo "$usage"; exit ;;
14.95 + -- ) # Stop option processing
14.96 + shift; break ;;
14.97 + - ) # Use stdin as input.
14.98 + break ;;
14.99 + -* )
14.100 + echo "$me: invalid option $1$help"
14.101 + exit 1 ;;
14.102 +
14.103 + *local*)
14.104 + # First pass through any local machine types.
14.105 + echo $1
14.106 + exit ;;
14.107 +
14.108 + * )
14.109 + break ;;
14.110 + esac
14.111 +done
14.112 +
14.113 +case $# in
14.114 + 0) echo "$me: missing argument$help" >&2
14.115 + exit 1;;
14.116 + 1) ;;
14.117 + *) echo "$me: too many arguments$help" >&2
14.118 + exit 1;;
14.119 +esac
14.120 +
14.121 +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
14.122 +# Here we must recognize all the valid KERNEL-OS combinations.
14.123 +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
14.124 +case $maybe_os in
14.125 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
14.126 + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
14.127 + os=-$maybe_os
14.128 + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
14.129 + ;;
14.130 + *)
14.131 + basic_machine=`echo $1 | sed 's/-[^-]*$//'`
14.132 + if [ $basic_machine != $1 ]
14.133 + then os=`echo $1 | sed 's/.*-/-/'`
14.134 + else os=; fi
14.135 + ;;
14.136 +esac
14.137 +
14.138 +### Let's recognize common machines as not being operating systems so
14.139 +### that things like config.sub decstation-3100 work. We also
14.140 +### recognize some manufacturers as not being operating systems, so we
14.141 +### can provide default operating systems below.
14.142 +case $os in
14.143 + -sun*os*)
14.144 + # Prevent following clause from handling this invalid input.
14.145 + ;;
14.146 + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
14.147 + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
14.148 + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
14.149 + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
14.150 + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
14.151 + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
14.152 + -apple | -axis | -knuth | -cray)
14.153 + os=
14.154 + basic_machine=$1
14.155 + ;;
14.156 + -sim | -cisco | -oki | -wec | -winbond)
14.157 + os=
14.158 + basic_machine=$1
14.159 + ;;
14.160 + -scout)
14.161 + ;;
14.162 + -wrs)
14.163 + os=-vxworks
14.164 + basic_machine=$1
14.165 + ;;
14.166 + -chorusos*)
14.167 + os=-chorusos
14.168 + basic_machine=$1
14.169 + ;;
14.170 + -chorusrdb)
14.171 + os=-chorusrdb
14.172 + basic_machine=$1
14.173 + ;;
14.174 + -hiux*)
14.175 + os=-hiuxwe2
14.176 + ;;
14.177 + -sco5)
14.178 + os=-sco3.2v5
14.179 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
14.180 + ;;
14.181 + -sco4)
14.182 + os=-sco3.2v4
14.183 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
14.184 + ;;
14.185 + -sco3.2.[4-9]*)
14.186 + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
14.187 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
14.188 + ;;
14.189 + -sco3.2v[4-9]*)
14.190 + # Don't forget version if it is 3.2v4 or newer.
14.191 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
14.192 + ;;
14.193 + -sco*)
14.194 + os=-sco3.2v2
14.195 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
14.196 + ;;
14.197 + -udk*)
14.198 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
14.199 + ;;
14.200 + -isc)
14.201 + os=-isc2.2
14.202 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
14.203 + ;;
14.204 + -clix*)
14.205 + basic_machine=clipper-intergraph
14.206 + ;;
14.207 + -isc*)
14.208 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
14.209 + ;;
14.210 + -lynx*)
14.211 + os=-lynxos
14.212 + ;;
14.213 + -ptx*)
14.214 + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
14.215 + ;;
14.216 + -windowsnt*)
14.217 + os=`echo $os | sed -e 's/windowsnt/winnt/'`
14.218 + ;;
14.219 + -psos*)
14.220 + os=-psos
14.221 + ;;
14.222 + -mint | -mint[0-9]*)
14.223 + basic_machine=m68k-atari
14.224 + os=-mint
14.225 + ;;
14.226 +esac
14.227 +
14.228 +# Decode aliases for certain CPU-COMPANY combinations.
14.229 +case $basic_machine in
14.230 + # Recognize the basic CPU types without company name.
14.231 + # Some are omitted here because they have special meanings below.
14.232 + 1750a | 580 \
14.233 + | a29k \
14.234 + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
14.235 + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
14.236 + | am33_2.0 \
14.237 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
14.238 + | bfin \
14.239 + | c4x | clipper \
14.240 + | d10v | d30v | dlx | dsp16xx \
14.241 + | fr30 | frv \
14.242 + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
14.243 + | i370 | i860 | i960 | ia64 \
14.244 + | ip2k | iq2000 \
14.245 + | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
14.246 + | mips | mipsbe | mipseb | mipsel | mipsle \
14.247 + | mips16 \
14.248 + | mips64 | mips64el \
14.249 + | mips64vr | mips64vrel \
14.250 + | mips64orion | mips64orionel \
14.251 + | mips64vr4100 | mips64vr4100el \
14.252 + | mips64vr4300 | mips64vr4300el \
14.253 + | mips64vr5000 | mips64vr5000el \
14.254 + | mips64vr5900 | mips64vr5900el \
14.255 + | mipsisa32 | mipsisa32el \
14.256 + | mipsisa32r2 | mipsisa32r2el \
14.257 + | mipsisa64 | mipsisa64el \
14.258 + | mipsisa64r2 | mipsisa64r2el \
14.259 + | mipsisa64sb1 | mipsisa64sb1el \
14.260 + | mipsisa64sr71k | mipsisa64sr71kel \
14.261 + | mipstx39 | mipstx39el \
14.262 + | mn10200 | mn10300 \
14.263 + | ms1 \
14.264 + | msp430 \
14.265 + | ns16k | ns32k \
14.266 + | or32 \
14.267 + | pdp10 | pdp11 | pj | pjl \
14.268 + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
14.269 + | pyramid \
14.270 + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
14.271 + | sh64 | sh64le \
14.272 + | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
14.273 + | sparcv8 | sparcv9 | sparcv9b \
14.274 + | strongarm \
14.275 + | tahoe | thumb | tic4x | tic80 | tron \
14.276 + | v850 | v850e \
14.277 + | we32k \
14.278 + | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
14.279 + | z8k)
14.280 + basic_machine=$basic_machine-unknown
14.281 + ;;
14.282 + m32c)
14.283 + basic_machine=$basic_machine-unknown
14.284 + ;;
14.285 + m6811 | m68hc11 | m6812 | m68hc12)
14.286 + # Motorola 68HC11/12.
14.287 + basic_machine=$basic_machine-unknown
14.288 + os=-none
14.289 + ;;
14.290 + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
14.291 + ;;
14.292 +
14.293 + # We use `pc' rather than `unknown'
14.294 + # because (1) that's what they normally are, and
14.295 + # (2) the word "unknown" tends to confuse beginning users.
14.296 + i*86 | x86_64)
14.297 + basic_machine=$basic_machine-pc
14.298 + ;;
14.299 + # Object if more than one company name word.
14.300 + *-*-*)
14.301 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
14.302 + exit 1
14.303 + ;;
14.304 + # Recognize the basic CPU types with company name.
14.305 + 580-* \
14.306 + | a29k-* \
14.307 + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
14.308 + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
14.309 + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
14.310 + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
14.311 + | avr-* \
14.312 + | bfin-* | bs2000-* \
14.313 + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
14.314 + | clipper-* | craynv-* | cydra-* \
14.315 + | d10v-* | d30v-* | dlx-* \
14.316 + | elxsi-* \
14.317 + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
14.318 + | h8300-* | h8500-* \
14.319 + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
14.320 + | i*86-* | i860-* | i960-* | ia64-* \
14.321 + | ip2k-* | iq2000-* \
14.322 + | m32r-* | m32rle-* \
14.323 + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
14.324 + | m88110-* | m88k-* | maxq-* | mcore-* \
14.325 + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
14.326 + | mips16-* \
14.327 + | mips64-* | mips64el-* \
14.328 + | mips64vr-* | mips64vrel-* \
14.329 + | mips64orion-* | mips64orionel-* \
14.330 + | mips64vr4100-* | mips64vr4100el-* \
14.331 + | mips64vr4300-* | mips64vr4300el-* \
14.332 + | mips64vr5000-* | mips64vr5000el-* \
14.333 + | mips64vr5900-* | mips64vr5900el-* \
14.334 + | mipsisa32-* | mipsisa32el-* \
14.335 + | mipsisa32r2-* | mipsisa32r2el-* \
14.336 + | mipsisa64-* | mipsisa64el-* \
14.337 + | mipsisa64r2-* | mipsisa64r2el-* \
14.338 + | mipsisa64sb1-* | mipsisa64sb1el-* \
14.339 + | mipsisa64sr71k-* | mipsisa64sr71kel-* \
14.340 + | mipstx39-* | mipstx39el-* \
14.341 + | mmix-* \
14.342 + | ms1-* \
14.343 + | msp430-* \
14.344 + | none-* | np1-* | ns16k-* | ns32k-* \
14.345 + | orion-* \
14.346 + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
14.347 + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
14.348 + | pyramid-* \
14.349 + | romp-* | rs6000-* \
14.350 + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
14.351 + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
14.352 + | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
14.353 + | sparclite-* \
14.354 + | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
14.355 + | tahoe-* | thumb-* \
14.356 + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
14.357 + | tron-* \
14.358 + | v850-* | v850e-* | vax-* \
14.359 + | we32k-* \
14.360 + | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
14.361 + | xstormy16-* | xtensa-* \
14.362 + | ymp-* \
14.363 + | z8k-*)
14.364 + ;;
14.365 + m32c-*)
14.366 + ;;
14.367 + # Recognize the various machine names and aliases which stand
14.368 + # for a CPU type and a company and sometimes even an OS.
14.369 + 386bsd)
14.370 + basic_machine=i386-unknown
14.371 + os=-bsd
14.372 + ;;
14.373 + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
14.374 + basic_machine=m68000-att
14.375 + ;;
14.376 + 3b*)
14.377 + basic_machine=we32k-att
14.378 + ;;
14.379 + a29khif)
14.380 + basic_machine=a29k-amd
14.381 + os=-udi
14.382 + ;;
14.383 + abacus)
14.384 + basic_machine=abacus-unknown
14.385 + ;;
14.386 + adobe68k)
14.387 + basic_machine=m68010-adobe
14.388 + os=-scout
14.389 + ;;
14.390 + alliant | fx80)
14.391 + basic_machine=fx80-alliant
14.392 + ;;
14.393 + altos | altos3068)
14.394 + basic_machine=m68k-altos
14.395 + ;;
14.396 + am29k)
14.397 + basic_machine=a29k-none
14.398 + os=-bsd
14.399 + ;;
14.400 + amd64)
14.401 + basic_machine=x86_64-pc
14.402 + ;;
14.403 + amd64-*)
14.404 + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
14.405 + ;;
14.406 + amdahl)
14.407 + basic_machine=580-amdahl
14.408 + os=-sysv
14.409 + ;;
14.410 + amiga | amiga-*)
14.411 + basic_machine=m68k-unknown
14.412 + ;;
14.413 + amigaos | amigados)
14.414 + basic_machine=m68k-unknown
14.415 + os=-amigaos
14.416 + ;;
14.417 + amigaunix | amix)
14.418 + basic_machine=m68k-unknown
14.419 + os=-sysv4
14.420 + ;;
14.421 + apollo68)
14.422 + basic_machine=m68k-apollo
14.423 + os=-sysv
14.424 + ;;
14.425 + apollo68bsd)
14.426 + basic_machine=m68k-apollo
14.427 + os=-bsd
14.428 + ;;
14.429 + aux)
14.430 + basic_machine=m68k-apple
14.431 + os=-aux
14.432 + ;;
14.433 + balance)
14.434 + basic_machine=ns32k-sequent
14.435 + os=-dynix
14.436 + ;;
14.437 + c90)
14.438 + basic_machine=c90-cray
14.439 + os=-unicos
14.440 + ;;
14.441 + convex-c1)
14.442 + basic_machine=c1-convex
14.443 + os=-bsd
14.444 + ;;
14.445 + convex-c2)
14.446 + basic_machine=c2-convex
14.447 + os=-bsd
14.448 + ;;
14.449 + convex-c32)
14.450 + basic_machine=c32-convex
14.451 + os=-bsd
14.452 + ;;
14.453 + convex-c34)
14.454 + basic_machine=c34-convex
14.455 + os=-bsd
14.456 + ;;
14.457 + convex-c38)
14.458 + basic_machine=c38-convex
14.459 + os=-bsd
14.460 + ;;
14.461 + cray | j90)
14.462 + basic_machine=j90-cray
14.463 + os=-unicos
14.464 + ;;
14.465 + craynv)
14.466 + basic_machine=craynv-cray
14.467 + os=-unicosmp
14.468 + ;;
14.469 + cr16c)
14.470 + basic_machine=cr16c-unknown
14.471 + os=-elf
14.472 + ;;
14.473 + crds | unos)
14.474 + basic_machine=m68k-crds
14.475 + ;;
14.476 + crisv32 | crisv32-* | etraxfs*)
14.477 + basic_machine=crisv32-axis
14.478 + ;;
14.479 + cris | cris-* | etrax*)
14.480 + basic_machine=cris-axis
14.481 + ;;
14.482 + crx)
14.483 + basic_machine=crx-unknown
14.484 + os=-elf
14.485 + ;;
14.486 + da30 | da30-*)
14.487 + basic_machine=m68k-da30
14.488 + ;;
14.489 + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
14.490 + basic_machine=mips-dec
14.491 + ;;
14.492 + decsystem10* | dec10*)
14.493 + basic_machine=pdp10-dec
14.494 + os=-tops10
14.495 + ;;
14.496 + decsystem20* | dec20*)
14.497 + basic_machine=pdp10-dec
14.498 + os=-tops20
14.499 + ;;
14.500 + delta | 3300 | motorola-3300 | motorola-delta \
14.501 + | 3300-motorola | delta-motorola)
14.502 + basic_machine=m68k-motorola
14.503 + ;;
14.504 + delta88)
14.505 + basic_machine=m88k-motorola
14.506 + os=-sysv3
14.507 + ;;
14.508 + djgpp)
14.509 + basic_machine=i586-pc
14.510 + os=-msdosdjgpp
14.511 + ;;
14.512 + dpx20 | dpx20-*)
14.513 + basic_machine=rs6000-bull
14.514 + os=-bosx
14.515 + ;;
14.516 + dpx2* | dpx2*-bull)
14.517 + basic_machine=m68k-bull
14.518 + os=-sysv3
14.519 + ;;
14.520 + ebmon29k)
14.521 + basic_machine=a29k-amd
14.522 + os=-ebmon
14.523 + ;;
14.524 + elxsi)
14.525 + basic_machine=elxsi-elxsi
14.526 + os=-bsd
14.527 + ;;
14.528 + encore | umax | mmax)
14.529 + basic_machine=ns32k-encore
14.530 + ;;
14.531 + es1800 | OSE68k | ose68k | ose | OSE)
14.532 + basic_machine=m68k-ericsson
14.533 + os=-ose
14.534 + ;;
14.535 + fx2800)
14.536 + basic_machine=i860-alliant
14.537 + ;;
14.538 + genix)
14.539 + basic_machine=ns32k-ns
14.540 + ;;
14.541 + gmicro)
14.542 + basic_machine=tron-gmicro
14.543 + os=-sysv
14.544 + ;;
14.545 + go32)
14.546 + basic_machine=i386-pc
14.547 + os=-go32
14.548 + ;;
14.549 + h3050r* | hiux*)
14.550 + basic_machine=hppa1.1-hitachi
14.551 + os=-hiuxwe2
14.552 + ;;
14.553 + h8300hms)
14.554 + basic_machine=h8300-hitachi
14.555 + os=-hms
14.556 + ;;
14.557 + h8300xray)
14.558 + basic_machine=h8300-hitachi
14.559 + os=-xray
14.560 + ;;
14.561 + h8500hms)
14.562 + basic_machine=h8500-hitachi
14.563 + os=-hms
14.564 + ;;
14.565 + harris)
14.566 + basic_machine=m88k-harris
14.567 + os=-sysv3
14.568 + ;;
14.569 + hp300-*)
14.570 + basic_machine=m68k-hp
14.571 + ;;
14.572 + hp300bsd)
14.573 + basic_machine=m68k-hp
14.574 + os=-bsd
14.575 + ;;
14.576 + hp300hpux)
14.577 + basic_machine=m68k-hp
14.578 + os=-hpux
14.579 + ;;
14.580 + hp3k9[0-9][0-9] | hp9[0-9][0-9])
14.581 + basic_machine=hppa1.0-hp
14.582 + ;;
14.583 + hp9k2[0-9][0-9] | hp9k31[0-9])
14.584 + basic_machine=m68000-hp
14.585 + ;;
14.586 + hp9k3[2-9][0-9])
14.587 + basic_machine=m68k-hp
14.588 + ;;
14.589 + hp9k6[0-9][0-9] | hp6[0-9][0-9])
14.590 + basic_machine=hppa1.0-hp
14.591 + ;;
14.592 + hp9k7[0-79][0-9] | hp7[0-79][0-9])
14.593 + basic_machine=hppa1.1-hp
14.594 + ;;
14.595 + hp9k78[0-9] | hp78[0-9])
14.596 + # FIXME: really hppa2.0-hp
14.597 + basic_machine=hppa1.1-hp
14.598 + ;;
14.599 + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
14.600 + # FIXME: really hppa2.0-hp
14.601 + basic_machine=hppa1.1-hp
14.602 + ;;
14.603 + hp9k8[0-9][13679] | hp8[0-9][13679])
14.604 + basic_machine=hppa1.1-hp
14.605 + ;;
14.606 + hp9k8[0-9][0-9] | hp8[0-9][0-9])
14.607 + basic_machine=hppa1.0-hp
14.608 + ;;
14.609 + hppa-next)
14.610 + os=-nextstep3
14.611 + ;;
14.612 + hppaosf)
14.613 + basic_machine=hppa1.1-hp
14.614 + os=-osf
14.615 + ;;
14.616 + hppro)
14.617 + basic_machine=hppa1.1-hp
14.618 + os=-proelf
14.619 + ;;
14.620 + i370-ibm* | ibm*)
14.621 + basic_machine=i370-ibm
14.622 + ;;
14.623 +# I'm not sure what "Sysv32" means. Should this be sysv3.2?
14.624 + i*86v32)
14.625 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
14.626 + os=-sysv32
14.627 + ;;
14.628 + i*86v4*)
14.629 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
14.630 + os=-sysv4
14.631 + ;;
14.632 + i*86v)
14.633 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
14.634 + os=-sysv
14.635 + ;;
14.636 + i*86sol2)
14.637 + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
14.638 + os=-solaris2
14.639 + ;;
14.640 + i386mach)
14.641 + basic_machine=i386-mach
14.642 + os=-mach
14.643 + ;;
14.644 + i386-vsta | vsta)
14.645 + basic_machine=i386-unknown
14.646 + os=-vsta
14.647 + ;;
14.648 + iris | iris4d)
14.649 + basic_machine=mips-sgi
14.650 + case $os in
14.651 + -irix*)
14.652 + ;;
14.653 + *)
14.654 + os=-irix4
14.655 + ;;
14.656 + esac
14.657 + ;;
14.658 + isi68 | isi)
14.659 + basic_machine=m68k-isi
14.660 + os=-sysv
14.661 + ;;
14.662 + m88k-omron*)
14.663 + basic_machine=m88k-omron
14.664 + ;;
14.665 + magnum | m3230)
14.666 + basic_machine=mips-mips
14.667 + os=-sysv
14.668 + ;;
14.669 + merlin)
14.670 + basic_machine=ns32k-utek
14.671 + os=-sysv
14.672 + ;;
14.673 + mingw32)
14.674 + basic_machine=i386-pc
14.675 + os=-mingw32
14.676 + ;;
14.677 + miniframe)
14.678 + basic_machine=m68000-convergent
14.679 + ;;
14.680 + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
14.681 + basic_machine=m68k-atari
14.682 + os=-mint
14.683 + ;;
14.684 + mips3*-*)
14.685 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
14.686 + ;;
14.687 + mips3*)
14.688 + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
14.689 + ;;
14.690 + monitor)
14.691 + basic_machine=m68k-rom68k
14.692 + os=-coff
14.693 + ;;
14.694 + morphos)
14.695 + basic_machine=powerpc-unknown
14.696 + os=-morphos
14.697 + ;;
14.698 + msdos)
14.699 + basic_machine=i386-pc
14.700 + os=-msdos
14.701 + ;;
14.702 + mvs)
14.703 + basic_machine=i370-ibm
14.704 + os=-mvs
14.705 + ;;
14.706 + ncr3000)
14.707 + basic_machine=i486-ncr
14.708 + os=-sysv4
14.709 + ;;
14.710 + netbsd386)
14.711 + basic_machine=i386-unknown
14.712 + os=-netbsd
14.713 + ;;
14.714 + netwinder)
14.715 + basic_machine=armv4l-rebel
14.716 + os=-linux
14.717 + ;;
14.718 + news | news700 | news800 | news900)
14.719 + basic_machine=m68k-sony
14.720 + os=-newsos
14.721 + ;;
14.722 + news1000)
14.723 + basic_machine=m68030-sony
14.724 + os=-newsos
14.725 + ;;
14.726 + news-3600 | risc-news)
14.727 + basic_machine=mips-sony
14.728 + os=-newsos
14.729 + ;;
14.730 + necv70)
14.731 + basic_machine=v70-nec
14.732 + os=-sysv
14.733 + ;;
14.734 + next | m*-next )
14.735 + basic_machine=m68k-next
14.736 + case $os in
14.737 + -nextstep* )
14.738 + ;;
14.739 + -ns2*)
14.740 + os=-nextstep2
14.741 + ;;
14.742 + *)
14.743 + os=-nextstep3
14.744 + ;;
14.745 + esac
14.746 + ;;
14.747 + nh3000)
14.748 + basic_machine=m68k-harris
14.749 + os=-cxux
14.750 + ;;
14.751 + nh[45]000)
14.752 + basic_machine=m88k-harris
14.753 + os=-cxux
14.754 + ;;
14.755 + nindy960)
14.756 + basic_machine=i960-intel
14.757 + os=-nindy
14.758 + ;;
14.759 + mon960)
14.760 + basic_machine=i960-intel
14.761 + os=-mon960
14.762 + ;;
14.763 + nonstopux)
14.764 + basic_machine=mips-compaq
14.765 + os=-nonstopux
14.766 + ;;
14.767 + np1)
14.768 + basic_machine=np1-gould
14.769 + ;;
14.770 + nsr-tandem)
14.771 + basic_machine=nsr-tandem
14.772 + ;;
14.773 + op50n-* | op60c-*)
14.774 + basic_machine=hppa1.1-oki
14.775 + os=-proelf
14.776 + ;;
14.777 + openrisc | openrisc-*)
14.778 + basic_machine=or32-unknown
14.779 + ;;
14.780 + os400)
14.781 + basic_machine=powerpc-ibm
14.782 + os=-os400
14.783 + ;;
14.784 + OSE68000 | ose68000)
14.785 + basic_machine=m68000-ericsson
14.786 + os=-ose
14.787 + ;;
14.788 + os68k)
14.789 + basic_machine=m68k-none
14.790 + os=-os68k
14.791 + ;;
14.792 + pa-hitachi)
14.793 + basic_machine=hppa1.1-hitachi
14.794 + os=-hiuxwe2
14.795 + ;;
14.796 + paragon)
14.797 + basic_machine=i860-intel
14.798 + os=-osf
14.799 + ;;
14.800 + pbd)
14.801 + basic_machine=sparc-tti
14.802 + ;;
14.803 + pbb)
14.804 + basic_machine=m68k-tti
14.805 + ;;
14.806 + pc532 | pc532-*)
14.807 + basic_machine=ns32k-pc532
14.808 + ;;
14.809 + pentium | p5 | k5 | k6 | nexgen | viac3)
14.810 + basic_machine=i586-pc
14.811 + ;;
14.812 + pentiumpro | p6 | 6x86 | athlon | athlon_*)
14.813 + basic_machine=i686-pc
14.814 + ;;
14.815 + pentiumii | pentium2 | pentiumiii | pentium3)
14.816 + basic_machine=i686-pc
14.817 + ;;
14.818 + pentium4)
14.819 + basic_machine=i786-pc
14.820 + ;;
14.821 + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
14.822 + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
14.823 + ;;
14.824 + pentiumpro-* | p6-* | 6x86-* | athlon-*)
14.825 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
14.826 + ;;
14.827 + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
14.828 + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
14.829 + ;;
14.830 + pentium4-*)
14.831 + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
14.832 + ;;
14.833 + pn)
14.834 + basic_machine=pn-gould
14.835 + ;;
14.836 + power) basic_machine=power-ibm
14.837 + ;;
14.838 + ppc) basic_machine=powerpc-unknown
14.839 + ;;
14.840 + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
14.841 + ;;
14.842 + ppcle | powerpclittle | ppc-le | powerpc-little)
14.843 + basic_machine=powerpcle-unknown
14.844 + ;;
14.845 + ppcle-* | powerpclittle-*)
14.846 + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
14.847 + ;;
14.848 + ppc64) basic_machine=powerpc64-unknown
14.849 + ;;
14.850 + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
14.851 + ;;
14.852 + ppc64le | powerpc64little | ppc64-le | powerpc64-little)
14.853 + basic_machine=powerpc64le-unknown
14.854 + ;;
14.855 + ppc64le-* | powerpc64little-*)
14.856 + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
14.857 + ;;
14.858 + ps2)
14.859 + basic_machine=i386-ibm
14.860 + ;;
14.861 + pw32)
14.862 + basic_machine=i586-unknown
14.863 + os=-pw32
14.864 + ;;
14.865 + rom68k)
14.866 + basic_machine=m68k-rom68k
14.867 + os=-coff
14.868 + ;;
14.869 + rm[46]00)
14.870 + basic_machine=mips-siemens
14.871 + ;;
14.872 + rtpc | rtpc-*)
14.873 + basic_machine=romp-ibm
14.874 + ;;
14.875 + s390 | s390-*)
14.876 + basic_machine=s390-ibm
14.877 + ;;
14.878 + s390x | s390x-*)
14.879 + basic_machine=s390x-ibm
14.880 + ;;
14.881 + sa29200)
14.882 + basic_machine=a29k-amd
14.883 + os=-udi
14.884 + ;;
14.885 + sb1)
14.886 + basic_machine=mipsisa64sb1-unknown
14.887 + ;;
14.888 + sb1el)
14.889 + basic_machine=mipsisa64sb1el-unknown
14.890 + ;;
14.891 + sei)
14.892 + basic_machine=mips-sei
14.893 + os=-seiux
14.894 + ;;
14.895 + sequent)
14.896 + basic_machine=i386-sequent
14.897 + ;;
14.898 + sh)
14.899 + basic_machine=sh-hitachi
14.900 + os=-hms
14.901 + ;;
14.902 + sh64)
14.903 + basic_machine=sh64-unknown
14.904 + ;;
14.905 + sparclite-wrs | simso-wrs)
14.906 + basic_machine=sparclite-wrs
14.907 + os=-vxworks
14.908 + ;;
14.909 + sps7)
14.910 + basic_machine=m68k-bull
14.911 + os=-sysv2
14.912 + ;;
14.913 + spur)
14.914 + basic_machine=spur-unknown
14.915 + ;;
14.916 + st2000)
14.917 + basic_machine=m68k-tandem
14.918 + ;;
14.919 + stratus)
14.920 + basic_machine=i860-stratus
14.921 + os=-sysv4
14.922 + ;;
14.923 + sun2)
14.924 + basic_machine=m68000-sun
14.925 + ;;
14.926 + sun2os3)
14.927 + basic_machine=m68000-sun
14.928 + os=-sunos3
14.929 + ;;
14.930 + sun2os4)
14.931 + basic_machine=m68000-sun
14.932 + os=-sunos4
14.933 + ;;
14.934 + sun3os3)
14.935 + basic_machine=m68k-sun
14.936 + os=-sunos3
14.937 + ;;
14.938 + sun3os4)
14.939 + basic_machine=m68k-sun
14.940 + os=-sunos4
14.941 + ;;
14.942 + sun4os3)
14.943 + basic_machine=sparc-sun
14.944 + os=-sunos3
14.945 + ;;
14.946 + sun4os4)
14.947 + basic_machine=sparc-sun
14.948 + os=-sunos4
14.949 + ;;
14.950 + sun4sol2)
14.951 + basic_machine=sparc-sun
14.952 + os=-solaris2
14.953 + ;;
14.954 + sun3 | sun3-*)
14.955 + basic_machine=m68k-sun
14.956 + ;;
14.957 + sun4)
14.958 + basic_machine=sparc-sun
14.959 + ;;
14.960 + sun386 | sun386i | roadrunner)
14.961 + basic_machine=i386-sun
14.962 + ;;
14.963 + sv1)
14.964 + basic_machine=sv1-cray
14.965 + os=-unicos
14.966 + ;;
14.967 + symmetry)
14.968 + basic_machine=i386-sequent
14.969 + os=-dynix
14.970 + ;;
14.971 + t3e)
14.972 + basic_machine=alphaev5-cray
14.973 + os=-unicos
14.974 + ;;
14.975 + t90)
14.976 + basic_machine=t90-cray
14.977 + os=-unicos
14.978 + ;;
14.979 + tic54x | c54x*)
14.980 + basic_machine=tic54x-unknown
14.981 + os=-coff
14.982 + ;;
14.983 + tic55x | c55x*)
14.984 + basic_machine=tic55x-unknown
14.985 + os=-coff
14.986 + ;;
14.987 + tic6x | c6x*)
14.988 + basic_machine=tic6x-unknown
14.989 + os=-coff
14.990 + ;;
14.991 + tx39)
14.992 + basic_machine=mipstx39-unknown
14.993 + ;;
14.994 + tx39el)
14.995 + basic_machine=mipstx39el-unknown
14.996 + ;;
14.997 + toad1)
14.998 + basic_machine=pdp10-xkl
14.999 + os=-tops20
14.1000 + ;;
14.1001 + tower | tower-32)
14.1002 + basic_machine=m68k-ncr
14.1003 + ;;
14.1004 + tpf)
14.1005 + basic_machine=s390x-ibm
14.1006 + os=-tpf
14.1007 + ;;
14.1008 + udi29k)
14.1009 + basic_machine=a29k-amd
14.1010 + os=-udi
14.1011 + ;;
14.1012 + ultra3)
14.1013 + basic_machine=a29k-nyu
14.1014 + os=-sym1
14.1015 + ;;
14.1016 + v810 | necv810)
14.1017 + basic_machine=v810-nec
14.1018 + os=-none
14.1019 + ;;
14.1020 + vaxv)
14.1021 + basic_machine=vax-dec
14.1022 + os=-sysv
14.1023 + ;;
14.1024 + vms)
14.1025 + basic_machine=vax-dec
14.1026 + os=-vms
14.1027 + ;;
14.1028 + vpp*|vx|vx-*)
14.1029 + basic_machine=f301-fujitsu
14.1030 + ;;
14.1031 + vxworks960)
14.1032 + basic_machine=i960-wrs
14.1033 + os=-vxworks
14.1034 + ;;
14.1035 + vxworks68)
14.1036 + basic_machine=m68k-wrs
14.1037 + os=-vxworks
14.1038 + ;;
14.1039 + vxworks29k)
14.1040 + basic_machine=a29k-wrs
14.1041 + os=-vxworks
14.1042 + ;;
14.1043 + w65*)
14.1044 + basic_machine=w65-wdc
14.1045 + os=-none
14.1046 + ;;
14.1047 + w89k-*)
14.1048 + basic_machine=hppa1.1-winbond
14.1049 + os=-proelf
14.1050 + ;;
14.1051 + xbox)
14.1052 + basic_machine=i686-pc
14.1053 + os=-mingw32
14.1054 + ;;
14.1055 + xps | xps100)
14.1056 + basic_machine=xps100-honeywell
14.1057 + ;;
14.1058 + ymp)
14.1059 + basic_machine=ymp-cray
14.1060 + os=-unicos
14.1061 + ;;
14.1062 + z8k-*-coff)
14.1063 + basic_machine=z8k-unknown
14.1064 + os=-sim
14.1065 + ;;
14.1066 + none)
14.1067 + basic_machine=none-none
14.1068 + os=-none
14.1069 + ;;
14.1070 +
14.1071 +# Here we handle the default manufacturer of certain CPU types. It is in
14.1072 +# some cases the only manufacturer, in others, it is the most popular.
14.1073 + w89k)
14.1074 + basic_machine=hppa1.1-winbond
14.1075 + ;;
14.1076 + op50n)
14.1077 + basic_machine=hppa1.1-oki
14.1078 + ;;
14.1079 + op60c)
14.1080 + basic_machine=hppa1.1-oki
14.1081 + ;;
14.1082 + romp)
14.1083 + basic_machine=romp-ibm
14.1084 + ;;
14.1085 + mmix)
14.1086 + basic_machine=mmix-knuth
14.1087 + ;;
14.1088 + rs6000)
14.1089 + basic_machine=rs6000-ibm
14.1090 + ;;
14.1091 + vax)
14.1092 + basic_machine=vax-dec
14.1093 + ;;
14.1094 + pdp10)
14.1095 + # there are many clones, so DEC is not a safe bet
14.1096 + basic_machine=pdp10-unknown
14.1097 + ;;
14.1098 + pdp11)
14.1099 + basic_machine=pdp11-dec
14.1100 + ;;
14.1101 + we32k)
14.1102 + basic_machine=we32k-att
14.1103 + ;;
14.1104 + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
14.1105 + basic_machine=sh-unknown
14.1106 + ;;
14.1107 + sparc | sparcv8 | sparcv9 | sparcv9b)
14.1108 + basic_machine=sparc-sun
14.1109 + ;;
14.1110 + cydra)
14.1111 + basic_machine=cydra-cydrome
14.1112 + ;;
14.1113 + orion)
14.1114 + basic_machine=orion-highlevel
14.1115 + ;;
14.1116 + orion105)
14.1117 + basic_machine=clipper-highlevel
14.1118 + ;;
14.1119 + mac | mpw | mac-mpw)
14.1120 + basic_machine=m68k-apple
14.1121 + ;;
14.1122 + pmac | pmac-mpw)
14.1123 + basic_machine=powerpc-apple
14.1124 + ;;
14.1125 + *-unknown)
14.1126 + # Make sure to match an already-canonicalized machine name.
14.1127 + ;;
14.1128 + *)
14.1129 + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
14.1130 + exit 1
14.1131 + ;;
14.1132 +esac
14.1133 +
14.1134 +# Here we canonicalize certain aliases for manufacturers.
14.1135 +case $basic_machine in
14.1136 + *-digital*)
14.1137 + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
14.1138 + ;;
14.1139 + *-commodore*)
14.1140 + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
14.1141 + ;;
14.1142 + *)
14.1143 + ;;
14.1144 +esac
14.1145 +
14.1146 +# Decode manufacturer-specific aliases for certain operating systems.
14.1147 +
14.1148 +if [ x"$os" != x"" ]
14.1149 +then
14.1150 +case $os in
14.1151 + # First match some system type aliases
14.1152 + # that might get confused with valid system types.
14.1153 + # -solaris* is a basic system type, with this one exception.
14.1154 + -solaris1 | -solaris1.*)
14.1155 + os=`echo $os | sed -e 's|solaris1|sunos4|'`
14.1156 + ;;
14.1157 + -solaris)
14.1158 + os=-solaris2
14.1159 + ;;
14.1160 + -svr4*)
14.1161 + os=-sysv4
14.1162 + ;;
14.1163 + -unixware*)
14.1164 + os=-sysv4.2uw
14.1165 + ;;
14.1166 + -gnu/linux*)
14.1167 + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
14.1168 + ;;
14.1169 + # First accept the basic system types.
14.1170 + # The portable systems comes first.
14.1171 + # Each alternative MUST END IN A *, to match a version number.
14.1172 + # -sysv* is not here because it comes later, after sysvr4.
14.1173 + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
14.1174 + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
14.1175 + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
14.1176 + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
14.1177 + | -aos* \
14.1178 + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
14.1179 + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
14.1180 + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
14.1181 + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
14.1182 + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
14.1183 + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
14.1184 + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
14.1185 + | -chorusos* | -chorusrdb* \
14.1186 + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
14.1187 + | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
14.1188 + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
14.1189 + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
14.1190 + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
14.1191 + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
14.1192 + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
14.1193 + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
14.1194 + | -skyos* | -haiku*)
14.1195 + # Remember, each alternative MUST END IN *, to match a version number.
14.1196 + ;;
14.1197 + -qnx*)
14.1198 + case $basic_machine in
14.1199 + x86-* | i*86-*)
14.1200 + ;;
14.1201 + *)
14.1202 + os=-nto$os
14.1203 + ;;
14.1204 + esac
14.1205 + ;;
14.1206 + -nto-qnx*)
14.1207 + ;;
14.1208 + -nto*)
14.1209 + os=`echo $os | sed -e 's|nto|nto-qnx|'`
14.1210 + ;;
14.1211 + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
14.1212 + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
14.1213 + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
14.1214 + ;;
14.1215 + -mac*)
14.1216 + os=`echo $os | sed -e 's|mac|macos|'`
14.1217 + ;;
14.1218 + -linux-dietlibc)
14.1219 + os=-linux-dietlibc
14.1220 + ;;
14.1221 + -linux*)
14.1222 + os=`echo $os | sed -e 's|linux|linux-gnu|'`
14.1223 + ;;
14.1224 + -sunos5*)
14.1225 + os=`echo $os | sed -e 's|sunos5|solaris2|'`
14.1226 + ;;
14.1227 + -sunos6*)
14.1228 + os=`echo $os | sed -e 's|sunos6|solaris3|'`
14.1229 + ;;
14.1230 + -opened*)
14.1231 + os=-openedition
14.1232 + ;;
14.1233 + -os400*)
14.1234 + os=-os400
14.1235 + ;;
14.1236 + -wince*)
14.1237 + os=-wince
14.1238 + ;;
14.1239 + -osfrose*)
14.1240 + os=-osfrose
14.1241 + ;;
14.1242 + -osf*)
14.1243 + os=-osf
14.1244 + ;;
14.1245 + -utek*)
14.1246 + os=-bsd
14.1247 + ;;
14.1248 + -dynix*)
14.1249 + os=-bsd
14.1250 + ;;
14.1251 + -acis*)
14.1252 + os=-aos
14.1253 + ;;
14.1254 + -atheos*)
14.1255 + os=-atheos
14.1256 + ;;
14.1257 + -syllable*)
14.1258 + os=-syllable
14.1259 + ;;
14.1260 + -386bsd)
14.1261 + os=-bsd
14.1262 + ;;
14.1263 + -ctix* | -uts*)
14.1264 + os=-sysv
14.1265 + ;;
14.1266 + -nova*)
14.1267 + os=-rtmk-nova
14.1268 + ;;
14.1269 + -ns2 )
14.1270 + os=-nextstep2
14.1271 + ;;
14.1272 + -nsk*)
14.1273 + os=-nsk
14.1274 + ;;
14.1275 + # Preserve the version number of sinix5.
14.1276 + -sinix5.*)
14.1277 + os=`echo $os | sed -e 's|sinix|sysv|'`
14.1278 + ;;
14.1279 + -sinix*)
14.1280 + os=-sysv4
14.1281 + ;;
14.1282 + -tpf*)
14.1283 + os=-tpf
14.1284 + ;;
14.1285 + -triton*)
14.1286 + os=-sysv3
14.1287 + ;;
14.1288 + -oss*)
14.1289 + os=-sysv3
14.1290 + ;;
14.1291 + -svr4)
14.1292 + os=-sysv4
14.1293 + ;;
14.1294 + -svr3)
14.1295 + os=-sysv3
14.1296 + ;;
14.1297 + -sysvr4)
14.1298 + os=-sysv4
14.1299 + ;;
14.1300 + # This must come after -sysvr4.
14.1301 + -sysv*)
14.1302 + ;;
14.1303 + -ose*)
14.1304 + os=-ose
14.1305 + ;;
14.1306 + -es1800*)
14.1307 + os=-ose
14.1308 + ;;
14.1309 + -xenix)
14.1310 + os=-xenix
14.1311 + ;;
14.1312 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
14.1313 + os=-mint
14.1314 + ;;
14.1315 + -aros*)
14.1316 + os=-aros
14.1317 + ;;
14.1318 + -kaos*)
14.1319 + os=-kaos
14.1320 + ;;
14.1321 + -zvmoe)
14.1322 + os=-zvmoe
14.1323 + ;;
14.1324 + -none)
14.1325 + ;;
14.1326 + *)
14.1327 + # Get rid of the `-' at the beginning of $os.
14.1328 + os=`echo $os | sed 's/[^-]*-//'`
14.1329 + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
14.1330 + exit 1
14.1331 + ;;
14.1332 +esac
14.1333 +else
14.1334 +
14.1335 +# Here we handle the default operating systems that come with various machines.
14.1336 +# The value should be what the vendor currently ships out the door with their
14.1337 +# machine or put another way, the most popular os provided with the machine.
14.1338 +
14.1339 +# Note that if you're going to try to match "-MANUFACTURER" here (say,
14.1340 +# "-sun"), then you have to tell the case statement up towards the top
14.1341 +# that MANUFACTURER isn't an operating system. Otherwise, code above
14.1342 +# will signal an error saying that MANUFACTURER isn't an operating
14.1343 +# system, and we'll never get to this point.
14.1344 +
14.1345 +case $basic_machine in
14.1346 + *-acorn)
14.1347 + os=-riscix1.2
14.1348 + ;;
14.1349 + arm*-rebel)
14.1350 + os=-linux
14.1351 + ;;
14.1352 + arm*-semi)
14.1353 + os=-aout
14.1354 + ;;
14.1355 + c4x-* | tic4x-*)
14.1356 + os=-coff
14.1357 + ;;
14.1358 + # This must come before the *-dec entry.
14.1359 + pdp10-*)
14.1360 + os=-tops20
14.1361 + ;;
14.1362 + pdp11-*)
14.1363 + os=-none
14.1364 + ;;
14.1365 + *-dec | vax-*)
14.1366 + os=-ultrix4.2
14.1367 + ;;
14.1368 + m68*-apollo)
14.1369 + os=-domain
14.1370 + ;;
14.1371 + i386-sun)
14.1372 + os=-sunos4.0.2
14.1373 + ;;
14.1374 + m68000-sun)
14.1375 + os=-sunos3
14.1376 + # This also exists in the configure program, but was not the
14.1377 + # default.
14.1378 + # os=-sunos4
14.1379 + ;;
14.1380 + m68*-cisco)
14.1381 + os=-aout
14.1382 + ;;
14.1383 + mips*-cisco)
14.1384 + os=-elf
14.1385 + ;;
14.1386 + mips*-*)
14.1387 + os=-elf
14.1388 + ;;
14.1389 + or32-*)
14.1390 + os=-coff
14.1391 + ;;
14.1392 + *-tti) # must be before sparc entry or we get the wrong os.
14.1393 + os=-sysv3
14.1394 + ;;
14.1395 + sparc-* | *-sun)
14.1396 + os=-sunos4.1.1
14.1397 + ;;
14.1398 + *-be)
14.1399 + os=-beos
14.1400 + ;;
14.1401 + *-haiku)
14.1402 + os=-haiku
14.1403 + ;;
14.1404 + *-ibm)
14.1405 + os=-aix
14.1406 + ;;
14.1407 + *-knuth)
14.1408 + os=-mmixware
14.1409 + ;;
14.1410 + *-wec)
14.1411 + os=-proelf
14.1412 + ;;
14.1413 + *-winbond)
14.1414 + os=-proelf
14.1415 + ;;
14.1416 + *-oki)
14.1417 + os=-proelf
14.1418 + ;;
14.1419 + *-hp)
14.1420 + os=-hpux
14.1421 + ;;
14.1422 + *-hitachi)
14.1423 + os=-hiux
14.1424 + ;;
14.1425 + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
14.1426 + os=-sysv
14.1427 + ;;
14.1428 + *-cbm)
14.1429 + os=-amigaos
14.1430 + ;;
14.1431 + *-dg)
14.1432 + os=-dgux
14.1433 + ;;
14.1434 + *-dolphin)
14.1435 + os=-sysv3
14.1436 + ;;
14.1437 + m68k-ccur)
14.1438 + os=-rtu
14.1439 + ;;
14.1440 + m88k-omron*)
14.1441 + os=-luna
14.1442 + ;;
14.1443 + *-next )
14.1444 + os=-nextstep
14.1445 + ;;
14.1446 + *-sequent)
14.1447 + os=-ptx
14.1448 + ;;
14.1449 + *-crds)
14.1450 + os=-unos
14.1451 + ;;
14.1452 + *-ns)
14.1453 + os=-genix
14.1454 + ;;
14.1455 + i370-*)
14.1456 + os=-mvs
14.1457 + ;;
14.1458 + *-next)
14.1459 + os=-nextstep3
14.1460 + ;;
14.1461 + *-gould)
14.1462 + os=-sysv
14.1463 + ;;
14.1464 + *-highlevel)
14.1465 + os=-bsd
14.1466 + ;;
14.1467 + *-encore)
14.1468 + os=-bsd
14.1469 + ;;
14.1470 + *-sgi)
14.1471 + os=-irix
14.1472 + ;;
14.1473 + *-siemens)
14.1474 + os=-sysv4
14.1475 + ;;
14.1476 + *-masscomp)
14.1477 + os=-rtu
14.1478 + ;;
14.1479 + f30[01]-fujitsu | f700-fujitsu)
14.1480 + os=-uxpv
14.1481 + ;;
14.1482 + *-rom68k)
14.1483 + os=-coff
14.1484 + ;;
14.1485 + *-*bug)
14.1486 + os=-coff
14.1487 + ;;
14.1488 + *-apple)
14.1489 + os=-macos
14.1490 + ;;
14.1491 + *-atari*)
14.1492 + os=-mint
14.1493 + ;;
14.1494 + *)
14.1495 + os=-none
14.1496 + ;;
14.1497 +esac
14.1498 +fi
14.1499 +
14.1500 +# Here we handle the case where we know the os, and the CPU type, but not the
14.1501 +# manufacturer. We pick the logical manufacturer.
14.1502 +vendor=unknown
14.1503 +case $basic_machine in
14.1504 + *-unknown)
14.1505 + case $os in
14.1506 + -riscix*)
14.1507 + vendor=acorn
14.1508 + ;;
14.1509 + -sunos*)
14.1510 + vendor=sun
14.1511 + ;;
14.1512 + -aix*)
14.1513 + vendor=ibm
14.1514 + ;;
14.1515 + -beos*)
14.1516 + vendor=be
14.1517 + ;;
14.1518 + -hpux*)
14.1519 + vendor=hp
14.1520 + ;;
14.1521 + -mpeix*)
14.1522 + vendor=hp
14.1523 + ;;
14.1524 + -hiux*)
14.1525 + vendor=hitachi
14.1526 + ;;
14.1527 + -unos*)
14.1528 + vendor=crds
14.1529 + ;;
14.1530 + -dgux*)
14.1531 + vendor=dg
14.1532 + ;;
14.1533 + -luna*)
14.1534 + vendor=omron
14.1535 + ;;
14.1536 + -genix*)
14.1537 + vendor=ns
14.1538 + ;;
14.1539 + -mvs* | -opened*)
14.1540 + vendor=ibm
14.1541 + ;;
14.1542 + -os400*)
14.1543 + vendor=ibm
14.1544 + ;;
14.1545 + -ptx*)
14.1546 + vendor=sequent
14.1547 + ;;
14.1548 + -tpf*)
14.1549 + vendor=ibm
14.1550 + ;;
14.1551 + -vxsim* | -vxworks* | -windiss*)
14.1552 + vendor=wrs
14.1553 + ;;
14.1554 + -aux*)
14.1555 + vendor=apple
14.1556 + ;;
14.1557 + -hms*)
14.1558 + vendor=hitachi
14.1559 + ;;
14.1560 + -mpw* | -macos*)
14.1561 + vendor=apple
14.1562 + ;;
14.1563 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
14.1564 + vendor=atari
14.1565 + ;;
14.1566 + -vos*)
14.1567 + vendor=stratus
14.1568 + ;;
14.1569 + esac
14.1570 + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
14.1571 + ;;
14.1572 +esac
14.1573 +
14.1574 +echo $basic_machine$os
14.1575 +exit
14.1576 +
14.1577 +# Local variables:
14.1578 +# eval: (add-hook 'write-file-hooks 'time-stamp)
14.1579 +# time-stamp-start: "timestamp='"
14.1580 +# time-stamp-format: "%:y-%02m-%02d"
14.1581 +# time-stamp-end: "'"
14.1582 +# End:
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
15.2 +++ b/gst-plugins-nuvdemux/configure Tue Oct 24 15:02:26 2006 +0100
15.3 @@ -0,0 +1,23595 @@
15.4 +#! /bin/sh
15.5 +# Guess values for system-dependent variables and create Makefiles.
15.6 +# Generated by GNU Autoconf 2.59.
15.7 +#
15.8 +# Copyright (C) 2003 Free Software Foundation, Inc.
15.9 +# This configure script is free software; the Free Software Foundation
15.10 +# gives unlimited permission to copy, distribute and modify it.
15.11 +## --------------------- ##
15.12 +## M4sh Initialization. ##
15.13 +## --------------------- ##
15.14 +
15.15 +# Be Bourne compatible
15.16 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15.17 + emulate sh
15.18 + NULLCMD=:
15.19 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15.20 + # is contrary to our usage. Disable this feature.
15.21 + alias -g '${1+"$@"}'='"$@"'
15.22 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15.23 + set -o posix
15.24 +fi
15.25 +DUALCASE=1; export DUALCASE # for MKS sh
15.26 +
15.27 +# Support unset when possible.
15.28 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15.29 + as_unset=unset
15.30 +else
15.31 + as_unset=false
15.32 +fi
15.33 +
15.34 +
15.35 +# Work around bugs in pre-3.0 UWIN ksh.
15.36 +$as_unset ENV MAIL MAILPATH
15.37 +PS1='$ '
15.38 +PS2='> '
15.39 +PS4='+ '
15.40 +
15.41 +# NLS nuisances.
15.42 +for as_var in \
15.43 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15.44 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15.45 + LC_TELEPHONE LC_TIME
15.46 +do
15.47 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15.48 + eval $as_var=C; export $as_var
15.49 + else
15.50 + $as_unset $as_var
15.51 + fi
15.52 +done
15.53 +
15.54 +# Required to use basename.
15.55 +if expr a : '\(a\)' >/dev/null 2>&1; then
15.56 + as_expr=expr
15.57 +else
15.58 + as_expr=false
15.59 +fi
15.60 +
15.61 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15.62 + as_basename=basename
15.63 +else
15.64 + as_basename=false
15.65 +fi
15.66 +
15.67 +
15.68 +# Name of the executable.
15.69 +as_me=`$as_basename "$0" ||
15.70 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15.71 + X"$0" : 'X\(//\)$' \| \
15.72 + X"$0" : 'X\(/\)$' \| \
15.73 + . : '\(.\)' 2>/dev/null ||
15.74 +echo X/"$0" |
15.75 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15.76 + /^X\/\(\/\/\)$/{ s//\1/; q; }
15.77 + /^X\/\(\/\).*/{ s//\1/; q; }
15.78 + s/.*/./; q'`
15.79 +
15.80 +
15.81 +# PATH needs CR, and LINENO needs CR and PATH.
15.82 +# Avoid depending upon Character Ranges.
15.83 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15.84 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15.85 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15.86 +as_cr_digits='0123456789'
15.87 +as_cr_alnum=$as_cr_Letters$as_cr_digits
15.88 +
15.89 +# The user is always right.
15.90 +if test "${PATH_SEPARATOR+set}" != set; then
15.91 + echo "#! /bin/sh" >conf$$.sh
15.92 + echo "exit 0" >>conf$$.sh
15.93 + chmod +x conf$$.sh
15.94 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15.95 + PATH_SEPARATOR=';'
15.96 + else
15.97 + PATH_SEPARATOR=:
15.98 + fi
15.99 + rm -f conf$$.sh
15.100 +fi
15.101 +
15.102 +
15.103 + as_lineno_1=$LINENO
15.104 + as_lineno_2=$LINENO
15.105 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15.106 + test "x$as_lineno_1" != "x$as_lineno_2" &&
15.107 + test "x$as_lineno_3" = "x$as_lineno_2" || {
15.108 + # Find who we are. Look in the path if we contain no path at all
15.109 + # relative or not.
15.110 + case $0 in
15.111 + *[\\/]* ) as_myself=$0 ;;
15.112 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.113 +for as_dir in $PATH
15.114 +do
15.115 + IFS=$as_save_IFS
15.116 + test -z "$as_dir" && as_dir=.
15.117 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15.118 +done
15.119 +
15.120 + ;;
15.121 + esac
15.122 + # We did not find ourselves, most probably we were run as `sh COMMAND'
15.123 + # in which case we are not to be found in the path.
15.124 + if test "x$as_myself" = x; then
15.125 + as_myself=$0
15.126 + fi
15.127 + if test ! -f "$as_myself"; then
15.128 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
15.129 + { (exit 1); exit 1; }; }
15.130 + fi
15.131 + case $CONFIG_SHELL in
15.132 + '')
15.133 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.134 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15.135 +do
15.136 + IFS=$as_save_IFS
15.137 + test -z "$as_dir" && as_dir=.
15.138 + for as_base in sh bash ksh sh5; do
15.139 + case $as_dir in
15.140 + /*)
15.141 + if ("$as_dir/$as_base" -c '
15.142 + as_lineno_1=$LINENO
15.143 + as_lineno_2=$LINENO
15.144 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15.145 + test "x$as_lineno_1" != "x$as_lineno_2" &&
15.146 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15.147 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15.148 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15.149 + CONFIG_SHELL=$as_dir/$as_base
15.150 + export CONFIG_SHELL
15.151 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15.152 + fi;;
15.153 + esac
15.154 + done
15.155 +done
15.156 +;;
15.157 + esac
15.158 +
15.159 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15.160 + # uniformly replaced by the line number. The first 'sed' inserts a
15.161 + # line-number line before each line; the second 'sed' does the real
15.162 + # work. The second script uses 'N' to pair each line-number line
15.163 + # with the numbered line, and appends trailing '-' during
15.164 + # substitution so that $LINENO is not a special case at line end.
15.165 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15.166 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15.167 + sed '=' <$as_myself |
15.168 + sed '
15.169 + N
15.170 + s,$,-,
15.171 + : loop
15.172 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15.173 + t loop
15.174 + s,-$,,
15.175 + s,^['$as_cr_digits']*\n,,
15.176 + ' >$as_me.lineno &&
15.177 + chmod +x $as_me.lineno ||
15.178 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15.179 + { (exit 1); exit 1; }; }
15.180 +
15.181 + # Don't try to exec as it changes $[0], causing all sort of problems
15.182 + # (the dirname of $[0] is not the place where we might find the
15.183 + # original and so on. Autoconf is especially sensible to this).
15.184 + . ./$as_me.lineno
15.185 + # Exit status is that of the last command.
15.186 + exit
15.187 +}
15.188 +
15.189 +
15.190 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15.191 + *c*,-n*) ECHO_N= ECHO_C='
15.192 +' ECHO_T=' ' ;;
15.193 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15.194 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15.195 +esac
15.196 +
15.197 +if expr a : '\(a\)' >/dev/null 2>&1; then
15.198 + as_expr=expr
15.199 +else
15.200 + as_expr=false
15.201 +fi
15.202 +
15.203 +rm -f conf$$ conf$$.exe conf$$.file
15.204 +echo >conf$$.file
15.205 +if ln -s conf$$.file conf$$ 2>/dev/null; then
15.206 + # We could just check for DJGPP; but this test a) works b) is more generic
15.207 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15.208 + if test -f conf$$.exe; then
15.209 + # Don't use ln at all; we don't have any links
15.210 + as_ln_s='cp -p'
15.211 + else
15.212 + as_ln_s='ln -s'
15.213 + fi
15.214 +elif ln conf$$.file conf$$ 2>/dev/null; then
15.215 + as_ln_s=ln
15.216 +else
15.217 + as_ln_s='cp -p'
15.218 +fi
15.219 +rm -f conf$$ conf$$.exe conf$$.file
15.220 +
15.221 +if mkdir -p . 2>/dev/null; then
15.222 + as_mkdir_p=:
15.223 +else
15.224 + test -d ./-p && rmdir ./-p
15.225 + as_mkdir_p=false
15.226 +fi
15.227 +
15.228 +as_executable_p="test -f"
15.229 +
15.230 +# Sed expression to map a string onto a valid CPP name.
15.231 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15.232 +
15.233 +# Sed expression to map a string onto a valid variable name.
15.234 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15.235 +
15.236 +
15.237 +# IFS
15.238 +# We need space, tab and new line, in precisely that order.
15.239 +as_nl='
15.240 +'
15.241 +IFS=" $as_nl"
15.242 +
15.243 +# CDPATH.
15.244 +$as_unset CDPATH
15.245 +
15.246 +
15.247 +
15.248 +# Check that we are running under the correct shell.
15.249 +SHELL=${CONFIG_SHELL-/bin/sh}
15.250 +
15.251 +case X$ECHO in
15.252 +X*--fallback-echo)
15.253 + # Remove one level of quotation (which was required for Make).
15.254 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
15.255 + ;;
15.256 +esac
15.257 +
15.258 +echo=${ECHO-echo}
15.259 +if test "X$1" = X--no-reexec; then
15.260 + # Discard the --no-reexec flag, and continue.
15.261 + shift
15.262 +elif test "X$1" = X--fallback-echo; then
15.263 + # Avoid inline document here, it may be left over
15.264 + :
15.265 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
15.266 + # Yippee, $echo works!
15.267 + :
15.268 +else
15.269 + # Restart under the correct shell.
15.270 + exec $SHELL "$0" --no-reexec ${1+"$@"}
15.271 +fi
15.272 +
15.273 +if test "X$1" = X--fallback-echo; then
15.274 + # used as fallback echo
15.275 + shift
15.276 + cat <<EOF
15.277 +$*
15.278 +EOF
15.279 + exit 0
15.280 +fi
15.281 +
15.282 +# The HP-UX ksh and POSIX shell print the target directory to stdout
15.283 +# if CDPATH is set.
15.284 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15.285 +
15.286 +if test -z "$ECHO"; then
15.287 +if test "X${echo_test_string+set}" != Xset; then
15.288 +# find a string as large as possible, as long as the shell can cope with it
15.289 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
15.290 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
15.291 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
15.292 + echo_test_string=`eval $cmd` &&
15.293 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
15.294 + then
15.295 + break
15.296 + fi
15.297 + done
15.298 +fi
15.299 +
15.300 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
15.301 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
15.302 + test "X$echo_testing_string" = "X$echo_test_string"; then
15.303 + :
15.304 +else
15.305 + # The Solaris, AIX, and Digital Unix default echo programs unquote
15.306 + # backslashes. This makes it impossible to quote backslashes using
15.307 + # echo "$something" | sed 's/\\/\\\\/g'
15.308 + #
15.309 + # So, first we look for a working echo in the user's PATH.
15.310 +
15.311 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15.312 + for dir in $PATH /usr/ucb; do
15.313 + IFS="$lt_save_ifs"
15.314 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
15.315 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
15.316 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
15.317 + test "X$echo_testing_string" = "X$echo_test_string"; then
15.318 + echo="$dir/echo"
15.319 + break
15.320 + fi
15.321 + done
15.322 + IFS="$lt_save_ifs"
15.323 +
15.324 + if test "X$echo" = Xecho; then
15.325 + # We didn't find a better echo, so look for alternatives.
15.326 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
15.327 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
15.328 + test "X$echo_testing_string" = "X$echo_test_string"; then
15.329 + # This shell has a builtin print -r that does the trick.
15.330 + echo='print -r'
15.331 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
15.332 + test "X$CONFIG_SHELL" != X/bin/ksh; then
15.333 + # If we have ksh, try running configure again with it.
15.334 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15.335 + export ORIGINAL_CONFIG_SHELL
15.336 + CONFIG_SHELL=/bin/ksh
15.337 + export CONFIG_SHELL
15.338 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
15.339 + else
15.340 + # Try using printf.
15.341 + echo='printf %s\n'
15.342 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
15.343 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
15.344 + test "X$echo_testing_string" = "X$echo_test_string"; then
15.345 + # Cool, printf works
15.346 + :
15.347 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
15.348 + test "X$echo_testing_string" = 'X\t' &&
15.349 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
15.350 + test "X$echo_testing_string" = "X$echo_test_string"; then
15.351 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
15.352 + export CONFIG_SHELL
15.353 + SHELL="$CONFIG_SHELL"
15.354 + export SHELL
15.355 + echo="$CONFIG_SHELL $0 --fallback-echo"
15.356 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
15.357 + test "X$echo_testing_string" = 'X\t' &&
15.358 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
15.359 + test "X$echo_testing_string" = "X$echo_test_string"; then
15.360 + echo="$CONFIG_SHELL $0 --fallback-echo"
15.361 + else
15.362 + # maybe with a smaller string...
15.363 + prev=:
15.364 +
15.365 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
15.366 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
15.367 + then
15.368 + break
15.369 + fi
15.370 + prev="$cmd"
15.371 + done
15.372 +
15.373 + if test "$prev" != 'sed 50q "$0"'; then
15.374 + echo_test_string=`eval $prev`
15.375 + export echo_test_string
15.376 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
15.377 + else
15.378 + # Oops. We lost completely, so just stick with echo.
15.379 + echo=echo
15.380 + fi
15.381 + fi
15.382 + fi
15.383 + fi
15.384 +fi
15.385 +fi
15.386 +
15.387 +# Copy echo and quote the copy suitably for passing to libtool from
15.388 +# the Makefile, instead of quoting the original, which is used later.
15.389 +ECHO=$echo
15.390 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
15.391 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
15.392 +fi
15.393 +
15.394 +
15.395 +
15.396 +
15.397 +tagnames=${tagnames+${tagnames},}CXX
15.398 +
15.399 +tagnames=${tagnames+${tagnames},}F77
15.400 +
15.401 +# Name of the host.
15.402 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
15.403 +# so uname gets run too.
15.404 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
15.405 +
15.406 +exec 6>&1
15.407 +
15.408 +#
15.409 +# Initializations.
15.410 +#
15.411 +ac_default_prefix=/usr/local
15.412 +ac_config_libobj_dir=.
15.413 +cross_compiling=no
15.414 +subdirs=
15.415 +MFLAGS=
15.416 +MAKEFLAGS=
15.417 +SHELL=${CONFIG_SHELL-/bin/sh}
15.418 +
15.419 +# Maximum number of lines to put in a shell here document.
15.420 +# This variable seems obsolete. It should probably be removed, and
15.421 +# only ac_max_sed_lines should be used.
15.422 +: ${ac_max_here_lines=38}
15.423 +
15.424 +# Identity of this package.
15.425 +PACKAGE_NAME=
15.426 +PACKAGE_TARNAME=
15.427 +PACKAGE_VERSION=
15.428 +PACKAGE_STRING=
15.429 +PACKAGE_BUGREPORT=
15.430 +
15.431 +# Factoring default headers for most tests.
15.432 +ac_includes_default="\
15.433 +#include <stdio.h>
15.434 +#if HAVE_SYS_TYPES_H
15.435 +# include <sys/types.h>
15.436 +#endif
15.437 +#if HAVE_SYS_STAT_H
15.438 +# include <sys/stat.h>
15.439 +#endif
15.440 +#if STDC_HEADERS
15.441 +# include <stdlib.h>
15.442 +# include <stddef.h>
15.443 +#else
15.444 +# if HAVE_STDLIB_H
15.445 +# include <stdlib.h>
15.446 +# endif
15.447 +#endif
15.448 +#if HAVE_STRING_H
15.449 +# if !STDC_HEADERS && HAVE_MEMORY_H
15.450 +# include <memory.h>
15.451 +# endif
15.452 +# include <string.h>
15.453 +#endif
15.454 +#if HAVE_STRINGS_H
15.455 +# include <strings.h>
15.456 +#endif
15.457 +#if HAVE_INTTYPES_H
15.458 +# include <inttypes.h>
15.459 +#else
15.460 +# if HAVE_STDINT_H
15.461 +# include <stdint.h>
15.462 +# endif
15.463 +#endif
15.464 +#if HAVE_UNISTD_H
15.465 +# include <unistd.h>
15.466 +#endif"
15.467 +
15.468 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GST_PLUGINS_VERSION GST_PLUGINS_VERSION_RELEASE GST_PLUGINS_VERSION_MAJOR GST_PLUGINS_VERSION_MINOR GST_PLUGINS_VERSION_MICRO GST_PLUGINS_VERSION_NANO PACKAGE VERSION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ACLOCAL_AMFLAGS CCAS CCASFLAGS ERROR_CFLAGS HAVE_CXX HAVE_PKGCONFIG PKG_CONFIG GST_CFLAGS GST_LIBS GST_MAJORMINOR GST_BASE_CFLAGS GST_BASE_LIBS GST_PLUGINS_BASE_CFLAGS GST_PLUGINS_BASE_LIBS plugindir GST_PLUGIN_LDFLAGS LIBOBJS LTLIBOBJS'
15.469 +ac_subst_files=''
15.470 +
15.471 +# Initialize some variables set by options.
15.472 +ac_init_help=
15.473 +ac_init_version=false
15.474 +# The variables have the same names as the options, with
15.475 +# dashes changed to underlines.
15.476 +cache_file=/dev/null
15.477 +exec_prefix=NONE
15.478 +no_create=
15.479 +no_recursion=
15.480 +prefix=NONE
15.481 +program_prefix=NONE
15.482 +program_suffix=NONE
15.483 +program_transform_name=s,x,x,
15.484 +silent=
15.485 +site=
15.486 +srcdir=
15.487 +verbose=
15.488 +x_includes=NONE
15.489 +x_libraries=NONE
15.490 +
15.491 +# Installation directory options.
15.492 +# These are left unexpanded so users can "make install exec_prefix=/foo"
15.493 +# and all the variables that are supposed to be based on exec_prefix
15.494 +# by default will actually change.
15.495 +# Use braces instead of parens because sh, perl, etc. also accept them.
15.496 +bindir='${exec_prefix}/bin'
15.497 +sbindir='${exec_prefix}/sbin'
15.498 +libexecdir='${exec_prefix}/libexec'
15.499 +datadir='${prefix}/share'
15.500 +sysconfdir='${prefix}/etc'
15.501 +sharedstatedir='${prefix}/com'
15.502 +localstatedir='${prefix}/var'
15.503 +libdir='${exec_prefix}/lib'
15.504 +includedir='${prefix}/include'
15.505 +oldincludedir='/usr/include'
15.506 +infodir='${prefix}/info'
15.507 +mandir='${prefix}/man'
15.508 +
15.509 +ac_prev=
15.510 +for ac_option
15.511 +do
15.512 + # If the previous option needs an argument, assign it.
15.513 + if test -n "$ac_prev"; then
15.514 + eval "$ac_prev=\$ac_option"
15.515 + ac_prev=
15.516 + continue
15.517 + fi
15.518 +
15.519 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
15.520 +
15.521 + # Accept the important Cygnus configure options, so we can diagnose typos.
15.522 +
15.523 + case $ac_option in
15.524 +
15.525 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
15.526 + ac_prev=bindir ;;
15.527 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
15.528 + bindir=$ac_optarg ;;
15.529 +
15.530 + -build | --build | --buil | --bui | --bu)
15.531 + ac_prev=build_alias ;;
15.532 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
15.533 + build_alias=$ac_optarg ;;
15.534 +
15.535 + -cache-file | --cache-file | --cache-fil | --cache-fi \
15.536 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15.537 + ac_prev=cache_file ;;
15.538 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15.539 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
15.540 + cache_file=$ac_optarg ;;
15.541 +
15.542 + --config-cache | -C)
15.543 + cache_file=config.cache ;;
15.544 +
15.545 + -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
15.546 + ac_prev=datadir ;;
15.547 + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
15.548 + | --da=*)
15.549 + datadir=$ac_optarg ;;
15.550 +
15.551 + -disable-* | --disable-*)
15.552 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
15.553 + # Reject names that are not valid shell variable names.
15.554 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
15.555 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
15.556 + { (exit 1); exit 1; }; }
15.557 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
15.558 + eval "enable_$ac_feature=no" ;;
15.559 +
15.560 + -enable-* | --enable-*)
15.561 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
15.562 + # Reject names that are not valid shell variable names.
15.563 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
15.564 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
15.565 + { (exit 1); exit 1; }; }
15.566 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
15.567 + case $ac_option in
15.568 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
15.569 + *) ac_optarg=yes ;;
15.570 + esac
15.571 + eval "enable_$ac_feature='$ac_optarg'" ;;
15.572 +
15.573 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
15.574 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
15.575 + | --exec | --exe | --ex)
15.576 + ac_prev=exec_prefix ;;
15.577 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
15.578 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
15.579 + | --exec=* | --exe=* | --ex=*)
15.580 + exec_prefix=$ac_optarg ;;
15.581 +
15.582 + -gas | --gas | --ga | --g)
15.583 + # Obsolete; use --with-gas.
15.584 + with_gas=yes ;;
15.585 +
15.586 + -help | --help | --hel | --he | -h)
15.587 + ac_init_help=long ;;
15.588 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
15.589 + ac_init_help=recursive ;;
15.590 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
15.591 + ac_init_help=short ;;
15.592 +
15.593 + -host | --host | --hos | --ho)
15.594 + ac_prev=host_alias ;;
15.595 + -host=* | --host=* | --hos=* | --ho=*)
15.596 + host_alias=$ac_optarg ;;
15.597 +
15.598 + -includedir | --includedir | --includedi | --included | --include \
15.599 + | --includ | --inclu | --incl | --inc)
15.600 + ac_prev=includedir ;;
15.601 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
15.602 + | --includ=* | --inclu=* | --incl=* | --inc=*)
15.603 + includedir=$ac_optarg ;;
15.604 +
15.605 + -infodir | --infodir | --infodi | --infod | --info | --inf)
15.606 + ac_prev=infodir ;;
15.607 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
15.608 + infodir=$ac_optarg ;;
15.609 +
15.610 + -libdir | --libdir | --libdi | --libd)
15.611 + ac_prev=libdir ;;
15.612 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
15.613 + libdir=$ac_optarg ;;
15.614 +
15.615 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
15.616 + | --libexe | --libex | --libe)
15.617 + ac_prev=libexecdir ;;
15.618 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
15.619 + | --libexe=* | --libex=* | --libe=*)
15.620 + libexecdir=$ac_optarg ;;
15.621 +
15.622 + -localstatedir | --localstatedir | --localstatedi | --localstated \
15.623 + | --localstate | --localstat | --localsta | --localst \
15.624 + | --locals | --local | --loca | --loc | --lo)
15.625 + ac_prev=localstatedir ;;
15.626 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
15.627 + | --localstate=* | --localstat=* | --localsta=* | --localst=* \
15.628 + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
15.629 + localstatedir=$ac_optarg ;;
15.630 +
15.631 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
15.632 + ac_prev=mandir ;;
15.633 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
15.634 + mandir=$ac_optarg ;;
15.635 +
15.636 + -nfp | --nfp | --nf)
15.637 + # Obsolete; use --without-fp.
15.638 + with_fp=no ;;
15.639 +
15.640 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
15.641 + | --no-cr | --no-c | -n)
15.642 + no_create=yes ;;
15.643 +
15.644 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
15.645 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
15.646 + no_recursion=yes ;;
15.647 +
15.648 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
15.649 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
15.650 + | --oldin | --oldi | --old | --ol | --o)
15.651 + ac_prev=oldincludedir ;;
15.652 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
15.653 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
15.654 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
15.655 + oldincludedir=$ac_optarg ;;
15.656 +
15.657 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15.658 + ac_prev=prefix ;;
15.659 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15.660 + prefix=$ac_optarg ;;
15.661 +
15.662 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
15.663 + | --program-pre | --program-pr | --program-p)
15.664 + ac_prev=program_prefix ;;
15.665 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
15.666 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
15.667 + program_prefix=$ac_optarg ;;
15.668 +
15.669 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
15.670 + | --program-suf | --program-su | --program-s)
15.671 + ac_prev=program_suffix ;;
15.672 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
15.673 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
15.674 + program_suffix=$ac_optarg ;;
15.675 +
15.676 + -program-transform-name | --program-transform-name \
15.677 + | --program-transform-nam | --program-transform-na \
15.678 + | --program-transform-n | --program-transform- \
15.679 + | --program-transform | --program-transfor \
15.680 + | --program-transfo | --program-transf \
15.681 + | --program-trans | --program-tran \
15.682 + | --progr-tra | --program-tr | --program-t)
15.683 + ac_prev=program_transform_name ;;
15.684 + -program-transform-name=* | --program-transform-name=* \
15.685 + | --program-transform-nam=* | --program-transform-na=* \
15.686 + | --program-transform-n=* | --program-transform-=* \
15.687 + | --program-transform=* | --program-transfor=* \
15.688 + | --program-transfo=* | --program-transf=* \
15.689 + | --program-trans=* | --program-tran=* \
15.690 + | --progr-tra=* | --program-tr=* | --program-t=*)
15.691 + program_transform_name=$ac_optarg ;;
15.692 +
15.693 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15.694 + | -silent | --silent | --silen | --sile | --sil)
15.695 + silent=yes ;;
15.696 +
15.697 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
15.698 + ac_prev=sbindir ;;
15.699 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
15.700 + | --sbi=* | --sb=*)
15.701 + sbindir=$ac_optarg ;;
15.702 +
15.703 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
15.704 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
15.705 + | --sharedst | --shareds | --shared | --share | --shar \
15.706 + | --sha | --sh)
15.707 + ac_prev=sharedstatedir ;;
15.708 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
15.709 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
15.710 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
15.711 + | --sha=* | --sh=*)
15.712 + sharedstatedir=$ac_optarg ;;
15.713 +
15.714 + -site | --site | --sit)
15.715 + ac_prev=site ;;
15.716 + -site=* | --site=* | --sit=*)
15.717 + site=$ac_optarg ;;
15.718 +
15.719 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15.720 + ac_prev=srcdir ;;
15.721 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15.722 + srcdir=$ac_optarg ;;
15.723 +
15.724 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
15.725 + | --syscon | --sysco | --sysc | --sys | --sy)
15.726 + ac_prev=sysconfdir ;;
15.727 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
15.728 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
15.729 + sysconfdir=$ac_optarg ;;
15.730 +
15.731 + -target | --target | --targe | --targ | --tar | --ta | --t)
15.732 + ac_prev=target_alias ;;
15.733 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
15.734 + target_alias=$ac_optarg ;;
15.735 +
15.736 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
15.737 + verbose=yes ;;
15.738 +
15.739 + -version | --version | --versio | --versi | --vers | -V)
15.740 + ac_init_version=: ;;
15.741 +
15.742 + -with-* | --with-*)
15.743 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
15.744 + # Reject names that are not valid shell variable names.
15.745 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
15.746 + { echo "$as_me: error: invalid package name: $ac_package" >&2
15.747 + { (exit 1); exit 1; }; }
15.748 + ac_package=`echo $ac_package| sed 's/-/_/g'`
15.749 + case $ac_option in
15.750 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
15.751 + *) ac_optarg=yes ;;
15.752 + esac
15.753 + eval "with_$ac_package='$ac_optarg'" ;;
15.754 +
15.755 + -without-* | --without-*)
15.756 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
15.757 + # Reject names that are not valid shell variable names.
15.758 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
15.759 + { echo "$as_me: error: invalid package name: $ac_package" >&2
15.760 + { (exit 1); exit 1; }; }
15.761 + ac_package=`echo $ac_package | sed 's/-/_/g'`
15.762 + eval "with_$ac_package=no" ;;
15.763 +
15.764 + --x)
15.765 + # Obsolete; use --with-x.
15.766 + with_x=yes ;;
15.767 +
15.768 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
15.769 + | --x-incl | --x-inc | --x-in | --x-i)
15.770 + ac_prev=x_includes ;;
15.771 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
15.772 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
15.773 + x_includes=$ac_optarg ;;
15.774 +
15.775 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
15.776 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
15.777 + ac_prev=x_libraries ;;
15.778 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
15.779 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
15.780 + x_libraries=$ac_optarg ;;
15.781 +
15.782 + -*) { echo "$as_me: error: unrecognized option: $ac_option
15.783 +Try \`$0 --help' for more information." >&2
15.784 + { (exit 1); exit 1; }; }
15.785 + ;;
15.786 +
15.787 + *=*)
15.788 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
15.789 + # Reject names that are not valid shell variable names.
15.790 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
15.791 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
15.792 + { (exit 1); exit 1; }; }
15.793 + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
15.794 + eval "$ac_envvar='$ac_optarg'"
15.795 + export $ac_envvar ;;
15.796 +
15.797 + *)
15.798 + # FIXME: should be removed in autoconf 3.0.
15.799 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
15.800 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
15.801 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
15.802 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
15.803 + ;;
15.804 +
15.805 + esac
15.806 +done
15.807 +
15.808 +if test -n "$ac_prev"; then
15.809 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
15.810 + { echo "$as_me: error: missing argument to $ac_option" >&2
15.811 + { (exit 1); exit 1; }; }
15.812 +fi
15.813 +
15.814 +# Be sure to have absolute paths.
15.815 +for ac_var in exec_prefix prefix
15.816 +do
15.817 + eval ac_val=$`echo $ac_var`
15.818 + case $ac_val in
15.819 + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
15.820 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
15.821 + { (exit 1); exit 1; }; };;
15.822 + esac
15.823 +done
15.824 +
15.825 +# Be sure to have absolute paths.
15.826 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
15.827 + localstatedir libdir includedir oldincludedir infodir mandir
15.828 +do
15.829 + eval ac_val=$`echo $ac_var`
15.830 + case $ac_val in
15.831 + [\\/$]* | ?:[\\/]* ) ;;
15.832 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
15.833 + { (exit 1); exit 1; }; };;
15.834 + esac
15.835 +done
15.836 +
15.837 +# There might be people who depend on the old broken behavior: `$host'
15.838 +# used to hold the argument of --host etc.
15.839 +# FIXME: To remove some day.
15.840 +build=$build_alias
15.841 +host=$host_alias
15.842 +target=$target_alias
15.843 +
15.844 +# FIXME: To remove some day.
15.845 +if test "x$host_alias" != x; then
15.846 + if test "x$build_alias" = x; then
15.847 + cross_compiling=maybe
15.848 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
15.849 + If a cross compiler is detected then cross compile mode will be used." >&2
15.850 + elif test "x$build_alias" != "x$host_alias"; then
15.851 + cross_compiling=yes
15.852 + fi
15.853 +fi
15.854 +
15.855 +ac_tool_prefix=
15.856 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
15.857 +
15.858 +test "$silent" = yes && exec 6>/dev/null
15.859 +
15.860 +
15.861 +# Find the source files, if location was not specified.
15.862 +if test -z "$srcdir"; then
15.863 + ac_srcdir_defaulted=yes
15.864 + # Try the directory containing this script, then its parent.
15.865 + ac_confdir=`(dirname "$0") 2>/dev/null ||
15.866 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15.867 + X"$0" : 'X\(//\)[^/]' \| \
15.868 + X"$0" : 'X\(//\)$' \| \
15.869 + X"$0" : 'X\(/\)' \| \
15.870 + . : '\(.\)' 2>/dev/null ||
15.871 +echo X"$0" |
15.872 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15.873 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15.874 + /^X\(\/\/\)$/{ s//\1/; q; }
15.875 + /^X\(\/\).*/{ s//\1/; q; }
15.876 + s/.*/./; q'`
15.877 + srcdir=$ac_confdir
15.878 + if test ! -r $srcdir/$ac_unique_file; then
15.879 + srcdir=..
15.880 + fi
15.881 +else
15.882 + ac_srcdir_defaulted=no
15.883 +fi
15.884 +if test ! -r $srcdir/$ac_unique_file; then
15.885 + if test "$ac_srcdir_defaulted" = yes; then
15.886 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
15.887 + { (exit 1); exit 1; }; }
15.888 + else
15.889 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
15.890 + { (exit 1); exit 1; }; }
15.891 + fi
15.892 +fi
15.893 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
15.894 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
15.895 + { (exit 1); exit 1; }; }
15.896 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
15.897 +ac_env_build_alias_set=${build_alias+set}
15.898 +ac_env_build_alias_value=$build_alias
15.899 +ac_cv_env_build_alias_set=${build_alias+set}
15.900 +ac_cv_env_build_alias_value=$build_alias
15.901 +ac_env_host_alias_set=${host_alias+set}
15.902 +ac_env_host_alias_value=$host_alias
15.903 +ac_cv_env_host_alias_set=${host_alias+set}
15.904 +ac_cv_env_host_alias_value=$host_alias
15.905 +ac_env_target_alias_set=${target_alias+set}
15.906 +ac_env_target_alias_value=$target_alias
15.907 +ac_cv_env_target_alias_set=${target_alias+set}
15.908 +ac_cv_env_target_alias_value=$target_alias
15.909 +ac_env_CC_set=${CC+set}
15.910 +ac_env_CC_value=$CC
15.911 +ac_cv_env_CC_set=${CC+set}
15.912 +ac_cv_env_CC_value=$CC
15.913 +ac_env_CFLAGS_set=${CFLAGS+set}
15.914 +ac_env_CFLAGS_value=$CFLAGS
15.915 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
15.916 +ac_cv_env_CFLAGS_value=$CFLAGS
15.917 +ac_env_LDFLAGS_set=${LDFLAGS+set}
15.918 +ac_env_LDFLAGS_value=$LDFLAGS
15.919 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
15.920 +ac_cv_env_LDFLAGS_value=$LDFLAGS
15.921 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
15.922 +ac_env_CPPFLAGS_value=$CPPFLAGS
15.923 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
15.924 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
15.925 +ac_env_CPP_set=${CPP+set}
15.926 +ac_env_CPP_value=$CPP
15.927 +ac_cv_env_CPP_set=${CPP+set}
15.928 +ac_cv_env_CPP_value=$CPP
15.929 +ac_env_CXX_set=${CXX+set}
15.930 +ac_env_CXX_value=$CXX
15.931 +ac_cv_env_CXX_set=${CXX+set}
15.932 +ac_cv_env_CXX_value=$CXX
15.933 +ac_env_CXXFLAGS_set=${CXXFLAGS+set}
15.934 +ac_env_CXXFLAGS_value=$CXXFLAGS
15.935 +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
15.936 +ac_cv_env_CXXFLAGS_value=$CXXFLAGS
15.937 +ac_env_CXXCPP_set=${CXXCPP+set}
15.938 +ac_env_CXXCPP_value=$CXXCPP
15.939 +ac_cv_env_CXXCPP_set=${CXXCPP+set}
15.940 +ac_cv_env_CXXCPP_value=$CXXCPP
15.941 +ac_env_F77_set=${F77+set}
15.942 +ac_env_F77_value=$F77
15.943 +ac_cv_env_F77_set=${F77+set}
15.944 +ac_cv_env_F77_value=$F77
15.945 +ac_env_FFLAGS_set=${FFLAGS+set}
15.946 +ac_env_FFLAGS_value=$FFLAGS
15.947 +ac_cv_env_FFLAGS_set=${FFLAGS+set}
15.948 +ac_cv_env_FFLAGS_value=$FFLAGS
15.949 +ac_env_CCAS_set=${CCAS+set}
15.950 +ac_env_CCAS_value=$CCAS
15.951 +ac_cv_env_CCAS_set=${CCAS+set}
15.952 +ac_cv_env_CCAS_value=$CCAS
15.953 +ac_env_CCASFLAGS_set=${CCASFLAGS+set}
15.954 +ac_env_CCASFLAGS_value=$CCASFLAGS
15.955 +ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
15.956 +ac_cv_env_CCASFLAGS_value=$CCASFLAGS
15.957 +
15.958 +#
15.959 +# Report the --help message.
15.960 +#
15.961 +if test "$ac_init_help" = "long"; then
15.962 + # Omit some internal or obsolete options to make the list less imposing.
15.963 + # This message is too long to be a string in the A/UX 3.1 sh.
15.964 + cat <<_ACEOF
15.965 +\`configure' configures this package to adapt to many kinds of systems.
15.966 +
15.967 +Usage: $0 [OPTION]... [VAR=VALUE]...
15.968 +
15.969 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
15.970 +VAR=VALUE. See below for descriptions of some of the useful variables.
15.971 +
15.972 +Defaults for the options are specified in brackets.
15.973 +
15.974 +Configuration:
15.975 + -h, --help display this help and exit
15.976 + --help=short display options specific to this package
15.977 + --help=recursive display the short help of all the included packages
15.978 + -V, --version display version information and exit
15.979 + -q, --quiet, --silent do not print \`checking...' messages
15.980 + --cache-file=FILE cache test results in FILE [disabled]
15.981 + -C, --config-cache alias for \`--cache-file=config.cache'
15.982 + -n, --no-create do not create output files
15.983 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
15.984 +
15.985 +_ACEOF
15.986 +
15.987 + cat <<_ACEOF
15.988 +Installation directories:
15.989 + --prefix=PREFIX install architecture-independent files in PREFIX
15.990 + [$ac_default_prefix]
15.991 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
15.992 + [PREFIX]
15.993 +
15.994 +By default, \`make install' will install all the files in
15.995 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
15.996 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
15.997 +for instance \`--prefix=\$HOME'.
15.998 +
15.999 +For better control, use the options below.
15.1000 +
15.1001 +Fine tuning of the installation directories:
15.1002 + --bindir=DIR user executables [EPREFIX/bin]
15.1003 + --sbindir=DIR system admin executables [EPREFIX/sbin]
15.1004 + --libexecdir=DIR program executables [EPREFIX/libexec]
15.1005 + --datadir=DIR read-only architecture-independent data [PREFIX/share]
15.1006 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
15.1007 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
15.1008 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
15.1009 + --libdir=DIR object code libraries [EPREFIX/lib]
15.1010 + --includedir=DIR C header files [PREFIX/include]
15.1011 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
15.1012 + --infodir=DIR info documentation [PREFIX/info]
15.1013 + --mandir=DIR man documentation [PREFIX/man]
15.1014 +_ACEOF
15.1015 +
15.1016 + cat <<\_ACEOF
15.1017 +
15.1018 +Program names:
15.1019 + --program-prefix=PREFIX prepend PREFIX to installed program names
15.1020 + --program-suffix=SUFFIX append SUFFIX to installed program names
15.1021 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
15.1022 +
15.1023 +System types:
15.1024 + --build=BUILD configure for building on BUILD [guessed]
15.1025 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
15.1026 + --target=TARGET configure for building compilers for TARGET [HOST]
15.1027 +_ACEOF
15.1028 +fi
15.1029 +
15.1030 +if test -n "$ac_init_help"; then
15.1031 +
15.1032 + cat <<\_ACEOF
15.1033 +
15.1034 +Optional Features:
15.1035 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
15.1036 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
15.1037 + --enable-static[=PKGS]
15.1038 + build static libraries [default=no]
15.1039 + --enable-maintainer-mode enable make rules and dependencies not useful
15.1040 + (and sometimes confusing) to the casual installer
15.1041 + --enable-shared[=PKGS]
15.1042 + build shared libraries [default=yes]
15.1043 + --enable-fast-install[=PKGS]
15.1044 + optimize for fast installation [default=yes]
15.1045 + --disable-dependency-tracking speeds up one-time build
15.1046 + --enable-dependency-tracking do not reject slow dependency extractors
15.1047 + --disable-libtool-lock avoid locking (might break parallel builds)
15.1048 +
15.1049 +Optional Packages:
15.1050 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
15.1051 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
15.1052 + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
15.1053 + --with-pic try to use only PIC/non-PIC objects [default=use
15.1054 + both]
15.1055 + --with-tags[=TAGS]
15.1056 + include additional configurations [automatic]
15.1057 +
15.1058 +Some influential environment variables:
15.1059 + CC C compiler command
15.1060 + CFLAGS C compiler flags
15.1061 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
15.1062 + nonstandard directory <lib dir>
15.1063 + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
15.1064 + headers in a nonstandard directory <include dir>
15.1065 + CPP C preprocessor
15.1066 + CXX C++ compiler command
15.1067 + CXXFLAGS C++ compiler flags
15.1068 + CXXCPP C++ preprocessor
15.1069 + F77 Fortran 77 compiler command
15.1070 + FFLAGS Fortran 77 compiler flags
15.1071 + CCAS assembler compiler command (defaults to CC)
15.1072 + CCASFLAGS assembler compiler flags (defaults to CFLAGS)
15.1073 +
15.1074 +Use these variables to override the choices made by `configure' or to help
15.1075 +it to find libraries and programs with nonstandard names/locations.
15.1076 +
15.1077 +_ACEOF
15.1078 +fi
15.1079 +
15.1080 +if test "$ac_init_help" = "recursive"; then
15.1081 + # If there are subdirs, report their specific --help.
15.1082 + ac_popdir=`pwd`
15.1083 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
15.1084 + test -d $ac_dir || continue
15.1085 + ac_builddir=.
15.1086 +
15.1087 +if test "$ac_dir" != .; then
15.1088 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15.1089 + # A "../" for each directory in $ac_dir_suffix.
15.1090 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15.1091 +else
15.1092 + ac_dir_suffix= ac_top_builddir=
15.1093 +fi
15.1094 +
15.1095 +case $srcdir in
15.1096 + .) # No --srcdir option. We are building in place.
15.1097 + ac_srcdir=.
15.1098 + if test -z "$ac_top_builddir"; then
15.1099 + ac_top_srcdir=.
15.1100 + else
15.1101 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15.1102 + fi ;;
15.1103 + [\\/]* | ?:[\\/]* ) # Absolute path.
15.1104 + ac_srcdir=$srcdir$ac_dir_suffix;
15.1105 + ac_top_srcdir=$srcdir ;;
15.1106 + *) # Relative path.
15.1107 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15.1108 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
15.1109 +esac
15.1110 +
15.1111 +# Do not use `cd foo && pwd` to compute absolute paths, because
15.1112 +# the directories may not exist.
15.1113 +case `pwd` in
15.1114 +.) ac_abs_builddir="$ac_dir";;
15.1115 +*)
15.1116 + case "$ac_dir" in
15.1117 + .) ac_abs_builddir=`pwd`;;
15.1118 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
15.1119 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
15.1120 + esac;;
15.1121 +esac
15.1122 +case $ac_abs_builddir in
15.1123 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
15.1124 +*)
15.1125 + case ${ac_top_builddir}. in
15.1126 + .) ac_abs_top_builddir=$ac_abs_builddir;;
15.1127 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15.1128 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15.1129 + esac;;
15.1130 +esac
15.1131 +case $ac_abs_builddir in
15.1132 +.) ac_abs_srcdir=$ac_srcdir;;
15.1133 +*)
15.1134 + case $ac_srcdir in
15.1135 + .) ac_abs_srcdir=$ac_abs_builddir;;
15.1136 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15.1137 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15.1138 + esac;;
15.1139 +esac
15.1140 +case $ac_abs_builddir in
15.1141 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
15.1142 +*)
15.1143 + case $ac_top_srcdir in
15.1144 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
15.1145 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15.1146 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15.1147 + esac;;
15.1148 +esac
15.1149 +
15.1150 + cd $ac_dir
15.1151 + # Check for guested configure; otherwise get Cygnus style configure.
15.1152 + if test -f $ac_srcdir/configure.gnu; then
15.1153 + echo
15.1154 + $SHELL $ac_srcdir/configure.gnu --help=recursive
15.1155 + elif test -f $ac_srcdir/configure; then
15.1156 + echo
15.1157 + $SHELL $ac_srcdir/configure --help=recursive
15.1158 + elif test -f $ac_srcdir/configure.ac ||
15.1159 + test -f $ac_srcdir/configure.in; then
15.1160 + echo
15.1161 + $ac_configure --help
15.1162 + else
15.1163 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15.1164 + fi
15.1165 + cd "$ac_popdir"
15.1166 + done
15.1167 +fi
15.1168 +
15.1169 +test -n "$ac_init_help" && exit 0
15.1170 +if $ac_init_version; then
15.1171 + cat <<\_ACEOF
15.1172 +
15.1173 +Copyright (C) 2003 Free Software Foundation, Inc.
15.1174 +This configure script is free software; the Free Software Foundation
15.1175 +gives unlimited permission to copy, distribute and modify it.
15.1176 +_ACEOF
15.1177 + exit 0
15.1178 +fi
15.1179 +exec 5>config.log
15.1180 +cat >&5 <<_ACEOF
15.1181 +This file contains any messages produced by compilers while
15.1182 +running configure, to aid debugging if configure makes a mistake.
15.1183 +
15.1184 +It was created by $as_me, which was
15.1185 +generated by GNU Autoconf 2.59. Invocation command line was
15.1186 +
15.1187 + $ $0 $@
15.1188 +
15.1189 +_ACEOF
15.1190 +{
15.1191 +cat <<_ASUNAME
15.1192 +## --------- ##
15.1193 +## Platform. ##
15.1194 +## --------- ##
15.1195 +
15.1196 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
15.1197 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
15.1198 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
15.1199 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
15.1200 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
15.1201 +
15.1202 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
15.1203 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
15.1204 +
15.1205 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
15.1206 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
15.1207 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
15.1208 +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
15.1209 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
15.1210 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
15.1211 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
15.1212 +
15.1213 +_ASUNAME
15.1214 +
15.1215 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.1216 +for as_dir in $PATH
15.1217 +do
15.1218 + IFS=$as_save_IFS
15.1219 + test -z "$as_dir" && as_dir=.
15.1220 + echo "PATH: $as_dir"
15.1221 +done
15.1222 +
15.1223 +} >&5
15.1224 +
15.1225 +cat >&5 <<_ACEOF
15.1226 +
15.1227 +
15.1228 +## ----------- ##
15.1229 +## Core tests. ##
15.1230 +## ----------- ##
15.1231 +
15.1232 +_ACEOF
15.1233 +
15.1234 +
15.1235 +# Keep a trace of the command line.
15.1236 +# Strip out --no-create and --no-recursion so they do not pile up.
15.1237 +# Strip out --silent because we don't want to record it for future runs.
15.1238 +# Also quote any args containing shell meta-characters.
15.1239 +# Make two passes to allow for proper duplicate-argument suppression.
15.1240 +ac_configure_args=
15.1241 +ac_configure_args0=
15.1242 +ac_configure_args1=
15.1243 +ac_sep=
15.1244 +ac_must_keep_next=false
15.1245 +for ac_pass in 1 2
15.1246 +do
15.1247 + for ac_arg
15.1248 + do
15.1249 + case $ac_arg in
15.1250 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
15.1251 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15.1252 + | -silent | --silent | --silen | --sile | --sil)
15.1253 + continue ;;
15.1254 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
15.1255 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15.1256 + esac
15.1257 + case $ac_pass in
15.1258 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
15.1259 + 2)
15.1260 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
15.1261 + if test $ac_must_keep_next = true; then
15.1262 + ac_must_keep_next=false # Got value, back to normal.
15.1263 + else
15.1264 + case $ac_arg in
15.1265 + *=* | --config-cache | -C | -disable-* | --disable-* \
15.1266 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
15.1267 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
15.1268 + | -with-* | --with-* | -without-* | --without-* | --x)
15.1269 + case "$ac_configure_args0 " in
15.1270 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
15.1271 + esac
15.1272 + ;;
15.1273 + -* ) ac_must_keep_next=true ;;
15.1274 + esac
15.1275 + fi
15.1276 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
15.1277 + # Get rid of the leading space.
15.1278 + ac_sep=" "
15.1279 + ;;
15.1280 + esac
15.1281 + done
15.1282 +done
15.1283 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
15.1284 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
15.1285 +
15.1286 +# When interrupted or exit'd, cleanup temporary files, and complete
15.1287 +# config.log. We remove comments because anyway the quotes in there
15.1288 +# would cause problems or look ugly.
15.1289 +# WARNING: Be sure not to use single quotes in there, as some shells,
15.1290 +# such as our DU 5.0 friend, will then `close' the trap.
15.1291 +trap 'exit_status=$?
15.1292 + # Save into config.log some information that might help in debugging.
15.1293 + {
15.1294 + echo
15.1295 +
15.1296 + cat <<\_ASBOX
15.1297 +## ---------------- ##
15.1298 +## Cache variables. ##
15.1299 +## ---------------- ##
15.1300 +_ASBOX
15.1301 + echo
15.1302 + # The following way of writing the cache mishandles newlines in values,
15.1303 +{
15.1304 + (set) 2>&1 |
15.1305 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
15.1306 + *ac_space=\ *)
15.1307 + sed -n \
15.1308 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
15.1309 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
15.1310 + ;;
15.1311 + *)
15.1312 + sed -n \
15.1313 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15.1314 + ;;
15.1315 + esac;
15.1316 +}
15.1317 + echo
15.1318 +
15.1319 + cat <<\_ASBOX
15.1320 +## ----------------- ##
15.1321 +## Output variables. ##
15.1322 +## ----------------- ##
15.1323 +_ASBOX
15.1324 + echo
15.1325 + for ac_var in $ac_subst_vars
15.1326 + do
15.1327 + eval ac_val=$`echo $ac_var`
15.1328 + echo "$ac_var='"'"'$ac_val'"'"'"
15.1329 + done | sort
15.1330 + echo
15.1331 +
15.1332 + if test -n "$ac_subst_files"; then
15.1333 + cat <<\_ASBOX
15.1334 +## ------------- ##
15.1335 +## Output files. ##
15.1336 +## ------------- ##
15.1337 +_ASBOX
15.1338 + echo
15.1339 + for ac_var in $ac_subst_files
15.1340 + do
15.1341 + eval ac_val=$`echo $ac_var`
15.1342 + echo "$ac_var='"'"'$ac_val'"'"'"
15.1343 + done | sort
15.1344 + echo
15.1345 + fi
15.1346 +
15.1347 + if test -s confdefs.h; then
15.1348 + cat <<\_ASBOX
15.1349 +## ----------- ##
15.1350 +## confdefs.h. ##
15.1351 +## ----------- ##
15.1352 +_ASBOX
15.1353 + echo
15.1354 + sed "/^$/d" confdefs.h | sort
15.1355 + echo
15.1356 + fi
15.1357 + test "$ac_signal" != 0 &&
15.1358 + echo "$as_me: caught signal $ac_signal"
15.1359 + echo "$as_me: exit $exit_status"
15.1360 + } >&5
15.1361 + rm -f core *.core &&
15.1362 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
15.1363 + exit $exit_status
15.1364 + ' 0
15.1365 +for ac_signal in 1 2 13 15; do
15.1366 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
15.1367 +done
15.1368 +ac_signal=0
15.1369 +
15.1370 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
15.1371 +rm -rf conftest* confdefs.h
15.1372 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
15.1373 +echo >confdefs.h
15.1374 +
15.1375 +# Predefined preprocessor variables.
15.1376 +
15.1377 +cat >>confdefs.h <<_ACEOF
15.1378 +#define PACKAGE_NAME "$PACKAGE_NAME"
15.1379 +_ACEOF
15.1380 +
15.1381 +
15.1382 +cat >>confdefs.h <<_ACEOF
15.1383 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
15.1384 +_ACEOF
15.1385 +
15.1386 +
15.1387 +cat >>confdefs.h <<_ACEOF
15.1388 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
15.1389 +_ACEOF
15.1390 +
15.1391 +
15.1392 +cat >>confdefs.h <<_ACEOF
15.1393 +#define PACKAGE_STRING "$PACKAGE_STRING"
15.1394 +_ACEOF
15.1395 +
15.1396 +
15.1397 +cat >>confdefs.h <<_ACEOF
15.1398 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
15.1399 +_ACEOF
15.1400 +
15.1401 +
15.1402 +# Let the site file select an alternate cache file if it wants to.
15.1403 +# Prefer explicitly selected file to automatically selected ones.
15.1404 +if test -z "$CONFIG_SITE"; then
15.1405 + if test "x$prefix" != xNONE; then
15.1406 + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
15.1407 + else
15.1408 + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
15.1409 + fi
15.1410 +fi
15.1411 +for ac_site_file in $CONFIG_SITE; do
15.1412 + if test -r "$ac_site_file"; then
15.1413 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
15.1414 +echo "$as_me: loading site script $ac_site_file" >&6;}
15.1415 + sed 's/^/| /' "$ac_site_file" >&5
15.1416 + . "$ac_site_file"
15.1417 + fi
15.1418 +done
15.1419 +
15.1420 +if test -r "$cache_file"; then
15.1421 + # Some versions of bash will fail to source /dev/null (special
15.1422 + # files actually), so we avoid doing that.
15.1423 + if test -f "$cache_file"; then
15.1424 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
15.1425 +echo "$as_me: loading cache $cache_file" >&6;}
15.1426 + case $cache_file in
15.1427 + [\\/]* | ?:[\\/]* ) . $cache_file;;
15.1428 + *) . ./$cache_file;;
15.1429 + esac
15.1430 + fi
15.1431 +else
15.1432 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
15.1433 +echo "$as_me: creating cache $cache_file" >&6;}
15.1434 + >$cache_file
15.1435 +fi
15.1436 +
15.1437 +# Check that the precious variables saved in the cache have kept the same
15.1438 +# value.
15.1439 +ac_cache_corrupted=false
15.1440 +for ac_var in `(set) 2>&1 |
15.1441 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
15.1442 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
15.1443 + eval ac_new_set=\$ac_env_${ac_var}_set
15.1444 + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
15.1445 + eval ac_new_val="\$ac_env_${ac_var}_value"
15.1446 + case $ac_old_set,$ac_new_set in
15.1447 + set,)
15.1448 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
15.1449 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
15.1450 + ac_cache_corrupted=: ;;
15.1451 + ,set)
15.1452 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
15.1453 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
15.1454 + ac_cache_corrupted=: ;;
15.1455 + ,);;
15.1456 + *)
15.1457 + if test "x$ac_old_val" != "x$ac_new_val"; then
15.1458 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
15.1459 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
15.1460 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
15.1461 +echo "$as_me: former value: $ac_old_val" >&2;}
15.1462 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
15.1463 +echo "$as_me: current value: $ac_new_val" >&2;}
15.1464 + ac_cache_corrupted=:
15.1465 + fi;;
15.1466 + esac
15.1467 + # Pass precious variables to config.status.
15.1468 + if test "$ac_new_set" = set; then
15.1469 + case $ac_new_val in
15.1470 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
15.1471 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
15.1472 + *) ac_arg=$ac_var=$ac_new_val ;;
15.1473 + esac
15.1474 + case " $ac_configure_args " in
15.1475 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
15.1476 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
15.1477 + esac
15.1478 + fi
15.1479 +done
15.1480 +if $ac_cache_corrupted; then
15.1481 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
15.1482 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
15.1483 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
15.1484 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
15.1485 + { (exit 1); exit 1; }; }
15.1486 +fi
15.1487 +
15.1488 +ac_ext=c
15.1489 +ac_cpp='$CPP $CPPFLAGS'
15.1490 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.1491 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.1492 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.1493 +
15.1494 +
15.1495 +
15.1496 +
15.1497 +
15.1498 +
15.1499 +
15.1500 +
15.1501 +
15.1502 +
15.1503 +
15.1504 +
15.1505 +
15.1506 +
15.1507 +
15.1508 +
15.1509 +
15.1510 +
15.1511 +
15.1512 +ac_aux_dir=
15.1513 +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
15.1514 + if test -f $ac_dir/install-sh; then
15.1515 + ac_aux_dir=$ac_dir
15.1516 + ac_install_sh="$ac_aux_dir/install-sh -c"
15.1517 + break
15.1518 + elif test -f $ac_dir/install.sh; then
15.1519 + ac_aux_dir=$ac_dir
15.1520 + ac_install_sh="$ac_aux_dir/install.sh -c"
15.1521 + break
15.1522 + elif test -f $ac_dir/shtool; then
15.1523 + ac_aux_dir=$ac_dir
15.1524 + ac_install_sh="$ac_aux_dir/shtool install -c"
15.1525 + break
15.1526 + fi
15.1527 +done
15.1528 +if test -z "$ac_aux_dir"; then
15.1529 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
15.1530 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
15.1531 + { (exit 1); exit 1; }; }
15.1532 +fi
15.1533 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
15.1534 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
15.1535 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
15.1536 +
15.1537 +# Make sure we can run config.sub.
15.1538 +$ac_config_sub sun4 >/dev/null 2>&1 ||
15.1539 + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
15.1540 +echo "$as_me: error: cannot run $ac_config_sub" >&2;}
15.1541 + { (exit 1); exit 1; }; }
15.1542 +
15.1543 +echo "$as_me:$LINENO: checking build system type" >&5
15.1544 +echo $ECHO_N "checking build system type... $ECHO_C" >&6
15.1545 +if test "${ac_cv_build+set}" = set; then
15.1546 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.1547 +else
15.1548 + ac_cv_build_alias=$build_alias
15.1549 +test -z "$ac_cv_build_alias" &&
15.1550 + ac_cv_build_alias=`$ac_config_guess`
15.1551 +test -z "$ac_cv_build_alias" &&
15.1552 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
15.1553 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
15.1554 + { (exit 1); exit 1; }; }
15.1555 +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
15.1556 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
15.1557 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
15.1558 + { (exit 1); exit 1; }; }
15.1559 +
15.1560 +fi
15.1561 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
15.1562 +echo "${ECHO_T}$ac_cv_build" >&6
15.1563 +build=$ac_cv_build
15.1564 +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
15.1565 +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
15.1566 +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
15.1567 +
15.1568 +
15.1569 +echo "$as_me:$LINENO: checking host system type" >&5
15.1570 +echo $ECHO_N "checking host system type... $ECHO_C" >&6
15.1571 +if test "${ac_cv_host+set}" = set; then
15.1572 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.1573 +else
15.1574 + ac_cv_host_alias=$host_alias
15.1575 +test -z "$ac_cv_host_alias" &&
15.1576 + ac_cv_host_alias=$ac_cv_build_alias
15.1577 +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
15.1578 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
15.1579 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
15.1580 + { (exit 1); exit 1; }; }
15.1581 +
15.1582 +fi
15.1583 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
15.1584 +echo "${ECHO_T}$ac_cv_host" >&6
15.1585 +host=$ac_cv_host
15.1586 +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
15.1587 +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
15.1588 +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
15.1589 +
15.1590 +
15.1591 +echo "$as_me:$LINENO: checking target system type" >&5
15.1592 +echo $ECHO_N "checking target system type... $ECHO_C" >&6
15.1593 +if test "${ac_cv_target+set}" = set; then
15.1594 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.1595 +else
15.1596 + ac_cv_target_alias=$target_alias
15.1597 +test "x$ac_cv_target_alias" = "x" &&
15.1598 + ac_cv_target_alias=$ac_cv_host_alias
15.1599 +ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
15.1600 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
15.1601 +echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
15.1602 + { (exit 1); exit 1; }; }
15.1603 +
15.1604 +fi
15.1605 +echo "$as_me:$LINENO: result: $ac_cv_target" >&5
15.1606 +echo "${ECHO_T}$ac_cv_target" >&6
15.1607 +target=$ac_cv_target
15.1608 +target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
15.1609 +target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
15.1610 +target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
15.1611 +
15.1612 +
15.1613 +# The aliases save the names the user supplied, while $host etc.
15.1614 +# will get canonicalized.
15.1615 +test -n "$target_alias" &&
15.1616 + test "$program_prefix$program_suffix$program_transform_name" = \
15.1617 + NONENONEs,x,x, &&
15.1618 + program_prefix=${target_alias}-
15.1619 +
15.1620 +case m4 in
15.1621 + [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;;
15.1622 + *) ac_macro_dir=$srcdir/m4 ;;
15.1623 +esac
15.1624 +if test -d "$ac_macro_dir"; then :
15.1625 +else
15.1626 + { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
15.1627 +echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
15.1628 + { (exit 1); exit 1; }; }
15.1629 +fi
15.1630 +
15.1631 +# Check whether --enable-static or --disable-static was given.
15.1632 +if test "${enable_static+set}" = set; then
15.1633 + enableval="$enable_static"
15.1634 + p=${PACKAGE-default}
15.1635 + case $enableval in
15.1636 + yes) enable_static=yes ;;
15.1637 + no) enable_static=no ;;
15.1638 + *)
15.1639 + enable_static=no
15.1640 + # Look at the argument we got. We use all the common list separators.
15.1641 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15.1642 + for pkg in $enableval; do
15.1643 + IFS="$lt_save_ifs"
15.1644 + if test "X$pkg" = "X$p"; then
15.1645 + enable_static=yes
15.1646 + fi
15.1647 + done
15.1648 + IFS="$lt_save_ifs"
15.1649 + ;;
15.1650 + esac
15.1651 +else
15.1652 + enable_static=no
15.1653 +fi;
15.1654 +
15.1655 +
15.1656 +
15.1657 +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
15.1658 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
15.1659 + # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
15.1660 +if test "${enable_maintainer_mode+set}" = set; then
15.1661 + enableval="$enable_maintainer_mode"
15.1662 + USE_MAINTAINER_MODE=$enableval
15.1663 +else
15.1664 + USE_MAINTAINER_MODE=no
15.1665 +fi;
15.1666 + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
15.1667 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
15.1668 +
15.1669 +
15.1670 +if test $USE_MAINTAINER_MODE = yes; then
15.1671 + MAINTAINER_MODE_TRUE=
15.1672 + MAINTAINER_MODE_FALSE='#'
15.1673 +else
15.1674 + MAINTAINER_MODE_TRUE='#'
15.1675 + MAINTAINER_MODE_FALSE=
15.1676 +fi
15.1677 +
15.1678 + MAINT=$MAINTAINER_MODE_TRUE
15.1679 +
15.1680 +
15.1681 +
15.1682 +
15.1683 + PACKAGE=gst-plugins-nuvdemux
15.1684 + GST_PLUGINS_VERSION_MAJOR=0
15.1685 + GST_PLUGINS_VERSION_MINOR=10
15.1686 + GST_PLUGINS_VERSION_MICRO=0
15.1687 + NANO=1
15.1688 + GST_PLUGINS_VERSION_NANO=$NANO
15.1689 + if test "x$NANO" = "x" || test "x$NANO" = "x0";
15.1690 + then
15.1691 + { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for release" >&5
15.1692 +echo "$as_me: configuring gst-plugins-nuvdemux for release" >&6;}
15.1693 + VERSION=0.10.0
15.1694 + GST_PLUGINS_VERSION_RELEASE=1
15.1695 + GST_CVS="no"
15.1696 + else
15.1697 + { echo "$as_me:$LINENO: configuring gst-plugins-nuvdemux for development with nano $NANO" >&5
15.1698 +echo "$as_me: configuring gst-plugins-nuvdemux for development with nano $NANO" >&6;}
15.1699 + VERSION=0.10.0.$NANO
15.1700 + GST_PLUGINS_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
15.1701 + GST_CVS="yes"
15.1702 + fi
15.1703 +
15.1704 + GST_PLUGINS_VERSION=$VERSION
15.1705 +
15.1706 +cat >>confdefs.h <<_ACEOF
15.1707 +#define GST_PLUGINS_VERSION "$GST_PLUGINS_VERSION"
15.1708 +_ACEOF
15.1709 +
15.1710 +
15.1711 +
15.1712 +cat >>confdefs.h <<_ACEOF
15.1713 +#define GST_PLUGINS_VERSION_RELEASE "$GST_PLUGINS_VERSION_RELEASE"
15.1714 +_ACEOF
15.1715 +
15.1716 +
15.1717 +
15.1718 +
15.1719 +
15.1720 +
15.1721 +
15.1722 +
15.1723 +cat >>confdefs.h <<_ACEOF
15.1724 +#define PACKAGE "$PACKAGE"
15.1725 +_ACEOF
15.1726 +
15.1727 +
15.1728 +
15.1729 +cat >>confdefs.h <<_ACEOF
15.1730 +#define VERSION "$VERSION"
15.1731 +_ACEOF
15.1732 +
15.1733 +
15.1734 +
15.1735 +
15.1736 +am__api_version="1.8"
15.1737 +# Find a good install program. We prefer a C program (faster),
15.1738 +# so one script is as good as another. But avoid the broken or
15.1739 +# incompatible versions:
15.1740 +# SysV /etc/install, /usr/sbin/install
15.1741 +# SunOS /usr/etc/install
15.1742 +# IRIX /sbin/install
15.1743 +# AIX /bin/install
15.1744 +# AmigaOS /C/install, which installs bootblocks on floppy discs
15.1745 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15.1746 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
15.1747 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15.1748 +# OS/2's system install, which has a completely different semantic
15.1749 +# ./install, which can be erroneously created by make from ./install.sh.
15.1750 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15.1751 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15.1752 +if test -z "$INSTALL"; then
15.1753 +if test "${ac_cv_path_install+set}" = set; then
15.1754 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.1755 +else
15.1756 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.1757 +for as_dir in $PATH
15.1758 +do
15.1759 + IFS=$as_save_IFS
15.1760 + test -z "$as_dir" && as_dir=.
15.1761 + # Account for people who put trailing slashes in PATH elements.
15.1762 +case $as_dir/ in
15.1763 + ./ | .// | /cC/* | \
15.1764 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15.1765 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15.1766 + /usr/ucb/* ) ;;
15.1767 + *)
15.1768 + # OSF1 and SCO ODT 3.0 have their own names for install.
15.1769 + # Don't use installbsd from OSF since it installs stuff as root
15.1770 + # by default.
15.1771 + for ac_prog in ginstall scoinst install; do
15.1772 + for ac_exec_ext in '' $ac_executable_extensions; do
15.1773 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15.1774 + if test $ac_prog = install &&
15.1775 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15.1776 + # AIX install. It has an incompatible calling convention.
15.1777 + :
15.1778 + elif test $ac_prog = install &&
15.1779 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15.1780 + # program-specific install script used by HP pwplus--don't use.
15.1781 + :
15.1782 + else
15.1783 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15.1784 + break 3
15.1785 + fi
15.1786 + fi
15.1787 + done
15.1788 + done
15.1789 + ;;
15.1790 +esac
15.1791 +done
15.1792 +
15.1793 +
15.1794 +fi
15.1795 + if test "${ac_cv_path_install+set}" = set; then
15.1796 + INSTALL=$ac_cv_path_install
15.1797 + else
15.1798 + # As a last resort, use the slow shell script. We don't cache a
15.1799 + # path for INSTALL within a source directory, because that will
15.1800 + # break other packages using the cache if that directory is
15.1801 + # removed, or if the path is relative.
15.1802 + INSTALL=$ac_install_sh
15.1803 + fi
15.1804 +fi
15.1805 +echo "$as_me:$LINENO: result: $INSTALL" >&5
15.1806 +echo "${ECHO_T}$INSTALL" >&6
15.1807 +
15.1808 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15.1809 +# It thinks the first close brace ends the variable substitution.
15.1810 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15.1811 +
15.1812 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15.1813 +
15.1814 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15.1815 +
15.1816 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
15.1817 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
15.1818 +# Just in case
15.1819 +sleep 1
15.1820 +echo timestamp > conftest.file
15.1821 +# Do `set' in a subshell so we don't clobber the current shell's
15.1822 +# arguments. Must try -L first in case configure is actually a
15.1823 +# symlink; some systems play weird games with the mod time of symlinks
15.1824 +# (eg FreeBSD returns the mod time of the symlink's containing
15.1825 +# directory).
15.1826 +if (
15.1827 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
15.1828 + if test "$*" = "X"; then
15.1829 + # -L didn't work.
15.1830 + set X `ls -t $srcdir/configure conftest.file`
15.1831 + fi
15.1832 + rm -f conftest.file
15.1833 + if test "$*" != "X $srcdir/configure conftest.file" \
15.1834 + && test "$*" != "X conftest.file $srcdir/configure"; then
15.1835 +
15.1836 + # If neither matched, then we have a broken ls. This can happen
15.1837 + # if, for instance, CONFIG_SHELL is bash and it inherits a
15.1838 + # broken ls alias from the environment. This has actually
15.1839 + # happened. Such a system could not be considered "sane".
15.1840 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
15.1841 +alias in your environment" >&5
15.1842 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
15.1843 +alias in your environment" >&2;}
15.1844 + { (exit 1); exit 1; }; }
15.1845 + fi
15.1846 +
15.1847 + test "$2" = conftest.file
15.1848 + )
15.1849 +then
15.1850 + # Ok.
15.1851 + :
15.1852 +else
15.1853 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
15.1854 +Check your system clock" >&5
15.1855 +echo "$as_me: error: newly created file is older than distributed files!
15.1856 +Check your system clock" >&2;}
15.1857 + { (exit 1); exit 1; }; }
15.1858 +fi
15.1859 +echo "$as_me:$LINENO: result: yes" >&5
15.1860 +echo "${ECHO_T}yes" >&6
15.1861 +test "$program_prefix" != NONE &&
15.1862 + program_transform_name="s,^,$program_prefix,;$program_transform_name"
15.1863 +# Use a double $ so make ignores it.
15.1864 +test "$program_suffix" != NONE &&
15.1865 + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
15.1866 +# Double any \ or $. echo might interpret backslashes.
15.1867 +# By default was `s,x,x', remove it if useless.
15.1868 +cat <<\_ACEOF >conftest.sed
15.1869 +s/[\\$]/&&/g;s/;s,x,x,$//
15.1870 +_ACEOF
15.1871 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
15.1872 +rm conftest.sed
15.1873 +
15.1874 +# expand $ac_aux_dir to an absolute path
15.1875 +am_aux_dir=`cd $ac_aux_dir && pwd`
15.1876 +
15.1877 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
15.1878 +# Use eval to expand $SHELL
15.1879 +if eval "$MISSING --run true"; then
15.1880 + am_missing_run="$MISSING --run "
15.1881 +else
15.1882 + am_missing_run=
15.1883 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
15.1884 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
15.1885 +fi
15.1886 +
15.1887 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
15.1888 + # Keeping the `.' argument allows $(mkdir_p) to be used without
15.1889 + # argument. Indeed, we sometimes output rules like
15.1890 + # $(mkdir_p) $(somedir)
15.1891 + # where $(somedir) is conditionally defined.
15.1892 + # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
15.1893 + # expensive solution, as it forces Make to start a sub-shell.)
15.1894 + mkdir_p='mkdir -p -- .'
15.1895 +else
15.1896 + # On NextStep and OpenStep, the `mkdir' command does not
15.1897 + # recognize any option. It will interpret all options as
15.1898 + # directories to create, and then abort because `.' already
15.1899 + # exists.
15.1900 + for d in ./-p ./--version;
15.1901 + do
15.1902 + test -d $d && rmdir $d
15.1903 + done
15.1904 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
15.1905 + if test -f "$ac_aux_dir/mkinstalldirs"; then
15.1906 + mkdir_p='$(mkinstalldirs)'
15.1907 + else
15.1908 + mkdir_p='$(install_sh) -d'
15.1909 + fi
15.1910 +fi
15.1911 +
15.1912 +for ac_prog in gawk mawk nawk awk
15.1913 +do
15.1914 + # Extract the first word of "$ac_prog", so it can be a program name with args.
15.1915 +set dummy $ac_prog; ac_word=$2
15.1916 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.1917 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.1918 +if test "${ac_cv_prog_AWK+set}" = set; then
15.1919 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.1920 +else
15.1921 + if test -n "$AWK"; then
15.1922 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
15.1923 +else
15.1924 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.1925 +for as_dir in $PATH
15.1926 +do
15.1927 + IFS=$as_save_IFS
15.1928 + test -z "$as_dir" && as_dir=.
15.1929 + for ac_exec_ext in '' $ac_executable_extensions; do
15.1930 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.1931 + ac_cv_prog_AWK="$ac_prog"
15.1932 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.1933 + break 2
15.1934 + fi
15.1935 +done
15.1936 +done
15.1937 +
15.1938 +fi
15.1939 +fi
15.1940 +AWK=$ac_cv_prog_AWK
15.1941 +if test -n "$AWK"; then
15.1942 + echo "$as_me:$LINENO: result: $AWK" >&5
15.1943 +echo "${ECHO_T}$AWK" >&6
15.1944 +else
15.1945 + echo "$as_me:$LINENO: result: no" >&5
15.1946 +echo "${ECHO_T}no" >&6
15.1947 +fi
15.1948 +
15.1949 + test -n "$AWK" && break
15.1950 +done
15.1951 +
15.1952 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15.1953 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
15.1954 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
15.1955 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
15.1956 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.1957 +else
15.1958 + cat >conftest.make <<\_ACEOF
15.1959 +all:
15.1960 + @echo 'ac_maketemp="$(MAKE)"'
15.1961 +_ACEOF
15.1962 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15.1963 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
15.1964 +if test -n "$ac_maketemp"; then
15.1965 + eval ac_cv_prog_make_${ac_make}_set=yes
15.1966 +else
15.1967 + eval ac_cv_prog_make_${ac_make}_set=no
15.1968 +fi
15.1969 +rm -f conftest.make
15.1970 +fi
15.1971 +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
15.1972 + echo "$as_me:$LINENO: result: yes" >&5
15.1973 +echo "${ECHO_T}yes" >&6
15.1974 + SET_MAKE=
15.1975 +else
15.1976 + echo "$as_me:$LINENO: result: no" >&5
15.1977 +echo "${ECHO_T}no" >&6
15.1978 + SET_MAKE="MAKE=${MAKE-make}"
15.1979 +fi
15.1980 +
15.1981 +rm -rf .tst 2>/dev/null
15.1982 +mkdir .tst 2>/dev/null
15.1983 +if test -d .tst; then
15.1984 + am__leading_dot=.
15.1985 +else
15.1986 + am__leading_dot=_
15.1987 +fi
15.1988 +rmdir .tst 2>/dev/null
15.1989 +
15.1990 +# test to see if srcdir already configured
15.1991 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
15.1992 + test -f $srcdir/config.status; then
15.1993 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
15.1994 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
15.1995 + { (exit 1); exit 1; }; }
15.1996 +fi
15.1997 +
15.1998 +# test whether we have cygpath
15.1999 +if test -z "$CYGPATH_W"; then
15.2000 + if (cygpath --version) >/dev/null 2>/dev/null; then
15.2001 + CYGPATH_W='cygpath -w'
15.2002 + else
15.2003 + CYGPATH_W=echo
15.2004 + fi
15.2005 +fi
15.2006 +
15.2007 +
15.2008 +# Define the identity of the package.
15.2009 + PACKAGE=$PACKAGE
15.2010 + VERSION=$VERSION
15.2011 +
15.2012 +
15.2013 +cat >>confdefs.h <<_ACEOF
15.2014 +#define PACKAGE "$PACKAGE"
15.2015 +_ACEOF
15.2016 +
15.2017 +
15.2018 +cat >>confdefs.h <<_ACEOF
15.2019 +#define VERSION "$VERSION"
15.2020 +_ACEOF
15.2021 +
15.2022 +# Some tools Automake needs.
15.2023 +
15.2024 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
15.2025 +
15.2026 +
15.2027 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
15.2028 +
15.2029 +
15.2030 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
15.2031 +
15.2032 +
15.2033 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
15.2034 +
15.2035 +
15.2036 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
15.2037 +
15.2038 +
15.2039 +AMTAR=${AMTAR-"${am_missing_run}tar"}
15.2040 +
15.2041 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
15.2042 +
15.2043 +# Installed binaries are usually stripped using `strip' when the user
15.2044 +# run `make install-strip'. However `strip' might not be the right
15.2045 +# tool to use in cross-compilation environments, therefore Automake
15.2046 +# will honor the `STRIP' environment variable to overrule this program.
15.2047 +if test "$cross_compiling" != no; then
15.2048 + if test -n "$ac_tool_prefix"; then
15.2049 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15.2050 +set dummy ${ac_tool_prefix}strip; ac_word=$2
15.2051 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.2052 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.2053 +if test "${ac_cv_prog_STRIP+set}" = set; then
15.2054 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2055 +else
15.2056 + if test -n "$STRIP"; then
15.2057 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15.2058 +else
15.2059 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.2060 +for as_dir in $PATH
15.2061 +do
15.2062 + IFS=$as_save_IFS
15.2063 + test -z "$as_dir" && as_dir=.
15.2064 + for ac_exec_ext in '' $ac_executable_extensions; do
15.2065 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.2066 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15.2067 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.2068 + break 2
15.2069 + fi
15.2070 +done
15.2071 +done
15.2072 +
15.2073 +fi
15.2074 +fi
15.2075 +STRIP=$ac_cv_prog_STRIP
15.2076 +if test -n "$STRIP"; then
15.2077 + echo "$as_me:$LINENO: result: $STRIP" >&5
15.2078 +echo "${ECHO_T}$STRIP" >&6
15.2079 +else
15.2080 + echo "$as_me:$LINENO: result: no" >&5
15.2081 +echo "${ECHO_T}no" >&6
15.2082 +fi
15.2083 +
15.2084 +fi
15.2085 +if test -z "$ac_cv_prog_STRIP"; then
15.2086 + ac_ct_STRIP=$STRIP
15.2087 + # Extract the first word of "strip", so it can be a program name with args.
15.2088 +set dummy strip; ac_word=$2
15.2089 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.2090 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.2091 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15.2092 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2093 +else
15.2094 + if test -n "$ac_ct_STRIP"; then
15.2095 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15.2096 +else
15.2097 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.2098 +for as_dir in $PATH
15.2099 +do
15.2100 + IFS=$as_save_IFS
15.2101 + test -z "$as_dir" && as_dir=.
15.2102 + for ac_exec_ext in '' $ac_executable_extensions; do
15.2103 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.2104 + ac_cv_prog_ac_ct_STRIP="strip"
15.2105 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.2106 + break 2
15.2107 + fi
15.2108 +done
15.2109 +done
15.2110 +
15.2111 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
15.2112 +fi
15.2113 +fi
15.2114 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15.2115 +if test -n "$ac_ct_STRIP"; then
15.2116 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15.2117 +echo "${ECHO_T}$ac_ct_STRIP" >&6
15.2118 +else
15.2119 + echo "$as_me:$LINENO: result: no" >&5
15.2120 +echo "${ECHO_T}no" >&6
15.2121 +fi
15.2122 +
15.2123 + STRIP=$ac_ct_STRIP
15.2124 +else
15.2125 + STRIP="$ac_cv_prog_STRIP"
15.2126 +fi
15.2127 +
15.2128 +fi
15.2129 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
15.2130 +
15.2131 +# We need awk for the "check" target. The system "awk" is bad on
15.2132 +# some platforms.
15.2133 +
15.2134 +
15.2135 +
15.2136 +
15.2137 +# Check whether --enable-shared or --disable-shared was given.
15.2138 +if test "${enable_shared+set}" = set; then
15.2139 + enableval="$enable_shared"
15.2140 + p=${PACKAGE-default}
15.2141 + case $enableval in
15.2142 + yes) enable_shared=yes ;;
15.2143 + no) enable_shared=no ;;
15.2144 + *)
15.2145 + enable_shared=no
15.2146 + # Look at the argument we got. We use all the common list separators.
15.2147 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15.2148 + for pkg in $enableval; do
15.2149 + IFS="$lt_save_ifs"
15.2150 + if test "X$pkg" = "X$p"; then
15.2151 + enable_shared=yes
15.2152 + fi
15.2153 + done
15.2154 + IFS="$lt_save_ifs"
15.2155 + ;;
15.2156 + esac
15.2157 +else
15.2158 + enable_shared=yes
15.2159 +fi;
15.2160 +
15.2161 +# Check whether --enable-fast-install or --disable-fast-install was given.
15.2162 +if test "${enable_fast_install+set}" = set; then
15.2163 + enableval="$enable_fast_install"
15.2164 + p=${PACKAGE-default}
15.2165 + case $enableval in
15.2166 + yes) enable_fast_install=yes ;;
15.2167 + no) enable_fast_install=no ;;
15.2168 + *)
15.2169 + enable_fast_install=no
15.2170 + # Look at the argument we got. We use all the common list separators.
15.2171 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15.2172 + for pkg in $enableval; do
15.2173 + IFS="$lt_save_ifs"
15.2174 + if test "X$pkg" = "X$p"; then
15.2175 + enable_fast_install=yes
15.2176 + fi
15.2177 + done
15.2178 + IFS="$lt_save_ifs"
15.2179 + ;;
15.2180 + esac
15.2181 +else
15.2182 + enable_fast_install=yes
15.2183 +fi;
15.2184 +
15.2185 +DEPDIR="${am__leading_dot}deps"
15.2186 +
15.2187 + ac_config_commands="$ac_config_commands depfiles"
15.2188 +
15.2189 +
15.2190 +am_make=${MAKE-make}
15.2191 +cat > confinc << 'END'
15.2192 +am__doit:
15.2193 + @echo done
15.2194 +.PHONY: am__doit
15.2195 +END
15.2196 +# If we don't find an include directive, just comment out the code.
15.2197 +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
15.2198 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
15.2199 +am__include="#"
15.2200 +am__quote=
15.2201 +_am_result=none
15.2202 +# First try GNU make style include.
15.2203 +echo "include confinc" > confmf
15.2204 +# We grep out `Entering directory' and `Leaving directory'
15.2205 +# messages which can occur if `w' ends up in MAKEFLAGS.
15.2206 +# In particular we don't look at `^make:' because GNU make might
15.2207 +# be invoked under some other name (usually "gmake"), in which
15.2208 +# case it prints its new name instead of `make'.
15.2209 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
15.2210 + am__include=include
15.2211 + am__quote=
15.2212 + _am_result=GNU
15.2213 +fi
15.2214 +# Now try BSD make style include.
15.2215 +if test "$am__include" = "#"; then
15.2216 + echo '.include "confinc"' > confmf
15.2217 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
15.2218 + am__include=.include
15.2219 + am__quote="\""
15.2220 + _am_result=BSD
15.2221 + fi
15.2222 +fi
15.2223 +
15.2224 +
15.2225 +echo "$as_me:$LINENO: result: $_am_result" >&5
15.2226 +echo "${ECHO_T}$_am_result" >&6
15.2227 +rm -f confinc confmf
15.2228 +
15.2229 +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
15.2230 +if test "${enable_dependency_tracking+set}" = set; then
15.2231 + enableval="$enable_dependency_tracking"
15.2232 +
15.2233 +fi;
15.2234 +if test "x$enable_dependency_tracking" != xno; then
15.2235 + am_depcomp="$ac_aux_dir/depcomp"
15.2236 + AMDEPBACKSLASH='\'
15.2237 +fi
15.2238 +
15.2239 +
15.2240 +if test "x$enable_dependency_tracking" != xno; then
15.2241 + AMDEP_TRUE=
15.2242 + AMDEP_FALSE='#'
15.2243 +else
15.2244 + AMDEP_TRUE='#'
15.2245 + AMDEP_FALSE=
15.2246 +fi
15.2247 +
15.2248 +
15.2249 +
15.2250 +ac_ext=c
15.2251 +ac_cpp='$CPP $CPPFLAGS'
15.2252 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.2253 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.2254 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.2255 +if test -n "$ac_tool_prefix"; then
15.2256 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15.2257 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
15.2258 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.2259 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.2260 +if test "${ac_cv_prog_CC+set}" = set; then
15.2261 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2262 +else
15.2263 + if test -n "$CC"; then
15.2264 + ac_cv_prog_CC="$CC" # Let the user override the test.
15.2265 +else
15.2266 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.2267 +for as_dir in $PATH
15.2268 +do
15.2269 + IFS=$as_save_IFS
15.2270 + test -z "$as_dir" && as_dir=.
15.2271 + for ac_exec_ext in '' $ac_executable_extensions; do
15.2272 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.2273 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
15.2274 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.2275 + break 2
15.2276 + fi
15.2277 +done
15.2278 +done
15.2279 +
15.2280 +fi
15.2281 +fi
15.2282 +CC=$ac_cv_prog_CC
15.2283 +if test -n "$CC"; then
15.2284 + echo "$as_me:$LINENO: result: $CC" >&5
15.2285 +echo "${ECHO_T}$CC" >&6
15.2286 +else
15.2287 + echo "$as_me:$LINENO: result: no" >&5
15.2288 +echo "${ECHO_T}no" >&6
15.2289 +fi
15.2290 +
15.2291 +fi
15.2292 +if test -z "$ac_cv_prog_CC"; then
15.2293 + ac_ct_CC=$CC
15.2294 + # Extract the first word of "gcc", so it can be a program name with args.
15.2295 +set dummy gcc; ac_word=$2
15.2296 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.2297 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.2298 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15.2299 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2300 +else
15.2301 + if test -n "$ac_ct_CC"; then
15.2302 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15.2303 +else
15.2304 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.2305 +for as_dir in $PATH
15.2306 +do
15.2307 + IFS=$as_save_IFS
15.2308 + test -z "$as_dir" && as_dir=.
15.2309 + for ac_exec_ext in '' $ac_executable_extensions; do
15.2310 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.2311 + ac_cv_prog_ac_ct_CC="gcc"
15.2312 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.2313 + break 2
15.2314 + fi
15.2315 +done
15.2316 +done
15.2317 +
15.2318 +fi
15.2319 +fi
15.2320 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
15.2321 +if test -n "$ac_ct_CC"; then
15.2322 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15.2323 +echo "${ECHO_T}$ac_ct_CC" >&6
15.2324 +else
15.2325 + echo "$as_me:$LINENO: result: no" >&5
15.2326 +echo "${ECHO_T}no" >&6
15.2327 +fi
15.2328 +
15.2329 + CC=$ac_ct_CC
15.2330 +else
15.2331 + CC="$ac_cv_prog_CC"
15.2332 +fi
15.2333 +
15.2334 +if test -z "$CC"; then
15.2335 + if test -n "$ac_tool_prefix"; then
15.2336 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15.2337 +set dummy ${ac_tool_prefix}cc; ac_word=$2
15.2338 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.2339 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.2340 +if test "${ac_cv_prog_CC+set}" = set; then
15.2341 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2342 +else
15.2343 + if test -n "$CC"; then
15.2344 + ac_cv_prog_CC="$CC" # Let the user override the test.
15.2345 +else
15.2346 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.2347 +for as_dir in $PATH
15.2348 +do
15.2349 + IFS=$as_save_IFS
15.2350 + test -z "$as_dir" && as_dir=.
15.2351 + for ac_exec_ext in '' $ac_executable_extensions; do
15.2352 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.2353 + ac_cv_prog_CC="${ac_tool_prefix}cc"
15.2354 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.2355 + break 2
15.2356 + fi
15.2357 +done
15.2358 +done
15.2359 +
15.2360 +fi
15.2361 +fi
15.2362 +CC=$ac_cv_prog_CC
15.2363 +if test -n "$CC"; then
15.2364 + echo "$as_me:$LINENO: result: $CC" >&5
15.2365 +echo "${ECHO_T}$CC" >&6
15.2366 +else
15.2367 + echo "$as_me:$LINENO: result: no" >&5
15.2368 +echo "${ECHO_T}no" >&6
15.2369 +fi
15.2370 +
15.2371 +fi
15.2372 +if test -z "$ac_cv_prog_CC"; then
15.2373 + ac_ct_CC=$CC
15.2374 + # Extract the first word of "cc", so it can be a program name with args.
15.2375 +set dummy cc; ac_word=$2
15.2376 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.2377 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.2378 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15.2379 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2380 +else
15.2381 + if test -n "$ac_ct_CC"; then
15.2382 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15.2383 +else
15.2384 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.2385 +for as_dir in $PATH
15.2386 +do
15.2387 + IFS=$as_save_IFS
15.2388 + test -z "$as_dir" && as_dir=.
15.2389 + for ac_exec_ext in '' $ac_executable_extensions; do
15.2390 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.2391 + ac_cv_prog_ac_ct_CC="cc"
15.2392 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.2393 + break 2
15.2394 + fi
15.2395 +done
15.2396 +done
15.2397 +
15.2398 +fi
15.2399 +fi
15.2400 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
15.2401 +if test -n "$ac_ct_CC"; then
15.2402 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15.2403 +echo "${ECHO_T}$ac_ct_CC" >&6
15.2404 +else
15.2405 + echo "$as_me:$LINENO: result: no" >&5
15.2406 +echo "${ECHO_T}no" >&6
15.2407 +fi
15.2408 +
15.2409 + CC=$ac_ct_CC
15.2410 +else
15.2411 + CC="$ac_cv_prog_CC"
15.2412 +fi
15.2413 +
15.2414 +fi
15.2415 +if test -z "$CC"; then
15.2416 + # Extract the first word of "cc", so it can be a program name with args.
15.2417 +set dummy cc; ac_word=$2
15.2418 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.2419 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.2420 +if test "${ac_cv_prog_CC+set}" = set; then
15.2421 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2422 +else
15.2423 + if test -n "$CC"; then
15.2424 + ac_cv_prog_CC="$CC" # Let the user override the test.
15.2425 +else
15.2426 + ac_prog_rejected=no
15.2427 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.2428 +for as_dir in $PATH
15.2429 +do
15.2430 + IFS=$as_save_IFS
15.2431 + test -z "$as_dir" && as_dir=.
15.2432 + for ac_exec_ext in '' $ac_executable_extensions; do
15.2433 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.2434 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15.2435 + ac_prog_rejected=yes
15.2436 + continue
15.2437 + fi
15.2438 + ac_cv_prog_CC="cc"
15.2439 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.2440 + break 2
15.2441 + fi
15.2442 +done
15.2443 +done
15.2444 +
15.2445 +if test $ac_prog_rejected = yes; then
15.2446 + # We found a bogon in the path, so make sure we never use it.
15.2447 + set dummy $ac_cv_prog_CC
15.2448 + shift
15.2449 + if test $# != 0; then
15.2450 + # We chose a different compiler from the bogus one.
15.2451 + # However, it has the same basename, so the bogon will be chosen
15.2452 + # first if we set CC to just the basename; use the full file name.
15.2453 + shift
15.2454 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15.2455 + fi
15.2456 +fi
15.2457 +fi
15.2458 +fi
15.2459 +CC=$ac_cv_prog_CC
15.2460 +if test -n "$CC"; then
15.2461 + echo "$as_me:$LINENO: result: $CC" >&5
15.2462 +echo "${ECHO_T}$CC" >&6
15.2463 +else
15.2464 + echo "$as_me:$LINENO: result: no" >&5
15.2465 +echo "${ECHO_T}no" >&6
15.2466 +fi
15.2467 +
15.2468 +fi
15.2469 +if test -z "$CC"; then
15.2470 + if test -n "$ac_tool_prefix"; then
15.2471 + for ac_prog in cl
15.2472 + do
15.2473 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15.2474 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15.2475 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.2476 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.2477 +if test "${ac_cv_prog_CC+set}" = set; then
15.2478 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2479 +else
15.2480 + if test -n "$CC"; then
15.2481 + ac_cv_prog_CC="$CC" # Let the user override the test.
15.2482 +else
15.2483 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.2484 +for as_dir in $PATH
15.2485 +do
15.2486 + IFS=$as_save_IFS
15.2487 + test -z "$as_dir" && as_dir=.
15.2488 + for ac_exec_ext in '' $ac_executable_extensions; do
15.2489 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.2490 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15.2491 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.2492 + break 2
15.2493 + fi
15.2494 +done
15.2495 +done
15.2496 +
15.2497 +fi
15.2498 +fi
15.2499 +CC=$ac_cv_prog_CC
15.2500 +if test -n "$CC"; then
15.2501 + echo "$as_me:$LINENO: result: $CC" >&5
15.2502 +echo "${ECHO_T}$CC" >&6
15.2503 +else
15.2504 + echo "$as_me:$LINENO: result: no" >&5
15.2505 +echo "${ECHO_T}no" >&6
15.2506 +fi
15.2507 +
15.2508 + test -n "$CC" && break
15.2509 + done
15.2510 +fi
15.2511 +if test -z "$CC"; then
15.2512 + ac_ct_CC=$CC
15.2513 + for ac_prog in cl
15.2514 +do
15.2515 + # Extract the first word of "$ac_prog", so it can be a program name with args.
15.2516 +set dummy $ac_prog; ac_word=$2
15.2517 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.2518 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.2519 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15.2520 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2521 +else
15.2522 + if test -n "$ac_ct_CC"; then
15.2523 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15.2524 +else
15.2525 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.2526 +for as_dir in $PATH
15.2527 +do
15.2528 + IFS=$as_save_IFS
15.2529 + test -z "$as_dir" && as_dir=.
15.2530 + for ac_exec_ext in '' $ac_executable_extensions; do
15.2531 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.2532 + ac_cv_prog_ac_ct_CC="$ac_prog"
15.2533 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.2534 + break 2
15.2535 + fi
15.2536 +done
15.2537 +done
15.2538 +
15.2539 +fi
15.2540 +fi
15.2541 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
15.2542 +if test -n "$ac_ct_CC"; then
15.2543 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15.2544 +echo "${ECHO_T}$ac_ct_CC" >&6
15.2545 +else
15.2546 + echo "$as_me:$LINENO: result: no" >&5
15.2547 +echo "${ECHO_T}no" >&6
15.2548 +fi
15.2549 +
15.2550 + test -n "$ac_ct_CC" && break
15.2551 +done
15.2552 +
15.2553 + CC=$ac_ct_CC
15.2554 +fi
15.2555 +
15.2556 +fi
15.2557 +
15.2558 +
15.2559 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15.2560 +See \`config.log' for more details." >&5
15.2561 +echo "$as_me: error: no acceptable C compiler found in \$PATH
15.2562 +See \`config.log' for more details." >&2;}
15.2563 + { (exit 1); exit 1; }; }
15.2564 +
15.2565 +# Provide some information about the compiler.
15.2566 +echo "$as_me:$LINENO:" \
15.2567 + "checking for C compiler version" >&5
15.2568 +ac_compiler=`set X $ac_compile; echo $2`
15.2569 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15.2570 + (eval $ac_compiler --version </dev/null >&5) 2>&5
15.2571 + ac_status=$?
15.2572 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2573 + (exit $ac_status); }
15.2574 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15.2575 + (eval $ac_compiler -v </dev/null >&5) 2>&5
15.2576 + ac_status=$?
15.2577 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2578 + (exit $ac_status); }
15.2579 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15.2580 + (eval $ac_compiler -V </dev/null >&5) 2>&5
15.2581 + ac_status=$?
15.2582 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2583 + (exit $ac_status); }
15.2584 +
15.2585 +cat >conftest.$ac_ext <<_ACEOF
15.2586 +/* confdefs.h. */
15.2587 +_ACEOF
15.2588 +cat confdefs.h >>conftest.$ac_ext
15.2589 +cat >>conftest.$ac_ext <<_ACEOF
15.2590 +/* end confdefs.h. */
15.2591 +
15.2592 +int
15.2593 +main ()
15.2594 +{
15.2595 +
15.2596 + ;
15.2597 + return 0;
15.2598 +}
15.2599 +_ACEOF
15.2600 +ac_clean_files_save=$ac_clean_files
15.2601 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
15.2602 +# Try to create an executable without -o first, disregard a.out.
15.2603 +# It will help us diagnose broken compilers, and finding out an intuition
15.2604 +# of exeext.
15.2605 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15.2606 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
15.2607 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15.2608 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
15.2609 + (eval $ac_link_default) 2>&5
15.2610 + ac_status=$?
15.2611 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2612 + (exit $ac_status); }; then
15.2613 + # Find the output, starting from the most likely. This scheme is
15.2614 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
15.2615 +# resort.
15.2616 +
15.2617 +# Be careful to initialize this variable, since it used to be cached.
15.2618 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
15.2619 +ac_cv_exeext=
15.2620 +# b.out is created by i960 compilers.
15.2621 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
15.2622 +do
15.2623 + test -f "$ac_file" || continue
15.2624 + case $ac_file in
15.2625 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
15.2626 + ;;
15.2627 + conftest.$ac_ext )
15.2628 + # This is the source file.
15.2629 + ;;
15.2630 + [ab].out )
15.2631 + # We found the default executable, but exeext='' is most
15.2632 + # certainly right.
15.2633 + break;;
15.2634 + *.* )
15.2635 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15.2636 + # FIXME: I believe we export ac_cv_exeext for Libtool,
15.2637 + # but it would be cool to find out if it's true. Does anybody
15.2638 + # maintain Libtool? --akim.
15.2639 + export ac_cv_exeext
15.2640 + break;;
15.2641 + * )
15.2642 + break;;
15.2643 + esac
15.2644 +done
15.2645 +else
15.2646 + echo "$as_me: failed program was:" >&5
15.2647 +sed 's/^/| /' conftest.$ac_ext >&5
15.2648 +
15.2649 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
15.2650 +See \`config.log' for more details." >&5
15.2651 +echo "$as_me: error: C compiler cannot create executables
15.2652 +See \`config.log' for more details." >&2;}
15.2653 + { (exit 77); exit 77; }; }
15.2654 +fi
15.2655 +
15.2656 +ac_exeext=$ac_cv_exeext
15.2657 +echo "$as_me:$LINENO: result: $ac_file" >&5
15.2658 +echo "${ECHO_T}$ac_file" >&6
15.2659 +
15.2660 +# Check the compiler produces executables we can run. If not, either
15.2661 +# the compiler is broken, or we cross compile.
15.2662 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15.2663 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
15.2664 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15.2665 +# If not cross compiling, check that we can run a simple program.
15.2666 +if test "$cross_compiling" != yes; then
15.2667 + if { ac_try='./$ac_file'
15.2668 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.2669 + (eval $ac_try) 2>&5
15.2670 + ac_status=$?
15.2671 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2672 + (exit $ac_status); }; }; then
15.2673 + cross_compiling=no
15.2674 + else
15.2675 + if test "$cross_compiling" = maybe; then
15.2676 + cross_compiling=yes
15.2677 + else
15.2678 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15.2679 +If you meant to cross compile, use \`--host'.
15.2680 +See \`config.log' for more details." >&5
15.2681 +echo "$as_me: error: cannot run C compiled programs.
15.2682 +If you meant to cross compile, use \`--host'.
15.2683 +See \`config.log' for more details." >&2;}
15.2684 + { (exit 1); exit 1; }; }
15.2685 + fi
15.2686 + fi
15.2687 +fi
15.2688 +echo "$as_me:$LINENO: result: yes" >&5
15.2689 +echo "${ECHO_T}yes" >&6
15.2690 +
15.2691 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
15.2692 +ac_clean_files=$ac_clean_files_save
15.2693 +# Check the compiler produces executables we can run. If not, either
15.2694 +# the compiler is broken, or we cross compile.
15.2695 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15.2696 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
15.2697 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
15.2698 +echo "${ECHO_T}$cross_compiling" >&6
15.2699 +
15.2700 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
15.2701 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
15.2702 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.2703 + (eval $ac_link) 2>&5
15.2704 + ac_status=$?
15.2705 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2706 + (exit $ac_status); }; then
15.2707 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
15.2708 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15.2709 +# work properly (i.e., refer to `conftest.exe'), while it won't with
15.2710 +# `rm'.
15.2711 +for ac_file in conftest.exe conftest conftest.*; do
15.2712 + test -f "$ac_file" || continue
15.2713 + case $ac_file in
15.2714 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
15.2715 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15.2716 + export ac_cv_exeext
15.2717 + break;;
15.2718 + * ) break;;
15.2719 + esac
15.2720 +done
15.2721 +else
15.2722 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15.2723 +See \`config.log' for more details." >&5
15.2724 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15.2725 +See \`config.log' for more details." >&2;}
15.2726 + { (exit 1); exit 1; }; }
15.2727 +fi
15.2728 +
15.2729 +rm -f conftest$ac_cv_exeext
15.2730 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15.2731 +echo "${ECHO_T}$ac_cv_exeext" >&6
15.2732 +
15.2733 +rm -f conftest.$ac_ext
15.2734 +EXEEXT=$ac_cv_exeext
15.2735 +ac_exeext=$EXEEXT
15.2736 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
15.2737 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
15.2738 +if test "${ac_cv_objext+set}" = set; then
15.2739 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2740 +else
15.2741 + cat >conftest.$ac_ext <<_ACEOF
15.2742 +/* confdefs.h. */
15.2743 +_ACEOF
15.2744 +cat confdefs.h >>conftest.$ac_ext
15.2745 +cat >>conftest.$ac_ext <<_ACEOF
15.2746 +/* end confdefs.h. */
15.2747 +
15.2748 +int
15.2749 +main ()
15.2750 +{
15.2751 +
15.2752 + ;
15.2753 + return 0;
15.2754 +}
15.2755 +_ACEOF
15.2756 +rm -f conftest.o conftest.obj
15.2757 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.2758 + (eval $ac_compile) 2>&5
15.2759 + ac_status=$?
15.2760 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2761 + (exit $ac_status); }; then
15.2762 + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
15.2763 + case $ac_file in
15.2764 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
15.2765 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15.2766 + break;;
15.2767 + esac
15.2768 +done
15.2769 +else
15.2770 + echo "$as_me: failed program was:" >&5
15.2771 +sed 's/^/| /' conftest.$ac_ext >&5
15.2772 +
15.2773 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15.2774 +See \`config.log' for more details." >&5
15.2775 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
15.2776 +See \`config.log' for more details." >&2;}
15.2777 + { (exit 1); exit 1; }; }
15.2778 +fi
15.2779 +
15.2780 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
15.2781 +fi
15.2782 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15.2783 +echo "${ECHO_T}$ac_cv_objext" >&6
15.2784 +OBJEXT=$ac_cv_objext
15.2785 +ac_objext=$OBJEXT
15.2786 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15.2787 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
15.2788 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
15.2789 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2790 +else
15.2791 + cat >conftest.$ac_ext <<_ACEOF
15.2792 +/* confdefs.h. */
15.2793 +_ACEOF
15.2794 +cat confdefs.h >>conftest.$ac_ext
15.2795 +cat >>conftest.$ac_ext <<_ACEOF
15.2796 +/* end confdefs.h. */
15.2797 +
15.2798 +int
15.2799 +main ()
15.2800 +{
15.2801 +#ifndef __GNUC__
15.2802 + choke me
15.2803 +#endif
15.2804 +
15.2805 + ;
15.2806 + return 0;
15.2807 +}
15.2808 +_ACEOF
15.2809 +rm -f conftest.$ac_objext
15.2810 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.2811 + (eval $ac_compile) 2>conftest.er1
15.2812 + ac_status=$?
15.2813 + grep -v '^ *+' conftest.er1 >conftest.err
15.2814 + rm -f conftest.er1
15.2815 + cat conftest.err >&5
15.2816 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2817 + (exit $ac_status); } &&
15.2818 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.2819 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.2820 + (eval $ac_try) 2>&5
15.2821 + ac_status=$?
15.2822 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2823 + (exit $ac_status); }; } &&
15.2824 + { ac_try='test -s conftest.$ac_objext'
15.2825 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.2826 + (eval $ac_try) 2>&5
15.2827 + ac_status=$?
15.2828 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2829 + (exit $ac_status); }; }; then
15.2830 + ac_compiler_gnu=yes
15.2831 +else
15.2832 + echo "$as_me: failed program was:" >&5
15.2833 +sed 's/^/| /' conftest.$ac_ext >&5
15.2834 +
15.2835 +ac_compiler_gnu=no
15.2836 +fi
15.2837 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.2838 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
15.2839 +
15.2840 +fi
15.2841 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15.2842 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
15.2843 +GCC=`test $ac_compiler_gnu = yes && echo yes`
15.2844 +ac_test_CFLAGS=${CFLAGS+set}
15.2845 +ac_save_CFLAGS=$CFLAGS
15.2846 +CFLAGS="-g"
15.2847 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15.2848 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15.2849 +if test "${ac_cv_prog_cc_g+set}" = set; then
15.2850 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2851 +else
15.2852 + cat >conftest.$ac_ext <<_ACEOF
15.2853 +/* confdefs.h. */
15.2854 +_ACEOF
15.2855 +cat confdefs.h >>conftest.$ac_ext
15.2856 +cat >>conftest.$ac_ext <<_ACEOF
15.2857 +/* end confdefs.h. */
15.2858 +
15.2859 +int
15.2860 +main ()
15.2861 +{
15.2862 +
15.2863 + ;
15.2864 + return 0;
15.2865 +}
15.2866 +_ACEOF
15.2867 +rm -f conftest.$ac_objext
15.2868 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.2869 + (eval $ac_compile) 2>conftest.er1
15.2870 + ac_status=$?
15.2871 + grep -v '^ *+' conftest.er1 >conftest.err
15.2872 + rm -f conftest.er1
15.2873 + cat conftest.err >&5
15.2874 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2875 + (exit $ac_status); } &&
15.2876 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.2877 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.2878 + (eval $ac_try) 2>&5
15.2879 + ac_status=$?
15.2880 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2881 + (exit $ac_status); }; } &&
15.2882 + { ac_try='test -s conftest.$ac_objext'
15.2883 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.2884 + (eval $ac_try) 2>&5
15.2885 + ac_status=$?
15.2886 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2887 + (exit $ac_status); }; }; then
15.2888 + ac_cv_prog_cc_g=yes
15.2889 +else
15.2890 + echo "$as_me: failed program was:" >&5
15.2891 +sed 's/^/| /' conftest.$ac_ext >&5
15.2892 +
15.2893 +ac_cv_prog_cc_g=no
15.2894 +fi
15.2895 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.2896 +fi
15.2897 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15.2898 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15.2899 +if test "$ac_test_CFLAGS" = set; then
15.2900 + CFLAGS=$ac_save_CFLAGS
15.2901 +elif test $ac_cv_prog_cc_g = yes; then
15.2902 + if test "$GCC" = yes; then
15.2903 + CFLAGS="-g -O2"
15.2904 + else
15.2905 + CFLAGS="-g"
15.2906 + fi
15.2907 +else
15.2908 + if test "$GCC" = yes; then
15.2909 + CFLAGS="-O2"
15.2910 + else
15.2911 + CFLAGS=
15.2912 + fi
15.2913 +fi
15.2914 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
15.2915 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
15.2916 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
15.2917 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.2918 +else
15.2919 + ac_cv_prog_cc_stdc=no
15.2920 +ac_save_CC=$CC
15.2921 +cat >conftest.$ac_ext <<_ACEOF
15.2922 +/* confdefs.h. */
15.2923 +_ACEOF
15.2924 +cat confdefs.h >>conftest.$ac_ext
15.2925 +cat >>conftest.$ac_ext <<_ACEOF
15.2926 +/* end confdefs.h. */
15.2927 +#include <stdarg.h>
15.2928 +#include <stdio.h>
15.2929 +#include <sys/types.h>
15.2930 +#include <sys/stat.h>
15.2931 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15.2932 +struct buf { int x; };
15.2933 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
15.2934 +static char *e (p, i)
15.2935 + char **p;
15.2936 + int i;
15.2937 +{
15.2938 + return p[i];
15.2939 +}
15.2940 +static char *f (char * (*g) (char **, int), char **p, ...)
15.2941 +{
15.2942 + char *s;
15.2943 + va_list v;
15.2944 + va_start (v,p);
15.2945 + s = g (p, va_arg (v,int));
15.2946 + va_end (v);
15.2947 + return s;
15.2948 +}
15.2949 +
15.2950 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15.2951 + function prototypes and stuff, but not '\xHH' hex character constants.
15.2952 + These don't provoke an error unfortunately, instead are silently treated
15.2953 + as 'x'. The following induces an error, until -std1 is added to get
15.2954 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15.2955 + array size at least. It's necessary to write '\x00'==0 to get something
15.2956 + that's true only with -std1. */
15.2957 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15.2958 +
15.2959 +int test (int i, double x);
15.2960 +struct s1 {int (*f) (int a);};
15.2961 +struct s2 {int (*f) (double a);};
15.2962 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15.2963 +int argc;
15.2964 +char **argv;
15.2965 +int
15.2966 +main ()
15.2967 +{
15.2968 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15.2969 + ;
15.2970 + return 0;
15.2971 +}
15.2972 +_ACEOF
15.2973 +# Don't try gcc -ansi; that turns off useful extensions and
15.2974 +# breaks some systems' header files.
15.2975 +# AIX -qlanglvl=ansi
15.2976 +# Ultrix and OSF/1 -std1
15.2977 +# HP-UX 10.20 and later -Ae
15.2978 +# HP-UX older versions -Aa -D_HPUX_SOURCE
15.2979 +# SVR4 -Xc -D__EXTENSIONS__
15.2980 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15.2981 +do
15.2982 + CC="$ac_save_CC $ac_arg"
15.2983 + rm -f conftest.$ac_objext
15.2984 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.2985 + (eval $ac_compile) 2>conftest.er1
15.2986 + ac_status=$?
15.2987 + grep -v '^ *+' conftest.er1 >conftest.err
15.2988 + rm -f conftest.er1
15.2989 + cat conftest.err >&5
15.2990 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2991 + (exit $ac_status); } &&
15.2992 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.2993 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.2994 + (eval $ac_try) 2>&5
15.2995 + ac_status=$?
15.2996 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.2997 + (exit $ac_status); }; } &&
15.2998 + { ac_try='test -s conftest.$ac_objext'
15.2999 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.3000 + (eval $ac_try) 2>&5
15.3001 + ac_status=$?
15.3002 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3003 + (exit $ac_status); }; }; then
15.3004 + ac_cv_prog_cc_stdc=$ac_arg
15.3005 +break
15.3006 +else
15.3007 + echo "$as_me: failed program was:" >&5
15.3008 +sed 's/^/| /' conftest.$ac_ext >&5
15.3009 +
15.3010 +fi
15.3011 +rm -f conftest.err conftest.$ac_objext
15.3012 +done
15.3013 +rm -f conftest.$ac_ext conftest.$ac_objext
15.3014 +CC=$ac_save_CC
15.3015 +
15.3016 +fi
15.3017 +
15.3018 +case "x$ac_cv_prog_cc_stdc" in
15.3019 + x|xno)
15.3020 + echo "$as_me:$LINENO: result: none needed" >&5
15.3021 +echo "${ECHO_T}none needed" >&6 ;;
15.3022 + *)
15.3023 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
15.3024 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
15.3025 + CC="$CC $ac_cv_prog_cc_stdc" ;;
15.3026 +esac
15.3027 +
15.3028 +# Some people use a C++ compiler to compile C. Since we use `exit',
15.3029 +# in C++ we need to declare it. In case someone uses the same compiler
15.3030 +# for both compiling C and C++ we need to have the C++ compiler decide
15.3031 +# the declaration of exit, since it's the most demanding environment.
15.3032 +cat >conftest.$ac_ext <<_ACEOF
15.3033 +#ifndef __cplusplus
15.3034 + choke me
15.3035 +#endif
15.3036 +_ACEOF
15.3037 +rm -f conftest.$ac_objext
15.3038 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.3039 + (eval $ac_compile) 2>conftest.er1
15.3040 + ac_status=$?
15.3041 + grep -v '^ *+' conftest.er1 >conftest.err
15.3042 + rm -f conftest.er1
15.3043 + cat conftest.err >&5
15.3044 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3045 + (exit $ac_status); } &&
15.3046 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.3047 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.3048 + (eval $ac_try) 2>&5
15.3049 + ac_status=$?
15.3050 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3051 + (exit $ac_status); }; } &&
15.3052 + { ac_try='test -s conftest.$ac_objext'
15.3053 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.3054 + (eval $ac_try) 2>&5
15.3055 + ac_status=$?
15.3056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3057 + (exit $ac_status); }; }; then
15.3058 + for ac_declaration in \
15.3059 + '' \
15.3060 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
15.3061 + 'extern "C" void std::exit (int); using std::exit;' \
15.3062 + 'extern "C" void exit (int) throw ();' \
15.3063 + 'extern "C" void exit (int);' \
15.3064 + 'void exit (int);'
15.3065 +do
15.3066 + cat >conftest.$ac_ext <<_ACEOF
15.3067 +/* confdefs.h. */
15.3068 +_ACEOF
15.3069 +cat confdefs.h >>conftest.$ac_ext
15.3070 +cat >>conftest.$ac_ext <<_ACEOF
15.3071 +/* end confdefs.h. */
15.3072 +$ac_declaration
15.3073 +#include <stdlib.h>
15.3074 +int
15.3075 +main ()
15.3076 +{
15.3077 +exit (42);
15.3078 + ;
15.3079 + return 0;
15.3080 +}
15.3081 +_ACEOF
15.3082 +rm -f conftest.$ac_objext
15.3083 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.3084 + (eval $ac_compile) 2>conftest.er1
15.3085 + ac_status=$?
15.3086 + grep -v '^ *+' conftest.er1 >conftest.err
15.3087 + rm -f conftest.er1
15.3088 + cat conftest.err >&5
15.3089 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3090 + (exit $ac_status); } &&
15.3091 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.3092 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.3093 + (eval $ac_try) 2>&5
15.3094 + ac_status=$?
15.3095 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3096 + (exit $ac_status); }; } &&
15.3097 + { ac_try='test -s conftest.$ac_objext'
15.3098 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.3099 + (eval $ac_try) 2>&5
15.3100 + ac_status=$?
15.3101 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3102 + (exit $ac_status); }; }; then
15.3103 + :
15.3104 +else
15.3105 + echo "$as_me: failed program was:" >&5
15.3106 +sed 's/^/| /' conftest.$ac_ext >&5
15.3107 +
15.3108 +continue
15.3109 +fi
15.3110 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.3111 + cat >conftest.$ac_ext <<_ACEOF
15.3112 +/* confdefs.h. */
15.3113 +_ACEOF
15.3114 +cat confdefs.h >>conftest.$ac_ext
15.3115 +cat >>conftest.$ac_ext <<_ACEOF
15.3116 +/* end confdefs.h. */
15.3117 +$ac_declaration
15.3118 +int
15.3119 +main ()
15.3120 +{
15.3121 +exit (42);
15.3122 + ;
15.3123 + return 0;
15.3124 +}
15.3125 +_ACEOF
15.3126 +rm -f conftest.$ac_objext
15.3127 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.3128 + (eval $ac_compile) 2>conftest.er1
15.3129 + ac_status=$?
15.3130 + grep -v '^ *+' conftest.er1 >conftest.err
15.3131 + rm -f conftest.er1
15.3132 + cat conftest.err >&5
15.3133 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3134 + (exit $ac_status); } &&
15.3135 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.3136 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.3137 + (eval $ac_try) 2>&5
15.3138 + ac_status=$?
15.3139 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3140 + (exit $ac_status); }; } &&
15.3141 + { ac_try='test -s conftest.$ac_objext'
15.3142 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.3143 + (eval $ac_try) 2>&5
15.3144 + ac_status=$?
15.3145 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3146 + (exit $ac_status); }; }; then
15.3147 + break
15.3148 +else
15.3149 + echo "$as_me: failed program was:" >&5
15.3150 +sed 's/^/| /' conftest.$ac_ext >&5
15.3151 +
15.3152 +fi
15.3153 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.3154 +done
15.3155 +rm -f conftest*
15.3156 +if test -n "$ac_declaration"; then
15.3157 + echo '#ifdef __cplusplus' >>confdefs.h
15.3158 + echo $ac_declaration >>confdefs.h
15.3159 + echo '#endif' >>confdefs.h
15.3160 +fi
15.3161 +
15.3162 +else
15.3163 + echo "$as_me: failed program was:" >&5
15.3164 +sed 's/^/| /' conftest.$ac_ext >&5
15.3165 +
15.3166 +fi
15.3167 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.3168 +ac_ext=c
15.3169 +ac_cpp='$CPP $CPPFLAGS'
15.3170 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.3171 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.3172 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.3173 +
15.3174 +depcc="$CC" am_compiler_list=
15.3175 +
15.3176 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15.3177 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15.3178 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
15.3179 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.3180 +else
15.3181 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15.3182 + # We make a subdir and do the tests there. Otherwise we can end up
15.3183 + # making bogus files that we don't know about and never remove. For
15.3184 + # instance it was reported that on HP-UX the gcc test will end up
15.3185 + # making a dummy file named `D' -- because `-MD' means `put the output
15.3186 + # in D'.
15.3187 + mkdir conftest.dir
15.3188 + # Copy depcomp to subdir because otherwise we won't find it if we're
15.3189 + # using a relative directory.
15.3190 + cp "$am_depcomp" conftest.dir
15.3191 + cd conftest.dir
15.3192 + # We will build objects and dependencies in a subdirectory because
15.3193 + # it helps to detect inapplicable dependency modes. For instance
15.3194 + # both Tru64's cc and ICC support -MD to output dependencies as a
15.3195 + # side effect of compilation, but ICC will put the dependencies in
15.3196 + # the current directory while Tru64 will put them in the object
15.3197 + # directory.
15.3198 + mkdir sub
15.3199 +
15.3200 + am_cv_CC_dependencies_compiler_type=none
15.3201 + if test "$am_compiler_list" = ""; then
15.3202 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15.3203 + fi
15.3204 + for depmode in $am_compiler_list; do
15.3205 + # Setup a source with many dependencies, because some compilers
15.3206 + # like to wrap large dependency lists on column 80 (with \), and
15.3207 + # we should not choose a depcomp mode which is confused by this.
15.3208 + #
15.3209 + # We need to recreate these files for each test, as the compiler may
15.3210 + # overwrite some of them when testing with obscure command lines.
15.3211 + # This happens at least with the AIX C compiler.
15.3212 + : > sub/conftest.c
15.3213 + for i in 1 2 3 4 5 6; do
15.3214 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
15.3215 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15.3216 + # Solaris 8's {/usr,}/bin/sh.
15.3217 + touch sub/conftst$i.h
15.3218 + done
15.3219 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15.3220 +
15.3221 + case $depmode in
15.3222 + nosideeffect)
15.3223 + # after this tag, mechanisms are not by side-effect, so they'll
15.3224 + # only be used when explicitly requested
15.3225 + if test "x$enable_dependency_tracking" = xyes; then
15.3226 + continue
15.3227 + else
15.3228 + break
15.3229 + fi
15.3230 + ;;
15.3231 + none) break ;;
15.3232 + esac
15.3233 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
15.3234 + # mode. It turns out that the SunPro C++ compiler does not properly
15.3235 + # handle `-M -o', and we need to detect this.
15.3236 + if depmode=$depmode \
15.3237 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
15.3238 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15.3239 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
15.3240 + >/dev/null 2>conftest.err &&
15.3241 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15.3242 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
15.3243 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15.3244 + # icc doesn't choke on unknown options, it will just issue warnings
15.3245 + # or remarks (even with -Werror). So we grep stderr for any message
15.3246 + # that says an option was ignored or not supported.
15.3247 + # When given -MP, icc 7.0 and 7.1 complain thusly:
15.3248 + # icc: Command line warning: ignoring option '-M'; no argument required
15.3249 + # The diagnosis changed in icc 8.0:
15.3250 + # icc: Command line remark: option '-MP' not supported
15.3251 + if (grep 'ignoring option' conftest.err ||
15.3252 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15.3253 + am_cv_CC_dependencies_compiler_type=$depmode
15.3254 + break
15.3255 + fi
15.3256 + fi
15.3257 + done
15.3258 +
15.3259 + cd ..
15.3260 + rm -rf conftest.dir
15.3261 +else
15.3262 + am_cv_CC_dependencies_compiler_type=none
15.3263 +fi
15.3264 +
15.3265 +fi
15.3266 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
15.3267 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
15.3268 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
15.3269 +
15.3270 +
15.3271 +
15.3272 +if
15.3273 + test "x$enable_dependency_tracking" != xno \
15.3274 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
15.3275 + am__fastdepCC_TRUE=
15.3276 + am__fastdepCC_FALSE='#'
15.3277 +else
15.3278 + am__fastdepCC_TRUE='#'
15.3279 + am__fastdepCC_FALSE=
15.3280 +fi
15.3281 +
15.3282 +
15.3283 +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
15.3284 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
15.3285 +if test "${lt_cv_path_SED+set}" = set; then
15.3286 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.3287 +else
15.3288 + # Loop through the user's path and test for sed and gsed.
15.3289 +# Then use that list of sed's as ones to test for truncation.
15.3290 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.3291 +for as_dir in $PATH
15.3292 +do
15.3293 + IFS=$as_save_IFS
15.3294 + test -z "$as_dir" && as_dir=.
15.3295 + for lt_ac_prog in sed gsed; do
15.3296 + for ac_exec_ext in '' $ac_executable_extensions; do
15.3297 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
15.3298 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
15.3299 + fi
15.3300 + done
15.3301 + done
15.3302 +done
15.3303 +lt_ac_max=0
15.3304 +lt_ac_count=0
15.3305 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
15.3306 +# along with /bin/sed that truncates output.
15.3307 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
15.3308 + test ! -f $lt_ac_sed && continue
15.3309 + cat /dev/null > conftest.in
15.3310 + lt_ac_count=0
15.3311 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
15.3312 + # Check for GNU sed and select it if it is found.
15.3313 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
15.3314 + lt_cv_path_SED=$lt_ac_sed
15.3315 + break
15.3316 + fi
15.3317 + while true; do
15.3318 + cat conftest.in conftest.in >conftest.tmp
15.3319 + mv conftest.tmp conftest.in
15.3320 + cp conftest.in conftest.nl
15.3321 + echo >>conftest.nl
15.3322 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
15.3323 + cmp -s conftest.out conftest.nl || break
15.3324 + # 10000 chars as input seems more than enough
15.3325 + test $lt_ac_count -gt 10 && break
15.3326 + lt_ac_count=`expr $lt_ac_count + 1`
15.3327 + if test $lt_ac_count -gt $lt_ac_max; then
15.3328 + lt_ac_max=$lt_ac_count
15.3329 + lt_cv_path_SED=$lt_ac_sed
15.3330 + fi
15.3331 + done
15.3332 +done
15.3333 +
15.3334 +fi
15.3335 +
15.3336 +SED=$lt_cv_path_SED
15.3337 +echo "$as_me:$LINENO: result: $SED" >&5
15.3338 +echo "${ECHO_T}$SED" >&6
15.3339 +
15.3340 +echo "$as_me:$LINENO: checking for egrep" >&5
15.3341 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
15.3342 +if test "${ac_cv_prog_egrep+set}" = set; then
15.3343 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.3344 +else
15.3345 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
15.3346 + then ac_cv_prog_egrep='grep -E'
15.3347 + else ac_cv_prog_egrep='egrep'
15.3348 + fi
15.3349 +fi
15.3350 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
15.3351 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
15.3352 + EGREP=$ac_cv_prog_egrep
15.3353 +
15.3354 +
15.3355 +
15.3356 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
15.3357 +if test "${with_gnu_ld+set}" = set; then
15.3358 + withval="$with_gnu_ld"
15.3359 + test "$withval" = no || with_gnu_ld=yes
15.3360 +else
15.3361 + with_gnu_ld=no
15.3362 +fi;
15.3363 +ac_prog=ld
15.3364 +if test "$GCC" = yes; then
15.3365 + # Check if gcc -print-prog-name=ld gives a path.
15.3366 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5
15.3367 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
15.3368 + case $host in
15.3369 + *-*-mingw*)
15.3370 + # gcc leaves a trailing carriage return which upsets mingw
15.3371 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15.3372 + *)
15.3373 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15.3374 + esac
15.3375 + case $ac_prog in
15.3376 + # Accept absolute paths.
15.3377 + [\\/]* | ?:[\\/]*)
15.3378 + re_direlt='/[^/][^/]*/\.\./'
15.3379 + # Canonicalize the pathname of ld
15.3380 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
15.3381 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15.3382 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
15.3383 + done
15.3384 + test -z "$LD" && LD="$ac_prog"
15.3385 + ;;
15.3386 + "")
15.3387 + # If it fails, then pretend we aren't using GCC.
15.3388 + ac_prog=ld
15.3389 + ;;
15.3390 + *)
15.3391 + # If it is relative, then search for the first ld in PATH.
15.3392 + with_gnu_ld=unknown
15.3393 + ;;
15.3394 + esac
15.3395 +elif test "$with_gnu_ld" = yes; then
15.3396 + echo "$as_me:$LINENO: checking for GNU ld" >&5
15.3397 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
15.3398 +else
15.3399 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15.3400 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
15.3401 +fi
15.3402 +if test "${lt_cv_path_LD+set}" = set; then
15.3403 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.3404 +else
15.3405 + if test -z "$LD"; then
15.3406 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15.3407 + for ac_dir in $PATH; do
15.3408 + IFS="$lt_save_ifs"
15.3409 + test -z "$ac_dir" && ac_dir=.
15.3410 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15.3411 + lt_cv_path_LD="$ac_dir/$ac_prog"
15.3412 + # Check to see if the program is GNU ld. I'd rather use --version,
15.3413 + # but apparently some variants of GNU ld only accept -v.
15.3414 + # Break only if it was the GNU/non-GNU ld that we prefer.
15.3415 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15.3416 + *GNU* | *'with BFD'*)
15.3417 + test "$with_gnu_ld" != no && break
15.3418 + ;;
15.3419 + *)
15.3420 + test "$with_gnu_ld" != yes && break
15.3421 + ;;
15.3422 + esac
15.3423 + fi
15.3424 + done
15.3425 + IFS="$lt_save_ifs"
15.3426 +else
15.3427 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
15.3428 +fi
15.3429 +fi
15.3430 +
15.3431 +LD="$lt_cv_path_LD"
15.3432 +if test -n "$LD"; then
15.3433 + echo "$as_me:$LINENO: result: $LD" >&5
15.3434 +echo "${ECHO_T}$LD" >&6
15.3435 +else
15.3436 + echo "$as_me:$LINENO: result: no" >&5
15.3437 +echo "${ECHO_T}no" >&6
15.3438 +fi
15.3439 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15.3440 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15.3441 + { (exit 1); exit 1; }; }
15.3442 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
15.3443 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
15.3444 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
15.3445 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.3446 +else
15.3447 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
15.3448 +case `$LD -v 2>&1 </dev/null` in
15.3449 +*GNU* | *'with BFD'*)
15.3450 + lt_cv_prog_gnu_ld=yes
15.3451 + ;;
15.3452 +*)
15.3453 + lt_cv_prog_gnu_ld=no
15.3454 + ;;
15.3455 +esac
15.3456 +fi
15.3457 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
15.3458 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
15.3459 +with_gnu_ld=$lt_cv_prog_gnu_ld
15.3460 +
15.3461 +
15.3462 +echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
15.3463 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
15.3464 +if test "${lt_cv_ld_reload_flag+set}" = set; then
15.3465 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.3466 +else
15.3467 + lt_cv_ld_reload_flag='-r'
15.3468 +fi
15.3469 +echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
15.3470 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
15.3471 +reload_flag=$lt_cv_ld_reload_flag
15.3472 +case $reload_flag in
15.3473 +"" | " "*) ;;
15.3474 +*) reload_flag=" $reload_flag" ;;
15.3475 +esac
15.3476 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
15.3477 +case $host_os in
15.3478 + darwin*)
15.3479 + if test "$GCC" = yes; then
15.3480 + reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
15.3481 + else
15.3482 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
15.3483 + fi
15.3484 + ;;
15.3485 +esac
15.3486 +
15.3487 +echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
15.3488 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
15.3489 +if test "${lt_cv_path_NM+set}" = set; then
15.3490 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.3491 +else
15.3492 + if test -n "$NM"; then
15.3493 + # Let the user override the test.
15.3494 + lt_cv_path_NM="$NM"
15.3495 +else
15.3496 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15.3497 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
15.3498 + IFS="$lt_save_ifs"
15.3499 + test -z "$ac_dir" && ac_dir=.
15.3500 + tmp_nm="$ac_dir/${ac_tool_prefix}nm"
15.3501 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
15.3502 + # Check to see if the nm accepts a BSD-compat flag.
15.3503 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
15.3504 + # nm: unknown option "B" ignored
15.3505 + # Tru64's nm complains that /dev/null is an invalid object file
15.3506 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
15.3507 + */dev/null* | *'Invalid file or object type'*)
15.3508 + lt_cv_path_NM="$tmp_nm -B"
15.3509 + break
15.3510 + ;;
15.3511 + *)
15.3512 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
15.3513 + */dev/null*)
15.3514 + lt_cv_path_NM="$tmp_nm -p"
15.3515 + break
15.3516 + ;;
15.3517 + *)
15.3518 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
15.3519 + continue # so that we can try to find one that supports BSD flags
15.3520 + ;;
15.3521 + esac
15.3522 + esac
15.3523 + fi
15.3524 + done
15.3525 + IFS="$lt_save_ifs"
15.3526 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
15.3527 +fi
15.3528 +fi
15.3529 +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
15.3530 +echo "${ECHO_T}$lt_cv_path_NM" >&6
15.3531 +NM="$lt_cv_path_NM"
15.3532 +
15.3533 +echo "$as_me:$LINENO: checking whether ln -s works" >&5
15.3534 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15.3535 +LN_S=$as_ln_s
15.3536 +if test "$LN_S" = "ln -s"; then
15.3537 + echo "$as_me:$LINENO: result: yes" >&5
15.3538 +echo "${ECHO_T}yes" >&6
15.3539 +else
15.3540 + echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15.3541 +echo "${ECHO_T}no, using $LN_S" >&6
15.3542 +fi
15.3543 +
15.3544 +echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
15.3545 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
15.3546 +if test "${lt_cv_deplibs_check_method+set}" = set; then
15.3547 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.3548 +else
15.3549 + lt_cv_file_magic_cmd='$MAGIC_CMD'
15.3550 +lt_cv_file_magic_test_file=
15.3551 +lt_cv_deplibs_check_method='unknown'
15.3552 +# Need to set the preceding variable on all platforms that support
15.3553 +# interlibrary dependencies.
15.3554 +# 'none' -- dependencies not supported.
15.3555 +# `unknown' -- same as none, but documents that we really don't know.
15.3556 +# 'pass_all' -- all dependencies passed with no checks.
15.3557 +# 'test_compile' -- check by making test program.
15.3558 +# 'file_magic [[regex]]' -- check by looking for files in library path
15.3559 +# which responds to the $file_magic_cmd with a given extended regex.
15.3560 +# If you have `file' or equivalent on your system and you're not sure
15.3561 +# whether `pass_all' will *always* work, you probably want this one.
15.3562 +
15.3563 +case $host_os in
15.3564 +aix4* | aix5*)
15.3565 + lt_cv_deplibs_check_method=pass_all
15.3566 + ;;
15.3567 +
15.3568 +beos*)
15.3569 + lt_cv_deplibs_check_method=pass_all
15.3570 + ;;
15.3571 +
15.3572 +bsdi[45]*)
15.3573 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
15.3574 + lt_cv_file_magic_cmd='/usr/bin/file -L'
15.3575 + lt_cv_file_magic_test_file=/shlib/libc.so
15.3576 + ;;
15.3577 +
15.3578 +cygwin*)
15.3579 + # func_win32_libid is a shell function defined in ltmain.sh
15.3580 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
15.3581 + lt_cv_file_magic_cmd='func_win32_libid'
15.3582 + ;;
15.3583 +
15.3584 +mingw* | pw32*)
15.3585 + # Base MSYS/MinGW do not provide the 'file' command needed by
15.3586 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
15.3587 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
15.3588 + lt_cv_file_magic_cmd='$OBJDUMP -f'
15.3589 + ;;
15.3590 +
15.3591 +darwin* | rhapsody*)
15.3592 + lt_cv_deplibs_check_method=pass_all
15.3593 + ;;
15.3594 +
15.3595 +freebsd* | kfreebsd*-gnu | dragonfly*)
15.3596 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
15.3597 + case $host_cpu in
15.3598 + i*86 )
15.3599 + # Not sure whether the presence of OpenBSD here was a mistake.
15.3600 + # Let's accept both of them until this is cleared up.
15.3601 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
15.3602 + lt_cv_file_magic_cmd=/usr/bin/file
15.3603 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
15.3604 + ;;
15.3605 + esac
15.3606 + else
15.3607 + lt_cv_deplibs_check_method=pass_all
15.3608 + fi
15.3609 + ;;
15.3610 +
15.3611 +gnu*)
15.3612 + lt_cv_deplibs_check_method=pass_all
15.3613 + ;;
15.3614 +
15.3615 +hpux10.20* | hpux11*)
15.3616 + lt_cv_file_magic_cmd=/usr/bin/file
15.3617 + case $host_cpu in
15.3618 + ia64*)
15.3619 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
15.3620 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
15.3621 + ;;
15.3622 + hppa*64*)
15.3623 + 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]'
15.3624 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
15.3625 + ;;
15.3626 + *)
15.3627 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
15.3628 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
15.3629 + ;;
15.3630 + esac
15.3631 + ;;
15.3632 +
15.3633 +irix5* | irix6* | nonstopux*)
15.3634 + case $LD in
15.3635 + *-32|*"-32 ") libmagic=32-bit;;
15.3636 + *-n32|*"-n32 ") libmagic=N32;;
15.3637 + *-64|*"-64 ") libmagic=64-bit;;
15.3638 + *) libmagic=never-match;;
15.3639 + esac
15.3640 + lt_cv_deplibs_check_method=pass_all
15.3641 + ;;
15.3642 +
15.3643 +# This must be Linux ELF.
15.3644 +linux*)
15.3645 + lt_cv_deplibs_check_method=pass_all
15.3646 + ;;
15.3647 +
15.3648 +netbsd*)
15.3649 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
15.3650 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
15.3651 + else
15.3652 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
15.3653 + fi
15.3654 + ;;
15.3655 +
15.3656 +newos6*)
15.3657 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
15.3658 + lt_cv_file_magic_cmd=/usr/bin/file
15.3659 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
15.3660 + ;;
15.3661 +
15.3662 +nto-qnx*)
15.3663 + lt_cv_deplibs_check_method=unknown
15.3664 + ;;
15.3665 +
15.3666 +openbsd*)
15.3667 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15.3668 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
15.3669 + else
15.3670 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
15.3671 + fi
15.3672 + ;;
15.3673 +
15.3674 +osf3* | osf4* | osf5*)
15.3675 + lt_cv_deplibs_check_method=pass_all
15.3676 + ;;
15.3677 +
15.3678 +sco3.2v5*)
15.3679 + lt_cv_deplibs_check_method=pass_all
15.3680 + ;;
15.3681 +
15.3682 +solaris*)
15.3683 + lt_cv_deplibs_check_method=pass_all
15.3684 + ;;
15.3685 +
15.3686 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15.3687 + case $host_vendor in
15.3688 + motorola)
15.3689 + 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]'
15.3690 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
15.3691 + ;;
15.3692 + ncr)
15.3693 + lt_cv_deplibs_check_method=pass_all
15.3694 + ;;
15.3695 + sequent)
15.3696 + lt_cv_file_magic_cmd='/bin/file'
15.3697 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
15.3698 + ;;
15.3699 + sni)
15.3700 + lt_cv_file_magic_cmd='/bin/file'
15.3701 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
15.3702 + lt_cv_file_magic_test_file=/lib/libc.so
15.3703 + ;;
15.3704 + siemens)
15.3705 + lt_cv_deplibs_check_method=pass_all
15.3706 + ;;
15.3707 + esac
15.3708 + ;;
15.3709 +
15.3710 +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
15.3711 + lt_cv_deplibs_check_method=pass_all
15.3712 + ;;
15.3713 +esac
15.3714 +
15.3715 +fi
15.3716 +echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
15.3717 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
15.3718 +file_magic_cmd=$lt_cv_file_magic_cmd
15.3719 +deplibs_check_method=$lt_cv_deplibs_check_method
15.3720 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
15.3721 +
15.3722 +
15.3723 +
15.3724 +
15.3725 +# If no C compiler was specified, use CC.
15.3726 +LTCC=${LTCC-"$CC"}
15.3727 +
15.3728 +# Allow CC to be a program name with arguments.
15.3729 +compiler=$CC
15.3730 +
15.3731 +
15.3732 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
15.3733 +if test "${enable_libtool_lock+set}" = set; then
15.3734 + enableval="$enable_libtool_lock"
15.3735 +
15.3736 +fi;
15.3737 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
15.3738 +
15.3739 +# Some flags need to be propagated to the compiler or linker for good
15.3740 +# libtool support.
15.3741 +case $host in
15.3742 +ia64-*-hpux*)
15.3743 + # Find out which ABI we are using.
15.3744 + echo 'int i;' > conftest.$ac_ext
15.3745 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.3746 + (eval $ac_compile) 2>&5
15.3747 + ac_status=$?
15.3748 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3749 + (exit $ac_status); }; then
15.3750 + case `/usr/bin/file conftest.$ac_objext` in
15.3751 + *ELF-32*)
15.3752 + HPUX_IA64_MODE="32"
15.3753 + ;;
15.3754 + *ELF-64*)
15.3755 + HPUX_IA64_MODE="64"
15.3756 + ;;
15.3757 + esac
15.3758 + fi
15.3759 + rm -rf conftest*
15.3760 + ;;
15.3761 +*-*-irix6*)
15.3762 + # Find out which ABI we are using.
15.3763 + echo '#line 3760 "configure"' > conftest.$ac_ext
15.3764 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.3765 + (eval $ac_compile) 2>&5
15.3766 + ac_status=$?
15.3767 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3768 + (exit $ac_status); }; then
15.3769 + if test "$lt_cv_prog_gnu_ld" = yes; then
15.3770 + case `/usr/bin/file conftest.$ac_objext` in
15.3771 + *32-bit*)
15.3772 + LD="${LD-ld} -melf32bsmip"
15.3773 + ;;
15.3774 + *N32*)
15.3775 + LD="${LD-ld} -melf32bmipn32"
15.3776 + ;;
15.3777 + *64-bit*)
15.3778 + LD="${LD-ld} -melf64bmip"
15.3779 + ;;
15.3780 + esac
15.3781 + else
15.3782 + case `/usr/bin/file conftest.$ac_objext` in
15.3783 + *32-bit*)
15.3784 + LD="${LD-ld} -32"
15.3785 + ;;
15.3786 + *N32*)
15.3787 + LD="${LD-ld} -n32"
15.3788 + ;;
15.3789 + *64-bit*)
15.3790 + LD="${LD-ld} -64"
15.3791 + ;;
15.3792 + esac
15.3793 + fi
15.3794 + fi
15.3795 + rm -rf conftest*
15.3796 + ;;
15.3797 +
15.3798 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
15.3799 + # Find out which ABI we are using.
15.3800 + echo 'int i;' > conftest.$ac_ext
15.3801 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.3802 + (eval $ac_compile) 2>&5
15.3803 + ac_status=$?
15.3804 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3805 + (exit $ac_status); }; then
15.3806 + case `/usr/bin/file conftest.o` in
15.3807 + *32-bit*)
15.3808 + case $host in
15.3809 + x86_64-*linux*)
15.3810 + LD="${LD-ld} -m elf_i386"
15.3811 + ;;
15.3812 + ppc64-*linux*|powerpc64-*linux*)
15.3813 + LD="${LD-ld} -m elf32ppclinux"
15.3814 + ;;
15.3815 + s390x-*linux*)
15.3816 + LD="${LD-ld} -m elf_s390"
15.3817 + ;;
15.3818 + sparc64-*linux*)
15.3819 + LD="${LD-ld} -m elf32_sparc"
15.3820 + ;;
15.3821 + esac
15.3822 + ;;
15.3823 + *64-bit*)
15.3824 + case $host in
15.3825 + x86_64-*linux*)
15.3826 + LD="${LD-ld} -m elf_x86_64"
15.3827 + ;;
15.3828 + ppc*-*linux*|powerpc*-*linux*)
15.3829 + LD="${LD-ld} -m elf64ppc"
15.3830 + ;;
15.3831 + s390*-*linux*)
15.3832 + LD="${LD-ld} -m elf64_s390"
15.3833 + ;;
15.3834 + sparc*-*linux*)
15.3835 + LD="${LD-ld} -m elf64_sparc"
15.3836 + ;;
15.3837 + esac
15.3838 + ;;
15.3839 + esac
15.3840 + fi
15.3841 + rm -rf conftest*
15.3842 + ;;
15.3843 +
15.3844 +*-*-sco3.2v5*)
15.3845 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
15.3846 + SAVE_CFLAGS="$CFLAGS"
15.3847 + CFLAGS="$CFLAGS -belf"
15.3848 + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
15.3849 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
15.3850 +if test "${lt_cv_cc_needs_belf+set}" = set; then
15.3851 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.3852 +else
15.3853 + ac_ext=c
15.3854 +ac_cpp='$CPP $CPPFLAGS'
15.3855 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.3856 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.3857 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.3858 +
15.3859 + cat >conftest.$ac_ext <<_ACEOF
15.3860 +/* confdefs.h. */
15.3861 +_ACEOF
15.3862 +cat confdefs.h >>conftest.$ac_ext
15.3863 +cat >>conftest.$ac_ext <<_ACEOF
15.3864 +/* end confdefs.h. */
15.3865 +
15.3866 +int
15.3867 +main ()
15.3868 +{
15.3869 +
15.3870 + ;
15.3871 + return 0;
15.3872 +}
15.3873 +_ACEOF
15.3874 +rm -f conftest.$ac_objext conftest$ac_exeext
15.3875 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.3876 + (eval $ac_link) 2>conftest.er1
15.3877 + ac_status=$?
15.3878 + grep -v '^ *+' conftest.er1 >conftest.err
15.3879 + rm -f conftest.er1
15.3880 + cat conftest.err >&5
15.3881 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3882 + (exit $ac_status); } &&
15.3883 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.3884 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.3885 + (eval $ac_try) 2>&5
15.3886 + ac_status=$?
15.3887 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3888 + (exit $ac_status); }; } &&
15.3889 + { ac_try='test -s conftest$ac_exeext'
15.3890 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.3891 + (eval $ac_try) 2>&5
15.3892 + ac_status=$?
15.3893 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3894 + (exit $ac_status); }; }; then
15.3895 + lt_cv_cc_needs_belf=yes
15.3896 +else
15.3897 + echo "$as_me: failed program was:" >&5
15.3898 +sed 's/^/| /' conftest.$ac_ext >&5
15.3899 +
15.3900 +lt_cv_cc_needs_belf=no
15.3901 +fi
15.3902 +rm -f conftest.err conftest.$ac_objext \
15.3903 + conftest$ac_exeext conftest.$ac_ext
15.3904 + ac_ext=c
15.3905 +ac_cpp='$CPP $CPPFLAGS'
15.3906 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.3907 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.3908 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.3909 +
15.3910 +fi
15.3911 +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
15.3912 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
15.3913 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
15.3914 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
15.3915 + CFLAGS="$SAVE_CFLAGS"
15.3916 + fi
15.3917 + ;;
15.3918 +
15.3919 +esac
15.3920 +
15.3921 +need_locks="$enable_libtool_lock"
15.3922 +
15.3923 +
15.3924 +ac_ext=c
15.3925 +ac_cpp='$CPP $CPPFLAGS'
15.3926 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.3927 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.3928 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.3929 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15.3930 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
15.3931 +# On Suns, sometimes $CPP names a directory.
15.3932 +if test -n "$CPP" && test -d "$CPP"; then
15.3933 + CPP=
15.3934 +fi
15.3935 +if test -z "$CPP"; then
15.3936 + if test "${ac_cv_prog_CPP+set}" = set; then
15.3937 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.3938 +else
15.3939 + # Double quotes because CPP needs to be expanded
15.3940 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15.3941 + do
15.3942 + ac_preproc_ok=false
15.3943 +for ac_c_preproc_warn_flag in '' yes
15.3944 +do
15.3945 + # Use a header file that comes with gcc, so configuring glibc
15.3946 + # with a fresh cross-compiler works.
15.3947 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.3948 + # <limits.h> exists even on freestanding compilers.
15.3949 + # On the NeXT, cc -E runs the code through the compiler's parser,
15.3950 + # not just through cpp. "Syntax error" is here to catch this case.
15.3951 + cat >conftest.$ac_ext <<_ACEOF
15.3952 +/* confdefs.h. */
15.3953 +_ACEOF
15.3954 +cat confdefs.h >>conftest.$ac_ext
15.3955 +cat >>conftest.$ac_ext <<_ACEOF
15.3956 +/* end confdefs.h. */
15.3957 +#ifdef __STDC__
15.3958 +# include <limits.h>
15.3959 +#else
15.3960 +# include <assert.h>
15.3961 +#endif
15.3962 + Syntax error
15.3963 +_ACEOF
15.3964 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.3965 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.3966 + ac_status=$?
15.3967 + grep -v '^ *+' conftest.er1 >conftest.err
15.3968 + rm -f conftest.er1
15.3969 + cat conftest.err >&5
15.3970 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.3971 + (exit $ac_status); } >/dev/null; then
15.3972 + if test -s conftest.err; then
15.3973 + ac_cpp_err=$ac_c_preproc_warn_flag
15.3974 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15.3975 + else
15.3976 + ac_cpp_err=
15.3977 + fi
15.3978 +else
15.3979 + ac_cpp_err=yes
15.3980 +fi
15.3981 +if test -z "$ac_cpp_err"; then
15.3982 + :
15.3983 +else
15.3984 + echo "$as_me: failed program was:" >&5
15.3985 +sed 's/^/| /' conftest.$ac_ext >&5
15.3986 +
15.3987 + # Broken: fails on valid input.
15.3988 +continue
15.3989 +fi
15.3990 +rm -f conftest.err conftest.$ac_ext
15.3991 +
15.3992 + # OK, works on sane cases. Now check whether non-existent headers
15.3993 + # can be detected and how.
15.3994 + cat >conftest.$ac_ext <<_ACEOF
15.3995 +/* confdefs.h. */
15.3996 +_ACEOF
15.3997 +cat confdefs.h >>conftest.$ac_ext
15.3998 +cat >>conftest.$ac_ext <<_ACEOF
15.3999 +/* end confdefs.h. */
15.4000 +#include <ac_nonexistent.h>
15.4001 +_ACEOF
15.4002 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.4003 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.4004 + ac_status=$?
15.4005 + grep -v '^ *+' conftest.er1 >conftest.err
15.4006 + rm -f conftest.er1
15.4007 + cat conftest.err >&5
15.4008 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4009 + (exit $ac_status); } >/dev/null; then
15.4010 + if test -s conftest.err; then
15.4011 + ac_cpp_err=$ac_c_preproc_warn_flag
15.4012 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15.4013 + else
15.4014 + ac_cpp_err=
15.4015 + fi
15.4016 +else
15.4017 + ac_cpp_err=yes
15.4018 +fi
15.4019 +if test -z "$ac_cpp_err"; then
15.4020 + # Broken: success on invalid input.
15.4021 +continue
15.4022 +else
15.4023 + echo "$as_me: failed program was:" >&5
15.4024 +sed 's/^/| /' conftest.$ac_ext >&5
15.4025 +
15.4026 + # Passes both tests.
15.4027 +ac_preproc_ok=:
15.4028 +break
15.4029 +fi
15.4030 +rm -f conftest.err conftest.$ac_ext
15.4031 +
15.4032 +done
15.4033 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15.4034 +rm -f conftest.err conftest.$ac_ext
15.4035 +if $ac_preproc_ok; then
15.4036 + break
15.4037 +fi
15.4038 +
15.4039 + done
15.4040 + ac_cv_prog_CPP=$CPP
15.4041 +
15.4042 +fi
15.4043 + CPP=$ac_cv_prog_CPP
15.4044 +else
15.4045 + ac_cv_prog_CPP=$CPP
15.4046 +fi
15.4047 +echo "$as_me:$LINENO: result: $CPP" >&5
15.4048 +echo "${ECHO_T}$CPP" >&6
15.4049 +ac_preproc_ok=false
15.4050 +for ac_c_preproc_warn_flag in '' yes
15.4051 +do
15.4052 + # Use a header file that comes with gcc, so configuring glibc
15.4053 + # with a fresh cross-compiler works.
15.4054 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.4055 + # <limits.h> exists even on freestanding compilers.
15.4056 + # On the NeXT, cc -E runs the code through the compiler's parser,
15.4057 + # not just through cpp. "Syntax error" is here to catch this case.
15.4058 + cat >conftest.$ac_ext <<_ACEOF
15.4059 +/* confdefs.h. */
15.4060 +_ACEOF
15.4061 +cat confdefs.h >>conftest.$ac_ext
15.4062 +cat >>conftest.$ac_ext <<_ACEOF
15.4063 +/* end confdefs.h. */
15.4064 +#ifdef __STDC__
15.4065 +# include <limits.h>
15.4066 +#else
15.4067 +# include <assert.h>
15.4068 +#endif
15.4069 + Syntax error
15.4070 +_ACEOF
15.4071 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.4072 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.4073 + ac_status=$?
15.4074 + grep -v '^ *+' conftest.er1 >conftest.err
15.4075 + rm -f conftest.er1
15.4076 + cat conftest.err >&5
15.4077 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4078 + (exit $ac_status); } >/dev/null; then
15.4079 + if test -s conftest.err; then
15.4080 + ac_cpp_err=$ac_c_preproc_warn_flag
15.4081 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15.4082 + else
15.4083 + ac_cpp_err=
15.4084 + fi
15.4085 +else
15.4086 + ac_cpp_err=yes
15.4087 +fi
15.4088 +if test -z "$ac_cpp_err"; then
15.4089 + :
15.4090 +else
15.4091 + echo "$as_me: failed program was:" >&5
15.4092 +sed 's/^/| /' conftest.$ac_ext >&5
15.4093 +
15.4094 + # Broken: fails on valid input.
15.4095 +continue
15.4096 +fi
15.4097 +rm -f conftest.err conftest.$ac_ext
15.4098 +
15.4099 + # OK, works on sane cases. Now check whether non-existent headers
15.4100 + # can be detected and how.
15.4101 + cat >conftest.$ac_ext <<_ACEOF
15.4102 +/* confdefs.h. */
15.4103 +_ACEOF
15.4104 +cat confdefs.h >>conftest.$ac_ext
15.4105 +cat >>conftest.$ac_ext <<_ACEOF
15.4106 +/* end confdefs.h. */
15.4107 +#include <ac_nonexistent.h>
15.4108 +_ACEOF
15.4109 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.4110 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.4111 + ac_status=$?
15.4112 + grep -v '^ *+' conftest.er1 >conftest.err
15.4113 + rm -f conftest.er1
15.4114 + cat conftest.err >&5
15.4115 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4116 + (exit $ac_status); } >/dev/null; then
15.4117 + if test -s conftest.err; then
15.4118 + ac_cpp_err=$ac_c_preproc_warn_flag
15.4119 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15.4120 + else
15.4121 + ac_cpp_err=
15.4122 + fi
15.4123 +else
15.4124 + ac_cpp_err=yes
15.4125 +fi
15.4126 +if test -z "$ac_cpp_err"; then
15.4127 + # Broken: success on invalid input.
15.4128 +continue
15.4129 +else
15.4130 + echo "$as_me: failed program was:" >&5
15.4131 +sed 's/^/| /' conftest.$ac_ext >&5
15.4132 +
15.4133 + # Passes both tests.
15.4134 +ac_preproc_ok=:
15.4135 +break
15.4136 +fi
15.4137 +rm -f conftest.err conftest.$ac_ext
15.4138 +
15.4139 +done
15.4140 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15.4141 +rm -f conftest.err conftest.$ac_ext
15.4142 +if $ac_preproc_ok; then
15.4143 + :
15.4144 +else
15.4145 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15.4146 +See \`config.log' for more details." >&5
15.4147 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15.4148 +See \`config.log' for more details." >&2;}
15.4149 + { (exit 1); exit 1; }; }
15.4150 +fi
15.4151 +
15.4152 +ac_ext=c
15.4153 +ac_cpp='$CPP $CPPFLAGS'
15.4154 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.4155 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.4156 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.4157 +
15.4158 +
15.4159 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15.4160 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15.4161 +if test "${ac_cv_header_stdc+set}" = set; then
15.4162 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.4163 +else
15.4164 + cat >conftest.$ac_ext <<_ACEOF
15.4165 +/* confdefs.h. */
15.4166 +_ACEOF
15.4167 +cat confdefs.h >>conftest.$ac_ext
15.4168 +cat >>conftest.$ac_ext <<_ACEOF
15.4169 +/* end confdefs.h. */
15.4170 +#include <stdlib.h>
15.4171 +#include <stdarg.h>
15.4172 +#include <string.h>
15.4173 +#include <float.h>
15.4174 +
15.4175 +int
15.4176 +main ()
15.4177 +{
15.4178 +
15.4179 + ;
15.4180 + return 0;
15.4181 +}
15.4182 +_ACEOF
15.4183 +rm -f conftest.$ac_objext
15.4184 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.4185 + (eval $ac_compile) 2>conftest.er1
15.4186 + ac_status=$?
15.4187 + grep -v '^ *+' conftest.er1 >conftest.err
15.4188 + rm -f conftest.er1
15.4189 + cat conftest.err >&5
15.4190 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4191 + (exit $ac_status); } &&
15.4192 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.4193 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4194 + (eval $ac_try) 2>&5
15.4195 + ac_status=$?
15.4196 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4197 + (exit $ac_status); }; } &&
15.4198 + { ac_try='test -s conftest.$ac_objext'
15.4199 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4200 + (eval $ac_try) 2>&5
15.4201 + ac_status=$?
15.4202 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4203 + (exit $ac_status); }; }; then
15.4204 + ac_cv_header_stdc=yes
15.4205 +else
15.4206 + echo "$as_me: failed program was:" >&5
15.4207 +sed 's/^/| /' conftest.$ac_ext >&5
15.4208 +
15.4209 +ac_cv_header_stdc=no
15.4210 +fi
15.4211 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.4212 +
15.4213 +if test $ac_cv_header_stdc = yes; then
15.4214 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15.4215 + cat >conftest.$ac_ext <<_ACEOF
15.4216 +/* confdefs.h. */
15.4217 +_ACEOF
15.4218 +cat confdefs.h >>conftest.$ac_ext
15.4219 +cat >>conftest.$ac_ext <<_ACEOF
15.4220 +/* end confdefs.h. */
15.4221 +#include <string.h>
15.4222 +
15.4223 +_ACEOF
15.4224 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15.4225 + $EGREP "memchr" >/dev/null 2>&1; then
15.4226 + :
15.4227 +else
15.4228 + ac_cv_header_stdc=no
15.4229 +fi
15.4230 +rm -f conftest*
15.4231 +
15.4232 +fi
15.4233 +
15.4234 +if test $ac_cv_header_stdc = yes; then
15.4235 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15.4236 + cat >conftest.$ac_ext <<_ACEOF
15.4237 +/* confdefs.h. */
15.4238 +_ACEOF
15.4239 +cat confdefs.h >>conftest.$ac_ext
15.4240 +cat >>conftest.$ac_ext <<_ACEOF
15.4241 +/* end confdefs.h. */
15.4242 +#include <stdlib.h>
15.4243 +
15.4244 +_ACEOF
15.4245 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15.4246 + $EGREP "free" >/dev/null 2>&1; then
15.4247 + :
15.4248 +else
15.4249 + ac_cv_header_stdc=no
15.4250 +fi
15.4251 +rm -f conftest*
15.4252 +
15.4253 +fi
15.4254 +
15.4255 +if test $ac_cv_header_stdc = yes; then
15.4256 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15.4257 + if test "$cross_compiling" = yes; then
15.4258 + :
15.4259 +else
15.4260 + cat >conftest.$ac_ext <<_ACEOF
15.4261 +/* confdefs.h. */
15.4262 +_ACEOF
15.4263 +cat confdefs.h >>conftest.$ac_ext
15.4264 +cat >>conftest.$ac_ext <<_ACEOF
15.4265 +/* end confdefs.h. */
15.4266 +#include <ctype.h>
15.4267 +#if ((' ' & 0x0FF) == 0x020)
15.4268 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15.4269 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15.4270 +#else
15.4271 +# define ISLOWER(c) \
15.4272 + (('a' <= (c) && (c) <= 'i') \
15.4273 + || ('j' <= (c) && (c) <= 'r') \
15.4274 + || ('s' <= (c) && (c) <= 'z'))
15.4275 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15.4276 +#endif
15.4277 +
15.4278 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15.4279 +int
15.4280 +main ()
15.4281 +{
15.4282 + int i;
15.4283 + for (i = 0; i < 256; i++)
15.4284 + if (XOR (islower (i), ISLOWER (i))
15.4285 + || toupper (i) != TOUPPER (i))
15.4286 + exit(2);
15.4287 + exit (0);
15.4288 +}
15.4289 +_ACEOF
15.4290 +rm -f conftest$ac_exeext
15.4291 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.4292 + (eval $ac_link) 2>&5
15.4293 + ac_status=$?
15.4294 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4295 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15.4296 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4297 + (eval $ac_try) 2>&5
15.4298 + ac_status=$?
15.4299 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4300 + (exit $ac_status); }; }; then
15.4301 + :
15.4302 +else
15.4303 + echo "$as_me: program exited with status $ac_status" >&5
15.4304 +echo "$as_me: failed program was:" >&5
15.4305 +sed 's/^/| /' conftest.$ac_ext >&5
15.4306 +
15.4307 +( exit $ac_status )
15.4308 +ac_cv_header_stdc=no
15.4309 +fi
15.4310 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15.4311 +fi
15.4312 +fi
15.4313 +fi
15.4314 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15.4315 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
15.4316 +if test $ac_cv_header_stdc = yes; then
15.4317 +
15.4318 +cat >>confdefs.h <<\_ACEOF
15.4319 +#define STDC_HEADERS 1
15.4320 +_ACEOF
15.4321 +
15.4322 +fi
15.4323 +
15.4324 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
15.4325 +
15.4326 +
15.4327 +
15.4328 +
15.4329 +
15.4330 +
15.4331 +
15.4332 +
15.4333 +
15.4334 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
15.4335 + inttypes.h stdint.h unistd.h
15.4336 +do
15.4337 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15.4338 +echo "$as_me:$LINENO: checking for $ac_header" >&5
15.4339 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15.4340 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15.4341 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.4342 +else
15.4343 + cat >conftest.$ac_ext <<_ACEOF
15.4344 +/* confdefs.h. */
15.4345 +_ACEOF
15.4346 +cat confdefs.h >>conftest.$ac_ext
15.4347 +cat >>conftest.$ac_ext <<_ACEOF
15.4348 +/* end confdefs.h. */
15.4349 +$ac_includes_default
15.4350 +
15.4351 +#include <$ac_header>
15.4352 +_ACEOF
15.4353 +rm -f conftest.$ac_objext
15.4354 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.4355 + (eval $ac_compile) 2>conftest.er1
15.4356 + ac_status=$?
15.4357 + grep -v '^ *+' conftest.er1 >conftest.err
15.4358 + rm -f conftest.er1
15.4359 + cat conftest.err >&5
15.4360 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4361 + (exit $ac_status); } &&
15.4362 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.4363 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4364 + (eval $ac_try) 2>&5
15.4365 + ac_status=$?
15.4366 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4367 + (exit $ac_status); }; } &&
15.4368 + { ac_try='test -s conftest.$ac_objext'
15.4369 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4370 + (eval $ac_try) 2>&5
15.4371 + ac_status=$?
15.4372 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4373 + (exit $ac_status); }; }; then
15.4374 + eval "$as_ac_Header=yes"
15.4375 +else
15.4376 + echo "$as_me: failed program was:" >&5
15.4377 +sed 's/^/| /' conftest.$ac_ext >&5
15.4378 +
15.4379 +eval "$as_ac_Header=no"
15.4380 +fi
15.4381 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.4382 +fi
15.4383 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15.4384 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15.4385 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
15.4386 + cat >>confdefs.h <<_ACEOF
15.4387 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15.4388 +_ACEOF
15.4389 +
15.4390 +fi
15.4391 +
15.4392 +done
15.4393 +
15.4394 +
15.4395 +
15.4396 +for ac_header in dlfcn.h
15.4397 +do
15.4398 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15.4399 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15.4400 + echo "$as_me:$LINENO: checking for $ac_header" >&5
15.4401 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15.4402 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15.4403 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.4404 +fi
15.4405 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15.4406 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15.4407 +else
15.4408 + # Is the header compilable?
15.4409 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
15.4410 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15.4411 +cat >conftest.$ac_ext <<_ACEOF
15.4412 +/* confdefs.h. */
15.4413 +_ACEOF
15.4414 +cat confdefs.h >>conftest.$ac_ext
15.4415 +cat >>conftest.$ac_ext <<_ACEOF
15.4416 +/* end confdefs.h. */
15.4417 +$ac_includes_default
15.4418 +#include <$ac_header>
15.4419 +_ACEOF
15.4420 +rm -f conftest.$ac_objext
15.4421 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.4422 + (eval $ac_compile) 2>conftest.er1
15.4423 + ac_status=$?
15.4424 + grep -v '^ *+' conftest.er1 >conftest.err
15.4425 + rm -f conftest.er1
15.4426 + cat conftest.err >&5
15.4427 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4428 + (exit $ac_status); } &&
15.4429 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.4430 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4431 + (eval $ac_try) 2>&5
15.4432 + ac_status=$?
15.4433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4434 + (exit $ac_status); }; } &&
15.4435 + { ac_try='test -s conftest.$ac_objext'
15.4436 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4437 + (eval $ac_try) 2>&5
15.4438 + ac_status=$?
15.4439 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4440 + (exit $ac_status); }; }; then
15.4441 + ac_header_compiler=yes
15.4442 +else
15.4443 + echo "$as_me: failed program was:" >&5
15.4444 +sed 's/^/| /' conftest.$ac_ext >&5
15.4445 +
15.4446 +ac_header_compiler=no
15.4447 +fi
15.4448 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.4449 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15.4450 +echo "${ECHO_T}$ac_header_compiler" >&6
15.4451 +
15.4452 +# Is the header present?
15.4453 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
15.4454 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15.4455 +cat >conftest.$ac_ext <<_ACEOF
15.4456 +/* confdefs.h. */
15.4457 +_ACEOF
15.4458 +cat confdefs.h >>conftest.$ac_ext
15.4459 +cat >>conftest.$ac_ext <<_ACEOF
15.4460 +/* end confdefs.h. */
15.4461 +#include <$ac_header>
15.4462 +_ACEOF
15.4463 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.4464 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.4465 + ac_status=$?
15.4466 + grep -v '^ *+' conftest.er1 >conftest.err
15.4467 + rm -f conftest.er1
15.4468 + cat conftest.err >&5
15.4469 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4470 + (exit $ac_status); } >/dev/null; then
15.4471 + if test -s conftest.err; then
15.4472 + ac_cpp_err=$ac_c_preproc_warn_flag
15.4473 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15.4474 + else
15.4475 + ac_cpp_err=
15.4476 + fi
15.4477 +else
15.4478 + ac_cpp_err=yes
15.4479 +fi
15.4480 +if test -z "$ac_cpp_err"; then
15.4481 + ac_header_preproc=yes
15.4482 +else
15.4483 + echo "$as_me: failed program was:" >&5
15.4484 +sed 's/^/| /' conftest.$ac_ext >&5
15.4485 +
15.4486 + ac_header_preproc=no
15.4487 +fi
15.4488 +rm -f conftest.err conftest.$ac_ext
15.4489 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15.4490 +echo "${ECHO_T}$ac_header_preproc" >&6
15.4491 +
15.4492 +# So? What about this header?
15.4493 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15.4494 + yes:no: )
15.4495 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15.4496 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15.4497 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15.4498 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15.4499 + ac_header_preproc=yes
15.4500 + ;;
15.4501 + no:yes:* )
15.4502 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15.4503 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15.4504 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15.4505 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15.4506 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15.4507 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15.4508 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15.4509 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15.4510 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15.4511 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15.4512 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15.4513 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15.4514 + (
15.4515 + cat <<\_ASBOX
15.4516 +## ------------------------------------------ ##
15.4517 +## Report this to the AC_PACKAGE_NAME lists. ##
15.4518 +## ------------------------------------------ ##
15.4519 +_ASBOX
15.4520 + ) |
15.4521 + sed "s/^/$as_me: WARNING: /" >&2
15.4522 + ;;
15.4523 +esac
15.4524 +echo "$as_me:$LINENO: checking for $ac_header" >&5
15.4525 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15.4526 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15.4527 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.4528 +else
15.4529 + eval "$as_ac_Header=\$ac_header_preproc"
15.4530 +fi
15.4531 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15.4532 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15.4533 +
15.4534 +fi
15.4535 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
15.4536 + cat >>confdefs.h <<_ACEOF
15.4537 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15.4538 +_ACEOF
15.4539 +
15.4540 +fi
15.4541 +
15.4542 +done
15.4543 +
15.4544 +ac_ext=cc
15.4545 +ac_cpp='$CXXCPP $CPPFLAGS'
15.4546 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.4547 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.4548 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15.4549 +if test -n "$ac_tool_prefix"; then
15.4550 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
15.4551 + do
15.4552 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15.4553 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15.4554 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.4555 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.4556 +if test "${ac_cv_prog_CXX+set}" = set; then
15.4557 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.4558 +else
15.4559 + if test -n "$CXX"; then
15.4560 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
15.4561 +else
15.4562 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.4563 +for as_dir in $PATH
15.4564 +do
15.4565 + IFS=$as_save_IFS
15.4566 + test -z "$as_dir" && as_dir=.
15.4567 + for ac_exec_ext in '' $ac_executable_extensions; do
15.4568 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.4569 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15.4570 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.4571 + break 2
15.4572 + fi
15.4573 +done
15.4574 +done
15.4575 +
15.4576 +fi
15.4577 +fi
15.4578 +CXX=$ac_cv_prog_CXX
15.4579 +if test -n "$CXX"; then
15.4580 + echo "$as_me:$LINENO: result: $CXX" >&5
15.4581 +echo "${ECHO_T}$CXX" >&6
15.4582 +else
15.4583 + echo "$as_me:$LINENO: result: no" >&5
15.4584 +echo "${ECHO_T}no" >&6
15.4585 +fi
15.4586 +
15.4587 + test -n "$CXX" && break
15.4588 + done
15.4589 +fi
15.4590 +if test -z "$CXX"; then
15.4591 + ac_ct_CXX=$CXX
15.4592 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
15.4593 +do
15.4594 + # Extract the first word of "$ac_prog", so it can be a program name with args.
15.4595 +set dummy $ac_prog; ac_word=$2
15.4596 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.4597 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.4598 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15.4599 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.4600 +else
15.4601 + if test -n "$ac_ct_CXX"; then
15.4602 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15.4603 +else
15.4604 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.4605 +for as_dir in $PATH
15.4606 +do
15.4607 + IFS=$as_save_IFS
15.4608 + test -z "$as_dir" && as_dir=.
15.4609 + for ac_exec_ext in '' $ac_executable_extensions; do
15.4610 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.4611 + ac_cv_prog_ac_ct_CXX="$ac_prog"
15.4612 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.4613 + break 2
15.4614 + fi
15.4615 +done
15.4616 +done
15.4617 +
15.4618 +fi
15.4619 +fi
15.4620 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15.4621 +if test -n "$ac_ct_CXX"; then
15.4622 + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15.4623 +echo "${ECHO_T}$ac_ct_CXX" >&6
15.4624 +else
15.4625 + echo "$as_me:$LINENO: result: no" >&5
15.4626 +echo "${ECHO_T}no" >&6
15.4627 +fi
15.4628 +
15.4629 + test -n "$ac_ct_CXX" && break
15.4630 +done
15.4631 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
15.4632 +
15.4633 + CXX=$ac_ct_CXX
15.4634 +fi
15.4635 +
15.4636 +
15.4637 +# Provide some information about the compiler.
15.4638 +echo "$as_me:$LINENO:" \
15.4639 + "checking for C++ compiler version" >&5
15.4640 +ac_compiler=`set X $ac_compile; echo $2`
15.4641 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15.4642 + (eval $ac_compiler --version </dev/null >&5) 2>&5
15.4643 + ac_status=$?
15.4644 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4645 + (exit $ac_status); }
15.4646 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15.4647 + (eval $ac_compiler -v </dev/null >&5) 2>&5
15.4648 + ac_status=$?
15.4649 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4650 + (exit $ac_status); }
15.4651 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15.4652 + (eval $ac_compiler -V </dev/null >&5) 2>&5
15.4653 + ac_status=$?
15.4654 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4655 + (exit $ac_status); }
15.4656 +
15.4657 +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15.4658 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
15.4659 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15.4660 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.4661 +else
15.4662 + cat >conftest.$ac_ext <<_ACEOF
15.4663 +/* confdefs.h. */
15.4664 +_ACEOF
15.4665 +cat confdefs.h >>conftest.$ac_ext
15.4666 +cat >>conftest.$ac_ext <<_ACEOF
15.4667 +/* end confdefs.h. */
15.4668 +
15.4669 +int
15.4670 +main ()
15.4671 +{
15.4672 +#ifndef __GNUC__
15.4673 + choke me
15.4674 +#endif
15.4675 +
15.4676 + ;
15.4677 + return 0;
15.4678 +}
15.4679 +_ACEOF
15.4680 +rm -f conftest.$ac_objext
15.4681 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.4682 + (eval $ac_compile) 2>conftest.er1
15.4683 + ac_status=$?
15.4684 + grep -v '^ *+' conftest.er1 >conftest.err
15.4685 + rm -f conftest.er1
15.4686 + cat conftest.err >&5
15.4687 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4688 + (exit $ac_status); } &&
15.4689 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.4690 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4691 + (eval $ac_try) 2>&5
15.4692 + ac_status=$?
15.4693 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4694 + (exit $ac_status); }; } &&
15.4695 + { ac_try='test -s conftest.$ac_objext'
15.4696 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4697 + (eval $ac_try) 2>&5
15.4698 + ac_status=$?
15.4699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4700 + (exit $ac_status); }; }; then
15.4701 + ac_compiler_gnu=yes
15.4702 +else
15.4703 + echo "$as_me: failed program was:" >&5
15.4704 +sed 's/^/| /' conftest.$ac_ext >&5
15.4705 +
15.4706 +ac_compiler_gnu=no
15.4707 +fi
15.4708 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.4709 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15.4710 +
15.4711 +fi
15.4712 +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15.4713 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
15.4714 +GXX=`test $ac_compiler_gnu = yes && echo yes`
15.4715 +ac_test_CXXFLAGS=${CXXFLAGS+set}
15.4716 +ac_save_CXXFLAGS=$CXXFLAGS
15.4717 +CXXFLAGS="-g"
15.4718 +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15.4719 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
15.4720 +if test "${ac_cv_prog_cxx_g+set}" = set; then
15.4721 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.4722 +else
15.4723 + cat >conftest.$ac_ext <<_ACEOF
15.4724 +/* confdefs.h. */
15.4725 +_ACEOF
15.4726 +cat confdefs.h >>conftest.$ac_ext
15.4727 +cat >>conftest.$ac_ext <<_ACEOF
15.4728 +/* end confdefs.h. */
15.4729 +
15.4730 +int
15.4731 +main ()
15.4732 +{
15.4733 +
15.4734 + ;
15.4735 + return 0;
15.4736 +}
15.4737 +_ACEOF
15.4738 +rm -f conftest.$ac_objext
15.4739 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.4740 + (eval $ac_compile) 2>conftest.er1
15.4741 + ac_status=$?
15.4742 + grep -v '^ *+' conftest.er1 >conftest.err
15.4743 + rm -f conftest.er1
15.4744 + cat conftest.err >&5
15.4745 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4746 + (exit $ac_status); } &&
15.4747 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.4748 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4749 + (eval $ac_try) 2>&5
15.4750 + ac_status=$?
15.4751 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4752 + (exit $ac_status); }; } &&
15.4753 + { ac_try='test -s conftest.$ac_objext'
15.4754 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4755 + (eval $ac_try) 2>&5
15.4756 + ac_status=$?
15.4757 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4758 + (exit $ac_status); }; }; then
15.4759 + ac_cv_prog_cxx_g=yes
15.4760 +else
15.4761 + echo "$as_me: failed program was:" >&5
15.4762 +sed 's/^/| /' conftest.$ac_ext >&5
15.4763 +
15.4764 +ac_cv_prog_cxx_g=no
15.4765 +fi
15.4766 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.4767 +fi
15.4768 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15.4769 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
15.4770 +if test "$ac_test_CXXFLAGS" = set; then
15.4771 + CXXFLAGS=$ac_save_CXXFLAGS
15.4772 +elif test $ac_cv_prog_cxx_g = yes; then
15.4773 + if test "$GXX" = yes; then
15.4774 + CXXFLAGS="-g -O2"
15.4775 + else
15.4776 + CXXFLAGS="-g"
15.4777 + fi
15.4778 +else
15.4779 + if test "$GXX" = yes; then
15.4780 + CXXFLAGS="-O2"
15.4781 + else
15.4782 + CXXFLAGS=
15.4783 + fi
15.4784 +fi
15.4785 +for ac_declaration in \
15.4786 + '' \
15.4787 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
15.4788 + 'extern "C" void std::exit (int); using std::exit;' \
15.4789 + 'extern "C" void exit (int) throw ();' \
15.4790 + 'extern "C" void exit (int);' \
15.4791 + 'void exit (int);'
15.4792 +do
15.4793 + cat >conftest.$ac_ext <<_ACEOF
15.4794 +/* confdefs.h. */
15.4795 +_ACEOF
15.4796 +cat confdefs.h >>conftest.$ac_ext
15.4797 +cat >>conftest.$ac_ext <<_ACEOF
15.4798 +/* end confdefs.h. */
15.4799 +$ac_declaration
15.4800 +#include <stdlib.h>
15.4801 +int
15.4802 +main ()
15.4803 +{
15.4804 +exit (42);
15.4805 + ;
15.4806 + return 0;
15.4807 +}
15.4808 +_ACEOF
15.4809 +rm -f conftest.$ac_objext
15.4810 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.4811 + (eval $ac_compile) 2>conftest.er1
15.4812 + ac_status=$?
15.4813 + grep -v '^ *+' conftest.er1 >conftest.err
15.4814 + rm -f conftest.er1
15.4815 + cat conftest.err >&5
15.4816 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4817 + (exit $ac_status); } &&
15.4818 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.4819 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4820 + (eval $ac_try) 2>&5
15.4821 + ac_status=$?
15.4822 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4823 + (exit $ac_status); }; } &&
15.4824 + { ac_try='test -s conftest.$ac_objext'
15.4825 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4826 + (eval $ac_try) 2>&5
15.4827 + ac_status=$?
15.4828 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4829 + (exit $ac_status); }; }; then
15.4830 + :
15.4831 +else
15.4832 + echo "$as_me: failed program was:" >&5
15.4833 +sed 's/^/| /' conftest.$ac_ext >&5
15.4834 +
15.4835 +continue
15.4836 +fi
15.4837 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.4838 + cat >conftest.$ac_ext <<_ACEOF
15.4839 +/* confdefs.h. */
15.4840 +_ACEOF
15.4841 +cat confdefs.h >>conftest.$ac_ext
15.4842 +cat >>conftest.$ac_ext <<_ACEOF
15.4843 +/* end confdefs.h. */
15.4844 +$ac_declaration
15.4845 +int
15.4846 +main ()
15.4847 +{
15.4848 +exit (42);
15.4849 + ;
15.4850 + return 0;
15.4851 +}
15.4852 +_ACEOF
15.4853 +rm -f conftest.$ac_objext
15.4854 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.4855 + (eval $ac_compile) 2>conftest.er1
15.4856 + ac_status=$?
15.4857 + grep -v '^ *+' conftest.er1 >conftest.err
15.4858 + rm -f conftest.er1
15.4859 + cat conftest.err >&5
15.4860 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4861 + (exit $ac_status); } &&
15.4862 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.4863 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4864 + (eval $ac_try) 2>&5
15.4865 + ac_status=$?
15.4866 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4867 + (exit $ac_status); }; } &&
15.4868 + { ac_try='test -s conftest.$ac_objext'
15.4869 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.4870 + (eval $ac_try) 2>&5
15.4871 + ac_status=$?
15.4872 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.4873 + (exit $ac_status); }; }; then
15.4874 + break
15.4875 +else
15.4876 + echo "$as_me: failed program was:" >&5
15.4877 +sed 's/^/| /' conftest.$ac_ext >&5
15.4878 +
15.4879 +fi
15.4880 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.4881 +done
15.4882 +rm -f conftest*
15.4883 +if test -n "$ac_declaration"; then
15.4884 + echo '#ifdef __cplusplus' >>confdefs.h
15.4885 + echo $ac_declaration >>confdefs.h
15.4886 + echo '#endif' >>confdefs.h
15.4887 +fi
15.4888 +
15.4889 +ac_ext=cc
15.4890 +ac_cpp='$CXXCPP $CPPFLAGS'
15.4891 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.4892 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.4893 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15.4894 +
15.4895 +depcc="$CXX" am_compiler_list=
15.4896 +
15.4897 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15.4898 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15.4899 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
15.4900 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.4901 +else
15.4902 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15.4903 + # We make a subdir and do the tests there. Otherwise we can end up
15.4904 + # making bogus files that we don't know about and never remove. For
15.4905 + # instance it was reported that on HP-UX the gcc test will end up
15.4906 + # making a dummy file named `D' -- because `-MD' means `put the output
15.4907 + # in D'.
15.4908 + mkdir conftest.dir
15.4909 + # Copy depcomp to subdir because otherwise we won't find it if we're
15.4910 + # using a relative directory.
15.4911 + cp "$am_depcomp" conftest.dir
15.4912 + cd conftest.dir
15.4913 + # We will build objects and dependencies in a subdirectory because
15.4914 + # it helps to detect inapplicable dependency modes. For instance
15.4915 + # both Tru64's cc and ICC support -MD to output dependencies as a
15.4916 + # side effect of compilation, but ICC will put the dependencies in
15.4917 + # the current directory while Tru64 will put them in the object
15.4918 + # directory.
15.4919 + mkdir sub
15.4920 +
15.4921 + am_cv_CXX_dependencies_compiler_type=none
15.4922 + if test "$am_compiler_list" = ""; then
15.4923 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15.4924 + fi
15.4925 + for depmode in $am_compiler_list; do
15.4926 + # Setup a source with many dependencies, because some compilers
15.4927 + # like to wrap large dependency lists on column 80 (with \), and
15.4928 + # we should not choose a depcomp mode which is confused by this.
15.4929 + #
15.4930 + # We need to recreate these files for each test, as the compiler may
15.4931 + # overwrite some of them when testing with obscure command lines.
15.4932 + # This happens at least with the AIX C compiler.
15.4933 + : > sub/conftest.c
15.4934 + for i in 1 2 3 4 5 6; do
15.4935 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
15.4936 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15.4937 + # Solaris 8's {/usr,}/bin/sh.
15.4938 + touch sub/conftst$i.h
15.4939 + done
15.4940 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15.4941 +
15.4942 + case $depmode in
15.4943 + nosideeffect)
15.4944 + # after this tag, mechanisms are not by side-effect, so they'll
15.4945 + # only be used when explicitly requested
15.4946 + if test "x$enable_dependency_tracking" = xyes; then
15.4947 + continue
15.4948 + else
15.4949 + break
15.4950 + fi
15.4951 + ;;
15.4952 + none) break ;;
15.4953 + esac
15.4954 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
15.4955 + # mode. It turns out that the SunPro C++ compiler does not properly
15.4956 + # handle `-M -o', and we need to detect this.
15.4957 + if depmode=$depmode \
15.4958 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
15.4959 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15.4960 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
15.4961 + >/dev/null 2>conftest.err &&
15.4962 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15.4963 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
15.4964 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15.4965 + # icc doesn't choke on unknown options, it will just issue warnings
15.4966 + # or remarks (even with -Werror). So we grep stderr for any message
15.4967 + # that says an option was ignored or not supported.
15.4968 + # When given -MP, icc 7.0 and 7.1 complain thusly:
15.4969 + # icc: Command line warning: ignoring option '-M'; no argument required
15.4970 + # The diagnosis changed in icc 8.0:
15.4971 + # icc: Command line remark: option '-MP' not supported
15.4972 + if (grep 'ignoring option' conftest.err ||
15.4973 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15.4974 + am_cv_CXX_dependencies_compiler_type=$depmode
15.4975 + break
15.4976 + fi
15.4977 + fi
15.4978 + done
15.4979 +
15.4980 + cd ..
15.4981 + rm -rf conftest.dir
15.4982 +else
15.4983 + am_cv_CXX_dependencies_compiler_type=none
15.4984 +fi
15.4985 +
15.4986 +fi
15.4987 +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
15.4988 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
15.4989 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15.4990 +
15.4991 +
15.4992 +
15.4993 +if
15.4994 + test "x$enable_dependency_tracking" != xno \
15.4995 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15.4996 + am__fastdepCXX_TRUE=
15.4997 + am__fastdepCXX_FALSE='#'
15.4998 +else
15.4999 + am__fastdepCXX_TRUE='#'
15.5000 + am__fastdepCXX_FALSE=
15.5001 +fi
15.5002 +
15.5003 +
15.5004 +
15.5005 +
15.5006 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15.5007 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15.5008 + (test "X$CXX" != "Xg++"))) ; then
15.5009 + ac_ext=cc
15.5010 +ac_cpp='$CXXCPP $CPPFLAGS'
15.5011 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.5012 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.5013 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15.5014 +echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15.5015 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15.5016 +if test -z "$CXXCPP"; then
15.5017 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
15.5018 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5019 +else
15.5020 + # Double quotes because CXXCPP needs to be expanded
15.5021 + for CXXCPP in "$CXX -E" "/lib/cpp"
15.5022 + do
15.5023 + ac_preproc_ok=false
15.5024 +for ac_cxx_preproc_warn_flag in '' yes
15.5025 +do
15.5026 + # Use a header file that comes with gcc, so configuring glibc
15.5027 + # with a fresh cross-compiler works.
15.5028 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.5029 + # <limits.h> exists even on freestanding compilers.
15.5030 + # On the NeXT, cc -E runs the code through the compiler's parser,
15.5031 + # not just through cpp. "Syntax error" is here to catch this case.
15.5032 + cat >conftest.$ac_ext <<_ACEOF
15.5033 +/* confdefs.h. */
15.5034 +_ACEOF
15.5035 +cat confdefs.h >>conftest.$ac_ext
15.5036 +cat >>conftest.$ac_ext <<_ACEOF
15.5037 +/* end confdefs.h. */
15.5038 +#ifdef __STDC__
15.5039 +# include <limits.h>
15.5040 +#else
15.5041 +# include <assert.h>
15.5042 +#endif
15.5043 + Syntax error
15.5044 +_ACEOF
15.5045 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.5046 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.5047 + ac_status=$?
15.5048 + grep -v '^ *+' conftest.er1 >conftest.err
15.5049 + rm -f conftest.er1
15.5050 + cat conftest.err >&5
15.5051 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5052 + (exit $ac_status); } >/dev/null; then
15.5053 + if test -s conftest.err; then
15.5054 + ac_cpp_err=$ac_cxx_preproc_warn_flag
15.5055 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15.5056 + else
15.5057 + ac_cpp_err=
15.5058 + fi
15.5059 +else
15.5060 + ac_cpp_err=yes
15.5061 +fi
15.5062 +if test -z "$ac_cpp_err"; then
15.5063 + :
15.5064 +else
15.5065 + echo "$as_me: failed program was:" >&5
15.5066 +sed 's/^/| /' conftest.$ac_ext >&5
15.5067 +
15.5068 + # Broken: fails on valid input.
15.5069 +continue
15.5070 +fi
15.5071 +rm -f conftest.err conftest.$ac_ext
15.5072 +
15.5073 + # OK, works on sane cases. Now check whether non-existent headers
15.5074 + # can be detected and how.
15.5075 + cat >conftest.$ac_ext <<_ACEOF
15.5076 +/* confdefs.h. */
15.5077 +_ACEOF
15.5078 +cat confdefs.h >>conftest.$ac_ext
15.5079 +cat >>conftest.$ac_ext <<_ACEOF
15.5080 +/* end confdefs.h. */
15.5081 +#include <ac_nonexistent.h>
15.5082 +_ACEOF
15.5083 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.5084 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.5085 + ac_status=$?
15.5086 + grep -v '^ *+' conftest.er1 >conftest.err
15.5087 + rm -f conftest.er1
15.5088 + cat conftest.err >&5
15.5089 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5090 + (exit $ac_status); } >/dev/null; then
15.5091 + if test -s conftest.err; then
15.5092 + ac_cpp_err=$ac_cxx_preproc_warn_flag
15.5093 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15.5094 + else
15.5095 + ac_cpp_err=
15.5096 + fi
15.5097 +else
15.5098 + ac_cpp_err=yes
15.5099 +fi
15.5100 +if test -z "$ac_cpp_err"; then
15.5101 + # Broken: success on invalid input.
15.5102 +continue
15.5103 +else
15.5104 + echo "$as_me: failed program was:" >&5
15.5105 +sed 's/^/| /' conftest.$ac_ext >&5
15.5106 +
15.5107 + # Passes both tests.
15.5108 +ac_preproc_ok=:
15.5109 +break
15.5110 +fi
15.5111 +rm -f conftest.err conftest.$ac_ext
15.5112 +
15.5113 +done
15.5114 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15.5115 +rm -f conftest.err conftest.$ac_ext
15.5116 +if $ac_preproc_ok; then
15.5117 + break
15.5118 +fi
15.5119 +
15.5120 + done
15.5121 + ac_cv_prog_CXXCPP=$CXXCPP
15.5122 +
15.5123 +fi
15.5124 + CXXCPP=$ac_cv_prog_CXXCPP
15.5125 +else
15.5126 + ac_cv_prog_CXXCPP=$CXXCPP
15.5127 +fi
15.5128 +echo "$as_me:$LINENO: result: $CXXCPP" >&5
15.5129 +echo "${ECHO_T}$CXXCPP" >&6
15.5130 +ac_preproc_ok=false
15.5131 +for ac_cxx_preproc_warn_flag in '' yes
15.5132 +do
15.5133 + # Use a header file that comes with gcc, so configuring glibc
15.5134 + # with a fresh cross-compiler works.
15.5135 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.5136 + # <limits.h> exists even on freestanding compilers.
15.5137 + # On the NeXT, cc -E runs the code through the compiler's parser,
15.5138 + # not just through cpp. "Syntax error" is here to catch this case.
15.5139 + cat >conftest.$ac_ext <<_ACEOF
15.5140 +/* confdefs.h. */
15.5141 +_ACEOF
15.5142 +cat confdefs.h >>conftest.$ac_ext
15.5143 +cat >>conftest.$ac_ext <<_ACEOF
15.5144 +/* end confdefs.h. */
15.5145 +#ifdef __STDC__
15.5146 +# include <limits.h>
15.5147 +#else
15.5148 +# include <assert.h>
15.5149 +#endif
15.5150 + Syntax error
15.5151 +_ACEOF
15.5152 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.5153 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.5154 + ac_status=$?
15.5155 + grep -v '^ *+' conftest.er1 >conftest.err
15.5156 + rm -f conftest.er1
15.5157 + cat conftest.err >&5
15.5158 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5159 + (exit $ac_status); } >/dev/null; then
15.5160 + if test -s conftest.err; then
15.5161 + ac_cpp_err=$ac_cxx_preproc_warn_flag
15.5162 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15.5163 + else
15.5164 + ac_cpp_err=
15.5165 + fi
15.5166 +else
15.5167 + ac_cpp_err=yes
15.5168 +fi
15.5169 +if test -z "$ac_cpp_err"; then
15.5170 + :
15.5171 +else
15.5172 + echo "$as_me: failed program was:" >&5
15.5173 +sed 's/^/| /' conftest.$ac_ext >&5
15.5174 +
15.5175 + # Broken: fails on valid input.
15.5176 +continue
15.5177 +fi
15.5178 +rm -f conftest.err conftest.$ac_ext
15.5179 +
15.5180 + # OK, works on sane cases. Now check whether non-existent headers
15.5181 + # can be detected and how.
15.5182 + cat >conftest.$ac_ext <<_ACEOF
15.5183 +/* confdefs.h. */
15.5184 +_ACEOF
15.5185 +cat confdefs.h >>conftest.$ac_ext
15.5186 +cat >>conftest.$ac_ext <<_ACEOF
15.5187 +/* end confdefs.h. */
15.5188 +#include <ac_nonexistent.h>
15.5189 +_ACEOF
15.5190 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.5191 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.5192 + ac_status=$?
15.5193 + grep -v '^ *+' conftest.er1 >conftest.err
15.5194 + rm -f conftest.er1
15.5195 + cat conftest.err >&5
15.5196 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5197 + (exit $ac_status); } >/dev/null; then
15.5198 + if test -s conftest.err; then
15.5199 + ac_cpp_err=$ac_cxx_preproc_warn_flag
15.5200 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15.5201 + else
15.5202 + ac_cpp_err=
15.5203 + fi
15.5204 +else
15.5205 + ac_cpp_err=yes
15.5206 +fi
15.5207 +if test -z "$ac_cpp_err"; then
15.5208 + # Broken: success on invalid input.
15.5209 +continue
15.5210 +else
15.5211 + echo "$as_me: failed program was:" >&5
15.5212 +sed 's/^/| /' conftest.$ac_ext >&5
15.5213 +
15.5214 + # Passes both tests.
15.5215 +ac_preproc_ok=:
15.5216 +break
15.5217 +fi
15.5218 +rm -f conftest.err conftest.$ac_ext
15.5219 +
15.5220 +done
15.5221 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15.5222 +rm -f conftest.err conftest.$ac_ext
15.5223 +if $ac_preproc_ok; then
15.5224 + :
15.5225 +else
15.5226 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15.5227 +See \`config.log' for more details." >&5
15.5228 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15.5229 +See \`config.log' for more details." >&2;}
15.5230 + { (exit 1); exit 1; }; }
15.5231 +fi
15.5232 +
15.5233 +ac_ext=cc
15.5234 +ac_cpp='$CXXCPP $CPPFLAGS'
15.5235 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.5236 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.5237 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15.5238 +
15.5239 +fi
15.5240 +
15.5241 +
15.5242 +ac_ext=f
15.5243 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15.5244 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.5245 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15.5246 +if test -n "$ac_tool_prefix"; then
15.5247 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
15.5248 + do
15.5249 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15.5250 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15.5251 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.5252 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.5253 +if test "${ac_cv_prog_F77+set}" = set; then
15.5254 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5255 +else
15.5256 + if test -n "$F77"; then
15.5257 + ac_cv_prog_F77="$F77" # Let the user override the test.
15.5258 +else
15.5259 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.5260 +for as_dir in $PATH
15.5261 +do
15.5262 + IFS=$as_save_IFS
15.5263 + test -z "$as_dir" && as_dir=.
15.5264 + for ac_exec_ext in '' $ac_executable_extensions; do
15.5265 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.5266 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
15.5267 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.5268 + break 2
15.5269 + fi
15.5270 +done
15.5271 +done
15.5272 +
15.5273 +fi
15.5274 +fi
15.5275 +F77=$ac_cv_prog_F77
15.5276 +if test -n "$F77"; then
15.5277 + echo "$as_me:$LINENO: result: $F77" >&5
15.5278 +echo "${ECHO_T}$F77" >&6
15.5279 +else
15.5280 + echo "$as_me:$LINENO: result: no" >&5
15.5281 +echo "${ECHO_T}no" >&6
15.5282 +fi
15.5283 +
15.5284 + test -n "$F77" && break
15.5285 + done
15.5286 +fi
15.5287 +if test -z "$F77"; then
15.5288 + ac_ct_F77=$F77
15.5289 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
15.5290 +do
15.5291 + # Extract the first word of "$ac_prog", so it can be a program name with args.
15.5292 +set dummy $ac_prog; ac_word=$2
15.5293 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.5294 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.5295 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
15.5296 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5297 +else
15.5298 + if test -n "$ac_ct_F77"; then
15.5299 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
15.5300 +else
15.5301 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.5302 +for as_dir in $PATH
15.5303 +do
15.5304 + IFS=$as_save_IFS
15.5305 + test -z "$as_dir" && as_dir=.
15.5306 + for ac_exec_ext in '' $ac_executable_extensions; do
15.5307 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.5308 + ac_cv_prog_ac_ct_F77="$ac_prog"
15.5309 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.5310 + break 2
15.5311 + fi
15.5312 +done
15.5313 +done
15.5314 +
15.5315 +fi
15.5316 +fi
15.5317 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
15.5318 +if test -n "$ac_ct_F77"; then
15.5319 + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
15.5320 +echo "${ECHO_T}$ac_ct_F77" >&6
15.5321 +else
15.5322 + echo "$as_me:$LINENO: result: no" >&5
15.5323 +echo "${ECHO_T}no" >&6
15.5324 +fi
15.5325 +
15.5326 + test -n "$ac_ct_F77" && break
15.5327 +done
15.5328 +
15.5329 + F77=$ac_ct_F77
15.5330 +fi
15.5331 +
15.5332 +
15.5333 +# Provide some information about the compiler.
15.5334 +echo "$as_me:5331:" \
15.5335 + "checking for Fortran 77 compiler version" >&5
15.5336 +ac_compiler=`set X $ac_compile; echo $2`
15.5337 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15.5338 + (eval $ac_compiler --version </dev/null >&5) 2>&5
15.5339 + ac_status=$?
15.5340 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5341 + (exit $ac_status); }
15.5342 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15.5343 + (eval $ac_compiler -v </dev/null >&5) 2>&5
15.5344 + ac_status=$?
15.5345 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5346 + (exit $ac_status); }
15.5347 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15.5348 + (eval $ac_compiler -V </dev/null >&5) 2>&5
15.5349 + ac_status=$?
15.5350 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5351 + (exit $ac_status); }
15.5352 +rm -f a.out
15.5353 +
15.5354 +# If we don't use `.F' as extension, the preprocessor is not run on the
15.5355 +# input file. (Note that this only needs to work for GNU compilers.)
15.5356 +ac_save_ext=$ac_ext
15.5357 +ac_ext=F
15.5358 +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
15.5359 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
15.5360 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
15.5361 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5362 +else
15.5363 + cat >conftest.$ac_ext <<_ACEOF
15.5364 + program main
15.5365 +#ifndef __GNUC__
15.5366 + choke me
15.5367 +#endif
15.5368 +
15.5369 + end
15.5370 +_ACEOF
15.5371 +rm -f conftest.$ac_objext
15.5372 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.5373 + (eval $ac_compile) 2>conftest.er1
15.5374 + ac_status=$?
15.5375 + grep -v '^ *+' conftest.er1 >conftest.err
15.5376 + rm -f conftest.er1
15.5377 + cat conftest.err >&5
15.5378 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5379 + (exit $ac_status); } &&
15.5380 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
15.5381 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.5382 + (eval $ac_try) 2>&5
15.5383 + ac_status=$?
15.5384 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5385 + (exit $ac_status); }; } &&
15.5386 + { ac_try='test -s conftest.$ac_objext'
15.5387 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.5388 + (eval $ac_try) 2>&5
15.5389 + ac_status=$?
15.5390 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5391 + (exit $ac_status); }; }; then
15.5392 + ac_compiler_gnu=yes
15.5393 +else
15.5394 + echo "$as_me: failed program was:" >&5
15.5395 +sed 's/^/| /' conftest.$ac_ext >&5
15.5396 +
15.5397 +ac_compiler_gnu=no
15.5398 +fi
15.5399 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.5400 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
15.5401 +
15.5402 +fi
15.5403 +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
15.5404 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
15.5405 +ac_ext=$ac_save_ext
15.5406 +ac_test_FFLAGS=${FFLAGS+set}
15.5407 +ac_save_FFLAGS=$FFLAGS
15.5408 +FFLAGS=
15.5409 +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
15.5410 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
15.5411 +if test "${ac_cv_prog_f77_g+set}" = set; then
15.5412 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5413 +else
15.5414 + FFLAGS=-g
15.5415 +cat >conftest.$ac_ext <<_ACEOF
15.5416 + program main
15.5417 +
15.5418 + end
15.5419 +_ACEOF
15.5420 +rm -f conftest.$ac_objext
15.5421 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.5422 + (eval $ac_compile) 2>conftest.er1
15.5423 + ac_status=$?
15.5424 + grep -v '^ *+' conftest.er1 >conftest.err
15.5425 + rm -f conftest.er1
15.5426 + cat conftest.err >&5
15.5427 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5428 + (exit $ac_status); } &&
15.5429 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
15.5430 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.5431 + (eval $ac_try) 2>&5
15.5432 + ac_status=$?
15.5433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5434 + (exit $ac_status); }; } &&
15.5435 + { ac_try='test -s conftest.$ac_objext'
15.5436 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.5437 + (eval $ac_try) 2>&5
15.5438 + ac_status=$?
15.5439 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5440 + (exit $ac_status); }; }; then
15.5441 + ac_cv_prog_f77_g=yes
15.5442 +else
15.5443 + echo "$as_me: failed program was:" >&5
15.5444 +sed 's/^/| /' conftest.$ac_ext >&5
15.5445 +
15.5446 +ac_cv_prog_f77_g=no
15.5447 +fi
15.5448 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.5449 +
15.5450 +fi
15.5451 +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
15.5452 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
15.5453 +if test "$ac_test_FFLAGS" = set; then
15.5454 + FFLAGS=$ac_save_FFLAGS
15.5455 +elif test $ac_cv_prog_f77_g = yes; then
15.5456 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
15.5457 + FFLAGS="-g -O2"
15.5458 + else
15.5459 + FFLAGS="-g"
15.5460 + fi
15.5461 +else
15.5462 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
15.5463 + FFLAGS="-O2"
15.5464 + else
15.5465 + FFLAGS=
15.5466 + fi
15.5467 +fi
15.5468 +
15.5469 +G77=`test $ac_compiler_gnu = yes && echo yes`
15.5470 +ac_ext=c
15.5471 +ac_cpp='$CPP $CPPFLAGS'
15.5472 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.5473 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.5474 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.5475 +
15.5476 +
15.5477 +
15.5478 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
15.5479 +
15.5480 +# find the maximum length of command line arguments
15.5481 +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
15.5482 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
15.5483 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
15.5484 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5485 +else
15.5486 + i=0
15.5487 + teststring="ABCD"
15.5488 +
15.5489 + case $build_os in
15.5490 + msdosdjgpp*)
15.5491 + # On DJGPP, this test can blow up pretty badly due to problems in libc
15.5492 + # (any single argument exceeding 2000 bytes causes a buffer overrun
15.5493 + # during glob expansion). Even if it were fixed, the result of this
15.5494 + # check would be larger than it should be.
15.5495 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
15.5496 + ;;
15.5497 +
15.5498 + gnu*)
15.5499 + # Under GNU Hurd, this test is not required because there is
15.5500 + # no limit to the length of command line arguments.
15.5501 + # Libtool will interpret -1 as no limit whatsoever
15.5502 + lt_cv_sys_max_cmd_len=-1;
15.5503 + ;;
15.5504 +
15.5505 + cygwin* | mingw*)
15.5506 + # On Win9x/ME, this test blows up -- it succeeds, but takes
15.5507 + # about 5 minutes as the teststring grows exponentially.
15.5508 + # Worse, since 9x/ME are not pre-emptively multitasking,
15.5509 + # you end up with a "frozen" computer, even though with patience
15.5510 + # the test eventually succeeds (with a max line length of 256k).
15.5511 + # Instead, let's just punt: use the minimum linelength reported by
15.5512 + # all of the supported platforms: 8192 (on NT/2K/XP).
15.5513 + lt_cv_sys_max_cmd_len=8192;
15.5514 + ;;
15.5515 +
15.5516 + amigaos*)
15.5517 + # On AmigaOS with pdksh, this test takes hours, literally.
15.5518 + # So we just punt and use a minimum line length of 8192.
15.5519 + lt_cv_sys_max_cmd_len=8192;
15.5520 + ;;
15.5521 +
15.5522 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
15.5523 + # This has been around since 386BSD, at least. Likely further.
15.5524 + if test -x /sbin/sysctl; then
15.5525 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
15.5526 + elif test -x /usr/sbin/sysctl; then
15.5527 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
15.5528 + else
15.5529 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
15.5530 + fi
15.5531 + # And add a safety zone
15.5532 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
15.5533 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
15.5534 + ;;
15.5535 + osf*)
15.5536 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
15.5537 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
15.5538 + # nice to cause kernel panics so lets avoid the loop below.
15.5539 + # First set a reasonable default.
15.5540 + lt_cv_sys_max_cmd_len=16384
15.5541 + #
15.5542 + if test -x /sbin/sysconfig; then
15.5543 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
15.5544 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
15.5545 + esac
15.5546 + fi
15.5547 + ;;
15.5548 + *)
15.5549 + # If test is not a shell built-in, we'll probably end up computing a
15.5550 + # maximum length that is only half of the actual maximum length, but
15.5551 + # we can't tell.
15.5552 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
15.5553 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
15.5554 + = "XX$teststring") >/dev/null 2>&1 &&
15.5555 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
15.5556 + lt_cv_sys_max_cmd_len=$new_result &&
15.5557 + test $i != 17 # 1/2 MB should be enough
15.5558 + do
15.5559 + i=`expr $i + 1`
15.5560 + teststring=$teststring$teststring
15.5561 + done
15.5562 + teststring=
15.5563 + # Add a significant safety factor because C++ compilers can tack on massive
15.5564 + # amounts of additional arguments before passing them to the linker.
15.5565 + # It appears as though 1/2 is a usable value.
15.5566 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
15.5567 + ;;
15.5568 + esac
15.5569 +
15.5570 +fi
15.5571 +
15.5572 +if test -n $lt_cv_sys_max_cmd_len ; then
15.5573 + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
15.5574 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
15.5575 +else
15.5576 + echo "$as_me:$LINENO: result: none" >&5
15.5577 +echo "${ECHO_T}none" >&6
15.5578 +fi
15.5579 +
15.5580 +
15.5581 +
15.5582 +
15.5583 +# Check for command to grab the raw symbol name followed by C symbol from nm.
15.5584 +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
15.5585 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
15.5586 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
15.5587 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5588 +else
15.5589 +
15.5590 +# These are sane defaults that work on at least a few old systems.
15.5591 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
15.5592 +
15.5593 +# Character class describing NM global symbol codes.
15.5594 +symcode='[BCDEGRST]'
15.5595 +
15.5596 +# Regexp to match symbols that can be accessed directly from C.
15.5597 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
15.5598 +
15.5599 +# Transform an extracted symbol line into a proper C declaration
15.5600 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
15.5601 +
15.5602 +# Transform an extracted symbol line into symbol name and symbol address
15.5603 +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'"
15.5604 +
15.5605 +# Define system-specific variables.
15.5606 +case $host_os in
15.5607 +aix*)
15.5608 + symcode='[BCDT]'
15.5609 + ;;
15.5610 +cygwin* | mingw* | pw32*)
15.5611 + symcode='[ABCDGISTW]'
15.5612 + ;;
15.5613 +hpux*) # Its linker distinguishes data from code symbols
15.5614 + if test "$host_cpu" = ia64; then
15.5615 + symcode='[ABCDEGRST]'
15.5616 + fi
15.5617 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
15.5618 + 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'"
15.5619 + ;;
15.5620 +linux*)
15.5621 + if test "$host_cpu" = ia64; then
15.5622 + symcode='[ABCDGIRSTW]'
15.5623 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
15.5624 + 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'"
15.5625 + fi
15.5626 + ;;
15.5627 +irix* | nonstopux*)
15.5628 + symcode='[BCDEGRST]'
15.5629 + ;;
15.5630 +osf*)
15.5631 + symcode='[BCDEGQRST]'
15.5632 + ;;
15.5633 +solaris* | sysv5*)
15.5634 + symcode='[BDRT]'
15.5635 + ;;
15.5636 +sysv4)
15.5637 + symcode='[DFNSTU]'
15.5638 + ;;
15.5639 +esac
15.5640 +
15.5641 +# Handle CRLF in mingw tool chain
15.5642 +opt_cr=
15.5643 +case $build_os in
15.5644 +mingw*)
15.5645 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
15.5646 + ;;
15.5647 +esac
15.5648 +
15.5649 +# If we're using GNU nm, then use its standard symbol codes.
15.5650 +case `$NM -V 2>&1` in
15.5651 +*GNU* | *'with BFD'*)
15.5652 + symcode='[ABCDGIRSTW]' ;;
15.5653 +esac
15.5654 +
15.5655 +# Try without a prefix undercore, then with it.
15.5656 +for ac_symprfx in "" "_"; do
15.5657 +
15.5658 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
15.5659 + symxfrm="\\1 $ac_symprfx\\2 \\2"
15.5660 +
15.5661 + # Write the raw and C identifiers.
15.5662 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
15.5663 +
15.5664 + # Check to see that the pipe works correctly.
15.5665 + pipe_works=no
15.5666 +
15.5667 + rm -f conftest*
15.5668 + cat > conftest.$ac_ext <<EOF
15.5669 +#ifdef __cplusplus
15.5670 +extern "C" {
15.5671 +#endif
15.5672 +char nm_test_var;
15.5673 +void nm_test_func(){}
15.5674 +#ifdef __cplusplus
15.5675 +}
15.5676 +#endif
15.5677 +int main(){nm_test_var='a';nm_test_func();return(0);}
15.5678 +EOF
15.5679 +
15.5680 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.5681 + (eval $ac_compile) 2>&5
15.5682 + ac_status=$?
15.5683 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5684 + (exit $ac_status); }; then
15.5685 + # Now try to grab the symbols.
15.5686 + nlist=conftest.nm
15.5687 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
15.5688 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
15.5689 + ac_status=$?
15.5690 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5691 + (exit $ac_status); } && test -s "$nlist"; then
15.5692 + # Try sorting and uniquifying the output.
15.5693 + if sort "$nlist" | uniq > "$nlist"T; then
15.5694 + mv -f "$nlist"T "$nlist"
15.5695 + else
15.5696 + rm -f "$nlist"T
15.5697 + fi
15.5698 +
15.5699 + # Make sure that we snagged all the symbols we need.
15.5700 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
15.5701 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
15.5702 + cat <<EOF > conftest.$ac_ext
15.5703 +#ifdef __cplusplus
15.5704 +extern "C" {
15.5705 +#endif
15.5706 +
15.5707 +EOF
15.5708 + # Now generate the symbol file.
15.5709 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
15.5710 +
15.5711 + cat <<EOF >> conftest.$ac_ext
15.5712 +#if defined (__STDC__) && __STDC__
15.5713 +# define lt_ptr_t void *
15.5714 +#else
15.5715 +# define lt_ptr_t char *
15.5716 +# define const
15.5717 +#endif
15.5718 +
15.5719 +/* The mapping between symbol names and symbols. */
15.5720 +const struct {
15.5721 + const char *name;
15.5722 + lt_ptr_t address;
15.5723 +}
15.5724 +lt_preloaded_symbols[] =
15.5725 +{
15.5726 +EOF
15.5727 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
15.5728 + cat <<\EOF >> conftest.$ac_ext
15.5729 + {0, (lt_ptr_t) 0}
15.5730 +};
15.5731 +
15.5732 +#ifdef __cplusplus
15.5733 +}
15.5734 +#endif
15.5735 +EOF
15.5736 + # Now try linking the two files.
15.5737 + mv conftest.$ac_objext conftstm.$ac_objext
15.5738 + lt_save_LIBS="$LIBS"
15.5739 + lt_save_CFLAGS="$CFLAGS"
15.5740 + LIBS="conftstm.$ac_objext"
15.5741 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
15.5742 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.5743 + (eval $ac_link) 2>&5
15.5744 + ac_status=$?
15.5745 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.5746 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
15.5747 + pipe_works=yes
15.5748 + fi
15.5749 + LIBS="$lt_save_LIBS"
15.5750 + CFLAGS="$lt_save_CFLAGS"
15.5751 + else
15.5752 + echo "cannot find nm_test_func in $nlist" >&5
15.5753 + fi
15.5754 + else
15.5755 + echo "cannot find nm_test_var in $nlist" >&5
15.5756 + fi
15.5757 + else
15.5758 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
15.5759 + fi
15.5760 + else
15.5761 + echo "$progname: failed program was:" >&5
15.5762 + cat conftest.$ac_ext >&5
15.5763 + fi
15.5764 + rm -f conftest* conftst*
15.5765 +
15.5766 + # Do not use the global_symbol_pipe unless it works.
15.5767 + if test "$pipe_works" = yes; then
15.5768 + break
15.5769 + else
15.5770 + lt_cv_sys_global_symbol_pipe=
15.5771 + fi
15.5772 +done
15.5773 +
15.5774 +fi
15.5775 +
15.5776 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
15.5777 + lt_cv_sys_global_symbol_to_cdecl=
15.5778 +fi
15.5779 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
15.5780 + echo "$as_me:$LINENO: result: failed" >&5
15.5781 +echo "${ECHO_T}failed" >&6
15.5782 +else
15.5783 + echo "$as_me:$LINENO: result: ok" >&5
15.5784 +echo "${ECHO_T}ok" >&6
15.5785 +fi
15.5786 +
15.5787 +echo "$as_me:$LINENO: checking for objdir" >&5
15.5788 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6
15.5789 +if test "${lt_cv_objdir+set}" = set; then
15.5790 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5791 +else
15.5792 + rm -f .libs 2>/dev/null
15.5793 +mkdir .libs 2>/dev/null
15.5794 +if test -d .libs; then
15.5795 + lt_cv_objdir=.libs
15.5796 +else
15.5797 + # MS-DOS does not allow filenames that begin with a dot.
15.5798 + lt_cv_objdir=_libs
15.5799 +fi
15.5800 +rmdir .libs 2>/dev/null
15.5801 +fi
15.5802 +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
15.5803 +echo "${ECHO_T}$lt_cv_objdir" >&6
15.5804 +objdir=$lt_cv_objdir
15.5805 +
15.5806 +
15.5807 +
15.5808 +
15.5809 +
15.5810 +case $host_os in
15.5811 +aix3*)
15.5812 + # AIX sometimes has problems with the GCC collect2 program. For some
15.5813 + # reason, if we set the COLLECT_NAMES environment variable, the problems
15.5814 + # vanish in a puff of smoke.
15.5815 + if test "X${COLLECT_NAMES+set}" != Xset; then
15.5816 + COLLECT_NAMES=
15.5817 + export COLLECT_NAMES
15.5818 + fi
15.5819 + ;;
15.5820 +esac
15.5821 +
15.5822 +# Sed substitution that helps us do robust quoting. It backslashifies
15.5823 +# metacharacters that are still active within double-quoted strings.
15.5824 +Xsed='sed -e 1s/^X//'
15.5825 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
15.5826 +
15.5827 +# Same as above, but do not quote variable references.
15.5828 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
15.5829 +
15.5830 +# Sed substitution to delay expansion of an escaped shell variable in a
15.5831 +# double_quote_subst'ed string.
15.5832 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
15.5833 +
15.5834 +# Sed substitution to avoid accidental globbing in evaled expressions
15.5835 +no_glob_subst='s/\*/\\\*/g'
15.5836 +
15.5837 +# Constants:
15.5838 +rm="rm -f"
15.5839 +
15.5840 +# Global variables:
15.5841 +default_ofile=libtool
15.5842 +can_build_shared=yes
15.5843 +
15.5844 +# All known linkers require a `.a' archive for static linking (except MSVC,
15.5845 +# which needs '.lib').
15.5846 +libext=a
15.5847 +ltmain="$ac_aux_dir/ltmain.sh"
15.5848 +ofile="$default_ofile"
15.5849 +with_gnu_ld="$lt_cv_prog_gnu_ld"
15.5850 +
15.5851 +if test -n "$ac_tool_prefix"; then
15.5852 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15.5853 +set dummy ${ac_tool_prefix}ar; ac_word=$2
15.5854 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.5855 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.5856 +if test "${ac_cv_prog_AR+set}" = set; then
15.5857 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5858 +else
15.5859 + if test -n "$AR"; then
15.5860 + ac_cv_prog_AR="$AR" # Let the user override the test.
15.5861 +else
15.5862 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.5863 +for as_dir in $PATH
15.5864 +do
15.5865 + IFS=$as_save_IFS
15.5866 + test -z "$as_dir" && as_dir=.
15.5867 + for ac_exec_ext in '' $ac_executable_extensions; do
15.5868 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.5869 + ac_cv_prog_AR="${ac_tool_prefix}ar"
15.5870 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.5871 + break 2
15.5872 + fi
15.5873 +done
15.5874 +done
15.5875 +
15.5876 +fi
15.5877 +fi
15.5878 +AR=$ac_cv_prog_AR
15.5879 +if test -n "$AR"; then
15.5880 + echo "$as_me:$LINENO: result: $AR" >&5
15.5881 +echo "${ECHO_T}$AR" >&6
15.5882 +else
15.5883 + echo "$as_me:$LINENO: result: no" >&5
15.5884 +echo "${ECHO_T}no" >&6
15.5885 +fi
15.5886 +
15.5887 +fi
15.5888 +if test -z "$ac_cv_prog_AR"; then
15.5889 + ac_ct_AR=$AR
15.5890 + # Extract the first word of "ar", so it can be a program name with args.
15.5891 +set dummy ar; ac_word=$2
15.5892 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.5893 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.5894 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15.5895 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5896 +else
15.5897 + if test -n "$ac_ct_AR"; then
15.5898 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15.5899 +else
15.5900 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.5901 +for as_dir in $PATH
15.5902 +do
15.5903 + IFS=$as_save_IFS
15.5904 + test -z "$as_dir" && as_dir=.
15.5905 + for ac_exec_ext in '' $ac_executable_extensions; do
15.5906 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.5907 + ac_cv_prog_ac_ct_AR="ar"
15.5908 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.5909 + break 2
15.5910 + fi
15.5911 +done
15.5912 +done
15.5913 +
15.5914 + test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
15.5915 +fi
15.5916 +fi
15.5917 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
15.5918 +if test -n "$ac_ct_AR"; then
15.5919 + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15.5920 +echo "${ECHO_T}$ac_ct_AR" >&6
15.5921 +else
15.5922 + echo "$as_me:$LINENO: result: no" >&5
15.5923 +echo "${ECHO_T}no" >&6
15.5924 +fi
15.5925 +
15.5926 + AR=$ac_ct_AR
15.5927 +else
15.5928 + AR="$ac_cv_prog_AR"
15.5929 +fi
15.5930 +
15.5931 +if test -n "$ac_tool_prefix"; then
15.5932 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15.5933 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15.5934 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.5935 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.5936 +if test "${ac_cv_prog_RANLIB+set}" = set; then
15.5937 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5938 +else
15.5939 + if test -n "$RANLIB"; then
15.5940 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15.5941 +else
15.5942 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.5943 +for as_dir in $PATH
15.5944 +do
15.5945 + IFS=$as_save_IFS
15.5946 + test -z "$as_dir" && as_dir=.
15.5947 + for ac_exec_ext in '' $ac_executable_extensions; do
15.5948 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.5949 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15.5950 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.5951 + break 2
15.5952 + fi
15.5953 +done
15.5954 +done
15.5955 +
15.5956 +fi
15.5957 +fi
15.5958 +RANLIB=$ac_cv_prog_RANLIB
15.5959 +if test -n "$RANLIB"; then
15.5960 + echo "$as_me:$LINENO: result: $RANLIB" >&5
15.5961 +echo "${ECHO_T}$RANLIB" >&6
15.5962 +else
15.5963 + echo "$as_me:$LINENO: result: no" >&5
15.5964 +echo "${ECHO_T}no" >&6
15.5965 +fi
15.5966 +
15.5967 +fi
15.5968 +if test -z "$ac_cv_prog_RANLIB"; then
15.5969 + ac_ct_RANLIB=$RANLIB
15.5970 + # Extract the first word of "ranlib", so it can be a program name with args.
15.5971 +set dummy ranlib; ac_word=$2
15.5972 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.5973 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.5974 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15.5975 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.5976 +else
15.5977 + if test -n "$ac_ct_RANLIB"; then
15.5978 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15.5979 +else
15.5980 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.5981 +for as_dir in $PATH
15.5982 +do
15.5983 + IFS=$as_save_IFS
15.5984 + test -z "$as_dir" && as_dir=.
15.5985 + for ac_exec_ext in '' $ac_executable_extensions; do
15.5986 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.5987 + ac_cv_prog_ac_ct_RANLIB="ranlib"
15.5988 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.5989 + break 2
15.5990 + fi
15.5991 +done
15.5992 +done
15.5993 +
15.5994 + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15.5995 +fi
15.5996 +fi
15.5997 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15.5998 +if test -n "$ac_ct_RANLIB"; then
15.5999 + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15.6000 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
15.6001 +else
15.6002 + echo "$as_me:$LINENO: result: no" >&5
15.6003 +echo "${ECHO_T}no" >&6
15.6004 +fi
15.6005 +
15.6006 + RANLIB=$ac_ct_RANLIB
15.6007 +else
15.6008 + RANLIB="$ac_cv_prog_RANLIB"
15.6009 +fi
15.6010 +
15.6011 +if test -n "$ac_tool_prefix"; then
15.6012 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15.6013 +set dummy ${ac_tool_prefix}strip; ac_word=$2
15.6014 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.6015 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.6016 +if test "${ac_cv_prog_STRIP+set}" = set; then
15.6017 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.6018 +else
15.6019 + if test -n "$STRIP"; then
15.6020 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15.6021 +else
15.6022 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.6023 +for as_dir in $PATH
15.6024 +do
15.6025 + IFS=$as_save_IFS
15.6026 + test -z "$as_dir" && as_dir=.
15.6027 + for ac_exec_ext in '' $ac_executable_extensions; do
15.6028 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.6029 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15.6030 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.6031 + break 2
15.6032 + fi
15.6033 +done
15.6034 +done
15.6035 +
15.6036 +fi
15.6037 +fi
15.6038 +STRIP=$ac_cv_prog_STRIP
15.6039 +if test -n "$STRIP"; then
15.6040 + echo "$as_me:$LINENO: result: $STRIP" >&5
15.6041 +echo "${ECHO_T}$STRIP" >&6
15.6042 +else
15.6043 + echo "$as_me:$LINENO: result: no" >&5
15.6044 +echo "${ECHO_T}no" >&6
15.6045 +fi
15.6046 +
15.6047 +fi
15.6048 +if test -z "$ac_cv_prog_STRIP"; then
15.6049 + ac_ct_STRIP=$STRIP
15.6050 + # Extract the first word of "strip", so it can be a program name with args.
15.6051 +set dummy strip; ac_word=$2
15.6052 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.6053 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.6054 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15.6055 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.6056 +else
15.6057 + if test -n "$ac_ct_STRIP"; then
15.6058 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15.6059 +else
15.6060 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.6061 +for as_dir in $PATH
15.6062 +do
15.6063 + IFS=$as_save_IFS
15.6064 + test -z "$as_dir" && as_dir=.
15.6065 + for ac_exec_ext in '' $ac_executable_extensions; do
15.6066 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.6067 + ac_cv_prog_ac_ct_STRIP="strip"
15.6068 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.6069 + break 2
15.6070 + fi
15.6071 +done
15.6072 +done
15.6073 +
15.6074 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
15.6075 +fi
15.6076 +fi
15.6077 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15.6078 +if test -n "$ac_ct_STRIP"; then
15.6079 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15.6080 +echo "${ECHO_T}$ac_ct_STRIP" >&6
15.6081 +else
15.6082 + echo "$as_me:$LINENO: result: no" >&5
15.6083 +echo "${ECHO_T}no" >&6
15.6084 +fi
15.6085 +
15.6086 + STRIP=$ac_ct_STRIP
15.6087 +else
15.6088 + STRIP="$ac_cv_prog_STRIP"
15.6089 +fi
15.6090 +
15.6091 +
15.6092 +old_CC="$CC"
15.6093 +old_CFLAGS="$CFLAGS"
15.6094 +
15.6095 +# Set sane defaults for various variables
15.6096 +test -z "$AR" && AR=ar
15.6097 +test -z "$AR_FLAGS" && AR_FLAGS=cru
15.6098 +test -z "$AS" && AS=as
15.6099 +test -z "$CC" && CC=cc
15.6100 +test -z "$LTCC" && LTCC=$CC
15.6101 +test -z "$DLLTOOL" && DLLTOOL=dlltool
15.6102 +test -z "$LD" && LD=ld
15.6103 +test -z "$LN_S" && LN_S="ln -s"
15.6104 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
15.6105 +test -z "$NM" && NM=nm
15.6106 +test -z "$SED" && SED=sed
15.6107 +test -z "$OBJDUMP" && OBJDUMP=objdump
15.6108 +test -z "$RANLIB" && RANLIB=:
15.6109 +test -z "$STRIP" && STRIP=:
15.6110 +test -z "$ac_objext" && ac_objext=o
15.6111 +
15.6112 +# Determine commands to create old-style static archives.
15.6113 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
15.6114 +old_postinstall_cmds='chmod 644 $oldlib'
15.6115 +old_postuninstall_cmds=
15.6116 +
15.6117 +if test -n "$RANLIB"; then
15.6118 + case $host_os in
15.6119 + openbsd*)
15.6120 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
15.6121 + ;;
15.6122 + *)
15.6123 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
15.6124 + ;;
15.6125 + esac
15.6126 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
15.6127 +fi
15.6128 +
15.6129 +for cc_temp in $compiler""; do
15.6130 + case $cc_temp in
15.6131 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15.6132 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15.6133 + \-*) ;;
15.6134 + *) break;;
15.6135 + esac
15.6136 +done
15.6137 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15.6138 +
15.6139 +
15.6140 +# Only perform the check for file, if the check method requires it
15.6141 +case $deplibs_check_method in
15.6142 +file_magic*)
15.6143 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
15.6144 + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
15.6145 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
15.6146 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
15.6147 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.6148 +else
15.6149 + case $MAGIC_CMD in
15.6150 +[\\/*] | ?:[\\/]*)
15.6151 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
15.6152 + ;;
15.6153 +*)
15.6154 + lt_save_MAGIC_CMD="$MAGIC_CMD"
15.6155 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15.6156 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
15.6157 + for ac_dir in $ac_dummy; do
15.6158 + IFS="$lt_save_ifs"
15.6159 + test -z "$ac_dir" && ac_dir=.
15.6160 + if test -f $ac_dir/${ac_tool_prefix}file; then
15.6161 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
15.6162 + if test -n "$file_magic_test_file"; then
15.6163 + case $deplibs_check_method in
15.6164 + "file_magic "*)
15.6165 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
15.6166 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15.6167 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
15.6168 + $EGREP "$file_magic_regex" > /dev/null; then
15.6169 + :
15.6170 + else
15.6171 + cat <<EOF 1>&2
15.6172 +
15.6173 +*** Warning: the command libtool uses to detect shared libraries,
15.6174 +*** $file_magic_cmd, produces output that libtool cannot recognize.
15.6175 +*** The result is that libtool may fail to recognize shared libraries
15.6176 +*** as such. This will affect the creation of libtool libraries that
15.6177 +*** depend on shared libraries, but programs linked with such libtool
15.6178 +*** libraries will work regardless of this problem. Nevertheless, you
15.6179 +*** may want to report the problem to your system manager and/or to
15.6180 +*** bug-libtool@gnu.org
15.6181 +
15.6182 +EOF
15.6183 + fi ;;
15.6184 + esac
15.6185 + fi
15.6186 + break
15.6187 + fi
15.6188 + done
15.6189 + IFS="$lt_save_ifs"
15.6190 + MAGIC_CMD="$lt_save_MAGIC_CMD"
15.6191 + ;;
15.6192 +esac
15.6193 +fi
15.6194 +
15.6195 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15.6196 +if test -n "$MAGIC_CMD"; then
15.6197 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
15.6198 +echo "${ECHO_T}$MAGIC_CMD" >&6
15.6199 +else
15.6200 + echo "$as_me:$LINENO: result: no" >&5
15.6201 +echo "${ECHO_T}no" >&6
15.6202 +fi
15.6203 +
15.6204 +if test -z "$lt_cv_path_MAGIC_CMD"; then
15.6205 + if test -n "$ac_tool_prefix"; then
15.6206 + echo "$as_me:$LINENO: checking for file" >&5
15.6207 +echo $ECHO_N "checking for file... $ECHO_C" >&6
15.6208 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
15.6209 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.6210 +else
15.6211 + case $MAGIC_CMD in
15.6212 +[\\/*] | ?:[\\/]*)
15.6213 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
15.6214 + ;;
15.6215 +*)
15.6216 + lt_save_MAGIC_CMD="$MAGIC_CMD"
15.6217 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15.6218 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
15.6219 + for ac_dir in $ac_dummy; do
15.6220 + IFS="$lt_save_ifs"
15.6221 + test -z "$ac_dir" && ac_dir=.
15.6222 + if test -f $ac_dir/file; then
15.6223 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
15.6224 + if test -n "$file_magic_test_file"; then
15.6225 + case $deplibs_check_method in
15.6226 + "file_magic "*)
15.6227 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
15.6228 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15.6229 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
15.6230 + $EGREP "$file_magic_regex" > /dev/null; then
15.6231 + :
15.6232 + else
15.6233 + cat <<EOF 1>&2
15.6234 +
15.6235 +*** Warning: the command libtool uses to detect shared libraries,
15.6236 +*** $file_magic_cmd, produces output that libtool cannot recognize.
15.6237 +*** The result is that libtool may fail to recognize shared libraries
15.6238 +*** as such. This will affect the creation of libtool libraries that
15.6239 +*** depend on shared libraries, but programs linked with such libtool
15.6240 +*** libraries will work regardless of this problem. Nevertheless, you
15.6241 +*** may want to report the problem to your system manager and/or to
15.6242 +*** bug-libtool@gnu.org
15.6243 +
15.6244 +EOF
15.6245 + fi ;;
15.6246 + esac
15.6247 + fi
15.6248 + break
15.6249 + fi
15.6250 + done
15.6251 + IFS="$lt_save_ifs"
15.6252 + MAGIC_CMD="$lt_save_MAGIC_CMD"
15.6253 + ;;
15.6254 +esac
15.6255 +fi
15.6256 +
15.6257 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15.6258 +if test -n "$MAGIC_CMD"; then
15.6259 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
15.6260 +echo "${ECHO_T}$MAGIC_CMD" >&6
15.6261 +else
15.6262 + echo "$as_me:$LINENO: result: no" >&5
15.6263 +echo "${ECHO_T}no" >&6
15.6264 +fi
15.6265 +
15.6266 + else
15.6267 + MAGIC_CMD=:
15.6268 + fi
15.6269 +fi
15.6270 +
15.6271 + fi
15.6272 + ;;
15.6273 +esac
15.6274 +
15.6275 +enable_dlopen=no
15.6276 +enable_win32_dll=no
15.6277 +
15.6278 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
15.6279 +if test "${enable_libtool_lock+set}" = set; then
15.6280 + enableval="$enable_libtool_lock"
15.6281 +
15.6282 +fi;
15.6283 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
15.6284 +
15.6285 +
15.6286 +# Check whether --with-pic or --without-pic was given.
15.6287 +if test "${with_pic+set}" = set; then
15.6288 + withval="$with_pic"
15.6289 + pic_mode="$withval"
15.6290 +else
15.6291 + pic_mode=default
15.6292 +fi;
15.6293 +test -z "$pic_mode" && pic_mode=default
15.6294 +
15.6295 +# Use C for the default configuration in the libtool script
15.6296 +tagname=
15.6297 +lt_save_CC="$CC"
15.6298 +ac_ext=c
15.6299 +ac_cpp='$CPP $CPPFLAGS'
15.6300 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.6301 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.6302 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.6303 +
15.6304 +
15.6305 +# Source file extension for C test sources.
15.6306 +ac_ext=c
15.6307 +
15.6308 +# Object file extension for compiled C test sources.
15.6309 +objext=o
15.6310 +objext=$objext
15.6311 +
15.6312 +# Code to be used in simple compile tests
15.6313 +lt_simple_compile_test_code="int some_variable = 0;\n"
15.6314 +
15.6315 +# Code to be used in simple link tests
15.6316 +lt_simple_link_test_code='int main(){return(0);}\n'
15.6317 +
15.6318 +
15.6319 +# If no C compiler was specified, use CC.
15.6320 +LTCC=${LTCC-"$CC"}
15.6321 +
15.6322 +# Allow CC to be a program name with arguments.
15.6323 +compiler=$CC
15.6324 +
15.6325 +
15.6326 +# save warnings/boilerplate of simple test code
15.6327 +ac_outfile=conftest.$ac_objext
15.6328 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15.6329 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15.6330 +_lt_compiler_boilerplate=`cat conftest.err`
15.6331 +$rm conftest*
15.6332 +
15.6333 +ac_outfile=conftest.$ac_objext
15.6334 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
15.6335 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15.6336 +_lt_linker_boilerplate=`cat conftest.err`
15.6337 +$rm conftest*
15.6338 +
15.6339 +
15.6340 +#
15.6341 +# Check for any special shared library compilation flags.
15.6342 +#
15.6343 +lt_prog_cc_shlib=
15.6344 +if test "$GCC" = no; then
15.6345 + case $host_os in
15.6346 + sco3.2v5*)
15.6347 + lt_prog_cc_shlib='-belf'
15.6348 + ;;
15.6349 + esac
15.6350 +fi
15.6351 +if test -n "$lt_prog_cc_shlib"; then
15.6352 + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
15.6353 +echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
15.6354 + if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
15.6355 + else
15.6356 + { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
15.6357 +echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
15.6358 + lt_cv_prog_cc_can_build_shared=no
15.6359 + fi
15.6360 +fi
15.6361 +
15.6362 +
15.6363 +#
15.6364 +# Check to make sure the static flag actually works.
15.6365 +#
15.6366 +echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
15.6367 +echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
15.6368 +if test "${lt_prog_compiler_static_works+set}" = set; then
15.6369 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.6370 +else
15.6371 + lt_prog_compiler_static_works=no
15.6372 + save_LDFLAGS="$LDFLAGS"
15.6373 + LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
15.6374 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
15.6375 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15.6376 + # The linker can only warn and ignore the option if not recognized
15.6377 + # So say no if there are warnings
15.6378 + if test -s conftest.err; then
15.6379 + # Append any errors to the config.log.
15.6380 + cat conftest.err 1>&5
15.6381 + $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
15.6382 + $SED '/^$/d' conftest.err >conftest.er2
15.6383 + if diff conftest.exp conftest.er2 >/dev/null; then
15.6384 + lt_prog_compiler_static_works=yes
15.6385 + fi
15.6386 + else
15.6387 + lt_prog_compiler_static_works=yes
15.6388 + fi
15.6389 + fi
15.6390 + $rm conftest*
15.6391 + LDFLAGS="$save_LDFLAGS"
15.6392 +
15.6393 +fi
15.6394 +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
15.6395 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
15.6396 +
15.6397 +if test x"$lt_prog_compiler_static_works" = xyes; then
15.6398 + :
15.6399 +else
15.6400 + lt_prog_compiler_static=
15.6401 +fi
15.6402 +
15.6403 +
15.6404 +
15.6405 +
15.6406 +lt_prog_compiler_no_builtin_flag=
15.6407 +
15.6408 +if test "$GCC" = yes; then
15.6409 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
15.6410 +
15.6411 +
15.6412 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15.6413 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15.6414 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15.6415 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.6416 +else
15.6417 + lt_cv_prog_compiler_rtti_exceptions=no
15.6418 + ac_outfile=conftest.$ac_objext
15.6419 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.6420 + lt_compiler_flag="-fno-rtti -fno-exceptions"
15.6421 + # Insert the option either (1) after the last *FLAGS variable, or
15.6422 + # (2) before a word containing "conftest.", or (3) at the end.
15.6423 + # Note that $ac_compile itself does not contain backslashes and begins
15.6424 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15.6425 + # The option is referenced via a variable to avoid confusing sed.
15.6426 + lt_compile=`echo "$ac_compile" | $SED \
15.6427 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15.6428 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15.6429 + -e 's:$: $lt_compiler_flag:'`
15.6430 + (eval echo "\"\$as_me:6427: $lt_compile\"" >&5)
15.6431 + (eval "$lt_compile" 2>conftest.err)
15.6432 + ac_status=$?
15.6433 + cat conftest.err >&5
15.6434 + echo "$as_me:6431: \$? = $ac_status" >&5
15.6435 + if (exit $ac_status) && test -s "$ac_outfile"; then
15.6436 + # The compiler can only warn and ignore the option if not recognized
15.6437 + # So say no if there are warnings other than the usual output.
15.6438 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15.6439 + $SED '/^$/d' conftest.err >conftest.er2
15.6440 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
15.6441 + lt_cv_prog_compiler_rtti_exceptions=yes
15.6442 + fi
15.6443 + fi
15.6444 + $rm conftest*
15.6445 +
15.6446 +fi
15.6447 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15.6448 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15.6449 +
15.6450 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15.6451 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
15.6452 +else
15.6453 + :
15.6454 +fi
15.6455 +
15.6456 +fi
15.6457 +
15.6458 +lt_prog_compiler_wl=
15.6459 +lt_prog_compiler_pic=
15.6460 +lt_prog_compiler_static=
15.6461 +
15.6462 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15.6463 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15.6464 +
15.6465 + if test "$GCC" = yes; then
15.6466 + lt_prog_compiler_wl='-Wl,'
15.6467 + lt_prog_compiler_static='-static'
15.6468 +
15.6469 + case $host_os in
15.6470 + aix*)
15.6471 + # All AIX code is PIC.
15.6472 + if test "$host_cpu" = ia64; then
15.6473 + # AIX 5 now supports IA64 processor
15.6474 + lt_prog_compiler_static='-Bstatic'
15.6475 + fi
15.6476 + ;;
15.6477 +
15.6478 + amigaos*)
15.6479 + # FIXME: we need at least 68020 code to build shared libraries, but
15.6480 + # adding the `-m68020' flag to GCC prevents building anything better,
15.6481 + # like `-m68040'.
15.6482 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
15.6483 + ;;
15.6484 +
15.6485 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15.6486 + # PIC is the default for these OSes.
15.6487 + ;;
15.6488 +
15.6489 + mingw* | pw32* | os2*)
15.6490 + # This hack is so that the source file can tell whether it is being
15.6491 + # built for inclusion in a dll (and should export symbols for example).
15.6492 + lt_prog_compiler_pic='-DDLL_EXPORT'
15.6493 + ;;
15.6494 +
15.6495 + darwin* | rhapsody*)
15.6496 + # PIC is the default on this platform
15.6497 + # Common symbols not allowed in MH_DYLIB files
15.6498 + lt_prog_compiler_pic='-fno-common'
15.6499 + ;;
15.6500 +
15.6501 + msdosdjgpp*)
15.6502 + # Just because we use GCC doesn't mean we suddenly get shared libraries
15.6503 + # on systems that don't support them.
15.6504 + lt_prog_compiler_can_build_shared=no
15.6505 + enable_shared=no
15.6506 + ;;
15.6507 +
15.6508 + sysv4*MP*)
15.6509 + if test -d /usr/nec; then
15.6510 + lt_prog_compiler_pic=-Kconform_pic
15.6511 + fi
15.6512 + ;;
15.6513 +
15.6514 + hpux*)
15.6515 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15.6516 + # not for PA HP-UX.
15.6517 + case $host_cpu in
15.6518 + hppa*64*|ia64*)
15.6519 + # +Z the default
15.6520 + ;;
15.6521 + *)
15.6522 + lt_prog_compiler_pic='-fPIC'
15.6523 + ;;
15.6524 + esac
15.6525 + ;;
15.6526 +
15.6527 + *)
15.6528 + lt_prog_compiler_pic='-fPIC'
15.6529 + ;;
15.6530 + esac
15.6531 + else
15.6532 + # PORTME Check for flag to pass linker flags through the system compiler.
15.6533 + case $host_os in
15.6534 + aix*)
15.6535 + lt_prog_compiler_wl='-Wl,'
15.6536 + if test "$host_cpu" = ia64; then
15.6537 + # AIX 5 now supports IA64 processor
15.6538 + lt_prog_compiler_static='-Bstatic'
15.6539 + else
15.6540 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
15.6541 + fi
15.6542 + ;;
15.6543 + darwin*)
15.6544 + # PIC is the default on this platform
15.6545 + # Common symbols not allowed in MH_DYLIB files
15.6546 + case $cc_basename in
15.6547 + xlc*)
15.6548 + lt_prog_compiler_pic='-qnocommon'
15.6549 + lt_prog_compiler_wl='-Wl,'
15.6550 + ;;
15.6551 + esac
15.6552 + ;;
15.6553 +
15.6554 + mingw* | pw32* | os2*)
15.6555 + # This hack is so that the source file can tell whether it is being
15.6556 + # built for inclusion in a dll (and should export symbols for example).
15.6557 + lt_prog_compiler_pic='-DDLL_EXPORT'
15.6558 + ;;
15.6559 +
15.6560 + hpux9* | hpux10* | hpux11*)
15.6561 + lt_prog_compiler_wl='-Wl,'
15.6562 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15.6563 + # not for PA HP-UX.
15.6564 + case $host_cpu in
15.6565 + hppa*64*|ia64*)
15.6566 + # +Z the default
15.6567 + ;;
15.6568 + *)
15.6569 + lt_prog_compiler_pic='+Z'
15.6570 + ;;
15.6571 + esac
15.6572 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
15.6573 + lt_prog_compiler_static='${wl}-a ${wl}archive'
15.6574 + ;;
15.6575 +
15.6576 + irix5* | irix6* | nonstopux*)
15.6577 + lt_prog_compiler_wl='-Wl,'
15.6578 + # PIC (with -KPIC) is the default.
15.6579 + lt_prog_compiler_static='-non_shared'
15.6580 + ;;
15.6581 +
15.6582 + newsos6)
15.6583 + lt_prog_compiler_pic='-KPIC'
15.6584 + lt_prog_compiler_static='-Bstatic'
15.6585 + ;;
15.6586 +
15.6587 + linux*)
15.6588 + case $cc_basename in
15.6589 + icc* | ecc*)
15.6590 + lt_prog_compiler_wl='-Wl,'
15.6591 + lt_prog_compiler_pic='-KPIC'
15.6592 + lt_prog_compiler_static='-static'
15.6593 + ;;
15.6594 + pgcc* | pgf77* | pgf90* | pgf95*)
15.6595 + # Portland Group compilers (*not* the Pentium gcc compiler,
15.6596 + # which looks to be a dead project)
15.6597 + lt_prog_compiler_wl='-Wl,'
15.6598 + lt_prog_compiler_pic='-fpic'
15.6599 + lt_prog_compiler_static='-Bstatic'
15.6600 + ;;
15.6601 + ccc*)
15.6602 + lt_prog_compiler_wl='-Wl,'
15.6603 + # All Alpha code is PIC.
15.6604 + lt_prog_compiler_static='-non_shared'
15.6605 + ;;
15.6606 + esac
15.6607 + ;;
15.6608 +
15.6609 + osf3* | osf4* | osf5*)
15.6610 + lt_prog_compiler_wl='-Wl,'
15.6611 + # All OSF/1 code is PIC.
15.6612 + lt_prog_compiler_static='-non_shared'
15.6613 + ;;
15.6614 +
15.6615 + sco3.2v5*)
15.6616 + lt_prog_compiler_pic='-Kpic'
15.6617 + lt_prog_compiler_static='-dn'
15.6618 + ;;
15.6619 +
15.6620 + solaris*)
15.6621 + lt_prog_compiler_pic='-KPIC'
15.6622 + lt_prog_compiler_static='-Bstatic'
15.6623 + case $cc_basename in
15.6624 + f77* | f90* | f95*)
15.6625 + lt_prog_compiler_wl='-Qoption ld ';;
15.6626 + *)
15.6627 + lt_prog_compiler_wl='-Wl,';;
15.6628 + esac
15.6629 + ;;
15.6630 +
15.6631 + sunos4*)
15.6632 + lt_prog_compiler_wl='-Qoption ld '
15.6633 + lt_prog_compiler_pic='-PIC'
15.6634 + lt_prog_compiler_static='-Bstatic'
15.6635 + ;;
15.6636 +
15.6637 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15.6638 + lt_prog_compiler_wl='-Wl,'
15.6639 + lt_prog_compiler_pic='-KPIC'
15.6640 + lt_prog_compiler_static='-Bstatic'
15.6641 + ;;
15.6642 +
15.6643 + sysv4*MP*)
15.6644 + if test -d /usr/nec ;then
15.6645 + lt_prog_compiler_pic='-Kconform_pic'
15.6646 + lt_prog_compiler_static='-Bstatic'
15.6647 + fi
15.6648 + ;;
15.6649 +
15.6650 + unicos*)
15.6651 + lt_prog_compiler_wl='-Wl,'
15.6652 + lt_prog_compiler_can_build_shared=no
15.6653 + ;;
15.6654 +
15.6655 + uts4*)
15.6656 + lt_prog_compiler_pic='-pic'
15.6657 + lt_prog_compiler_static='-Bstatic'
15.6658 + ;;
15.6659 +
15.6660 + *)
15.6661 + lt_prog_compiler_can_build_shared=no
15.6662 + ;;
15.6663 + esac
15.6664 + fi
15.6665 +
15.6666 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
15.6667 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6
15.6668 +
15.6669 +#
15.6670 +# Check to make sure the PIC flag actually works.
15.6671 +#
15.6672 +if test -n "$lt_prog_compiler_pic"; then
15.6673 +
15.6674 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
15.6675 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
15.6676 +if test "${lt_prog_compiler_pic_works+set}" = set; then
15.6677 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.6678 +else
15.6679 + lt_prog_compiler_pic_works=no
15.6680 + ac_outfile=conftest.$ac_objext
15.6681 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.6682 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
15.6683 + # Insert the option either (1) after the last *FLAGS variable, or
15.6684 + # (2) before a word containing "conftest.", or (3) at the end.
15.6685 + # Note that $ac_compile itself does not contain backslashes and begins
15.6686 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15.6687 + # The option is referenced via a variable to avoid confusing sed.
15.6688 + lt_compile=`echo "$ac_compile" | $SED \
15.6689 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15.6690 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15.6691 + -e 's:$: $lt_compiler_flag:'`
15.6692 + (eval echo "\"\$as_me:6689: $lt_compile\"" >&5)
15.6693 + (eval "$lt_compile" 2>conftest.err)
15.6694 + ac_status=$?
15.6695 + cat conftest.err >&5
15.6696 + echo "$as_me:6693: \$? = $ac_status" >&5
15.6697 + if (exit $ac_status) && test -s "$ac_outfile"; then
15.6698 + # The compiler can only warn and ignore the option if not recognized
15.6699 + # So say no if there are warnings other than the usual output.
15.6700 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15.6701 + $SED '/^$/d' conftest.err >conftest.er2
15.6702 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
15.6703 + lt_prog_compiler_pic_works=yes
15.6704 + fi
15.6705 + fi
15.6706 + $rm conftest*
15.6707 +
15.6708 +fi
15.6709 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
15.6710 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
15.6711 +
15.6712 +if test x"$lt_prog_compiler_pic_works" = xyes; then
15.6713 + case $lt_prog_compiler_pic in
15.6714 + "" | " "*) ;;
15.6715 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15.6716 + esac
15.6717 +else
15.6718 + lt_prog_compiler_pic=
15.6719 + lt_prog_compiler_can_build_shared=no
15.6720 +fi
15.6721 +
15.6722 +fi
15.6723 +case $host_os in
15.6724 + # For platforms which do not support PIC, -DPIC is meaningless:
15.6725 + *djgpp*)
15.6726 + lt_prog_compiler_pic=
15.6727 + ;;
15.6728 + *)
15.6729 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15.6730 + ;;
15.6731 +esac
15.6732 +
15.6733 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15.6734 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15.6735 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15.6736 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.6737 +else
15.6738 + lt_cv_prog_compiler_c_o=no
15.6739 + $rm -r conftest 2>/dev/null
15.6740 + mkdir conftest
15.6741 + cd conftest
15.6742 + mkdir out
15.6743 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.6744 +
15.6745 + lt_compiler_flag="-o out/conftest2.$ac_objext"
15.6746 + # Insert the option either (1) after the last *FLAGS variable, or
15.6747 + # (2) before a word containing "conftest.", or (3) at the end.
15.6748 + # Note that $ac_compile itself does not contain backslashes and begins
15.6749 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15.6750 + lt_compile=`echo "$ac_compile" | $SED \
15.6751 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15.6752 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15.6753 + -e 's:$: $lt_compiler_flag:'`
15.6754 + (eval echo "\"\$as_me:6751: $lt_compile\"" >&5)
15.6755 + (eval "$lt_compile" 2>out/conftest.err)
15.6756 + ac_status=$?
15.6757 + cat out/conftest.err >&5
15.6758 + echo "$as_me:6755: \$? = $ac_status" >&5
15.6759 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
15.6760 + then
15.6761 + # The compiler can only warn and ignore the option if not recognized
15.6762 + # So say no if there are warnings
15.6763 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
15.6764 + $SED '/^$/d' out/conftest.err >out/conftest.er2
15.6765 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15.6766 + lt_cv_prog_compiler_c_o=yes
15.6767 + fi
15.6768 + fi
15.6769 + chmod u+w . 2>&5
15.6770 + $rm conftest*
15.6771 + # SGI C++ compiler will create directory out/ii_files/ for
15.6772 + # template instantiation
15.6773 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15.6774 + $rm out/* && rmdir out
15.6775 + cd ..
15.6776 + rmdir conftest
15.6777 + $rm conftest*
15.6778 +
15.6779 +fi
15.6780 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
15.6781 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
15.6782 +
15.6783 +
15.6784 +hard_links="nottested"
15.6785 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
15.6786 + # do not overwrite the value of need_locks provided by the user
15.6787 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15.6788 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15.6789 + hard_links=yes
15.6790 + $rm conftest*
15.6791 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15.6792 + touch conftest.a
15.6793 + ln conftest.a conftest.b 2>&5 || hard_links=no
15.6794 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15.6795 + echo "$as_me:$LINENO: result: $hard_links" >&5
15.6796 +echo "${ECHO_T}$hard_links" >&6
15.6797 + if test "$hard_links" = no; then
15.6798 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15.6799 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15.6800 + need_locks=warn
15.6801 + fi
15.6802 +else
15.6803 + need_locks=no
15.6804 +fi
15.6805 +
15.6806 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15.6807 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15.6808 +
15.6809 + runpath_var=
15.6810 + allow_undefined_flag=
15.6811 + enable_shared_with_static_runtimes=no
15.6812 + archive_cmds=
15.6813 + archive_expsym_cmds=
15.6814 + old_archive_From_new_cmds=
15.6815 + old_archive_from_expsyms_cmds=
15.6816 + export_dynamic_flag_spec=
15.6817 + whole_archive_flag_spec=
15.6818 + thread_safe_flag_spec=
15.6819 + hardcode_libdir_flag_spec=
15.6820 + hardcode_libdir_flag_spec_ld=
15.6821 + hardcode_libdir_separator=
15.6822 + hardcode_direct=no
15.6823 + hardcode_minus_L=no
15.6824 + hardcode_shlibpath_var=unsupported
15.6825 + link_all_deplibs=unknown
15.6826 + hardcode_automatic=no
15.6827 + module_cmds=
15.6828 + module_expsym_cmds=
15.6829 + always_export_symbols=no
15.6830 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15.6831 + # include_expsyms should be a list of space-separated symbols to be *always*
15.6832 + # included in the symbol list
15.6833 + include_expsyms=
15.6834 + # exclude_expsyms can be an extended regexp of symbols to exclude
15.6835 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
15.6836 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15.6837 + # as well as any symbol that contains `d'.
15.6838 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
15.6839 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15.6840 + # platforms (ab)use it in PIC code, but their linkers get confused if
15.6841 + # the symbol is explicitly referenced. Since portable code cannot
15.6842 + # rely on this symbol name, it's probably fine to never include it in
15.6843 + # preloaded symbol tables.
15.6844 + extract_expsyms_cmds=
15.6845 + # Just being paranoid about ensuring that cc_basename is set.
15.6846 + for cc_temp in $compiler""; do
15.6847 + case $cc_temp in
15.6848 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15.6849 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15.6850 + \-*) ;;
15.6851 + *) break;;
15.6852 + esac
15.6853 +done
15.6854 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15.6855 +
15.6856 + case $host_os in
15.6857 + cygwin* | mingw* | pw32*)
15.6858 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
15.6859 + # When not using gcc, we currently assume that we are using
15.6860 + # Microsoft Visual C++.
15.6861 + if test "$GCC" != yes; then
15.6862 + with_gnu_ld=no
15.6863 + fi
15.6864 + ;;
15.6865 + openbsd*)
15.6866 + with_gnu_ld=no
15.6867 + ;;
15.6868 + esac
15.6869 +
15.6870 + ld_shlibs=yes
15.6871 + if test "$with_gnu_ld" = yes; then
15.6872 + # If archive_cmds runs LD, not CC, wlarc should be empty
15.6873 + wlarc='${wl}'
15.6874 +
15.6875 + # Set some defaults for GNU ld with shared library support. These
15.6876 + # are reset later if shared libraries are not supported. Putting them
15.6877 + # here allows them to be overridden if necessary.
15.6878 + runpath_var=LD_RUN_PATH
15.6879 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15.6880 + export_dynamic_flag_spec='${wl}--export-dynamic'
15.6881 + # ancient GNU ld didn't support --whole-archive et. al.
15.6882 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15.6883 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15.6884 + else
15.6885 + whole_archive_flag_spec=
15.6886 + fi
15.6887 + supports_anon_versioning=no
15.6888 + case `$LD -v 2>/dev/null` in
15.6889 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15.6890 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15.6891 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15.6892 + *\ 2.11.*) ;; # other 2.11 versions
15.6893 + *) supports_anon_versioning=yes ;;
15.6894 + esac
15.6895 +
15.6896 + # See if GNU ld supports shared libraries.
15.6897 + case $host_os in
15.6898 + aix3* | aix4* | aix5*)
15.6899 + # On AIX/PPC, the GNU linker is very broken
15.6900 + if test "$host_cpu" != ia64; then
15.6901 + ld_shlibs=no
15.6902 + cat <<EOF 1>&2
15.6903 +
15.6904 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15.6905 +*** to be unable to reliably create shared libraries on AIX.
15.6906 +*** Therefore, libtool is disabling shared libraries support. If you
15.6907 +*** really care for shared libraries, you may want to modify your PATH
15.6908 +*** so that a non-GNU linker is found, and then restart.
15.6909 +
15.6910 +EOF
15.6911 + fi
15.6912 + ;;
15.6913 +
15.6914 + amigaos*)
15.6915 + 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)'
15.6916 + hardcode_libdir_flag_spec='-L$libdir'
15.6917 + hardcode_minus_L=yes
15.6918 +
15.6919 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15.6920 + # that the semantics of dynamic libraries on AmigaOS, at least up
15.6921 + # to version 4, is to share data among multiple programs linked
15.6922 + # with the same dynamic library. Since this doesn't match the
15.6923 + # behavior of shared libraries on other platforms, we can't use
15.6924 + # them.
15.6925 + ld_shlibs=no
15.6926 + ;;
15.6927 +
15.6928 + beos*)
15.6929 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.6930 + allow_undefined_flag=unsupported
15.6931 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15.6932 + # support --undefined. This deserves some investigation. FIXME
15.6933 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.6934 + else
15.6935 + ld_shlibs=no
15.6936 + fi
15.6937 + ;;
15.6938 +
15.6939 + cygwin* | mingw* | pw32*)
15.6940 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15.6941 + # as there is no search path for DLLs.
15.6942 + hardcode_libdir_flag_spec='-L$libdir'
15.6943 + allow_undefined_flag=unsupported
15.6944 + always_export_symbols=no
15.6945 + enable_shared_with_static_runtimes=yes
15.6946 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15.6947 +
15.6948 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15.6949 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15.6950 + # If the export-symbols file already is a .def file (1st line
15.6951 + # is EXPORTS), use it as is; otherwise, prepend...
15.6952 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15.6953 + cp $export_symbols $output_objdir/$soname.def;
15.6954 + else
15.6955 + echo EXPORTS > $output_objdir/$soname.def;
15.6956 + cat $export_symbols >> $output_objdir/$soname.def;
15.6957 + fi~
15.6958 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15.6959 + else
15.6960 + ld_shlibs=no
15.6961 + fi
15.6962 + ;;
15.6963 +
15.6964 + linux*)
15.6965 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.6966 + tmp_addflag=
15.6967 + case $cc_basename,$host_cpu in
15.6968 + pgcc*) # Portland Group C compiler
15.6969 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15.6970 + tmp_addflag=' $pic_flag'
15.6971 + ;;
15.6972 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15.6973 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15.6974 + tmp_addflag=' $pic_flag -Mnomain' ;;
15.6975 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15.6976 + tmp_addflag=' -i_dynamic' ;;
15.6977 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15.6978 + tmp_addflag=' -i_dynamic -nofor_main' ;;
15.6979 + ifc* | ifort*) # Intel Fortran compiler
15.6980 + tmp_addflag=' -nofor_main' ;;
15.6981 + esac
15.6982 + archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.6983 +
15.6984 + if test $supports_anon_versioning = yes; then
15.6985 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15.6986 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15.6987 + $echo "local: *; };" >> $output_objdir/$libname.ver~
15.6988 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15.6989 + fi
15.6990 + else
15.6991 + ld_shlibs=no
15.6992 + fi
15.6993 + ;;
15.6994 +
15.6995 + netbsd*)
15.6996 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15.6997 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15.6998 + wlarc=
15.6999 + else
15.7000 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.7001 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15.7002 + fi
15.7003 + ;;
15.7004 +
15.7005 + solaris* | sysv5*)
15.7006 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15.7007 + ld_shlibs=no
15.7008 + cat <<EOF 1>&2
15.7009 +
15.7010 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15.7011 +*** create shared libraries on Solaris systems. Therefore, libtool
15.7012 +*** is disabling shared libraries support. We urge you to upgrade GNU
15.7013 +*** binutils to release 2.9.1 or newer. Another option is to modify
15.7014 +*** your PATH or compiler configuration so that the native linker is
15.7015 +*** used, and then restart.
15.7016 +
15.7017 +EOF
15.7018 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.7019 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.7020 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15.7021 + else
15.7022 + ld_shlibs=no
15.7023 + fi
15.7024 + ;;
15.7025 +
15.7026 + sunos4*)
15.7027 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15.7028 + wlarc=
15.7029 + hardcode_direct=yes
15.7030 + hardcode_shlibpath_var=no
15.7031 + ;;
15.7032 +
15.7033 + *)
15.7034 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.7035 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.7036 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15.7037 + else
15.7038 + ld_shlibs=no
15.7039 + fi
15.7040 + ;;
15.7041 + esac
15.7042 +
15.7043 + if test "$ld_shlibs" = no; then
15.7044 + runpath_var=
15.7045 + hardcode_libdir_flag_spec=
15.7046 + export_dynamic_flag_spec=
15.7047 + whole_archive_flag_spec=
15.7048 + fi
15.7049 + else
15.7050 + # PORTME fill in a description of your system's linker (not GNU ld)
15.7051 + case $host_os in
15.7052 + aix3*)
15.7053 + allow_undefined_flag=unsupported
15.7054 + always_export_symbols=yes
15.7055 + 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'
15.7056 + # Note: this linker hardcodes the directories in LIBPATH if there
15.7057 + # are no directories specified by -L.
15.7058 + hardcode_minus_L=yes
15.7059 + if test "$GCC" = yes && test -z "$link_static_flag"; then
15.7060 + # Neither direct hardcoding nor static linking is supported with a
15.7061 + # broken collect2.
15.7062 + hardcode_direct=unsupported
15.7063 + fi
15.7064 + ;;
15.7065 +
15.7066 + aix4* | aix5*)
15.7067 + if test "$host_cpu" = ia64; then
15.7068 + # On IA64, the linker does run time linking by default, so we don't
15.7069 + # have to do anything special.
15.7070 + aix_use_runtimelinking=no
15.7071 + exp_sym_flag='-Bexport'
15.7072 + no_entry_flag=""
15.7073 + else
15.7074 + # If we're using GNU nm, then we don't want the "-C" option.
15.7075 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
15.7076 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15.7077 + 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'
15.7078 + else
15.7079 + 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'
15.7080 + fi
15.7081 + aix_use_runtimelinking=no
15.7082 +
15.7083 + # Test if we are trying to use run time linking or normal
15.7084 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15.7085 + # need to do runtime linking.
15.7086 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15.7087 + for ld_flag in $LDFLAGS; do
15.7088 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15.7089 + aix_use_runtimelinking=yes
15.7090 + break
15.7091 + fi
15.7092 + done
15.7093 + esac
15.7094 +
15.7095 + exp_sym_flag='-bexport'
15.7096 + no_entry_flag='-bnoentry'
15.7097 + fi
15.7098 +
15.7099 + # When large executables or shared objects are built, AIX ld can
15.7100 + # have problems creating the table of contents. If linking a library
15.7101 + # or program results in "error TOC overflow" add -mminimal-toc to
15.7102 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15.7103 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15.7104 +
15.7105 + archive_cmds=''
15.7106 + hardcode_direct=yes
15.7107 + hardcode_libdir_separator=':'
15.7108 + link_all_deplibs=yes
15.7109 +
15.7110 + if test "$GCC" = yes; then
15.7111 + case $host_os in aix4.[012]|aix4.[012].*)
15.7112 + # We only want to do this on AIX 4.2 and lower, the check
15.7113 + # below for broken collect2 doesn't work under 4.3+
15.7114 + collect2name=`${CC} -print-prog-name=collect2`
15.7115 + if test -f "$collect2name" && \
15.7116 + strings "$collect2name" | grep resolve_lib_name >/dev/null
15.7117 + then
15.7118 + # We have reworked collect2
15.7119 + hardcode_direct=yes
15.7120 + else
15.7121 + # We have old collect2
15.7122 + hardcode_direct=unsupported
15.7123 + # It fails to find uninstalled libraries when the uninstalled
15.7124 + # path is not listed in the libpath. Setting hardcode_minus_L
15.7125 + # to unsupported forces relinking
15.7126 + hardcode_minus_L=yes
15.7127 + hardcode_libdir_flag_spec='-L$libdir'
15.7128 + hardcode_libdir_separator=
15.7129 + fi
15.7130 + esac
15.7131 + shared_flag='-shared'
15.7132 + if test "$aix_use_runtimelinking" = yes; then
15.7133 + shared_flag="$shared_flag "'${wl}-G'
15.7134 + fi
15.7135 + else
15.7136 + # not using gcc
15.7137 + if test "$host_cpu" = ia64; then
15.7138 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15.7139 + # chokes on -Wl,-G. The following line is correct:
15.7140 + shared_flag='-G'
15.7141 + else
15.7142 + if test "$aix_use_runtimelinking" = yes; then
15.7143 + shared_flag='${wl}-G'
15.7144 + else
15.7145 + shared_flag='${wl}-bM:SRE'
15.7146 + fi
15.7147 + fi
15.7148 + fi
15.7149 +
15.7150 + # It seems that -bexpall does not export symbols beginning with
15.7151 + # underscore (_), so it is better to generate a list of symbols to export.
15.7152 + always_export_symbols=yes
15.7153 + if test "$aix_use_runtimelinking" = yes; then
15.7154 + # Warning - without using the other runtime loading flags (-brtl),
15.7155 + # -berok will link without error, but may produce a broken library.
15.7156 + allow_undefined_flag='-berok'
15.7157 + # Determine the default libpath from the value encoded in an empty executable.
15.7158 + cat >conftest.$ac_ext <<_ACEOF
15.7159 +/* confdefs.h. */
15.7160 +_ACEOF
15.7161 +cat confdefs.h >>conftest.$ac_ext
15.7162 +cat >>conftest.$ac_ext <<_ACEOF
15.7163 +/* end confdefs.h. */
15.7164 +
15.7165 +int
15.7166 +main ()
15.7167 +{
15.7168 +
15.7169 + ;
15.7170 + return 0;
15.7171 +}
15.7172 +_ACEOF
15.7173 +rm -f conftest.$ac_objext conftest$ac_exeext
15.7174 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.7175 + (eval $ac_link) 2>conftest.er1
15.7176 + ac_status=$?
15.7177 + grep -v '^ *+' conftest.er1 >conftest.err
15.7178 + rm -f conftest.er1
15.7179 + cat conftest.err >&5
15.7180 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.7181 + (exit $ac_status); } &&
15.7182 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.7183 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.7184 + (eval $ac_try) 2>&5
15.7185 + ac_status=$?
15.7186 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.7187 + (exit $ac_status); }; } &&
15.7188 + { ac_try='test -s conftest$ac_exeext'
15.7189 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.7190 + (eval $ac_try) 2>&5
15.7191 + ac_status=$?
15.7192 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.7193 + (exit $ac_status); }; }; then
15.7194 +
15.7195 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15.7196 +}'`
15.7197 +# Check for a 64-bit object if we didn't find anything.
15.7198 +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; }
15.7199 +}'`; fi
15.7200 +else
15.7201 + echo "$as_me: failed program was:" >&5
15.7202 +sed 's/^/| /' conftest.$ac_ext >&5
15.7203 +
15.7204 +fi
15.7205 +rm -f conftest.err conftest.$ac_objext \
15.7206 + conftest$ac_exeext conftest.$ac_ext
15.7207 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15.7208 +
15.7209 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15.7210 + 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"
15.7211 + else
15.7212 + if test "$host_cpu" = ia64; then
15.7213 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15.7214 + allow_undefined_flag="-z nodefs"
15.7215 + 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"
15.7216 + else
15.7217 + # Determine the default libpath from the value encoded in an empty executable.
15.7218 + cat >conftest.$ac_ext <<_ACEOF
15.7219 +/* confdefs.h. */
15.7220 +_ACEOF
15.7221 +cat confdefs.h >>conftest.$ac_ext
15.7222 +cat >>conftest.$ac_ext <<_ACEOF
15.7223 +/* end confdefs.h. */
15.7224 +
15.7225 +int
15.7226 +main ()
15.7227 +{
15.7228 +
15.7229 + ;
15.7230 + return 0;
15.7231 +}
15.7232 +_ACEOF
15.7233 +rm -f conftest.$ac_objext conftest$ac_exeext
15.7234 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.7235 + (eval $ac_link) 2>conftest.er1
15.7236 + ac_status=$?
15.7237 + grep -v '^ *+' conftest.er1 >conftest.err
15.7238 + rm -f conftest.er1
15.7239 + cat conftest.err >&5
15.7240 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.7241 + (exit $ac_status); } &&
15.7242 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.7243 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.7244 + (eval $ac_try) 2>&5
15.7245 + ac_status=$?
15.7246 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.7247 + (exit $ac_status); }; } &&
15.7248 + { ac_try='test -s conftest$ac_exeext'
15.7249 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.7250 + (eval $ac_try) 2>&5
15.7251 + ac_status=$?
15.7252 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.7253 + (exit $ac_status); }; }; then
15.7254 +
15.7255 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15.7256 +}'`
15.7257 +# Check for a 64-bit object if we didn't find anything.
15.7258 +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; }
15.7259 +}'`; fi
15.7260 +else
15.7261 + echo "$as_me: failed program was:" >&5
15.7262 +sed 's/^/| /' conftest.$ac_ext >&5
15.7263 +
15.7264 +fi
15.7265 +rm -f conftest.err conftest.$ac_objext \
15.7266 + conftest$ac_exeext conftest.$ac_ext
15.7267 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15.7268 +
15.7269 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15.7270 + # Warning - without using the other run time loading flags,
15.7271 + # -berok will link without error, but may produce a broken library.
15.7272 + no_undefined_flag=' ${wl}-bernotok'
15.7273 + allow_undefined_flag=' ${wl}-berok'
15.7274 + # -bexpall does not export symbols beginning with underscore (_)
15.7275 + always_export_symbols=yes
15.7276 + # Exported symbols can be pulled into shared objects from archives
15.7277 + whole_archive_flag_spec=' '
15.7278 + archive_cmds_need_lc=yes
15.7279 + # This is similar to how AIX traditionally builds its shared libraries.
15.7280 + 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'
15.7281 + fi
15.7282 + fi
15.7283 + ;;
15.7284 +
15.7285 + amigaos*)
15.7286 + 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)'
15.7287 + hardcode_libdir_flag_spec='-L$libdir'
15.7288 + hardcode_minus_L=yes
15.7289 + # see comment about different semantics on the GNU ld section
15.7290 + ld_shlibs=no
15.7291 + ;;
15.7292 +
15.7293 + bsdi[45]*)
15.7294 + export_dynamic_flag_spec=-rdynamic
15.7295 + ;;
15.7296 +
15.7297 + cygwin* | mingw* | pw32*)
15.7298 + # When not using gcc, we currently assume that we are using
15.7299 + # Microsoft Visual C++.
15.7300 + # hardcode_libdir_flag_spec is actually meaningless, as there is
15.7301 + # no search path for DLLs.
15.7302 + hardcode_libdir_flag_spec=' '
15.7303 + allow_undefined_flag=unsupported
15.7304 + # Tell ltmain to make .lib files, not .a files.
15.7305 + libext=lib
15.7306 + # Tell ltmain to make .dll files, not .so files.
15.7307 + shrext_cmds=".dll"
15.7308 + # FIXME: Setting linknames here is a bad hack.
15.7309 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15.7310 + # The linker will automatically build a .lib file if we build a DLL.
15.7311 + old_archive_From_new_cmds='true'
15.7312 + # FIXME: Should let the user specify the lib program.
15.7313 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
15.7314 + fix_srcfile_path='`cygpath -w "$srcfile"`'
15.7315 + enable_shared_with_static_runtimes=yes
15.7316 + ;;
15.7317 +
15.7318 + darwin* | rhapsody*)
15.7319 + case $host_os in
15.7320 + rhapsody* | darwin1.[012])
15.7321 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
15.7322 + ;;
15.7323 + *) # Darwin 1.3 on
15.7324 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15.7325 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15.7326 + else
15.7327 + case ${MACOSX_DEPLOYMENT_TARGET} in
15.7328 + 10.[012])
15.7329 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15.7330 + ;;
15.7331 + 10.*)
15.7332 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
15.7333 + ;;
15.7334 + esac
15.7335 + fi
15.7336 + ;;
15.7337 + esac
15.7338 + archive_cmds_need_lc=no
15.7339 + hardcode_direct=no
15.7340 + hardcode_automatic=yes
15.7341 + hardcode_shlibpath_var=unsupported
15.7342 + whole_archive_flag_spec=''
15.7343 + link_all_deplibs=yes
15.7344 + if test "$GCC" = yes ; then
15.7345 + output_verbose_link_cmd='echo'
15.7346 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15.7347 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15.7348 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15.7349 + 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}'
15.7350 + 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}'
15.7351 + else
15.7352 + case $cc_basename in
15.7353 + xlc*)
15.7354 + output_verbose_link_cmd='echo'
15.7355 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15.7356 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15.7357 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15.7358 + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15.7359 + 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}'
15.7360 + ;;
15.7361 + *)
15.7362 + ld_shlibs=no
15.7363 + ;;
15.7364 + esac
15.7365 + fi
15.7366 + ;;
15.7367 +
15.7368 + dgux*)
15.7369 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.7370 + hardcode_libdir_flag_spec='-L$libdir'
15.7371 + hardcode_shlibpath_var=no
15.7372 + ;;
15.7373 +
15.7374 + freebsd1*)
15.7375 + ld_shlibs=no
15.7376 + ;;
15.7377 +
15.7378 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15.7379 + # support. Future versions do this automatically, but an explicit c++rt0.o
15.7380 + # does not break anything, and helps significantly (at the cost of a little
15.7381 + # extra space).
15.7382 + freebsd2.2*)
15.7383 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15.7384 + hardcode_libdir_flag_spec='-R$libdir'
15.7385 + hardcode_direct=yes
15.7386 + hardcode_shlibpath_var=no
15.7387 + ;;
15.7388 +
15.7389 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15.7390 + freebsd2*)
15.7391 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15.7392 + hardcode_direct=yes
15.7393 + hardcode_minus_L=yes
15.7394 + hardcode_shlibpath_var=no
15.7395 + ;;
15.7396 +
15.7397 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15.7398 + freebsd* | kfreebsd*-gnu | dragonfly*)
15.7399 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15.7400 + hardcode_libdir_flag_spec='-R$libdir'
15.7401 + hardcode_direct=yes
15.7402 + hardcode_shlibpath_var=no
15.7403 + ;;
15.7404 +
15.7405 + hpux9*)
15.7406 + if test "$GCC" = yes; then
15.7407 + 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'
15.7408 + else
15.7409 + 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'
15.7410 + fi
15.7411 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15.7412 + hardcode_libdir_separator=:
15.7413 + hardcode_direct=yes
15.7414 +
15.7415 + # hardcode_minus_L: Not really in the search PATH,
15.7416 + # but as the default location of the library.
15.7417 + hardcode_minus_L=yes
15.7418 + export_dynamic_flag_spec='${wl}-E'
15.7419 + ;;
15.7420 +
15.7421 + hpux10* | hpux11*)
15.7422 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15.7423 + case $host_cpu in
15.7424 + hppa*64*|ia64*)
15.7425 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.7426 + ;;
15.7427 + *)
15.7428 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15.7429 + ;;
15.7430 + esac
15.7431 + else
15.7432 + case $host_cpu in
15.7433 + hppa*64*|ia64*)
15.7434 + archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15.7435 + ;;
15.7436 + *)
15.7437 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15.7438 + ;;
15.7439 + esac
15.7440 + fi
15.7441 + if test "$with_gnu_ld" = no; then
15.7442 + case $host_cpu in
15.7443 + hppa*64*)
15.7444 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15.7445 + hardcode_libdir_flag_spec_ld='+b $libdir'
15.7446 + hardcode_libdir_separator=:
15.7447 + hardcode_direct=no
15.7448 + hardcode_shlibpath_var=no
15.7449 + ;;
15.7450 + ia64*)
15.7451 + hardcode_libdir_flag_spec='-L$libdir'
15.7452 + hardcode_direct=no
15.7453 + hardcode_shlibpath_var=no
15.7454 +
15.7455 + # hardcode_minus_L: Not really in the search PATH,
15.7456 + # but as the default location of the library.
15.7457 + hardcode_minus_L=yes
15.7458 + ;;
15.7459 + *)
15.7460 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15.7461 + hardcode_libdir_separator=:
15.7462 + hardcode_direct=yes
15.7463 + export_dynamic_flag_spec='${wl}-E'
15.7464 +
15.7465 + # hardcode_minus_L: Not really in the search PATH,
15.7466 + # but as the default location of the library.
15.7467 + hardcode_minus_L=yes
15.7468 + ;;
15.7469 + esac
15.7470 + fi
15.7471 + ;;
15.7472 +
15.7473 + irix5* | irix6* | nonstopux*)
15.7474 + if test "$GCC" = yes; then
15.7475 + 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'
15.7476 + else
15.7477 + 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'
15.7478 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
15.7479 + fi
15.7480 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15.7481 + hardcode_libdir_separator=:
15.7482 + link_all_deplibs=yes
15.7483 + ;;
15.7484 +
15.7485 + netbsd*)
15.7486 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15.7487 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15.7488 + else
15.7489 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15.7490 + fi
15.7491 + hardcode_libdir_flag_spec='-R$libdir'
15.7492 + hardcode_direct=yes
15.7493 + hardcode_shlibpath_var=no
15.7494 + ;;
15.7495 +
15.7496 + newsos6)
15.7497 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.7498 + hardcode_direct=yes
15.7499 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15.7500 + hardcode_libdir_separator=:
15.7501 + hardcode_shlibpath_var=no
15.7502 + ;;
15.7503 +
15.7504 + openbsd*)
15.7505 + hardcode_direct=yes
15.7506 + hardcode_shlibpath_var=no
15.7507 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15.7508 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15.7509 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15.7510 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15.7511 + export_dynamic_flag_spec='${wl}-E'
15.7512 + else
15.7513 + case $host_os in
15.7514 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15.7515 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15.7516 + hardcode_libdir_flag_spec='-R$libdir'
15.7517 + ;;
15.7518 + *)
15.7519 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15.7520 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15.7521 + ;;
15.7522 + esac
15.7523 + fi
15.7524 + ;;
15.7525 +
15.7526 + os2*)
15.7527 + hardcode_libdir_flag_spec='-L$libdir'
15.7528 + hardcode_minus_L=yes
15.7529 + allow_undefined_flag=unsupported
15.7530 + 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'
15.7531 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15.7532 + ;;
15.7533 +
15.7534 + osf3*)
15.7535 + if test "$GCC" = yes; then
15.7536 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15.7537 + 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'
15.7538 + else
15.7539 + allow_undefined_flag=' -expect_unresolved \*'
15.7540 + 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'
15.7541 + fi
15.7542 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15.7543 + hardcode_libdir_separator=:
15.7544 + ;;
15.7545 +
15.7546 + osf4* | osf5*) # as osf3* with the addition of -msym flag
15.7547 + if test "$GCC" = yes; then
15.7548 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
15.7549 + 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'
15.7550 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15.7551 + else
15.7552 + allow_undefined_flag=' -expect_unresolved \*'
15.7553 + 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'
15.7554 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15.7555 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15.7556 +
15.7557 + # Both c and cxx compiler support -rpath directly
15.7558 + hardcode_libdir_flag_spec='-rpath $libdir'
15.7559 + fi
15.7560 + hardcode_libdir_separator=:
15.7561 + ;;
15.7562 +
15.7563 + sco3.2v5*)
15.7564 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.7565 + hardcode_shlibpath_var=no
15.7566 + export_dynamic_flag_spec='${wl}-Bexport'
15.7567 + runpath_var=LD_RUN_PATH
15.7568 + hardcode_runpath_var=yes
15.7569 + ;;
15.7570 +
15.7571 + solaris*)
15.7572 + no_undefined_flag=' -z text'
15.7573 + if test "$GCC" = yes; then
15.7574 + wlarc='${wl}'
15.7575 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.7576 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.7577 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15.7578 + else
15.7579 + wlarc=''
15.7580 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.7581 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.7582 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15.7583 + fi
15.7584 + hardcode_libdir_flag_spec='-R$libdir'
15.7585 + hardcode_shlibpath_var=no
15.7586 + case $host_os in
15.7587 + solaris2.[0-5] | solaris2.[0-5].*) ;;
15.7588 + *)
15.7589 + # The compiler driver will combine linker options so we
15.7590 + # cannot just pass the convience library names through
15.7591 + # without $wl, iff we do not link with $LD.
15.7592 + # Luckily, gcc supports the same syntax we need for Sun Studio.
15.7593 + # Supported since Solaris 2.6 (maybe 2.5.1?)
15.7594 + case $wlarc in
15.7595 + '')
15.7596 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
15.7597 + *)
15.7598 + whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15.7599 + esac ;;
15.7600 + esac
15.7601 + link_all_deplibs=yes
15.7602 + ;;
15.7603 +
15.7604 + sunos4*)
15.7605 + if test "x$host_vendor" = xsequent; then
15.7606 + # Use $CC to link under sequent, because it throws in some extra .o
15.7607 + # files that make .init and .fini sections work.
15.7608 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15.7609 + else
15.7610 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15.7611 + fi
15.7612 + hardcode_libdir_flag_spec='-L$libdir'
15.7613 + hardcode_direct=yes
15.7614 + hardcode_minus_L=yes
15.7615 + hardcode_shlibpath_var=no
15.7616 + ;;
15.7617 +
15.7618 + sysv4)
15.7619 + case $host_vendor in
15.7620 + sni)
15.7621 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.7622 + hardcode_direct=yes # is this really true???
15.7623 + ;;
15.7624 + siemens)
15.7625 + ## LD is ld it makes a PLAMLIB
15.7626 + ## CC just makes a GrossModule.
15.7627 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15.7628 + reload_cmds='$CC -r -o $output$reload_objs'
15.7629 + hardcode_direct=no
15.7630 + ;;
15.7631 + motorola)
15.7632 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.7633 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
15.7634 + ;;
15.7635 + esac
15.7636 + runpath_var='LD_RUN_PATH'
15.7637 + hardcode_shlibpath_var=no
15.7638 + ;;
15.7639 +
15.7640 + sysv4.3*)
15.7641 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.7642 + hardcode_shlibpath_var=no
15.7643 + export_dynamic_flag_spec='-Bexport'
15.7644 + ;;
15.7645 +
15.7646 + sysv4*MP*)
15.7647 + if test -d /usr/nec; then
15.7648 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.7649 + hardcode_shlibpath_var=no
15.7650 + runpath_var=LD_RUN_PATH
15.7651 + hardcode_runpath_var=yes
15.7652 + ld_shlibs=yes
15.7653 + fi
15.7654 + ;;
15.7655 +
15.7656 + sysv4.2uw2*)
15.7657 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15.7658 + hardcode_direct=yes
15.7659 + hardcode_minus_L=no
15.7660 + hardcode_shlibpath_var=no
15.7661 + hardcode_runpath_var=yes
15.7662 + runpath_var=LD_RUN_PATH
15.7663 + ;;
15.7664 +
15.7665 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
15.7666 + no_undefined_flag='${wl}-z ${wl}text'
15.7667 + if test "$GCC" = yes; then
15.7668 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.7669 + else
15.7670 + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.7671 + fi
15.7672 + runpath_var='LD_RUN_PATH'
15.7673 + hardcode_shlibpath_var=no
15.7674 + ;;
15.7675 +
15.7676 + sysv5*)
15.7677 + no_undefined_flag=' -z text'
15.7678 + # $CC -shared without GNU ld will not create a library from C++
15.7679 + # object files and a static libstdc++, better avoid it by now
15.7680 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.7681 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.7682 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15.7683 + hardcode_libdir_flag_spec=
15.7684 + hardcode_shlibpath_var=no
15.7685 + runpath_var='LD_RUN_PATH'
15.7686 + ;;
15.7687 +
15.7688 + uts4*)
15.7689 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.7690 + hardcode_libdir_flag_spec='-L$libdir'
15.7691 + hardcode_shlibpath_var=no
15.7692 + ;;
15.7693 +
15.7694 + *)
15.7695 + ld_shlibs=no
15.7696 + ;;
15.7697 + esac
15.7698 + fi
15.7699 +
15.7700 +echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15.7701 +echo "${ECHO_T}$ld_shlibs" >&6
15.7702 +test "$ld_shlibs" = no && can_build_shared=no
15.7703 +
15.7704 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15.7705 +if test "$GCC" = yes; then
15.7706 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15.7707 +fi
15.7708 +
15.7709 +#
15.7710 +# Do we need to explicitly link libc?
15.7711 +#
15.7712 +case "x$archive_cmds_need_lc" in
15.7713 +x|xyes)
15.7714 + # Assume -lc should be added
15.7715 + archive_cmds_need_lc=yes
15.7716 +
15.7717 + if test "$enable_shared" = yes && test "$GCC" = yes; then
15.7718 + case $archive_cmds in
15.7719 + *'~'*)
15.7720 + # FIXME: we may have to deal with multi-command sequences.
15.7721 + ;;
15.7722 + '$CC '*)
15.7723 + # Test whether the compiler implicitly links with -lc since on some
15.7724 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
15.7725 + # to ld, don't add -lc before -lgcc.
15.7726 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15.7727 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15.7728 + $rm conftest*
15.7729 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.7730 +
15.7731 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.7732 + (eval $ac_compile) 2>&5
15.7733 + ac_status=$?
15.7734 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.7735 + (exit $ac_status); } 2>conftest.err; then
15.7736 + soname=conftest
15.7737 + lib=conftest
15.7738 + libobjs=conftest.$ac_objext
15.7739 + deplibs=
15.7740 + wl=$lt_prog_compiler_wl
15.7741 + compiler_flags=-v
15.7742 + linker_flags=-v
15.7743 + verstring=
15.7744 + output_objdir=.
15.7745 + libname=conftest
15.7746 + lt_save_allow_undefined_flag=$allow_undefined_flag
15.7747 + allow_undefined_flag=
15.7748 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15.7749 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15.7750 + ac_status=$?
15.7751 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.7752 + (exit $ac_status); }
15.7753 + then
15.7754 + archive_cmds_need_lc=no
15.7755 + else
15.7756 + archive_cmds_need_lc=yes
15.7757 + fi
15.7758 + allow_undefined_flag=$lt_save_allow_undefined_flag
15.7759 + else
15.7760 + cat conftest.err 1>&5
15.7761 + fi
15.7762 + $rm conftest*
15.7763 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15.7764 +echo "${ECHO_T}$archive_cmds_need_lc" >&6
15.7765 + ;;
15.7766 + esac
15.7767 + fi
15.7768 + ;;
15.7769 +esac
15.7770 +
15.7771 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15.7772 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15.7773 +library_names_spec=
15.7774 +libname_spec='lib$name'
15.7775 +soname_spec=
15.7776 +shrext_cmds=".so"
15.7777 +postinstall_cmds=
15.7778 +postuninstall_cmds=
15.7779 +finish_cmds=
15.7780 +finish_eval=
15.7781 +shlibpath_var=
15.7782 +shlibpath_overrides_runpath=unknown
15.7783 +version_type=none
15.7784 +dynamic_linker="$host_os ld.so"
15.7785 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
15.7786 +if test "$GCC" = yes; then
15.7787 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15.7788 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15.7789 + # if the path contains ";" then we assume it to be the separator
15.7790 + # otherwise default to the standard path separator (i.e. ":") - it is
15.7791 + # assumed that no part of a normal pathname contains ";" but that should
15.7792 + # okay in the real world where ";" in dirpaths is itself problematic.
15.7793 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15.7794 + else
15.7795 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15.7796 + fi
15.7797 +else
15.7798 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15.7799 +fi
15.7800 +need_lib_prefix=unknown
15.7801 +hardcode_into_libs=no
15.7802 +
15.7803 +# when you set need_version to no, make sure it does not cause -set_version
15.7804 +# flags to be left without arguments
15.7805 +need_version=unknown
15.7806 +
15.7807 +case $host_os in
15.7808 +aix3*)
15.7809 + version_type=linux
15.7810 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15.7811 + shlibpath_var=LIBPATH
15.7812 +
15.7813 + # AIX 3 has no versioning support, so we append a major version to the name.
15.7814 + soname_spec='${libname}${release}${shared_ext}$major'
15.7815 + ;;
15.7816 +
15.7817 +aix4* | aix5*)
15.7818 + version_type=linux
15.7819 + need_lib_prefix=no
15.7820 + need_version=no
15.7821 + hardcode_into_libs=yes
15.7822 + if test "$host_cpu" = ia64; then
15.7823 + # AIX 5 supports IA64
15.7824 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15.7825 + shlibpath_var=LD_LIBRARY_PATH
15.7826 + else
15.7827 + # With GCC up to 2.95.x, collect2 would create an import file
15.7828 + # for dependence libraries. The import file would start with
15.7829 + # the line `#! .'. This would cause the generated library to
15.7830 + # depend on `.', always an invalid library. This was fixed in
15.7831 + # development snapshots of GCC prior to 3.0.
15.7832 + case $host_os in
15.7833 + aix4 | aix4.[01] | aix4.[01].*)
15.7834 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15.7835 + echo ' yes '
15.7836 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15.7837 + :
15.7838 + else
15.7839 + can_build_shared=no
15.7840 + fi
15.7841 + ;;
15.7842 + esac
15.7843 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15.7844 + # soname into executable. Probably we can add versioning support to
15.7845 + # collect2, so additional links can be useful in future.
15.7846 + if test "$aix_use_runtimelinking" = yes; then
15.7847 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15.7848 + # instead of lib<name>.a to let people know that these are not
15.7849 + # typical AIX shared libraries.
15.7850 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.7851 + else
15.7852 + # We preserve .a as extension for shared libraries through AIX4.2
15.7853 + # and later when we are not doing run time linking.
15.7854 + library_names_spec='${libname}${release}.a $libname.a'
15.7855 + soname_spec='${libname}${release}${shared_ext}$major'
15.7856 + fi
15.7857 + shlibpath_var=LIBPATH
15.7858 + fi
15.7859 + ;;
15.7860 +
15.7861 +amigaos*)
15.7862 + library_names_spec='$libname.ixlibrary $libname.a'
15.7863 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
15.7864 + 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'
15.7865 + ;;
15.7866 +
15.7867 +beos*)
15.7868 + library_names_spec='${libname}${shared_ext}'
15.7869 + dynamic_linker="$host_os ld.so"
15.7870 + shlibpath_var=LIBRARY_PATH
15.7871 + ;;
15.7872 +
15.7873 +bsdi[45]*)
15.7874 + version_type=linux
15.7875 + need_version=no
15.7876 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.7877 + soname_spec='${libname}${release}${shared_ext}$major'
15.7878 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15.7879 + shlibpath_var=LD_LIBRARY_PATH
15.7880 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15.7881 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15.7882 + # the default ld.so.conf also contains /usr/contrib/lib and
15.7883 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15.7884 + # libtool to hard-code these into programs
15.7885 + ;;
15.7886 +
15.7887 +cygwin* | mingw* | pw32*)
15.7888 + version_type=windows
15.7889 + shrext_cmds=".dll"
15.7890 + need_version=no
15.7891 + need_lib_prefix=no
15.7892 +
15.7893 + case $GCC,$host_os in
15.7894 + yes,cygwin* | yes,mingw* | yes,pw32*)
15.7895 + library_names_spec='$libname.dll.a'
15.7896 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
15.7897 + postinstall_cmds='base_file=`basename \${file}`~
15.7898 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15.7899 + dldir=$destdir/`dirname \$dlpath`~
15.7900 + test -d \$dldir || mkdir -p \$dldir~
15.7901 + $install_prog $dir/$dlname \$dldir/$dlname~
15.7902 + chmod a+x \$dldir/$dlname'
15.7903 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15.7904 + dlpath=$dir/\$dldll~
15.7905 + $rm \$dlpath'
15.7906 + shlibpath_overrides_runpath=yes
15.7907 +
15.7908 + case $host_os in
15.7909 + cygwin*)
15.7910 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15.7911 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.7912 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15.7913 + ;;
15.7914 + mingw*)
15.7915 + # MinGW DLLs use traditional 'lib' prefix
15.7916 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.7917 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15.7918 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15.7919 + # It is most probably a Windows format PATH printed by
15.7920 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
15.7921 + # path with ; separators, and with drive letters. We can handle the
15.7922 + # drive letters (cygwin fileutils understands them), so leave them,
15.7923 + # especially as we might pass files found there to a mingw objdump,
15.7924 + # which wouldn't understand a cygwinified path. Ahh.
15.7925 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15.7926 + else
15.7927 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15.7928 + fi
15.7929 + ;;
15.7930 + pw32*)
15.7931 + # pw32 DLLs use 'pw' prefix rather than 'lib'
15.7932 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.7933 + ;;
15.7934 + esac
15.7935 + ;;
15.7936 +
15.7937 + *)
15.7938 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15.7939 + ;;
15.7940 + esac
15.7941 + dynamic_linker='Win32 ld.exe'
15.7942 + # FIXME: first we should search . and the directory the executable is in
15.7943 + shlibpath_var=PATH
15.7944 + ;;
15.7945 +
15.7946 +darwin* | rhapsody*)
15.7947 + dynamic_linker="$host_os dyld"
15.7948 + version_type=darwin
15.7949 + need_lib_prefix=no
15.7950 + need_version=no
15.7951 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15.7952 + soname_spec='${libname}${release}${major}$shared_ext'
15.7953 + shlibpath_overrides_runpath=yes
15.7954 + shlibpath_var=DYLD_LIBRARY_PATH
15.7955 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15.7956 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15.7957 + if test "$GCC" = yes; then
15.7958 + 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"`
15.7959 + else
15.7960 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15.7961 + fi
15.7962 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15.7963 + ;;
15.7964 +
15.7965 +dgux*)
15.7966 + version_type=linux
15.7967 + need_lib_prefix=no
15.7968 + need_version=no
15.7969 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15.7970 + soname_spec='${libname}${release}${shared_ext}$major'
15.7971 + shlibpath_var=LD_LIBRARY_PATH
15.7972 + ;;
15.7973 +
15.7974 +freebsd1*)
15.7975 + dynamic_linker=no
15.7976 + ;;
15.7977 +
15.7978 +kfreebsd*-gnu)
15.7979 + version_type=linux
15.7980 + need_lib_prefix=no
15.7981 + need_version=no
15.7982 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.7983 + soname_spec='${libname}${release}${shared_ext}$major'
15.7984 + shlibpath_var=LD_LIBRARY_PATH
15.7985 + shlibpath_overrides_runpath=no
15.7986 + hardcode_into_libs=yes
15.7987 + dynamic_linker='GNU ld.so'
15.7988 + ;;
15.7989 +
15.7990 +freebsd* | dragonfly*)
15.7991 + # DragonFly does not have aout. When/if they implement a new
15.7992 + # versioning mechanism, adjust this.
15.7993 + if test -x /usr/bin/objformat; then
15.7994 + objformat=`/usr/bin/objformat`
15.7995 + else
15.7996 + case $host_os in
15.7997 + freebsd[123]*) objformat=aout ;;
15.7998 + *) objformat=elf ;;
15.7999 + esac
15.8000 + fi
15.8001 + version_type=freebsd-$objformat
15.8002 + case $version_type in
15.8003 + freebsd-elf*)
15.8004 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15.8005 + need_version=no
15.8006 + need_lib_prefix=no
15.8007 + ;;
15.8008 + freebsd-*)
15.8009 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15.8010 + need_version=yes
15.8011 + ;;
15.8012 + esac
15.8013 + shlibpath_var=LD_LIBRARY_PATH
15.8014 + case $host_os in
15.8015 + freebsd2*)
15.8016 + shlibpath_overrides_runpath=yes
15.8017 + ;;
15.8018 + freebsd3.[01]* | freebsdelf3.[01]*)
15.8019 + shlibpath_overrides_runpath=yes
15.8020 + hardcode_into_libs=yes
15.8021 + ;;
15.8022 + *) # from 3.2 on
15.8023 + shlibpath_overrides_runpath=no
15.8024 + hardcode_into_libs=yes
15.8025 + ;;
15.8026 + esac
15.8027 + ;;
15.8028 +
15.8029 +gnu*)
15.8030 + version_type=linux
15.8031 + need_lib_prefix=no
15.8032 + need_version=no
15.8033 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15.8034 + soname_spec='${libname}${release}${shared_ext}$major'
15.8035 + shlibpath_var=LD_LIBRARY_PATH
15.8036 + hardcode_into_libs=yes
15.8037 + ;;
15.8038 +
15.8039 +hpux9* | hpux10* | hpux11*)
15.8040 + # Give a soname corresponding to the major version so that dld.sl refuses to
15.8041 + # link against other versions.
15.8042 + version_type=sunos
15.8043 + need_lib_prefix=no
15.8044 + need_version=no
15.8045 + case $host_cpu in
15.8046 + ia64*)
15.8047 + shrext_cmds='.so'
15.8048 + hardcode_into_libs=yes
15.8049 + dynamic_linker="$host_os dld.so"
15.8050 + shlibpath_var=LD_LIBRARY_PATH
15.8051 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15.8052 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.8053 + soname_spec='${libname}${release}${shared_ext}$major'
15.8054 + if test "X$HPUX_IA64_MODE" = X32; then
15.8055 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15.8056 + else
15.8057 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15.8058 + fi
15.8059 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15.8060 + ;;
15.8061 + hppa*64*)
15.8062 + shrext_cmds='.sl'
15.8063 + hardcode_into_libs=yes
15.8064 + dynamic_linker="$host_os dld.sl"
15.8065 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15.8066 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15.8067 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.8068 + soname_spec='${libname}${release}${shared_ext}$major'
15.8069 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15.8070 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15.8071 + ;;
15.8072 + *)
15.8073 + shrext_cmds='.sl'
15.8074 + dynamic_linker="$host_os dld.sl"
15.8075 + shlibpath_var=SHLIB_PATH
15.8076 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15.8077 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.8078 + soname_spec='${libname}${release}${shared_ext}$major'
15.8079 + ;;
15.8080 + esac
15.8081 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
15.8082 + postinstall_cmds='chmod 555 $lib'
15.8083 + ;;
15.8084 +
15.8085 +irix5* | irix6* | nonstopux*)
15.8086 + case $host_os in
15.8087 + nonstopux*) version_type=nonstopux ;;
15.8088 + *)
15.8089 + if test "$lt_cv_prog_gnu_ld" = yes; then
15.8090 + version_type=linux
15.8091 + else
15.8092 + version_type=irix
15.8093 + fi ;;
15.8094 + esac
15.8095 + need_lib_prefix=no
15.8096 + need_version=no
15.8097 + soname_spec='${libname}${release}${shared_ext}$major'
15.8098 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15.8099 + case $host_os in
15.8100 + irix5* | nonstopux*)
15.8101 + libsuff= shlibsuff=
15.8102 + ;;
15.8103 + *)
15.8104 + case $LD in # libtool.m4 will add one of these switches to LD
15.8105 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15.8106 + libsuff= shlibsuff= libmagic=32-bit;;
15.8107 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15.8108 + libsuff=32 shlibsuff=N32 libmagic=N32;;
15.8109 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15.8110 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
15.8111 + *) libsuff= shlibsuff= libmagic=never-match;;
15.8112 + esac
15.8113 + ;;
15.8114 + esac
15.8115 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15.8116 + shlibpath_overrides_runpath=no
15.8117 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15.8118 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15.8119 + hardcode_into_libs=yes
15.8120 + ;;
15.8121 +
15.8122 +# No shared lib support for Linux oldld, aout, or coff.
15.8123 +linux*oldld* | linux*aout* | linux*coff*)
15.8124 + dynamic_linker=no
15.8125 + ;;
15.8126 +
15.8127 +# This must be Linux ELF.
15.8128 +linux*)
15.8129 + version_type=linux
15.8130 + need_lib_prefix=no
15.8131 + need_version=no
15.8132 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.8133 + soname_spec='${libname}${release}${shared_ext}$major'
15.8134 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15.8135 + shlibpath_var=LD_LIBRARY_PATH
15.8136 + shlibpath_overrides_runpath=no
15.8137 + # This implies no fast_install, which is unacceptable.
15.8138 + # Some rework will be needed to allow for fast_install
15.8139 + # before this can be enabled.
15.8140 + hardcode_into_libs=yes
15.8141 +
15.8142 + # Append ld.so.conf contents to the search path
15.8143 + if test -f /etc/ld.so.conf; then
15.8144 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15.8145 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15.8146 + fi
15.8147 +
15.8148 + # We used to test for /lib/ld.so.1 and disable shared libraries on
15.8149 + # powerpc, because MkLinux only supported shared libraries with the
15.8150 + # GNU dynamic linker. Since this was broken with cross compilers,
15.8151 + # most powerpc-linux boxes support dynamic linking these days and
15.8152 + # people can always --disable-shared, the test was removed, and we
15.8153 + # assume the GNU/Linux dynamic linker is in use.
15.8154 + dynamic_linker='GNU/Linux ld.so'
15.8155 + ;;
15.8156 +
15.8157 +knetbsd*-gnu)
15.8158 + version_type=linux
15.8159 + need_lib_prefix=no
15.8160 + need_version=no
15.8161 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.8162 + soname_spec='${libname}${release}${shared_ext}$major'
15.8163 + shlibpath_var=LD_LIBRARY_PATH
15.8164 + shlibpath_overrides_runpath=no
15.8165 + hardcode_into_libs=yes
15.8166 + dynamic_linker='GNU ld.so'
15.8167 + ;;
15.8168 +
15.8169 +netbsd*)
15.8170 + version_type=sunos
15.8171 + need_lib_prefix=no
15.8172 + need_version=no
15.8173 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15.8174 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.8175 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15.8176 + dynamic_linker='NetBSD (a.out) ld.so'
15.8177 + else
15.8178 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.8179 + soname_spec='${libname}${release}${shared_ext}$major'
15.8180 + dynamic_linker='NetBSD ld.elf_so'
15.8181 + fi
15.8182 + shlibpath_var=LD_LIBRARY_PATH
15.8183 + shlibpath_overrides_runpath=yes
15.8184 + hardcode_into_libs=yes
15.8185 + ;;
15.8186 +
15.8187 +newsos6)
15.8188 + version_type=linux
15.8189 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.8190 + shlibpath_var=LD_LIBRARY_PATH
15.8191 + shlibpath_overrides_runpath=yes
15.8192 + ;;
15.8193 +
15.8194 +nto-qnx*)
15.8195 + version_type=linux
15.8196 + need_lib_prefix=no
15.8197 + need_version=no
15.8198 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.8199 + soname_spec='${libname}${release}${shared_ext}$major'
15.8200 + shlibpath_var=LD_LIBRARY_PATH
15.8201 + shlibpath_overrides_runpath=yes
15.8202 + ;;
15.8203 +
15.8204 +openbsd*)
15.8205 + version_type=sunos
15.8206 + need_lib_prefix=no
15.8207 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15.8208 + case $host_os in
15.8209 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15.8210 + *) need_version=no ;;
15.8211 + esac
15.8212 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.8213 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15.8214 + shlibpath_var=LD_LIBRARY_PATH
15.8215 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15.8216 + case $host_os in
15.8217 + openbsd2.[89] | openbsd2.[89].*)
15.8218 + shlibpath_overrides_runpath=no
15.8219 + ;;
15.8220 + *)
15.8221 + shlibpath_overrides_runpath=yes
15.8222 + ;;
15.8223 + esac
15.8224 + else
15.8225 + shlibpath_overrides_runpath=yes
15.8226 + fi
15.8227 + ;;
15.8228 +
15.8229 +os2*)
15.8230 + libname_spec='$name'
15.8231 + shrext_cmds=".dll"
15.8232 + need_lib_prefix=no
15.8233 + library_names_spec='$libname${shared_ext} $libname.a'
15.8234 + dynamic_linker='OS/2 ld.exe'
15.8235 + shlibpath_var=LIBPATH
15.8236 + ;;
15.8237 +
15.8238 +osf3* | osf4* | osf5*)
15.8239 + version_type=osf
15.8240 + need_lib_prefix=no
15.8241 + need_version=no
15.8242 + soname_spec='${libname}${release}${shared_ext}$major'
15.8243 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.8244 + shlibpath_var=LD_LIBRARY_PATH
15.8245 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15.8246 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15.8247 + ;;
15.8248 +
15.8249 +sco3.2v5*)
15.8250 + version_type=osf
15.8251 + soname_spec='${libname}${release}${shared_ext}$major'
15.8252 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.8253 + shlibpath_var=LD_LIBRARY_PATH
15.8254 + ;;
15.8255 +
15.8256 +solaris*)
15.8257 + version_type=linux
15.8258 + need_lib_prefix=no
15.8259 + need_version=no
15.8260 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.8261 + soname_spec='${libname}${release}${shared_ext}$major'
15.8262 + shlibpath_var=LD_LIBRARY_PATH
15.8263 + shlibpath_overrides_runpath=yes
15.8264 + hardcode_into_libs=yes
15.8265 + # ldd complains unless libraries are executable
15.8266 + postinstall_cmds='chmod +x $lib'
15.8267 + ;;
15.8268 +
15.8269 +sunos4*)
15.8270 + version_type=sunos
15.8271 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.8272 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15.8273 + shlibpath_var=LD_LIBRARY_PATH
15.8274 + shlibpath_overrides_runpath=yes
15.8275 + if test "$with_gnu_ld" = yes; then
15.8276 + need_lib_prefix=no
15.8277 + fi
15.8278 + need_version=yes
15.8279 + ;;
15.8280 +
15.8281 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15.8282 + version_type=linux
15.8283 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.8284 + soname_spec='${libname}${release}${shared_ext}$major'
15.8285 + shlibpath_var=LD_LIBRARY_PATH
15.8286 + case $host_vendor in
15.8287 + sni)
15.8288 + shlibpath_overrides_runpath=no
15.8289 + need_lib_prefix=no
15.8290 + export_dynamic_flag_spec='${wl}-Blargedynsym'
15.8291 + runpath_var=LD_RUN_PATH
15.8292 + ;;
15.8293 + siemens)
15.8294 + need_lib_prefix=no
15.8295 + ;;
15.8296 + motorola)
15.8297 + need_lib_prefix=no
15.8298 + need_version=no
15.8299 + shlibpath_overrides_runpath=no
15.8300 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15.8301 + ;;
15.8302 + esac
15.8303 + ;;
15.8304 +
15.8305 +sysv4*MP*)
15.8306 + if test -d /usr/nec ;then
15.8307 + version_type=linux
15.8308 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15.8309 + soname_spec='$libname${shared_ext}.$major'
15.8310 + shlibpath_var=LD_LIBRARY_PATH
15.8311 + fi
15.8312 + ;;
15.8313 +
15.8314 +uts4*)
15.8315 + version_type=linux
15.8316 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.8317 + soname_spec='${libname}${release}${shared_ext}$major'
15.8318 + shlibpath_var=LD_LIBRARY_PATH
15.8319 + ;;
15.8320 +
15.8321 +*)
15.8322 + dynamic_linker=no
15.8323 + ;;
15.8324 +esac
15.8325 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15.8326 +echo "${ECHO_T}$dynamic_linker" >&6
15.8327 +test "$dynamic_linker" = no && can_build_shared=no
15.8328 +
15.8329 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15.8330 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15.8331 +hardcode_action=
15.8332 +if test -n "$hardcode_libdir_flag_spec" || \
15.8333 + test -n "$runpath_var" || \
15.8334 + test "X$hardcode_automatic" = "Xyes" ; then
15.8335 +
15.8336 + # We can hardcode non-existant directories.
15.8337 + if test "$hardcode_direct" != no &&
15.8338 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
15.8339 + # have to relink, otherwise we might link with an installed library
15.8340 + # when we should be linking with a yet-to-be-installed one
15.8341 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
15.8342 + test "$hardcode_minus_L" != no; then
15.8343 + # Linking always hardcodes the temporary library directory.
15.8344 + hardcode_action=relink
15.8345 + else
15.8346 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
15.8347 + hardcode_action=immediate
15.8348 + fi
15.8349 +else
15.8350 + # We cannot hardcode anything, or else we can only hardcode existing
15.8351 + # directories.
15.8352 + hardcode_action=unsupported
15.8353 +fi
15.8354 +echo "$as_me:$LINENO: result: $hardcode_action" >&5
15.8355 +echo "${ECHO_T}$hardcode_action" >&6
15.8356 +
15.8357 +if test "$hardcode_action" = relink; then
15.8358 + # Fast installation is not supported
15.8359 + enable_fast_install=no
15.8360 +elif test "$shlibpath_overrides_runpath" = yes ||
15.8361 + test "$enable_shared" = no; then
15.8362 + # Fast installation is not necessary
15.8363 + enable_fast_install=needless
15.8364 +fi
15.8365 +
15.8366 +striplib=
15.8367 +old_striplib=
15.8368 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15.8369 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15.8370 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15.8371 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15.8372 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15.8373 + echo "$as_me:$LINENO: result: yes" >&5
15.8374 +echo "${ECHO_T}yes" >&6
15.8375 +else
15.8376 +# FIXME - insert some real tests, host_os isn't really good enough
15.8377 + case $host_os in
15.8378 + darwin*)
15.8379 + if test -n "$STRIP" ; then
15.8380 + striplib="$STRIP -x"
15.8381 + echo "$as_me:$LINENO: result: yes" >&5
15.8382 +echo "${ECHO_T}yes" >&6
15.8383 + else
15.8384 + echo "$as_me:$LINENO: result: no" >&5
15.8385 +echo "${ECHO_T}no" >&6
15.8386 +fi
15.8387 + ;;
15.8388 + *)
15.8389 + echo "$as_me:$LINENO: result: no" >&5
15.8390 +echo "${ECHO_T}no" >&6
15.8391 + ;;
15.8392 + esac
15.8393 +fi
15.8394 +
15.8395 +if test "x$enable_dlopen" != xyes; then
15.8396 + enable_dlopen=unknown
15.8397 + enable_dlopen_self=unknown
15.8398 + enable_dlopen_self_static=unknown
15.8399 +else
15.8400 + lt_cv_dlopen=no
15.8401 + lt_cv_dlopen_libs=
15.8402 +
15.8403 + case $host_os in
15.8404 + beos*)
15.8405 + lt_cv_dlopen="load_add_on"
15.8406 + lt_cv_dlopen_libs=
15.8407 + lt_cv_dlopen_self=yes
15.8408 + ;;
15.8409 +
15.8410 + mingw* | pw32*)
15.8411 + lt_cv_dlopen="LoadLibrary"
15.8412 + lt_cv_dlopen_libs=
15.8413 + ;;
15.8414 +
15.8415 + cygwin*)
15.8416 + lt_cv_dlopen="dlopen"
15.8417 + lt_cv_dlopen_libs=
15.8418 + ;;
15.8419 +
15.8420 + darwin*)
15.8421 + # if libdl is installed we need to link against it
15.8422 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15.8423 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15.8424 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15.8425 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.8426 +else
15.8427 + ac_check_lib_save_LIBS=$LIBS
15.8428 +LIBS="-ldl $LIBS"
15.8429 +cat >conftest.$ac_ext <<_ACEOF
15.8430 +/* confdefs.h. */
15.8431 +_ACEOF
15.8432 +cat confdefs.h >>conftest.$ac_ext
15.8433 +cat >>conftest.$ac_ext <<_ACEOF
15.8434 +/* end confdefs.h. */
15.8435 +
15.8436 +/* Override any gcc2 internal prototype to avoid an error. */
15.8437 +#ifdef __cplusplus
15.8438 +extern "C"
15.8439 +#endif
15.8440 +/* We use char because int might match the return type of a gcc2
15.8441 + builtin and then its argument prototype would still apply. */
15.8442 +char dlopen ();
15.8443 +int
15.8444 +main ()
15.8445 +{
15.8446 +dlopen ();
15.8447 + ;
15.8448 + return 0;
15.8449 +}
15.8450 +_ACEOF
15.8451 +rm -f conftest.$ac_objext conftest$ac_exeext
15.8452 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.8453 + (eval $ac_link) 2>conftest.er1
15.8454 + ac_status=$?
15.8455 + grep -v '^ *+' conftest.er1 >conftest.err
15.8456 + rm -f conftest.er1
15.8457 + cat conftest.err >&5
15.8458 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8459 + (exit $ac_status); } &&
15.8460 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.8461 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8462 + (eval $ac_try) 2>&5
15.8463 + ac_status=$?
15.8464 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8465 + (exit $ac_status); }; } &&
15.8466 + { ac_try='test -s conftest$ac_exeext'
15.8467 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8468 + (eval $ac_try) 2>&5
15.8469 + ac_status=$?
15.8470 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8471 + (exit $ac_status); }; }; then
15.8472 + ac_cv_lib_dl_dlopen=yes
15.8473 +else
15.8474 + echo "$as_me: failed program was:" >&5
15.8475 +sed 's/^/| /' conftest.$ac_ext >&5
15.8476 +
15.8477 +ac_cv_lib_dl_dlopen=no
15.8478 +fi
15.8479 +rm -f conftest.err conftest.$ac_objext \
15.8480 + conftest$ac_exeext conftest.$ac_ext
15.8481 +LIBS=$ac_check_lib_save_LIBS
15.8482 +fi
15.8483 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15.8484 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15.8485 +if test $ac_cv_lib_dl_dlopen = yes; then
15.8486 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15.8487 +else
15.8488 +
15.8489 + lt_cv_dlopen="dyld"
15.8490 + lt_cv_dlopen_libs=
15.8491 + lt_cv_dlopen_self=yes
15.8492 +
15.8493 +fi
15.8494 +
15.8495 + ;;
15.8496 +
15.8497 + *)
15.8498 + echo "$as_me:$LINENO: checking for shl_load" >&5
15.8499 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
15.8500 +if test "${ac_cv_func_shl_load+set}" = set; then
15.8501 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.8502 +else
15.8503 + cat >conftest.$ac_ext <<_ACEOF
15.8504 +/* confdefs.h. */
15.8505 +_ACEOF
15.8506 +cat confdefs.h >>conftest.$ac_ext
15.8507 +cat >>conftest.$ac_ext <<_ACEOF
15.8508 +/* end confdefs.h. */
15.8509 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15.8510 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
15.8511 +#define shl_load innocuous_shl_load
15.8512 +
15.8513 +/* System header to define __stub macros and hopefully few prototypes,
15.8514 + which can conflict with char shl_load (); below.
15.8515 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.8516 + <limits.h> exists even on freestanding compilers. */
15.8517 +
15.8518 +#ifdef __STDC__
15.8519 +# include <limits.h>
15.8520 +#else
15.8521 +# include <assert.h>
15.8522 +#endif
15.8523 +
15.8524 +#undef shl_load
15.8525 +
15.8526 +/* Override any gcc2 internal prototype to avoid an error. */
15.8527 +#ifdef __cplusplus
15.8528 +extern "C"
15.8529 +{
15.8530 +#endif
15.8531 +/* We use char because int might match the return type of a gcc2
15.8532 + builtin and then its argument prototype would still apply. */
15.8533 +char shl_load ();
15.8534 +/* The GNU C library defines this for functions which it implements
15.8535 + to always fail with ENOSYS. Some functions are actually named
15.8536 + something starting with __ and the normal name is an alias. */
15.8537 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
15.8538 +choke me
15.8539 +#else
15.8540 +char (*f) () = shl_load;
15.8541 +#endif
15.8542 +#ifdef __cplusplus
15.8543 +}
15.8544 +#endif
15.8545 +
15.8546 +int
15.8547 +main ()
15.8548 +{
15.8549 +return f != shl_load;
15.8550 + ;
15.8551 + return 0;
15.8552 +}
15.8553 +_ACEOF
15.8554 +rm -f conftest.$ac_objext conftest$ac_exeext
15.8555 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.8556 + (eval $ac_link) 2>conftest.er1
15.8557 + ac_status=$?
15.8558 + grep -v '^ *+' conftest.er1 >conftest.err
15.8559 + rm -f conftest.er1
15.8560 + cat conftest.err >&5
15.8561 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8562 + (exit $ac_status); } &&
15.8563 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.8564 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8565 + (eval $ac_try) 2>&5
15.8566 + ac_status=$?
15.8567 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8568 + (exit $ac_status); }; } &&
15.8569 + { ac_try='test -s conftest$ac_exeext'
15.8570 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8571 + (eval $ac_try) 2>&5
15.8572 + ac_status=$?
15.8573 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8574 + (exit $ac_status); }; }; then
15.8575 + ac_cv_func_shl_load=yes
15.8576 +else
15.8577 + echo "$as_me: failed program was:" >&5
15.8578 +sed 's/^/| /' conftest.$ac_ext >&5
15.8579 +
15.8580 +ac_cv_func_shl_load=no
15.8581 +fi
15.8582 +rm -f conftest.err conftest.$ac_objext \
15.8583 + conftest$ac_exeext conftest.$ac_ext
15.8584 +fi
15.8585 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15.8586 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
15.8587 +if test $ac_cv_func_shl_load = yes; then
15.8588 + lt_cv_dlopen="shl_load"
15.8589 +else
15.8590 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15.8591 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
15.8592 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15.8593 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.8594 +else
15.8595 + ac_check_lib_save_LIBS=$LIBS
15.8596 +LIBS="-ldld $LIBS"
15.8597 +cat >conftest.$ac_ext <<_ACEOF
15.8598 +/* confdefs.h. */
15.8599 +_ACEOF
15.8600 +cat confdefs.h >>conftest.$ac_ext
15.8601 +cat >>conftest.$ac_ext <<_ACEOF
15.8602 +/* end confdefs.h. */
15.8603 +
15.8604 +/* Override any gcc2 internal prototype to avoid an error. */
15.8605 +#ifdef __cplusplus
15.8606 +extern "C"
15.8607 +#endif
15.8608 +/* We use char because int might match the return type of a gcc2
15.8609 + builtin and then its argument prototype would still apply. */
15.8610 +char shl_load ();
15.8611 +int
15.8612 +main ()
15.8613 +{
15.8614 +shl_load ();
15.8615 + ;
15.8616 + return 0;
15.8617 +}
15.8618 +_ACEOF
15.8619 +rm -f conftest.$ac_objext conftest$ac_exeext
15.8620 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.8621 + (eval $ac_link) 2>conftest.er1
15.8622 + ac_status=$?
15.8623 + grep -v '^ *+' conftest.er1 >conftest.err
15.8624 + rm -f conftest.er1
15.8625 + cat conftest.err >&5
15.8626 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8627 + (exit $ac_status); } &&
15.8628 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.8629 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8630 + (eval $ac_try) 2>&5
15.8631 + ac_status=$?
15.8632 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8633 + (exit $ac_status); }; } &&
15.8634 + { ac_try='test -s conftest$ac_exeext'
15.8635 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8636 + (eval $ac_try) 2>&5
15.8637 + ac_status=$?
15.8638 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8639 + (exit $ac_status); }; }; then
15.8640 + ac_cv_lib_dld_shl_load=yes
15.8641 +else
15.8642 + echo "$as_me: failed program was:" >&5
15.8643 +sed 's/^/| /' conftest.$ac_ext >&5
15.8644 +
15.8645 +ac_cv_lib_dld_shl_load=no
15.8646 +fi
15.8647 +rm -f conftest.err conftest.$ac_objext \
15.8648 + conftest$ac_exeext conftest.$ac_ext
15.8649 +LIBS=$ac_check_lib_save_LIBS
15.8650 +fi
15.8651 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15.8652 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
15.8653 +if test $ac_cv_lib_dld_shl_load = yes; then
15.8654 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15.8655 +else
15.8656 + echo "$as_me:$LINENO: checking for dlopen" >&5
15.8657 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
15.8658 +if test "${ac_cv_func_dlopen+set}" = set; then
15.8659 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.8660 +else
15.8661 + cat >conftest.$ac_ext <<_ACEOF
15.8662 +/* confdefs.h. */
15.8663 +_ACEOF
15.8664 +cat confdefs.h >>conftest.$ac_ext
15.8665 +cat >>conftest.$ac_ext <<_ACEOF
15.8666 +/* end confdefs.h. */
15.8667 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15.8668 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
15.8669 +#define dlopen innocuous_dlopen
15.8670 +
15.8671 +/* System header to define __stub macros and hopefully few prototypes,
15.8672 + which can conflict with char dlopen (); below.
15.8673 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.8674 + <limits.h> exists even on freestanding compilers. */
15.8675 +
15.8676 +#ifdef __STDC__
15.8677 +# include <limits.h>
15.8678 +#else
15.8679 +# include <assert.h>
15.8680 +#endif
15.8681 +
15.8682 +#undef dlopen
15.8683 +
15.8684 +/* Override any gcc2 internal prototype to avoid an error. */
15.8685 +#ifdef __cplusplus
15.8686 +extern "C"
15.8687 +{
15.8688 +#endif
15.8689 +/* We use char because int might match the return type of a gcc2
15.8690 + builtin and then its argument prototype would still apply. */
15.8691 +char dlopen ();
15.8692 +/* The GNU C library defines this for functions which it implements
15.8693 + to always fail with ENOSYS. Some functions are actually named
15.8694 + something starting with __ and the normal name is an alias. */
15.8695 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
15.8696 +choke me
15.8697 +#else
15.8698 +char (*f) () = dlopen;
15.8699 +#endif
15.8700 +#ifdef __cplusplus
15.8701 +}
15.8702 +#endif
15.8703 +
15.8704 +int
15.8705 +main ()
15.8706 +{
15.8707 +return f != dlopen;
15.8708 + ;
15.8709 + return 0;
15.8710 +}
15.8711 +_ACEOF
15.8712 +rm -f conftest.$ac_objext conftest$ac_exeext
15.8713 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.8714 + (eval $ac_link) 2>conftest.er1
15.8715 + ac_status=$?
15.8716 + grep -v '^ *+' conftest.er1 >conftest.err
15.8717 + rm -f conftest.er1
15.8718 + cat conftest.err >&5
15.8719 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8720 + (exit $ac_status); } &&
15.8721 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.8722 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8723 + (eval $ac_try) 2>&5
15.8724 + ac_status=$?
15.8725 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8726 + (exit $ac_status); }; } &&
15.8727 + { ac_try='test -s conftest$ac_exeext'
15.8728 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8729 + (eval $ac_try) 2>&5
15.8730 + ac_status=$?
15.8731 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8732 + (exit $ac_status); }; }; then
15.8733 + ac_cv_func_dlopen=yes
15.8734 +else
15.8735 + echo "$as_me: failed program was:" >&5
15.8736 +sed 's/^/| /' conftest.$ac_ext >&5
15.8737 +
15.8738 +ac_cv_func_dlopen=no
15.8739 +fi
15.8740 +rm -f conftest.err conftest.$ac_objext \
15.8741 + conftest$ac_exeext conftest.$ac_ext
15.8742 +fi
15.8743 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15.8744 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
15.8745 +if test $ac_cv_func_dlopen = yes; then
15.8746 + lt_cv_dlopen="dlopen"
15.8747 +else
15.8748 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15.8749 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15.8750 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15.8751 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.8752 +else
15.8753 + ac_check_lib_save_LIBS=$LIBS
15.8754 +LIBS="-ldl $LIBS"
15.8755 +cat >conftest.$ac_ext <<_ACEOF
15.8756 +/* confdefs.h. */
15.8757 +_ACEOF
15.8758 +cat confdefs.h >>conftest.$ac_ext
15.8759 +cat >>conftest.$ac_ext <<_ACEOF
15.8760 +/* end confdefs.h. */
15.8761 +
15.8762 +/* Override any gcc2 internal prototype to avoid an error. */
15.8763 +#ifdef __cplusplus
15.8764 +extern "C"
15.8765 +#endif
15.8766 +/* We use char because int might match the return type of a gcc2
15.8767 + builtin and then its argument prototype would still apply. */
15.8768 +char dlopen ();
15.8769 +int
15.8770 +main ()
15.8771 +{
15.8772 +dlopen ();
15.8773 + ;
15.8774 + return 0;
15.8775 +}
15.8776 +_ACEOF
15.8777 +rm -f conftest.$ac_objext conftest$ac_exeext
15.8778 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.8779 + (eval $ac_link) 2>conftest.er1
15.8780 + ac_status=$?
15.8781 + grep -v '^ *+' conftest.er1 >conftest.err
15.8782 + rm -f conftest.er1
15.8783 + cat conftest.err >&5
15.8784 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8785 + (exit $ac_status); } &&
15.8786 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.8787 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8788 + (eval $ac_try) 2>&5
15.8789 + ac_status=$?
15.8790 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8791 + (exit $ac_status); }; } &&
15.8792 + { ac_try='test -s conftest$ac_exeext'
15.8793 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8794 + (eval $ac_try) 2>&5
15.8795 + ac_status=$?
15.8796 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8797 + (exit $ac_status); }; }; then
15.8798 + ac_cv_lib_dl_dlopen=yes
15.8799 +else
15.8800 + echo "$as_me: failed program was:" >&5
15.8801 +sed 's/^/| /' conftest.$ac_ext >&5
15.8802 +
15.8803 +ac_cv_lib_dl_dlopen=no
15.8804 +fi
15.8805 +rm -f conftest.err conftest.$ac_objext \
15.8806 + conftest$ac_exeext conftest.$ac_ext
15.8807 +LIBS=$ac_check_lib_save_LIBS
15.8808 +fi
15.8809 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15.8810 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15.8811 +if test $ac_cv_lib_dl_dlopen = yes; then
15.8812 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15.8813 +else
15.8814 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15.8815 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
15.8816 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15.8817 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.8818 +else
15.8819 + ac_check_lib_save_LIBS=$LIBS
15.8820 +LIBS="-lsvld $LIBS"
15.8821 +cat >conftest.$ac_ext <<_ACEOF
15.8822 +/* confdefs.h. */
15.8823 +_ACEOF
15.8824 +cat confdefs.h >>conftest.$ac_ext
15.8825 +cat >>conftest.$ac_ext <<_ACEOF
15.8826 +/* end confdefs.h. */
15.8827 +
15.8828 +/* Override any gcc2 internal prototype to avoid an error. */
15.8829 +#ifdef __cplusplus
15.8830 +extern "C"
15.8831 +#endif
15.8832 +/* We use char because int might match the return type of a gcc2
15.8833 + builtin and then its argument prototype would still apply. */
15.8834 +char dlopen ();
15.8835 +int
15.8836 +main ()
15.8837 +{
15.8838 +dlopen ();
15.8839 + ;
15.8840 + return 0;
15.8841 +}
15.8842 +_ACEOF
15.8843 +rm -f conftest.$ac_objext conftest$ac_exeext
15.8844 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.8845 + (eval $ac_link) 2>conftest.er1
15.8846 + ac_status=$?
15.8847 + grep -v '^ *+' conftest.er1 >conftest.err
15.8848 + rm -f conftest.er1
15.8849 + cat conftest.err >&5
15.8850 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8851 + (exit $ac_status); } &&
15.8852 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.8853 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8854 + (eval $ac_try) 2>&5
15.8855 + ac_status=$?
15.8856 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8857 + (exit $ac_status); }; } &&
15.8858 + { ac_try='test -s conftest$ac_exeext'
15.8859 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8860 + (eval $ac_try) 2>&5
15.8861 + ac_status=$?
15.8862 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8863 + (exit $ac_status); }; }; then
15.8864 + ac_cv_lib_svld_dlopen=yes
15.8865 +else
15.8866 + echo "$as_me: failed program was:" >&5
15.8867 +sed 's/^/| /' conftest.$ac_ext >&5
15.8868 +
15.8869 +ac_cv_lib_svld_dlopen=no
15.8870 +fi
15.8871 +rm -f conftest.err conftest.$ac_objext \
15.8872 + conftest$ac_exeext conftest.$ac_ext
15.8873 +LIBS=$ac_check_lib_save_LIBS
15.8874 +fi
15.8875 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15.8876 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
15.8877 +if test $ac_cv_lib_svld_dlopen = yes; then
15.8878 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15.8879 +else
15.8880 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15.8881 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
15.8882 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15.8883 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.8884 +else
15.8885 + ac_check_lib_save_LIBS=$LIBS
15.8886 +LIBS="-ldld $LIBS"
15.8887 +cat >conftest.$ac_ext <<_ACEOF
15.8888 +/* confdefs.h. */
15.8889 +_ACEOF
15.8890 +cat confdefs.h >>conftest.$ac_ext
15.8891 +cat >>conftest.$ac_ext <<_ACEOF
15.8892 +/* end confdefs.h. */
15.8893 +
15.8894 +/* Override any gcc2 internal prototype to avoid an error. */
15.8895 +#ifdef __cplusplus
15.8896 +extern "C"
15.8897 +#endif
15.8898 +/* We use char because int might match the return type of a gcc2
15.8899 + builtin and then its argument prototype would still apply. */
15.8900 +char dld_link ();
15.8901 +int
15.8902 +main ()
15.8903 +{
15.8904 +dld_link ();
15.8905 + ;
15.8906 + return 0;
15.8907 +}
15.8908 +_ACEOF
15.8909 +rm -f conftest.$ac_objext conftest$ac_exeext
15.8910 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.8911 + (eval $ac_link) 2>conftest.er1
15.8912 + ac_status=$?
15.8913 + grep -v '^ *+' conftest.er1 >conftest.err
15.8914 + rm -f conftest.er1
15.8915 + cat conftest.err >&5
15.8916 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8917 + (exit $ac_status); } &&
15.8918 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.8919 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8920 + (eval $ac_try) 2>&5
15.8921 + ac_status=$?
15.8922 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8923 + (exit $ac_status); }; } &&
15.8924 + { ac_try='test -s conftest$ac_exeext'
15.8925 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.8926 + (eval $ac_try) 2>&5
15.8927 + ac_status=$?
15.8928 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.8929 + (exit $ac_status); }; }; then
15.8930 + ac_cv_lib_dld_dld_link=yes
15.8931 +else
15.8932 + echo "$as_me: failed program was:" >&5
15.8933 +sed 's/^/| /' conftest.$ac_ext >&5
15.8934 +
15.8935 +ac_cv_lib_dld_dld_link=no
15.8936 +fi
15.8937 +rm -f conftest.err conftest.$ac_objext \
15.8938 + conftest$ac_exeext conftest.$ac_ext
15.8939 +LIBS=$ac_check_lib_save_LIBS
15.8940 +fi
15.8941 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15.8942 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15.8943 +if test $ac_cv_lib_dld_dld_link = yes; then
15.8944 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15.8945 +fi
15.8946 +
15.8947 +
15.8948 +fi
15.8949 +
15.8950 +
15.8951 +fi
15.8952 +
15.8953 +
15.8954 +fi
15.8955 +
15.8956 +
15.8957 +fi
15.8958 +
15.8959 +
15.8960 +fi
15.8961 +
15.8962 + ;;
15.8963 + esac
15.8964 +
15.8965 + if test "x$lt_cv_dlopen" != xno; then
15.8966 + enable_dlopen=yes
15.8967 + else
15.8968 + enable_dlopen=no
15.8969 + fi
15.8970 +
15.8971 + case $lt_cv_dlopen in
15.8972 + dlopen)
15.8973 + save_CPPFLAGS="$CPPFLAGS"
15.8974 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15.8975 +
15.8976 + save_LDFLAGS="$LDFLAGS"
15.8977 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15.8978 +
15.8979 + save_LIBS="$LIBS"
15.8980 + LIBS="$lt_cv_dlopen_libs $LIBS"
15.8981 +
15.8982 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15.8983 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15.8984 +if test "${lt_cv_dlopen_self+set}" = set; then
15.8985 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.8986 +else
15.8987 + if test "$cross_compiling" = yes; then :
15.8988 + lt_cv_dlopen_self=cross
15.8989 +else
15.8990 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15.8991 + lt_status=$lt_dlunknown
15.8992 + cat > conftest.$ac_ext <<EOF
15.8993 +#line 8990 "configure"
15.8994 +#include "confdefs.h"
15.8995 +
15.8996 +#if HAVE_DLFCN_H
15.8997 +#include <dlfcn.h>
15.8998 +#endif
15.8999 +
15.9000 +#include <stdio.h>
15.9001 +
15.9002 +#ifdef RTLD_GLOBAL
15.9003 +# define LT_DLGLOBAL RTLD_GLOBAL
15.9004 +#else
15.9005 +# ifdef DL_GLOBAL
15.9006 +# define LT_DLGLOBAL DL_GLOBAL
15.9007 +# else
15.9008 +# define LT_DLGLOBAL 0
15.9009 +# endif
15.9010 +#endif
15.9011 +
15.9012 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15.9013 + find out it does not work in some platform. */
15.9014 +#ifndef LT_DLLAZY_OR_NOW
15.9015 +# ifdef RTLD_LAZY
15.9016 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
15.9017 +# else
15.9018 +# ifdef DL_LAZY
15.9019 +# define LT_DLLAZY_OR_NOW DL_LAZY
15.9020 +# else
15.9021 +# ifdef RTLD_NOW
15.9022 +# define LT_DLLAZY_OR_NOW RTLD_NOW
15.9023 +# else
15.9024 +# ifdef DL_NOW
15.9025 +# define LT_DLLAZY_OR_NOW DL_NOW
15.9026 +# else
15.9027 +# define LT_DLLAZY_OR_NOW 0
15.9028 +# endif
15.9029 +# endif
15.9030 +# endif
15.9031 +# endif
15.9032 +#endif
15.9033 +
15.9034 +#ifdef __cplusplus
15.9035 +extern "C" void exit (int);
15.9036 +#endif
15.9037 +
15.9038 +void fnord() { int i=42;}
15.9039 +int main ()
15.9040 +{
15.9041 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15.9042 + int status = $lt_dlunknown;
15.9043 +
15.9044 + if (self)
15.9045 + {
15.9046 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15.9047 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15.9048 + /* dlclose (self); */
15.9049 + }
15.9050 +
15.9051 + exit (status);
15.9052 +}
15.9053 +EOF
15.9054 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.9055 + (eval $ac_link) 2>&5
15.9056 + ac_status=$?
15.9057 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.9058 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15.9059 + (./conftest; exit; ) >&5 2>/dev/null
15.9060 + lt_status=$?
15.9061 + case x$lt_status in
15.9062 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15.9063 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15.9064 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
15.9065 + esac
15.9066 + else :
15.9067 + # compilation failed
15.9068 + lt_cv_dlopen_self=no
15.9069 + fi
15.9070 +fi
15.9071 +rm -fr conftest*
15.9072 +
15.9073 +
15.9074 +fi
15.9075 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15.9076 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15.9077 +
15.9078 + if test "x$lt_cv_dlopen_self" = xyes; then
15.9079 + LDFLAGS="$LDFLAGS $link_static_flag"
15.9080 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15.9081 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15.9082 +if test "${lt_cv_dlopen_self_static+set}" = set; then
15.9083 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.9084 +else
15.9085 + if test "$cross_compiling" = yes; then :
15.9086 + lt_cv_dlopen_self_static=cross
15.9087 +else
15.9088 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15.9089 + lt_status=$lt_dlunknown
15.9090 + cat > conftest.$ac_ext <<EOF
15.9091 +#line 9088 "configure"
15.9092 +#include "confdefs.h"
15.9093 +
15.9094 +#if HAVE_DLFCN_H
15.9095 +#include <dlfcn.h>
15.9096 +#endif
15.9097 +
15.9098 +#include <stdio.h>
15.9099 +
15.9100 +#ifdef RTLD_GLOBAL
15.9101 +# define LT_DLGLOBAL RTLD_GLOBAL
15.9102 +#else
15.9103 +# ifdef DL_GLOBAL
15.9104 +# define LT_DLGLOBAL DL_GLOBAL
15.9105 +# else
15.9106 +# define LT_DLGLOBAL 0
15.9107 +# endif
15.9108 +#endif
15.9109 +
15.9110 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15.9111 + find out it does not work in some platform. */
15.9112 +#ifndef LT_DLLAZY_OR_NOW
15.9113 +# ifdef RTLD_LAZY
15.9114 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
15.9115 +# else
15.9116 +# ifdef DL_LAZY
15.9117 +# define LT_DLLAZY_OR_NOW DL_LAZY
15.9118 +# else
15.9119 +# ifdef RTLD_NOW
15.9120 +# define LT_DLLAZY_OR_NOW RTLD_NOW
15.9121 +# else
15.9122 +# ifdef DL_NOW
15.9123 +# define LT_DLLAZY_OR_NOW DL_NOW
15.9124 +# else
15.9125 +# define LT_DLLAZY_OR_NOW 0
15.9126 +# endif
15.9127 +# endif
15.9128 +# endif
15.9129 +# endif
15.9130 +#endif
15.9131 +
15.9132 +#ifdef __cplusplus
15.9133 +extern "C" void exit (int);
15.9134 +#endif
15.9135 +
15.9136 +void fnord() { int i=42;}
15.9137 +int main ()
15.9138 +{
15.9139 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15.9140 + int status = $lt_dlunknown;
15.9141 +
15.9142 + if (self)
15.9143 + {
15.9144 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15.9145 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15.9146 + /* dlclose (self); */
15.9147 + }
15.9148 +
15.9149 + exit (status);
15.9150 +}
15.9151 +EOF
15.9152 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.9153 + (eval $ac_link) 2>&5
15.9154 + ac_status=$?
15.9155 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.9156 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15.9157 + (./conftest; exit; ) >&5 2>/dev/null
15.9158 + lt_status=$?
15.9159 + case x$lt_status in
15.9160 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15.9161 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15.9162 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
15.9163 + esac
15.9164 + else :
15.9165 + # compilation failed
15.9166 + lt_cv_dlopen_self_static=no
15.9167 + fi
15.9168 +fi
15.9169 +rm -fr conftest*
15.9170 +
15.9171 +
15.9172 +fi
15.9173 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15.9174 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15.9175 + fi
15.9176 +
15.9177 + CPPFLAGS="$save_CPPFLAGS"
15.9178 + LDFLAGS="$save_LDFLAGS"
15.9179 + LIBS="$save_LIBS"
15.9180 + ;;
15.9181 + esac
15.9182 +
15.9183 + case $lt_cv_dlopen_self in
15.9184 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15.9185 + *) enable_dlopen_self=unknown ;;
15.9186 + esac
15.9187 +
15.9188 + case $lt_cv_dlopen_self_static in
15.9189 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15.9190 + *) enable_dlopen_self_static=unknown ;;
15.9191 + esac
15.9192 +fi
15.9193 +
15.9194 +
15.9195 +# Report which librarie types wil actually be built
15.9196 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15.9197 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15.9198 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
15.9199 +echo "${ECHO_T}$can_build_shared" >&6
15.9200 +
15.9201 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15.9202 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15.9203 +test "$can_build_shared" = "no" && enable_shared=no
15.9204 +
15.9205 +# On AIX, shared libraries and static libraries use the same namespace, and
15.9206 +# are all built from PIC.
15.9207 +case $host_os in
15.9208 +aix3*)
15.9209 + test "$enable_shared" = yes && enable_static=no
15.9210 + if test -n "$RANLIB"; then
15.9211 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
15.9212 + postinstall_cmds='$RANLIB $lib'
15.9213 + fi
15.9214 + ;;
15.9215 +
15.9216 +aix4* | aix5*)
15.9217 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15.9218 + test "$enable_shared" = yes && enable_static=no
15.9219 + fi
15.9220 + ;;
15.9221 +esac
15.9222 +echo "$as_me:$LINENO: result: $enable_shared" >&5
15.9223 +echo "${ECHO_T}$enable_shared" >&6
15.9224 +
15.9225 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15.9226 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
15.9227 +# Make sure either enable_shared or enable_static is yes.
15.9228 +test "$enable_shared" = yes || enable_static=yes
15.9229 +echo "$as_me:$LINENO: result: $enable_static" >&5
15.9230 +echo "${ECHO_T}$enable_static" >&6
15.9231 +
15.9232 +# The else clause should only fire when bootstrapping the
15.9233 +# libtool distribution, otherwise you forgot to ship ltmain.sh
15.9234 +# with your package, and you will get complaints that there are
15.9235 +# no rules to generate ltmain.sh.
15.9236 +if test -f "$ltmain"; then
15.9237 + # See if we are running on zsh, and set the options which allow our commands through
15.9238 + # without removal of \ escapes.
15.9239 + if test -n "${ZSH_VERSION+set}" ; then
15.9240 + setopt NO_GLOB_SUBST
15.9241 + fi
15.9242 + # Now quote all the things that may contain metacharacters while being
15.9243 + # careful not to overquote the AC_SUBSTed values. We take copies of the
15.9244 + # variables and quote the copies for generation of the libtool script.
15.9245 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15.9246 + SED SHELL STRIP \
15.9247 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15.9248 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15.9249 + deplibs_check_method reload_flag reload_cmds need_locks \
15.9250 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15.9251 + lt_cv_sys_global_symbol_to_c_name_address \
15.9252 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15.9253 + old_postinstall_cmds old_postuninstall_cmds \
15.9254 + compiler \
15.9255 + CC \
15.9256 + LD \
15.9257 + lt_prog_compiler_wl \
15.9258 + lt_prog_compiler_pic \
15.9259 + lt_prog_compiler_static \
15.9260 + lt_prog_compiler_no_builtin_flag \
15.9261 + export_dynamic_flag_spec \
15.9262 + thread_safe_flag_spec \
15.9263 + whole_archive_flag_spec \
15.9264 + enable_shared_with_static_runtimes \
15.9265 + old_archive_cmds \
15.9266 + old_archive_from_new_cmds \
15.9267 + predep_objects \
15.9268 + postdep_objects \
15.9269 + predeps \
15.9270 + postdeps \
15.9271 + compiler_lib_search_path \
15.9272 + archive_cmds \
15.9273 + archive_expsym_cmds \
15.9274 + postinstall_cmds \
15.9275 + postuninstall_cmds \
15.9276 + old_archive_from_expsyms_cmds \
15.9277 + allow_undefined_flag \
15.9278 + no_undefined_flag \
15.9279 + export_symbols_cmds \
15.9280 + hardcode_libdir_flag_spec \
15.9281 + hardcode_libdir_flag_spec_ld \
15.9282 + hardcode_libdir_separator \
15.9283 + hardcode_automatic \
15.9284 + module_cmds \
15.9285 + module_expsym_cmds \
15.9286 + lt_cv_prog_compiler_c_o \
15.9287 + exclude_expsyms \
15.9288 + include_expsyms; do
15.9289 +
15.9290 + case $var in
15.9291 + old_archive_cmds | \
15.9292 + old_archive_from_new_cmds | \
15.9293 + archive_cmds | \
15.9294 + archive_expsym_cmds | \
15.9295 + module_cmds | \
15.9296 + module_expsym_cmds | \
15.9297 + old_archive_from_expsyms_cmds | \
15.9298 + export_symbols_cmds | \
15.9299 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
15.9300 + postinstall_cmds | postuninstall_cmds | \
15.9301 + old_postinstall_cmds | old_postuninstall_cmds | \
15.9302 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15.9303 + # Double-quote double-evaled strings.
15.9304 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15.9305 + ;;
15.9306 + *)
15.9307 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15.9308 + ;;
15.9309 + esac
15.9310 + done
15.9311 +
15.9312 + case $lt_echo in
15.9313 + *'\$0 --fallback-echo"')
15.9314 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15.9315 + ;;
15.9316 + esac
15.9317 +
15.9318 +cfgfile="${ofile}T"
15.9319 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
15.9320 + $rm -f "$cfgfile"
15.9321 + { echo "$as_me:$LINENO: creating $ofile" >&5
15.9322 +echo "$as_me: creating $ofile" >&6;}
15.9323 +
15.9324 + cat <<__EOF__ >> "$cfgfile"
15.9325 +#! $SHELL
15.9326 +
15.9327 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15.9328 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
15.9329 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15.9330 +#
15.9331 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
15.9332 +# Free Software Foundation, Inc.
15.9333 +#
15.9334 +# This file is part of GNU Libtool:
15.9335 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
15.9336 +#
15.9337 +# This program is free software; you can redistribute it and/or modify
15.9338 +# it under the terms of the GNU General Public License as published by
15.9339 +# the Free Software Foundation; either version 2 of the License, or
15.9340 +# (at your option) any later version.
15.9341 +#
15.9342 +# This program is distributed in the hope that it will be useful, but
15.9343 +# WITHOUT ANY WARRANTY; without even the implied warranty of
15.9344 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15.9345 +# General Public License for more details.
15.9346 +#
15.9347 +# You should have received a copy of the GNU General Public License
15.9348 +# along with this program; if not, write to the Free Software
15.9349 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15.9350 +#
15.9351 +# As a special exception to the GNU General Public License, if you
15.9352 +# distribute this file as part of a program that contains a
15.9353 +# configuration script generated by Autoconf, you may include it under
15.9354 +# the same distribution terms that you use for the rest of that program.
15.9355 +
15.9356 +# A sed program that does not truncate output.
15.9357 +SED=$lt_SED
15.9358 +
15.9359 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15.9360 +Xsed="$SED -e 1s/^X//"
15.9361 +
15.9362 +# The HP-UX ksh and POSIX shell print the target directory to stdout
15.9363 +# if CDPATH is set.
15.9364 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15.9365 +
15.9366 +# The names of the tagged configurations supported by this script.
15.9367 +available_tags=
15.9368 +
15.9369 +# ### BEGIN LIBTOOL CONFIG
15.9370 +
15.9371 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15.9372 +
15.9373 +# Shell to use when invoking shell scripts.
15.9374 +SHELL=$lt_SHELL
15.9375 +
15.9376 +# Whether or not to build shared libraries.
15.9377 +build_libtool_libs=$enable_shared
15.9378 +
15.9379 +# Whether or not to build static libraries.
15.9380 +build_old_libs=$enable_static
15.9381 +
15.9382 +# Whether or not to add -lc for building shared libraries.
15.9383 +build_libtool_need_lc=$archive_cmds_need_lc
15.9384 +
15.9385 +# Whether or not to disallow shared libs when runtime libs are static
15.9386 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15.9387 +
15.9388 +# Whether or not to optimize for fast installation.
15.9389 +fast_install=$enable_fast_install
15.9390 +
15.9391 +# The host system.
15.9392 +host_alias=$host_alias
15.9393 +host=$host
15.9394 +host_os=$host_os
15.9395 +
15.9396 +# The build system.
15.9397 +build_alias=$build_alias
15.9398 +build=$build
15.9399 +build_os=$build_os
15.9400 +
15.9401 +# An echo program that does not interpret backslashes.
15.9402 +echo=$lt_echo
15.9403 +
15.9404 +# The archiver.
15.9405 +AR=$lt_AR
15.9406 +AR_FLAGS=$lt_AR_FLAGS
15.9407 +
15.9408 +# A C compiler.
15.9409 +LTCC=$lt_LTCC
15.9410 +
15.9411 +# A language-specific compiler.
15.9412 +CC=$lt_compiler
15.9413 +
15.9414 +# Is the compiler the GNU C compiler?
15.9415 +with_gcc=$GCC
15.9416 +
15.9417 +# An ERE matcher.
15.9418 +EGREP=$lt_EGREP
15.9419 +
15.9420 +# The linker used to build libraries.
15.9421 +LD=$lt_LD
15.9422 +
15.9423 +# Whether we need hard or soft links.
15.9424 +LN_S=$lt_LN_S
15.9425 +
15.9426 +# A BSD-compatible nm program.
15.9427 +NM=$lt_NM
15.9428 +
15.9429 +# A symbol stripping program
15.9430 +STRIP=$lt_STRIP
15.9431 +
15.9432 +# Used to examine libraries when file_magic_cmd begins "file"
15.9433 +MAGIC_CMD=$MAGIC_CMD
15.9434 +
15.9435 +# Used on cygwin: DLL creation program.
15.9436 +DLLTOOL="$DLLTOOL"
15.9437 +
15.9438 +# Used on cygwin: object dumper.
15.9439 +OBJDUMP="$OBJDUMP"
15.9440 +
15.9441 +# Used on cygwin: assembler.
15.9442 +AS="$AS"
15.9443 +
15.9444 +# The name of the directory that contains temporary libtool files.
15.9445 +objdir=$objdir
15.9446 +
15.9447 +# How to create reloadable object files.
15.9448 +reload_flag=$lt_reload_flag
15.9449 +reload_cmds=$lt_reload_cmds
15.9450 +
15.9451 +# How to pass a linker flag through the compiler.
15.9452 +wl=$lt_lt_prog_compiler_wl
15.9453 +
15.9454 +# Object file suffix (normally "o").
15.9455 +objext="$ac_objext"
15.9456 +
15.9457 +# Old archive suffix (normally "a").
15.9458 +libext="$libext"
15.9459 +
15.9460 +# Shared library suffix (normally ".so").
15.9461 +shrext_cmds='$shrext_cmds'
15.9462 +
15.9463 +# Executable file suffix (normally "").
15.9464 +exeext="$exeext"
15.9465 +
15.9466 +# Additional compiler flags for building library objects.
15.9467 +pic_flag=$lt_lt_prog_compiler_pic
15.9468 +pic_mode=$pic_mode
15.9469 +
15.9470 +# What is the maximum length of a command?
15.9471 +max_cmd_len=$lt_cv_sys_max_cmd_len
15.9472 +
15.9473 +# Does compiler simultaneously support -c and -o options?
15.9474 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15.9475 +
15.9476 +# Must we lock files when doing compilation?
15.9477 +need_locks=$lt_need_locks
15.9478 +
15.9479 +# Do we need the lib prefix for modules?
15.9480 +need_lib_prefix=$need_lib_prefix
15.9481 +
15.9482 +# Do we need a version for libraries?
15.9483 +need_version=$need_version
15.9484 +
15.9485 +# Whether dlopen is supported.
15.9486 +dlopen_support=$enable_dlopen
15.9487 +
15.9488 +# Whether dlopen of programs is supported.
15.9489 +dlopen_self=$enable_dlopen_self
15.9490 +
15.9491 +# Whether dlopen of statically linked programs is supported.
15.9492 +dlopen_self_static=$enable_dlopen_self_static
15.9493 +
15.9494 +# Compiler flag to prevent dynamic linking.
15.9495 +link_static_flag=$lt_lt_prog_compiler_static
15.9496 +
15.9497 +# Compiler flag to turn off builtin functions.
15.9498 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15.9499 +
15.9500 +# Compiler flag to allow reflexive dlopens.
15.9501 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15.9502 +
15.9503 +# Compiler flag to generate shared objects directly from archives.
15.9504 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
15.9505 +
15.9506 +# Compiler flag to generate thread-safe objects.
15.9507 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
15.9508 +
15.9509 +# Library versioning type.
15.9510 +version_type=$version_type
15.9511 +
15.9512 +# Format of library name prefix.
15.9513 +libname_spec=$lt_libname_spec
15.9514 +
15.9515 +# List of archive names. First name is the real one, the rest are links.
15.9516 +# The last name is the one that the linker finds with -lNAME.
15.9517 +library_names_spec=$lt_library_names_spec
15.9518 +
15.9519 +# The coded name of the library, if different from the real name.
15.9520 +soname_spec=$lt_soname_spec
15.9521 +
15.9522 +# Commands used to build and install an old-style archive.
15.9523 +RANLIB=$lt_RANLIB
15.9524 +old_archive_cmds=$lt_old_archive_cmds
15.9525 +old_postinstall_cmds=$lt_old_postinstall_cmds
15.9526 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
15.9527 +
15.9528 +# Create an old-style archive from a shared archive.
15.9529 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15.9530 +
15.9531 +# Create a temporary old-style archive to link instead of a shared archive.
15.9532 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15.9533 +
15.9534 +# Commands used to build and install a shared archive.
15.9535 +archive_cmds=$lt_archive_cmds
15.9536 +archive_expsym_cmds=$lt_archive_expsym_cmds
15.9537 +postinstall_cmds=$lt_postinstall_cmds
15.9538 +postuninstall_cmds=$lt_postuninstall_cmds
15.9539 +
15.9540 +# Commands used to build a loadable module (assumed same as above if empty)
15.9541 +module_cmds=$lt_module_cmds
15.9542 +module_expsym_cmds=$lt_module_expsym_cmds
15.9543 +
15.9544 +# Commands to strip libraries.
15.9545 +old_striplib=$lt_old_striplib
15.9546 +striplib=$lt_striplib
15.9547 +
15.9548 +# Dependencies to place before the objects being linked to create a
15.9549 +# shared library.
15.9550 +predep_objects=$lt_predep_objects
15.9551 +
15.9552 +# Dependencies to place after the objects being linked to create a
15.9553 +# shared library.
15.9554 +postdep_objects=$lt_postdep_objects
15.9555 +
15.9556 +# Dependencies to place before the objects being linked to create a
15.9557 +# shared library.
15.9558 +predeps=$lt_predeps
15.9559 +
15.9560 +# Dependencies to place after the objects being linked to create a
15.9561 +# shared library.
15.9562 +postdeps=$lt_postdeps
15.9563 +
15.9564 +# The library search path used internally by the compiler when linking
15.9565 +# a shared library.
15.9566 +compiler_lib_search_path=$lt_compiler_lib_search_path
15.9567 +
15.9568 +# Method to check whether dependent libraries are shared objects.
15.9569 +deplibs_check_method=$lt_deplibs_check_method
15.9570 +
15.9571 +# Command to use when deplibs_check_method == file_magic.
15.9572 +file_magic_cmd=$lt_file_magic_cmd
15.9573 +
15.9574 +# Flag that allows shared libraries with undefined symbols to be built.
15.9575 +allow_undefined_flag=$lt_allow_undefined_flag
15.9576 +
15.9577 +# Flag that forces no undefined symbols.
15.9578 +no_undefined_flag=$lt_no_undefined_flag
15.9579 +
15.9580 +# Commands used to finish a libtool library installation in a directory.
15.9581 +finish_cmds=$lt_finish_cmds
15.9582 +
15.9583 +# Same as above, but a single script fragment to be evaled but not shown.
15.9584 +finish_eval=$lt_finish_eval
15.9585 +
15.9586 +# Take the output of nm and produce a listing of raw symbols and C names.
15.9587 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15.9588 +
15.9589 +# Transform the output of nm in a proper C declaration
15.9590 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15.9591 +
15.9592 +# Transform the output of nm in a C name address pair
15.9593 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15.9594 +
15.9595 +# This is the shared library runtime path variable.
15.9596 +runpath_var=$runpath_var
15.9597 +
15.9598 +# This is the shared library path variable.
15.9599 +shlibpath_var=$shlibpath_var
15.9600 +
15.9601 +# Is shlibpath searched before the hard-coded library search path?
15.9602 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15.9603 +
15.9604 +# How to hardcode a shared library path into an executable.
15.9605 +hardcode_action=$hardcode_action
15.9606 +
15.9607 +# Whether we should hardcode library paths into libraries.
15.9608 +hardcode_into_libs=$hardcode_into_libs
15.9609 +
15.9610 +# Flag to hardcode \$libdir into a binary during linking.
15.9611 +# This must work even if \$libdir does not exist.
15.9612 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15.9613 +
15.9614 +# If ld is used when linking, flag to hardcode \$libdir into
15.9615 +# a binary during linking. This must work even if \$libdir does
15.9616 +# not exist.
15.9617 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15.9618 +
15.9619 +# Whether we need a single -rpath flag with a separated argument.
15.9620 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
15.9621 +
15.9622 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15.9623 +# resulting binary.
15.9624 +hardcode_direct=$hardcode_direct
15.9625 +
15.9626 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15.9627 +# resulting binary.
15.9628 +hardcode_minus_L=$hardcode_minus_L
15.9629 +
15.9630 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15.9631 +# the resulting binary.
15.9632 +hardcode_shlibpath_var=$hardcode_shlibpath_var
15.9633 +
15.9634 +# Set to yes if building a shared library automatically hardcodes DIR into the library
15.9635 +# and all subsequent libraries and executables linked against it.
15.9636 +hardcode_automatic=$hardcode_automatic
15.9637 +
15.9638 +# Variables whose values should be saved in libtool wrapper scripts and
15.9639 +# restored at relink time.
15.9640 +variables_saved_for_relink="$variables_saved_for_relink"
15.9641 +
15.9642 +# Whether libtool must link a program against all its dependency libraries.
15.9643 +link_all_deplibs=$link_all_deplibs
15.9644 +
15.9645 +# Compile-time system search path for libraries
15.9646 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15.9647 +
15.9648 +# Run-time system search path for libraries
15.9649 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15.9650 +
15.9651 +# Fix the shell variable \$srcfile for the compiler.
15.9652 +fix_srcfile_path="$fix_srcfile_path"
15.9653 +
15.9654 +# Set to yes if exported symbols are required.
15.9655 +always_export_symbols=$always_export_symbols
15.9656 +
15.9657 +# The commands to list exported symbols.
15.9658 +export_symbols_cmds=$lt_export_symbols_cmds
15.9659 +
15.9660 +# The commands to extract the exported symbol list from a shared archive.
15.9661 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
15.9662 +
15.9663 +# Symbols that should not be listed in the preloaded symbols.
15.9664 +exclude_expsyms=$lt_exclude_expsyms
15.9665 +
15.9666 +# Symbols that must always be exported.
15.9667 +include_expsyms=$lt_include_expsyms
15.9668 +
15.9669 +# ### END LIBTOOL CONFIG
15.9670 +
15.9671 +__EOF__
15.9672 +
15.9673 +
15.9674 + case $host_os in
15.9675 + aix3*)
15.9676 + cat <<\EOF >> "$cfgfile"
15.9677 +
15.9678 +# AIX sometimes has problems with the GCC collect2 program. For some
15.9679 +# reason, if we set the COLLECT_NAMES environment variable, the problems
15.9680 +# vanish in a puff of smoke.
15.9681 +if test "X${COLLECT_NAMES+set}" != Xset; then
15.9682 + COLLECT_NAMES=
15.9683 + export COLLECT_NAMES
15.9684 +fi
15.9685 +EOF
15.9686 + ;;
15.9687 + esac
15.9688 +
15.9689 + # We use sed instead of cat because bash on DJGPP gets confused if
15.9690 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
15.9691 + # text mode, it properly converts lines to CR/LF. This bash problem
15.9692 + # is reportedly fixed, but why not run on old versions too?
15.9693 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
15.9694 +
15.9695 + mv -f "$cfgfile" "$ofile" || \
15.9696 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15.9697 + chmod +x "$ofile"
15.9698 +
15.9699 +else
15.9700 + # If there is no Makefile yet, we rely on a make rule to execute
15.9701 + # `config.status --recheck' to rerun these tests and create the
15.9702 + # libtool script then.
15.9703 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15.9704 + if test -f "$ltmain_in"; then
15.9705 + test -f Makefile && make "$ltmain"
15.9706 + fi
15.9707 +fi
15.9708 +
15.9709 +
15.9710 +ac_ext=c
15.9711 +ac_cpp='$CPP $CPPFLAGS'
15.9712 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.9713 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.9714 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.9715 +
15.9716 +CC="$lt_save_CC"
15.9717 +
15.9718 +
15.9719 +# Check whether --with-tags or --without-tags was given.
15.9720 +if test "${with_tags+set}" = set; then
15.9721 + withval="$with_tags"
15.9722 + tagnames="$withval"
15.9723 +fi;
15.9724 +
15.9725 +if test -f "$ltmain" && test -n "$tagnames"; then
15.9726 + if test ! -f "${ofile}"; then
15.9727 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
15.9728 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
15.9729 + fi
15.9730 +
15.9731 + if test -z "$LTCC"; then
15.9732 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
15.9733 + if test -z "$LTCC"; then
15.9734 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
15.9735 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
15.9736 + else
15.9737 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
15.9738 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
15.9739 + fi
15.9740 + fi
15.9741 +
15.9742 + # Extract list of available tagged configurations in $ofile.
15.9743 + # Note that this assumes the entire list is on one line.
15.9744 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
15.9745 +
15.9746 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15.9747 + for tagname in $tagnames; do
15.9748 + IFS="$lt_save_ifs"
15.9749 + # Check whether tagname contains only valid characters
15.9750 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
15.9751 + "") ;;
15.9752 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
15.9753 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
15.9754 + { (exit 1); exit 1; }; }
15.9755 + ;;
15.9756 + esac
15.9757 +
15.9758 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
15.9759 + then
15.9760 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
15.9761 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
15.9762 + { (exit 1); exit 1; }; }
15.9763 + fi
15.9764 +
15.9765 + # Update the list of available tags.
15.9766 + if test -n "$tagname"; then
15.9767 + echo appending configuration tag \"$tagname\" to $ofile
15.9768 +
15.9769 + case $tagname in
15.9770 + CXX)
15.9771 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15.9772 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15.9773 + (test "X$CXX" != "Xg++"))) ; then
15.9774 + ac_ext=cc
15.9775 +ac_cpp='$CXXCPP $CPPFLAGS'
15.9776 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.9777 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.9778 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15.9779 +
15.9780 +
15.9781 +
15.9782 +
15.9783 +archive_cmds_need_lc_CXX=no
15.9784 +allow_undefined_flag_CXX=
15.9785 +always_export_symbols_CXX=no
15.9786 +archive_expsym_cmds_CXX=
15.9787 +export_dynamic_flag_spec_CXX=
15.9788 +hardcode_direct_CXX=no
15.9789 +hardcode_libdir_flag_spec_CXX=
15.9790 +hardcode_libdir_flag_spec_ld_CXX=
15.9791 +hardcode_libdir_separator_CXX=
15.9792 +hardcode_minus_L_CXX=no
15.9793 +hardcode_automatic_CXX=no
15.9794 +module_cmds_CXX=
15.9795 +module_expsym_cmds_CXX=
15.9796 +link_all_deplibs_CXX=unknown
15.9797 +old_archive_cmds_CXX=$old_archive_cmds
15.9798 +no_undefined_flag_CXX=
15.9799 +whole_archive_flag_spec_CXX=
15.9800 +enable_shared_with_static_runtimes_CXX=no
15.9801 +
15.9802 +# Dependencies to place before and after the object being linked:
15.9803 +predep_objects_CXX=
15.9804 +postdep_objects_CXX=
15.9805 +predeps_CXX=
15.9806 +postdeps_CXX=
15.9807 +compiler_lib_search_path_CXX=
15.9808 +
15.9809 +# Source file extension for C++ test sources.
15.9810 +ac_ext=cpp
15.9811 +
15.9812 +# Object file extension for compiled C++ test sources.
15.9813 +objext=o
15.9814 +objext_CXX=$objext
15.9815 +
15.9816 +# Code to be used in simple compile tests
15.9817 +lt_simple_compile_test_code="int some_variable = 0;\n"
15.9818 +
15.9819 +# Code to be used in simple link tests
15.9820 +lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
15.9821 +
15.9822 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15.9823 +
15.9824 +# If no C compiler was specified, use CC.
15.9825 +LTCC=${LTCC-"$CC"}
15.9826 +
15.9827 +# Allow CC to be a program name with arguments.
15.9828 +compiler=$CC
15.9829 +
15.9830 +
15.9831 +# save warnings/boilerplate of simple test code
15.9832 +ac_outfile=conftest.$ac_objext
15.9833 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15.9834 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15.9835 +_lt_compiler_boilerplate=`cat conftest.err`
15.9836 +$rm conftest*
15.9837 +
15.9838 +ac_outfile=conftest.$ac_objext
15.9839 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
15.9840 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15.9841 +_lt_linker_boilerplate=`cat conftest.err`
15.9842 +$rm conftest*
15.9843 +
15.9844 +
15.9845 +# Allow CC to be a program name with arguments.
15.9846 +lt_save_CC=$CC
15.9847 +lt_save_LD=$LD
15.9848 +lt_save_GCC=$GCC
15.9849 +GCC=$GXX
15.9850 +lt_save_with_gnu_ld=$with_gnu_ld
15.9851 +lt_save_path_LD=$lt_cv_path_LD
15.9852 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15.9853 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15.9854 +else
15.9855 + unset lt_cv_prog_gnu_ld
15.9856 +fi
15.9857 +if test -n "${lt_cv_path_LDCXX+set}"; then
15.9858 + lt_cv_path_LD=$lt_cv_path_LDCXX
15.9859 +else
15.9860 + unset lt_cv_path_LD
15.9861 +fi
15.9862 +test -z "${LDCXX+set}" || LD=$LDCXX
15.9863 +CC=${CXX-"c++"}
15.9864 +compiler=$CC
15.9865 +compiler_CXX=$CC
15.9866 +for cc_temp in $compiler""; do
15.9867 + case $cc_temp in
15.9868 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15.9869 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15.9870 + \-*) ;;
15.9871 + *) break;;
15.9872 + esac
15.9873 +done
15.9874 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15.9875 +
15.9876 +
15.9877 +# We don't want -fno-exception wen compiling C++ code, so set the
15.9878 +# no_builtin_flag separately
15.9879 +if test "$GXX" = yes; then
15.9880 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15.9881 +else
15.9882 + lt_prog_compiler_no_builtin_flag_CXX=
15.9883 +fi
15.9884 +
15.9885 +if test "$GXX" = yes; then
15.9886 + # Set up default GNU C++ configuration
15.9887 +
15.9888 +
15.9889 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
15.9890 +if test "${with_gnu_ld+set}" = set; then
15.9891 + withval="$with_gnu_ld"
15.9892 + test "$withval" = no || with_gnu_ld=yes
15.9893 +else
15.9894 + with_gnu_ld=no
15.9895 +fi;
15.9896 +ac_prog=ld
15.9897 +if test "$GCC" = yes; then
15.9898 + # Check if gcc -print-prog-name=ld gives a path.
15.9899 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5
15.9900 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
15.9901 + case $host in
15.9902 + *-*-mingw*)
15.9903 + # gcc leaves a trailing carriage return which upsets mingw
15.9904 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15.9905 + *)
15.9906 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15.9907 + esac
15.9908 + case $ac_prog in
15.9909 + # Accept absolute paths.
15.9910 + [\\/]* | ?:[\\/]*)
15.9911 + re_direlt='/[^/][^/]*/\.\./'
15.9912 + # Canonicalize the pathname of ld
15.9913 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
15.9914 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15.9915 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
15.9916 + done
15.9917 + test -z "$LD" && LD="$ac_prog"
15.9918 + ;;
15.9919 + "")
15.9920 + # If it fails, then pretend we aren't using GCC.
15.9921 + ac_prog=ld
15.9922 + ;;
15.9923 + *)
15.9924 + # If it is relative, then search for the first ld in PATH.
15.9925 + with_gnu_ld=unknown
15.9926 + ;;
15.9927 + esac
15.9928 +elif test "$with_gnu_ld" = yes; then
15.9929 + echo "$as_me:$LINENO: checking for GNU ld" >&5
15.9930 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
15.9931 +else
15.9932 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15.9933 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
15.9934 +fi
15.9935 +if test "${lt_cv_path_LD+set}" = set; then
15.9936 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.9937 +else
15.9938 + if test -z "$LD"; then
15.9939 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15.9940 + for ac_dir in $PATH; do
15.9941 + IFS="$lt_save_ifs"
15.9942 + test -z "$ac_dir" && ac_dir=.
15.9943 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15.9944 + lt_cv_path_LD="$ac_dir/$ac_prog"
15.9945 + # Check to see if the program is GNU ld. I'd rather use --version,
15.9946 + # but apparently some variants of GNU ld only accept -v.
15.9947 + # Break only if it was the GNU/non-GNU ld that we prefer.
15.9948 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15.9949 + *GNU* | *'with BFD'*)
15.9950 + test "$with_gnu_ld" != no && break
15.9951 + ;;
15.9952 + *)
15.9953 + test "$with_gnu_ld" != yes && break
15.9954 + ;;
15.9955 + esac
15.9956 + fi
15.9957 + done
15.9958 + IFS="$lt_save_ifs"
15.9959 +else
15.9960 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
15.9961 +fi
15.9962 +fi
15.9963 +
15.9964 +LD="$lt_cv_path_LD"
15.9965 +if test -n "$LD"; then
15.9966 + echo "$as_me:$LINENO: result: $LD" >&5
15.9967 +echo "${ECHO_T}$LD" >&6
15.9968 +else
15.9969 + echo "$as_me:$LINENO: result: no" >&5
15.9970 +echo "${ECHO_T}no" >&6
15.9971 +fi
15.9972 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15.9973 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15.9974 + { (exit 1); exit 1; }; }
15.9975 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
15.9976 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
15.9977 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
15.9978 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.9979 +else
15.9980 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
15.9981 +case `$LD -v 2>&1 </dev/null` in
15.9982 +*GNU* | *'with BFD'*)
15.9983 + lt_cv_prog_gnu_ld=yes
15.9984 + ;;
15.9985 +*)
15.9986 + lt_cv_prog_gnu_ld=no
15.9987 + ;;
15.9988 +esac
15.9989 +fi
15.9990 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
15.9991 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
15.9992 +with_gnu_ld=$lt_cv_prog_gnu_ld
15.9993 +
15.9994 +
15.9995 +
15.9996 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
15.9997 + # archiving commands below assume that GNU ld is being used.
15.9998 + if test "$with_gnu_ld" = yes; then
15.9999 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.10000 + 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'
15.10001 +
15.10002 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15.10003 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15.10004 +
15.10005 + # If archive_cmds runs LD, not CC, wlarc should be empty
15.10006 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15.10007 + # investigate it a little bit more. (MM)
15.10008 + wlarc='${wl}'
15.10009 +
15.10010 + # ancient GNU ld didn't support --whole-archive et. al.
15.10011 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
15.10012 + grep 'no-whole-archive' > /dev/null; then
15.10013 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15.10014 + else
15.10015 + whole_archive_flag_spec_CXX=
15.10016 + fi
15.10017 + else
15.10018 + with_gnu_ld=no
15.10019 + wlarc=
15.10020 +
15.10021 + # A generic and very simple default shared library creation
15.10022 + # command for GNU C++ for the case where it uses the native
15.10023 + # linker, instead of GNU ld. If possible, this setting should
15.10024 + # overridden to take advantage of the native linker features on
15.10025 + # the platform it is being used on.
15.10026 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15.10027 + fi
15.10028 +
15.10029 + # Commands to make compiler produce verbose output that lists
15.10030 + # what "hidden" libraries, object files and flags are used when
15.10031 + # linking a shared library.
15.10032 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15.10033 +
15.10034 +else
15.10035 + GXX=no
15.10036 + with_gnu_ld=no
15.10037 + wlarc=
15.10038 +fi
15.10039 +
15.10040 +# PORTME: fill in a description of your system's C++ link characteristics
15.10041 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15.10042 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15.10043 +ld_shlibs_CXX=yes
15.10044 +case $host_os in
15.10045 + aix3*)
15.10046 + # FIXME: insert proper C++ library support
15.10047 + ld_shlibs_CXX=no
15.10048 + ;;
15.10049 + aix4* | aix5*)
15.10050 + if test "$host_cpu" = ia64; then
15.10051 + # On IA64, the linker does run time linking by default, so we don't
15.10052 + # have to do anything special.
15.10053 + aix_use_runtimelinking=no
15.10054 + exp_sym_flag='-Bexport'
15.10055 + no_entry_flag=""
15.10056 + else
15.10057 + aix_use_runtimelinking=no
15.10058 +
15.10059 + # Test if we are trying to use run time linking or normal
15.10060 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15.10061 + # need to do runtime linking.
15.10062 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15.10063 + for ld_flag in $LDFLAGS; do
15.10064 + case $ld_flag in
15.10065 + *-brtl*)
15.10066 + aix_use_runtimelinking=yes
15.10067 + break
15.10068 + ;;
15.10069 + esac
15.10070 + done
15.10071 + esac
15.10072 +
15.10073 + exp_sym_flag='-bexport'
15.10074 + no_entry_flag='-bnoentry'
15.10075 + fi
15.10076 +
15.10077 + # When large executables or shared objects are built, AIX ld can
15.10078 + # have problems creating the table of contents. If linking a library
15.10079 + # or program results in "error TOC overflow" add -mminimal-toc to
15.10080 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15.10081 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15.10082 +
15.10083 + archive_cmds_CXX=''
15.10084 + hardcode_direct_CXX=yes
15.10085 + hardcode_libdir_separator_CXX=':'
15.10086 + link_all_deplibs_CXX=yes
15.10087 +
15.10088 + if test "$GXX" = yes; then
15.10089 + case $host_os in aix4.[012]|aix4.[012].*)
15.10090 + # We only want to do this on AIX 4.2 and lower, the check
15.10091 + # below for broken collect2 doesn't work under 4.3+
15.10092 + collect2name=`${CC} -print-prog-name=collect2`
15.10093 + if test -f "$collect2name" && \
15.10094 + strings "$collect2name" | grep resolve_lib_name >/dev/null
15.10095 + then
15.10096 + # We have reworked collect2
15.10097 + hardcode_direct_CXX=yes
15.10098 + else
15.10099 + # We have old collect2
15.10100 + hardcode_direct_CXX=unsupported
15.10101 + # It fails to find uninstalled libraries when the uninstalled
15.10102 + # path is not listed in the libpath. Setting hardcode_minus_L
15.10103 + # to unsupported forces relinking
15.10104 + hardcode_minus_L_CXX=yes
15.10105 + hardcode_libdir_flag_spec_CXX='-L$libdir'
15.10106 + hardcode_libdir_separator_CXX=
15.10107 + fi
15.10108 + esac
15.10109 + shared_flag='-shared'
15.10110 + if test "$aix_use_runtimelinking" = yes; then
15.10111 + shared_flag="$shared_flag "'${wl}-G'
15.10112 + fi
15.10113 + else
15.10114 + # not using gcc
15.10115 + if test "$host_cpu" = ia64; then
15.10116 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15.10117 + # chokes on -Wl,-G. The following line is correct:
15.10118 + shared_flag='-G'
15.10119 + else
15.10120 + if test "$aix_use_runtimelinking" = yes; then
15.10121 + shared_flag='${wl}-G'
15.10122 + else
15.10123 + shared_flag='${wl}-bM:SRE'
15.10124 + fi
15.10125 + fi
15.10126 + fi
15.10127 +
15.10128 + # It seems that -bexpall does not export symbols beginning with
15.10129 + # underscore (_), so it is better to generate a list of symbols to export.
15.10130 + always_export_symbols_CXX=yes
15.10131 + if test "$aix_use_runtimelinking" = yes; then
15.10132 + # Warning - without using the other runtime loading flags (-brtl),
15.10133 + # -berok will link without error, but may produce a broken library.
15.10134 + allow_undefined_flag_CXX='-berok'
15.10135 + # Determine the default libpath from the value encoded in an empty executable.
15.10136 + cat >conftest.$ac_ext <<_ACEOF
15.10137 +/* confdefs.h. */
15.10138 +_ACEOF
15.10139 +cat confdefs.h >>conftest.$ac_ext
15.10140 +cat >>conftest.$ac_ext <<_ACEOF
15.10141 +/* end confdefs.h. */
15.10142 +
15.10143 +int
15.10144 +main ()
15.10145 +{
15.10146 +
15.10147 + ;
15.10148 + return 0;
15.10149 +}
15.10150 +_ACEOF
15.10151 +rm -f conftest.$ac_objext conftest$ac_exeext
15.10152 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.10153 + (eval $ac_link) 2>conftest.er1
15.10154 + ac_status=$?
15.10155 + grep -v '^ *+' conftest.er1 >conftest.err
15.10156 + rm -f conftest.er1
15.10157 + cat conftest.err >&5
15.10158 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.10159 + (exit $ac_status); } &&
15.10160 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.10161 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.10162 + (eval $ac_try) 2>&5
15.10163 + ac_status=$?
15.10164 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.10165 + (exit $ac_status); }; } &&
15.10166 + { ac_try='test -s conftest$ac_exeext'
15.10167 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.10168 + (eval $ac_try) 2>&5
15.10169 + ac_status=$?
15.10170 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.10171 + (exit $ac_status); }; }; then
15.10172 +
15.10173 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15.10174 +}'`
15.10175 +# Check for a 64-bit object if we didn't find anything.
15.10176 +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; }
15.10177 +}'`; fi
15.10178 +else
15.10179 + echo "$as_me: failed program was:" >&5
15.10180 +sed 's/^/| /' conftest.$ac_ext >&5
15.10181 +
15.10182 +fi
15.10183 +rm -f conftest.err conftest.$ac_objext \
15.10184 + conftest$ac_exeext conftest.$ac_ext
15.10185 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15.10186 +
15.10187 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15.10188 +
15.10189 + 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"
15.10190 + else
15.10191 + if test "$host_cpu" = ia64; then
15.10192 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15.10193 + allow_undefined_flag_CXX="-z nodefs"
15.10194 + 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"
15.10195 + else
15.10196 + # Determine the default libpath from the value encoded in an empty executable.
15.10197 + cat >conftest.$ac_ext <<_ACEOF
15.10198 +/* confdefs.h. */
15.10199 +_ACEOF
15.10200 +cat confdefs.h >>conftest.$ac_ext
15.10201 +cat >>conftest.$ac_ext <<_ACEOF
15.10202 +/* end confdefs.h. */
15.10203 +
15.10204 +int
15.10205 +main ()
15.10206 +{
15.10207 +
15.10208 + ;
15.10209 + return 0;
15.10210 +}
15.10211 +_ACEOF
15.10212 +rm -f conftest.$ac_objext conftest$ac_exeext
15.10213 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.10214 + (eval $ac_link) 2>conftest.er1
15.10215 + ac_status=$?
15.10216 + grep -v '^ *+' conftest.er1 >conftest.err
15.10217 + rm -f conftest.er1
15.10218 + cat conftest.err >&5
15.10219 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.10220 + (exit $ac_status); } &&
15.10221 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.10222 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.10223 + (eval $ac_try) 2>&5
15.10224 + ac_status=$?
15.10225 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.10226 + (exit $ac_status); }; } &&
15.10227 + { ac_try='test -s conftest$ac_exeext'
15.10228 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.10229 + (eval $ac_try) 2>&5
15.10230 + ac_status=$?
15.10231 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.10232 + (exit $ac_status); }; }; then
15.10233 +
15.10234 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15.10235 +}'`
15.10236 +# Check for a 64-bit object if we didn't find anything.
15.10237 +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; }
15.10238 +}'`; fi
15.10239 +else
15.10240 + echo "$as_me: failed program was:" >&5
15.10241 +sed 's/^/| /' conftest.$ac_ext >&5
15.10242 +
15.10243 +fi
15.10244 +rm -f conftest.err conftest.$ac_objext \
15.10245 + conftest$ac_exeext conftest.$ac_ext
15.10246 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15.10247 +
15.10248 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15.10249 + # Warning - without using the other run time loading flags,
15.10250 + # -berok will link without error, but may produce a broken library.
15.10251 + no_undefined_flag_CXX=' ${wl}-bernotok'
15.10252 + allow_undefined_flag_CXX=' ${wl}-berok'
15.10253 + # -bexpall does not export symbols beginning with underscore (_)
15.10254 + always_export_symbols_CXX=yes
15.10255 + # Exported symbols can be pulled into shared objects from archives
15.10256 + whole_archive_flag_spec_CXX=' '
15.10257 + archive_cmds_need_lc_CXX=yes
15.10258 + # This is similar to how AIX traditionally builds its shared libraries.
15.10259 + 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'
15.10260 + fi
15.10261 + fi
15.10262 + ;;
15.10263 + chorus*)
15.10264 + case $cc_basename in
15.10265 + *)
15.10266 + # FIXME: insert proper C++ library support
15.10267 + ld_shlibs_CXX=no
15.10268 + ;;
15.10269 + esac
15.10270 + ;;
15.10271 +
15.10272 +
15.10273 + cygwin* | mingw* | pw32*)
15.10274 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15.10275 + # as there is no search path for DLLs.
15.10276 + hardcode_libdir_flag_spec_CXX='-L$libdir'
15.10277 + allow_undefined_flag_CXX=unsupported
15.10278 + always_export_symbols_CXX=no
15.10279 + enable_shared_with_static_runtimes_CXX=yes
15.10280 +
15.10281 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15.10282 + 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'
15.10283 + # If the export-symbols file already is a .def file (1st line
15.10284 + # is EXPORTS), use it as is; otherwise, prepend...
15.10285 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15.10286 + cp $export_symbols $output_objdir/$soname.def;
15.10287 + else
15.10288 + echo EXPORTS > $output_objdir/$soname.def;
15.10289 + cat $export_symbols >> $output_objdir/$soname.def;
15.10290 + fi~
15.10291 + $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'
15.10292 + else
15.10293 + ld_shlibs_CXX=no
15.10294 + fi
15.10295 + ;;
15.10296 + darwin* | rhapsody*)
15.10297 + case $host_os in
15.10298 + rhapsody* | darwin1.[012])
15.10299 + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
15.10300 + ;;
15.10301 + *) # Darwin 1.3 on
15.10302 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15.10303 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15.10304 + else
15.10305 + case ${MACOSX_DEPLOYMENT_TARGET} in
15.10306 + 10.[012])
15.10307 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15.10308 + ;;
15.10309 + 10.*)
15.10310 + allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
15.10311 + ;;
15.10312 + esac
15.10313 + fi
15.10314 + ;;
15.10315 + esac
15.10316 + archive_cmds_need_lc_CXX=no
15.10317 + hardcode_direct_CXX=no
15.10318 + hardcode_automatic_CXX=yes
15.10319 + hardcode_shlibpath_var_CXX=unsupported
15.10320 + whole_archive_flag_spec_CXX=''
15.10321 + link_all_deplibs_CXX=yes
15.10322 +
15.10323 + if test "$GXX" = yes ; then
15.10324 + lt_int_apple_cc_single_mod=no
15.10325 + output_verbose_link_cmd='echo'
15.10326 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
15.10327 + lt_int_apple_cc_single_mod=yes
15.10328 + fi
15.10329 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15.10330 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15.10331 + else
15.10332 + archive_cmds_CXX='$CC -r -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'
15.10333 + fi
15.10334 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15.10335 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15.10336 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15.10337 + 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}'
15.10338 + else
15.10339 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -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}'
15.10340 + fi
15.10341 + 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}'
15.10342 + else
15.10343 + case $cc_basename in
15.10344 + xlc*)
15.10345 + output_verbose_link_cmd='echo'
15.10346 + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15.10347 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15.10348 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15.10349 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15.10350 + 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}'
15.10351 + ;;
15.10352 + *)
15.10353 + ld_shlibs_CXX=no
15.10354 + ;;
15.10355 + esac
15.10356 + fi
15.10357 + ;;
15.10358 +
15.10359 + dgux*)
15.10360 + case $cc_basename in
15.10361 + ec++*)
15.10362 + # FIXME: insert proper C++ library support
15.10363 + ld_shlibs_CXX=no
15.10364 + ;;
15.10365 + ghcx*)
15.10366 + # Green Hills C++ Compiler
15.10367 + # FIXME: insert proper C++ library support
15.10368 + ld_shlibs_CXX=no
15.10369 + ;;
15.10370 + *)
15.10371 + # FIXME: insert proper C++ library support
15.10372 + ld_shlibs_CXX=no
15.10373 + ;;
15.10374 + esac
15.10375 + ;;
15.10376 + freebsd[12]*)
15.10377 + # C++ shared libraries reported to be fairly broken before switch to ELF
15.10378 + ld_shlibs_CXX=no
15.10379 + ;;
15.10380 + freebsd-elf*)
15.10381 + archive_cmds_need_lc_CXX=no
15.10382 + ;;
15.10383 + freebsd* | kfreebsd*-gnu | dragonfly*)
15.10384 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15.10385 + # conventions
15.10386 + ld_shlibs_CXX=yes
15.10387 + ;;
15.10388 + gnu*)
15.10389 + ;;
15.10390 + hpux9*)
15.10391 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15.10392 + hardcode_libdir_separator_CXX=:
15.10393 + export_dynamic_flag_spec_CXX='${wl}-E'
15.10394 + hardcode_direct_CXX=yes
15.10395 + hardcode_minus_L_CXX=yes # Not in the search PATH,
15.10396 + # but as the default
15.10397 + # location of the library.
15.10398 +
15.10399 + case $cc_basename in
15.10400 + CC*)
15.10401 + # FIXME: insert proper C++ library support
15.10402 + ld_shlibs_CXX=no
15.10403 + ;;
15.10404 + aCC*)
15.10405 + 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'
15.10406 + # Commands to make compiler produce verbose output that lists
15.10407 + # what "hidden" libraries, object files and flags are used when
15.10408 + # linking a shared library.
15.10409 + #
15.10410 + # There doesn't appear to be a way to prevent this compiler from
15.10411 + # explicitly linking system object files so we need to strip them
15.10412 + # from the output so that they don't get included in the library
15.10413 + # dependencies.
15.10414 + 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'
15.10415 + ;;
15.10416 + *)
15.10417 + if test "$GXX" = yes; then
15.10418 + 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'
15.10419 + else
15.10420 + # FIXME: insert proper C++ library support
15.10421 + ld_shlibs_CXX=no
15.10422 + fi
15.10423 + ;;
15.10424 + esac
15.10425 + ;;
15.10426 + hpux10*|hpux11*)
15.10427 + if test $with_gnu_ld = no; then
15.10428 + case $host_cpu in
15.10429 + hppa*64*)
15.10430 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15.10431 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
15.10432 + hardcode_libdir_separator_CXX=:
15.10433 + ;;
15.10434 + ia64*)
15.10435 + hardcode_libdir_flag_spec_CXX='-L$libdir'
15.10436 + ;;
15.10437 + *)
15.10438 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15.10439 + hardcode_libdir_separator_CXX=:
15.10440 + export_dynamic_flag_spec_CXX='${wl}-E'
15.10441 + ;;
15.10442 + esac
15.10443 + fi
15.10444 + case $host_cpu in
15.10445 + hppa*64*)
15.10446 + hardcode_direct_CXX=no
15.10447 + hardcode_shlibpath_var_CXX=no
15.10448 + ;;
15.10449 + ia64*)
15.10450 + hardcode_direct_CXX=no
15.10451 + hardcode_shlibpath_var_CXX=no
15.10452 + hardcode_minus_L_CXX=yes # Not in the search PATH,
15.10453 + # but as the default
15.10454 + # location of the library.
15.10455 + ;;
15.10456 + *)
15.10457 + hardcode_direct_CXX=yes
15.10458 + hardcode_minus_L_CXX=yes # Not in the search PATH,
15.10459 + # but as the default
15.10460 + # location of the library.
15.10461 + ;;
15.10462 + esac
15.10463 +
15.10464 + case $cc_basename in
15.10465 + CC*)
15.10466 + # FIXME: insert proper C++ library support
15.10467 + ld_shlibs_CXX=no
15.10468 + ;;
15.10469 + aCC*)
15.10470 + case $host_cpu in
15.10471 + hppa*64*|ia64*)
15.10472 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
15.10473 + ;;
15.10474 + *)
15.10475 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15.10476 + ;;
15.10477 + esac
15.10478 + # Commands to make compiler produce verbose output that lists
15.10479 + # what "hidden" libraries, object files and flags are used when
15.10480 + # linking a shared library.
15.10481 + #
15.10482 + # There doesn't appear to be a way to prevent this compiler from
15.10483 + # explicitly linking system object files so we need to strip them
15.10484 + # from the output so that they don't get included in the library
15.10485 + # dependencies.
15.10486 + 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'
15.10487 + ;;
15.10488 + *)
15.10489 + if test "$GXX" = yes; then
15.10490 + if test $with_gnu_ld = no; then
15.10491 + case $host_cpu in
15.10492 + ia64*|hppa*64*)
15.10493 + archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
15.10494 + ;;
15.10495 + *)
15.10496 + 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'
15.10497 + ;;
15.10498 + esac
15.10499 + fi
15.10500 + else
15.10501 + # FIXME: insert proper C++ library support
15.10502 + ld_shlibs_CXX=no
15.10503 + fi
15.10504 + ;;
15.10505 + esac
15.10506 + ;;
15.10507 + irix5* | irix6*)
15.10508 + case $cc_basename in
15.10509 + CC*)
15.10510 + # SGI C++
15.10511 + 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 ${output_objdir}/so_locations -o $lib'
15.10512 +
15.10513 + # Archives containing C++ object files must be created using
15.10514 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15.10515 + # necessary to make sure instantiated templates are included
15.10516 + # in the archive.
15.10517 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15.10518 + ;;
15.10519 + *)
15.10520 + if test "$GXX" = yes; then
15.10521 + if test "$with_gnu_ld" = no; then
15.10522 + 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}${output_objdir}/so_locations -o $lib'
15.10523 + else
15.10524 + 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'
15.10525 + fi
15.10526 + fi
15.10527 + link_all_deplibs_CXX=yes
15.10528 + ;;
15.10529 + esac
15.10530 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15.10531 + hardcode_libdir_separator_CXX=:
15.10532 + ;;
15.10533 + linux*)
15.10534 + case $cc_basename in
15.10535 + KCC*)
15.10536 + # Kuck and Associates, Inc. (KAI) C++ Compiler
15.10537 +
15.10538 + # KCC will only create a shared library if the output file
15.10539 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
15.10540 + # to its proper name (with version) after linking.
15.10541 + 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'
15.10542 + 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'
15.10543 + # Commands to make compiler produce verbose output that lists
15.10544 + # what "hidden" libraries, object files and flags are used when
15.10545 + # linking a shared library.
15.10546 + #
15.10547 + # There doesn't appear to be a way to prevent this compiler from
15.10548 + # explicitly linking system object files so we need to strip them
15.10549 + # from the output so that they don't get included in the library
15.10550 + # dependencies.
15.10551 + 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'
15.10552 +
15.10553 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
15.10554 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15.10555 +
15.10556 + # Archives containing C++ object files must be created using
15.10557 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15.10558 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15.10559 + ;;
15.10560 + icpc*)
15.10561 + # Intel C++
15.10562 + with_gnu_ld=yes
15.10563 + # version 8.0 and above of icpc choke on multiply defined symbols
15.10564 + # if we add $predep_objects and $postdep_objects, however 7.1 and
15.10565 + # earlier do not add the objects themselves.
15.10566 + case `$CC -V 2>&1` in
15.10567 + *"Version 7."*)
15.10568 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.10569 + 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'
15.10570 + ;;
15.10571 + *) # Version 8.0 or newer
15.10572 + tmp_idyn=
15.10573 + case $host_cpu in
15.10574 + ia64*) tmp_idyn=' -i_dynamic';;
15.10575 + esac
15.10576 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.10577 + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15.10578 + ;;
15.10579 + esac
15.10580 + archive_cmds_need_lc_CXX=no
15.10581 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15.10582 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15.10583 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15.10584 + ;;
15.10585 + pgCC*)
15.10586 + # Portland Group C++ compiler
15.10587 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15.10588 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15.10589 +
15.10590 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15.10591 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15.10592 + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15.10593 + ;;
15.10594 + cxx*)
15.10595 + # Compaq C++
15.10596 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.10597 + 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'
15.10598 +
15.10599 + runpath_var=LD_RUN_PATH
15.10600 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15.10601 + hardcode_libdir_separator_CXX=:
15.10602 +
15.10603 + # Commands to make compiler produce verbose output that lists
15.10604 + # what "hidden" libraries, object files and flags are used when
15.10605 + # linking a shared library.
15.10606 + #
15.10607 + # There doesn't appear to be a way to prevent this compiler from
15.10608 + # explicitly linking system object files so we need to strip them
15.10609 + # from the output so that they don't get included in the library
15.10610 + # dependencies.
15.10611 + 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'
15.10612 + ;;
15.10613 + esac
15.10614 + ;;
15.10615 + lynxos*)
15.10616 + # FIXME: insert proper C++ library support
15.10617 + ld_shlibs_CXX=no
15.10618 + ;;
15.10619 + m88k*)
15.10620 + # FIXME: insert proper C++ library support
15.10621 + ld_shlibs_CXX=no
15.10622 + ;;
15.10623 + mvs*)
15.10624 + case $cc_basename in
15.10625 + cxx*)
15.10626 + # FIXME: insert proper C++ library support
15.10627 + ld_shlibs_CXX=no
15.10628 + ;;
15.10629 + *)
15.10630 + # FIXME: insert proper C++ library support
15.10631 + ld_shlibs_CXX=no
15.10632 + ;;
15.10633 + esac
15.10634 + ;;
15.10635 + netbsd*)
15.10636 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15.10637 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15.10638 + wlarc=
15.10639 + hardcode_libdir_flag_spec_CXX='-R$libdir'
15.10640 + hardcode_direct_CXX=yes
15.10641 + hardcode_shlibpath_var_CXX=no
15.10642 + fi
15.10643 + # Workaround some broken pre-1.5 toolchains
15.10644 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15.10645 + ;;
15.10646 + openbsd2*)
15.10647 + # C++ shared libraries are fairly broken
15.10648 + ld_shlibs_CXX=no
15.10649 + ;;
15.10650 + openbsd*)
15.10651 + hardcode_direct_CXX=yes
15.10652 + hardcode_shlibpath_var_CXX=no
15.10653 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15.10654 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15.10655 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15.10656 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15.10657 + export_dynamic_flag_spec_CXX='${wl}-E'
15.10658 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15.10659 + fi
15.10660 + output_verbose_link_cmd='echo'
15.10661 + ;;
15.10662 + osf3*)
15.10663 + case $cc_basename in
15.10664 + KCC*)
15.10665 + # Kuck and Associates, Inc. (KAI) C++ Compiler
15.10666 +
15.10667 + # KCC will only create a shared library if the output file
15.10668 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
15.10669 + # to its proper name (with version) after linking.
15.10670 + 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'
15.10671 +
15.10672 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15.10673 + hardcode_libdir_separator_CXX=:
15.10674 +
15.10675 + # Archives containing C++ object files must be created using
15.10676 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15.10677 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15.10678 +
15.10679 + ;;
15.10680 + RCC*)
15.10681 + # Rational C++ 2.4.1
15.10682 + # FIXME: insert proper C++ library support
15.10683 + ld_shlibs_CXX=no
15.10684 + ;;
15.10685 + cxx*)
15.10686 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15.10687 + 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 ${output_objdir}/so_locations -o $lib'
15.10688 +
15.10689 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15.10690 + hardcode_libdir_separator_CXX=:
15.10691 +
15.10692 + # Commands to make compiler produce verbose output that lists
15.10693 + # what "hidden" libraries, object files and flags are used when
15.10694 + # linking a shared library.
15.10695 + #
15.10696 + # There doesn't appear to be a way to prevent this compiler from
15.10697 + # explicitly linking system object files so we need to strip them
15.10698 + # from the output so that they don't get included in the library
15.10699 + # dependencies.
15.10700 + 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'
15.10701 + ;;
15.10702 + *)
15.10703 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15.10704 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15.10705 + 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}${output_objdir}/so_locations -o $lib'
15.10706 +
15.10707 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15.10708 + hardcode_libdir_separator_CXX=:
15.10709 +
15.10710 + # Commands to make compiler produce verbose output that lists
15.10711 + # what "hidden" libraries, object files and flags are used when
15.10712 + # linking a shared library.
15.10713 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15.10714 +
15.10715 + else
15.10716 + # FIXME: insert proper C++ library support
15.10717 + ld_shlibs_CXX=no
15.10718 + fi
15.10719 + ;;
15.10720 + esac
15.10721 + ;;
15.10722 + osf4* | osf5*)
15.10723 + case $cc_basename in
15.10724 + KCC*)
15.10725 + # Kuck and Associates, Inc. (KAI) C++ Compiler
15.10726 +
15.10727 + # KCC will only create a shared library if the output file
15.10728 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
15.10729 + # to its proper name (with version) after linking.
15.10730 + 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'
15.10731 +
15.10732 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15.10733 + hardcode_libdir_separator_CXX=:
15.10734 +
15.10735 + # Archives containing C++ object files must be created using
15.10736 + # the KAI C++ compiler.
15.10737 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
15.10738 + ;;
15.10739 + RCC*)
15.10740 + # Rational C++ 2.4.1
15.10741 + # FIXME: insert proper C++ library support
15.10742 + ld_shlibs_CXX=no
15.10743 + ;;
15.10744 + cxx*)
15.10745 + allow_undefined_flag_CXX=' -expect_unresolved \*'
15.10746 + 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 ${output_objdir}/so_locations -o $lib'
15.10747 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15.10748 + echo "-hidden">> $lib.exp~
15.10749 + $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 ${output_objdir}/so_locations -o $lib~
15.10750 + $rm $lib.exp'
15.10751 +
15.10752 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15.10753 + hardcode_libdir_separator_CXX=:
15.10754 +
15.10755 + # Commands to make compiler produce verbose output that lists
15.10756 + # what "hidden" libraries, object files and flags are used when
15.10757 + # linking a shared library.
15.10758 + #
15.10759 + # There doesn't appear to be a way to prevent this compiler from
15.10760 + # explicitly linking system object files so we need to strip them
15.10761 + # from the output so that they don't get included in the library
15.10762 + # dependencies.
15.10763 + 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'
15.10764 + ;;
15.10765 + *)
15.10766 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15.10767 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15.10768 + 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}${output_objdir}/so_locations -o $lib'
15.10769 +
15.10770 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15.10771 + hardcode_libdir_separator_CXX=:
15.10772 +
15.10773 + # Commands to make compiler produce verbose output that lists
15.10774 + # what "hidden" libraries, object files and flags are used when
15.10775 + # linking a shared library.
15.10776 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15.10777 +
15.10778 + else
15.10779 + # FIXME: insert proper C++ library support
15.10780 + ld_shlibs_CXX=no
15.10781 + fi
15.10782 + ;;
15.10783 + esac
15.10784 + ;;
15.10785 + psos*)
15.10786 + # FIXME: insert proper C++ library support
15.10787 + ld_shlibs_CXX=no
15.10788 + ;;
15.10789 + sco*)
15.10790 + archive_cmds_need_lc_CXX=no
15.10791 + case $cc_basename in
15.10792 + CC*)
15.10793 + # FIXME: insert proper C++ library support
15.10794 + ld_shlibs_CXX=no
15.10795 + ;;
15.10796 + *)
15.10797 + # FIXME: insert proper C++ library support
15.10798 + ld_shlibs_CXX=no
15.10799 + ;;
15.10800 + esac
15.10801 + ;;
15.10802 + sunos4*)
15.10803 + case $cc_basename in
15.10804 + CC*)
15.10805 + # Sun C++ 4.x
15.10806 + # FIXME: insert proper C++ library support
15.10807 + ld_shlibs_CXX=no
15.10808 + ;;
15.10809 + lcc*)
15.10810 + # Lucid
15.10811 + # FIXME: insert proper C++ library support
15.10812 + ld_shlibs_CXX=no
15.10813 + ;;
15.10814 + *)
15.10815 + # FIXME: insert proper C++ library support
15.10816 + ld_shlibs_CXX=no
15.10817 + ;;
15.10818 + esac
15.10819 + ;;
15.10820 + solaris*)
15.10821 + case $cc_basename in
15.10822 + CC*)
15.10823 + # Sun C++ 4.2, 5.x and Centerline C++
15.10824 + archive_cmds_need_lc_CXX=yes
15.10825 + no_undefined_flag_CXX=' -zdefs'
15.10826 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15.10827 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.10828 + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
15.10829 +
15.10830 + hardcode_libdir_flag_spec_CXX='-R$libdir'
15.10831 + hardcode_shlibpath_var_CXX=no
15.10832 + case $host_os in
15.10833 + solaris2.[0-5] | solaris2.[0-5].*) ;;
15.10834 + *)
15.10835 + # The C++ compiler is used as linker so we must use $wl
15.10836 + # flag to pass the commands to the underlying system
15.10837 + # linker. We must also pass each convience library through
15.10838 + # to the system linker between allextract/defaultextract.
15.10839 + # The C++ compiler will combine linker options so we
15.10840 + # cannot just pass the convience library names through
15.10841 + # without $wl.
15.10842 + # Supported since Solaris 2.6 (maybe 2.5.1?)
15.10843 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
15.10844 + ;;
15.10845 + esac
15.10846 + link_all_deplibs_CXX=yes
15.10847 +
15.10848 + output_verbose_link_cmd='echo'
15.10849 +
15.10850 + # Archives containing C++ object files must be created using
15.10851 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
15.10852 + # necessary to make sure instantiated templates are included
15.10853 + # in the archive.
15.10854 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15.10855 + ;;
15.10856 + gcx*)
15.10857 + # Green Hills C++ Compiler
15.10858 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15.10859 +
15.10860 + # The C++ compiler must be used to create the archive.
15.10861 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15.10862 + ;;
15.10863 + *)
15.10864 + # GNU C++ compiler with Solaris linker
15.10865 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15.10866 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15.10867 + if $CC --version | grep -v '^2\.7' > /dev/null; then
15.10868 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15.10869 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.10870 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
15.10871 +
15.10872 + # Commands to make compiler produce verbose output that lists
15.10873 + # what "hidden" libraries, object files and flags are used when
15.10874 + # linking a shared library.
15.10875 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
15.10876 + else
15.10877 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
15.10878 + # platform.
15.10879 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15.10880 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.10881 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
15.10882 +
15.10883 + # Commands to make compiler produce verbose output that lists
15.10884 + # what "hidden" libraries, object files and flags are used when
15.10885 + # linking a shared library.
15.10886 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
15.10887 + fi
15.10888 +
15.10889 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15.10890 + fi
15.10891 + ;;
15.10892 + esac
15.10893 + ;;
15.10894 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
15.10895 + archive_cmds_need_lc_CXX=no
15.10896 + ;;
15.10897 + tandem*)
15.10898 + case $cc_basename in
15.10899 + NCC*)
15.10900 + # NonStop-UX NCC 3.20
15.10901 + # FIXME: insert proper C++ library support
15.10902 + ld_shlibs_CXX=no
15.10903 + ;;
15.10904 + *)
15.10905 + # FIXME: insert proper C++ library support
15.10906 + ld_shlibs_CXX=no
15.10907 + ;;
15.10908 + esac
15.10909 + ;;
15.10910 + vxworks*)
15.10911 + # FIXME: insert proper C++ library support
15.10912 + ld_shlibs_CXX=no
15.10913 + ;;
15.10914 + *)
15.10915 + # FIXME: insert proper C++ library support
15.10916 + ld_shlibs_CXX=no
15.10917 + ;;
15.10918 +esac
15.10919 +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15.10920 +echo "${ECHO_T}$ld_shlibs_CXX" >&6
15.10921 +test "$ld_shlibs_CXX" = no && can_build_shared=no
15.10922 +
15.10923 +GCC_CXX="$GXX"
15.10924 +LD_CXX="$LD"
15.10925 +
15.10926 +
15.10927 +cat > conftest.$ac_ext <<EOF
15.10928 +class Foo
15.10929 +{
15.10930 +public:
15.10931 + Foo (void) { a = 0; }
15.10932 +private:
15.10933 + int a;
15.10934 +};
15.10935 +EOF
15.10936 +
15.10937 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.10938 + (eval $ac_compile) 2>&5
15.10939 + ac_status=$?
15.10940 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.10941 + (exit $ac_status); }; then
15.10942 + # Parse the compiler output and extract the necessary
15.10943 + # objects, libraries and library flags.
15.10944 +
15.10945 + # Sentinel used to keep track of whether or not we are before
15.10946 + # the conftest object file.
15.10947 + pre_test_object_deps_done=no
15.10948 +
15.10949 + # The `*' in the case matches for architectures that use `case' in
15.10950 + # $output_verbose_cmd can trigger glob expansion during the loop
15.10951 + # eval without this substitution.
15.10952 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
15.10953 +
15.10954 + for p in `eval $output_verbose_link_cmd`; do
15.10955 + case $p in
15.10956 +
15.10957 + -L* | -R* | -l*)
15.10958 + # Some compilers place space between "-{L,R}" and the path.
15.10959 + # Remove the space.
15.10960 + if test $p = "-L" \
15.10961 + || test $p = "-R"; then
15.10962 + prev=$p
15.10963 + continue
15.10964 + else
15.10965 + prev=
15.10966 + fi
15.10967 +
15.10968 + if test "$pre_test_object_deps_done" = no; then
15.10969 + case $p in
15.10970 + -L* | -R*)
15.10971 + # Internal compiler library paths should come after those
15.10972 + # provided the user. The postdeps already come after the
15.10973 + # user supplied libs so there is no need to process them.
15.10974 + if test -z "$compiler_lib_search_path_CXX"; then
15.10975 + compiler_lib_search_path_CXX="${prev}${p}"
15.10976 + else
15.10977 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15.10978 + fi
15.10979 + ;;
15.10980 + # The "-l" case would never come before the object being
15.10981 + # linked, so don't bother handling this case.
15.10982 + esac
15.10983 + else
15.10984 + if test -z "$postdeps_CXX"; then
15.10985 + postdeps_CXX="${prev}${p}"
15.10986 + else
15.10987 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15.10988 + fi
15.10989 + fi
15.10990 + ;;
15.10991 +
15.10992 + *.$objext)
15.10993 + # This assumes that the test object file only shows up
15.10994 + # once in the compiler output.
15.10995 + if test "$p" = "conftest.$objext"; then
15.10996 + pre_test_object_deps_done=yes
15.10997 + continue
15.10998 + fi
15.10999 +
15.11000 + if test "$pre_test_object_deps_done" = no; then
15.11001 + if test -z "$predep_objects_CXX"; then
15.11002 + predep_objects_CXX="$p"
15.11003 + else
15.11004 + predep_objects_CXX="$predep_objects_CXX $p"
15.11005 + fi
15.11006 + else
15.11007 + if test -z "$postdep_objects_CXX"; then
15.11008 + postdep_objects_CXX="$p"
15.11009 + else
15.11010 + postdep_objects_CXX="$postdep_objects_CXX $p"
15.11011 + fi
15.11012 + fi
15.11013 + ;;
15.11014 +
15.11015 + *) ;; # Ignore the rest.
15.11016 +
15.11017 + esac
15.11018 + done
15.11019 +
15.11020 + # Clean up.
15.11021 + rm -f a.out a.exe
15.11022 +else
15.11023 + echo "libtool.m4: error: problem compiling CXX test program"
15.11024 +fi
15.11025 +
15.11026 +$rm -f confest.$objext
15.11027 +
15.11028 +# PORTME: override above test on systems where it is broken
15.11029 +case $host_os in
15.11030 +solaris*)
15.11031 + case $cc_basename in
15.11032 + CC*)
15.11033 + # Adding this requires a known-good setup of shared libraries for
15.11034 + # Sun compiler versions before 5.6, else PIC objects from an old
15.11035 + # archive will be linked into the output, leading to subtle bugs.
15.11036 + postdeps_CXX='-lCstd -lCrun'
15.11037 + ;;
15.11038 + esac
15.11039 +esac
15.11040 +
15.11041 +
15.11042 +case " $postdeps_CXX " in
15.11043 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15.11044 +esac
15.11045 +
15.11046 +lt_prog_compiler_wl_CXX=
15.11047 +lt_prog_compiler_pic_CXX=
15.11048 +lt_prog_compiler_static_CXX=
15.11049 +
15.11050 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15.11051 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15.11052 +
15.11053 + # C++ specific cases for pic, static, wl, etc.
15.11054 + if test "$GXX" = yes; then
15.11055 + lt_prog_compiler_wl_CXX='-Wl,'
15.11056 + lt_prog_compiler_static_CXX='-static'
15.11057 +
15.11058 + case $host_os in
15.11059 + aix*)
15.11060 + # All AIX code is PIC.
15.11061 + if test "$host_cpu" = ia64; then
15.11062 + # AIX 5 now supports IA64 processor
15.11063 + lt_prog_compiler_static_CXX='-Bstatic'
15.11064 + fi
15.11065 + ;;
15.11066 + amigaos*)
15.11067 + # FIXME: we need at least 68020 code to build shared libraries, but
15.11068 + # adding the `-m68020' flag to GCC prevents building anything better,
15.11069 + # like `-m68040'.
15.11070 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15.11071 + ;;
15.11072 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15.11073 + # PIC is the default for these OSes.
15.11074 + ;;
15.11075 + mingw* | os2* | pw32*)
15.11076 + # This hack is so that the source file can tell whether it is being
15.11077 + # built for inclusion in a dll (and should export symbols for example).
15.11078 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15.11079 + ;;
15.11080 + darwin* | rhapsody*)
15.11081 + # PIC is the default on this platform
15.11082 + # Common symbols not allowed in MH_DYLIB files
15.11083 + lt_prog_compiler_pic_CXX='-fno-common'
15.11084 + ;;
15.11085 + *djgpp*)
15.11086 + # DJGPP does not support shared libraries at all
15.11087 + lt_prog_compiler_pic_CXX=
15.11088 + ;;
15.11089 + sysv4*MP*)
15.11090 + if test -d /usr/nec; then
15.11091 + lt_prog_compiler_pic_CXX=-Kconform_pic
15.11092 + fi
15.11093 + ;;
15.11094 + hpux*)
15.11095 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15.11096 + # not for PA HP-UX.
15.11097 + case $host_cpu in
15.11098 + hppa*64*|ia64*)
15.11099 + ;;
15.11100 + *)
15.11101 + lt_prog_compiler_pic_CXX='-fPIC'
15.11102 + ;;
15.11103 + esac
15.11104 + ;;
15.11105 + *)
15.11106 + lt_prog_compiler_pic_CXX='-fPIC'
15.11107 + ;;
15.11108 + esac
15.11109 + else
15.11110 + case $host_os in
15.11111 + aix4* | aix5*)
15.11112 + # All AIX code is PIC.
15.11113 + if test "$host_cpu" = ia64; then
15.11114 + # AIX 5 now supports IA64 processor
15.11115 + lt_prog_compiler_static_CXX='-Bstatic'
15.11116 + else
15.11117 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15.11118 + fi
15.11119 + ;;
15.11120 + chorus*)
15.11121 + case $cc_basename in
15.11122 + cxch68*)
15.11123 + # Green Hills C++ Compiler
15.11124 + # _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"
15.11125 + ;;
15.11126 + esac
15.11127 + ;;
15.11128 + darwin*)
15.11129 + # PIC is the default on this platform
15.11130 + # Common symbols not allowed in MH_DYLIB files
15.11131 + case $cc_basename in
15.11132 + xlc*)
15.11133 + lt_prog_compiler_pic_CXX='-qnocommon'
15.11134 + lt_prog_compiler_wl_CXX='-Wl,'
15.11135 + ;;
15.11136 + esac
15.11137 + ;;
15.11138 + dgux*)
15.11139 + case $cc_basename in
15.11140 + ec++*)
15.11141 + lt_prog_compiler_pic_CXX='-KPIC'
15.11142 + ;;
15.11143 + ghcx*)
15.11144 + # Green Hills C++ Compiler
15.11145 + lt_prog_compiler_pic_CXX='-pic'
15.11146 + ;;
15.11147 + *)
15.11148 + ;;
15.11149 + esac
15.11150 + ;;
15.11151 + freebsd* | kfreebsd*-gnu | dragonfly*)
15.11152 + # FreeBSD uses GNU C++
15.11153 + ;;
15.11154 + hpux9* | hpux10* | hpux11*)
15.11155 + case $cc_basename in
15.11156 + CC*)
15.11157 + lt_prog_compiler_wl_CXX='-Wl,'
15.11158 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
15.11159 + if test "$host_cpu" != ia64; then
15.11160 + lt_prog_compiler_pic_CXX='+Z'
15.11161 + fi
15.11162 + ;;
15.11163 + aCC*)
15.11164 + lt_prog_compiler_wl_CXX='-Wl,'
15.11165 + lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
15.11166 + case $host_cpu in
15.11167 + hppa*64*|ia64*)
15.11168 + # +Z the default
15.11169 + ;;
15.11170 + *)
15.11171 + lt_prog_compiler_pic_CXX='+Z'
15.11172 + ;;
15.11173 + esac
15.11174 + ;;
15.11175 + *)
15.11176 + ;;
15.11177 + esac
15.11178 + ;;
15.11179 + irix5* | irix6* | nonstopux*)
15.11180 + case $cc_basename in
15.11181 + CC*)
15.11182 + lt_prog_compiler_wl_CXX='-Wl,'
15.11183 + lt_prog_compiler_static_CXX='-non_shared'
15.11184 + # CC pic flag -KPIC is the default.
15.11185 + ;;
15.11186 + *)
15.11187 + ;;
15.11188 + esac
15.11189 + ;;
15.11190 + linux*)
15.11191 + case $cc_basename in
15.11192 + KCC*)
15.11193 + # KAI C++ Compiler
15.11194 + lt_prog_compiler_wl_CXX='--backend -Wl,'
15.11195 + lt_prog_compiler_pic_CXX='-fPIC'
15.11196 + ;;
15.11197 + icpc* | ecpc*)
15.11198 + # Intel C++
15.11199 + lt_prog_compiler_wl_CXX='-Wl,'
15.11200 + lt_prog_compiler_pic_CXX='-KPIC'
15.11201 + lt_prog_compiler_static_CXX='-static'
15.11202 + ;;
15.11203 + pgCC*)
15.11204 + # Portland Group C++ compiler.
15.11205 + lt_prog_compiler_wl_CXX='-Wl,'
15.11206 + lt_prog_compiler_pic_CXX='-fpic'
15.11207 + lt_prog_compiler_static_CXX='-Bstatic'
15.11208 + ;;
15.11209 + cxx*)
15.11210 + # Compaq C++
15.11211 + # Make sure the PIC flag is empty. It appears that all Alpha
15.11212 + # Linux and Compaq Tru64 Unix objects are PIC.
15.11213 + lt_prog_compiler_pic_CXX=
15.11214 + lt_prog_compiler_static_CXX='-non_shared'
15.11215 + ;;
15.11216 + *)
15.11217 + ;;
15.11218 + esac
15.11219 + ;;
15.11220 + lynxos*)
15.11221 + ;;
15.11222 + m88k*)
15.11223 + ;;
15.11224 + mvs*)
15.11225 + case $cc_basename in
15.11226 + cxx*)
15.11227 + lt_prog_compiler_pic_CXX='-W c,exportall'
15.11228 + ;;
15.11229 + *)
15.11230 + ;;
15.11231 + esac
15.11232 + ;;
15.11233 + netbsd*)
15.11234 + ;;
15.11235 + osf3* | osf4* | osf5*)
15.11236 + case $cc_basename in
15.11237 + KCC*)
15.11238 + lt_prog_compiler_wl_CXX='--backend -Wl,'
15.11239 + ;;
15.11240 + RCC*)
15.11241 + # Rational C++ 2.4.1
15.11242 + lt_prog_compiler_pic_CXX='-pic'
15.11243 + ;;
15.11244 + cxx*)
15.11245 + # Digital/Compaq C++
15.11246 + lt_prog_compiler_wl_CXX='-Wl,'
15.11247 + # Make sure the PIC flag is empty. It appears that all Alpha
15.11248 + # Linux and Compaq Tru64 Unix objects are PIC.
15.11249 + lt_prog_compiler_pic_CXX=
15.11250 + lt_prog_compiler_static_CXX='-non_shared'
15.11251 + ;;
15.11252 + *)
15.11253 + ;;
15.11254 + esac
15.11255 + ;;
15.11256 + psos*)
15.11257 + ;;
15.11258 + sco*)
15.11259 + case $cc_basename in
15.11260 + CC*)
15.11261 + lt_prog_compiler_pic_CXX='-fPIC'
15.11262 + ;;
15.11263 + *)
15.11264 + ;;
15.11265 + esac
15.11266 + ;;
15.11267 + solaris*)
15.11268 + case $cc_basename in
15.11269 + CC*)
15.11270 + # Sun C++ 4.2, 5.x and Centerline C++
15.11271 + lt_prog_compiler_pic_CXX='-KPIC'
15.11272 + lt_prog_compiler_static_CXX='-Bstatic'
15.11273 + lt_prog_compiler_wl_CXX='-Qoption ld '
15.11274 + ;;
15.11275 + gcx*)
15.11276 + # Green Hills C++ Compiler
15.11277 + lt_prog_compiler_pic_CXX='-PIC'
15.11278 + ;;
15.11279 + *)
15.11280 + ;;
15.11281 + esac
15.11282 + ;;
15.11283 + sunos4*)
15.11284 + case $cc_basename in
15.11285 + CC*)
15.11286 + # Sun C++ 4.x
15.11287 + lt_prog_compiler_pic_CXX='-pic'
15.11288 + lt_prog_compiler_static_CXX='-Bstatic'
15.11289 + ;;
15.11290 + lcc*)
15.11291 + # Lucid
15.11292 + lt_prog_compiler_pic_CXX='-pic'
15.11293 + ;;
15.11294 + *)
15.11295 + ;;
15.11296 + esac
15.11297 + ;;
15.11298 + tandem*)
15.11299 + case $cc_basename in
15.11300 + NCC*)
15.11301 + # NonStop-UX NCC 3.20
15.11302 + lt_prog_compiler_pic_CXX='-KPIC'
15.11303 + ;;
15.11304 + *)
15.11305 + ;;
15.11306 + esac
15.11307 + ;;
15.11308 + unixware*)
15.11309 + ;;
15.11310 + vxworks*)
15.11311 + ;;
15.11312 + *)
15.11313 + lt_prog_compiler_can_build_shared_CXX=no
15.11314 + ;;
15.11315 + esac
15.11316 + fi
15.11317 +
15.11318 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15.11319 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
15.11320 +
15.11321 +#
15.11322 +# Check to make sure the PIC flag actually works.
15.11323 +#
15.11324 +if test -n "$lt_prog_compiler_pic_CXX"; then
15.11325 +
15.11326 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15.11327 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
15.11328 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
15.11329 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.11330 +else
15.11331 + lt_prog_compiler_pic_works_CXX=no
15.11332 + ac_outfile=conftest.$ac_objext
15.11333 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.11334 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15.11335 + # Insert the option either (1) after the last *FLAGS variable, or
15.11336 + # (2) before a word containing "conftest.", or (3) at the end.
15.11337 + # Note that $ac_compile itself does not contain backslashes and begins
15.11338 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15.11339 + # The option is referenced via a variable to avoid confusing sed.
15.11340 + lt_compile=`echo "$ac_compile" | $SED \
15.11341 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15.11342 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15.11343 + -e 's:$: $lt_compiler_flag:'`
15.11344 + (eval echo "\"\$as_me:11341: $lt_compile\"" >&5)
15.11345 + (eval "$lt_compile" 2>conftest.err)
15.11346 + ac_status=$?
15.11347 + cat conftest.err >&5
15.11348 + echo "$as_me:11345: \$? = $ac_status" >&5
15.11349 + if (exit $ac_status) && test -s "$ac_outfile"; then
15.11350 + # The compiler can only warn and ignore the option if not recognized
15.11351 + # So say no if there are warnings other than the usual output.
15.11352 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15.11353 + $SED '/^$/d' conftest.err >conftest.er2
15.11354 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
15.11355 + lt_prog_compiler_pic_works_CXX=yes
15.11356 + fi
15.11357 + fi
15.11358 + $rm conftest*
15.11359 +
15.11360 +fi
15.11361 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15.11362 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
15.11363 +
15.11364 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
15.11365 + case $lt_prog_compiler_pic_CXX in
15.11366 + "" | " "*) ;;
15.11367 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15.11368 + esac
15.11369 +else
15.11370 + lt_prog_compiler_pic_CXX=
15.11371 + lt_prog_compiler_can_build_shared_CXX=no
15.11372 +fi
15.11373 +
15.11374 +fi
15.11375 +case $host_os in
15.11376 + # For platforms which do not support PIC, -DPIC is meaningless:
15.11377 + *djgpp*)
15.11378 + lt_prog_compiler_pic_CXX=
15.11379 + ;;
15.11380 + *)
15.11381 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15.11382 + ;;
15.11383 +esac
15.11384 +
15.11385 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15.11386 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15.11387 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15.11388 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.11389 +else
15.11390 + lt_cv_prog_compiler_c_o_CXX=no
15.11391 + $rm -r conftest 2>/dev/null
15.11392 + mkdir conftest
15.11393 + cd conftest
15.11394 + mkdir out
15.11395 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.11396 +
15.11397 + lt_compiler_flag="-o out/conftest2.$ac_objext"
15.11398 + # Insert the option either (1) after the last *FLAGS variable, or
15.11399 + # (2) before a word containing "conftest.", or (3) at the end.
15.11400 + # Note that $ac_compile itself does not contain backslashes and begins
15.11401 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15.11402 + lt_compile=`echo "$ac_compile" | $SED \
15.11403 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15.11404 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15.11405 + -e 's:$: $lt_compiler_flag:'`
15.11406 + (eval echo "\"\$as_me:11403: $lt_compile\"" >&5)
15.11407 + (eval "$lt_compile" 2>out/conftest.err)
15.11408 + ac_status=$?
15.11409 + cat out/conftest.err >&5
15.11410 + echo "$as_me:11407: \$? = $ac_status" >&5
15.11411 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
15.11412 + then
15.11413 + # The compiler can only warn and ignore the option if not recognized
15.11414 + # So say no if there are warnings
15.11415 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
15.11416 + $SED '/^$/d' out/conftest.err >out/conftest.er2
15.11417 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15.11418 + lt_cv_prog_compiler_c_o_CXX=yes
15.11419 + fi
15.11420 + fi
15.11421 + chmod u+w . 2>&5
15.11422 + $rm conftest*
15.11423 + # SGI C++ compiler will create directory out/ii_files/ for
15.11424 + # template instantiation
15.11425 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15.11426 + $rm out/* && rmdir out
15.11427 + cd ..
15.11428 + rmdir conftest
15.11429 + $rm conftest*
15.11430 +
15.11431 +fi
15.11432 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15.11433 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15.11434 +
15.11435 +
15.11436 +hard_links="nottested"
15.11437 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15.11438 + # do not overwrite the value of need_locks provided by the user
15.11439 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15.11440 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15.11441 + hard_links=yes
15.11442 + $rm conftest*
15.11443 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15.11444 + touch conftest.a
15.11445 + ln conftest.a conftest.b 2>&5 || hard_links=no
15.11446 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15.11447 + echo "$as_me:$LINENO: result: $hard_links" >&5
15.11448 +echo "${ECHO_T}$hard_links" >&6
15.11449 + if test "$hard_links" = no; then
15.11450 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15.11451 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15.11452 + need_locks=warn
15.11453 + fi
15.11454 +else
15.11455 + need_locks=no
15.11456 +fi
15.11457 +
15.11458 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15.11459 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15.11460 +
15.11461 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15.11462 + case $host_os in
15.11463 + aix4* | aix5*)
15.11464 + # If we're using GNU nm, then we don't want the "-C" option.
15.11465 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
15.11466 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15.11467 + 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'
15.11468 + else
15.11469 + 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'
15.11470 + fi
15.11471 + ;;
15.11472 + pw32*)
15.11473 + export_symbols_cmds_CXX="$ltdll_cmds"
15.11474 + ;;
15.11475 + cygwin* | mingw*)
15.11476 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15.11477 + ;;
15.11478 + *)
15.11479 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15.11480 + ;;
15.11481 + esac
15.11482 +
15.11483 +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15.11484 +echo "${ECHO_T}$ld_shlibs_CXX" >&6
15.11485 +test "$ld_shlibs_CXX" = no && can_build_shared=no
15.11486 +
15.11487 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15.11488 +if test "$GCC" = yes; then
15.11489 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15.11490 +fi
15.11491 +
15.11492 +#
15.11493 +# Do we need to explicitly link libc?
15.11494 +#
15.11495 +case "x$archive_cmds_need_lc_CXX" in
15.11496 +x|xyes)
15.11497 + # Assume -lc should be added
15.11498 + archive_cmds_need_lc_CXX=yes
15.11499 +
15.11500 + if test "$enable_shared" = yes && test "$GCC" = yes; then
15.11501 + case $archive_cmds_CXX in
15.11502 + *'~'*)
15.11503 + # FIXME: we may have to deal with multi-command sequences.
15.11504 + ;;
15.11505 + '$CC '*)
15.11506 + # Test whether the compiler implicitly links with -lc since on some
15.11507 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
15.11508 + # to ld, don't add -lc before -lgcc.
15.11509 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15.11510 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15.11511 + $rm conftest*
15.11512 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.11513 +
15.11514 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.11515 + (eval $ac_compile) 2>&5
15.11516 + ac_status=$?
15.11517 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.11518 + (exit $ac_status); } 2>conftest.err; then
15.11519 + soname=conftest
15.11520 + lib=conftest
15.11521 + libobjs=conftest.$ac_objext
15.11522 + deplibs=
15.11523 + wl=$lt_prog_compiler_wl_CXX
15.11524 + compiler_flags=-v
15.11525 + linker_flags=-v
15.11526 + verstring=
15.11527 + output_objdir=.
15.11528 + libname=conftest
15.11529 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15.11530 + allow_undefined_flag_CXX=
15.11531 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15.11532 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15.11533 + ac_status=$?
15.11534 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.11535 + (exit $ac_status); }
15.11536 + then
15.11537 + archive_cmds_need_lc_CXX=no
15.11538 + else
15.11539 + archive_cmds_need_lc_CXX=yes
15.11540 + fi
15.11541 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15.11542 + else
15.11543 + cat conftest.err 1>&5
15.11544 + fi
15.11545 + $rm conftest*
15.11546 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15.11547 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
15.11548 + ;;
15.11549 + esac
15.11550 + fi
15.11551 + ;;
15.11552 +esac
15.11553 +
15.11554 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15.11555 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15.11556 +library_names_spec=
15.11557 +libname_spec='lib$name'
15.11558 +soname_spec=
15.11559 +shrext_cmds=".so"
15.11560 +postinstall_cmds=
15.11561 +postuninstall_cmds=
15.11562 +finish_cmds=
15.11563 +finish_eval=
15.11564 +shlibpath_var=
15.11565 +shlibpath_overrides_runpath=unknown
15.11566 +version_type=none
15.11567 +dynamic_linker="$host_os ld.so"
15.11568 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
15.11569 +if test "$GCC" = yes; then
15.11570 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15.11571 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15.11572 + # if the path contains ";" then we assume it to be the separator
15.11573 + # otherwise default to the standard path separator (i.e. ":") - it is
15.11574 + # assumed that no part of a normal pathname contains ";" but that should
15.11575 + # okay in the real world where ";" in dirpaths is itself problematic.
15.11576 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15.11577 + else
15.11578 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15.11579 + fi
15.11580 +else
15.11581 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15.11582 +fi
15.11583 +need_lib_prefix=unknown
15.11584 +hardcode_into_libs=no
15.11585 +
15.11586 +# when you set need_version to no, make sure it does not cause -set_version
15.11587 +# flags to be left without arguments
15.11588 +need_version=unknown
15.11589 +
15.11590 +case $host_os in
15.11591 +aix3*)
15.11592 + version_type=linux
15.11593 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15.11594 + shlibpath_var=LIBPATH
15.11595 +
15.11596 + # AIX 3 has no versioning support, so we append a major version to the name.
15.11597 + soname_spec='${libname}${release}${shared_ext}$major'
15.11598 + ;;
15.11599 +
15.11600 +aix4* | aix5*)
15.11601 + version_type=linux
15.11602 + need_lib_prefix=no
15.11603 + need_version=no
15.11604 + hardcode_into_libs=yes
15.11605 + if test "$host_cpu" = ia64; then
15.11606 + # AIX 5 supports IA64
15.11607 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15.11608 + shlibpath_var=LD_LIBRARY_PATH
15.11609 + else
15.11610 + # With GCC up to 2.95.x, collect2 would create an import file
15.11611 + # for dependence libraries. The import file would start with
15.11612 + # the line `#! .'. This would cause the generated library to
15.11613 + # depend on `.', always an invalid library. This was fixed in
15.11614 + # development snapshots of GCC prior to 3.0.
15.11615 + case $host_os in
15.11616 + aix4 | aix4.[01] | aix4.[01].*)
15.11617 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15.11618 + echo ' yes '
15.11619 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15.11620 + :
15.11621 + else
15.11622 + can_build_shared=no
15.11623 + fi
15.11624 + ;;
15.11625 + esac
15.11626 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15.11627 + # soname into executable. Probably we can add versioning support to
15.11628 + # collect2, so additional links can be useful in future.
15.11629 + if test "$aix_use_runtimelinking" = yes; then
15.11630 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15.11631 + # instead of lib<name>.a to let people know that these are not
15.11632 + # typical AIX shared libraries.
15.11633 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.11634 + else
15.11635 + # We preserve .a as extension for shared libraries through AIX4.2
15.11636 + # and later when we are not doing run time linking.
15.11637 + library_names_spec='${libname}${release}.a $libname.a'
15.11638 + soname_spec='${libname}${release}${shared_ext}$major'
15.11639 + fi
15.11640 + shlibpath_var=LIBPATH
15.11641 + fi
15.11642 + ;;
15.11643 +
15.11644 +amigaos*)
15.11645 + library_names_spec='$libname.ixlibrary $libname.a'
15.11646 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
15.11647 + 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'
15.11648 + ;;
15.11649 +
15.11650 +beos*)
15.11651 + library_names_spec='${libname}${shared_ext}'
15.11652 + dynamic_linker="$host_os ld.so"
15.11653 + shlibpath_var=LIBRARY_PATH
15.11654 + ;;
15.11655 +
15.11656 +bsdi[45]*)
15.11657 + version_type=linux
15.11658 + need_version=no
15.11659 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.11660 + soname_spec='${libname}${release}${shared_ext}$major'
15.11661 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15.11662 + shlibpath_var=LD_LIBRARY_PATH
15.11663 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15.11664 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15.11665 + # the default ld.so.conf also contains /usr/contrib/lib and
15.11666 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15.11667 + # libtool to hard-code these into programs
15.11668 + ;;
15.11669 +
15.11670 +cygwin* | mingw* | pw32*)
15.11671 + version_type=windows
15.11672 + shrext_cmds=".dll"
15.11673 + need_version=no
15.11674 + need_lib_prefix=no
15.11675 +
15.11676 + case $GCC,$host_os in
15.11677 + yes,cygwin* | yes,mingw* | yes,pw32*)
15.11678 + library_names_spec='$libname.dll.a'
15.11679 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
15.11680 + postinstall_cmds='base_file=`basename \${file}`~
15.11681 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15.11682 + dldir=$destdir/`dirname \$dlpath`~
15.11683 + test -d \$dldir || mkdir -p \$dldir~
15.11684 + $install_prog $dir/$dlname \$dldir/$dlname~
15.11685 + chmod a+x \$dldir/$dlname'
15.11686 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15.11687 + dlpath=$dir/\$dldll~
15.11688 + $rm \$dlpath'
15.11689 + shlibpath_overrides_runpath=yes
15.11690 +
15.11691 + case $host_os in
15.11692 + cygwin*)
15.11693 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15.11694 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.11695 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15.11696 + ;;
15.11697 + mingw*)
15.11698 + # MinGW DLLs use traditional 'lib' prefix
15.11699 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.11700 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15.11701 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15.11702 + # It is most probably a Windows format PATH printed by
15.11703 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
15.11704 + # path with ; separators, and with drive letters. We can handle the
15.11705 + # drive letters (cygwin fileutils understands them), so leave them,
15.11706 + # especially as we might pass files found there to a mingw objdump,
15.11707 + # which wouldn't understand a cygwinified path. Ahh.
15.11708 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15.11709 + else
15.11710 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15.11711 + fi
15.11712 + ;;
15.11713 + pw32*)
15.11714 + # pw32 DLLs use 'pw' prefix rather than 'lib'
15.11715 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.11716 + ;;
15.11717 + esac
15.11718 + ;;
15.11719 +
15.11720 + *)
15.11721 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15.11722 + ;;
15.11723 + esac
15.11724 + dynamic_linker='Win32 ld.exe'
15.11725 + # FIXME: first we should search . and the directory the executable is in
15.11726 + shlibpath_var=PATH
15.11727 + ;;
15.11728 +
15.11729 +darwin* | rhapsody*)
15.11730 + dynamic_linker="$host_os dyld"
15.11731 + version_type=darwin
15.11732 + need_lib_prefix=no
15.11733 + need_version=no
15.11734 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15.11735 + soname_spec='${libname}${release}${major}$shared_ext'
15.11736 + shlibpath_overrides_runpath=yes
15.11737 + shlibpath_var=DYLD_LIBRARY_PATH
15.11738 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15.11739 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15.11740 + if test "$GCC" = yes; then
15.11741 + 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"`
15.11742 + else
15.11743 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15.11744 + fi
15.11745 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15.11746 + ;;
15.11747 +
15.11748 +dgux*)
15.11749 + version_type=linux
15.11750 + need_lib_prefix=no
15.11751 + need_version=no
15.11752 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15.11753 + soname_spec='${libname}${release}${shared_ext}$major'
15.11754 + shlibpath_var=LD_LIBRARY_PATH
15.11755 + ;;
15.11756 +
15.11757 +freebsd1*)
15.11758 + dynamic_linker=no
15.11759 + ;;
15.11760 +
15.11761 +kfreebsd*-gnu)
15.11762 + version_type=linux
15.11763 + need_lib_prefix=no
15.11764 + need_version=no
15.11765 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.11766 + soname_spec='${libname}${release}${shared_ext}$major'
15.11767 + shlibpath_var=LD_LIBRARY_PATH
15.11768 + shlibpath_overrides_runpath=no
15.11769 + hardcode_into_libs=yes
15.11770 + dynamic_linker='GNU ld.so'
15.11771 + ;;
15.11772 +
15.11773 +freebsd* | dragonfly*)
15.11774 + # DragonFly does not have aout. When/if they implement a new
15.11775 + # versioning mechanism, adjust this.
15.11776 + if test -x /usr/bin/objformat; then
15.11777 + objformat=`/usr/bin/objformat`
15.11778 + else
15.11779 + case $host_os in
15.11780 + freebsd[123]*) objformat=aout ;;
15.11781 + *) objformat=elf ;;
15.11782 + esac
15.11783 + fi
15.11784 + version_type=freebsd-$objformat
15.11785 + case $version_type in
15.11786 + freebsd-elf*)
15.11787 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15.11788 + need_version=no
15.11789 + need_lib_prefix=no
15.11790 + ;;
15.11791 + freebsd-*)
15.11792 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15.11793 + need_version=yes
15.11794 + ;;
15.11795 + esac
15.11796 + shlibpath_var=LD_LIBRARY_PATH
15.11797 + case $host_os in
15.11798 + freebsd2*)
15.11799 + shlibpath_overrides_runpath=yes
15.11800 + ;;
15.11801 + freebsd3.[01]* | freebsdelf3.[01]*)
15.11802 + shlibpath_overrides_runpath=yes
15.11803 + hardcode_into_libs=yes
15.11804 + ;;
15.11805 + *) # from 3.2 on
15.11806 + shlibpath_overrides_runpath=no
15.11807 + hardcode_into_libs=yes
15.11808 + ;;
15.11809 + esac
15.11810 + ;;
15.11811 +
15.11812 +gnu*)
15.11813 + version_type=linux
15.11814 + need_lib_prefix=no
15.11815 + need_version=no
15.11816 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15.11817 + soname_spec='${libname}${release}${shared_ext}$major'
15.11818 + shlibpath_var=LD_LIBRARY_PATH
15.11819 + hardcode_into_libs=yes
15.11820 + ;;
15.11821 +
15.11822 +hpux9* | hpux10* | hpux11*)
15.11823 + # Give a soname corresponding to the major version so that dld.sl refuses to
15.11824 + # link against other versions.
15.11825 + version_type=sunos
15.11826 + need_lib_prefix=no
15.11827 + need_version=no
15.11828 + case $host_cpu in
15.11829 + ia64*)
15.11830 + shrext_cmds='.so'
15.11831 + hardcode_into_libs=yes
15.11832 + dynamic_linker="$host_os dld.so"
15.11833 + shlibpath_var=LD_LIBRARY_PATH
15.11834 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15.11835 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.11836 + soname_spec='${libname}${release}${shared_ext}$major'
15.11837 + if test "X$HPUX_IA64_MODE" = X32; then
15.11838 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15.11839 + else
15.11840 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15.11841 + fi
15.11842 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15.11843 + ;;
15.11844 + hppa*64*)
15.11845 + shrext_cmds='.sl'
15.11846 + hardcode_into_libs=yes
15.11847 + dynamic_linker="$host_os dld.sl"
15.11848 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15.11849 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15.11850 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.11851 + soname_spec='${libname}${release}${shared_ext}$major'
15.11852 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15.11853 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15.11854 + ;;
15.11855 + *)
15.11856 + shrext_cmds='.sl'
15.11857 + dynamic_linker="$host_os dld.sl"
15.11858 + shlibpath_var=SHLIB_PATH
15.11859 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15.11860 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.11861 + soname_spec='${libname}${release}${shared_ext}$major'
15.11862 + ;;
15.11863 + esac
15.11864 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
15.11865 + postinstall_cmds='chmod 555 $lib'
15.11866 + ;;
15.11867 +
15.11868 +irix5* | irix6* | nonstopux*)
15.11869 + case $host_os in
15.11870 + nonstopux*) version_type=nonstopux ;;
15.11871 + *)
15.11872 + if test "$lt_cv_prog_gnu_ld" = yes; then
15.11873 + version_type=linux
15.11874 + else
15.11875 + version_type=irix
15.11876 + fi ;;
15.11877 + esac
15.11878 + need_lib_prefix=no
15.11879 + need_version=no
15.11880 + soname_spec='${libname}${release}${shared_ext}$major'
15.11881 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15.11882 + case $host_os in
15.11883 + irix5* | nonstopux*)
15.11884 + libsuff= shlibsuff=
15.11885 + ;;
15.11886 + *)
15.11887 + case $LD in # libtool.m4 will add one of these switches to LD
15.11888 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15.11889 + libsuff= shlibsuff= libmagic=32-bit;;
15.11890 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15.11891 + libsuff=32 shlibsuff=N32 libmagic=N32;;
15.11892 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15.11893 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
15.11894 + *) libsuff= shlibsuff= libmagic=never-match;;
15.11895 + esac
15.11896 + ;;
15.11897 + esac
15.11898 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15.11899 + shlibpath_overrides_runpath=no
15.11900 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15.11901 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15.11902 + hardcode_into_libs=yes
15.11903 + ;;
15.11904 +
15.11905 +# No shared lib support for Linux oldld, aout, or coff.
15.11906 +linux*oldld* | linux*aout* | linux*coff*)
15.11907 + dynamic_linker=no
15.11908 + ;;
15.11909 +
15.11910 +# This must be Linux ELF.
15.11911 +linux*)
15.11912 + version_type=linux
15.11913 + need_lib_prefix=no
15.11914 + need_version=no
15.11915 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.11916 + soname_spec='${libname}${release}${shared_ext}$major'
15.11917 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15.11918 + shlibpath_var=LD_LIBRARY_PATH
15.11919 + shlibpath_overrides_runpath=no
15.11920 + # This implies no fast_install, which is unacceptable.
15.11921 + # Some rework will be needed to allow for fast_install
15.11922 + # before this can be enabled.
15.11923 + hardcode_into_libs=yes
15.11924 +
15.11925 + # Append ld.so.conf contents to the search path
15.11926 + if test -f /etc/ld.so.conf; then
15.11927 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15.11928 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15.11929 + fi
15.11930 +
15.11931 + # We used to test for /lib/ld.so.1 and disable shared libraries on
15.11932 + # powerpc, because MkLinux only supported shared libraries with the
15.11933 + # GNU dynamic linker. Since this was broken with cross compilers,
15.11934 + # most powerpc-linux boxes support dynamic linking these days and
15.11935 + # people can always --disable-shared, the test was removed, and we
15.11936 + # assume the GNU/Linux dynamic linker is in use.
15.11937 + dynamic_linker='GNU/Linux ld.so'
15.11938 + ;;
15.11939 +
15.11940 +knetbsd*-gnu)
15.11941 + version_type=linux
15.11942 + need_lib_prefix=no
15.11943 + need_version=no
15.11944 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.11945 + soname_spec='${libname}${release}${shared_ext}$major'
15.11946 + shlibpath_var=LD_LIBRARY_PATH
15.11947 + shlibpath_overrides_runpath=no
15.11948 + hardcode_into_libs=yes
15.11949 + dynamic_linker='GNU ld.so'
15.11950 + ;;
15.11951 +
15.11952 +netbsd*)
15.11953 + version_type=sunos
15.11954 + need_lib_prefix=no
15.11955 + need_version=no
15.11956 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15.11957 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.11958 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15.11959 + dynamic_linker='NetBSD (a.out) ld.so'
15.11960 + else
15.11961 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.11962 + soname_spec='${libname}${release}${shared_ext}$major'
15.11963 + dynamic_linker='NetBSD ld.elf_so'
15.11964 + fi
15.11965 + shlibpath_var=LD_LIBRARY_PATH
15.11966 + shlibpath_overrides_runpath=yes
15.11967 + hardcode_into_libs=yes
15.11968 + ;;
15.11969 +
15.11970 +newsos6)
15.11971 + version_type=linux
15.11972 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.11973 + shlibpath_var=LD_LIBRARY_PATH
15.11974 + shlibpath_overrides_runpath=yes
15.11975 + ;;
15.11976 +
15.11977 +nto-qnx*)
15.11978 + version_type=linux
15.11979 + need_lib_prefix=no
15.11980 + need_version=no
15.11981 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.11982 + soname_spec='${libname}${release}${shared_ext}$major'
15.11983 + shlibpath_var=LD_LIBRARY_PATH
15.11984 + shlibpath_overrides_runpath=yes
15.11985 + ;;
15.11986 +
15.11987 +openbsd*)
15.11988 + version_type=sunos
15.11989 + need_lib_prefix=no
15.11990 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15.11991 + case $host_os in
15.11992 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15.11993 + *) need_version=no ;;
15.11994 + esac
15.11995 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.11996 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15.11997 + shlibpath_var=LD_LIBRARY_PATH
15.11998 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15.11999 + case $host_os in
15.12000 + openbsd2.[89] | openbsd2.[89].*)
15.12001 + shlibpath_overrides_runpath=no
15.12002 + ;;
15.12003 + *)
15.12004 + shlibpath_overrides_runpath=yes
15.12005 + ;;
15.12006 + esac
15.12007 + else
15.12008 + shlibpath_overrides_runpath=yes
15.12009 + fi
15.12010 + ;;
15.12011 +
15.12012 +os2*)
15.12013 + libname_spec='$name'
15.12014 + shrext_cmds=".dll"
15.12015 + need_lib_prefix=no
15.12016 + library_names_spec='$libname${shared_ext} $libname.a'
15.12017 + dynamic_linker='OS/2 ld.exe'
15.12018 + shlibpath_var=LIBPATH
15.12019 + ;;
15.12020 +
15.12021 +osf3* | osf4* | osf5*)
15.12022 + version_type=osf
15.12023 + need_lib_prefix=no
15.12024 + need_version=no
15.12025 + soname_spec='${libname}${release}${shared_ext}$major'
15.12026 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.12027 + shlibpath_var=LD_LIBRARY_PATH
15.12028 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15.12029 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15.12030 + ;;
15.12031 +
15.12032 +sco3.2v5*)
15.12033 + version_type=osf
15.12034 + soname_spec='${libname}${release}${shared_ext}$major'
15.12035 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.12036 + shlibpath_var=LD_LIBRARY_PATH
15.12037 + ;;
15.12038 +
15.12039 +solaris*)
15.12040 + version_type=linux
15.12041 + need_lib_prefix=no
15.12042 + need_version=no
15.12043 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.12044 + soname_spec='${libname}${release}${shared_ext}$major'
15.12045 + shlibpath_var=LD_LIBRARY_PATH
15.12046 + shlibpath_overrides_runpath=yes
15.12047 + hardcode_into_libs=yes
15.12048 + # ldd complains unless libraries are executable
15.12049 + postinstall_cmds='chmod +x $lib'
15.12050 + ;;
15.12051 +
15.12052 +sunos4*)
15.12053 + version_type=sunos
15.12054 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.12055 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15.12056 + shlibpath_var=LD_LIBRARY_PATH
15.12057 + shlibpath_overrides_runpath=yes
15.12058 + if test "$with_gnu_ld" = yes; then
15.12059 + need_lib_prefix=no
15.12060 + fi
15.12061 + need_version=yes
15.12062 + ;;
15.12063 +
15.12064 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15.12065 + version_type=linux
15.12066 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.12067 + soname_spec='${libname}${release}${shared_ext}$major'
15.12068 + shlibpath_var=LD_LIBRARY_PATH
15.12069 + case $host_vendor in
15.12070 + sni)
15.12071 + shlibpath_overrides_runpath=no
15.12072 + need_lib_prefix=no
15.12073 + export_dynamic_flag_spec='${wl}-Blargedynsym'
15.12074 + runpath_var=LD_RUN_PATH
15.12075 + ;;
15.12076 + siemens)
15.12077 + need_lib_prefix=no
15.12078 + ;;
15.12079 + motorola)
15.12080 + need_lib_prefix=no
15.12081 + need_version=no
15.12082 + shlibpath_overrides_runpath=no
15.12083 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15.12084 + ;;
15.12085 + esac
15.12086 + ;;
15.12087 +
15.12088 +sysv4*MP*)
15.12089 + if test -d /usr/nec ;then
15.12090 + version_type=linux
15.12091 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15.12092 + soname_spec='$libname${shared_ext}.$major'
15.12093 + shlibpath_var=LD_LIBRARY_PATH
15.12094 + fi
15.12095 + ;;
15.12096 +
15.12097 +uts4*)
15.12098 + version_type=linux
15.12099 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.12100 + soname_spec='${libname}${release}${shared_ext}$major'
15.12101 + shlibpath_var=LD_LIBRARY_PATH
15.12102 + ;;
15.12103 +
15.12104 +*)
15.12105 + dynamic_linker=no
15.12106 + ;;
15.12107 +esac
15.12108 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15.12109 +echo "${ECHO_T}$dynamic_linker" >&6
15.12110 +test "$dynamic_linker" = no && can_build_shared=no
15.12111 +
15.12112 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15.12113 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15.12114 +hardcode_action_CXX=
15.12115 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
15.12116 + test -n "$runpath_var_CXX" || \
15.12117 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
15.12118 +
15.12119 + # We can hardcode non-existant directories.
15.12120 + if test "$hardcode_direct_CXX" != no &&
15.12121 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
15.12122 + # have to relink, otherwise we might link with an installed library
15.12123 + # when we should be linking with a yet-to-be-installed one
15.12124 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15.12125 + test "$hardcode_minus_L_CXX" != no; then
15.12126 + # Linking always hardcodes the temporary library directory.
15.12127 + hardcode_action_CXX=relink
15.12128 + else
15.12129 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
15.12130 + hardcode_action_CXX=immediate
15.12131 + fi
15.12132 +else
15.12133 + # We cannot hardcode anything, or else we can only hardcode existing
15.12134 + # directories.
15.12135 + hardcode_action_CXX=unsupported
15.12136 +fi
15.12137 +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15.12138 +echo "${ECHO_T}$hardcode_action_CXX" >&6
15.12139 +
15.12140 +if test "$hardcode_action_CXX" = relink; then
15.12141 + # Fast installation is not supported
15.12142 + enable_fast_install=no
15.12143 +elif test "$shlibpath_overrides_runpath" = yes ||
15.12144 + test "$enable_shared" = no; then
15.12145 + # Fast installation is not necessary
15.12146 + enable_fast_install=needless
15.12147 +fi
15.12148 +
15.12149 +striplib=
15.12150 +old_striplib=
15.12151 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15.12152 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15.12153 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15.12154 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15.12155 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15.12156 + echo "$as_me:$LINENO: result: yes" >&5
15.12157 +echo "${ECHO_T}yes" >&6
15.12158 +else
15.12159 +# FIXME - insert some real tests, host_os isn't really good enough
15.12160 + case $host_os in
15.12161 + darwin*)
15.12162 + if test -n "$STRIP" ; then
15.12163 + striplib="$STRIP -x"
15.12164 + echo "$as_me:$LINENO: result: yes" >&5
15.12165 +echo "${ECHO_T}yes" >&6
15.12166 + else
15.12167 + echo "$as_me:$LINENO: result: no" >&5
15.12168 +echo "${ECHO_T}no" >&6
15.12169 +fi
15.12170 + ;;
15.12171 + *)
15.12172 + echo "$as_me:$LINENO: result: no" >&5
15.12173 +echo "${ECHO_T}no" >&6
15.12174 + ;;
15.12175 + esac
15.12176 +fi
15.12177 +
15.12178 +if test "x$enable_dlopen" != xyes; then
15.12179 + enable_dlopen=unknown
15.12180 + enable_dlopen_self=unknown
15.12181 + enable_dlopen_self_static=unknown
15.12182 +else
15.12183 + lt_cv_dlopen=no
15.12184 + lt_cv_dlopen_libs=
15.12185 +
15.12186 + case $host_os in
15.12187 + beos*)
15.12188 + lt_cv_dlopen="load_add_on"
15.12189 + lt_cv_dlopen_libs=
15.12190 + lt_cv_dlopen_self=yes
15.12191 + ;;
15.12192 +
15.12193 + mingw* | pw32*)
15.12194 + lt_cv_dlopen="LoadLibrary"
15.12195 + lt_cv_dlopen_libs=
15.12196 + ;;
15.12197 +
15.12198 + cygwin*)
15.12199 + lt_cv_dlopen="dlopen"
15.12200 + lt_cv_dlopen_libs=
15.12201 + ;;
15.12202 +
15.12203 + darwin*)
15.12204 + # if libdl is installed we need to link against it
15.12205 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15.12206 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15.12207 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15.12208 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.12209 +else
15.12210 + ac_check_lib_save_LIBS=$LIBS
15.12211 +LIBS="-ldl $LIBS"
15.12212 +cat >conftest.$ac_ext <<_ACEOF
15.12213 +/* confdefs.h. */
15.12214 +_ACEOF
15.12215 +cat confdefs.h >>conftest.$ac_ext
15.12216 +cat >>conftest.$ac_ext <<_ACEOF
15.12217 +/* end confdefs.h. */
15.12218 +
15.12219 +/* Override any gcc2 internal prototype to avoid an error. */
15.12220 +#ifdef __cplusplus
15.12221 +extern "C"
15.12222 +#endif
15.12223 +/* We use char because int might match the return type of a gcc2
15.12224 + builtin and then its argument prototype would still apply. */
15.12225 +char dlopen ();
15.12226 +int
15.12227 +main ()
15.12228 +{
15.12229 +dlopen ();
15.12230 + ;
15.12231 + return 0;
15.12232 +}
15.12233 +_ACEOF
15.12234 +rm -f conftest.$ac_objext conftest$ac_exeext
15.12235 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.12236 + (eval $ac_link) 2>conftest.er1
15.12237 + ac_status=$?
15.12238 + grep -v '^ *+' conftest.er1 >conftest.err
15.12239 + rm -f conftest.er1
15.12240 + cat conftest.err >&5
15.12241 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12242 + (exit $ac_status); } &&
15.12243 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.12244 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12245 + (eval $ac_try) 2>&5
15.12246 + ac_status=$?
15.12247 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12248 + (exit $ac_status); }; } &&
15.12249 + { ac_try='test -s conftest$ac_exeext'
15.12250 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12251 + (eval $ac_try) 2>&5
15.12252 + ac_status=$?
15.12253 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12254 + (exit $ac_status); }; }; then
15.12255 + ac_cv_lib_dl_dlopen=yes
15.12256 +else
15.12257 + echo "$as_me: failed program was:" >&5
15.12258 +sed 's/^/| /' conftest.$ac_ext >&5
15.12259 +
15.12260 +ac_cv_lib_dl_dlopen=no
15.12261 +fi
15.12262 +rm -f conftest.err conftest.$ac_objext \
15.12263 + conftest$ac_exeext conftest.$ac_ext
15.12264 +LIBS=$ac_check_lib_save_LIBS
15.12265 +fi
15.12266 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15.12267 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15.12268 +if test $ac_cv_lib_dl_dlopen = yes; then
15.12269 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15.12270 +else
15.12271 +
15.12272 + lt_cv_dlopen="dyld"
15.12273 + lt_cv_dlopen_libs=
15.12274 + lt_cv_dlopen_self=yes
15.12275 +
15.12276 +fi
15.12277 +
15.12278 + ;;
15.12279 +
15.12280 + *)
15.12281 + echo "$as_me:$LINENO: checking for shl_load" >&5
15.12282 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
15.12283 +if test "${ac_cv_func_shl_load+set}" = set; then
15.12284 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.12285 +else
15.12286 + cat >conftest.$ac_ext <<_ACEOF
15.12287 +/* confdefs.h. */
15.12288 +_ACEOF
15.12289 +cat confdefs.h >>conftest.$ac_ext
15.12290 +cat >>conftest.$ac_ext <<_ACEOF
15.12291 +/* end confdefs.h. */
15.12292 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15.12293 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
15.12294 +#define shl_load innocuous_shl_load
15.12295 +
15.12296 +/* System header to define __stub macros and hopefully few prototypes,
15.12297 + which can conflict with char shl_load (); below.
15.12298 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.12299 + <limits.h> exists even on freestanding compilers. */
15.12300 +
15.12301 +#ifdef __STDC__
15.12302 +# include <limits.h>
15.12303 +#else
15.12304 +# include <assert.h>
15.12305 +#endif
15.12306 +
15.12307 +#undef shl_load
15.12308 +
15.12309 +/* Override any gcc2 internal prototype to avoid an error. */
15.12310 +#ifdef __cplusplus
15.12311 +extern "C"
15.12312 +{
15.12313 +#endif
15.12314 +/* We use char because int might match the return type of a gcc2
15.12315 + builtin and then its argument prototype would still apply. */
15.12316 +char shl_load ();
15.12317 +/* The GNU C library defines this for functions which it implements
15.12318 + to always fail with ENOSYS. Some functions are actually named
15.12319 + something starting with __ and the normal name is an alias. */
15.12320 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
15.12321 +choke me
15.12322 +#else
15.12323 +char (*f) () = shl_load;
15.12324 +#endif
15.12325 +#ifdef __cplusplus
15.12326 +}
15.12327 +#endif
15.12328 +
15.12329 +int
15.12330 +main ()
15.12331 +{
15.12332 +return f != shl_load;
15.12333 + ;
15.12334 + return 0;
15.12335 +}
15.12336 +_ACEOF
15.12337 +rm -f conftest.$ac_objext conftest$ac_exeext
15.12338 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.12339 + (eval $ac_link) 2>conftest.er1
15.12340 + ac_status=$?
15.12341 + grep -v '^ *+' conftest.er1 >conftest.err
15.12342 + rm -f conftest.er1
15.12343 + cat conftest.err >&5
15.12344 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12345 + (exit $ac_status); } &&
15.12346 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.12347 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12348 + (eval $ac_try) 2>&5
15.12349 + ac_status=$?
15.12350 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12351 + (exit $ac_status); }; } &&
15.12352 + { ac_try='test -s conftest$ac_exeext'
15.12353 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12354 + (eval $ac_try) 2>&5
15.12355 + ac_status=$?
15.12356 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12357 + (exit $ac_status); }; }; then
15.12358 + ac_cv_func_shl_load=yes
15.12359 +else
15.12360 + echo "$as_me: failed program was:" >&5
15.12361 +sed 's/^/| /' conftest.$ac_ext >&5
15.12362 +
15.12363 +ac_cv_func_shl_load=no
15.12364 +fi
15.12365 +rm -f conftest.err conftest.$ac_objext \
15.12366 + conftest$ac_exeext conftest.$ac_ext
15.12367 +fi
15.12368 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15.12369 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
15.12370 +if test $ac_cv_func_shl_load = yes; then
15.12371 + lt_cv_dlopen="shl_load"
15.12372 +else
15.12373 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15.12374 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
15.12375 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15.12376 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.12377 +else
15.12378 + ac_check_lib_save_LIBS=$LIBS
15.12379 +LIBS="-ldld $LIBS"
15.12380 +cat >conftest.$ac_ext <<_ACEOF
15.12381 +/* confdefs.h. */
15.12382 +_ACEOF
15.12383 +cat confdefs.h >>conftest.$ac_ext
15.12384 +cat >>conftest.$ac_ext <<_ACEOF
15.12385 +/* end confdefs.h. */
15.12386 +
15.12387 +/* Override any gcc2 internal prototype to avoid an error. */
15.12388 +#ifdef __cplusplus
15.12389 +extern "C"
15.12390 +#endif
15.12391 +/* We use char because int might match the return type of a gcc2
15.12392 + builtin and then its argument prototype would still apply. */
15.12393 +char shl_load ();
15.12394 +int
15.12395 +main ()
15.12396 +{
15.12397 +shl_load ();
15.12398 + ;
15.12399 + return 0;
15.12400 +}
15.12401 +_ACEOF
15.12402 +rm -f conftest.$ac_objext conftest$ac_exeext
15.12403 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.12404 + (eval $ac_link) 2>conftest.er1
15.12405 + ac_status=$?
15.12406 + grep -v '^ *+' conftest.er1 >conftest.err
15.12407 + rm -f conftest.er1
15.12408 + cat conftest.err >&5
15.12409 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12410 + (exit $ac_status); } &&
15.12411 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.12412 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12413 + (eval $ac_try) 2>&5
15.12414 + ac_status=$?
15.12415 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12416 + (exit $ac_status); }; } &&
15.12417 + { ac_try='test -s conftest$ac_exeext'
15.12418 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12419 + (eval $ac_try) 2>&5
15.12420 + ac_status=$?
15.12421 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12422 + (exit $ac_status); }; }; then
15.12423 + ac_cv_lib_dld_shl_load=yes
15.12424 +else
15.12425 + echo "$as_me: failed program was:" >&5
15.12426 +sed 's/^/| /' conftest.$ac_ext >&5
15.12427 +
15.12428 +ac_cv_lib_dld_shl_load=no
15.12429 +fi
15.12430 +rm -f conftest.err conftest.$ac_objext \
15.12431 + conftest$ac_exeext conftest.$ac_ext
15.12432 +LIBS=$ac_check_lib_save_LIBS
15.12433 +fi
15.12434 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15.12435 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
15.12436 +if test $ac_cv_lib_dld_shl_load = yes; then
15.12437 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15.12438 +else
15.12439 + echo "$as_me:$LINENO: checking for dlopen" >&5
15.12440 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
15.12441 +if test "${ac_cv_func_dlopen+set}" = set; then
15.12442 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.12443 +else
15.12444 + cat >conftest.$ac_ext <<_ACEOF
15.12445 +/* confdefs.h. */
15.12446 +_ACEOF
15.12447 +cat confdefs.h >>conftest.$ac_ext
15.12448 +cat >>conftest.$ac_ext <<_ACEOF
15.12449 +/* end confdefs.h. */
15.12450 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15.12451 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
15.12452 +#define dlopen innocuous_dlopen
15.12453 +
15.12454 +/* System header to define __stub macros and hopefully few prototypes,
15.12455 + which can conflict with char dlopen (); below.
15.12456 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.12457 + <limits.h> exists even on freestanding compilers. */
15.12458 +
15.12459 +#ifdef __STDC__
15.12460 +# include <limits.h>
15.12461 +#else
15.12462 +# include <assert.h>
15.12463 +#endif
15.12464 +
15.12465 +#undef dlopen
15.12466 +
15.12467 +/* Override any gcc2 internal prototype to avoid an error. */
15.12468 +#ifdef __cplusplus
15.12469 +extern "C"
15.12470 +{
15.12471 +#endif
15.12472 +/* We use char because int might match the return type of a gcc2
15.12473 + builtin and then its argument prototype would still apply. */
15.12474 +char dlopen ();
15.12475 +/* The GNU C library defines this for functions which it implements
15.12476 + to always fail with ENOSYS. Some functions are actually named
15.12477 + something starting with __ and the normal name is an alias. */
15.12478 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
15.12479 +choke me
15.12480 +#else
15.12481 +char (*f) () = dlopen;
15.12482 +#endif
15.12483 +#ifdef __cplusplus
15.12484 +}
15.12485 +#endif
15.12486 +
15.12487 +int
15.12488 +main ()
15.12489 +{
15.12490 +return f != dlopen;
15.12491 + ;
15.12492 + return 0;
15.12493 +}
15.12494 +_ACEOF
15.12495 +rm -f conftest.$ac_objext conftest$ac_exeext
15.12496 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.12497 + (eval $ac_link) 2>conftest.er1
15.12498 + ac_status=$?
15.12499 + grep -v '^ *+' conftest.er1 >conftest.err
15.12500 + rm -f conftest.er1
15.12501 + cat conftest.err >&5
15.12502 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12503 + (exit $ac_status); } &&
15.12504 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.12505 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12506 + (eval $ac_try) 2>&5
15.12507 + ac_status=$?
15.12508 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12509 + (exit $ac_status); }; } &&
15.12510 + { ac_try='test -s conftest$ac_exeext'
15.12511 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12512 + (eval $ac_try) 2>&5
15.12513 + ac_status=$?
15.12514 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12515 + (exit $ac_status); }; }; then
15.12516 + ac_cv_func_dlopen=yes
15.12517 +else
15.12518 + echo "$as_me: failed program was:" >&5
15.12519 +sed 's/^/| /' conftest.$ac_ext >&5
15.12520 +
15.12521 +ac_cv_func_dlopen=no
15.12522 +fi
15.12523 +rm -f conftest.err conftest.$ac_objext \
15.12524 + conftest$ac_exeext conftest.$ac_ext
15.12525 +fi
15.12526 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15.12527 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
15.12528 +if test $ac_cv_func_dlopen = yes; then
15.12529 + lt_cv_dlopen="dlopen"
15.12530 +else
15.12531 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15.12532 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15.12533 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15.12534 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.12535 +else
15.12536 + ac_check_lib_save_LIBS=$LIBS
15.12537 +LIBS="-ldl $LIBS"
15.12538 +cat >conftest.$ac_ext <<_ACEOF
15.12539 +/* confdefs.h. */
15.12540 +_ACEOF
15.12541 +cat confdefs.h >>conftest.$ac_ext
15.12542 +cat >>conftest.$ac_ext <<_ACEOF
15.12543 +/* end confdefs.h. */
15.12544 +
15.12545 +/* Override any gcc2 internal prototype to avoid an error. */
15.12546 +#ifdef __cplusplus
15.12547 +extern "C"
15.12548 +#endif
15.12549 +/* We use char because int might match the return type of a gcc2
15.12550 + builtin and then its argument prototype would still apply. */
15.12551 +char dlopen ();
15.12552 +int
15.12553 +main ()
15.12554 +{
15.12555 +dlopen ();
15.12556 + ;
15.12557 + return 0;
15.12558 +}
15.12559 +_ACEOF
15.12560 +rm -f conftest.$ac_objext conftest$ac_exeext
15.12561 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.12562 + (eval $ac_link) 2>conftest.er1
15.12563 + ac_status=$?
15.12564 + grep -v '^ *+' conftest.er1 >conftest.err
15.12565 + rm -f conftest.er1
15.12566 + cat conftest.err >&5
15.12567 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12568 + (exit $ac_status); } &&
15.12569 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.12570 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12571 + (eval $ac_try) 2>&5
15.12572 + ac_status=$?
15.12573 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12574 + (exit $ac_status); }; } &&
15.12575 + { ac_try='test -s conftest$ac_exeext'
15.12576 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12577 + (eval $ac_try) 2>&5
15.12578 + ac_status=$?
15.12579 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12580 + (exit $ac_status); }; }; then
15.12581 + ac_cv_lib_dl_dlopen=yes
15.12582 +else
15.12583 + echo "$as_me: failed program was:" >&5
15.12584 +sed 's/^/| /' conftest.$ac_ext >&5
15.12585 +
15.12586 +ac_cv_lib_dl_dlopen=no
15.12587 +fi
15.12588 +rm -f conftest.err conftest.$ac_objext \
15.12589 + conftest$ac_exeext conftest.$ac_ext
15.12590 +LIBS=$ac_check_lib_save_LIBS
15.12591 +fi
15.12592 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15.12593 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15.12594 +if test $ac_cv_lib_dl_dlopen = yes; then
15.12595 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15.12596 +else
15.12597 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15.12598 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
15.12599 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15.12600 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.12601 +else
15.12602 + ac_check_lib_save_LIBS=$LIBS
15.12603 +LIBS="-lsvld $LIBS"
15.12604 +cat >conftest.$ac_ext <<_ACEOF
15.12605 +/* confdefs.h. */
15.12606 +_ACEOF
15.12607 +cat confdefs.h >>conftest.$ac_ext
15.12608 +cat >>conftest.$ac_ext <<_ACEOF
15.12609 +/* end confdefs.h. */
15.12610 +
15.12611 +/* Override any gcc2 internal prototype to avoid an error. */
15.12612 +#ifdef __cplusplus
15.12613 +extern "C"
15.12614 +#endif
15.12615 +/* We use char because int might match the return type of a gcc2
15.12616 + builtin and then its argument prototype would still apply. */
15.12617 +char dlopen ();
15.12618 +int
15.12619 +main ()
15.12620 +{
15.12621 +dlopen ();
15.12622 + ;
15.12623 + return 0;
15.12624 +}
15.12625 +_ACEOF
15.12626 +rm -f conftest.$ac_objext conftest$ac_exeext
15.12627 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.12628 + (eval $ac_link) 2>conftest.er1
15.12629 + ac_status=$?
15.12630 + grep -v '^ *+' conftest.er1 >conftest.err
15.12631 + rm -f conftest.er1
15.12632 + cat conftest.err >&5
15.12633 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12634 + (exit $ac_status); } &&
15.12635 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.12636 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12637 + (eval $ac_try) 2>&5
15.12638 + ac_status=$?
15.12639 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12640 + (exit $ac_status); }; } &&
15.12641 + { ac_try='test -s conftest$ac_exeext'
15.12642 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12643 + (eval $ac_try) 2>&5
15.12644 + ac_status=$?
15.12645 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12646 + (exit $ac_status); }; }; then
15.12647 + ac_cv_lib_svld_dlopen=yes
15.12648 +else
15.12649 + echo "$as_me: failed program was:" >&5
15.12650 +sed 's/^/| /' conftest.$ac_ext >&5
15.12651 +
15.12652 +ac_cv_lib_svld_dlopen=no
15.12653 +fi
15.12654 +rm -f conftest.err conftest.$ac_objext \
15.12655 + conftest$ac_exeext conftest.$ac_ext
15.12656 +LIBS=$ac_check_lib_save_LIBS
15.12657 +fi
15.12658 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15.12659 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
15.12660 +if test $ac_cv_lib_svld_dlopen = yes; then
15.12661 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15.12662 +else
15.12663 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15.12664 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
15.12665 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15.12666 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.12667 +else
15.12668 + ac_check_lib_save_LIBS=$LIBS
15.12669 +LIBS="-ldld $LIBS"
15.12670 +cat >conftest.$ac_ext <<_ACEOF
15.12671 +/* confdefs.h. */
15.12672 +_ACEOF
15.12673 +cat confdefs.h >>conftest.$ac_ext
15.12674 +cat >>conftest.$ac_ext <<_ACEOF
15.12675 +/* end confdefs.h. */
15.12676 +
15.12677 +/* Override any gcc2 internal prototype to avoid an error. */
15.12678 +#ifdef __cplusplus
15.12679 +extern "C"
15.12680 +#endif
15.12681 +/* We use char because int might match the return type of a gcc2
15.12682 + builtin and then its argument prototype would still apply. */
15.12683 +char dld_link ();
15.12684 +int
15.12685 +main ()
15.12686 +{
15.12687 +dld_link ();
15.12688 + ;
15.12689 + return 0;
15.12690 +}
15.12691 +_ACEOF
15.12692 +rm -f conftest.$ac_objext conftest$ac_exeext
15.12693 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.12694 + (eval $ac_link) 2>conftest.er1
15.12695 + ac_status=$?
15.12696 + grep -v '^ *+' conftest.er1 >conftest.err
15.12697 + rm -f conftest.er1
15.12698 + cat conftest.err >&5
15.12699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12700 + (exit $ac_status); } &&
15.12701 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.12702 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12703 + (eval $ac_try) 2>&5
15.12704 + ac_status=$?
15.12705 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12706 + (exit $ac_status); }; } &&
15.12707 + { ac_try='test -s conftest$ac_exeext'
15.12708 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.12709 + (eval $ac_try) 2>&5
15.12710 + ac_status=$?
15.12711 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12712 + (exit $ac_status); }; }; then
15.12713 + ac_cv_lib_dld_dld_link=yes
15.12714 +else
15.12715 + echo "$as_me: failed program was:" >&5
15.12716 +sed 's/^/| /' conftest.$ac_ext >&5
15.12717 +
15.12718 +ac_cv_lib_dld_dld_link=no
15.12719 +fi
15.12720 +rm -f conftest.err conftest.$ac_objext \
15.12721 + conftest$ac_exeext conftest.$ac_ext
15.12722 +LIBS=$ac_check_lib_save_LIBS
15.12723 +fi
15.12724 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15.12725 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15.12726 +if test $ac_cv_lib_dld_dld_link = yes; then
15.12727 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15.12728 +fi
15.12729 +
15.12730 +
15.12731 +fi
15.12732 +
15.12733 +
15.12734 +fi
15.12735 +
15.12736 +
15.12737 +fi
15.12738 +
15.12739 +
15.12740 +fi
15.12741 +
15.12742 +
15.12743 +fi
15.12744 +
15.12745 + ;;
15.12746 + esac
15.12747 +
15.12748 + if test "x$lt_cv_dlopen" != xno; then
15.12749 + enable_dlopen=yes
15.12750 + else
15.12751 + enable_dlopen=no
15.12752 + fi
15.12753 +
15.12754 + case $lt_cv_dlopen in
15.12755 + dlopen)
15.12756 + save_CPPFLAGS="$CPPFLAGS"
15.12757 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15.12758 +
15.12759 + save_LDFLAGS="$LDFLAGS"
15.12760 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15.12761 +
15.12762 + save_LIBS="$LIBS"
15.12763 + LIBS="$lt_cv_dlopen_libs $LIBS"
15.12764 +
15.12765 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15.12766 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15.12767 +if test "${lt_cv_dlopen_self+set}" = set; then
15.12768 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.12769 +else
15.12770 + if test "$cross_compiling" = yes; then :
15.12771 + lt_cv_dlopen_self=cross
15.12772 +else
15.12773 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15.12774 + lt_status=$lt_dlunknown
15.12775 + cat > conftest.$ac_ext <<EOF
15.12776 +#line 12773 "configure"
15.12777 +#include "confdefs.h"
15.12778 +
15.12779 +#if HAVE_DLFCN_H
15.12780 +#include <dlfcn.h>
15.12781 +#endif
15.12782 +
15.12783 +#include <stdio.h>
15.12784 +
15.12785 +#ifdef RTLD_GLOBAL
15.12786 +# define LT_DLGLOBAL RTLD_GLOBAL
15.12787 +#else
15.12788 +# ifdef DL_GLOBAL
15.12789 +# define LT_DLGLOBAL DL_GLOBAL
15.12790 +# else
15.12791 +# define LT_DLGLOBAL 0
15.12792 +# endif
15.12793 +#endif
15.12794 +
15.12795 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15.12796 + find out it does not work in some platform. */
15.12797 +#ifndef LT_DLLAZY_OR_NOW
15.12798 +# ifdef RTLD_LAZY
15.12799 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
15.12800 +# else
15.12801 +# ifdef DL_LAZY
15.12802 +# define LT_DLLAZY_OR_NOW DL_LAZY
15.12803 +# else
15.12804 +# ifdef RTLD_NOW
15.12805 +# define LT_DLLAZY_OR_NOW RTLD_NOW
15.12806 +# else
15.12807 +# ifdef DL_NOW
15.12808 +# define LT_DLLAZY_OR_NOW DL_NOW
15.12809 +# else
15.12810 +# define LT_DLLAZY_OR_NOW 0
15.12811 +# endif
15.12812 +# endif
15.12813 +# endif
15.12814 +# endif
15.12815 +#endif
15.12816 +
15.12817 +#ifdef __cplusplus
15.12818 +extern "C" void exit (int);
15.12819 +#endif
15.12820 +
15.12821 +void fnord() { int i=42;}
15.12822 +int main ()
15.12823 +{
15.12824 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15.12825 + int status = $lt_dlunknown;
15.12826 +
15.12827 + if (self)
15.12828 + {
15.12829 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15.12830 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15.12831 + /* dlclose (self); */
15.12832 + }
15.12833 +
15.12834 + exit (status);
15.12835 +}
15.12836 +EOF
15.12837 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.12838 + (eval $ac_link) 2>&5
15.12839 + ac_status=$?
15.12840 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12841 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15.12842 + (./conftest; exit; ) >&5 2>/dev/null
15.12843 + lt_status=$?
15.12844 + case x$lt_status in
15.12845 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15.12846 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15.12847 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
15.12848 + esac
15.12849 + else :
15.12850 + # compilation failed
15.12851 + lt_cv_dlopen_self=no
15.12852 + fi
15.12853 +fi
15.12854 +rm -fr conftest*
15.12855 +
15.12856 +
15.12857 +fi
15.12858 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15.12859 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15.12860 +
15.12861 + if test "x$lt_cv_dlopen_self" = xyes; then
15.12862 + LDFLAGS="$LDFLAGS $link_static_flag"
15.12863 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15.12864 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15.12865 +if test "${lt_cv_dlopen_self_static+set}" = set; then
15.12866 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.12867 +else
15.12868 + if test "$cross_compiling" = yes; then :
15.12869 + lt_cv_dlopen_self_static=cross
15.12870 +else
15.12871 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15.12872 + lt_status=$lt_dlunknown
15.12873 + cat > conftest.$ac_ext <<EOF
15.12874 +#line 12871 "configure"
15.12875 +#include "confdefs.h"
15.12876 +
15.12877 +#if HAVE_DLFCN_H
15.12878 +#include <dlfcn.h>
15.12879 +#endif
15.12880 +
15.12881 +#include <stdio.h>
15.12882 +
15.12883 +#ifdef RTLD_GLOBAL
15.12884 +# define LT_DLGLOBAL RTLD_GLOBAL
15.12885 +#else
15.12886 +# ifdef DL_GLOBAL
15.12887 +# define LT_DLGLOBAL DL_GLOBAL
15.12888 +# else
15.12889 +# define LT_DLGLOBAL 0
15.12890 +# endif
15.12891 +#endif
15.12892 +
15.12893 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15.12894 + find out it does not work in some platform. */
15.12895 +#ifndef LT_DLLAZY_OR_NOW
15.12896 +# ifdef RTLD_LAZY
15.12897 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
15.12898 +# else
15.12899 +# ifdef DL_LAZY
15.12900 +# define LT_DLLAZY_OR_NOW DL_LAZY
15.12901 +# else
15.12902 +# ifdef RTLD_NOW
15.12903 +# define LT_DLLAZY_OR_NOW RTLD_NOW
15.12904 +# else
15.12905 +# ifdef DL_NOW
15.12906 +# define LT_DLLAZY_OR_NOW DL_NOW
15.12907 +# else
15.12908 +# define LT_DLLAZY_OR_NOW 0
15.12909 +# endif
15.12910 +# endif
15.12911 +# endif
15.12912 +# endif
15.12913 +#endif
15.12914 +
15.12915 +#ifdef __cplusplus
15.12916 +extern "C" void exit (int);
15.12917 +#endif
15.12918 +
15.12919 +void fnord() { int i=42;}
15.12920 +int main ()
15.12921 +{
15.12922 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15.12923 + int status = $lt_dlunknown;
15.12924 +
15.12925 + if (self)
15.12926 + {
15.12927 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15.12928 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15.12929 + /* dlclose (self); */
15.12930 + }
15.12931 +
15.12932 + exit (status);
15.12933 +}
15.12934 +EOF
15.12935 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.12936 + (eval $ac_link) 2>&5
15.12937 + ac_status=$?
15.12938 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.12939 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15.12940 + (./conftest; exit; ) >&5 2>/dev/null
15.12941 + lt_status=$?
15.12942 + case x$lt_status in
15.12943 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15.12944 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15.12945 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
15.12946 + esac
15.12947 + else :
15.12948 + # compilation failed
15.12949 + lt_cv_dlopen_self_static=no
15.12950 + fi
15.12951 +fi
15.12952 +rm -fr conftest*
15.12953 +
15.12954 +
15.12955 +fi
15.12956 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15.12957 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15.12958 + fi
15.12959 +
15.12960 + CPPFLAGS="$save_CPPFLAGS"
15.12961 + LDFLAGS="$save_LDFLAGS"
15.12962 + LIBS="$save_LIBS"
15.12963 + ;;
15.12964 + esac
15.12965 +
15.12966 + case $lt_cv_dlopen_self in
15.12967 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15.12968 + *) enable_dlopen_self=unknown ;;
15.12969 + esac
15.12970 +
15.12971 + case $lt_cv_dlopen_self_static in
15.12972 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15.12973 + *) enable_dlopen_self_static=unknown ;;
15.12974 + esac
15.12975 +fi
15.12976 +
15.12977 +
15.12978 +# The else clause should only fire when bootstrapping the
15.12979 +# libtool distribution, otherwise you forgot to ship ltmain.sh
15.12980 +# with your package, and you will get complaints that there are
15.12981 +# no rules to generate ltmain.sh.
15.12982 +if test -f "$ltmain"; then
15.12983 + # See if we are running on zsh, and set the options which allow our commands through
15.12984 + # without removal of \ escapes.
15.12985 + if test -n "${ZSH_VERSION+set}" ; then
15.12986 + setopt NO_GLOB_SUBST
15.12987 + fi
15.12988 + # Now quote all the things that may contain metacharacters while being
15.12989 + # careful not to overquote the AC_SUBSTed values. We take copies of the
15.12990 + # variables and quote the copies for generation of the libtool script.
15.12991 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15.12992 + SED SHELL STRIP \
15.12993 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15.12994 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15.12995 + deplibs_check_method reload_flag reload_cmds need_locks \
15.12996 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15.12997 + lt_cv_sys_global_symbol_to_c_name_address \
15.12998 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15.12999 + old_postinstall_cmds old_postuninstall_cmds \
15.13000 + compiler_CXX \
15.13001 + CC_CXX \
15.13002 + LD_CXX \
15.13003 + lt_prog_compiler_wl_CXX \
15.13004 + lt_prog_compiler_pic_CXX \
15.13005 + lt_prog_compiler_static_CXX \
15.13006 + lt_prog_compiler_no_builtin_flag_CXX \
15.13007 + export_dynamic_flag_spec_CXX \
15.13008 + thread_safe_flag_spec_CXX \
15.13009 + whole_archive_flag_spec_CXX \
15.13010 + enable_shared_with_static_runtimes_CXX \
15.13011 + old_archive_cmds_CXX \
15.13012 + old_archive_from_new_cmds_CXX \
15.13013 + predep_objects_CXX \
15.13014 + postdep_objects_CXX \
15.13015 + predeps_CXX \
15.13016 + postdeps_CXX \
15.13017 + compiler_lib_search_path_CXX \
15.13018 + archive_cmds_CXX \
15.13019 + archive_expsym_cmds_CXX \
15.13020 + postinstall_cmds_CXX \
15.13021 + postuninstall_cmds_CXX \
15.13022 + old_archive_from_expsyms_cmds_CXX \
15.13023 + allow_undefined_flag_CXX \
15.13024 + no_undefined_flag_CXX \
15.13025 + export_symbols_cmds_CXX \
15.13026 + hardcode_libdir_flag_spec_CXX \
15.13027 + hardcode_libdir_flag_spec_ld_CXX \
15.13028 + hardcode_libdir_separator_CXX \
15.13029 + hardcode_automatic_CXX \
15.13030 + module_cmds_CXX \
15.13031 + module_expsym_cmds_CXX \
15.13032 + lt_cv_prog_compiler_c_o_CXX \
15.13033 + exclude_expsyms_CXX \
15.13034 + include_expsyms_CXX; do
15.13035 +
15.13036 + case $var in
15.13037 + old_archive_cmds_CXX | \
15.13038 + old_archive_from_new_cmds_CXX | \
15.13039 + archive_cmds_CXX | \
15.13040 + archive_expsym_cmds_CXX | \
15.13041 + module_cmds_CXX | \
15.13042 + module_expsym_cmds_CXX | \
15.13043 + old_archive_from_expsyms_cmds_CXX | \
15.13044 + export_symbols_cmds_CXX | \
15.13045 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
15.13046 + postinstall_cmds | postuninstall_cmds | \
15.13047 + old_postinstall_cmds | old_postuninstall_cmds | \
15.13048 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15.13049 + # Double-quote double-evaled strings.
15.13050 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15.13051 + ;;
15.13052 + *)
15.13053 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15.13054 + ;;
15.13055 + esac
15.13056 + done
15.13057 +
15.13058 + case $lt_echo in
15.13059 + *'\$0 --fallback-echo"')
15.13060 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15.13061 + ;;
15.13062 + esac
15.13063 +
15.13064 +cfgfile="$ofile"
15.13065 +
15.13066 + cat <<__EOF__ >> "$cfgfile"
15.13067 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15.13068 +
15.13069 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15.13070 +
15.13071 +# Shell to use when invoking shell scripts.
15.13072 +SHELL=$lt_SHELL
15.13073 +
15.13074 +# Whether or not to build shared libraries.
15.13075 +build_libtool_libs=$enable_shared
15.13076 +
15.13077 +# Whether or not to build static libraries.
15.13078 +build_old_libs=$enable_static
15.13079 +
15.13080 +# Whether or not to add -lc for building shared libraries.
15.13081 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
15.13082 +
15.13083 +# Whether or not to disallow shared libs when runtime libs are static
15.13084 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15.13085 +
15.13086 +# Whether or not to optimize for fast installation.
15.13087 +fast_install=$enable_fast_install
15.13088 +
15.13089 +# The host system.
15.13090 +host_alias=$host_alias
15.13091 +host=$host
15.13092 +host_os=$host_os
15.13093 +
15.13094 +# The build system.
15.13095 +build_alias=$build_alias
15.13096 +build=$build
15.13097 +build_os=$build_os
15.13098 +
15.13099 +# An echo program that does not interpret backslashes.
15.13100 +echo=$lt_echo
15.13101 +
15.13102 +# The archiver.
15.13103 +AR=$lt_AR
15.13104 +AR_FLAGS=$lt_AR_FLAGS
15.13105 +
15.13106 +# A C compiler.
15.13107 +LTCC=$lt_LTCC
15.13108 +
15.13109 +# A language-specific compiler.
15.13110 +CC=$lt_compiler_CXX
15.13111 +
15.13112 +# Is the compiler the GNU C compiler?
15.13113 +with_gcc=$GCC_CXX
15.13114 +
15.13115 +# An ERE matcher.
15.13116 +EGREP=$lt_EGREP
15.13117 +
15.13118 +# The linker used to build libraries.
15.13119 +LD=$lt_LD_CXX
15.13120 +
15.13121 +# Whether we need hard or soft links.
15.13122 +LN_S=$lt_LN_S
15.13123 +
15.13124 +# A BSD-compatible nm program.
15.13125 +NM=$lt_NM
15.13126 +
15.13127 +# A symbol stripping program
15.13128 +STRIP=$lt_STRIP
15.13129 +
15.13130 +# Used to examine libraries when file_magic_cmd begins "file"
15.13131 +MAGIC_CMD=$MAGIC_CMD
15.13132 +
15.13133 +# Used on cygwin: DLL creation program.
15.13134 +DLLTOOL="$DLLTOOL"
15.13135 +
15.13136 +# Used on cygwin: object dumper.
15.13137 +OBJDUMP="$OBJDUMP"
15.13138 +
15.13139 +# Used on cygwin: assembler.
15.13140 +AS="$AS"
15.13141 +
15.13142 +# The name of the directory that contains temporary libtool files.
15.13143 +objdir=$objdir
15.13144 +
15.13145 +# How to create reloadable object files.
15.13146 +reload_flag=$lt_reload_flag
15.13147 +reload_cmds=$lt_reload_cmds
15.13148 +
15.13149 +# How to pass a linker flag through the compiler.
15.13150 +wl=$lt_lt_prog_compiler_wl_CXX
15.13151 +
15.13152 +# Object file suffix (normally "o").
15.13153 +objext="$ac_objext"
15.13154 +
15.13155 +# Old archive suffix (normally "a").
15.13156 +libext="$libext"
15.13157 +
15.13158 +# Shared library suffix (normally ".so").
15.13159 +shrext_cmds='$shrext_cmds'
15.13160 +
15.13161 +# Executable file suffix (normally "").
15.13162 +exeext="$exeext"
15.13163 +
15.13164 +# Additional compiler flags for building library objects.
15.13165 +pic_flag=$lt_lt_prog_compiler_pic_CXX
15.13166 +pic_mode=$pic_mode
15.13167 +
15.13168 +# What is the maximum length of a command?
15.13169 +max_cmd_len=$lt_cv_sys_max_cmd_len
15.13170 +
15.13171 +# Does compiler simultaneously support -c and -o options?
15.13172 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15.13173 +
15.13174 +# Must we lock files when doing compilation?
15.13175 +need_locks=$lt_need_locks
15.13176 +
15.13177 +# Do we need the lib prefix for modules?
15.13178 +need_lib_prefix=$need_lib_prefix
15.13179 +
15.13180 +# Do we need a version for libraries?
15.13181 +need_version=$need_version
15.13182 +
15.13183 +# Whether dlopen is supported.
15.13184 +dlopen_support=$enable_dlopen
15.13185 +
15.13186 +# Whether dlopen of programs is supported.
15.13187 +dlopen_self=$enable_dlopen_self
15.13188 +
15.13189 +# Whether dlopen of statically linked programs is supported.
15.13190 +dlopen_self_static=$enable_dlopen_self_static
15.13191 +
15.13192 +# Compiler flag to prevent dynamic linking.
15.13193 +link_static_flag=$lt_lt_prog_compiler_static_CXX
15.13194 +
15.13195 +# Compiler flag to turn off builtin functions.
15.13196 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15.13197 +
15.13198 +# Compiler flag to allow reflexive dlopens.
15.13199 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15.13200 +
15.13201 +# Compiler flag to generate shared objects directly from archives.
15.13202 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15.13203 +
15.13204 +# Compiler flag to generate thread-safe objects.
15.13205 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15.13206 +
15.13207 +# Library versioning type.
15.13208 +version_type=$version_type
15.13209 +
15.13210 +# Format of library name prefix.
15.13211 +libname_spec=$lt_libname_spec
15.13212 +
15.13213 +# List of archive names. First name is the real one, the rest are links.
15.13214 +# The last name is the one that the linker finds with -lNAME.
15.13215 +library_names_spec=$lt_library_names_spec
15.13216 +
15.13217 +# The coded name of the library, if different from the real name.
15.13218 +soname_spec=$lt_soname_spec
15.13219 +
15.13220 +# Commands used to build and install an old-style archive.
15.13221 +RANLIB=$lt_RANLIB
15.13222 +old_archive_cmds=$lt_old_archive_cmds_CXX
15.13223 +old_postinstall_cmds=$lt_old_postinstall_cmds
15.13224 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
15.13225 +
15.13226 +# Create an old-style archive from a shared archive.
15.13227 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15.13228 +
15.13229 +# Create a temporary old-style archive to link instead of a shared archive.
15.13230 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15.13231 +
15.13232 +# Commands used to build and install a shared archive.
15.13233 +archive_cmds=$lt_archive_cmds_CXX
15.13234 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15.13235 +postinstall_cmds=$lt_postinstall_cmds
15.13236 +postuninstall_cmds=$lt_postuninstall_cmds
15.13237 +
15.13238 +# Commands used to build a loadable module (assumed same as above if empty)
15.13239 +module_cmds=$lt_module_cmds_CXX
15.13240 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
15.13241 +
15.13242 +# Commands to strip libraries.
15.13243 +old_striplib=$lt_old_striplib
15.13244 +striplib=$lt_striplib
15.13245 +
15.13246 +# Dependencies to place before the objects being linked to create a
15.13247 +# shared library.
15.13248 +predep_objects=$lt_predep_objects_CXX
15.13249 +
15.13250 +# Dependencies to place after the objects being linked to create a
15.13251 +# shared library.
15.13252 +postdep_objects=$lt_postdep_objects_CXX
15.13253 +
15.13254 +# Dependencies to place before the objects being linked to create a
15.13255 +# shared library.
15.13256 +predeps=$lt_predeps_CXX
15.13257 +
15.13258 +# Dependencies to place after the objects being linked to create a
15.13259 +# shared library.
15.13260 +postdeps=$lt_postdeps_CXX
15.13261 +
15.13262 +# The library search path used internally by the compiler when linking
15.13263 +# a shared library.
15.13264 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15.13265 +
15.13266 +# Method to check whether dependent libraries are shared objects.
15.13267 +deplibs_check_method=$lt_deplibs_check_method
15.13268 +
15.13269 +# Command to use when deplibs_check_method == file_magic.
15.13270 +file_magic_cmd=$lt_file_magic_cmd
15.13271 +
15.13272 +# Flag that allows shared libraries with undefined symbols to be built.
15.13273 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
15.13274 +
15.13275 +# Flag that forces no undefined symbols.
15.13276 +no_undefined_flag=$lt_no_undefined_flag_CXX
15.13277 +
15.13278 +# Commands used to finish a libtool library installation in a directory.
15.13279 +finish_cmds=$lt_finish_cmds
15.13280 +
15.13281 +# Same as above, but a single script fragment to be evaled but not shown.
15.13282 +finish_eval=$lt_finish_eval
15.13283 +
15.13284 +# Take the output of nm and produce a listing of raw symbols and C names.
15.13285 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15.13286 +
15.13287 +# Transform the output of nm in a proper C declaration
15.13288 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15.13289 +
15.13290 +# Transform the output of nm in a C name address pair
15.13291 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15.13292 +
15.13293 +# This is the shared library runtime path variable.
15.13294 +runpath_var=$runpath_var
15.13295 +
15.13296 +# This is the shared library path variable.
15.13297 +shlibpath_var=$shlibpath_var
15.13298 +
15.13299 +# Is shlibpath searched before the hard-coded library search path?
15.13300 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15.13301 +
15.13302 +# How to hardcode a shared library path into an executable.
15.13303 +hardcode_action=$hardcode_action_CXX
15.13304 +
15.13305 +# Whether we should hardcode library paths into libraries.
15.13306 +hardcode_into_libs=$hardcode_into_libs
15.13307 +
15.13308 +# Flag to hardcode \$libdir into a binary during linking.
15.13309 +# This must work even if \$libdir does not exist.
15.13310 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15.13311 +
15.13312 +# If ld is used when linking, flag to hardcode \$libdir into
15.13313 +# a binary during linking. This must work even if \$libdir does
15.13314 +# not exist.
15.13315 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15.13316 +
15.13317 +# Whether we need a single -rpath flag with a separated argument.
15.13318 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15.13319 +
15.13320 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15.13321 +# resulting binary.
15.13322 +hardcode_direct=$hardcode_direct_CXX
15.13323 +
15.13324 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15.13325 +# resulting binary.
15.13326 +hardcode_minus_L=$hardcode_minus_L_CXX
15.13327 +
15.13328 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15.13329 +# the resulting binary.
15.13330 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15.13331 +
15.13332 +# Set to yes if building a shared library automatically hardcodes DIR into the library
15.13333 +# and all subsequent libraries and executables linked against it.
15.13334 +hardcode_automatic=$hardcode_automatic_CXX
15.13335 +
15.13336 +# Variables whose values should be saved in libtool wrapper scripts and
15.13337 +# restored at relink time.
15.13338 +variables_saved_for_relink="$variables_saved_for_relink"
15.13339 +
15.13340 +# Whether libtool must link a program against all its dependency libraries.
15.13341 +link_all_deplibs=$link_all_deplibs_CXX
15.13342 +
15.13343 +# Compile-time system search path for libraries
15.13344 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15.13345 +
15.13346 +# Run-time system search path for libraries
15.13347 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15.13348 +
15.13349 +# Fix the shell variable \$srcfile for the compiler.
15.13350 +fix_srcfile_path="$fix_srcfile_path_CXX"
15.13351 +
15.13352 +# Set to yes if exported symbols are required.
15.13353 +always_export_symbols=$always_export_symbols_CXX
15.13354 +
15.13355 +# The commands to list exported symbols.
15.13356 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
15.13357 +
15.13358 +# The commands to extract the exported symbol list from a shared archive.
15.13359 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
15.13360 +
15.13361 +# Symbols that should not be listed in the preloaded symbols.
15.13362 +exclude_expsyms=$lt_exclude_expsyms_CXX
15.13363 +
15.13364 +# Symbols that must always be exported.
15.13365 +include_expsyms=$lt_include_expsyms_CXX
15.13366 +
15.13367 +# ### END LIBTOOL TAG CONFIG: $tagname
15.13368 +
15.13369 +__EOF__
15.13370 +
15.13371 +
15.13372 +else
15.13373 + # If there is no Makefile yet, we rely on a make rule to execute
15.13374 + # `config.status --recheck' to rerun these tests and create the
15.13375 + # libtool script then.
15.13376 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15.13377 + if test -f "$ltmain_in"; then
15.13378 + test -f Makefile && make "$ltmain"
15.13379 + fi
15.13380 +fi
15.13381 +
15.13382 +
15.13383 +ac_ext=c
15.13384 +ac_cpp='$CPP $CPPFLAGS'
15.13385 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.13386 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.13387 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.13388 +
15.13389 +CC=$lt_save_CC
15.13390 +LDCXX=$LD
15.13391 +LD=$lt_save_LD
15.13392 +GCC=$lt_save_GCC
15.13393 +with_gnu_ldcxx=$with_gnu_ld
15.13394 +with_gnu_ld=$lt_save_with_gnu_ld
15.13395 +lt_cv_path_LDCXX=$lt_cv_path_LD
15.13396 +lt_cv_path_LD=$lt_save_path_LD
15.13397 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15.13398 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15.13399 +
15.13400 + else
15.13401 + tagname=""
15.13402 + fi
15.13403 + ;;
15.13404 +
15.13405 + F77)
15.13406 + if test -n "$F77" && test "X$F77" != "Xno"; then
15.13407 +
15.13408 +ac_ext=f
15.13409 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15.13410 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.13411 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15.13412 +
15.13413 +
15.13414 +archive_cmds_need_lc_F77=no
15.13415 +allow_undefined_flag_F77=
15.13416 +always_export_symbols_F77=no
15.13417 +archive_expsym_cmds_F77=
15.13418 +export_dynamic_flag_spec_F77=
15.13419 +hardcode_direct_F77=no
15.13420 +hardcode_libdir_flag_spec_F77=
15.13421 +hardcode_libdir_flag_spec_ld_F77=
15.13422 +hardcode_libdir_separator_F77=
15.13423 +hardcode_minus_L_F77=no
15.13424 +hardcode_automatic_F77=no
15.13425 +module_cmds_F77=
15.13426 +module_expsym_cmds_F77=
15.13427 +link_all_deplibs_F77=unknown
15.13428 +old_archive_cmds_F77=$old_archive_cmds
15.13429 +no_undefined_flag_F77=
15.13430 +whole_archive_flag_spec_F77=
15.13431 +enable_shared_with_static_runtimes_F77=no
15.13432 +
15.13433 +# Source file extension for f77 test sources.
15.13434 +ac_ext=f
15.13435 +
15.13436 +# Object file extension for compiled f77 test sources.
15.13437 +objext=o
15.13438 +objext_F77=$objext
15.13439 +
15.13440 +# Code to be used in simple compile tests
15.13441 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
15.13442 +
15.13443 +# Code to be used in simple link tests
15.13444 +lt_simple_link_test_code=" program t\n end\n"
15.13445 +
15.13446 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15.13447 +
15.13448 +# If no C compiler was specified, use CC.
15.13449 +LTCC=${LTCC-"$CC"}
15.13450 +
15.13451 +# Allow CC to be a program name with arguments.
15.13452 +compiler=$CC
15.13453 +
15.13454 +
15.13455 +# save warnings/boilerplate of simple test code
15.13456 +ac_outfile=conftest.$ac_objext
15.13457 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15.13458 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15.13459 +_lt_compiler_boilerplate=`cat conftest.err`
15.13460 +$rm conftest*
15.13461 +
15.13462 +ac_outfile=conftest.$ac_objext
15.13463 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
15.13464 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15.13465 +_lt_linker_boilerplate=`cat conftest.err`
15.13466 +$rm conftest*
15.13467 +
15.13468 +
15.13469 +# Allow CC to be a program name with arguments.
15.13470 +lt_save_CC="$CC"
15.13471 +CC=${F77-"f77"}
15.13472 +compiler=$CC
15.13473 +compiler_F77=$CC
15.13474 +for cc_temp in $compiler""; do
15.13475 + case $cc_temp in
15.13476 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15.13477 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15.13478 + \-*) ;;
15.13479 + *) break;;
15.13480 + esac
15.13481 +done
15.13482 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15.13483 +
15.13484 +
15.13485 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15.13486 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15.13487 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
15.13488 +echo "${ECHO_T}$can_build_shared" >&6
15.13489 +
15.13490 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15.13491 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15.13492 +test "$can_build_shared" = "no" && enable_shared=no
15.13493 +
15.13494 +# On AIX, shared libraries and static libraries use the same namespace, and
15.13495 +# are all built from PIC.
15.13496 +case $host_os in
15.13497 +aix3*)
15.13498 + test "$enable_shared" = yes && enable_static=no
15.13499 + if test -n "$RANLIB"; then
15.13500 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
15.13501 + postinstall_cmds='$RANLIB $lib'
15.13502 + fi
15.13503 + ;;
15.13504 +aix4* | aix5*)
15.13505 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15.13506 + test "$enable_shared" = yes && enable_static=no
15.13507 + fi
15.13508 + ;;
15.13509 +esac
15.13510 +echo "$as_me:$LINENO: result: $enable_shared" >&5
15.13511 +echo "${ECHO_T}$enable_shared" >&6
15.13512 +
15.13513 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15.13514 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
15.13515 +# Make sure either enable_shared or enable_static is yes.
15.13516 +test "$enable_shared" = yes || enable_static=yes
15.13517 +echo "$as_me:$LINENO: result: $enable_static" >&5
15.13518 +echo "${ECHO_T}$enable_static" >&6
15.13519 +
15.13520 +test "$ld_shlibs_F77" = no && can_build_shared=no
15.13521 +
15.13522 +GCC_F77="$G77"
15.13523 +LD_F77="$LD"
15.13524 +
15.13525 +lt_prog_compiler_wl_F77=
15.13526 +lt_prog_compiler_pic_F77=
15.13527 +lt_prog_compiler_static_F77=
15.13528 +
15.13529 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15.13530 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15.13531 +
15.13532 + if test "$GCC" = yes; then
15.13533 + lt_prog_compiler_wl_F77='-Wl,'
15.13534 + lt_prog_compiler_static_F77='-static'
15.13535 +
15.13536 + case $host_os in
15.13537 + aix*)
15.13538 + # All AIX code is PIC.
15.13539 + if test "$host_cpu" = ia64; then
15.13540 + # AIX 5 now supports IA64 processor
15.13541 + lt_prog_compiler_static_F77='-Bstatic'
15.13542 + fi
15.13543 + ;;
15.13544 +
15.13545 + amigaos*)
15.13546 + # FIXME: we need at least 68020 code to build shared libraries, but
15.13547 + # adding the `-m68020' flag to GCC prevents building anything better,
15.13548 + # like `-m68040'.
15.13549 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15.13550 + ;;
15.13551 +
15.13552 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15.13553 + # PIC is the default for these OSes.
15.13554 + ;;
15.13555 +
15.13556 + mingw* | pw32* | os2*)
15.13557 + # This hack is so that the source file can tell whether it is being
15.13558 + # built for inclusion in a dll (and should export symbols for example).
15.13559 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15.13560 + ;;
15.13561 +
15.13562 + darwin* | rhapsody*)
15.13563 + # PIC is the default on this platform
15.13564 + # Common symbols not allowed in MH_DYLIB files
15.13565 + lt_prog_compiler_pic_F77='-fno-common'
15.13566 + ;;
15.13567 +
15.13568 + msdosdjgpp*)
15.13569 + # Just because we use GCC doesn't mean we suddenly get shared libraries
15.13570 + # on systems that don't support them.
15.13571 + lt_prog_compiler_can_build_shared_F77=no
15.13572 + enable_shared=no
15.13573 + ;;
15.13574 +
15.13575 + sysv4*MP*)
15.13576 + if test -d /usr/nec; then
15.13577 + lt_prog_compiler_pic_F77=-Kconform_pic
15.13578 + fi
15.13579 + ;;
15.13580 +
15.13581 + hpux*)
15.13582 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15.13583 + # not for PA HP-UX.
15.13584 + case $host_cpu in
15.13585 + hppa*64*|ia64*)
15.13586 + # +Z the default
15.13587 + ;;
15.13588 + *)
15.13589 + lt_prog_compiler_pic_F77='-fPIC'
15.13590 + ;;
15.13591 + esac
15.13592 + ;;
15.13593 +
15.13594 + *)
15.13595 + lt_prog_compiler_pic_F77='-fPIC'
15.13596 + ;;
15.13597 + esac
15.13598 + else
15.13599 + # PORTME Check for flag to pass linker flags through the system compiler.
15.13600 + case $host_os in
15.13601 + aix*)
15.13602 + lt_prog_compiler_wl_F77='-Wl,'
15.13603 + if test "$host_cpu" = ia64; then
15.13604 + # AIX 5 now supports IA64 processor
15.13605 + lt_prog_compiler_static_F77='-Bstatic'
15.13606 + else
15.13607 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15.13608 + fi
15.13609 + ;;
15.13610 + darwin*)
15.13611 + # PIC is the default on this platform
15.13612 + # Common symbols not allowed in MH_DYLIB files
15.13613 + case $cc_basename in
15.13614 + xlc*)
15.13615 + lt_prog_compiler_pic_F77='-qnocommon'
15.13616 + lt_prog_compiler_wl_F77='-Wl,'
15.13617 + ;;
15.13618 + esac
15.13619 + ;;
15.13620 +
15.13621 + mingw* | pw32* | os2*)
15.13622 + # This hack is so that the source file can tell whether it is being
15.13623 + # built for inclusion in a dll (and should export symbols for example).
15.13624 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15.13625 + ;;
15.13626 +
15.13627 + hpux9* | hpux10* | hpux11*)
15.13628 + lt_prog_compiler_wl_F77='-Wl,'
15.13629 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15.13630 + # not for PA HP-UX.
15.13631 + case $host_cpu in
15.13632 + hppa*64*|ia64*)
15.13633 + # +Z the default
15.13634 + ;;
15.13635 + *)
15.13636 + lt_prog_compiler_pic_F77='+Z'
15.13637 + ;;
15.13638 + esac
15.13639 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
15.13640 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15.13641 + ;;
15.13642 +
15.13643 + irix5* | irix6* | nonstopux*)
15.13644 + lt_prog_compiler_wl_F77='-Wl,'
15.13645 + # PIC (with -KPIC) is the default.
15.13646 + lt_prog_compiler_static_F77='-non_shared'
15.13647 + ;;
15.13648 +
15.13649 + newsos6)
15.13650 + lt_prog_compiler_pic_F77='-KPIC'
15.13651 + lt_prog_compiler_static_F77='-Bstatic'
15.13652 + ;;
15.13653 +
15.13654 + linux*)
15.13655 + case $cc_basename in
15.13656 + icc* | ecc*)
15.13657 + lt_prog_compiler_wl_F77='-Wl,'
15.13658 + lt_prog_compiler_pic_F77='-KPIC'
15.13659 + lt_prog_compiler_static_F77='-static'
15.13660 + ;;
15.13661 + pgcc* | pgf77* | pgf90* | pgf95*)
15.13662 + # Portland Group compilers (*not* the Pentium gcc compiler,
15.13663 + # which looks to be a dead project)
15.13664 + lt_prog_compiler_wl_F77='-Wl,'
15.13665 + lt_prog_compiler_pic_F77='-fpic'
15.13666 + lt_prog_compiler_static_F77='-Bstatic'
15.13667 + ;;
15.13668 + ccc*)
15.13669 + lt_prog_compiler_wl_F77='-Wl,'
15.13670 + # All Alpha code is PIC.
15.13671 + lt_prog_compiler_static_F77='-non_shared'
15.13672 + ;;
15.13673 + esac
15.13674 + ;;
15.13675 +
15.13676 + osf3* | osf4* | osf5*)
15.13677 + lt_prog_compiler_wl_F77='-Wl,'
15.13678 + # All OSF/1 code is PIC.
15.13679 + lt_prog_compiler_static_F77='-non_shared'
15.13680 + ;;
15.13681 +
15.13682 + sco3.2v5*)
15.13683 + lt_prog_compiler_pic_F77='-Kpic'
15.13684 + lt_prog_compiler_static_F77='-dn'
15.13685 + ;;
15.13686 +
15.13687 + solaris*)
15.13688 + lt_prog_compiler_pic_F77='-KPIC'
15.13689 + lt_prog_compiler_static_F77='-Bstatic'
15.13690 + case $cc_basename in
15.13691 + f77* | f90* | f95*)
15.13692 + lt_prog_compiler_wl_F77='-Qoption ld ';;
15.13693 + *)
15.13694 + lt_prog_compiler_wl_F77='-Wl,';;
15.13695 + esac
15.13696 + ;;
15.13697 +
15.13698 + sunos4*)
15.13699 + lt_prog_compiler_wl_F77='-Qoption ld '
15.13700 + lt_prog_compiler_pic_F77='-PIC'
15.13701 + lt_prog_compiler_static_F77='-Bstatic'
15.13702 + ;;
15.13703 +
15.13704 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15.13705 + lt_prog_compiler_wl_F77='-Wl,'
15.13706 + lt_prog_compiler_pic_F77='-KPIC'
15.13707 + lt_prog_compiler_static_F77='-Bstatic'
15.13708 + ;;
15.13709 +
15.13710 + sysv4*MP*)
15.13711 + if test -d /usr/nec ;then
15.13712 + lt_prog_compiler_pic_F77='-Kconform_pic'
15.13713 + lt_prog_compiler_static_F77='-Bstatic'
15.13714 + fi
15.13715 + ;;
15.13716 +
15.13717 + unicos*)
15.13718 + lt_prog_compiler_wl_F77='-Wl,'
15.13719 + lt_prog_compiler_can_build_shared_F77=no
15.13720 + ;;
15.13721 +
15.13722 + uts4*)
15.13723 + lt_prog_compiler_pic_F77='-pic'
15.13724 + lt_prog_compiler_static_F77='-Bstatic'
15.13725 + ;;
15.13726 +
15.13727 + *)
15.13728 + lt_prog_compiler_can_build_shared_F77=no
15.13729 + ;;
15.13730 + esac
15.13731 + fi
15.13732 +
15.13733 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15.13734 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
15.13735 +
15.13736 +#
15.13737 +# Check to make sure the PIC flag actually works.
15.13738 +#
15.13739 +if test -n "$lt_prog_compiler_pic_F77"; then
15.13740 +
15.13741 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15.13742 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
15.13743 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15.13744 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.13745 +else
15.13746 + lt_prog_compiler_pic_works_F77=no
15.13747 + ac_outfile=conftest.$ac_objext
15.13748 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.13749 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
15.13750 + # Insert the option either (1) after the last *FLAGS variable, or
15.13751 + # (2) before a word containing "conftest.", or (3) at the end.
15.13752 + # Note that $ac_compile itself does not contain backslashes and begins
15.13753 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15.13754 + # The option is referenced via a variable to avoid confusing sed.
15.13755 + lt_compile=`echo "$ac_compile" | $SED \
15.13756 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15.13757 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15.13758 + -e 's:$: $lt_compiler_flag:'`
15.13759 + (eval echo "\"\$as_me:13756: $lt_compile\"" >&5)
15.13760 + (eval "$lt_compile" 2>conftest.err)
15.13761 + ac_status=$?
15.13762 + cat conftest.err >&5
15.13763 + echo "$as_me:13760: \$? = $ac_status" >&5
15.13764 + if (exit $ac_status) && test -s "$ac_outfile"; then
15.13765 + # The compiler can only warn and ignore the option if not recognized
15.13766 + # So say no if there are warnings other than the usual output.
15.13767 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15.13768 + $SED '/^$/d' conftest.err >conftest.er2
15.13769 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
15.13770 + lt_prog_compiler_pic_works_F77=yes
15.13771 + fi
15.13772 + fi
15.13773 + $rm conftest*
15.13774 +
15.13775 +fi
15.13776 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15.13777 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
15.13778 +
15.13779 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15.13780 + case $lt_prog_compiler_pic_F77 in
15.13781 + "" | " "*) ;;
15.13782 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15.13783 + esac
15.13784 +else
15.13785 + lt_prog_compiler_pic_F77=
15.13786 + lt_prog_compiler_can_build_shared_F77=no
15.13787 +fi
15.13788 +
15.13789 +fi
15.13790 +case $host_os in
15.13791 + # For platforms which do not support PIC, -DPIC is meaningless:
15.13792 + *djgpp*)
15.13793 + lt_prog_compiler_pic_F77=
15.13794 + ;;
15.13795 + *)
15.13796 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15.13797 + ;;
15.13798 +esac
15.13799 +
15.13800 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15.13801 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15.13802 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15.13803 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.13804 +else
15.13805 + lt_cv_prog_compiler_c_o_F77=no
15.13806 + $rm -r conftest 2>/dev/null
15.13807 + mkdir conftest
15.13808 + cd conftest
15.13809 + mkdir out
15.13810 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.13811 +
15.13812 + lt_compiler_flag="-o out/conftest2.$ac_objext"
15.13813 + # Insert the option either (1) after the last *FLAGS variable, or
15.13814 + # (2) before a word containing "conftest.", or (3) at the end.
15.13815 + # Note that $ac_compile itself does not contain backslashes and begins
15.13816 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15.13817 + lt_compile=`echo "$ac_compile" | $SED \
15.13818 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15.13819 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15.13820 + -e 's:$: $lt_compiler_flag:'`
15.13821 + (eval echo "\"\$as_me:13818: $lt_compile\"" >&5)
15.13822 + (eval "$lt_compile" 2>out/conftest.err)
15.13823 + ac_status=$?
15.13824 + cat out/conftest.err >&5
15.13825 + echo "$as_me:13822: \$? = $ac_status" >&5
15.13826 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
15.13827 + then
15.13828 + # The compiler can only warn and ignore the option if not recognized
15.13829 + # So say no if there are warnings
15.13830 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
15.13831 + $SED '/^$/d' out/conftest.err >out/conftest.er2
15.13832 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15.13833 + lt_cv_prog_compiler_c_o_F77=yes
15.13834 + fi
15.13835 + fi
15.13836 + chmod u+w . 2>&5
15.13837 + $rm conftest*
15.13838 + # SGI C++ compiler will create directory out/ii_files/ for
15.13839 + # template instantiation
15.13840 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15.13841 + $rm out/* && rmdir out
15.13842 + cd ..
15.13843 + rmdir conftest
15.13844 + $rm conftest*
15.13845 +
15.13846 +fi
15.13847 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15.13848 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
15.13849 +
15.13850 +
15.13851 +hard_links="nottested"
15.13852 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15.13853 + # do not overwrite the value of need_locks provided by the user
15.13854 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15.13855 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15.13856 + hard_links=yes
15.13857 + $rm conftest*
15.13858 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15.13859 + touch conftest.a
15.13860 + ln conftest.a conftest.b 2>&5 || hard_links=no
15.13861 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15.13862 + echo "$as_me:$LINENO: result: $hard_links" >&5
15.13863 +echo "${ECHO_T}$hard_links" >&6
15.13864 + if test "$hard_links" = no; then
15.13865 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15.13866 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15.13867 + need_locks=warn
15.13868 + fi
15.13869 +else
15.13870 + need_locks=no
15.13871 +fi
15.13872 +
15.13873 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15.13874 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15.13875 +
15.13876 + runpath_var=
15.13877 + allow_undefined_flag_F77=
15.13878 + enable_shared_with_static_runtimes_F77=no
15.13879 + archive_cmds_F77=
15.13880 + archive_expsym_cmds_F77=
15.13881 + old_archive_From_new_cmds_F77=
15.13882 + old_archive_from_expsyms_cmds_F77=
15.13883 + export_dynamic_flag_spec_F77=
15.13884 + whole_archive_flag_spec_F77=
15.13885 + thread_safe_flag_spec_F77=
15.13886 + hardcode_libdir_flag_spec_F77=
15.13887 + hardcode_libdir_flag_spec_ld_F77=
15.13888 + hardcode_libdir_separator_F77=
15.13889 + hardcode_direct_F77=no
15.13890 + hardcode_minus_L_F77=no
15.13891 + hardcode_shlibpath_var_F77=unsupported
15.13892 + link_all_deplibs_F77=unknown
15.13893 + hardcode_automatic_F77=no
15.13894 + module_cmds_F77=
15.13895 + module_expsym_cmds_F77=
15.13896 + always_export_symbols_F77=no
15.13897 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15.13898 + # include_expsyms should be a list of space-separated symbols to be *always*
15.13899 + # included in the symbol list
15.13900 + include_expsyms_F77=
15.13901 + # exclude_expsyms can be an extended regexp of symbols to exclude
15.13902 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
15.13903 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15.13904 + # as well as any symbol that contains `d'.
15.13905 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15.13906 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15.13907 + # platforms (ab)use it in PIC code, but their linkers get confused if
15.13908 + # the symbol is explicitly referenced. Since portable code cannot
15.13909 + # rely on this symbol name, it's probably fine to never include it in
15.13910 + # preloaded symbol tables.
15.13911 + extract_expsyms_cmds=
15.13912 + # Just being paranoid about ensuring that cc_basename is set.
15.13913 + for cc_temp in $compiler""; do
15.13914 + case $cc_temp in
15.13915 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15.13916 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15.13917 + \-*) ;;
15.13918 + *) break;;
15.13919 + esac
15.13920 +done
15.13921 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15.13922 +
15.13923 + case $host_os in
15.13924 + cygwin* | mingw* | pw32*)
15.13925 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
15.13926 + # When not using gcc, we currently assume that we are using
15.13927 + # Microsoft Visual C++.
15.13928 + if test "$GCC" != yes; then
15.13929 + with_gnu_ld=no
15.13930 + fi
15.13931 + ;;
15.13932 + openbsd*)
15.13933 + with_gnu_ld=no
15.13934 + ;;
15.13935 + esac
15.13936 +
15.13937 + ld_shlibs_F77=yes
15.13938 + if test "$with_gnu_ld" = yes; then
15.13939 + # If archive_cmds runs LD, not CC, wlarc should be empty
15.13940 + wlarc='${wl}'
15.13941 +
15.13942 + # Set some defaults for GNU ld with shared library support. These
15.13943 + # are reset later if shared libraries are not supported. Putting them
15.13944 + # here allows them to be overridden if necessary.
15.13945 + runpath_var=LD_RUN_PATH
15.13946 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15.13947 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15.13948 + # ancient GNU ld didn't support --whole-archive et. al.
15.13949 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15.13950 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15.13951 + else
15.13952 + whole_archive_flag_spec_F77=
15.13953 + fi
15.13954 + supports_anon_versioning=no
15.13955 + case `$LD -v 2>/dev/null` in
15.13956 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15.13957 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15.13958 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15.13959 + *\ 2.11.*) ;; # other 2.11 versions
15.13960 + *) supports_anon_versioning=yes ;;
15.13961 + esac
15.13962 +
15.13963 + # See if GNU ld supports shared libraries.
15.13964 + case $host_os in
15.13965 + aix3* | aix4* | aix5*)
15.13966 + # On AIX/PPC, the GNU linker is very broken
15.13967 + if test "$host_cpu" != ia64; then
15.13968 + ld_shlibs_F77=no
15.13969 + cat <<EOF 1>&2
15.13970 +
15.13971 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15.13972 +*** to be unable to reliably create shared libraries on AIX.
15.13973 +*** Therefore, libtool is disabling shared libraries support. If you
15.13974 +*** really care for shared libraries, you may want to modify your PATH
15.13975 +*** so that a non-GNU linker is found, and then restart.
15.13976 +
15.13977 +EOF
15.13978 + fi
15.13979 + ;;
15.13980 +
15.13981 + amigaos*)
15.13982 + 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)'
15.13983 + hardcode_libdir_flag_spec_F77='-L$libdir'
15.13984 + hardcode_minus_L_F77=yes
15.13985 +
15.13986 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15.13987 + # that the semantics of dynamic libraries on AmigaOS, at least up
15.13988 + # to version 4, is to share data among multiple programs linked
15.13989 + # with the same dynamic library. Since this doesn't match the
15.13990 + # behavior of shared libraries on other platforms, we can't use
15.13991 + # them.
15.13992 + ld_shlibs_F77=no
15.13993 + ;;
15.13994 +
15.13995 + beos*)
15.13996 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.13997 + allow_undefined_flag_F77=unsupported
15.13998 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15.13999 + # support --undefined. This deserves some investigation. FIXME
15.14000 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.14001 + else
15.14002 + ld_shlibs_F77=no
15.14003 + fi
15.14004 + ;;
15.14005 +
15.14006 + cygwin* | mingw* | pw32*)
15.14007 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15.14008 + # as there is no search path for DLLs.
15.14009 + hardcode_libdir_flag_spec_F77='-L$libdir'
15.14010 + allow_undefined_flag_F77=unsupported
15.14011 + always_export_symbols_F77=no
15.14012 + enable_shared_with_static_runtimes_F77=yes
15.14013 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15.14014 +
15.14015 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15.14016 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15.14017 + # If the export-symbols file already is a .def file (1st line
15.14018 + # is EXPORTS), use it as is; otherwise, prepend...
15.14019 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15.14020 + cp $export_symbols $output_objdir/$soname.def;
15.14021 + else
15.14022 + echo EXPORTS > $output_objdir/$soname.def;
15.14023 + cat $export_symbols >> $output_objdir/$soname.def;
15.14024 + fi~
15.14025 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15.14026 + else
15.14027 + ld_shlibs_F77=no
15.14028 + fi
15.14029 + ;;
15.14030 +
15.14031 + linux*)
15.14032 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.14033 + tmp_addflag=
15.14034 + case $cc_basename,$host_cpu in
15.14035 + pgcc*) # Portland Group C compiler
15.14036 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15.14037 + tmp_addflag=' $pic_flag'
15.14038 + ;;
15.14039 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15.14040 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15.14041 + tmp_addflag=' $pic_flag -Mnomain' ;;
15.14042 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15.14043 + tmp_addflag=' -i_dynamic' ;;
15.14044 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15.14045 + tmp_addflag=' -i_dynamic -nofor_main' ;;
15.14046 + ifc* | ifort*) # Intel Fortran compiler
15.14047 + tmp_addflag=' -nofor_main' ;;
15.14048 + esac
15.14049 + archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.14050 +
15.14051 + if test $supports_anon_versioning = yes; then
15.14052 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15.14053 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15.14054 + $echo "local: *; };" >> $output_objdir/$libname.ver~
15.14055 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15.14056 + fi
15.14057 + else
15.14058 + ld_shlibs_F77=no
15.14059 + fi
15.14060 + ;;
15.14061 +
15.14062 + netbsd*)
15.14063 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15.14064 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15.14065 + wlarc=
15.14066 + else
15.14067 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.14068 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15.14069 + fi
15.14070 + ;;
15.14071 +
15.14072 + solaris* | sysv5*)
15.14073 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15.14074 + ld_shlibs_F77=no
15.14075 + cat <<EOF 1>&2
15.14076 +
15.14077 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15.14078 +*** create shared libraries on Solaris systems. Therefore, libtool
15.14079 +*** is disabling shared libraries support. We urge you to upgrade GNU
15.14080 +*** binutils to release 2.9.1 or newer. Another option is to modify
15.14081 +*** your PATH or compiler configuration so that the native linker is
15.14082 +*** used, and then restart.
15.14083 +
15.14084 +EOF
15.14085 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.14086 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.14087 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15.14088 + else
15.14089 + ld_shlibs_F77=no
15.14090 + fi
15.14091 + ;;
15.14092 +
15.14093 + sunos4*)
15.14094 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15.14095 + wlarc=
15.14096 + hardcode_direct_F77=yes
15.14097 + hardcode_shlibpath_var_F77=no
15.14098 + ;;
15.14099 +
15.14100 + *)
15.14101 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.14102 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.14103 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15.14104 + else
15.14105 + ld_shlibs_F77=no
15.14106 + fi
15.14107 + ;;
15.14108 + esac
15.14109 +
15.14110 + if test "$ld_shlibs_F77" = no; then
15.14111 + runpath_var=
15.14112 + hardcode_libdir_flag_spec_F77=
15.14113 + export_dynamic_flag_spec_F77=
15.14114 + whole_archive_flag_spec_F77=
15.14115 + fi
15.14116 + else
15.14117 + # PORTME fill in a description of your system's linker (not GNU ld)
15.14118 + case $host_os in
15.14119 + aix3*)
15.14120 + allow_undefined_flag_F77=unsupported
15.14121 + always_export_symbols_F77=yes
15.14122 + 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'
15.14123 + # Note: this linker hardcodes the directories in LIBPATH if there
15.14124 + # are no directories specified by -L.
15.14125 + hardcode_minus_L_F77=yes
15.14126 + if test "$GCC" = yes && test -z "$link_static_flag"; then
15.14127 + # Neither direct hardcoding nor static linking is supported with a
15.14128 + # broken collect2.
15.14129 + hardcode_direct_F77=unsupported
15.14130 + fi
15.14131 + ;;
15.14132 +
15.14133 + aix4* | aix5*)
15.14134 + if test "$host_cpu" = ia64; then
15.14135 + # On IA64, the linker does run time linking by default, so we don't
15.14136 + # have to do anything special.
15.14137 + aix_use_runtimelinking=no
15.14138 + exp_sym_flag='-Bexport'
15.14139 + no_entry_flag=""
15.14140 + else
15.14141 + # If we're using GNU nm, then we don't want the "-C" option.
15.14142 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
15.14143 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15.14144 + 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'
15.14145 + else
15.14146 + 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'
15.14147 + fi
15.14148 + aix_use_runtimelinking=no
15.14149 +
15.14150 + # Test if we are trying to use run time linking or normal
15.14151 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15.14152 + # need to do runtime linking.
15.14153 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15.14154 + for ld_flag in $LDFLAGS; do
15.14155 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15.14156 + aix_use_runtimelinking=yes
15.14157 + break
15.14158 + fi
15.14159 + done
15.14160 + esac
15.14161 +
15.14162 + exp_sym_flag='-bexport'
15.14163 + no_entry_flag='-bnoentry'
15.14164 + fi
15.14165 +
15.14166 + # When large executables or shared objects are built, AIX ld can
15.14167 + # have problems creating the table of contents. If linking a library
15.14168 + # or program results in "error TOC overflow" add -mminimal-toc to
15.14169 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15.14170 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15.14171 +
15.14172 + archive_cmds_F77=''
15.14173 + hardcode_direct_F77=yes
15.14174 + hardcode_libdir_separator_F77=':'
15.14175 + link_all_deplibs_F77=yes
15.14176 +
15.14177 + if test "$GCC" = yes; then
15.14178 + case $host_os in aix4.[012]|aix4.[012].*)
15.14179 + # We only want to do this on AIX 4.2 and lower, the check
15.14180 + # below for broken collect2 doesn't work under 4.3+
15.14181 + collect2name=`${CC} -print-prog-name=collect2`
15.14182 + if test -f "$collect2name" && \
15.14183 + strings "$collect2name" | grep resolve_lib_name >/dev/null
15.14184 + then
15.14185 + # We have reworked collect2
15.14186 + hardcode_direct_F77=yes
15.14187 + else
15.14188 + # We have old collect2
15.14189 + hardcode_direct_F77=unsupported
15.14190 + # It fails to find uninstalled libraries when the uninstalled
15.14191 + # path is not listed in the libpath. Setting hardcode_minus_L
15.14192 + # to unsupported forces relinking
15.14193 + hardcode_minus_L_F77=yes
15.14194 + hardcode_libdir_flag_spec_F77='-L$libdir'
15.14195 + hardcode_libdir_separator_F77=
15.14196 + fi
15.14197 + esac
15.14198 + shared_flag='-shared'
15.14199 + if test "$aix_use_runtimelinking" = yes; then
15.14200 + shared_flag="$shared_flag "'${wl}-G'
15.14201 + fi
15.14202 + else
15.14203 + # not using gcc
15.14204 + if test "$host_cpu" = ia64; then
15.14205 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15.14206 + # chokes on -Wl,-G. The following line is correct:
15.14207 + shared_flag='-G'
15.14208 + else
15.14209 + if test "$aix_use_runtimelinking" = yes; then
15.14210 + shared_flag='${wl}-G'
15.14211 + else
15.14212 + shared_flag='${wl}-bM:SRE'
15.14213 + fi
15.14214 + fi
15.14215 + fi
15.14216 +
15.14217 + # It seems that -bexpall does not export symbols beginning with
15.14218 + # underscore (_), so it is better to generate a list of symbols to export.
15.14219 + always_export_symbols_F77=yes
15.14220 + if test "$aix_use_runtimelinking" = yes; then
15.14221 + # Warning - without using the other runtime loading flags (-brtl),
15.14222 + # -berok will link without error, but may produce a broken library.
15.14223 + allow_undefined_flag_F77='-berok'
15.14224 + # Determine the default libpath from the value encoded in an empty executable.
15.14225 + cat >conftest.$ac_ext <<_ACEOF
15.14226 + program main
15.14227 +
15.14228 + end
15.14229 +_ACEOF
15.14230 +rm -f conftest.$ac_objext conftest$ac_exeext
15.14231 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.14232 + (eval $ac_link) 2>conftest.er1
15.14233 + ac_status=$?
15.14234 + grep -v '^ *+' conftest.er1 >conftest.err
15.14235 + rm -f conftest.er1
15.14236 + cat conftest.err >&5
15.14237 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.14238 + (exit $ac_status); } &&
15.14239 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
15.14240 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.14241 + (eval $ac_try) 2>&5
15.14242 + ac_status=$?
15.14243 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.14244 + (exit $ac_status); }; } &&
15.14245 + { ac_try='test -s conftest$ac_exeext'
15.14246 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.14247 + (eval $ac_try) 2>&5
15.14248 + ac_status=$?
15.14249 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.14250 + (exit $ac_status); }; }; then
15.14251 +
15.14252 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15.14253 +}'`
15.14254 +# Check for a 64-bit object if we didn't find anything.
15.14255 +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; }
15.14256 +}'`; fi
15.14257 +else
15.14258 + echo "$as_me: failed program was:" >&5
15.14259 +sed 's/^/| /' conftest.$ac_ext >&5
15.14260 +
15.14261 +fi
15.14262 +rm -f conftest.err conftest.$ac_objext \
15.14263 + conftest$ac_exeext conftest.$ac_ext
15.14264 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15.14265 +
15.14266 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15.14267 + 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"
15.14268 + else
15.14269 + if test "$host_cpu" = ia64; then
15.14270 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15.14271 + allow_undefined_flag_F77="-z nodefs"
15.14272 + 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"
15.14273 + else
15.14274 + # Determine the default libpath from the value encoded in an empty executable.
15.14275 + cat >conftest.$ac_ext <<_ACEOF
15.14276 + program main
15.14277 +
15.14278 + end
15.14279 +_ACEOF
15.14280 +rm -f conftest.$ac_objext conftest$ac_exeext
15.14281 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.14282 + (eval $ac_link) 2>conftest.er1
15.14283 + ac_status=$?
15.14284 + grep -v '^ *+' conftest.er1 >conftest.err
15.14285 + rm -f conftest.er1
15.14286 + cat conftest.err >&5
15.14287 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.14288 + (exit $ac_status); } &&
15.14289 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
15.14290 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.14291 + (eval $ac_try) 2>&5
15.14292 + ac_status=$?
15.14293 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.14294 + (exit $ac_status); }; } &&
15.14295 + { ac_try='test -s conftest$ac_exeext'
15.14296 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.14297 + (eval $ac_try) 2>&5
15.14298 + ac_status=$?
15.14299 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.14300 + (exit $ac_status); }; }; then
15.14301 +
15.14302 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15.14303 +}'`
15.14304 +# Check for a 64-bit object if we didn't find anything.
15.14305 +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; }
15.14306 +}'`; fi
15.14307 +else
15.14308 + echo "$as_me: failed program was:" >&5
15.14309 +sed 's/^/| /' conftest.$ac_ext >&5
15.14310 +
15.14311 +fi
15.14312 +rm -f conftest.err conftest.$ac_objext \
15.14313 + conftest$ac_exeext conftest.$ac_ext
15.14314 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15.14315 +
15.14316 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15.14317 + # Warning - without using the other run time loading flags,
15.14318 + # -berok will link without error, but may produce a broken library.
15.14319 + no_undefined_flag_F77=' ${wl}-bernotok'
15.14320 + allow_undefined_flag_F77=' ${wl}-berok'
15.14321 + # -bexpall does not export symbols beginning with underscore (_)
15.14322 + always_export_symbols_F77=yes
15.14323 + # Exported symbols can be pulled into shared objects from archives
15.14324 + whole_archive_flag_spec_F77=' '
15.14325 + archive_cmds_need_lc_F77=yes
15.14326 + # This is similar to how AIX traditionally builds its shared libraries.
15.14327 + 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'
15.14328 + fi
15.14329 + fi
15.14330 + ;;
15.14331 +
15.14332 + amigaos*)
15.14333 + 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)'
15.14334 + hardcode_libdir_flag_spec_F77='-L$libdir'
15.14335 + hardcode_minus_L_F77=yes
15.14336 + # see comment about different semantics on the GNU ld section
15.14337 + ld_shlibs_F77=no
15.14338 + ;;
15.14339 +
15.14340 + bsdi[45]*)
15.14341 + export_dynamic_flag_spec_F77=-rdynamic
15.14342 + ;;
15.14343 +
15.14344 + cygwin* | mingw* | pw32*)
15.14345 + # When not using gcc, we currently assume that we are using
15.14346 + # Microsoft Visual C++.
15.14347 + # hardcode_libdir_flag_spec is actually meaningless, as there is
15.14348 + # no search path for DLLs.
15.14349 + hardcode_libdir_flag_spec_F77=' '
15.14350 + allow_undefined_flag_F77=unsupported
15.14351 + # Tell ltmain to make .lib files, not .a files.
15.14352 + libext=lib
15.14353 + # Tell ltmain to make .dll files, not .so files.
15.14354 + shrext_cmds=".dll"
15.14355 + # FIXME: Setting linknames here is a bad hack.
15.14356 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15.14357 + # The linker will automatically build a .lib file if we build a DLL.
15.14358 + old_archive_From_new_cmds_F77='true'
15.14359 + # FIXME: Should let the user specify the lib program.
15.14360 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
15.14361 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15.14362 + enable_shared_with_static_runtimes_F77=yes
15.14363 + ;;
15.14364 +
15.14365 + darwin* | rhapsody*)
15.14366 + case $host_os in
15.14367 + rhapsody* | darwin1.[012])
15.14368 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15.14369 + ;;
15.14370 + *) # Darwin 1.3 on
15.14371 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15.14372 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15.14373 + else
15.14374 + case ${MACOSX_DEPLOYMENT_TARGET} in
15.14375 + 10.[012])
15.14376 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15.14377 + ;;
15.14378 + 10.*)
15.14379 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15.14380 + ;;
15.14381 + esac
15.14382 + fi
15.14383 + ;;
15.14384 + esac
15.14385 + archive_cmds_need_lc_F77=no
15.14386 + hardcode_direct_F77=no
15.14387 + hardcode_automatic_F77=yes
15.14388 + hardcode_shlibpath_var_F77=unsupported
15.14389 + whole_archive_flag_spec_F77=''
15.14390 + link_all_deplibs_F77=yes
15.14391 + if test "$GCC" = yes ; then
15.14392 + output_verbose_link_cmd='echo'
15.14393 + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15.14394 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15.14395 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15.14396 + archive_expsym_cmds_F77='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}'
15.14397 + 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}'
15.14398 + else
15.14399 + case $cc_basename in
15.14400 + xlc*)
15.14401 + output_verbose_link_cmd='echo'
15.14402 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15.14403 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15.14404 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15.14405 + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15.14406 + 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}'
15.14407 + ;;
15.14408 + *)
15.14409 + ld_shlibs_F77=no
15.14410 + ;;
15.14411 + esac
15.14412 + fi
15.14413 + ;;
15.14414 +
15.14415 + dgux*)
15.14416 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.14417 + hardcode_libdir_flag_spec_F77='-L$libdir'
15.14418 + hardcode_shlibpath_var_F77=no
15.14419 + ;;
15.14420 +
15.14421 + freebsd1*)
15.14422 + ld_shlibs_F77=no
15.14423 + ;;
15.14424 +
15.14425 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15.14426 + # support. Future versions do this automatically, but an explicit c++rt0.o
15.14427 + # does not break anything, and helps significantly (at the cost of a little
15.14428 + # extra space).
15.14429 + freebsd2.2*)
15.14430 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15.14431 + hardcode_libdir_flag_spec_F77='-R$libdir'
15.14432 + hardcode_direct_F77=yes
15.14433 + hardcode_shlibpath_var_F77=no
15.14434 + ;;
15.14435 +
15.14436 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15.14437 + freebsd2*)
15.14438 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15.14439 + hardcode_direct_F77=yes
15.14440 + hardcode_minus_L_F77=yes
15.14441 + hardcode_shlibpath_var_F77=no
15.14442 + ;;
15.14443 +
15.14444 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15.14445 + freebsd* | kfreebsd*-gnu | dragonfly*)
15.14446 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15.14447 + hardcode_libdir_flag_spec_F77='-R$libdir'
15.14448 + hardcode_direct_F77=yes
15.14449 + hardcode_shlibpath_var_F77=no
15.14450 + ;;
15.14451 +
15.14452 + hpux9*)
15.14453 + if test "$GCC" = yes; then
15.14454 + 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'
15.14455 + else
15.14456 + 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'
15.14457 + fi
15.14458 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15.14459 + hardcode_libdir_separator_F77=:
15.14460 + hardcode_direct_F77=yes
15.14461 +
15.14462 + # hardcode_minus_L: Not really in the search PATH,
15.14463 + # but as the default location of the library.
15.14464 + hardcode_minus_L_F77=yes
15.14465 + export_dynamic_flag_spec_F77='${wl}-E'
15.14466 + ;;
15.14467 +
15.14468 + hpux10* | hpux11*)
15.14469 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15.14470 + case $host_cpu in
15.14471 + hppa*64*|ia64*)
15.14472 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.14473 + ;;
15.14474 + *)
15.14475 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15.14476 + ;;
15.14477 + esac
15.14478 + else
15.14479 + case $host_cpu in
15.14480 + hppa*64*|ia64*)
15.14481 + archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15.14482 + ;;
15.14483 + *)
15.14484 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15.14485 + ;;
15.14486 + esac
15.14487 + fi
15.14488 + if test "$with_gnu_ld" = no; then
15.14489 + case $host_cpu in
15.14490 + hppa*64*)
15.14491 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15.14492 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15.14493 + hardcode_libdir_separator_F77=:
15.14494 + hardcode_direct_F77=no
15.14495 + hardcode_shlibpath_var_F77=no
15.14496 + ;;
15.14497 + ia64*)
15.14498 + hardcode_libdir_flag_spec_F77='-L$libdir'
15.14499 + hardcode_direct_F77=no
15.14500 + hardcode_shlibpath_var_F77=no
15.14501 +
15.14502 + # hardcode_minus_L: Not really in the search PATH,
15.14503 + # but as the default location of the library.
15.14504 + hardcode_minus_L_F77=yes
15.14505 + ;;
15.14506 + *)
15.14507 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15.14508 + hardcode_libdir_separator_F77=:
15.14509 + hardcode_direct_F77=yes
15.14510 + export_dynamic_flag_spec_F77='${wl}-E'
15.14511 +
15.14512 + # hardcode_minus_L: Not really in the search PATH,
15.14513 + # but as the default location of the library.
15.14514 + hardcode_minus_L_F77=yes
15.14515 + ;;
15.14516 + esac
15.14517 + fi
15.14518 + ;;
15.14519 +
15.14520 + irix5* | irix6* | nonstopux*)
15.14521 + if test "$GCC" = yes; then
15.14522 + 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'
15.14523 + else
15.14524 + 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'
15.14525 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15.14526 + fi
15.14527 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15.14528 + hardcode_libdir_separator_F77=:
15.14529 + link_all_deplibs_F77=yes
15.14530 + ;;
15.14531 +
15.14532 + netbsd*)
15.14533 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15.14534 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15.14535 + else
15.14536 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15.14537 + fi
15.14538 + hardcode_libdir_flag_spec_F77='-R$libdir'
15.14539 + hardcode_direct_F77=yes
15.14540 + hardcode_shlibpath_var_F77=no
15.14541 + ;;
15.14542 +
15.14543 + newsos6)
15.14544 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.14545 + hardcode_direct_F77=yes
15.14546 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15.14547 + hardcode_libdir_separator_F77=:
15.14548 + hardcode_shlibpath_var_F77=no
15.14549 + ;;
15.14550 +
15.14551 + openbsd*)
15.14552 + hardcode_direct_F77=yes
15.14553 + hardcode_shlibpath_var_F77=no
15.14554 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15.14555 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15.14556 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15.14557 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15.14558 + export_dynamic_flag_spec_F77='${wl}-E'
15.14559 + else
15.14560 + case $host_os in
15.14561 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15.14562 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15.14563 + hardcode_libdir_flag_spec_F77='-R$libdir'
15.14564 + ;;
15.14565 + *)
15.14566 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15.14567 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15.14568 + ;;
15.14569 + esac
15.14570 + fi
15.14571 + ;;
15.14572 +
15.14573 + os2*)
15.14574 + hardcode_libdir_flag_spec_F77='-L$libdir'
15.14575 + hardcode_minus_L_F77=yes
15.14576 + allow_undefined_flag_F77=unsupported
15.14577 + 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'
15.14578 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15.14579 + ;;
15.14580 +
15.14581 + osf3*)
15.14582 + if test "$GCC" = yes; then
15.14583 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15.14584 + 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'
15.14585 + else
15.14586 + allow_undefined_flag_F77=' -expect_unresolved \*'
15.14587 + 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'
15.14588 + fi
15.14589 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15.14590 + hardcode_libdir_separator_F77=:
15.14591 + ;;
15.14592 +
15.14593 + osf4* | osf5*) # as osf3* with the addition of -msym flag
15.14594 + if test "$GCC" = yes; then
15.14595 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15.14596 + 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'
15.14597 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15.14598 + else
15.14599 + allow_undefined_flag_F77=' -expect_unresolved \*'
15.14600 + 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'
15.14601 + 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~
15.14602 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15.14603 +
15.14604 + # Both c and cxx compiler support -rpath directly
15.14605 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
15.14606 + fi
15.14607 + hardcode_libdir_separator_F77=:
15.14608 + ;;
15.14609 +
15.14610 + sco3.2v5*)
15.14611 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.14612 + hardcode_shlibpath_var_F77=no
15.14613 + export_dynamic_flag_spec_F77='${wl}-Bexport'
15.14614 + runpath_var=LD_RUN_PATH
15.14615 + hardcode_runpath_var=yes
15.14616 + ;;
15.14617 +
15.14618 + solaris*)
15.14619 + no_undefined_flag_F77=' -z text'
15.14620 + if test "$GCC" = yes; then
15.14621 + wlarc='${wl}'
15.14622 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.14623 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.14624 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15.14625 + else
15.14626 + wlarc=''
15.14627 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.14628 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.14629 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15.14630 + fi
15.14631 + hardcode_libdir_flag_spec_F77='-R$libdir'
15.14632 + hardcode_shlibpath_var_F77=no
15.14633 + case $host_os in
15.14634 + solaris2.[0-5] | solaris2.[0-5].*) ;;
15.14635 + *)
15.14636 + # The compiler driver will combine linker options so we
15.14637 + # cannot just pass the convience library names through
15.14638 + # without $wl, iff we do not link with $LD.
15.14639 + # Luckily, gcc supports the same syntax we need for Sun Studio.
15.14640 + # Supported since Solaris 2.6 (maybe 2.5.1?)
15.14641 + case $wlarc in
15.14642 + '')
15.14643 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15.14644 + *)
15.14645 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15.14646 + esac ;;
15.14647 + esac
15.14648 + link_all_deplibs_F77=yes
15.14649 + ;;
15.14650 +
15.14651 + sunos4*)
15.14652 + if test "x$host_vendor" = xsequent; then
15.14653 + # Use $CC to link under sequent, because it throws in some extra .o
15.14654 + # files that make .init and .fini sections work.
15.14655 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15.14656 + else
15.14657 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15.14658 + fi
15.14659 + hardcode_libdir_flag_spec_F77='-L$libdir'
15.14660 + hardcode_direct_F77=yes
15.14661 + hardcode_minus_L_F77=yes
15.14662 + hardcode_shlibpath_var_F77=no
15.14663 + ;;
15.14664 +
15.14665 + sysv4)
15.14666 + case $host_vendor in
15.14667 + sni)
15.14668 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.14669 + hardcode_direct_F77=yes # is this really true???
15.14670 + ;;
15.14671 + siemens)
15.14672 + ## LD is ld it makes a PLAMLIB
15.14673 + ## CC just makes a GrossModule.
15.14674 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15.14675 + reload_cmds_F77='$CC -r -o $output$reload_objs'
15.14676 + hardcode_direct_F77=no
15.14677 + ;;
15.14678 + motorola)
15.14679 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.14680 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15.14681 + ;;
15.14682 + esac
15.14683 + runpath_var='LD_RUN_PATH'
15.14684 + hardcode_shlibpath_var_F77=no
15.14685 + ;;
15.14686 +
15.14687 + sysv4.3*)
15.14688 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.14689 + hardcode_shlibpath_var_F77=no
15.14690 + export_dynamic_flag_spec_F77='-Bexport'
15.14691 + ;;
15.14692 +
15.14693 + sysv4*MP*)
15.14694 + if test -d /usr/nec; then
15.14695 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.14696 + hardcode_shlibpath_var_F77=no
15.14697 + runpath_var=LD_RUN_PATH
15.14698 + hardcode_runpath_var=yes
15.14699 + ld_shlibs_F77=yes
15.14700 + fi
15.14701 + ;;
15.14702 +
15.14703 + sysv4.2uw2*)
15.14704 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15.14705 + hardcode_direct_F77=yes
15.14706 + hardcode_minus_L_F77=no
15.14707 + hardcode_shlibpath_var_F77=no
15.14708 + hardcode_runpath_var=yes
15.14709 + runpath_var=LD_RUN_PATH
15.14710 + ;;
15.14711 +
15.14712 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
15.14713 + no_undefined_flag_F77='${wl}-z ${wl}text'
15.14714 + if test "$GCC" = yes; then
15.14715 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.14716 + else
15.14717 + archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.14718 + fi
15.14719 + runpath_var='LD_RUN_PATH'
15.14720 + hardcode_shlibpath_var_F77=no
15.14721 + ;;
15.14722 +
15.14723 + sysv5*)
15.14724 + no_undefined_flag_F77=' -z text'
15.14725 + # $CC -shared without GNU ld will not create a library from C++
15.14726 + # object files and a static libstdc++, better avoid it by now
15.14727 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.14728 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.14729 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15.14730 + hardcode_libdir_flag_spec_F77=
15.14731 + hardcode_shlibpath_var_F77=no
15.14732 + runpath_var='LD_RUN_PATH'
15.14733 + ;;
15.14734 +
15.14735 + uts4*)
15.14736 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.14737 + hardcode_libdir_flag_spec_F77='-L$libdir'
15.14738 + hardcode_shlibpath_var_F77=no
15.14739 + ;;
15.14740 +
15.14741 + *)
15.14742 + ld_shlibs_F77=no
15.14743 + ;;
15.14744 + esac
15.14745 + fi
15.14746 +
15.14747 +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15.14748 +echo "${ECHO_T}$ld_shlibs_F77" >&6
15.14749 +test "$ld_shlibs_F77" = no && can_build_shared=no
15.14750 +
15.14751 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15.14752 +if test "$GCC" = yes; then
15.14753 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15.14754 +fi
15.14755 +
15.14756 +#
15.14757 +# Do we need to explicitly link libc?
15.14758 +#
15.14759 +case "x$archive_cmds_need_lc_F77" in
15.14760 +x|xyes)
15.14761 + # Assume -lc should be added
15.14762 + archive_cmds_need_lc_F77=yes
15.14763 +
15.14764 + if test "$enable_shared" = yes && test "$GCC" = yes; then
15.14765 + case $archive_cmds_F77 in
15.14766 + *'~'*)
15.14767 + # FIXME: we may have to deal with multi-command sequences.
15.14768 + ;;
15.14769 + '$CC '*)
15.14770 + # Test whether the compiler implicitly links with -lc since on some
15.14771 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
15.14772 + # to ld, don't add -lc before -lgcc.
15.14773 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15.14774 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15.14775 + $rm conftest*
15.14776 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.14777 +
15.14778 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.14779 + (eval $ac_compile) 2>&5
15.14780 + ac_status=$?
15.14781 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.14782 + (exit $ac_status); } 2>conftest.err; then
15.14783 + soname=conftest
15.14784 + lib=conftest
15.14785 + libobjs=conftest.$ac_objext
15.14786 + deplibs=
15.14787 + wl=$lt_prog_compiler_wl_F77
15.14788 + compiler_flags=-v
15.14789 + linker_flags=-v
15.14790 + verstring=
15.14791 + output_objdir=.
15.14792 + libname=conftest
15.14793 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15.14794 + allow_undefined_flag_F77=
15.14795 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15.14796 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15.14797 + ac_status=$?
15.14798 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.14799 + (exit $ac_status); }
15.14800 + then
15.14801 + archive_cmds_need_lc_F77=no
15.14802 + else
15.14803 + archive_cmds_need_lc_F77=yes
15.14804 + fi
15.14805 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15.14806 + else
15.14807 + cat conftest.err 1>&5
15.14808 + fi
15.14809 + $rm conftest*
15.14810 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15.14811 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
15.14812 + ;;
15.14813 + esac
15.14814 + fi
15.14815 + ;;
15.14816 +esac
15.14817 +
15.14818 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15.14819 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15.14820 +library_names_spec=
15.14821 +libname_spec='lib$name'
15.14822 +soname_spec=
15.14823 +shrext_cmds=".so"
15.14824 +postinstall_cmds=
15.14825 +postuninstall_cmds=
15.14826 +finish_cmds=
15.14827 +finish_eval=
15.14828 +shlibpath_var=
15.14829 +shlibpath_overrides_runpath=unknown
15.14830 +version_type=none
15.14831 +dynamic_linker="$host_os ld.so"
15.14832 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
15.14833 +if test "$GCC" = yes; then
15.14834 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15.14835 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15.14836 + # if the path contains ";" then we assume it to be the separator
15.14837 + # otherwise default to the standard path separator (i.e. ":") - it is
15.14838 + # assumed that no part of a normal pathname contains ";" but that should
15.14839 + # okay in the real world where ";" in dirpaths is itself problematic.
15.14840 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15.14841 + else
15.14842 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15.14843 + fi
15.14844 +else
15.14845 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15.14846 +fi
15.14847 +need_lib_prefix=unknown
15.14848 +hardcode_into_libs=no
15.14849 +
15.14850 +# when you set need_version to no, make sure it does not cause -set_version
15.14851 +# flags to be left without arguments
15.14852 +need_version=unknown
15.14853 +
15.14854 +case $host_os in
15.14855 +aix3*)
15.14856 + version_type=linux
15.14857 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15.14858 + shlibpath_var=LIBPATH
15.14859 +
15.14860 + # AIX 3 has no versioning support, so we append a major version to the name.
15.14861 + soname_spec='${libname}${release}${shared_ext}$major'
15.14862 + ;;
15.14863 +
15.14864 +aix4* | aix5*)
15.14865 + version_type=linux
15.14866 + need_lib_prefix=no
15.14867 + need_version=no
15.14868 + hardcode_into_libs=yes
15.14869 + if test "$host_cpu" = ia64; then
15.14870 + # AIX 5 supports IA64
15.14871 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15.14872 + shlibpath_var=LD_LIBRARY_PATH
15.14873 + else
15.14874 + # With GCC up to 2.95.x, collect2 would create an import file
15.14875 + # for dependence libraries. The import file would start with
15.14876 + # the line `#! .'. This would cause the generated library to
15.14877 + # depend on `.', always an invalid library. This was fixed in
15.14878 + # development snapshots of GCC prior to 3.0.
15.14879 + case $host_os in
15.14880 + aix4 | aix4.[01] | aix4.[01].*)
15.14881 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15.14882 + echo ' yes '
15.14883 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15.14884 + :
15.14885 + else
15.14886 + can_build_shared=no
15.14887 + fi
15.14888 + ;;
15.14889 + esac
15.14890 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15.14891 + # soname into executable. Probably we can add versioning support to
15.14892 + # collect2, so additional links can be useful in future.
15.14893 + if test "$aix_use_runtimelinking" = yes; then
15.14894 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15.14895 + # instead of lib<name>.a to let people know that these are not
15.14896 + # typical AIX shared libraries.
15.14897 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.14898 + else
15.14899 + # We preserve .a as extension for shared libraries through AIX4.2
15.14900 + # and later when we are not doing run time linking.
15.14901 + library_names_spec='${libname}${release}.a $libname.a'
15.14902 + soname_spec='${libname}${release}${shared_ext}$major'
15.14903 + fi
15.14904 + shlibpath_var=LIBPATH
15.14905 + fi
15.14906 + ;;
15.14907 +
15.14908 +amigaos*)
15.14909 + library_names_spec='$libname.ixlibrary $libname.a'
15.14910 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
15.14911 + 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'
15.14912 + ;;
15.14913 +
15.14914 +beos*)
15.14915 + library_names_spec='${libname}${shared_ext}'
15.14916 + dynamic_linker="$host_os ld.so"
15.14917 + shlibpath_var=LIBRARY_PATH
15.14918 + ;;
15.14919 +
15.14920 +bsdi[45]*)
15.14921 + version_type=linux
15.14922 + need_version=no
15.14923 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.14924 + soname_spec='${libname}${release}${shared_ext}$major'
15.14925 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15.14926 + shlibpath_var=LD_LIBRARY_PATH
15.14927 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15.14928 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15.14929 + # the default ld.so.conf also contains /usr/contrib/lib and
15.14930 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15.14931 + # libtool to hard-code these into programs
15.14932 + ;;
15.14933 +
15.14934 +cygwin* | mingw* | pw32*)
15.14935 + version_type=windows
15.14936 + shrext_cmds=".dll"
15.14937 + need_version=no
15.14938 + need_lib_prefix=no
15.14939 +
15.14940 + case $GCC,$host_os in
15.14941 + yes,cygwin* | yes,mingw* | yes,pw32*)
15.14942 + library_names_spec='$libname.dll.a'
15.14943 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
15.14944 + postinstall_cmds='base_file=`basename \${file}`~
15.14945 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15.14946 + dldir=$destdir/`dirname \$dlpath`~
15.14947 + test -d \$dldir || mkdir -p \$dldir~
15.14948 + $install_prog $dir/$dlname \$dldir/$dlname~
15.14949 + chmod a+x \$dldir/$dlname'
15.14950 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15.14951 + dlpath=$dir/\$dldll~
15.14952 + $rm \$dlpath'
15.14953 + shlibpath_overrides_runpath=yes
15.14954 +
15.14955 + case $host_os in
15.14956 + cygwin*)
15.14957 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15.14958 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.14959 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15.14960 + ;;
15.14961 + mingw*)
15.14962 + # MinGW DLLs use traditional 'lib' prefix
15.14963 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.14964 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15.14965 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15.14966 + # It is most probably a Windows format PATH printed by
15.14967 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
15.14968 + # path with ; separators, and with drive letters. We can handle the
15.14969 + # drive letters (cygwin fileutils understands them), so leave them,
15.14970 + # especially as we might pass files found there to a mingw objdump,
15.14971 + # which wouldn't understand a cygwinified path. Ahh.
15.14972 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15.14973 + else
15.14974 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15.14975 + fi
15.14976 + ;;
15.14977 + pw32*)
15.14978 + # pw32 DLLs use 'pw' prefix rather than 'lib'
15.14979 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.14980 + ;;
15.14981 + esac
15.14982 + ;;
15.14983 +
15.14984 + *)
15.14985 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15.14986 + ;;
15.14987 + esac
15.14988 + dynamic_linker='Win32 ld.exe'
15.14989 + # FIXME: first we should search . and the directory the executable is in
15.14990 + shlibpath_var=PATH
15.14991 + ;;
15.14992 +
15.14993 +darwin* | rhapsody*)
15.14994 + dynamic_linker="$host_os dyld"
15.14995 + version_type=darwin
15.14996 + need_lib_prefix=no
15.14997 + need_version=no
15.14998 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15.14999 + soname_spec='${libname}${release}${major}$shared_ext'
15.15000 + shlibpath_overrides_runpath=yes
15.15001 + shlibpath_var=DYLD_LIBRARY_PATH
15.15002 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15.15003 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15.15004 + if test "$GCC" = yes; then
15.15005 + 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"`
15.15006 + else
15.15007 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15.15008 + fi
15.15009 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15.15010 + ;;
15.15011 +
15.15012 +dgux*)
15.15013 + version_type=linux
15.15014 + need_lib_prefix=no
15.15015 + need_version=no
15.15016 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15.15017 + soname_spec='${libname}${release}${shared_ext}$major'
15.15018 + shlibpath_var=LD_LIBRARY_PATH
15.15019 + ;;
15.15020 +
15.15021 +freebsd1*)
15.15022 + dynamic_linker=no
15.15023 + ;;
15.15024 +
15.15025 +kfreebsd*-gnu)
15.15026 + version_type=linux
15.15027 + need_lib_prefix=no
15.15028 + need_version=no
15.15029 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.15030 + soname_spec='${libname}${release}${shared_ext}$major'
15.15031 + shlibpath_var=LD_LIBRARY_PATH
15.15032 + shlibpath_overrides_runpath=no
15.15033 + hardcode_into_libs=yes
15.15034 + dynamic_linker='GNU ld.so'
15.15035 + ;;
15.15036 +
15.15037 +freebsd* | dragonfly*)
15.15038 + # DragonFly does not have aout. When/if they implement a new
15.15039 + # versioning mechanism, adjust this.
15.15040 + if test -x /usr/bin/objformat; then
15.15041 + objformat=`/usr/bin/objformat`
15.15042 + else
15.15043 + case $host_os in
15.15044 + freebsd[123]*) objformat=aout ;;
15.15045 + *) objformat=elf ;;
15.15046 + esac
15.15047 + fi
15.15048 + version_type=freebsd-$objformat
15.15049 + case $version_type in
15.15050 + freebsd-elf*)
15.15051 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15.15052 + need_version=no
15.15053 + need_lib_prefix=no
15.15054 + ;;
15.15055 + freebsd-*)
15.15056 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15.15057 + need_version=yes
15.15058 + ;;
15.15059 + esac
15.15060 + shlibpath_var=LD_LIBRARY_PATH
15.15061 + case $host_os in
15.15062 + freebsd2*)
15.15063 + shlibpath_overrides_runpath=yes
15.15064 + ;;
15.15065 + freebsd3.[01]* | freebsdelf3.[01]*)
15.15066 + shlibpath_overrides_runpath=yes
15.15067 + hardcode_into_libs=yes
15.15068 + ;;
15.15069 + *) # from 3.2 on
15.15070 + shlibpath_overrides_runpath=no
15.15071 + hardcode_into_libs=yes
15.15072 + ;;
15.15073 + esac
15.15074 + ;;
15.15075 +
15.15076 +gnu*)
15.15077 + version_type=linux
15.15078 + need_lib_prefix=no
15.15079 + need_version=no
15.15080 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15.15081 + soname_spec='${libname}${release}${shared_ext}$major'
15.15082 + shlibpath_var=LD_LIBRARY_PATH
15.15083 + hardcode_into_libs=yes
15.15084 + ;;
15.15085 +
15.15086 +hpux9* | hpux10* | hpux11*)
15.15087 + # Give a soname corresponding to the major version so that dld.sl refuses to
15.15088 + # link against other versions.
15.15089 + version_type=sunos
15.15090 + need_lib_prefix=no
15.15091 + need_version=no
15.15092 + case $host_cpu in
15.15093 + ia64*)
15.15094 + shrext_cmds='.so'
15.15095 + hardcode_into_libs=yes
15.15096 + dynamic_linker="$host_os dld.so"
15.15097 + shlibpath_var=LD_LIBRARY_PATH
15.15098 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15.15099 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.15100 + soname_spec='${libname}${release}${shared_ext}$major'
15.15101 + if test "X$HPUX_IA64_MODE" = X32; then
15.15102 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15.15103 + else
15.15104 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15.15105 + fi
15.15106 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15.15107 + ;;
15.15108 + hppa*64*)
15.15109 + shrext_cmds='.sl'
15.15110 + hardcode_into_libs=yes
15.15111 + dynamic_linker="$host_os dld.sl"
15.15112 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15.15113 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15.15114 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.15115 + soname_spec='${libname}${release}${shared_ext}$major'
15.15116 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15.15117 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15.15118 + ;;
15.15119 + *)
15.15120 + shrext_cmds='.sl'
15.15121 + dynamic_linker="$host_os dld.sl"
15.15122 + shlibpath_var=SHLIB_PATH
15.15123 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15.15124 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.15125 + soname_spec='${libname}${release}${shared_ext}$major'
15.15126 + ;;
15.15127 + esac
15.15128 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
15.15129 + postinstall_cmds='chmod 555 $lib'
15.15130 + ;;
15.15131 +
15.15132 +irix5* | irix6* | nonstopux*)
15.15133 + case $host_os in
15.15134 + nonstopux*) version_type=nonstopux ;;
15.15135 + *)
15.15136 + if test "$lt_cv_prog_gnu_ld" = yes; then
15.15137 + version_type=linux
15.15138 + else
15.15139 + version_type=irix
15.15140 + fi ;;
15.15141 + esac
15.15142 + need_lib_prefix=no
15.15143 + need_version=no
15.15144 + soname_spec='${libname}${release}${shared_ext}$major'
15.15145 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15.15146 + case $host_os in
15.15147 + irix5* | nonstopux*)
15.15148 + libsuff= shlibsuff=
15.15149 + ;;
15.15150 + *)
15.15151 + case $LD in # libtool.m4 will add one of these switches to LD
15.15152 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15.15153 + libsuff= shlibsuff= libmagic=32-bit;;
15.15154 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15.15155 + libsuff=32 shlibsuff=N32 libmagic=N32;;
15.15156 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15.15157 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
15.15158 + *) libsuff= shlibsuff= libmagic=never-match;;
15.15159 + esac
15.15160 + ;;
15.15161 + esac
15.15162 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15.15163 + shlibpath_overrides_runpath=no
15.15164 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15.15165 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15.15166 + hardcode_into_libs=yes
15.15167 + ;;
15.15168 +
15.15169 +# No shared lib support for Linux oldld, aout, or coff.
15.15170 +linux*oldld* | linux*aout* | linux*coff*)
15.15171 + dynamic_linker=no
15.15172 + ;;
15.15173 +
15.15174 +# This must be Linux ELF.
15.15175 +linux*)
15.15176 + version_type=linux
15.15177 + need_lib_prefix=no
15.15178 + need_version=no
15.15179 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.15180 + soname_spec='${libname}${release}${shared_ext}$major'
15.15181 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15.15182 + shlibpath_var=LD_LIBRARY_PATH
15.15183 + shlibpath_overrides_runpath=no
15.15184 + # This implies no fast_install, which is unacceptable.
15.15185 + # Some rework will be needed to allow for fast_install
15.15186 + # before this can be enabled.
15.15187 + hardcode_into_libs=yes
15.15188 +
15.15189 + # Append ld.so.conf contents to the search path
15.15190 + if test -f /etc/ld.so.conf; then
15.15191 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15.15192 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15.15193 + fi
15.15194 +
15.15195 + # We used to test for /lib/ld.so.1 and disable shared libraries on
15.15196 + # powerpc, because MkLinux only supported shared libraries with the
15.15197 + # GNU dynamic linker. Since this was broken with cross compilers,
15.15198 + # most powerpc-linux boxes support dynamic linking these days and
15.15199 + # people can always --disable-shared, the test was removed, and we
15.15200 + # assume the GNU/Linux dynamic linker is in use.
15.15201 + dynamic_linker='GNU/Linux ld.so'
15.15202 + ;;
15.15203 +
15.15204 +knetbsd*-gnu)
15.15205 + version_type=linux
15.15206 + need_lib_prefix=no
15.15207 + need_version=no
15.15208 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.15209 + soname_spec='${libname}${release}${shared_ext}$major'
15.15210 + shlibpath_var=LD_LIBRARY_PATH
15.15211 + shlibpath_overrides_runpath=no
15.15212 + hardcode_into_libs=yes
15.15213 + dynamic_linker='GNU ld.so'
15.15214 + ;;
15.15215 +
15.15216 +netbsd*)
15.15217 + version_type=sunos
15.15218 + need_lib_prefix=no
15.15219 + need_version=no
15.15220 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15.15221 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.15222 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15.15223 + dynamic_linker='NetBSD (a.out) ld.so'
15.15224 + else
15.15225 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.15226 + soname_spec='${libname}${release}${shared_ext}$major'
15.15227 + dynamic_linker='NetBSD ld.elf_so'
15.15228 + fi
15.15229 + shlibpath_var=LD_LIBRARY_PATH
15.15230 + shlibpath_overrides_runpath=yes
15.15231 + hardcode_into_libs=yes
15.15232 + ;;
15.15233 +
15.15234 +newsos6)
15.15235 + version_type=linux
15.15236 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.15237 + shlibpath_var=LD_LIBRARY_PATH
15.15238 + shlibpath_overrides_runpath=yes
15.15239 + ;;
15.15240 +
15.15241 +nto-qnx*)
15.15242 + version_type=linux
15.15243 + need_lib_prefix=no
15.15244 + need_version=no
15.15245 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.15246 + soname_spec='${libname}${release}${shared_ext}$major'
15.15247 + shlibpath_var=LD_LIBRARY_PATH
15.15248 + shlibpath_overrides_runpath=yes
15.15249 + ;;
15.15250 +
15.15251 +openbsd*)
15.15252 + version_type=sunos
15.15253 + need_lib_prefix=no
15.15254 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15.15255 + case $host_os in
15.15256 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15.15257 + *) need_version=no ;;
15.15258 + esac
15.15259 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.15260 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15.15261 + shlibpath_var=LD_LIBRARY_PATH
15.15262 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15.15263 + case $host_os in
15.15264 + openbsd2.[89] | openbsd2.[89].*)
15.15265 + shlibpath_overrides_runpath=no
15.15266 + ;;
15.15267 + *)
15.15268 + shlibpath_overrides_runpath=yes
15.15269 + ;;
15.15270 + esac
15.15271 + else
15.15272 + shlibpath_overrides_runpath=yes
15.15273 + fi
15.15274 + ;;
15.15275 +
15.15276 +os2*)
15.15277 + libname_spec='$name'
15.15278 + shrext_cmds=".dll"
15.15279 + need_lib_prefix=no
15.15280 + library_names_spec='$libname${shared_ext} $libname.a'
15.15281 + dynamic_linker='OS/2 ld.exe'
15.15282 + shlibpath_var=LIBPATH
15.15283 + ;;
15.15284 +
15.15285 +osf3* | osf4* | osf5*)
15.15286 + version_type=osf
15.15287 + need_lib_prefix=no
15.15288 + need_version=no
15.15289 + soname_spec='${libname}${release}${shared_ext}$major'
15.15290 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.15291 + shlibpath_var=LD_LIBRARY_PATH
15.15292 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15.15293 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15.15294 + ;;
15.15295 +
15.15296 +sco3.2v5*)
15.15297 + version_type=osf
15.15298 + soname_spec='${libname}${release}${shared_ext}$major'
15.15299 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.15300 + shlibpath_var=LD_LIBRARY_PATH
15.15301 + ;;
15.15302 +
15.15303 +solaris*)
15.15304 + version_type=linux
15.15305 + need_lib_prefix=no
15.15306 + need_version=no
15.15307 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.15308 + soname_spec='${libname}${release}${shared_ext}$major'
15.15309 + shlibpath_var=LD_LIBRARY_PATH
15.15310 + shlibpath_overrides_runpath=yes
15.15311 + hardcode_into_libs=yes
15.15312 + # ldd complains unless libraries are executable
15.15313 + postinstall_cmds='chmod +x $lib'
15.15314 + ;;
15.15315 +
15.15316 +sunos4*)
15.15317 + version_type=sunos
15.15318 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.15319 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15.15320 + shlibpath_var=LD_LIBRARY_PATH
15.15321 + shlibpath_overrides_runpath=yes
15.15322 + if test "$with_gnu_ld" = yes; then
15.15323 + need_lib_prefix=no
15.15324 + fi
15.15325 + need_version=yes
15.15326 + ;;
15.15327 +
15.15328 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15.15329 + version_type=linux
15.15330 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.15331 + soname_spec='${libname}${release}${shared_ext}$major'
15.15332 + shlibpath_var=LD_LIBRARY_PATH
15.15333 + case $host_vendor in
15.15334 + sni)
15.15335 + shlibpath_overrides_runpath=no
15.15336 + need_lib_prefix=no
15.15337 + export_dynamic_flag_spec='${wl}-Blargedynsym'
15.15338 + runpath_var=LD_RUN_PATH
15.15339 + ;;
15.15340 + siemens)
15.15341 + need_lib_prefix=no
15.15342 + ;;
15.15343 + motorola)
15.15344 + need_lib_prefix=no
15.15345 + need_version=no
15.15346 + shlibpath_overrides_runpath=no
15.15347 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15.15348 + ;;
15.15349 + esac
15.15350 + ;;
15.15351 +
15.15352 +sysv4*MP*)
15.15353 + if test -d /usr/nec ;then
15.15354 + version_type=linux
15.15355 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15.15356 + soname_spec='$libname${shared_ext}.$major'
15.15357 + shlibpath_var=LD_LIBRARY_PATH
15.15358 + fi
15.15359 + ;;
15.15360 +
15.15361 +uts4*)
15.15362 + version_type=linux
15.15363 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.15364 + soname_spec='${libname}${release}${shared_ext}$major'
15.15365 + shlibpath_var=LD_LIBRARY_PATH
15.15366 + ;;
15.15367 +
15.15368 +*)
15.15369 + dynamic_linker=no
15.15370 + ;;
15.15371 +esac
15.15372 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15.15373 +echo "${ECHO_T}$dynamic_linker" >&6
15.15374 +test "$dynamic_linker" = no && can_build_shared=no
15.15375 +
15.15376 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15.15377 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15.15378 +hardcode_action_F77=
15.15379 +if test -n "$hardcode_libdir_flag_spec_F77" || \
15.15380 + test -n "$runpath_var_F77" || \
15.15381 + test "X$hardcode_automatic_F77" = "Xyes" ; then
15.15382 +
15.15383 + # We can hardcode non-existant directories.
15.15384 + if test "$hardcode_direct_F77" != no &&
15.15385 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
15.15386 + # have to relink, otherwise we might link with an installed library
15.15387 + # when we should be linking with a yet-to-be-installed one
15.15388 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15.15389 + test "$hardcode_minus_L_F77" != no; then
15.15390 + # Linking always hardcodes the temporary library directory.
15.15391 + hardcode_action_F77=relink
15.15392 + else
15.15393 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
15.15394 + hardcode_action_F77=immediate
15.15395 + fi
15.15396 +else
15.15397 + # We cannot hardcode anything, or else we can only hardcode existing
15.15398 + # directories.
15.15399 + hardcode_action_F77=unsupported
15.15400 +fi
15.15401 +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15.15402 +echo "${ECHO_T}$hardcode_action_F77" >&6
15.15403 +
15.15404 +if test "$hardcode_action_F77" = relink; then
15.15405 + # Fast installation is not supported
15.15406 + enable_fast_install=no
15.15407 +elif test "$shlibpath_overrides_runpath" = yes ||
15.15408 + test "$enable_shared" = no; then
15.15409 + # Fast installation is not necessary
15.15410 + enable_fast_install=needless
15.15411 +fi
15.15412 +
15.15413 +striplib=
15.15414 +old_striplib=
15.15415 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15.15416 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15.15417 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15.15418 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15.15419 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15.15420 + echo "$as_me:$LINENO: result: yes" >&5
15.15421 +echo "${ECHO_T}yes" >&6
15.15422 +else
15.15423 +# FIXME - insert some real tests, host_os isn't really good enough
15.15424 + case $host_os in
15.15425 + darwin*)
15.15426 + if test -n "$STRIP" ; then
15.15427 + striplib="$STRIP -x"
15.15428 + echo "$as_me:$LINENO: result: yes" >&5
15.15429 +echo "${ECHO_T}yes" >&6
15.15430 + else
15.15431 + echo "$as_me:$LINENO: result: no" >&5
15.15432 +echo "${ECHO_T}no" >&6
15.15433 +fi
15.15434 + ;;
15.15435 + *)
15.15436 + echo "$as_me:$LINENO: result: no" >&5
15.15437 +echo "${ECHO_T}no" >&6
15.15438 + ;;
15.15439 + esac
15.15440 +fi
15.15441 +
15.15442 +
15.15443 +
15.15444 +# The else clause should only fire when bootstrapping the
15.15445 +# libtool distribution, otherwise you forgot to ship ltmain.sh
15.15446 +# with your package, and you will get complaints that there are
15.15447 +# no rules to generate ltmain.sh.
15.15448 +if test -f "$ltmain"; then
15.15449 + # See if we are running on zsh, and set the options which allow our commands through
15.15450 + # without removal of \ escapes.
15.15451 + if test -n "${ZSH_VERSION+set}" ; then
15.15452 + setopt NO_GLOB_SUBST
15.15453 + fi
15.15454 + # Now quote all the things that may contain metacharacters while being
15.15455 + # careful not to overquote the AC_SUBSTed values. We take copies of the
15.15456 + # variables and quote the copies for generation of the libtool script.
15.15457 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15.15458 + SED SHELL STRIP \
15.15459 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15.15460 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15.15461 + deplibs_check_method reload_flag reload_cmds need_locks \
15.15462 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15.15463 + lt_cv_sys_global_symbol_to_c_name_address \
15.15464 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15.15465 + old_postinstall_cmds old_postuninstall_cmds \
15.15466 + compiler_F77 \
15.15467 + CC_F77 \
15.15468 + LD_F77 \
15.15469 + lt_prog_compiler_wl_F77 \
15.15470 + lt_prog_compiler_pic_F77 \
15.15471 + lt_prog_compiler_static_F77 \
15.15472 + lt_prog_compiler_no_builtin_flag_F77 \
15.15473 + export_dynamic_flag_spec_F77 \
15.15474 + thread_safe_flag_spec_F77 \
15.15475 + whole_archive_flag_spec_F77 \
15.15476 + enable_shared_with_static_runtimes_F77 \
15.15477 + old_archive_cmds_F77 \
15.15478 + old_archive_from_new_cmds_F77 \
15.15479 + predep_objects_F77 \
15.15480 + postdep_objects_F77 \
15.15481 + predeps_F77 \
15.15482 + postdeps_F77 \
15.15483 + compiler_lib_search_path_F77 \
15.15484 + archive_cmds_F77 \
15.15485 + archive_expsym_cmds_F77 \
15.15486 + postinstall_cmds_F77 \
15.15487 + postuninstall_cmds_F77 \
15.15488 + old_archive_from_expsyms_cmds_F77 \
15.15489 + allow_undefined_flag_F77 \
15.15490 + no_undefined_flag_F77 \
15.15491 + export_symbols_cmds_F77 \
15.15492 + hardcode_libdir_flag_spec_F77 \
15.15493 + hardcode_libdir_flag_spec_ld_F77 \
15.15494 + hardcode_libdir_separator_F77 \
15.15495 + hardcode_automatic_F77 \
15.15496 + module_cmds_F77 \
15.15497 + module_expsym_cmds_F77 \
15.15498 + lt_cv_prog_compiler_c_o_F77 \
15.15499 + exclude_expsyms_F77 \
15.15500 + include_expsyms_F77; do
15.15501 +
15.15502 + case $var in
15.15503 + old_archive_cmds_F77 | \
15.15504 + old_archive_from_new_cmds_F77 | \
15.15505 + archive_cmds_F77 | \
15.15506 + archive_expsym_cmds_F77 | \
15.15507 + module_cmds_F77 | \
15.15508 + module_expsym_cmds_F77 | \
15.15509 + old_archive_from_expsyms_cmds_F77 | \
15.15510 + export_symbols_cmds_F77 | \
15.15511 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
15.15512 + postinstall_cmds | postuninstall_cmds | \
15.15513 + old_postinstall_cmds | old_postuninstall_cmds | \
15.15514 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15.15515 + # Double-quote double-evaled strings.
15.15516 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15.15517 + ;;
15.15518 + *)
15.15519 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15.15520 + ;;
15.15521 + esac
15.15522 + done
15.15523 +
15.15524 + case $lt_echo in
15.15525 + *'\$0 --fallback-echo"')
15.15526 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15.15527 + ;;
15.15528 + esac
15.15529 +
15.15530 +cfgfile="$ofile"
15.15531 +
15.15532 + cat <<__EOF__ >> "$cfgfile"
15.15533 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15.15534 +
15.15535 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15.15536 +
15.15537 +# Shell to use when invoking shell scripts.
15.15538 +SHELL=$lt_SHELL
15.15539 +
15.15540 +# Whether or not to build shared libraries.
15.15541 +build_libtool_libs=$enable_shared
15.15542 +
15.15543 +# Whether or not to build static libraries.
15.15544 +build_old_libs=$enable_static
15.15545 +
15.15546 +# Whether or not to add -lc for building shared libraries.
15.15547 +build_libtool_need_lc=$archive_cmds_need_lc_F77
15.15548 +
15.15549 +# Whether or not to disallow shared libs when runtime libs are static
15.15550 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15.15551 +
15.15552 +# Whether or not to optimize for fast installation.
15.15553 +fast_install=$enable_fast_install
15.15554 +
15.15555 +# The host system.
15.15556 +host_alias=$host_alias
15.15557 +host=$host
15.15558 +host_os=$host_os
15.15559 +
15.15560 +# The build system.
15.15561 +build_alias=$build_alias
15.15562 +build=$build
15.15563 +build_os=$build_os
15.15564 +
15.15565 +# An echo program that does not interpret backslashes.
15.15566 +echo=$lt_echo
15.15567 +
15.15568 +# The archiver.
15.15569 +AR=$lt_AR
15.15570 +AR_FLAGS=$lt_AR_FLAGS
15.15571 +
15.15572 +# A C compiler.
15.15573 +LTCC=$lt_LTCC
15.15574 +
15.15575 +# A language-specific compiler.
15.15576 +CC=$lt_compiler_F77
15.15577 +
15.15578 +# Is the compiler the GNU C compiler?
15.15579 +with_gcc=$GCC_F77
15.15580 +
15.15581 +# An ERE matcher.
15.15582 +EGREP=$lt_EGREP
15.15583 +
15.15584 +# The linker used to build libraries.
15.15585 +LD=$lt_LD_F77
15.15586 +
15.15587 +# Whether we need hard or soft links.
15.15588 +LN_S=$lt_LN_S
15.15589 +
15.15590 +# A BSD-compatible nm program.
15.15591 +NM=$lt_NM
15.15592 +
15.15593 +# A symbol stripping program
15.15594 +STRIP=$lt_STRIP
15.15595 +
15.15596 +# Used to examine libraries when file_magic_cmd begins "file"
15.15597 +MAGIC_CMD=$MAGIC_CMD
15.15598 +
15.15599 +# Used on cygwin: DLL creation program.
15.15600 +DLLTOOL="$DLLTOOL"
15.15601 +
15.15602 +# Used on cygwin: object dumper.
15.15603 +OBJDUMP="$OBJDUMP"
15.15604 +
15.15605 +# Used on cygwin: assembler.
15.15606 +AS="$AS"
15.15607 +
15.15608 +# The name of the directory that contains temporary libtool files.
15.15609 +objdir=$objdir
15.15610 +
15.15611 +# How to create reloadable object files.
15.15612 +reload_flag=$lt_reload_flag
15.15613 +reload_cmds=$lt_reload_cmds
15.15614 +
15.15615 +# How to pass a linker flag through the compiler.
15.15616 +wl=$lt_lt_prog_compiler_wl_F77
15.15617 +
15.15618 +# Object file suffix (normally "o").
15.15619 +objext="$ac_objext"
15.15620 +
15.15621 +# Old archive suffix (normally "a").
15.15622 +libext="$libext"
15.15623 +
15.15624 +# Shared library suffix (normally ".so").
15.15625 +shrext_cmds='$shrext_cmds'
15.15626 +
15.15627 +# Executable file suffix (normally "").
15.15628 +exeext="$exeext"
15.15629 +
15.15630 +# Additional compiler flags for building library objects.
15.15631 +pic_flag=$lt_lt_prog_compiler_pic_F77
15.15632 +pic_mode=$pic_mode
15.15633 +
15.15634 +# What is the maximum length of a command?
15.15635 +max_cmd_len=$lt_cv_sys_max_cmd_len
15.15636 +
15.15637 +# Does compiler simultaneously support -c and -o options?
15.15638 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15.15639 +
15.15640 +# Must we lock files when doing compilation?
15.15641 +need_locks=$lt_need_locks
15.15642 +
15.15643 +# Do we need the lib prefix for modules?
15.15644 +need_lib_prefix=$need_lib_prefix
15.15645 +
15.15646 +# Do we need a version for libraries?
15.15647 +need_version=$need_version
15.15648 +
15.15649 +# Whether dlopen is supported.
15.15650 +dlopen_support=$enable_dlopen
15.15651 +
15.15652 +# Whether dlopen of programs is supported.
15.15653 +dlopen_self=$enable_dlopen_self
15.15654 +
15.15655 +# Whether dlopen of statically linked programs is supported.
15.15656 +dlopen_self_static=$enable_dlopen_self_static
15.15657 +
15.15658 +# Compiler flag to prevent dynamic linking.
15.15659 +link_static_flag=$lt_lt_prog_compiler_static_F77
15.15660 +
15.15661 +# Compiler flag to turn off builtin functions.
15.15662 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15.15663 +
15.15664 +# Compiler flag to allow reflexive dlopens.
15.15665 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15.15666 +
15.15667 +# Compiler flag to generate shared objects directly from archives.
15.15668 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15.15669 +
15.15670 +# Compiler flag to generate thread-safe objects.
15.15671 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15.15672 +
15.15673 +# Library versioning type.
15.15674 +version_type=$version_type
15.15675 +
15.15676 +# Format of library name prefix.
15.15677 +libname_spec=$lt_libname_spec
15.15678 +
15.15679 +# List of archive names. First name is the real one, the rest are links.
15.15680 +# The last name is the one that the linker finds with -lNAME.
15.15681 +library_names_spec=$lt_library_names_spec
15.15682 +
15.15683 +# The coded name of the library, if different from the real name.
15.15684 +soname_spec=$lt_soname_spec
15.15685 +
15.15686 +# Commands used to build and install an old-style archive.
15.15687 +RANLIB=$lt_RANLIB
15.15688 +old_archive_cmds=$lt_old_archive_cmds_F77
15.15689 +old_postinstall_cmds=$lt_old_postinstall_cmds
15.15690 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
15.15691 +
15.15692 +# Create an old-style archive from a shared archive.
15.15693 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15.15694 +
15.15695 +# Create a temporary old-style archive to link instead of a shared archive.
15.15696 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15.15697 +
15.15698 +# Commands used to build and install a shared archive.
15.15699 +archive_cmds=$lt_archive_cmds_F77
15.15700 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15.15701 +postinstall_cmds=$lt_postinstall_cmds
15.15702 +postuninstall_cmds=$lt_postuninstall_cmds
15.15703 +
15.15704 +# Commands used to build a loadable module (assumed same as above if empty)
15.15705 +module_cmds=$lt_module_cmds_F77
15.15706 +module_expsym_cmds=$lt_module_expsym_cmds_F77
15.15707 +
15.15708 +# Commands to strip libraries.
15.15709 +old_striplib=$lt_old_striplib
15.15710 +striplib=$lt_striplib
15.15711 +
15.15712 +# Dependencies to place before the objects being linked to create a
15.15713 +# shared library.
15.15714 +predep_objects=$lt_predep_objects_F77
15.15715 +
15.15716 +# Dependencies to place after the objects being linked to create a
15.15717 +# shared library.
15.15718 +postdep_objects=$lt_postdep_objects_F77
15.15719 +
15.15720 +# Dependencies to place before the objects being linked to create a
15.15721 +# shared library.
15.15722 +predeps=$lt_predeps_F77
15.15723 +
15.15724 +# Dependencies to place after the objects being linked to create a
15.15725 +# shared library.
15.15726 +postdeps=$lt_postdeps_F77
15.15727 +
15.15728 +# The library search path used internally by the compiler when linking
15.15729 +# a shared library.
15.15730 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15.15731 +
15.15732 +# Method to check whether dependent libraries are shared objects.
15.15733 +deplibs_check_method=$lt_deplibs_check_method
15.15734 +
15.15735 +# Command to use when deplibs_check_method == file_magic.
15.15736 +file_magic_cmd=$lt_file_magic_cmd
15.15737 +
15.15738 +# Flag that allows shared libraries with undefined symbols to be built.
15.15739 +allow_undefined_flag=$lt_allow_undefined_flag_F77
15.15740 +
15.15741 +# Flag that forces no undefined symbols.
15.15742 +no_undefined_flag=$lt_no_undefined_flag_F77
15.15743 +
15.15744 +# Commands used to finish a libtool library installation in a directory.
15.15745 +finish_cmds=$lt_finish_cmds
15.15746 +
15.15747 +# Same as above, but a single script fragment to be evaled but not shown.
15.15748 +finish_eval=$lt_finish_eval
15.15749 +
15.15750 +# Take the output of nm and produce a listing of raw symbols and C names.
15.15751 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15.15752 +
15.15753 +# Transform the output of nm in a proper C declaration
15.15754 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15.15755 +
15.15756 +# Transform the output of nm in a C name address pair
15.15757 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15.15758 +
15.15759 +# This is the shared library runtime path variable.
15.15760 +runpath_var=$runpath_var
15.15761 +
15.15762 +# This is the shared library path variable.
15.15763 +shlibpath_var=$shlibpath_var
15.15764 +
15.15765 +# Is shlibpath searched before the hard-coded library search path?
15.15766 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15.15767 +
15.15768 +# How to hardcode a shared library path into an executable.
15.15769 +hardcode_action=$hardcode_action_F77
15.15770 +
15.15771 +# Whether we should hardcode library paths into libraries.
15.15772 +hardcode_into_libs=$hardcode_into_libs
15.15773 +
15.15774 +# Flag to hardcode \$libdir into a binary during linking.
15.15775 +# This must work even if \$libdir does not exist.
15.15776 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15.15777 +
15.15778 +# If ld is used when linking, flag to hardcode \$libdir into
15.15779 +# a binary during linking. This must work even if \$libdir does
15.15780 +# not exist.
15.15781 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15.15782 +
15.15783 +# Whether we need a single -rpath flag with a separated argument.
15.15784 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15.15785 +
15.15786 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15.15787 +# resulting binary.
15.15788 +hardcode_direct=$hardcode_direct_F77
15.15789 +
15.15790 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15.15791 +# resulting binary.
15.15792 +hardcode_minus_L=$hardcode_minus_L_F77
15.15793 +
15.15794 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15.15795 +# the resulting binary.
15.15796 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15.15797 +
15.15798 +# Set to yes if building a shared library automatically hardcodes DIR into the library
15.15799 +# and all subsequent libraries and executables linked against it.
15.15800 +hardcode_automatic=$hardcode_automatic_F77
15.15801 +
15.15802 +# Variables whose values should be saved in libtool wrapper scripts and
15.15803 +# restored at relink time.
15.15804 +variables_saved_for_relink="$variables_saved_for_relink"
15.15805 +
15.15806 +# Whether libtool must link a program against all its dependency libraries.
15.15807 +link_all_deplibs=$link_all_deplibs_F77
15.15808 +
15.15809 +# Compile-time system search path for libraries
15.15810 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15.15811 +
15.15812 +# Run-time system search path for libraries
15.15813 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15.15814 +
15.15815 +# Fix the shell variable \$srcfile for the compiler.
15.15816 +fix_srcfile_path="$fix_srcfile_path_F77"
15.15817 +
15.15818 +# Set to yes if exported symbols are required.
15.15819 +always_export_symbols=$always_export_symbols_F77
15.15820 +
15.15821 +# The commands to list exported symbols.
15.15822 +export_symbols_cmds=$lt_export_symbols_cmds_F77
15.15823 +
15.15824 +# The commands to extract the exported symbol list from a shared archive.
15.15825 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
15.15826 +
15.15827 +# Symbols that should not be listed in the preloaded symbols.
15.15828 +exclude_expsyms=$lt_exclude_expsyms_F77
15.15829 +
15.15830 +# Symbols that must always be exported.
15.15831 +include_expsyms=$lt_include_expsyms_F77
15.15832 +
15.15833 +# ### END LIBTOOL TAG CONFIG: $tagname
15.15834 +
15.15835 +__EOF__
15.15836 +
15.15837 +
15.15838 +else
15.15839 + # If there is no Makefile yet, we rely on a make rule to execute
15.15840 + # `config.status --recheck' to rerun these tests and create the
15.15841 + # libtool script then.
15.15842 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15.15843 + if test -f "$ltmain_in"; then
15.15844 + test -f Makefile && make "$ltmain"
15.15845 + fi
15.15846 +fi
15.15847 +
15.15848 +
15.15849 +ac_ext=c
15.15850 +ac_cpp='$CPP $CPPFLAGS'
15.15851 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.15852 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.15853 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.15854 +
15.15855 +CC="$lt_save_CC"
15.15856 +
15.15857 + else
15.15858 + tagname=""
15.15859 + fi
15.15860 + ;;
15.15861 +
15.15862 + GCJ)
15.15863 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15.15864 +
15.15865 +
15.15866 +
15.15867 +# Source file extension for Java test sources.
15.15868 +ac_ext=java
15.15869 +
15.15870 +# Object file extension for compiled Java test sources.
15.15871 +objext=o
15.15872 +objext_GCJ=$objext
15.15873 +
15.15874 +# Code to be used in simple compile tests
15.15875 +lt_simple_compile_test_code="class foo {}\n"
15.15876 +
15.15877 +# Code to be used in simple link tests
15.15878 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15.15879 +
15.15880 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15.15881 +
15.15882 +# If no C compiler was specified, use CC.
15.15883 +LTCC=${LTCC-"$CC"}
15.15884 +
15.15885 +# Allow CC to be a program name with arguments.
15.15886 +compiler=$CC
15.15887 +
15.15888 +
15.15889 +# save warnings/boilerplate of simple test code
15.15890 +ac_outfile=conftest.$ac_objext
15.15891 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15.15892 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15.15893 +_lt_compiler_boilerplate=`cat conftest.err`
15.15894 +$rm conftest*
15.15895 +
15.15896 +ac_outfile=conftest.$ac_objext
15.15897 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
15.15898 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15.15899 +_lt_linker_boilerplate=`cat conftest.err`
15.15900 +$rm conftest*
15.15901 +
15.15902 +
15.15903 +# Allow CC to be a program name with arguments.
15.15904 +lt_save_CC="$CC"
15.15905 +CC=${GCJ-"gcj"}
15.15906 +compiler=$CC
15.15907 +compiler_GCJ=$CC
15.15908 +for cc_temp in $compiler""; do
15.15909 + case $cc_temp in
15.15910 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15.15911 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15.15912 + \-*) ;;
15.15913 + *) break;;
15.15914 + esac
15.15915 +done
15.15916 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15.15917 +
15.15918 +
15.15919 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
15.15920 +archive_cmds_need_lc_GCJ=no
15.15921 +
15.15922 +old_archive_cmds_GCJ=$old_archive_cmds
15.15923 +
15.15924 +
15.15925 +lt_prog_compiler_no_builtin_flag_GCJ=
15.15926 +
15.15927 +if test "$GCC" = yes; then
15.15928 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15.15929 +
15.15930 +
15.15931 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15.15932 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15.15933 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15.15934 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.15935 +else
15.15936 + lt_cv_prog_compiler_rtti_exceptions=no
15.15937 + ac_outfile=conftest.$ac_objext
15.15938 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.15939 + lt_compiler_flag="-fno-rtti -fno-exceptions"
15.15940 + # Insert the option either (1) after the last *FLAGS variable, or
15.15941 + # (2) before a word containing "conftest.", or (3) at the end.
15.15942 + # Note that $ac_compile itself does not contain backslashes and begins
15.15943 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15.15944 + # The option is referenced via a variable to avoid confusing sed.
15.15945 + lt_compile=`echo "$ac_compile" | $SED \
15.15946 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15.15947 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15.15948 + -e 's:$: $lt_compiler_flag:'`
15.15949 + (eval echo "\"\$as_me:15946: $lt_compile\"" >&5)
15.15950 + (eval "$lt_compile" 2>conftest.err)
15.15951 + ac_status=$?
15.15952 + cat conftest.err >&5
15.15953 + echo "$as_me:15950: \$? = $ac_status" >&5
15.15954 + if (exit $ac_status) && test -s "$ac_outfile"; then
15.15955 + # The compiler can only warn and ignore the option if not recognized
15.15956 + # So say no if there are warnings other than the usual output.
15.15957 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15.15958 + $SED '/^$/d' conftest.err >conftest.er2
15.15959 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
15.15960 + lt_cv_prog_compiler_rtti_exceptions=yes
15.15961 + fi
15.15962 + fi
15.15963 + $rm conftest*
15.15964 +
15.15965 +fi
15.15966 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15.15967 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15.15968 +
15.15969 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15.15970 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15.15971 +else
15.15972 + :
15.15973 +fi
15.15974 +
15.15975 +fi
15.15976 +
15.15977 +lt_prog_compiler_wl_GCJ=
15.15978 +lt_prog_compiler_pic_GCJ=
15.15979 +lt_prog_compiler_static_GCJ=
15.15980 +
15.15981 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15.15982 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15.15983 +
15.15984 + if test "$GCC" = yes; then
15.15985 + lt_prog_compiler_wl_GCJ='-Wl,'
15.15986 + lt_prog_compiler_static_GCJ='-static'
15.15987 +
15.15988 + case $host_os in
15.15989 + aix*)
15.15990 + # All AIX code is PIC.
15.15991 + if test "$host_cpu" = ia64; then
15.15992 + # AIX 5 now supports IA64 processor
15.15993 + lt_prog_compiler_static_GCJ='-Bstatic'
15.15994 + fi
15.15995 + ;;
15.15996 +
15.15997 + amigaos*)
15.15998 + # FIXME: we need at least 68020 code to build shared libraries, but
15.15999 + # adding the `-m68020' flag to GCC prevents building anything better,
15.16000 + # like `-m68040'.
15.16001 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15.16002 + ;;
15.16003 +
15.16004 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15.16005 + # PIC is the default for these OSes.
15.16006 + ;;
15.16007 +
15.16008 + mingw* | pw32* | os2*)
15.16009 + # This hack is so that the source file can tell whether it is being
15.16010 + # built for inclusion in a dll (and should export symbols for example).
15.16011 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15.16012 + ;;
15.16013 +
15.16014 + darwin* | rhapsody*)
15.16015 + # PIC is the default on this platform
15.16016 + # Common symbols not allowed in MH_DYLIB files
15.16017 + lt_prog_compiler_pic_GCJ='-fno-common'
15.16018 + ;;
15.16019 +
15.16020 + msdosdjgpp*)
15.16021 + # Just because we use GCC doesn't mean we suddenly get shared libraries
15.16022 + # on systems that don't support them.
15.16023 + lt_prog_compiler_can_build_shared_GCJ=no
15.16024 + enable_shared=no
15.16025 + ;;
15.16026 +
15.16027 + sysv4*MP*)
15.16028 + if test -d /usr/nec; then
15.16029 + lt_prog_compiler_pic_GCJ=-Kconform_pic
15.16030 + fi
15.16031 + ;;
15.16032 +
15.16033 + hpux*)
15.16034 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15.16035 + # not for PA HP-UX.
15.16036 + case $host_cpu in
15.16037 + hppa*64*|ia64*)
15.16038 + # +Z the default
15.16039 + ;;
15.16040 + *)
15.16041 + lt_prog_compiler_pic_GCJ='-fPIC'
15.16042 + ;;
15.16043 + esac
15.16044 + ;;
15.16045 +
15.16046 + *)
15.16047 + lt_prog_compiler_pic_GCJ='-fPIC'
15.16048 + ;;
15.16049 + esac
15.16050 + else
15.16051 + # PORTME Check for flag to pass linker flags through the system compiler.
15.16052 + case $host_os in
15.16053 + aix*)
15.16054 + lt_prog_compiler_wl_GCJ='-Wl,'
15.16055 + if test "$host_cpu" = ia64; then
15.16056 + # AIX 5 now supports IA64 processor
15.16057 + lt_prog_compiler_static_GCJ='-Bstatic'
15.16058 + else
15.16059 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15.16060 + fi
15.16061 + ;;
15.16062 + darwin*)
15.16063 + # PIC is the default on this platform
15.16064 + # Common symbols not allowed in MH_DYLIB files
15.16065 + case $cc_basename in
15.16066 + xlc*)
15.16067 + lt_prog_compiler_pic_GCJ='-qnocommon'
15.16068 + lt_prog_compiler_wl_GCJ='-Wl,'
15.16069 + ;;
15.16070 + esac
15.16071 + ;;
15.16072 +
15.16073 + mingw* | pw32* | os2*)
15.16074 + # This hack is so that the source file can tell whether it is being
15.16075 + # built for inclusion in a dll (and should export symbols for example).
15.16076 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15.16077 + ;;
15.16078 +
15.16079 + hpux9* | hpux10* | hpux11*)
15.16080 + lt_prog_compiler_wl_GCJ='-Wl,'
15.16081 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15.16082 + # not for PA HP-UX.
15.16083 + case $host_cpu in
15.16084 + hppa*64*|ia64*)
15.16085 + # +Z the default
15.16086 + ;;
15.16087 + *)
15.16088 + lt_prog_compiler_pic_GCJ='+Z'
15.16089 + ;;
15.16090 + esac
15.16091 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
15.16092 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15.16093 + ;;
15.16094 +
15.16095 + irix5* | irix6* | nonstopux*)
15.16096 + lt_prog_compiler_wl_GCJ='-Wl,'
15.16097 + # PIC (with -KPIC) is the default.
15.16098 + lt_prog_compiler_static_GCJ='-non_shared'
15.16099 + ;;
15.16100 +
15.16101 + newsos6)
15.16102 + lt_prog_compiler_pic_GCJ='-KPIC'
15.16103 + lt_prog_compiler_static_GCJ='-Bstatic'
15.16104 + ;;
15.16105 +
15.16106 + linux*)
15.16107 + case $cc_basename in
15.16108 + icc* | ecc*)
15.16109 + lt_prog_compiler_wl_GCJ='-Wl,'
15.16110 + lt_prog_compiler_pic_GCJ='-KPIC'
15.16111 + lt_prog_compiler_static_GCJ='-static'
15.16112 + ;;
15.16113 + pgcc* | pgf77* | pgf90* | pgf95*)
15.16114 + # Portland Group compilers (*not* the Pentium gcc compiler,
15.16115 + # which looks to be a dead project)
15.16116 + lt_prog_compiler_wl_GCJ='-Wl,'
15.16117 + lt_prog_compiler_pic_GCJ='-fpic'
15.16118 + lt_prog_compiler_static_GCJ='-Bstatic'
15.16119 + ;;
15.16120 + ccc*)
15.16121 + lt_prog_compiler_wl_GCJ='-Wl,'
15.16122 + # All Alpha code is PIC.
15.16123 + lt_prog_compiler_static_GCJ='-non_shared'
15.16124 + ;;
15.16125 + esac
15.16126 + ;;
15.16127 +
15.16128 + osf3* | osf4* | osf5*)
15.16129 + lt_prog_compiler_wl_GCJ='-Wl,'
15.16130 + # All OSF/1 code is PIC.
15.16131 + lt_prog_compiler_static_GCJ='-non_shared'
15.16132 + ;;
15.16133 +
15.16134 + sco3.2v5*)
15.16135 + lt_prog_compiler_pic_GCJ='-Kpic'
15.16136 + lt_prog_compiler_static_GCJ='-dn'
15.16137 + ;;
15.16138 +
15.16139 + solaris*)
15.16140 + lt_prog_compiler_pic_GCJ='-KPIC'
15.16141 + lt_prog_compiler_static_GCJ='-Bstatic'
15.16142 + case $cc_basename in
15.16143 + f77* | f90* | f95*)
15.16144 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
15.16145 + *)
15.16146 + lt_prog_compiler_wl_GCJ='-Wl,';;
15.16147 + esac
15.16148 + ;;
15.16149 +
15.16150 + sunos4*)
15.16151 + lt_prog_compiler_wl_GCJ='-Qoption ld '
15.16152 + lt_prog_compiler_pic_GCJ='-PIC'
15.16153 + lt_prog_compiler_static_GCJ='-Bstatic'
15.16154 + ;;
15.16155 +
15.16156 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15.16157 + lt_prog_compiler_wl_GCJ='-Wl,'
15.16158 + lt_prog_compiler_pic_GCJ='-KPIC'
15.16159 + lt_prog_compiler_static_GCJ='-Bstatic'
15.16160 + ;;
15.16161 +
15.16162 + sysv4*MP*)
15.16163 + if test -d /usr/nec ;then
15.16164 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
15.16165 + lt_prog_compiler_static_GCJ='-Bstatic'
15.16166 + fi
15.16167 + ;;
15.16168 +
15.16169 + unicos*)
15.16170 + lt_prog_compiler_wl_GCJ='-Wl,'
15.16171 + lt_prog_compiler_can_build_shared_GCJ=no
15.16172 + ;;
15.16173 +
15.16174 + uts4*)
15.16175 + lt_prog_compiler_pic_GCJ='-pic'
15.16176 + lt_prog_compiler_static_GCJ='-Bstatic'
15.16177 + ;;
15.16178 +
15.16179 + *)
15.16180 + lt_prog_compiler_can_build_shared_GCJ=no
15.16181 + ;;
15.16182 + esac
15.16183 + fi
15.16184 +
15.16185 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15.16186 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15.16187 +
15.16188 +#
15.16189 +# Check to make sure the PIC flag actually works.
15.16190 +#
15.16191 +if test -n "$lt_prog_compiler_pic_GCJ"; then
15.16192 +
15.16193 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15.16194 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15.16195 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15.16196 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.16197 +else
15.16198 + lt_prog_compiler_pic_works_GCJ=no
15.16199 + ac_outfile=conftest.$ac_objext
15.16200 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.16201 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15.16202 + # Insert the option either (1) after the last *FLAGS variable, or
15.16203 + # (2) before a word containing "conftest.", or (3) at the end.
15.16204 + # Note that $ac_compile itself does not contain backslashes and begins
15.16205 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15.16206 + # The option is referenced via a variable to avoid confusing sed.
15.16207 + lt_compile=`echo "$ac_compile" | $SED \
15.16208 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15.16209 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15.16210 + -e 's:$: $lt_compiler_flag:'`
15.16211 + (eval echo "\"\$as_me:16208: $lt_compile\"" >&5)
15.16212 + (eval "$lt_compile" 2>conftest.err)
15.16213 + ac_status=$?
15.16214 + cat conftest.err >&5
15.16215 + echo "$as_me:16212: \$? = $ac_status" >&5
15.16216 + if (exit $ac_status) && test -s "$ac_outfile"; then
15.16217 + # The compiler can only warn and ignore the option if not recognized
15.16218 + # So say no if there are warnings other than the usual output.
15.16219 + $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15.16220 + $SED '/^$/d' conftest.err >conftest.er2
15.16221 + if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
15.16222 + lt_prog_compiler_pic_works_GCJ=yes
15.16223 + fi
15.16224 + fi
15.16225 + $rm conftest*
15.16226 +
15.16227 +fi
15.16228 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15.16229 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15.16230 +
15.16231 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15.16232 + case $lt_prog_compiler_pic_GCJ in
15.16233 + "" | " "*) ;;
15.16234 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15.16235 + esac
15.16236 +else
15.16237 + lt_prog_compiler_pic_GCJ=
15.16238 + lt_prog_compiler_can_build_shared_GCJ=no
15.16239 +fi
15.16240 +
15.16241 +fi
15.16242 +case $host_os in
15.16243 + # For platforms which do not support PIC, -DPIC is meaningless:
15.16244 + *djgpp*)
15.16245 + lt_prog_compiler_pic_GCJ=
15.16246 + ;;
15.16247 + *)
15.16248 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15.16249 + ;;
15.16250 +esac
15.16251 +
15.16252 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15.16253 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15.16254 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15.16255 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.16256 +else
15.16257 + lt_cv_prog_compiler_c_o_GCJ=no
15.16258 + $rm -r conftest 2>/dev/null
15.16259 + mkdir conftest
15.16260 + cd conftest
15.16261 + mkdir out
15.16262 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.16263 +
15.16264 + lt_compiler_flag="-o out/conftest2.$ac_objext"
15.16265 + # Insert the option either (1) after the last *FLAGS variable, or
15.16266 + # (2) before a word containing "conftest.", or (3) at the end.
15.16267 + # Note that $ac_compile itself does not contain backslashes and begins
15.16268 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15.16269 + lt_compile=`echo "$ac_compile" | $SED \
15.16270 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15.16271 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15.16272 + -e 's:$: $lt_compiler_flag:'`
15.16273 + (eval echo "\"\$as_me:16270: $lt_compile\"" >&5)
15.16274 + (eval "$lt_compile" 2>out/conftest.err)
15.16275 + ac_status=$?
15.16276 + cat out/conftest.err >&5
15.16277 + echo "$as_me:16274: \$? = $ac_status" >&5
15.16278 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
15.16279 + then
15.16280 + # The compiler can only warn and ignore the option if not recognized
15.16281 + # So say no if there are warnings
15.16282 + $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
15.16283 + $SED '/^$/d' out/conftest.err >out/conftest.er2
15.16284 + if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15.16285 + lt_cv_prog_compiler_c_o_GCJ=yes
15.16286 + fi
15.16287 + fi
15.16288 + chmod u+w . 2>&5
15.16289 + $rm conftest*
15.16290 + # SGI C++ compiler will create directory out/ii_files/ for
15.16291 + # template instantiation
15.16292 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15.16293 + $rm out/* && rmdir out
15.16294 + cd ..
15.16295 + rmdir conftest
15.16296 + $rm conftest*
15.16297 +
15.16298 +fi
15.16299 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15.16300 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15.16301 +
15.16302 +
15.16303 +hard_links="nottested"
15.16304 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15.16305 + # do not overwrite the value of need_locks provided by the user
15.16306 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15.16307 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15.16308 + hard_links=yes
15.16309 + $rm conftest*
15.16310 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15.16311 + touch conftest.a
15.16312 + ln conftest.a conftest.b 2>&5 || hard_links=no
15.16313 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15.16314 + echo "$as_me:$LINENO: result: $hard_links" >&5
15.16315 +echo "${ECHO_T}$hard_links" >&6
15.16316 + if test "$hard_links" = no; then
15.16317 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15.16318 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15.16319 + need_locks=warn
15.16320 + fi
15.16321 +else
15.16322 + need_locks=no
15.16323 +fi
15.16324 +
15.16325 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15.16326 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15.16327 +
15.16328 + runpath_var=
15.16329 + allow_undefined_flag_GCJ=
15.16330 + enable_shared_with_static_runtimes_GCJ=no
15.16331 + archive_cmds_GCJ=
15.16332 + archive_expsym_cmds_GCJ=
15.16333 + old_archive_From_new_cmds_GCJ=
15.16334 + old_archive_from_expsyms_cmds_GCJ=
15.16335 + export_dynamic_flag_spec_GCJ=
15.16336 + whole_archive_flag_spec_GCJ=
15.16337 + thread_safe_flag_spec_GCJ=
15.16338 + hardcode_libdir_flag_spec_GCJ=
15.16339 + hardcode_libdir_flag_spec_ld_GCJ=
15.16340 + hardcode_libdir_separator_GCJ=
15.16341 + hardcode_direct_GCJ=no
15.16342 + hardcode_minus_L_GCJ=no
15.16343 + hardcode_shlibpath_var_GCJ=unsupported
15.16344 + link_all_deplibs_GCJ=unknown
15.16345 + hardcode_automatic_GCJ=no
15.16346 + module_cmds_GCJ=
15.16347 + module_expsym_cmds_GCJ=
15.16348 + always_export_symbols_GCJ=no
15.16349 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15.16350 + # include_expsyms should be a list of space-separated symbols to be *always*
15.16351 + # included in the symbol list
15.16352 + include_expsyms_GCJ=
15.16353 + # exclude_expsyms can be an extended regexp of symbols to exclude
15.16354 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
15.16355 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15.16356 + # as well as any symbol that contains `d'.
15.16357 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15.16358 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15.16359 + # platforms (ab)use it in PIC code, but their linkers get confused if
15.16360 + # the symbol is explicitly referenced. Since portable code cannot
15.16361 + # rely on this symbol name, it's probably fine to never include it in
15.16362 + # preloaded symbol tables.
15.16363 + extract_expsyms_cmds=
15.16364 + # Just being paranoid about ensuring that cc_basename is set.
15.16365 + for cc_temp in $compiler""; do
15.16366 + case $cc_temp in
15.16367 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15.16368 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15.16369 + \-*) ;;
15.16370 + *) break;;
15.16371 + esac
15.16372 +done
15.16373 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15.16374 +
15.16375 + case $host_os in
15.16376 + cygwin* | mingw* | pw32*)
15.16377 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
15.16378 + # When not using gcc, we currently assume that we are using
15.16379 + # Microsoft Visual C++.
15.16380 + if test "$GCC" != yes; then
15.16381 + with_gnu_ld=no
15.16382 + fi
15.16383 + ;;
15.16384 + openbsd*)
15.16385 + with_gnu_ld=no
15.16386 + ;;
15.16387 + esac
15.16388 +
15.16389 + ld_shlibs_GCJ=yes
15.16390 + if test "$with_gnu_ld" = yes; then
15.16391 + # If archive_cmds runs LD, not CC, wlarc should be empty
15.16392 + wlarc='${wl}'
15.16393 +
15.16394 + # Set some defaults for GNU ld with shared library support. These
15.16395 + # are reset later if shared libraries are not supported. Putting them
15.16396 + # here allows them to be overridden if necessary.
15.16397 + runpath_var=LD_RUN_PATH
15.16398 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15.16399 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15.16400 + # ancient GNU ld didn't support --whole-archive et. al.
15.16401 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15.16402 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15.16403 + else
15.16404 + whole_archive_flag_spec_GCJ=
15.16405 + fi
15.16406 + supports_anon_versioning=no
15.16407 + case `$LD -v 2>/dev/null` in
15.16408 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15.16409 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15.16410 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15.16411 + *\ 2.11.*) ;; # other 2.11 versions
15.16412 + *) supports_anon_versioning=yes ;;
15.16413 + esac
15.16414 +
15.16415 + # See if GNU ld supports shared libraries.
15.16416 + case $host_os in
15.16417 + aix3* | aix4* | aix5*)
15.16418 + # On AIX/PPC, the GNU linker is very broken
15.16419 + if test "$host_cpu" != ia64; then
15.16420 + ld_shlibs_GCJ=no
15.16421 + cat <<EOF 1>&2
15.16422 +
15.16423 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15.16424 +*** to be unable to reliably create shared libraries on AIX.
15.16425 +*** Therefore, libtool is disabling shared libraries support. If you
15.16426 +*** really care for shared libraries, you may want to modify your PATH
15.16427 +*** so that a non-GNU linker is found, and then restart.
15.16428 +
15.16429 +EOF
15.16430 + fi
15.16431 + ;;
15.16432 +
15.16433 + amigaos*)
15.16434 + 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)'
15.16435 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
15.16436 + hardcode_minus_L_GCJ=yes
15.16437 +
15.16438 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15.16439 + # that the semantics of dynamic libraries on AmigaOS, at least up
15.16440 + # to version 4, is to share data among multiple programs linked
15.16441 + # with the same dynamic library. Since this doesn't match the
15.16442 + # behavior of shared libraries on other platforms, we can't use
15.16443 + # them.
15.16444 + ld_shlibs_GCJ=no
15.16445 + ;;
15.16446 +
15.16447 + beos*)
15.16448 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.16449 + allow_undefined_flag_GCJ=unsupported
15.16450 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15.16451 + # support --undefined. This deserves some investigation. FIXME
15.16452 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.16453 + else
15.16454 + ld_shlibs_GCJ=no
15.16455 + fi
15.16456 + ;;
15.16457 +
15.16458 + cygwin* | mingw* | pw32*)
15.16459 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15.16460 + # as there is no search path for DLLs.
15.16461 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
15.16462 + allow_undefined_flag_GCJ=unsupported
15.16463 + always_export_symbols_GCJ=no
15.16464 + enable_shared_with_static_runtimes_GCJ=yes
15.16465 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15.16466 +
15.16467 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15.16468 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15.16469 + # If the export-symbols file already is a .def file (1st line
15.16470 + # is EXPORTS), use it as is; otherwise, prepend...
15.16471 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15.16472 + cp $export_symbols $output_objdir/$soname.def;
15.16473 + else
15.16474 + echo EXPORTS > $output_objdir/$soname.def;
15.16475 + cat $export_symbols >> $output_objdir/$soname.def;
15.16476 + fi~
15.16477 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15.16478 + else
15.16479 + ld_shlibs_GCJ=no
15.16480 + fi
15.16481 + ;;
15.16482 +
15.16483 + linux*)
15.16484 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.16485 + tmp_addflag=
15.16486 + case $cc_basename,$host_cpu in
15.16487 + pgcc*) # Portland Group C compiler
15.16488 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15.16489 + tmp_addflag=' $pic_flag'
15.16490 + ;;
15.16491 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15.16492 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15.16493 + tmp_addflag=' $pic_flag -Mnomain' ;;
15.16494 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15.16495 + tmp_addflag=' -i_dynamic' ;;
15.16496 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15.16497 + tmp_addflag=' -i_dynamic -nofor_main' ;;
15.16498 + ifc* | ifort*) # Intel Fortran compiler
15.16499 + tmp_addflag=' -nofor_main' ;;
15.16500 + esac
15.16501 + archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.16502 +
15.16503 + if test $supports_anon_versioning = yes; then
15.16504 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
15.16505 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15.16506 + $echo "local: *; };" >> $output_objdir/$libname.ver~
15.16507 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15.16508 + fi
15.16509 + else
15.16510 + ld_shlibs_GCJ=no
15.16511 + fi
15.16512 + ;;
15.16513 +
15.16514 + netbsd*)
15.16515 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15.16516 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15.16517 + wlarc=
15.16518 + else
15.16519 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.16520 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15.16521 + fi
15.16522 + ;;
15.16523 +
15.16524 + solaris* | sysv5*)
15.16525 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15.16526 + ld_shlibs_GCJ=no
15.16527 + cat <<EOF 1>&2
15.16528 +
15.16529 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15.16530 +*** create shared libraries on Solaris systems. Therefore, libtool
15.16531 +*** is disabling shared libraries support. We urge you to upgrade GNU
15.16532 +*** binutils to release 2.9.1 or newer. Another option is to modify
15.16533 +*** your PATH or compiler configuration so that the native linker is
15.16534 +*** used, and then restart.
15.16535 +
15.16536 +EOF
15.16537 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.16538 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.16539 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15.16540 + else
15.16541 + ld_shlibs_GCJ=no
15.16542 + fi
15.16543 + ;;
15.16544 +
15.16545 + sunos4*)
15.16546 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15.16547 + wlarc=
15.16548 + hardcode_direct_GCJ=yes
15.16549 + hardcode_shlibpath_var_GCJ=no
15.16550 + ;;
15.16551 +
15.16552 + *)
15.16553 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15.16554 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15.16555 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15.16556 + else
15.16557 + ld_shlibs_GCJ=no
15.16558 + fi
15.16559 + ;;
15.16560 + esac
15.16561 +
15.16562 + if test "$ld_shlibs_GCJ" = no; then
15.16563 + runpath_var=
15.16564 + hardcode_libdir_flag_spec_GCJ=
15.16565 + export_dynamic_flag_spec_GCJ=
15.16566 + whole_archive_flag_spec_GCJ=
15.16567 + fi
15.16568 + else
15.16569 + # PORTME fill in a description of your system's linker (not GNU ld)
15.16570 + case $host_os in
15.16571 + aix3*)
15.16572 + allow_undefined_flag_GCJ=unsupported
15.16573 + always_export_symbols_GCJ=yes
15.16574 + 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'
15.16575 + # Note: this linker hardcodes the directories in LIBPATH if there
15.16576 + # are no directories specified by -L.
15.16577 + hardcode_minus_L_GCJ=yes
15.16578 + if test "$GCC" = yes && test -z "$link_static_flag"; then
15.16579 + # Neither direct hardcoding nor static linking is supported with a
15.16580 + # broken collect2.
15.16581 + hardcode_direct_GCJ=unsupported
15.16582 + fi
15.16583 + ;;
15.16584 +
15.16585 + aix4* | aix5*)
15.16586 + if test "$host_cpu" = ia64; then
15.16587 + # On IA64, the linker does run time linking by default, so we don't
15.16588 + # have to do anything special.
15.16589 + aix_use_runtimelinking=no
15.16590 + exp_sym_flag='-Bexport'
15.16591 + no_entry_flag=""
15.16592 + else
15.16593 + # If we're using GNU nm, then we don't want the "-C" option.
15.16594 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
15.16595 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15.16596 + 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'
15.16597 + else
15.16598 + 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'
15.16599 + fi
15.16600 + aix_use_runtimelinking=no
15.16601 +
15.16602 + # Test if we are trying to use run time linking or normal
15.16603 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15.16604 + # need to do runtime linking.
15.16605 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15.16606 + for ld_flag in $LDFLAGS; do
15.16607 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15.16608 + aix_use_runtimelinking=yes
15.16609 + break
15.16610 + fi
15.16611 + done
15.16612 + esac
15.16613 +
15.16614 + exp_sym_flag='-bexport'
15.16615 + no_entry_flag='-bnoentry'
15.16616 + fi
15.16617 +
15.16618 + # When large executables or shared objects are built, AIX ld can
15.16619 + # have problems creating the table of contents. If linking a library
15.16620 + # or program results in "error TOC overflow" add -mminimal-toc to
15.16621 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15.16622 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15.16623 +
15.16624 + archive_cmds_GCJ=''
15.16625 + hardcode_direct_GCJ=yes
15.16626 + hardcode_libdir_separator_GCJ=':'
15.16627 + link_all_deplibs_GCJ=yes
15.16628 +
15.16629 + if test "$GCC" = yes; then
15.16630 + case $host_os in aix4.[012]|aix4.[012].*)
15.16631 + # We only want to do this on AIX 4.2 and lower, the check
15.16632 + # below for broken collect2 doesn't work under 4.3+
15.16633 + collect2name=`${CC} -print-prog-name=collect2`
15.16634 + if test -f "$collect2name" && \
15.16635 + strings "$collect2name" | grep resolve_lib_name >/dev/null
15.16636 + then
15.16637 + # We have reworked collect2
15.16638 + hardcode_direct_GCJ=yes
15.16639 + else
15.16640 + # We have old collect2
15.16641 + hardcode_direct_GCJ=unsupported
15.16642 + # It fails to find uninstalled libraries when the uninstalled
15.16643 + # path is not listed in the libpath. Setting hardcode_minus_L
15.16644 + # to unsupported forces relinking
15.16645 + hardcode_minus_L_GCJ=yes
15.16646 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
15.16647 + hardcode_libdir_separator_GCJ=
15.16648 + fi
15.16649 + esac
15.16650 + shared_flag='-shared'
15.16651 + if test "$aix_use_runtimelinking" = yes; then
15.16652 + shared_flag="$shared_flag "'${wl}-G'
15.16653 + fi
15.16654 + else
15.16655 + # not using gcc
15.16656 + if test "$host_cpu" = ia64; then
15.16657 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15.16658 + # chokes on -Wl,-G. The following line is correct:
15.16659 + shared_flag='-G'
15.16660 + else
15.16661 + if test "$aix_use_runtimelinking" = yes; then
15.16662 + shared_flag='${wl}-G'
15.16663 + else
15.16664 + shared_flag='${wl}-bM:SRE'
15.16665 + fi
15.16666 + fi
15.16667 + fi
15.16668 +
15.16669 + # It seems that -bexpall does not export symbols beginning with
15.16670 + # underscore (_), so it is better to generate a list of symbols to export.
15.16671 + always_export_symbols_GCJ=yes
15.16672 + if test "$aix_use_runtimelinking" = yes; then
15.16673 + # Warning - without using the other runtime loading flags (-brtl),
15.16674 + # -berok will link without error, but may produce a broken library.
15.16675 + allow_undefined_flag_GCJ='-berok'
15.16676 + # Determine the default libpath from the value encoded in an empty executable.
15.16677 + cat >conftest.$ac_ext <<_ACEOF
15.16678 +/* confdefs.h. */
15.16679 +_ACEOF
15.16680 +cat confdefs.h >>conftest.$ac_ext
15.16681 +cat >>conftest.$ac_ext <<_ACEOF
15.16682 +/* end confdefs.h. */
15.16683 +
15.16684 +int
15.16685 +main ()
15.16686 +{
15.16687 +
15.16688 + ;
15.16689 + return 0;
15.16690 +}
15.16691 +_ACEOF
15.16692 +rm -f conftest.$ac_objext conftest$ac_exeext
15.16693 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.16694 + (eval $ac_link) 2>conftest.er1
15.16695 + ac_status=$?
15.16696 + grep -v '^ *+' conftest.er1 >conftest.err
15.16697 + rm -f conftest.er1
15.16698 + cat conftest.err >&5
15.16699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.16700 + (exit $ac_status); } &&
15.16701 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.16702 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.16703 + (eval $ac_try) 2>&5
15.16704 + ac_status=$?
15.16705 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.16706 + (exit $ac_status); }; } &&
15.16707 + { ac_try='test -s conftest$ac_exeext'
15.16708 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.16709 + (eval $ac_try) 2>&5
15.16710 + ac_status=$?
15.16711 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.16712 + (exit $ac_status); }; }; then
15.16713 +
15.16714 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15.16715 +}'`
15.16716 +# Check for a 64-bit object if we didn't find anything.
15.16717 +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; }
15.16718 +}'`; fi
15.16719 +else
15.16720 + echo "$as_me: failed program was:" >&5
15.16721 +sed 's/^/| /' conftest.$ac_ext >&5
15.16722 +
15.16723 +fi
15.16724 +rm -f conftest.err conftest.$ac_objext \
15.16725 + conftest$ac_exeext conftest.$ac_ext
15.16726 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15.16727 +
15.16728 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15.16729 + 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"
15.16730 + else
15.16731 + if test "$host_cpu" = ia64; then
15.16732 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15.16733 + allow_undefined_flag_GCJ="-z nodefs"
15.16734 + 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"
15.16735 + else
15.16736 + # Determine the default libpath from the value encoded in an empty executable.
15.16737 + cat >conftest.$ac_ext <<_ACEOF
15.16738 +/* confdefs.h. */
15.16739 +_ACEOF
15.16740 +cat confdefs.h >>conftest.$ac_ext
15.16741 +cat >>conftest.$ac_ext <<_ACEOF
15.16742 +/* end confdefs.h. */
15.16743 +
15.16744 +int
15.16745 +main ()
15.16746 +{
15.16747 +
15.16748 + ;
15.16749 + return 0;
15.16750 +}
15.16751 +_ACEOF
15.16752 +rm -f conftest.$ac_objext conftest$ac_exeext
15.16753 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.16754 + (eval $ac_link) 2>conftest.er1
15.16755 + ac_status=$?
15.16756 + grep -v '^ *+' conftest.er1 >conftest.err
15.16757 + rm -f conftest.er1
15.16758 + cat conftest.err >&5
15.16759 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.16760 + (exit $ac_status); } &&
15.16761 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.16762 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.16763 + (eval $ac_try) 2>&5
15.16764 + ac_status=$?
15.16765 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.16766 + (exit $ac_status); }; } &&
15.16767 + { ac_try='test -s conftest$ac_exeext'
15.16768 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.16769 + (eval $ac_try) 2>&5
15.16770 + ac_status=$?
15.16771 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.16772 + (exit $ac_status); }; }; then
15.16773 +
15.16774 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15.16775 +}'`
15.16776 +# Check for a 64-bit object if we didn't find anything.
15.16777 +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; }
15.16778 +}'`; fi
15.16779 +else
15.16780 + echo "$as_me: failed program was:" >&5
15.16781 +sed 's/^/| /' conftest.$ac_ext >&5
15.16782 +
15.16783 +fi
15.16784 +rm -f conftest.err conftest.$ac_objext \
15.16785 + conftest$ac_exeext conftest.$ac_ext
15.16786 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15.16787 +
15.16788 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15.16789 + # Warning - without using the other run time loading flags,
15.16790 + # -berok will link without error, but may produce a broken library.
15.16791 + no_undefined_flag_GCJ=' ${wl}-bernotok'
15.16792 + allow_undefined_flag_GCJ=' ${wl}-berok'
15.16793 + # -bexpall does not export symbols beginning with underscore (_)
15.16794 + always_export_symbols_GCJ=yes
15.16795 + # Exported symbols can be pulled into shared objects from archives
15.16796 + whole_archive_flag_spec_GCJ=' '
15.16797 + archive_cmds_need_lc_GCJ=yes
15.16798 + # This is similar to how AIX traditionally builds its shared libraries.
15.16799 + 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'
15.16800 + fi
15.16801 + fi
15.16802 + ;;
15.16803 +
15.16804 + amigaos*)
15.16805 + 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)'
15.16806 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
15.16807 + hardcode_minus_L_GCJ=yes
15.16808 + # see comment about different semantics on the GNU ld section
15.16809 + ld_shlibs_GCJ=no
15.16810 + ;;
15.16811 +
15.16812 + bsdi[45]*)
15.16813 + export_dynamic_flag_spec_GCJ=-rdynamic
15.16814 + ;;
15.16815 +
15.16816 + cygwin* | mingw* | pw32*)
15.16817 + # When not using gcc, we currently assume that we are using
15.16818 + # Microsoft Visual C++.
15.16819 + # hardcode_libdir_flag_spec is actually meaningless, as there is
15.16820 + # no search path for DLLs.
15.16821 + hardcode_libdir_flag_spec_GCJ=' '
15.16822 + allow_undefined_flag_GCJ=unsupported
15.16823 + # Tell ltmain to make .lib files, not .a files.
15.16824 + libext=lib
15.16825 + # Tell ltmain to make .dll files, not .so files.
15.16826 + shrext_cmds=".dll"
15.16827 + # FIXME: Setting linknames here is a bad hack.
15.16828 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15.16829 + # The linker will automatically build a .lib file if we build a DLL.
15.16830 + old_archive_From_new_cmds_GCJ='true'
15.16831 + # FIXME: Should let the user specify the lib program.
15.16832 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15.16833 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
15.16834 + enable_shared_with_static_runtimes_GCJ=yes
15.16835 + ;;
15.16836 +
15.16837 + darwin* | rhapsody*)
15.16838 + case $host_os in
15.16839 + rhapsody* | darwin1.[012])
15.16840 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
15.16841 + ;;
15.16842 + *) # Darwin 1.3 on
15.16843 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15.16844 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15.16845 + else
15.16846 + case ${MACOSX_DEPLOYMENT_TARGET} in
15.16847 + 10.[012])
15.16848 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15.16849 + ;;
15.16850 + 10.*)
15.16851 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
15.16852 + ;;
15.16853 + esac
15.16854 + fi
15.16855 + ;;
15.16856 + esac
15.16857 + archive_cmds_need_lc_GCJ=no
15.16858 + hardcode_direct_GCJ=no
15.16859 + hardcode_automatic_GCJ=yes
15.16860 + hardcode_shlibpath_var_GCJ=unsupported
15.16861 + whole_archive_flag_spec_GCJ=''
15.16862 + link_all_deplibs_GCJ=yes
15.16863 + if test "$GCC" = yes ; then
15.16864 + output_verbose_link_cmd='echo'
15.16865 + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15.16866 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15.16867 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15.16868 + archive_expsym_cmds_GCJ='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}'
15.16869 + 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}'
15.16870 + else
15.16871 + case $cc_basename in
15.16872 + xlc*)
15.16873 + output_verbose_link_cmd='echo'
15.16874 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15.16875 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15.16876 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15.16877 + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15.16878 + 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}'
15.16879 + ;;
15.16880 + *)
15.16881 + ld_shlibs_GCJ=no
15.16882 + ;;
15.16883 + esac
15.16884 + fi
15.16885 + ;;
15.16886 +
15.16887 + dgux*)
15.16888 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.16889 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
15.16890 + hardcode_shlibpath_var_GCJ=no
15.16891 + ;;
15.16892 +
15.16893 + freebsd1*)
15.16894 + ld_shlibs_GCJ=no
15.16895 + ;;
15.16896 +
15.16897 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15.16898 + # support. Future versions do this automatically, but an explicit c++rt0.o
15.16899 + # does not break anything, and helps significantly (at the cost of a little
15.16900 + # extra space).
15.16901 + freebsd2.2*)
15.16902 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15.16903 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
15.16904 + hardcode_direct_GCJ=yes
15.16905 + hardcode_shlibpath_var_GCJ=no
15.16906 + ;;
15.16907 +
15.16908 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15.16909 + freebsd2*)
15.16910 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15.16911 + hardcode_direct_GCJ=yes
15.16912 + hardcode_minus_L_GCJ=yes
15.16913 + hardcode_shlibpath_var_GCJ=no
15.16914 + ;;
15.16915 +
15.16916 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15.16917 + freebsd* | kfreebsd*-gnu | dragonfly*)
15.16918 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15.16919 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
15.16920 + hardcode_direct_GCJ=yes
15.16921 + hardcode_shlibpath_var_GCJ=no
15.16922 + ;;
15.16923 +
15.16924 + hpux9*)
15.16925 + if test "$GCC" = yes; then
15.16926 + 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'
15.16927 + else
15.16928 + 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'
15.16929 + fi
15.16930 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15.16931 + hardcode_libdir_separator_GCJ=:
15.16932 + hardcode_direct_GCJ=yes
15.16933 +
15.16934 + # hardcode_minus_L: Not really in the search PATH,
15.16935 + # but as the default location of the library.
15.16936 + hardcode_minus_L_GCJ=yes
15.16937 + export_dynamic_flag_spec_GCJ='${wl}-E'
15.16938 + ;;
15.16939 +
15.16940 + hpux10* | hpux11*)
15.16941 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15.16942 + case $host_cpu in
15.16943 + hppa*64*|ia64*)
15.16944 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.16945 + ;;
15.16946 + *)
15.16947 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15.16948 + ;;
15.16949 + esac
15.16950 + else
15.16951 + case $host_cpu in
15.16952 + hppa*64*|ia64*)
15.16953 + archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15.16954 + ;;
15.16955 + *)
15.16956 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15.16957 + ;;
15.16958 + esac
15.16959 + fi
15.16960 + if test "$with_gnu_ld" = no; then
15.16961 + case $host_cpu in
15.16962 + hppa*64*)
15.16963 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15.16964 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15.16965 + hardcode_libdir_separator_GCJ=:
15.16966 + hardcode_direct_GCJ=no
15.16967 + hardcode_shlibpath_var_GCJ=no
15.16968 + ;;
15.16969 + ia64*)
15.16970 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
15.16971 + hardcode_direct_GCJ=no
15.16972 + hardcode_shlibpath_var_GCJ=no
15.16973 +
15.16974 + # hardcode_minus_L: Not really in the search PATH,
15.16975 + # but as the default location of the library.
15.16976 + hardcode_minus_L_GCJ=yes
15.16977 + ;;
15.16978 + *)
15.16979 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15.16980 + hardcode_libdir_separator_GCJ=:
15.16981 + hardcode_direct_GCJ=yes
15.16982 + export_dynamic_flag_spec_GCJ='${wl}-E'
15.16983 +
15.16984 + # hardcode_minus_L: Not really in the search PATH,
15.16985 + # but as the default location of the library.
15.16986 + hardcode_minus_L_GCJ=yes
15.16987 + ;;
15.16988 + esac
15.16989 + fi
15.16990 + ;;
15.16991 +
15.16992 + irix5* | irix6* | nonstopux*)
15.16993 + if test "$GCC" = yes; then
15.16994 + 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'
15.16995 + else
15.16996 + 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'
15.16997 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15.16998 + fi
15.16999 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15.17000 + hardcode_libdir_separator_GCJ=:
15.17001 + link_all_deplibs_GCJ=yes
15.17002 + ;;
15.17003 +
15.17004 + netbsd*)
15.17005 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15.17006 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15.17007 + else
15.17008 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15.17009 + fi
15.17010 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
15.17011 + hardcode_direct_GCJ=yes
15.17012 + hardcode_shlibpath_var_GCJ=no
15.17013 + ;;
15.17014 +
15.17015 + newsos6)
15.17016 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.17017 + hardcode_direct_GCJ=yes
15.17018 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15.17019 + hardcode_libdir_separator_GCJ=:
15.17020 + hardcode_shlibpath_var_GCJ=no
15.17021 + ;;
15.17022 +
15.17023 + openbsd*)
15.17024 + hardcode_direct_GCJ=yes
15.17025 + hardcode_shlibpath_var_GCJ=no
15.17026 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15.17027 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15.17028 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15.17029 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15.17030 + export_dynamic_flag_spec_GCJ='${wl}-E'
15.17031 + else
15.17032 + case $host_os in
15.17033 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15.17034 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15.17035 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
15.17036 + ;;
15.17037 + *)
15.17038 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15.17039 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15.17040 + ;;
15.17041 + esac
15.17042 + fi
15.17043 + ;;
15.17044 +
15.17045 + os2*)
15.17046 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
15.17047 + hardcode_minus_L_GCJ=yes
15.17048 + allow_undefined_flag_GCJ=unsupported
15.17049 + 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'
15.17050 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15.17051 + ;;
15.17052 +
15.17053 + osf3*)
15.17054 + if test "$GCC" = yes; then
15.17055 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
15.17056 + 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'
15.17057 + else
15.17058 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
15.17059 + 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'
15.17060 + fi
15.17061 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15.17062 + hardcode_libdir_separator_GCJ=:
15.17063 + ;;
15.17064 +
15.17065 + osf4* | osf5*) # as osf3* with the addition of -msym flag
15.17066 + if test "$GCC" = yes; then
15.17067 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
15.17068 + 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'
15.17069 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15.17070 + else
15.17071 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
15.17072 + 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'
15.17073 + 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~
15.17074 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15.17075 +
15.17076 + # Both c and cxx compiler support -rpath directly
15.17077 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
15.17078 + fi
15.17079 + hardcode_libdir_separator_GCJ=:
15.17080 + ;;
15.17081 +
15.17082 + sco3.2v5*)
15.17083 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.17084 + hardcode_shlibpath_var_GCJ=no
15.17085 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
15.17086 + runpath_var=LD_RUN_PATH
15.17087 + hardcode_runpath_var=yes
15.17088 + ;;
15.17089 +
15.17090 + solaris*)
15.17091 + no_undefined_flag_GCJ=' -z text'
15.17092 + if test "$GCC" = yes; then
15.17093 + wlarc='${wl}'
15.17094 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.17095 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.17096 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15.17097 + else
15.17098 + wlarc=''
15.17099 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.17100 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.17101 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15.17102 + fi
15.17103 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
15.17104 + hardcode_shlibpath_var_GCJ=no
15.17105 + case $host_os in
15.17106 + solaris2.[0-5] | solaris2.[0-5].*) ;;
15.17107 + *)
15.17108 + # The compiler driver will combine linker options so we
15.17109 + # cannot just pass the convience library names through
15.17110 + # without $wl, iff we do not link with $LD.
15.17111 + # Luckily, gcc supports the same syntax we need for Sun Studio.
15.17112 + # Supported since Solaris 2.6 (maybe 2.5.1?)
15.17113 + case $wlarc in
15.17114 + '')
15.17115 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
15.17116 + *)
15.17117 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15.17118 + esac ;;
15.17119 + esac
15.17120 + link_all_deplibs_GCJ=yes
15.17121 + ;;
15.17122 +
15.17123 + sunos4*)
15.17124 + if test "x$host_vendor" = xsequent; then
15.17125 + # Use $CC to link under sequent, because it throws in some extra .o
15.17126 + # files that make .init and .fini sections work.
15.17127 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15.17128 + else
15.17129 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15.17130 + fi
15.17131 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
15.17132 + hardcode_direct_GCJ=yes
15.17133 + hardcode_minus_L_GCJ=yes
15.17134 + hardcode_shlibpath_var_GCJ=no
15.17135 + ;;
15.17136 +
15.17137 + sysv4)
15.17138 + case $host_vendor in
15.17139 + sni)
15.17140 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.17141 + hardcode_direct_GCJ=yes # is this really true???
15.17142 + ;;
15.17143 + siemens)
15.17144 + ## LD is ld it makes a PLAMLIB
15.17145 + ## CC just makes a GrossModule.
15.17146 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15.17147 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
15.17148 + hardcode_direct_GCJ=no
15.17149 + ;;
15.17150 + motorola)
15.17151 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.17152 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
15.17153 + ;;
15.17154 + esac
15.17155 + runpath_var='LD_RUN_PATH'
15.17156 + hardcode_shlibpath_var_GCJ=no
15.17157 + ;;
15.17158 +
15.17159 + sysv4.3*)
15.17160 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.17161 + hardcode_shlibpath_var_GCJ=no
15.17162 + export_dynamic_flag_spec_GCJ='-Bexport'
15.17163 + ;;
15.17164 +
15.17165 + sysv4*MP*)
15.17166 + if test -d /usr/nec; then
15.17167 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.17168 + hardcode_shlibpath_var_GCJ=no
15.17169 + runpath_var=LD_RUN_PATH
15.17170 + hardcode_runpath_var=yes
15.17171 + ld_shlibs_GCJ=yes
15.17172 + fi
15.17173 + ;;
15.17174 +
15.17175 + sysv4.2uw2*)
15.17176 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15.17177 + hardcode_direct_GCJ=yes
15.17178 + hardcode_minus_L_GCJ=no
15.17179 + hardcode_shlibpath_var_GCJ=no
15.17180 + hardcode_runpath_var=yes
15.17181 + runpath_var=LD_RUN_PATH
15.17182 + ;;
15.17183 +
15.17184 + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
15.17185 + no_undefined_flag_GCJ='${wl}-z ${wl}text'
15.17186 + if test "$GCC" = yes; then
15.17187 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.17188 + else
15.17189 + archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15.17190 + fi
15.17191 + runpath_var='LD_RUN_PATH'
15.17192 + hardcode_shlibpath_var_GCJ=no
15.17193 + ;;
15.17194 +
15.17195 + sysv5*)
15.17196 + no_undefined_flag_GCJ=' -z text'
15.17197 + # $CC -shared without GNU ld will not create a library from C++
15.17198 + # object files and a static libstdc++, better avoid it by now
15.17199 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.17200 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15.17201 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15.17202 + hardcode_libdir_flag_spec_GCJ=
15.17203 + hardcode_shlibpath_var_GCJ=no
15.17204 + runpath_var='LD_RUN_PATH'
15.17205 + ;;
15.17206 +
15.17207 + uts4*)
15.17208 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15.17209 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
15.17210 + hardcode_shlibpath_var_GCJ=no
15.17211 + ;;
15.17212 +
15.17213 + *)
15.17214 + ld_shlibs_GCJ=no
15.17215 + ;;
15.17216 + esac
15.17217 + fi
15.17218 +
15.17219 +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
15.17220 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6
15.17221 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
15.17222 +
15.17223 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15.17224 +if test "$GCC" = yes; then
15.17225 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15.17226 +fi
15.17227 +
15.17228 +#
15.17229 +# Do we need to explicitly link libc?
15.17230 +#
15.17231 +case "x$archive_cmds_need_lc_GCJ" in
15.17232 +x|xyes)
15.17233 + # Assume -lc should be added
15.17234 + archive_cmds_need_lc_GCJ=yes
15.17235 +
15.17236 + if test "$enable_shared" = yes && test "$GCC" = yes; then
15.17237 + case $archive_cmds_GCJ in
15.17238 + *'~'*)
15.17239 + # FIXME: we may have to deal with multi-command sequences.
15.17240 + ;;
15.17241 + '$CC '*)
15.17242 + # Test whether the compiler implicitly links with -lc since on some
15.17243 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
15.17244 + # to ld, don't add -lc before -lgcc.
15.17245 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15.17246 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15.17247 + $rm conftest*
15.17248 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15.17249 +
15.17250 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.17251 + (eval $ac_compile) 2>&5
15.17252 + ac_status=$?
15.17253 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.17254 + (exit $ac_status); } 2>conftest.err; then
15.17255 + soname=conftest
15.17256 + lib=conftest
15.17257 + libobjs=conftest.$ac_objext
15.17258 + deplibs=
15.17259 + wl=$lt_prog_compiler_wl_GCJ
15.17260 + compiler_flags=-v
15.17261 + linker_flags=-v
15.17262 + verstring=
15.17263 + output_objdir=.
15.17264 + libname=conftest
15.17265 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
15.17266 + allow_undefined_flag_GCJ=
15.17267 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15.17268 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15.17269 + ac_status=$?
15.17270 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.17271 + (exit $ac_status); }
15.17272 + then
15.17273 + archive_cmds_need_lc_GCJ=no
15.17274 + else
15.17275 + archive_cmds_need_lc_GCJ=yes
15.17276 + fi
15.17277 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
15.17278 + else
15.17279 + cat conftest.err 1>&5
15.17280 + fi
15.17281 + $rm conftest*
15.17282 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
15.17283 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
15.17284 + ;;
15.17285 + esac
15.17286 + fi
15.17287 + ;;
15.17288 +esac
15.17289 +
15.17290 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15.17291 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15.17292 +library_names_spec=
15.17293 +libname_spec='lib$name'
15.17294 +soname_spec=
15.17295 +shrext_cmds=".so"
15.17296 +postinstall_cmds=
15.17297 +postuninstall_cmds=
15.17298 +finish_cmds=
15.17299 +finish_eval=
15.17300 +shlibpath_var=
15.17301 +shlibpath_overrides_runpath=unknown
15.17302 +version_type=none
15.17303 +dynamic_linker="$host_os ld.so"
15.17304 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
15.17305 +if test "$GCC" = yes; then
15.17306 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15.17307 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15.17308 + # if the path contains ";" then we assume it to be the separator
15.17309 + # otherwise default to the standard path separator (i.e. ":") - it is
15.17310 + # assumed that no part of a normal pathname contains ";" but that should
15.17311 + # okay in the real world where ";" in dirpaths is itself problematic.
15.17312 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15.17313 + else
15.17314 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15.17315 + fi
15.17316 +else
15.17317 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15.17318 +fi
15.17319 +need_lib_prefix=unknown
15.17320 +hardcode_into_libs=no
15.17321 +
15.17322 +# when you set need_version to no, make sure it does not cause -set_version
15.17323 +# flags to be left without arguments
15.17324 +need_version=unknown
15.17325 +
15.17326 +case $host_os in
15.17327 +aix3*)
15.17328 + version_type=linux
15.17329 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15.17330 + shlibpath_var=LIBPATH
15.17331 +
15.17332 + # AIX 3 has no versioning support, so we append a major version to the name.
15.17333 + soname_spec='${libname}${release}${shared_ext}$major'
15.17334 + ;;
15.17335 +
15.17336 +aix4* | aix5*)
15.17337 + version_type=linux
15.17338 + need_lib_prefix=no
15.17339 + need_version=no
15.17340 + hardcode_into_libs=yes
15.17341 + if test "$host_cpu" = ia64; then
15.17342 + # AIX 5 supports IA64
15.17343 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15.17344 + shlibpath_var=LD_LIBRARY_PATH
15.17345 + else
15.17346 + # With GCC up to 2.95.x, collect2 would create an import file
15.17347 + # for dependence libraries. The import file would start with
15.17348 + # the line `#! .'. This would cause the generated library to
15.17349 + # depend on `.', always an invalid library. This was fixed in
15.17350 + # development snapshots of GCC prior to 3.0.
15.17351 + case $host_os in
15.17352 + aix4 | aix4.[01] | aix4.[01].*)
15.17353 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15.17354 + echo ' yes '
15.17355 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15.17356 + :
15.17357 + else
15.17358 + can_build_shared=no
15.17359 + fi
15.17360 + ;;
15.17361 + esac
15.17362 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15.17363 + # soname into executable. Probably we can add versioning support to
15.17364 + # collect2, so additional links can be useful in future.
15.17365 + if test "$aix_use_runtimelinking" = yes; then
15.17366 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15.17367 + # instead of lib<name>.a to let people know that these are not
15.17368 + # typical AIX shared libraries.
15.17369 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17370 + else
15.17371 + # We preserve .a as extension for shared libraries through AIX4.2
15.17372 + # and later when we are not doing run time linking.
15.17373 + library_names_spec='${libname}${release}.a $libname.a'
15.17374 + soname_spec='${libname}${release}${shared_ext}$major'
15.17375 + fi
15.17376 + shlibpath_var=LIBPATH
15.17377 + fi
15.17378 + ;;
15.17379 +
15.17380 +amigaos*)
15.17381 + library_names_spec='$libname.ixlibrary $libname.a'
15.17382 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
15.17383 + 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'
15.17384 + ;;
15.17385 +
15.17386 +beos*)
15.17387 + library_names_spec='${libname}${shared_ext}'
15.17388 + dynamic_linker="$host_os ld.so"
15.17389 + shlibpath_var=LIBRARY_PATH
15.17390 + ;;
15.17391 +
15.17392 +bsdi[45]*)
15.17393 + version_type=linux
15.17394 + need_version=no
15.17395 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17396 + soname_spec='${libname}${release}${shared_ext}$major'
15.17397 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15.17398 + shlibpath_var=LD_LIBRARY_PATH
15.17399 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15.17400 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15.17401 + # the default ld.so.conf also contains /usr/contrib/lib and
15.17402 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15.17403 + # libtool to hard-code these into programs
15.17404 + ;;
15.17405 +
15.17406 +cygwin* | mingw* | pw32*)
15.17407 + version_type=windows
15.17408 + shrext_cmds=".dll"
15.17409 + need_version=no
15.17410 + need_lib_prefix=no
15.17411 +
15.17412 + case $GCC,$host_os in
15.17413 + yes,cygwin* | yes,mingw* | yes,pw32*)
15.17414 + library_names_spec='$libname.dll.a'
15.17415 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
15.17416 + postinstall_cmds='base_file=`basename \${file}`~
15.17417 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15.17418 + dldir=$destdir/`dirname \$dlpath`~
15.17419 + test -d \$dldir || mkdir -p \$dldir~
15.17420 + $install_prog $dir/$dlname \$dldir/$dlname~
15.17421 + chmod a+x \$dldir/$dlname'
15.17422 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15.17423 + dlpath=$dir/\$dldll~
15.17424 + $rm \$dlpath'
15.17425 + shlibpath_overrides_runpath=yes
15.17426 +
15.17427 + case $host_os in
15.17428 + cygwin*)
15.17429 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15.17430 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.17431 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15.17432 + ;;
15.17433 + mingw*)
15.17434 + # MinGW DLLs use traditional 'lib' prefix
15.17435 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.17436 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15.17437 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15.17438 + # It is most probably a Windows format PATH printed by
15.17439 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
15.17440 + # path with ; separators, and with drive letters. We can handle the
15.17441 + # drive letters (cygwin fileutils understands them), so leave them,
15.17442 + # especially as we might pass files found there to a mingw objdump,
15.17443 + # which wouldn't understand a cygwinified path. Ahh.
15.17444 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15.17445 + else
15.17446 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15.17447 + fi
15.17448 + ;;
15.17449 + pw32*)
15.17450 + # pw32 DLLs use 'pw' prefix rather than 'lib'
15.17451 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15.17452 + ;;
15.17453 + esac
15.17454 + ;;
15.17455 +
15.17456 + *)
15.17457 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15.17458 + ;;
15.17459 + esac
15.17460 + dynamic_linker='Win32 ld.exe'
15.17461 + # FIXME: first we should search . and the directory the executable is in
15.17462 + shlibpath_var=PATH
15.17463 + ;;
15.17464 +
15.17465 +darwin* | rhapsody*)
15.17466 + dynamic_linker="$host_os dyld"
15.17467 + version_type=darwin
15.17468 + need_lib_prefix=no
15.17469 + need_version=no
15.17470 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15.17471 + soname_spec='${libname}${release}${major}$shared_ext'
15.17472 + shlibpath_overrides_runpath=yes
15.17473 + shlibpath_var=DYLD_LIBRARY_PATH
15.17474 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15.17475 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15.17476 + if test "$GCC" = yes; then
15.17477 + 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"`
15.17478 + else
15.17479 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15.17480 + fi
15.17481 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15.17482 + ;;
15.17483 +
15.17484 +dgux*)
15.17485 + version_type=linux
15.17486 + need_lib_prefix=no
15.17487 + need_version=no
15.17488 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15.17489 + soname_spec='${libname}${release}${shared_ext}$major'
15.17490 + shlibpath_var=LD_LIBRARY_PATH
15.17491 + ;;
15.17492 +
15.17493 +freebsd1*)
15.17494 + dynamic_linker=no
15.17495 + ;;
15.17496 +
15.17497 +kfreebsd*-gnu)
15.17498 + version_type=linux
15.17499 + need_lib_prefix=no
15.17500 + need_version=no
15.17501 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.17502 + soname_spec='${libname}${release}${shared_ext}$major'
15.17503 + shlibpath_var=LD_LIBRARY_PATH
15.17504 + shlibpath_overrides_runpath=no
15.17505 + hardcode_into_libs=yes
15.17506 + dynamic_linker='GNU ld.so'
15.17507 + ;;
15.17508 +
15.17509 +freebsd* | dragonfly*)
15.17510 + # DragonFly does not have aout. When/if they implement a new
15.17511 + # versioning mechanism, adjust this.
15.17512 + if test -x /usr/bin/objformat; then
15.17513 + objformat=`/usr/bin/objformat`
15.17514 + else
15.17515 + case $host_os in
15.17516 + freebsd[123]*) objformat=aout ;;
15.17517 + *) objformat=elf ;;
15.17518 + esac
15.17519 + fi
15.17520 + version_type=freebsd-$objformat
15.17521 + case $version_type in
15.17522 + freebsd-elf*)
15.17523 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15.17524 + need_version=no
15.17525 + need_lib_prefix=no
15.17526 + ;;
15.17527 + freebsd-*)
15.17528 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15.17529 + need_version=yes
15.17530 + ;;
15.17531 + esac
15.17532 + shlibpath_var=LD_LIBRARY_PATH
15.17533 + case $host_os in
15.17534 + freebsd2*)
15.17535 + shlibpath_overrides_runpath=yes
15.17536 + ;;
15.17537 + freebsd3.[01]* | freebsdelf3.[01]*)
15.17538 + shlibpath_overrides_runpath=yes
15.17539 + hardcode_into_libs=yes
15.17540 + ;;
15.17541 + *) # from 3.2 on
15.17542 + shlibpath_overrides_runpath=no
15.17543 + hardcode_into_libs=yes
15.17544 + ;;
15.17545 + esac
15.17546 + ;;
15.17547 +
15.17548 +gnu*)
15.17549 + version_type=linux
15.17550 + need_lib_prefix=no
15.17551 + need_version=no
15.17552 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15.17553 + soname_spec='${libname}${release}${shared_ext}$major'
15.17554 + shlibpath_var=LD_LIBRARY_PATH
15.17555 + hardcode_into_libs=yes
15.17556 + ;;
15.17557 +
15.17558 +hpux9* | hpux10* | hpux11*)
15.17559 + # Give a soname corresponding to the major version so that dld.sl refuses to
15.17560 + # link against other versions.
15.17561 + version_type=sunos
15.17562 + need_lib_prefix=no
15.17563 + need_version=no
15.17564 + case $host_cpu in
15.17565 + ia64*)
15.17566 + shrext_cmds='.so'
15.17567 + hardcode_into_libs=yes
15.17568 + dynamic_linker="$host_os dld.so"
15.17569 + shlibpath_var=LD_LIBRARY_PATH
15.17570 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15.17571 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17572 + soname_spec='${libname}${release}${shared_ext}$major'
15.17573 + if test "X$HPUX_IA64_MODE" = X32; then
15.17574 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15.17575 + else
15.17576 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15.17577 + fi
15.17578 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15.17579 + ;;
15.17580 + hppa*64*)
15.17581 + shrext_cmds='.sl'
15.17582 + hardcode_into_libs=yes
15.17583 + dynamic_linker="$host_os dld.sl"
15.17584 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15.17585 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15.17586 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17587 + soname_spec='${libname}${release}${shared_ext}$major'
15.17588 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15.17589 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15.17590 + ;;
15.17591 + *)
15.17592 + shrext_cmds='.sl'
15.17593 + dynamic_linker="$host_os dld.sl"
15.17594 + shlibpath_var=SHLIB_PATH
15.17595 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15.17596 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17597 + soname_spec='${libname}${release}${shared_ext}$major'
15.17598 + ;;
15.17599 + esac
15.17600 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
15.17601 + postinstall_cmds='chmod 555 $lib'
15.17602 + ;;
15.17603 +
15.17604 +irix5* | irix6* | nonstopux*)
15.17605 + case $host_os in
15.17606 + nonstopux*) version_type=nonstopux ;;
15.17607 + *)
15.17608 + if test "$lt_cv_prog_gnu_ld" = yes; then
15.17609 + version_type=linux
15.17610 + else
15.17611 + version_type=irix
15.17612 + fi ;;
15.17613 + esac
15.17614 + need_lib_prefix=no
15.17615 + need_version=no
15.17616 + soname_spec='${libname}${release}${shared_ext}$major'
15.17617 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15.17618 + case $host_os in
15.17619 + irix5* | nonstopux*)
15.17620 + libsuff= shlibsuff=
15.17621 + ;;
15.17622 + *)
15.17623 + case $LD in # libtool.m4 will add one of these switches to LD
15.17624 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15.17625 + libsuff= shlibsuff= libmagic=32-bit;;
15.17626 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15.17627 + libsuff=32 shlibsuff=N32 libmagic=N32;;
15.17628 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15.17629 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
15.17630 + *) libsuff= shlibsuff= libmagic=never-match;;
15.17631 + esac
15.17632 + ;;
15.17633 + esac
15.17634 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15.17635 + shlibpath_overrides_runpath=no
15.17636 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15.17637 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15.17638 + hardcode_into_libs=yes
15.17639 + ;;
15.17640 +
15.17641 +# No shared lib support for Linux oldld, aout, or coff.
15.17642 +linux*oldld* | linux*aout* | linux*coff*)
15.17643 + dynamic_linker=no
15.17644 + ;;
15.17645 +
15.17646 +# This must be Linux ELF.
15.17647 +linux*)
15.17648 + version_type=linux
15.17649 + need_lib_prefix=no
15.17650 + need_version=no
15.17651 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17652 + soname_spec='${libname}${release}${shared_ext}$major'
15.17653 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15.17654 + shlibpath_var=LD_LIBRARY_PATH
15.17655 + shlibpath_overrides_runpath=no
15.17656 + # This implies no fast_install, which is unacceptable.
15.17657 + # Some rework will be needed to allow for fast_install
15.17658 + # before this can be enabled.
15.17659 + hardcode_into_libs=yes
15.17660 +
15.17661 + # Append ld.so.conf contents to the search path
15.17662 + if test -f /etc/ld.so.conf; then
15.17663 + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15.17664 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15.17665 + fi
15.17666 +
15.17667 + # We used to test for /lib/ld.so.1 and disable shared libraries on
15.17668 + # powerpc, because MkLinux only supported shared libraries with the
15.17669 + # GNU dynamic linker. Since this was broken with cross compilers,
15.17670 + # most powerpc-linux boxes support dynamic linking these days and
15.17671 + # people can always --disable-shared, the test was removed, and we
15.17672 + # assume the GNU/Linux dynamic linker is in use.
15.17673 + dynamic_linker='GNU/Linux ld.so'
15.17674 + ;;
15.17675 +
15.17676 +knetbsd*-gnu)
15.17677 + version_type=linux
15.17678 + need_lib_prefix=no
15.17679 + need_version=no
15.17680 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.17681 + soname_spec='${libname}${release}${shared_ext}$major'
15.17682 + shlibpath_var=LD_LIBRARY_PATH
15.17683 + shlibpath_overrides_runpath=no
15.17684 + hardcode_into_libs=yes
15.17685 + dynamic_linker='GNU ld.so'
15.17686 + ;;
15.17687 +
15.17688 +netbsd*)
15.17689 + version_type=sunos
15.17690 + need_lib_prefix=no
15.17691 + need_version=no
15.17692 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15.17693 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.17694 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15.17695 + dynamic_linker='NetBSD (a.out) ld.so'
15.17696 + else
15.17697 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15.17698 + soname_spec='${libname}${release}${shared_ext}$major'
15.17699 + dynamic_linker='NetBSD ld.elf_so'
15.17700 + fi
15.17701 + shlibpath_var=LD_LIBRARY_PATH
15.17702 + shlibpath_overrides_runpath=yes
15.17703 + hardcode_into_libs=yes
15.17704 + ;;
15.17705 +
15.17706 +newsos6)
15.17707 + version_type=linux
15.17708 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17709 + shlibpath_var=LD_LIBRARY_PATH
15.17710 + shlibpath_overrides_runpath=yes
15.17711 + ;;
15.17712 +
15.17713 +nto-qnx*)
15.17714 + version_type=linux
15.17715 + need_lib_prefix=no
15.17716 + need_version=no
15.17717 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17718 + soname_spec='${libname}${release}${shared_ext}$major'
15.17719 + shlibpath_var=LD_LIBRARY_PATH
15.17720 + shlibpath_overrides_runpath=yes
15.17721 + ;;
15.17722 +
15.17723 +openbsd*)
15.17724 + version_type=sunos
15.17725 + need_lib_prefix=no
15.17726 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15.17727 + case $host_os in
15.17728 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15.17729 + *) need_version=no ;;
15.17730 + esac
15.17731 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.17732 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15.17733 + shlibpath_var=LD_LIBRARY_PATH
15.17734 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15.17735 + case $host_os in
15.17736 + openbsd2.[89] | openbsd2.[89].*)
15.17737 + shlibpath_overrides_runpath=no
15.17738 + ;;
15.17739 + *)
15.17740 + shlibpath_overrides_runpath=yes
15.17741 + ;;
15.17742 + esac
15.17743 + else
15.17744 + shlibpath_overrides_runpath=yes
15.17745 + fi
15.17746 + ;;
15.17747 +
15.17748 +os2*)
15.17749 + libname_spec='$name'
15.17750 + shrext_cmds=".dll"
15.17751 + need_lib_prefix=no
15.17752 + library_names_spec='$libname${shared_ext} $libname.a'
15.17753 + dynamic_linker='OS/2 ld.exe'
15.17754 + shlibpath_var=LIBPATH
15.17755 + ;;
15.17756 +
15.17757 +osf3* | osf4* | osf5*)
15.17758 + version_type=osf
15.17759 + need_lib_prefix=no
15.17760 + need_version=no
15.17761 + soname_spec='${libname}${release}${shared_ext}$major'
15.17762 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17763 + shlibpath_var=LD_LIBRARY_PATH
15.17764 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15.17765 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15.17766 + ;;
15.17767 +
15.17768 +sco3.2v5*)
15.17769 + version_type=osf
15.17770 + soname_spec='${libname}${release}${shared_ext}$major'
15.17771 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17772 + shlibpath_var=LD_LIBRARY_PATH
15.17773 + ;;
15.17774 +
15.17775 +solaris*)
15.17776 + version_type=linux
15.17777 + need_lib_prefix=no
15.17778 + need_version=no
15.17779 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17780 + soname_spec='${libname}${release}${shared_ext}$major'
15.17781 + shlibpath_var=LD_LIBRARY_PATH
15.17782 + shlibpath_overrides_runpath=yes
15.17783 + hardcode_into_libs=yes
15.17784 + # ldd complains unless libraries are executable
15.17785 + postinstall_cmds='chmod +x $lib'
15.17786 + ;;
15.17787 +
15.17788 +sunos4*)
15.17789 + version_type=sunos
15.17790 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15.17791 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15.17792 + shlibpath_var=LD_LIBRARY_PATH
15.17793 + shlibpath_overrides_runpath=yes
15.17794 + if test "$with_gnu_ld" = yes; then
15.17795 + need_lib_prefix=no
15.17796 + fi
15.17797 + need_version=yes
15.17798 + ;;
15.17799 +
15.17800 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15.17801 + version_type=linux
15.17802 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17803 + soname_spec='${libname}${release}${shared_ext}$major'
15.17804 + shlibpath_var=LD_LIBRARY_PATH
15.17805 + case $host_vendor in
15.17806 + sni)
15.17807 + shlibpath_overrides_runpath=no
15.17808 + need_lib_prefix=no
15.17809 + export_dynamic_flag_spec='${wl}-Blargedynsym'
15.17810 + runpath_var=LD_RUN_PATH
15.17811 + ;;
15.17812 + siemens)
15.17813 + need_lib_prefix=no
15.17814 + ;;
15.17815 + motorola)
15.17816 + need_lib_prefix=no
15.17817 + need_version=no
15.17818 + shlibpath_overrides_runpath=no
15.17819 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15.17820 + ;;
15.17821 + esac
15.17822 + ;;
15.17823 +
15.17824 +sysv4*MP*)
15.17825 + if test -d /usr/nec ;then
15.17826 + version_type=linux
15.17827 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15.17828 + soname_spec='$libname${shared_ext}.$major'
15.17829 + shlibpath_var=LD_LIBRARY_PATH
15.17830 + fi
15.17831 + ;;
15.17832 +
15.17833 +uts4*)
15.17834 + version_type=linux
15.17835 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15.17836 + soname_spec='${libname}${release}${shared_ext}$major'
15.17837 + shlibpath_var=LD_LIBRARY_PATH
15.17838 + ;;
15.17839 +
15.17840 +*)
15.17841 + dynamic_linker=no
15.17842 + ;;
15.17843 +esac
15.17844 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15.17845 +echo "${ECHO_T}$dynamic_linker" >&6
15.17846 +test "$dynamic_linker" = no && can_build_shared=no
15.17847 +
15.17848 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15.17849 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15.17850 +hardcode_action_GCJ=
15.17851 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
15.17852 + test -n "$runpath_var_GCJ" || \
15.17853 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
15.17854 +
15.17855 + # We can hardcode non-existant directories.
15.17856 + if test "$hardcode_direct_GCJ" != no &&
15.17857 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
15.17858 + # have to relink, otherwise we might link with an installed library
15.17859 + # when we should be linking with a yet-to-be-installed one
15.17860 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
15.17861 + test "$hardcode_minus_L_GCJ" != no; then
15.17862 + # Linking always hardcodes the temporary library directory.
15.17863 + hardcode_action_GCJ=relink
15.17864 + else
15.17865 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
15.17866 + hardcode_action_GCJ=immediate
15.17867 + fi
15.17868 +else
15.17869 + # We cannot hardcode anything, or else we can only hardcode existing
15.17870 + # directories.
15.17871 + hardcode_action_GCJ=unsupported
15.17872 +fi
15.17873 +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
15.17874 +echo "${ECHO_T}$hardcode_action_GCJ" >&6
15.17875 +
15.17876 +if test "$hardcode_action_GCJ" = relink; then
15.17877 + # Fast installation is not supported
15.17878 + enable_fast_install=no
15.17879 +elif test "$shlibpath_overrides_runpath" = yes ||
15.17880 + test "$enable_shared" = no; then
15.17881 + # Fast installation is not necessary
15.17882 + enable_fast_install=needless
15.17883 +fi
15.17884 +
15.17885 +striplib=
15.17886 +old_striplib=
15.17887 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15.17888 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15.17889 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15.17890 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15.17891 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15.17892 + echo "$as_me:$LINENO: result: yes" >&5
15.17893 +echo "${ECHO_T}yes" >&6
15.17894 +else
15.17895 +# FIXME - insert some real tests, host_os isn't really good enough
15.17896 + case $host_os in
15.17897 + darwin*)
15.17898 + if test -n "$STRIP" ; then
15.17899 + striplib="$STRIP -x"
15.17900 + echo "$as_me:$LINENO: result: yes" >&5
15.17901 +echo "${ECHO_T}yes" >&6
15.17902 + else
15.17903 + echo "$as_me:$LINENO: result: no" >&5
15.17904 +echo "${ECHO_T}no" >&6
15.17905 +fi
15.17906 + ;;
15.17907 + *)
15.17908 + echo "$as_me:$LINENO: result: no" >&5
15.17909 +echo "${ECHO_T}no" >&6
15.17910 + ;;
15.17911 + esac
15.17912 +fi
15.17913 +
15.17914 +if test "x$enable_dlopen" != xyes; then
15.17915 + enable_dlopen=unknown
15.17916 + enable_dlopen_self=unknown
15.17917 + enable_dlopen_self_static=unknown
15.17918 +else
15.17919 + lt_cv_dlopen=no
15.17920 + lt_cv_dlopen_libs=
15.17921 +
15.17922 + case $host_os in
15.17923 + beos*)
15.17924 + lt_cv_dlopen="load_add_on"
15.17925 + lt_cv_dlopen_libs=
15.17926 + lt_cv_dlopen_self=yes
15.17927 + ;;
15.17928 +
15.17929 + mingw* | pw32*)
15.17930 + lt_cv_dlopen="LoadLibrary"
15.17931 + lt_cv_dlopen_libs=
15.17932 + ;;
15.17933 +
15.17934 + cygwin*)
15.17935 + lt_cv_dlopen="dlopen"
15.17936 + lt_cv_dlopen_libs=
15.17937 + ;;
15.17938 +
15.17939 + darwin*)
15.17940 + # if libdl is installed we need to link against it
15.17941 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15.17942 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15.17943 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15.17944 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.17945 +else
15.17946 + ac_check_lib_save_LIBS=$LIBS
15.17947 +LIBS="-ldl $LIBS"
15.17948 +cat >conftest.$ac_ext <<_ACEOF
15.17949 +/* confdefs.h. */
15.17950 +_ACEOF
15.17951 +cat confdefs.h >>conftest.$ac_ext
15.17952 +cat >>conftest.$ac_ext <<_ACEOF
15.17953 +/* end confdefs.h. */
15.17954 +
15.17955 +/* Override any gcc2 internal prototype to avoid an error. */
15.17956 +#ifdef __cplusplus
15.17957 +extern "C"
15.17958 +#endif
15.17959 +/* We use char because int might match the return type of a gcc2
15.17960 + builtin and then its argument prototype would still apply. */
15.17961 +char dlopen ();
15.17962 +int
15.17963 +main ()
15.17964 +{
15.17965 +dlopen ();
15.17966 + ;
15.17967 + return 0;
15.17968 +}
15.17969 +_ACEOF
15.17970 +rm -f conftest.$ac_objext conftest$ac_exeext
15.17971 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.17972 + (eval $ac_link) 2>conftest.er1
15.17973 + ac_status=$?
15.17974 + grep -v '^ *+' conftest.er1 >conftest.err
15.17975 + rm -f conftest.er1
15.17976 + cat conftest.err >&5
15.17977 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.17978 + (exit $ac_status); } &&
15.17979 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.17980 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.17981 + (eval $ac_try) 2>&5
15.17982 + ac_status=$?
15.17983 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.17984 + (exit $ac_status); }; } &&
15.17985 + { ac_try='test -s conftest$ac_exeext'
15.17986 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.17987 + (eval $ac_try) 2>&5
15.17988 + ac_status=$?
15.17989 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.17990 + (exit $ac_status); }; }; then
15.17991 + ac_cv_lib_dl_dlopen=yes
15.17992 +else
15.17993 + echo "$as_me: failed program was:" >&5
15.17994 +sed 's/^/| /' conftest.$ac_ext >&5
15.17995 +
15.17996 +ac_cv_lib_dl_dlopen=no
15.17997 +fi
15.17998 +rm -f conftest.err conftest.$ac_objext \
15.17999 + conftest$ac_exeext conftest.$ac_ext
15.18000 +LIBS=$ac_check_lib_save_LIBS
15.18001 +fi
15.18002 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15.18003 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15.18004 +if test $ac_cv_lib_dl_dlopen = yes; then
15.18005 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15.18006 +else
15.18007 +
15.18008 + lt_cv_dlopen="dyld"
15.18009 + lt_cv_dlopen_libs=
15.18010 + lt_cv_dlopen_self=yes
15.18011 +
15.18012 +fi
15.18013 +
15.18014 + ;;
15.18015 +
15.18016 + *)
15.18017 + echo "$as_me:$LINENO: checking for shl_load" >&5
15.18018 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
15.18019 +if test "${ac_cv_func_shl_load+set}" = set; then
15.18020 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.18021 +else
15.18022 + cat >conftest.$ac_ext <<_ACEOF
15.18023 +/* confdefs.h. */
15.18024 +_ACEOF
15.18025 +cat confdefs.h >>conftest.$ac_ext
15.18026 +cat >>conftest.$ac_ext <<_ACEOF
15.18027 +/* end confdefs.h. */
15.18028 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15.18029 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
15.18030 +#define shl_load innocuous_shl_load
15.18031 +
15.18032 +/* System header to define __stub macros and hopefully few prototypes,
15.18033 + which can conflict with char shl_load (); below.
15.18034 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.18035 + <limits.h> exists even on freestanding compilers. */
15.18036 +
15.18037 +#ifdef __STDC__
15.18038 +# include <limits.h>
15.18039 +#else
15.18040 +# include <assert.h>
15.18041 +#endif
15.18042 +
15.18043 +#undef shl_load
15.18044 +
15.18045 +/* Override any gcc2 internal prototype to avoid an error. */
15.18046 +#ifdef __cplusplus
15.18047 +extern "C"
15.18048 +{
15.18049 +#endif
15.18050 +/* We use char because int might match the return type of a gcc2
15.18051 + builtin and then its argument prototype would still apply. */
15.18052 +char shl_load ();
15.18053 +/* The GNU C library defines this for functions which it implements
15.18054 + to always fail with ENOSYS. Some functions are actually named
15.18055 + something starting with __ and the normal name is an alias. */
15.18056 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
15.18057 +choke me
15.18058 +#else
15.18059 +char (*f) () = shl_load;
15.18060 +#endif
15.18061 +#ifdef __cplusplus
15.18062 +}
15.18063 +#endif
15.18064 +
15.18065 +int
15.18066 +main ()
15.18067 +{
15.18068 +return f != shl_load;
15.18069 + ;
15.18070 + return 0;
15.18071 +}
15.18072 +_ACEOF
15.18073 +rm -f conftest.$ac_objext conftest$ac_exeext
15.18074 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.18075 + (eval $ac_link) 2>conftest.er1
15.18076 + ac_status=$?
15.18077 + grep -v '^ *+' conftest.er1 >conftest.err
15.18078 + rm -f conftest.er1
15.18079 + cat conftest.err >&5
15.18080 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18081 + (exit $ac_status); } &&
15.18082 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.18083 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18084 + (eval $ac_try) 2>&5
15.18085 + ac_status=$?
15.18086 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18087 + (exit $ac_status); }; } &&
15.18088 + { ac_try='test -s conftest$ac_exeext'
15.18089 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18090 + (eval $ac_try) 2>&5
15.18091 + ac_status=$?
15.18092 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18093 + (exit $ac_status); }; }; then
15.18094 + ac_cv_func_shl_load=yes
15.18095 +else
15.18096 + echo "$as_me: failed program was:" >&5
15.18097 +sed 's/^/| /' conftest.$ac_ext >&5
15.18098 +
15.18099 +ac_cv_func_shl_load=no
15.18100 +fi
15.18101 +rm -f conftest.err conftest.$ac_objext \
15.18102 + conftest$ac_exeext conftest.$ac_ext
15.18103 +fi
15.18104 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15.18105 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
15.18106 +if test $ac_cv_func_shl_load = yes; then
15.18107 + lt_cv_dlopen="shl_load"
15.18108 +else
15.18109 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15.18110 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
15.18111 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15.18112 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.18113 +else
15.18114 + ac_check_lib_save_LIBS=$LIBS
15.18115 +LIBS="-ldld $LIBS"
15.18116 +cat >conftest.$ac_ext <<_ACEOF
15.18117 +/* confdefs.h. */
15.18118 +_ACEOF
15.18119 +cat confdefs.h >>conftest.$ac_ext
15.18120 +cat >>conftest.$ac_ext <<_ACEOF
15.18121 +/* end confdefs.h. */
15.18122 +
15.18123 +/* Override any gcc2 internal prototype to avoid an error. */
15.18124 +#ifdef __cplusplus
15.18125 +extern "C"
15.18126 +#endif
15.18127 +/* We use char because int might match the return type of a gcc2
15.18128 + builtin and then its argument prototype would still apply. */
15.18129 +char shl_load ();
15.18130 +int
15.18131 +main ()
15.18132 +{
15.18133 +shl_load ();
15.18134 + ;
15.18135 + return 0;
15.18136 +}
15.18137 +_ACEOF
15.18138 +rm -f conftest.$ac_objext conftest$ac_exeext
15.18139 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.18140 + (eval $ac_link) 2>conftest.er1
15.18141 + ac_status=$?
15.18142 + grep -v '^ *+' conftest.er1 >conftest.err
15.18143 + rm -f conftest.er1
15.18144 + cat conftest.err >&5
15.18145 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18146 + (exit $ac_status); } &&
15.18147 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.18148 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18149 + (eval $ac_try) 2>&5
15.18150 + ac_status=$?
15.18151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18152 + (exit $ac_status); }; } &&
15.18153 + { ac_try='test -s conftest$ac_exeext'
15.18154 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18155 + (eval $ac_try) 2>&5
15.18156 + ac_status=$?
15.18157 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18158 + (exit $ac_status); }; }; then
15.18159 + ac_cv_lib_dld_shl_load=yes
15.18160 +else
15.18161 + echo "$as_me: failed program was:" >&5
15.18162 +sed 's/^/| /' conftest.$ac_ext >&5
15.18163 +
15.18164 +ac_cv_lib_dld_shl_load=no
15.18165 +fi
15.18166 +rm -f conftest.err conftest.$ac_objext \
15.18167 + conftest$ac_exeext conftest.$ac_ext
15.18168 +LIBS=$ac_check_lib_save_LIBS
15.18169 +fi
15.18170 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15.18171 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
15.18172 +if test $ac_cv_lib_dld_shl_load = yes; then
15.18173 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15.18174 +else
15.18175 + echo "$as_me:$LINENO: checking for dlopen" >&5
15.18176 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
15.18177 +if test "${ac_cv_func_dlopen+set}" = set; then
15.18178 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.18179 +else
15.18180 + cat >conftest.$ac_ext <<_ACEOF
15.18181 +/* confdefs.h. */
15.18182 +_ACEOF
15.18183 +cat confdefs.h >>conftest.$ac_ext
15.18184 +cat >>conftest.$ac_ext <<_ACEOF
15.18185 +/* end confdefs.h. */
15.18186 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15.18187 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
15.18188 +#define dlopen innocuous_dlopen
15.18189 +
15.18190 +/* System header to define __stub macros and hopefully few prototypes,
15.18191 + which can conflict with char dlopen (); below.
15.18192 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.18193 + <limits.h> exists even on freestanding compilers. */
15.18194 +
15.18195 +#ifdef __STDC__
15.18196 +# include <limits.h>
15.18197 +#else
15.18198 +# include <assert.h>
15.18199 +#endif
15.18200 +
15.18201 +#undef dlopen
15.18202 +
15.18203 +/* Override any gcc2 internal prototype to avoid an error. */
15.18204 +#ifdef __cplusplus
15.18205 +extern "C"
15.18206 +{
15.18207 +#endif
15.18208 +/* We use char because int might match the return type of a gcc2
15.18209 + builtin and then its argument prototype would still apply. */
15.18210 +char dlopen ();
15.18211 +/* The GNU C library defines this for functions which it implements
15.18212 + to always fail with ENOSYS. Some functions are actually named
15.18213 + something starting with __ and the normal name is an alias. */
15.18214 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
15.18215 +choke me
15.18216 +#else
15.18217 +char (*f) () = dlopen;
15.18218 +#endif
15.18219 +#ifdef __cplusplus
15.18220 +}
15.18221 +#endif
15.18222 +
15.18223 +int
15.18224 +main ()
15.18225 +{
15.18226 +return f != dlopen;
15.18227 + ;
15.18228 + return 0;
15.18229 +}
15.18230 +_ACEOF
15.18231 +rm -f conftest.$ac_objext conftest$ac_exeext
15.18232 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.18233 + (eval $ac_link) 2>conftest.er1
15.18234 + ac_status=$?
15.18235 + grep -v '^ *+' conftest.er1 >conftest.err
15.18236 + rm -f conftest.er1
15.18237 + cat conftest.err >&5
15.18238 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18239 + (exit $ac_status); } &&
15.18240 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.18241 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18242 + (eval $ac_try) 2>&5
15.18243 + ac_status=$?
15.18244 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18245 + (exit $ac_status); }; } &&
15.18246 + { ac_try='test -s conftest$ac_exeext'
15.18247 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18248 + (eval $ac_try) 2>&5
15.18249 + ac_status=$?
15.18250 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18251 + (exit $ac_status); }; }; then
15.18252 + ac_cv_func_dlopen=yes
15.18253 +else
15.18254 + echo "$as_me: failed program was:" >&5
15.18255 +sed 's/^/| /' conftest.$ac_ext >&5
15.18256 +
15.18257 +ac_cv_func_dlopen=no
15.18258 +fi
15.18259 +rm -f conftest.err conftest.$ac_objext \
15.18260 + conftest$ac_exeext conftest.$ac_ext
15.18261 +fi
15.18262 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15.18263 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
15.18264 +if test $ac_cv_func_dlopen = yes; then
15.18265 + lt_cv_dlopen="dlopen"
15.18266 +else
15.18267 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15.18268 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15.18269 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15.18270 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.18271 +else
15.18272 + ac_check_lib_save_LIBS=$LIBS
15.18273 +LIBS="-ldl $LIBS"
15.18274 +cat >conftest.$ac_ext <<_ACEOF
15.18275 +/* confdefs.h. */
15.18276 +_ACEOF
15.18277 +cat confdefs.h >>conftest.$ac_ext
15.18278 +cat >>conftest.$ac_ext <<_ACEOF
15.18279 +/* end confdefs.h. */
15.18280 +
15.18281 +/* Override any gcc2 internal prototype to avoid an error. */
15.18282 +#ifdef __cplusplus
15.18283 +extern "C"
15.18284 +#endif
15.18285 +/* We use char because int might match the return type of a gcc2
15.18286 + builtin and then its argument prototype would still apply. */
15.18287 +char dlopen ();
15.18288 +int
15.18289 +main ()
15.18290 +{
15.18291 +dlopen ();
15.18292 + ;
15.18293 + return 0;
15.18294 +}
15.18295 +_ACEOF
15.18296 +rm -f conftest.$ac_objext conftest$ac_exeext
15.18297 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.18298 + (eval $ac_link) 2>conftest.er1
15.18299 + ac_status=$?
15.18300 + grep -v '^ *+' conftest.er1 >conftest.err
15.18301 + rm -f conftest.er1
15.18302 + cat conftest.err >&5
15.18303 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18304 + (exit $ac_status); } &&
15.18305 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.18306 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18307 + (eval $ac_try) 2>&5
15.18308 + ac_status=$?
15.18309 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18310 + (exit $ac_status); }; } &&
15.18311 + { ac_try='test -s conftest$ac_exeext'
15.18312 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18313 + (eval $ac_try) 2>&5
15.18314 + ac_status=$?
15.18315 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18316 + (exit $ac_status); }; }; then
15.18317 + ac_cv_lib_dl_dlopen=yes
15.18318 +else
15.18319 + echo "$as_me: failed program was:" >&5
15.18320 +sed 's/^/| /' conftest.$ac_ext >&5
15.18321 +
15.18322 +ac_cv_lib_dl_dlopen=no
15.18323 +fi
15.18324 +rm -f conftest.err conftest.$ac_objext \
15.18325 + conftest$ac_exeext conftest.$ac_ext
15.18326 +LIBS=$ac_check_lib_save_LIBS
15.18327 +fi
15.18328 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15.18329 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15.18330 +if test $ac_cv_lib_dl_dlopen = yes; then
15.18331 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15.18332 +else
15.18333 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15.18334 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
15.18335 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15.18336 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.18337 +else
15.18338 + ac_check_lib_save_LIBS=$LIBS
15.18339 +LIBS="-lsvld $LIBS"
15.18340 +cat >conftest.$ac_ext <<_ACEOF
15.18341 +/* confdefs.h. */
15.18342 +_ACEOF
15.18343 +cat confdefs.h >>conftest.$ac_ext
15.18344 +cat >>conftest.$ac_ext <<_ACEOF
15.18345 +/* end confdefs.h. */
15.18346 +
15.18347 +/* Override any gcc2 internal prototype to avoid an error. */
15.18348 +#ifdef __cplusplus
15.18349 +extern "C"
15.18350 +#endif
15.18351 +/* We use char because int might match the return type of a gcc2
15.18352 + builtin and then its argument prototype would still apply. */
15.18353 +char dlopen ();
15.18354 +int
15.18355 +main ()
15.18356 +{
15.18357 +dlopen ();
15.18358 + ;
15.18359 + return 0;
15.18360 +}
15.18361 +_ACEOF
15.18362 +rm -f conftest.$ac_objext conftest$ac_exeext
15.18363 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.18364 + (eval $ac_link) 2>conftest.er1
15.18365 + ac_status=$?
15.18366 + grep -v '^ *+' conftest.er1 >conftest.err
15.18367 + rm -f conftest.er1
15.18368 + cat conftest.err >&5
15.18369 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18370 + (exit $ac_status); } &&
15.18371 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.18372 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18373 + (eval $ac_try) 2>&5
15.18374 + ac_status=$?
15.18375 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18376 + (exit $ac_status); }; } &&
15.18377 + { ac_try='test -s conftest$ac_exeext'
15.18378 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18379 + (eval $ac_try) 2>&5
15.18380 + ac_status=$?
15.18381 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18382 + (exit $ac_status); }; }; then
15.18383 + ac_cv_lib_svld_dlopen=yes
15.18384 +else
15.18385 + echo "$as_me: failed program was:" >&5
15.18386 +sed 's/^/| /' conftest.$ac_ext >&5
15.18387 +
15.18388 +ac_cv_lib_svld_dlopen=no
15.18389 +fi
15.18390 +rm -f conftest.err conftest.$ac_objext \
15.18391 + conftest$ac_exeext conftest.$ac_ext
15.18392 +LIBS=$ac_check_lib_save_LIBS
15.18393 +fi
15.18394 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15.18395 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
15.18396 +if test $ac_cv_lib_svld_dlopen = yes; then
15.18397 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15.18398 +else
15.18399 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15.18400 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
15.18401 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15.18402 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.18403 +else
15.18404 + ac_check_lib_save_LIBS=$LIBS
15.18405 +LIBS="-ldld $LIBS"
15.18406 +cat >conftest.$ac_ext <<_ACEOF
15.18407 +/* confdefs.h. */
15.18408 +_ACEOF
15.18409 +cat confdefs.h >>conftest.$ac_ext
15.18410 +cat >>conftest.$ac_ext <<_ACEOF
15.18411 +/* end confdefs.h. */
15.18412 +
15.18413 +/* Override any gcc2 internal prototype to avoid an error. */
15.18414 +#ifdef __cplusplus
15.18415 +extern "C"
15.18416 +#endif
15.18417 +/* We use char because int might match the return type of a gcc2
15.18418 + builtin and then its argument prototype would still apply. */
15.18419 +char dld_link ();
15.18420 +int
15.18421 +main ()
15.18422 +{
15.18423 +dld_link ();
15.18424 + ;
15.18425 + return 0;
15.18426 +}
15.18427 +_ACEOF
15.18428 +rm -f conftest.$ac_objext conftest$ac_exeext
15.18429 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.18430 + (eval $ac_link) 2>conftest.er1
15.18431 + ac_status=$?
15.18432 + grep -v '^ *+' conftest.er1 >conftest.err
15.18433 + rm -f conftest.er1
15.18434 + cat conftest.err >&5
15.18435 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18436 + (exit $ac_status); } &&
15.18437 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.18438 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18439 + (eval $ac_try) 2>&5
15.18440 + ac_status=$?
15.18441 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18442 + (exit $ac_status); }; } &&
15.18443 + { ac_try='test -s conftest$ac_exeext'
15.18444 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.18445 + (eval $ac_try) 2>&5
15.18446 + ac_status=$?
15.18447 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18448 + (exit $ac_status); }; }; then
15.18449 + ac_cv_lib_dld_dld_link=yes
15.18450 +else
15.18451 + echo "$as_me: failed program was:" >&5
15.18452 +sed 's/^/| /' conftest.$ac_ext >&5
15.18453 +
15.18454 +ac_cv_lib_dld_dld_link=no
15.18455 +fi
15.18456 +rm -f conftest.err conftest.$ac_objext \
15.18457 + conftest$ac_exeext conftest.$ac_ext
15.18458 +LIBS=$ac_check_lib_save_LIBS
15.18459 +fi
15.18460 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15.18461 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15.18462 +if test $ac_cv_lib_dld_dld_link = yes; then
15.18463 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15.18464 +fi
15.18465 +
15.18466 +
15.18467 +fi
15.18468 +
15.18469 +
15.18470 +fi
15.18471 +
15.18472 +
15.18473 +fi
15.18474 +
15.18475 +
15.18476 +fi
15.18477 +
15.18478 +
15.18479 +fi
15.18480 +
15.18481 + ;;
15.18482 + esac
15.18483 +
15.18484 + if test "x$lt_cv_dlopen" != xno; then
15.18485 + enable_dlopen=yes
15.18486 + else
15.18487 + enable_dlopen=no
15.18488 + fi
15.18489 +
15.18490 + case $lt_cv_dlopen in
15.18491 + dlopen)
15.18492 + save_CPPFLAGS="$CPPFLAGS"
15.18493 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15.18494 +
15.18495 + save_LDFLAGS="$LDFLAGS"
15.18496 + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15.18497 +
15.18498 + save_LIBS="$LIBS"
15.18499 + LIBS="$lt_cv_dlopen_libs $LIBS"
15.18500 +
15.18501 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15.18502 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15.18503 +if test "${lt_cv_dlopen_self+set}" = set; then
15.18504 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.18505 +else
15.18506 + if test "$cross_compiling" = yes; then :
15.18507 + lt_cv_dlopen_self=cross
15.18508 +else
15.18509 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15.18510 + lt_status=$lt_dlunknown
15.18511 + cat > conftest.$ac_ext <<EOF
15.18512 +#line 18509 "configure"
15.18513 +#include "confdefs.h"
15.18514 +
15.18515 +#if HAVE_DLFCN_H
15.18516 +#include <dlfcn.h>
15.18517 +#endif
15.18518 +
15.18519 +#include <stdio.h>
15.18520 +
15.18521 +#ifdef RTLD_GLOBAL
15.18522 +# define LT_DLGLOBAL RTLD_GLOBAL
15.18523 +#else
15.18524 +# ifdef DL_GLOBAL
15.18525 +# define LT_DLGLOBAL DL_GLOBAL
15.18526 +# else
15.18527 +# define LT_DLGLOBAL 0
15.18528 +# endif
15.18529 +#endif
15.18530 +
15.18531 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15.18532 + find out it does not work in some platform. */
15.18533 +#ifndef LT_DLLAZY_OR_NOW
15.18534 +# ifdef RTLD_LAZY
15.18535 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
15.18536 +# else
15.18537 +# ifdef DL_LAZY
15.18538 +# define LT_DLLAZY_OR_NOW DL_LAZY
15.18539 +# else
15.18540 +# ifdef RTLD_NOW
15.18541 +# define LT_DLLAZY_OR_NOW RTLD_NOW
15.18542 +# else
15.18543 +# ifdef DL_NOW
15.18544 +# define LT_DLLAZY_OR_NOW DL_NOW
15.18545 +# else
15.18546 +# define LT_DLLAZY_OR_NOW 0
15.18547 +# endif
15.18548 +# endif
15.18549 +# endif
15.18550 +# endif
15.18551 +#endif
15.18552 +
15.18553 +#ifdef __cplusplus
15.18554 +extern "C" void exit (int);
15.18555 +#endif
15.18556 +
15.18557 +void fnord() { int i=42;}
15.18558 +int main ()
15.18559 +{
15.18560 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15.18561 + int status = $lt_dlunknown;
15.18562 +
15.18563 + if (self)
15.18564 + {
15.18565 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15.18566 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15.18567 + /* dlclose (self); */
15.18568 + }
15.18569 +
15.18570 + exit (status);
15.18571 +}
15.18572 +EOF
15.18573 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.18574 + (eval $ac_link) 2>&5
15.18575 + ac_status=$?
15.18576 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18577 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15.18578 + (./conftest; exit; ) >&5 2>/dev/null
15.18579 + lt_status=$?
15.18580 + case x$lt_status in
15.18581 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15.18582 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15.18583 + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
15.18584 + esac
15.18585 + else :
15.18586 + # compilation failed
15.18587 + lt_cv_dlopen_self=no
15.18588 + fi
15.18589 +fi
15.18590 +rm -fr conftest*
15.18591 +
15.18592 +
15.18593 +fi
15.18594 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15.18595 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15.18596 +
15.18597 + if test "x$lt_cv_dlopen_self" = xyes; then
15.18598 + LDFLAGS="$LDFLAGS $link_static_flag"
15.18599 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15.18600 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15.18601 +if test "${lt_cv_dlopen_self_static+set}" = set; then
15.18602 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.18603 +else
15.18604 + if test "$cross_compiling" = yes; then :
15.18605 + lt_cv_dlopen_self_static=cross
15.18606 +else
15.18607 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15.18608 + lt_status=$lt_dlunknown
15.18609 + cat > conftest.$ac_ext <<EOF
15.18610 +#line 18607 "configure"
15.18611 +#include "confdefs.h"
15.18612 +
15.18613 +#if HAVE_DLFCN_H
15.18614 +#include <dlfcn.h>
15.18615 +#endif
15.18616 +
15.18617 +#include <stdio.h>
15.18618 +
15.18619 +#ifdef RTLD_GLOBAL
15.18620 +# define LT_DLGLOBAL RTLD_GLOBAL
15.18621 +#else
15.18622 +# ifdef DL_GLOBAL
15.18623 +# define LT_DLGLOBAL DL_GLOBAL
15.18624 +# else
15.18625 +# define LT_DLGLOBAL 0
15.18626 +# endif
15.18627 +#endif
15.18628 +
15.18629 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15.18630 + find out it does not work in some platform. */
15.18631 +#ifndef LT_DLLAZY_OR_NOW
15.18632 +# ifdef RTLD_LAZY
15.18633 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
15.18634 +# else
15.18635 +# ifdef DL_LAZY
15.18636 +# define LT_DLLAZY_OR_NOW DL_LAZY
15.18637 +# else
15.18638 +# ifdef RTLD_NOW
15.18639 +# define LT_DLLAZY_OR_NOW RTLD_NOW
15.18640 +# else
15.18641 +# ifdef DL_NOW
15.18642 +# define LT_DLLAZY_OR_NOW DL_NOW
15.18643 +# else
15.18644 +# define LT_DLLAZY_OR_NOW 0
15.18645 +# endif
15.18646 +# endif
15.18647 +# endif
15.18648 +# endif
15.18649 +#endif
15.18650 +
15.18651 +#ifdef __cplusplus
15.18652 +extern "C" void exit (int);
15.18653 +#endif
15.18654 +
15.18655 +void fnord() { int i=42;}
15.18656 +int main ()
15.18657 +{
15.18658 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15.18659 + int status = $lt_dlunknown;
15.18660 +
15.18661 + if (self)
15.18662 + {
15.18663 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15.18664 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15.18665 + /* dlclose (self); */
15.18666 + }
15.18667 +
15.18668 + exit (status);
15.18669 +}
15.18670 +EOF
15.18671 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.18672 + (eval $ac_link) 2>&5
15.18673 + ac_status=$?
15.18674 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.18675 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15.18676 + (./conftest; exit; ) >&5 2>/dev/null
15.18677 + lt_status=$?
15.18678 + case x$lt_status in
15.18679 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15.18680 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15.18681 + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
15.18682 + esac
15.18683 + else :
15.18684 + # compilation failed
15.18685 + lt_cv_dlopen_self_static=no
15.18686 + fi
15.18687 +fi
15.18688 +rm -fr conftest*
15.18689 +
15.18690 +
15.18691 +fi
15.18692 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15.18693 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15.18694 + fi
15.18695 +
15.18696 + CPPFLAGS="$save_CPPFLAGS"
15.18697 + LDFLAGS="$save_LDFLAGS"
15.18698 + LIBS="$save_LIBS"
15.18699 + ;;
15.18700 + esac
15.18701 +
15.18702 + case $lt_cv_dlopen_self in
15.18703 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15.18704 + *) enable_dlopen_self=unknown ;;
15.18705 + esac
15.18706 +
15.18707 + case $lt_cv_dlopen_self_static in
15.18708 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15.18709 + *) enable_dlopen_self_static=unknown ;;
15.18710 + esac
15.18711 +fi
15.18712 +
15.18713 +
15.18714 +# The else clause should only fire when bootstrapping the
15.18715 +# libtool distribution, otherwise you forgot to ship ltmain.sh
15.18716 +# with your package, and you will get complaints that there are
15.18717 +# no rules to generate ltmain.sh.
15.18718 +if test -f "$ltmain"; then
15.18719 + # See if we are running on zsh, and set the options which allow our commands through
15.18720 + # without removal of \ escapes.
15.18721 + if test -n "${ZSH_VERSION+set}" ; then
15.18722 + setopt NO_GLOB_SUBST
15.18723 + fi
15.18724 + # Now quote all the things that may contain metacharacters while being
15.18725 + # careful not to overquote the AC_SUBSTed values. We take copies of the
15.18726 + # variables and quote the copies for generation of the libtool script.
15.18727 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15.18728 + SED SHELL STRIP \
15.18729 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15.18730 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15.18731 + deplibs_check_method reload_flag reload_cmds need_locks \
15.18732 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15.18733 + lt_cv_sys_global_symbol_to_c_name_address \
15.18734 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15.18735 + old_postinstall_cmds old_postuninstall_cmds \
15.18736 + compiler_GCJ \
15.18737 + CC_GCJ \
15.18738 + LD_GCJ \
15.18739 + lt_prog_compiler_wl_GCJ \
15.18740 + lt_prog_compiler_pic_GCJ \
15.18741 + lt_prog_compiler_static_GCJ \
15.18742 + lt_prog_compiler_no_builtin_flag_GCJ \
15.18743 + export_dynamic_flag_spec_GCJ \
15.18744 + thread_safe_flag_spec_GCJ \
15.18745 + whole_archive_flag_spec_GCJ \
15.18746 + enable_shared_with_static_runtimes_GCJ \
15.18747 + old_archive_cmds_GCJ \
15.18748 + old_archive_from_new_cmds_GCJ \
15.18749 + predep_objects_GCJ \
15.18750 + postdep_objects_GCJ \
15.18751 + predeps_GCJ \
15.18752 + postdeps_GCJ \
15.18753 + compiler_lib_search_path_GCJ \
15.18754 + archive_cmds_GCJ \
15.18755 + archive_expsym_cmds_GCJ \
15.18756 + postinstall_cmds_GCJ \
15.18757 + postuninstall_cmds_GCJ \
15.18758 + old_archive_from_expsyms_cmds_GCJ \
15.18759 + allow_undefined_flag_GCJ \
15.18760 + no_undefined_flag_GCJ \
15.18761 + export_symbols_cmds_GCJ \
15.18762 + hardcode_libdir_flag_spec_GCJ \
15.18763 + hardcode_libdir_flag_spec_ld_GCJ \
15.18764 + hardcode_libdir_separator_GCJ \
15.18765 + hardcode_automatic_GCJ \
15.18766 + module_cmds_GCJ \
15.18767 + module_expsym_cmds_GCJ \
15.18768 + lt_cv_prog_compiler_c_o_GCJ \
15.18769 + exclude_expsyms_GCJ \
15.18770 + include_expsyms_GCJ; do
15.18771 +
15.18772 + case $var in
15.18773 + old_archive_cmds_GCJ | \
15.18774 + old_archive_from_new_cmds_GCJ | \
15.18775 + archive_cmds_GCJ | \
15.18776 + archive_expsym_cmds_GCJ | \
15.18777 + module_cmds_GCJ | \
15.18778 + module_expsym_cmds_GCJ | \
15.18779 + old_archive_from_expsyms_cmds_GCJ | \
15.18780 + export_symbols_cmds_GCJ | \
15.18781 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
15.18782 + postinstall_cmds | postuninstall_cmds | \
15.18783 + old_postinstall_cmds | old_postuninstall_cmds | \
15.18784 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15.18785 + # Double-quote double-evaled strings.
15.18786 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15.18787 + ;;
15.18788 + *)
15.18789 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15.18790 + ;;
15.18791 + esac
15.18792 + done
15.18793 +
15.18794 + case $lt_echo in
15.18795 + *'\$0 --fallback-echo"')
15.18796 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15.18797 + ;;
15.18798 + esac
15.18799 +
15.18800 +cfgfile="$ofile"
15.18801 +
15.18802 + cat <<__EOF__ >> "$cfgfile"
15.18803 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15.18804 +
15.18805 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15.18806 +
15.18807 +# Shell to use when invoking shell scripts.
15.18808 +SHELL=$lt_SHELL
15.18809 +
15.18810 +# Whether or not to build shared libraries.
15.18811 +build_libtool_libs=$enable_shared
15.18812 +
15.18813 +# Whether or not to build static libraries.
15.18814 +build_old_libs=$enable_static
15.18815 +
15.18816 +# Whether or not to add -lc for building shared libraries.
15.18817 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
15.18818 +
15.18819 +# Whether or not to disallow shared libs when runtime libs are static
15.18820 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
15.18821 +
15.18822 +# Whether or not to optimize for fast installation.
15.18823 +fast_install=$enable_fast_install
15.18824 +
15.18825 +# The host system.
15.18826 +host_alias=$host_alias
15.18827 +host=$host
15.18828 +host_os=$host_os
15.18829 +
15.18830 +# The build system.
15.18831 +build_alias=$build_alias
15.18832 +build=$build
15.18833 +build_os=$build_os
15.18834 +
15.18835 +# An echo program that does not interpret backslashes.
15.18836 +echo=$lt_echo
15.18837 +
15.18838 +# The archiver.
15.18839 +AR=$lt_AR
15.18840 +AR_FLAGS=$lt_AR_FLAGS
15.18841 +
15.18842 +# A C compiler.
15.18843 +LTCC=$lt_LTCC
15.18844 +
15.18845 +# A language-specific compiler.
15.18846 +CC=$lt_compiler_GCJ
15.18847 +
15.18848 +# Is the compiler the GNU C compiler?
15.18849 +with_gcc=$GCC_GCJ
15.18850 +
15.18851 +# An ERE matcher.
15.18852 +EGREP=$lt_EGREP
15.18853 +
15.18854 +# The linker used to build libraries.
15.18855 +LD=$lt_LD_GCJ
15.18856 +
15.18857 +# Whether we need hard or soft links.
15.18858 +LN_S=$lt_LN_S
15.18859 +
15.18860 +# A BSD-compatible nm program.
15.18861 +NM=$lt_NM
15.18862 +
15.18863 +# A symbol stripping program
15.18864 +STRIP=$lt_STRIP
15.18865 +
15.18866 +# Used to examine libraries when file_magic_cmd begins "file"
15.18867 +MAGIC_CMD=$MAGIC_CMD
15.18868 +
15.18869 +# Used on cygwin: DLL creation program.
15.18870 +DLLTOOL="$DLLTOOL"
15.18871 +
15.18872 +# Used on cygwin: object dumper.
15.18873 +OBJDUMP="$OBJDUMP"
15.18874 +
15.18875 +# Used on cygwin: assembler.
15.18876 +AS="$AS"
15.18877 +
15.18878 +# The name of the directory that contains temporary libtool files.
15.18879 +objdir=$objdir
15.18880 +
15.18881 +# How to create reloadable object files.
15.18882 +reload_flag=$lt_reload_flag
15.18883 +reload_cmds=$lt_reload_cmds
15.18884 +
15.18885 +# How to pass a linker flag through the compiler.
15.18886 +wl=$lt_lt_prog_compiler_wl_GCJ
15.18887 +
15.18888 +# Object file suffix (normally "o").
15.18889 +objext="$ac_objext"
15.18890 +
15.18891 +# Old archive suffix (normally "a").
15.18892 +libext="$libext"
15.18893 +
15.18894 +# Shared library suffix (normally ".so").
15.18895 +shrext_cmds='$shrext_cmds'
15.18896 +
15.18897 +# Executable file suffix (normally "").
15.18898 +exeext="$exeext"
15.18899 +
15.18900 +# Additional compiler flags for building library objects.
15.18901 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
15.18902 +pic_mode=$pic_mode
15.18903 +
15.18904 +# What is the maximum length of a command?
15.18905 +max_cmd_len=$lt_cv_sys_max_cmd_len
15.18906 +
15.18907 +# Does compiler simultaneously support -c and -o options?
15.18908 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
15.18909 +
15.18910 +# Must we lock files when doing compilation?
15.18911 +need_locks=$lt_need_locks
15.18912 +
15.18913 +# Do we need the lib prefix for modules?
15.18914 +need_lib_prefix=$need_lib_prefix
15.18915 +
15.18916 +# Do we need a version for libraries?
15.18917 +need_version=$need_version
15.18918 +
15.18919 +# Whether dlopen is supported.
15.18920 +dlopen_support=$enable_dlopen
15.18921 +
15.18922 +# Whether dlopen of programs is supported.
15.18923 +dlopen_self=$enable_dlopen_self
15.18924 +
15.18925 +# Whether dlopen of statically linked programs is supported.
15.18926 +dlopen_self_static=$enable_dlopen_self_static
15.18927 +
15.18928 +# Compiler flag to prevent dynamic linking.
15.18929 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
15.18930 +
15.18931 +# Compiler flag to turn off builtin functions.
15.18932 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
15.18933 +
15.18934 +# Compiler flag to allow reflexive dlopens.
15.18935 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
15.18936 +
15.18937 +# Compiler flag to generate shared objects directly from archives.
15.18938 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
15.18939 +
15.18940 +# Compiler flag to generate thread-safe objects.
15.18941 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
15.18942 +
15.18943 +# Library versioning type.
15.18944 +version_type=$version_type
15.18945 +
15.18946 +# Format of library name prefix.
15.18947 +libname_spec=$lt_libname_spec
15.18948 +
15.18949 +# List of archive names. First name is the real one, the rest are links.
15.18950 +# The last name is the one that the linker finds with -lNAME.
15.18951 +library_names_spec=$lt_library_names_spec
15.18952 +
15.18953 +# The coded name of the library, if different from the real name.
15.18954 +soname_spec=$lt_soname_spec
15.18955 +
15.18956 +# Commands used to build and install an old-style archive.
15.18957 +RANLIB=$lt_RANLIB
15.18958 +old_archive_cmds=$lt_old_archive_cmds_GCJ
15.18959 +old_postinstall_cmds=$lt_old_postinstall_cmds
15.18960 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
15.18961 +
15.18962 +# Create an old-style archive from a shared archive.
15.18963 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
15.18964 +
15.18965 +# Create a temporary old-style archive to link instead of a shared archive.
15.18966 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
15.18967 +
15.18968 +# Commands used to build and install a shared archive.
15.18969 +archive_cmds=$lt_archive_cmds_GCJ
15.18970 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
15.18971 +postinstall_cmds=$lt_postinstall_cmds
15.18972 +postuninstall_cmds=$lt_postuninstall_cmds
15.18973 +
15.18974 +# Commands used to build a loadable module (assumed same as above if empty)
15.18975 +module_cmds=$lt_module_cmds_GCJ
15.18976 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
15.18977 +
15.18978 +# Commands to strip libraries.
15.18979 +old_striplib=$lt_old_striplib
15.18980 +striplib=$lt_striplib
15.18981 +
15.18982 +# Dependencies to place before the objects being linked to create a
15.18983 +# shared library.
15.18984 +predep_objects=$lt_predep_objects_GCJ
15.18985 +
15.18986 +# Dependencies to place after the objects being linked to create a
15.18987 +# shared library.
15.18988 +postdep_objects=$lt_postdep_objects_GCJ
15.18989 +
15.18990 +# Dependencies to place before the objects being linked to create a
15.18991 +# shared library.
15.18992 +predeps=$lt_predeps_GCJ
15.18993 +
15.18994 +# Dependencies to place after the objects being linked to create a
15.18995 +# shared library.
15.18996 +postdeps=$lt_postdeps_GCJ
15.18997 +
15.18998 +# The library search path used internally by the compiler when linking
15.18999 +# a shared library.
15.19000 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
15.19001 +
15.19002 +# Method to check whether dependent libraries are shared objects.
15.19003 +deplibs_check_method=$lt_deplibs_check_method
15.19004 +
15.19005 +# Command to use when deplibs_check_method == file_magic.
15.19006 +file_magic_cmd=$lt_file_magic_cmd
15.19007 +
15.19008 +# Flag that allows shared libraries with undefined symbols to be built.
15.19009 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
15.19010 +
15.19011 +# Flag that forces no undefined symbols.
15.19012 +no_undefined_flag=$lt_no_undefined_flag_GCJ
15.19013 +
15.19014 +# Commands used to finish a libtool library installation in a directory.
15.19015 +finish_cmds=$lt_finish_cmds
15.19016 +
15.19017 +# Same as above, but a single script fragment to be evaled but not shown.
15.19018 +finish_eval=$lt_finish_eval
15.19019 +
15.19020 +# Take the output of nm and produce a listing of raw symbols and C names.
15.19021 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15.19022 +
15.19023 +# Transform the output of nm in a proper C declaration
15.19024 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15.19025 +
15.19026 +# Transform the output of nm in a C name address pair
15.19027 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15.19028 +
15.19029 +# This is the shared library runtime path variable.
15.19030 +runpath_var=$runpath_var
15.19031 +
15.19032 +# This is the shared library path variable.
15.19033 +shlibpath_var=$shlibpath_var
15.19034 +
15.19035 +# Is shlibpath searched before the hard-coded library search path?
15.19036 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15.19037 +
15.19038 +# How to hardcode a shared library path into an executable.
15.19039 +hardcode_action=$hardcode_action_GCJ
15.19040 +
15.19041 +# Whether we should hardcode library paths into libraries.
15.19042 +hardcode_into_libs=$hardcode_into_libs
15.19043 +
15.19044 +# Flag to hardcode \$libdir into a binary during linking.
15.19045 +# This must work even if \$libdir does not exist.
15.19046 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
15.19047 +
15.19048 +# If ld is used when linking, flag to hardcode \$libdir into
15.19049 +# a binary during linking. This must work even if \$libdir does
15.19050 +# not exist.
15.19051 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
15.19052 +
15.19053 +# Whether we need a single -rpath flag with a separated argument.
15.19054 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
15.19055 +
15.19056 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15.19057 +# resulting binary.
15.19058 +hardcode_direct=$hardcode_direct_GCJ
15.19059 +
15.19060 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15.19061 +# resulting binary.
15.19062 +hardcode_minus_L=$hardcode_minus_L_GCJ
15.19063 +
15.19064 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15.19065 +# the resulting binary.
15.19066 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
15.19067 +
15.19068 +# Set to yes if building a shared library automatically hardcodes DIR into the library
15.19069 +# and all subsequent libraries and executables linked against it.
15.19070 +hardcode_automatic=$hardcode_automatic_GCJ
15.19071 +
15.19072 +# Variables whose values should be saved in libtool wrapper scripts and
15.19073 +# restored at relink time.
15.19074 +variables_saved_for_relink="$variables_saved_for_relink"
15.19075 +
15.19076 +# Whether libtool must link a program against all its dependency libraries.
15.19077 +link_all_deplibs=$link_all_deplibs_GCJ
15.19078 +
15.19079 +# Compile-time system search path for libraries
15.19080 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15.19081 +
15.19082 +# Run-time system search path for libraries
15.19083 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15.19084 +
15.19085 +# Fix the shell variable \$srcfile for the compiler.
15.19086 +fix_srcfile_path="$fix_srcfile_path_GCJ"
15.19087 +
15.19088 +# Set to yes if exported symbols are required.
15.19089 +always_export_symbols=$always_export_symbols_GCJ
15.19090 +
15.19091 +# The commands to list exported symbols.
15.19092 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
15.19093 +
15.19094 +# The commands to extract the exported symbol list from a shared archive.
15.19095 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
15.19096 +
15.19097 +# Symbols that should not be listed in the preloaded symbols.
15.19098 +exclude_expsyms=$lt_exclude_expsyms_GCJ
15.19099 +
15.19100 +# Symbols that must always be exported.
15.19101 +include_expsyms=$lt_include_expsyms_GCJ
15.19102 +
15.19103 +# ### END LIBTOOL TAG CONFIG: $tagname
15.19104 +
15.19105 +__EOF__
15.19106 +
15.19107 +
15.19108 +else
15.19109 + # If there is no Makefile yet, we rely on a make rule to execute
15.19110 + # `config.status --recheck' to rerun these tests and create the
15.19111 + # libtool script then.
15.19112 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15.19113 + if test -f "$ltmain_in"; then
15.19114 + test -f Makefile && make "$ltmain"
15.19115 + fi
15.19116 +fi
15.19117 +
15.19118 +
15.19119 +ac_ext=c
15.19120 +ac_cpp='$CPP $CPPFLAGS'
15.19121 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.19122 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.19123 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.19124 +
15.19125 +CC="$lt_save_CC"
15.19126 +
15.19127 + else
15.19128 + tagname=""
15.19129 + fi
15.19130 + ;;
15.19131 +
15.19132 + RC)
15.19133 +
15.19134 +
15.19135 +
15.19136 +# Source file extension for RC test sources.
15.19137 +ac_ext=rc
15.19138 +
15.19139 +# Object file extension for compiled RC test sources.
15.19140 +objext=o
15.19141 +objext_RC=$objext
15.19142 +
15.19143 +# Code to be used in simple compile tests
15.19144 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
15.19145 +
15.19146 +# Code to be used in simple link tests
15.19147 +lt_simple_link_test_code="$lt_simple_compile_test_code"
15.19148 +
15.19149 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15.19150 +
15.19151 +# If no C compiler was specified, use CC.
15.19152 +LTCC=${LTCC-"$CC"}
15.19153 +
15.19154 +# Allow CC to be a program name with arguments.
15.19155 +compiler=$CC
15.19156 +
15.19157 +
15.19158 +# save warnings/boilerplate of simple test code
15.19159 +ac_outfile=conftest.$ac_objext
15.19160 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15.19161 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15.19162 +_lt_compiler_boilerplate=`cat conftest.err`
15.19163 +$rm conftest*
15.19164 +
15.19165 +ac_outfile=conftest.$ac_objext
15.19166 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
15.19167 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15.19168 +_lt_linker_boilerplate=`cat conftest.err`
15.19169 +$rm conftest*
15.19170 +
15.19171 +
15.19172 +# Allow CC to be a program name with arguments.
15.19173 +lt_save_CC="$CC"
15.19174 +CC=${RC-"windres"}
15.19175 +compiler=$CC
15.19176 +compiler_RC=$CC
15.19177 +for cc_temp in $compiler""; do
15.19178 + case $cc_temp in
15.19179 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15.19180 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15.19181 + \-*) ;;
15.19182 + *) break;;
15.19183 + esac
15.19184 +done
15.19185 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15.19186 +
15.19187 +lt_cv_prog_compiler_c_o_RC=yes
15.19188 +
15.19189 +# The else clause should only fire when bootstrapping the
15.19190 +# libtool distribution, otherwise you forgot to ship ltmain.sh
15.19191 +# with your package, and you will get complaints that there are
15.19192 +# no rules to generate ltmain.sh.
15.19193 +if test -f "$ltmain"; then
15.19194 + # See if we are running on zsh, and set the options which allow our commands through
15.19195 + # without removal of \ escapes.
15.19196 + if test -n "${ZSH_VERSION+set}" ; then
15.19197 + setopt NO_GLOB_SUBST
15.19198 + fi
15.19199 + # Now quote all the things that may contain metacharacters while being
15.19200 + # careful not to overquote the AC_SUBSTed values. We take copies of the
15.19201 + # variables and quote the copies for generation of the libtool script.
15.19202 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15.19203 + SED SHELL STRIP \
15.19204 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15.19205 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15.19206 + deplibs_check_method reload_flag reload_cmds need_locks \
15.19207 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15.19208 + lt_cv_sys_global_symbol_to_c_name_address \
15.19209 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15.19210 + old_postinstall_cmds old_postuninstall_cmds \
15.19211 + compiler_RC \
15.19212 + CC_RC \
15.19213 + LD_RC \
15.19214 + lt_prog_compiler_wl_RC \
15.19215 + lt_prog_compiler_pic_RC \
15.19216 + lt_prog_compiler_static_RC \
15.19217 + lt_prog_compiler_no_builtin_flag_RC \
15.19218 + export_dynamic_flag_spec_RC \
15.19219 + thread_safe_flag_spec_RC \
15.19220 + whole_archive_flag_spec_RC \
15.19221 + enable_shared_with_static_runtimes_RC \
15.19222 + old_archive_cmds_RC \
15.19223 + old_archive_from_new_cmds_RC \
15.19224 + predep_objects_RC \
15.19225 + postdep_objects_RC \
15.19226 + predeps_RC \
15.19227 + postdeps_RC \
15.19228 + compiler_lib_search_path_RC \
15.19229 + archive_cmds_RC \
15.19230 + archive_expsym_cmds_RC \
15.19231 + postinstall_cmds_RC \
15.19232 + postuninstall_cmds_RC \
15.19233 + old_archive_from_expsyms_cmds_RC \
15.19234 + allow_undefined_flag_RC \
15.19235 + no_undefined_flag_RC \
15.19236 + export_symbols_cmds_RC \
15.19237 + hardcode_libdir_flag_spec_RC \
15.19238 + hardcode_libdir_flag_spec_ld_RC \
15.19239 + hardcode_libdir_separator_RC \
15.19240 + hardcode_automatic_RC \
15.19241 + module_cmds_RC \
15.19242 + module_expsym_cmds_RC \
15.19243 + lt_cv_prog_compiler_c_o_RC \
15.19244 + exclude_expsyms_RC \
15.19245 + include_expsyms_RC; do
15.19246 +
15.19247 + case $var in
15.19248 + old_archive_cmds_RC | \
15.19249 + old_archive_from_new_cmds_RC | \
15.19250 + archive_cmds_RC | \
15.19251 + archive_expsym_cmds_RC | \
15.19252 + module_cmds_RC | \
15.19253 + module_expsym_cmds_RC | \
15.19254 + old_archive_from_expsyms_cmds_RC | \
15.19255 + export_symbols_cmds_RC | \
15.19256 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
15.19257 + postinstall_cmds | postuninstall_cmds | \
15.19258 + old_postinstall_cmds | old_postuninstall_cmds | \
15.19259 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15.19260 + # Double-quote double-evaled strings.
15.19261 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15.19262 + ;;
15.19263 + *)
15.19264 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15.19265 + ;;
15.19266 + esac
15.19267 + done
15.19268 +
15.19269 + case $lt_echo in
15.19270 + *'\$0 --fallback-echo"')
15.19271 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15.19272 + ;;
15.19273 + esac
15.19274 +
15.19275 +cfgfile="$ofile"
15.19276 +
15.19277 + cat <<__EOF__ >> "$cfgfile"
15.19278 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15.19279 +
15.19280 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15.19281 +
15.19282 +# Shell to use when invoking shell scripts.
15.19283 +SHELL=$lt_SHELL
15.19284 +
15.19285 +# Whether or not to build shared libraries.
15.19286 +build_libtool_libs=$enable_shared
15.19287 +
15.19288 +# Whether or not to build static libraries.
15.19289 +build_old_libs=$enable_static
15.19290 +
15.19291 +# Whether or not to add -lc for building shared libraries.
15.19292 +build_libtool_need_lc=$archive_cmds_need_lc_RC
15.19293 +
15.19294 +# Whether or not to disallow shared libs when runtime libs are static
15.19295 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
15.19296 +
15.19297 +# Whether or not to optimize for fast installation.
15.19298 +fast_install=$enable_fast_install
15.19299 +
15.19300 +# The host system.
15.19301 +host_alias=$host_alias
15.19302 +host=$host
15.19303 +host_os=$host_os
15.19304 +
15.19305 +# The build system.
15.19306 +build_alias=$build_alias
15.19307 +build=$build
15.19308 +build_os=$build_os
15.19309 +
15.19310 +# An echo program that does not interpret backslashes.
15.19311 +echo=$lt_echo
15.19312 +
15.19313 +# The archiver.
15.19314 +AR=$lt_AR
15.19315 +AR_FLAGS=$lt_AR_FLAGS
15.19316 +
15.19317 +# A C compiler.
15.19318 +LTCC=$lt_LTCC
15.19319 +
15.19320 +# A language-specific compiler.
15.19321 +CC=$lt_compiler_RC
15.19322 +
15.19323 +# Is the compiler the GNU C compiler?
15.19324 +with_gcc=$GCC_RC
15.19325 +
15.19326 +# An ERE matcher.
15.19327 +EGREP=$lt_EGREP
15.19328 +
15.19329 +# The linker used to build libraries.
15.19330 +LD=$lt_LD_RC
15.19331 +
15.19332 +# Whether we need hard or soft links.
15.19333 +LN_S=$lt_LN_S
15.19334 +
15.19335 +# A BSD-compatible nm program.
15.19336 +NM=$lt_NM
15.19337 +
15.19338 +# A symbol stripping program
15.19339 +STRIP=$lt_STRIP
15.19340 +
15.19341 +# Used to examine libraries when file_magic_cmd begins "file"
15.19342 +MAGIC_CMD=$MAGIC_CMD
15.19343 +
15.19344 +# Used on cygwin: DLL creation program.
15.19345 +DLLTOOL="$DLLTOOL"
15.19346 +
15.19347 +# Used on cygwin: object dumper.
15.19348 +OBJDUMP="$OBJDUMP"
15.19349 +
15.19350 +# Used on cygwin: assembler.
15.19351 +AS="$AS"
15.19352 +
15.19353 +# The name of the directory that contains temporary libtool files.
15.19354 +objdir=$objdir
15.19355 +
15.19356 +# How to create reloadable object files.
15.19357 +reload_flag=$lt_reload_flag
15.19358 +reload_cmds=$lt_reload_cmds
15.19359 +
15.19360 +# How to pass a linker flag through the compiler.
15.19361 +wl=$lt_lt_prog_compiler_wl_RC
15.19362 +
15.19363 +# Object file suffix (normally "o").
15.19364 +objext="$ac_objext"
15.19365 +
15.19366 +# Old archive suffix (normally "a").
15.19367 +libext="$libext"
15.19368 +
15.19369 +# Shared library suffix (normally ".so").
15.19370 +shrext_cmds='$shrext_cmds'
15.19371 +
15.19372 +# Executable file suffix (normally "").
15.19373 +exeext="$exeext"
15.19374 +
15.19375 +# Additional compiler flags for building library objects.
15.19376 +pic_flag=$lt_lt_prog_compiler_pic_RC
15.19377 +pic_mode=$pic_mode
15.19378 +
15.19379 +# What is the maximum length of a command?
15.19380 +max_cmd_len=$lt_cv_sys_max_cmd_len
15.19381 +
15.19382 +# Does compiler simultaneously support -c and -o options?
15.19383 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
15.19384 +
15.19385 +# Must we lock files when doing compilation?
15.19386 +need_locks=$lt_need_locks
15.19387 +
15.19388 +# Do we need the lib prefix for modules?
15.19389 +need_lib_prefix=$need_lib_prefix
15.19390 +
15.19391 +# Do we need a version for libraries?
15.19392 +need_version=$need_version
15.19393 +
15.19394 +# Whether dlopen is supported.
15.19395 +dlopen_support=$enable_dlopen
15.19396 +
15.19397 +# Whether dlopen of programs is supported.
15.19398 +dlopen_self=$enable_dlopen_self
15.19399 +
15.19400 +# Whether dlopen of statically linked programs is supported.
15.19401 +dlopen_self_static=$enable_dlopen_self_static
15.19402 +
15.19403 +# Compiler flag to prevent dynamic linking.
15.19404 +link_static_flag=$lt_lt_prog_compiler_static_RC
15.19405 +
15.19406 +# Compiler flag to turn off builtin functions.
15.19407 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
15.19408 +
15.19409 +# Compiler flag to allow reflexive dlopens.
15.19410 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
15.19411 +
15.19412 +# Compiler flag to generate shared objects directly from archives.
15.19413 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
15.19414 +
15.19415 +# Compiler flag to generate thread-safe objects.
15.19416 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
15.19417 +
15.19418 +# Library versioning type.
15.19419 +version_type=$version_type
15.19420 +
15.19421 +# Format of library name prefix.
15.19422 +libname_spec=$lt_libname_spec
15.19423 +
15.19424 +# List of archive names. First name is the real one, the rest are links.
15.19425 +# The last name is the one that the linker finds with -lNAME.
15.19426 +library_names_spec=$lt_library_names_spec
15.19427 +
15.19428 +# The coded name of the library, if different from the real name.
15.19429 +soname_spec=$lt_soname_spec
15.19430 +
15.19431 +# Commands used to build and install an old-style archive.
15.19432 +RANLIB=$lt_RANLIB
15.19433 +old_archive_cmds=$lt_old_archive_cmds_RC
15.19434 +old_postinstall_cmds=$lt_old_postinstall_cmds
15.19435 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
15.19436 +
15.19437 +# Create an old-style archive from a shared archive.
15.19438 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
15.19439 +
15.19440 +# Create a temporary old-style archive to link instead of a shared archive.
15.19441 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
15.19442 +
15.19443 +# Commands used to build and install a shared archive.
15.19444 +archive_cmds=$lt_archive_cmds_RC
15.19445 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
15.19446 +postinstall_cmds=$lt_postinstall_cmds
15.19447 +postuninstall_cmds=$lt_postuninstall_cmds
15.19448 +
15.19449 +# Commands used to build a loadable module (assumed same as above if empty)
15.19450 +module_cmds=$lt_module_cmds_RC
15.19451 +module_expsym_cmds=$lt_module_expsym_cmds_RC
15.19452 +
15.19453 +# Commands to strip libraries.
15.19454 +old_striplib=$lt_old_striplib
15.19455 +striplib=$lt_striplib
15.19456 +
15.19457 +# Dependencies to place before the objects being linked to create a
15.19458 +# shared library.
15.19459 +predep_objects=$lt_predep_objects_RC
15.19460 +
15.19461 +# Dependencies to place after the objects being linked to create a
15.19462 +# shared library.
15.19463 +postdep_objects=$lt_postdep_objects_RC
15.19464 +
15.19465 +# Dependencies to place before the objects being linked to create a
15.19466 +# shared library.
15.19467 +predeps=$lt_predeps_RC
15.19468 +
15.19469 +# Dependencies to place after the objects being linked to create a
15.19470 +# shared library.
15.19471 +postdeps=$lt_postdeps_RC
15.19472 +
15.19473 +# The library search path used internally by the compiler when linking
15.19474 +# a shared library.
15.19475 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
15.19476 +
15.19477 +# Method to check whether dependent libraries are shared objects.
15.19478 +deplibs_check_method=$lt_deplibs_check_method
15.19479 +
15.19480 +# Command to use when deplibs_check_method == file_magic.
15.19481 +file_magic_cmd=$lt_file_magic_cmd
15.19482 +
15.19483 +# Flag that allows shared libraries with undefined symbols to be built.
15.19484 +allow_undefined_flag=$lt_allow_undefined_flag_RC
15.19485 +
15.19486 +# Flag that forces no undefined symbols.
15.19487 +no_undefined_flag=$lt_no_undefined_flag_RC
15.19488 +
15.19489 +# Commands used to finish a libtool library installation in a directory.
15.19490 +finish_cmds=$lt_finish_cmds
15.19491 +
15.19492 +# Same as above, but a single script fragment to be evaled but not shown.
15.19493 +finish_eval=$lt_finish_eval
15.19494 +
15.19495 +# Take the output of nm and produce a listing of raw symbols and C names.
15.19496 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15.19497 +
15.19498 +# Transform the output of nm in a proper C declaration
15.19499 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15.19500 +
15.19501 +# Transform the output of nm in a C name address pair
15.19502 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15.19503 +
15.19504 +# This is the shared library runtime path variable.
15.19505 +runpath_var=$runpath_var
15.19506 +
15.19507 +# This is the shared library path variable.
15.19508 +shlibpath_var=$shlibpath_var
15.19509 +
15.19510 +# Is shlibpath searched before the hard-coded library search path?
15.19511 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15.19512 +
15.19513 +# How to hardcode a shared library path into an executable.
15.19514 +hardcode_action=$hardcode_action_RC
15.19515 +
15.19516 +# Whether we should hardcode library paths into libraries.
15.19517 +hardcode_into_libs=$hardcode_into_libs
15.19518 +
15.19519 +# Flag to hardcode \$libdir into a binary during linking.
15.19520 +# This must work even if \$libdir does not exist.
15.19521 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
15.19522 +
15.19523 +# If ld is used when linking, flag to hardcode \$libdir into
15.19524 +# a binary during linking. This must work even if \$libdir does
15.19525 +# not exist.
15.19526 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
15.19527 +
15.19528 +# Whether we need a single -rpath flag with a separated argument.
15.19529 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
15.19530 +
15.19531 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15.19532 +# resulting binary.
15.19533 +hardcode_direct=$hardcode_direct_RC
15.19534 +
15.19535 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15.19536 +# resulting binary.
15.19537 +hardcode_minus_L=$hardcode_minus_L_RC
15.19538 +
15.19539 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15.19540 +# the resulting binary.
15.19541 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
15.19542 +
15.19543 +# Set to yes if building a shared library automatically hardcodes DIR into the library
15.19544 +# and all subsequent libraries and executables linked against it.
15.19545 +hardcode_automatic=$hardcode_automatic_RC
15.19546 +
15.19547 +# Variables whose values should be saved in libtool wrapper scripts and
15.19548 +# restored at relink time.
15.19549 +variables_saved_for_relink="$variables_saved_for_relink"
15.19550 +
15.19551 +# Whether libtool must link a program against all its dependency libraries.
15.19552 +link_all_deplibs=$link_all_deplibs_RC
15.19553 +
15.19554 +# Compile-time system search path for libraries
15.19555 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15.19556 +
15.19557 +# Run-time system search path for libraries
15.19558 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15.19559 +
15.19560 +# Fix the shell variable \$srcfile for the compiler.
15.19561 +fix_srcfile_path="$fix_srcfile_path_RC"
15.19562 +
15.19563 +# Set to yes if exported symbols are required.
15.19564 +always_export_symbols=$always_export_symbols_RC
15.19565 +
15.19566 +# The commands to list exported symbols.
15.19567 +export_symbols_cmds=$lt_export_symbols_cmds_RC
15.19568 +
15.19569 +# The commands to extract the exported symbol list from a shared archive.
15.19570 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
15.19571 +
15.19572 +# Symbols that should not be listed in the preloaded symbols.
15.19573 +exclude_expsyms=$lt_exclude_expsyms_RC
15.19574 +
15.19575 +# Symbols that must always be exported.
15.19576 +include_expsyms=$lt_include_expsyms_RC
15.19577 +
15.19578 +# ### END LIBTOOL TAG CONFIG: $tagname
15.19579 +
15.19580 +__EOF__
15.19581 +
15.19582 +
15.19583 +else
15.19584 + # If there is no Makefile yet, we rely on a make rule to execute
15.19585 + # `config.status --recheck' to rerun these tests and create the
15.19586 + # libtool script then.
15.19587 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15.19588 + if test -f "$ltmain_in"; then
15.19589 + test -f Makefile && make "$ltmain"
15.19590 + fi
15.19591 +fi
15.19592 +
15.19593 +
15.19594 +ac_ext=c
15.19595 +ac_cpp='$CPP $CPPFLAGS'
15.19596 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.19597 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.19598 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.19599 +
15.19600 +CC="$lt_save_CC"
15.19601 +
15.19602 + ;;
15.19603 +
15.19604 + *)
15.19605 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
15.19606 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
15.19607 + { (exit 1); exit 1; }; }
15.19608 + ;;
15.19609 + esac
15.19610 +
15.19611 + # Append the new tag name to the list of available tags.
15.19612 + if test -n "$tagname" ; then
15.19613 + available_tags="$available_tags $tagname"
15.19614 + fi
15.19615 + fi
15.19616 + done
15.19617 + IFS="$lt_save_ifs"
15.19618 +
15.19619 + # Now substitute the updated list of available tags.
15.19620 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
15.19621 + mv "${ofile}T" "$ofile"
15.19622 + chmod +x "$ofile"
15.19623 + else
15.19624 + rm -f "${ofile}T"
15.19625 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
15.19626 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
15.19627 + { (exit 1); exit 1; }; }
15.19628 + fi
15.19629 +fi
15.19630 +
15.19631 +
15.19632 +
15.19633 +# This can be used to rebuild libtool when needed
15.19634 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
15.19635 +
15.19636 +# Always use our own libtool.
15.19637 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
15.19638 +
15.19639 +# Prevent multiple expansion
15.19640 +
15.19641 +
15.19642 +
15.19643 +
15.19644 +
15.19645 +
15.19646 +
15.19647 +
15.19648 +
15.19649 +
15.19650 +
15.19651 +
15.19652 +
15.19653 +
15.19654 +
15.19655 +
15.19656 +
15.19657 +
15.19658 +
15.19659 +
15.19660 +
15.19661 + ac_config_headers="$ac_config_headers config.h"
15.19662 +
15.19663 +
15.19664 +ACLOCAL_AMFLAGS="-I m4"
15.19665 +
15.19666 +
15.19667 +ac_ext=c
15.19668 +ac_cpp='$CPP $CPPFLAGS'
15.19669 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.19670 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.19671 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.19672 +if test -n "$ac_tool_prefix"; then
15.19673 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15.19674 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
15.19675 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.19676 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.19677 +if test "${ac_cv_prog_CC+set}" = set; then
15.19678 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.19679 +else
15.19680 + if test -n "$CC"; then
15.19681 + ac_cv_prog_CC="$CC" # Let the user override the test.
15.19682 +else
15.19683 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.19684 +for as_dir in $PATH
15.19685 +do
15.19686 + IFS=$as_save_IFS
15.19687 + test -z "$as_dir" && as_dir=.
15.19688 + for ac_exec_ext in '' $ac_executable_extensions; do
15.19689 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.19690 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
15.19691 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.19692 + break 2
15.19693 + fi
15.19694 +done
15.19695 +done
15.19696 +
15.19697 +fi
15.19698 +fi
15.19699 +CC=$ac_cv_prog_CC
15.19700 +if test -n "$CC"; then
15.19701 + echo "$as_me:$LINENO: result: $CC" >&5
15.19702 +echo "${ECHO_T}$CC" >&6
15.19703 +else
15.19704 + echo "$as_me:$LINENO: result: no" >&5
15.19705 +echo "${ECHO_T}no" >&6
15.19706 +fi
15.19707 +
15.19708 +fi
15.19709 +if test -z "$ac_cv_prog_CC"; then
15.19710 + ac_ct_CC=$CC
15.19711 + # Extract the first word of "gcc", so it can be a program name with args.
15.19712 +set dummy gcc; ac_word=$2
15.19713 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.19714 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.19715 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15.19716 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.19717 +else
15.19718 + if test -n "$ac_ct_CC"; then
15.19719 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15.19720 +else
15.19721 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.19722 +for as_dir in $PATH
15.19723 +do
15.19724 + IFS=$as_save_IFS
15.19725 + test -z "$as_dir" && as_dir=.
15.19726 + for ac_exec_ext in '' $ac_executable_extensions; do
15.19727 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.19728 + ac_cv_prog_ac_ct_CC="gcc"
15.19729 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.19730 + break 2
15.19731 + fi
15.19732 +done
15.19733 +done
15.19734 +
15.19735 +fi
15.19736 +fi
15.19737 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
15.19738 +if test -n "$ac_ct_CC"; then
15.19739 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15.19740 +echo "${ECHO_T}$ac_ct_CC" >&6
15.19741 +else
15.19742 + echo "$as_me:$LINENO: result: no" >&5
15.19743 +echo "${ECHO_T}no" >&6
15.19744 +fi
15.19745 +
15.19746 + CC=$ac_ct_CC
15.19747 +else
15.19748 + CC="$ac_cv_prog_CC"
15.19749 +fi
15.19750 +
15.19751 +if test -z "$CC"; then
15.19752 + if test -n "$ac_tool_prefix"; then
15.19753 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15.19754 +set dummy ${ac_tool_prefix}cc; ac_word=$2
15.19755 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.19756 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.19757 +if test "${ac_cv_prog_CC+set}" = set; then
15.19758 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.19759 +else
15.19760 + if test -n "$CC"; then
15.19761 + ac_cv_prog_CC="$CC" # Let the user override the test.
15.19762 +else
15.19763 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.19764 +for as_dir in $PATH
15.19765 +do
15.19766 + IFS=$as_save_IFS
15.19767 + test -z "$as_dir" && as_dir=.
15.19768 + for ac_exec_ext in '' $ac_executable_extensions; do
15.19769 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.19770 + ac_cv_prog_CC="${ac_tool_prefix}cc"
15.19771 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.19772 + break 2
15.19773 + fi
15.19774 +done
15.19775 +done
15.19776 +
15.19777 +fi
15.19778 +fi
15.19779 +CC=$ac_cv_prog_CC
15.19780 +if test -n "$CC"; then
15.19781 + echo "$as_me:$LINENO: result: $CC" >&5
15.19782 +echo "${ECHO_T}$CC" >&6
15.19783 +else
15.19784 + echo "$as_me:$LINENO: result: no" >&5
15.19785 +echo "${ECHO_T}no" >&6
15.19786 +fi
15.19787 +
15.19788 +fi
15.19789 +if test -z "$ac_cv_prog_CC"; then
15.19790 + ac_ct_CC=$CC
15.19791 + # Extract the first word of "cc", so it can be a program name with args.
15.19792 +set dummy cc; ac_word=$2
15.19793 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.19794 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.19795 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15.19796 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.19797 +else
15.19798 + if test -n "$ac_ct_CC"; then
15.19799 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15.19800 +else
15.19801 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.19802 +for as_dir in $PATH
15.19803 +do
15.19804 + IFS=$as_save_IFS
15.19805 + test -z "$as_dir" && as_dir=.
15.19806 + for ac_exec_ext in '' $ac_executable_extensions; do
15.19807 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.19808 + ac_cv_prog_ac_ct_CC="cc"
15.19809 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.19810 + break 2
15.19811 + fi
15.19812 +done
15.19813 +done
15.19814 +
15.19815 +fi
15.19816 +fi
15.19817 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
15.19818 +if test -n "$ac_ct_CC"; then
15.19819 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15.19820 +echo "${ECHO_T}$ac_ct_CC" >&6
15.19821 +else
15.19822 + echo "$as_me:$LINENO: result: no" >&5
15.19823 +echo "${ECHO_T}no" >&6
15.19824 +fi
15.19825 +
15.19826 + CC=$ac_ct_CC
15.19827 +else
15.19828 + CC="$ac_cv_prog_CC"
15.19829 +fi
15.19830 +
15.19831 +fi
15.19832 +if test -z "$CC"; then
15.19833 + # Extract the first word of "cc", so it can be a program name with args.
15.19834 +set dummy cc; ac_word=$2
15.19835 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.19836 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.19837 +if test "${ac_cv_prog_CC+set}" = set; then
15.19838 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.19839 +else
15.19840 + if test -n "$CC"; then
15.19841 + ac_cv_prog_CC="$CC" # Let the user override the test.
15.19842 +else
15.19843 + ac_prog_rejected=no
15.19844 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.19845 +for as_dir in $PATH
15.19846 +do
15.19847 + IFS=$as_save_IFS
15.19848 + test -z "$as_dir" && as_dir=.
15.19849 + for ac_exec_ext in '' $ac_executable_extensions; do
15.19850 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.19851 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15.19852 + ac_prog_rejected=yes
15.19853 + continue
15.19854 + fi
15.19855 + ac_cv_prog_CC="cc"
15.19856 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.19857 + break 2
15.19858 + fi
15.19859 +done
15.19860 +done
15.19861 +
15.19862 +if test $ac_prog_rejected = yes; then
15.19863 + # We found a bogon in the path, so make sure we never use it.
15.19864 + set dummy $ac_cv_prog_CC
15.19865 + shift
15.19866 + if test $# != 0; then
15.19867 + # We chose a different compiler from the bogus one.
15.19868 + # However, it has the same basename, so the bogon will be chosen
15.19869 + # first if we set CC to just the basename; use the full file name.
15.19870 + shift
15.19871 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15.19872 + fi
15.19873 +fi
15.19874 +fi
15.19875 +fi
15.19876 +CC=$ac_cv_prog_CC
15.19877 +if test -n "$CC"; then
15.19878 + echo "$as_me:$LINENO: result: $CC" >&5
15.19879 +echo "${ECHO_T}$CC" >&6
15.19880 +else
15.19881 + echo "$as_me:$LINENO: result: no" >&5
15.19882 +echo "${ECHO_T}no" >&6
15.19883 +fi
15.19884 +
15.19885 +fi
15.19886 +if test -z "$CC"; then
15.19887 + if test -n "$ac_tool_prefix"; then
15.19888 + for ac_prog in cl
15.19889 + do
15.19890 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15.19891 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15.19892 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.19893 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.19894 +if test "${ac_cv_prog_CC+set}" = set; then
15.19895 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.19896 +else
15.19897 + if test -n "$CC"; then
15.19898 + ac_cv_prog_CC="$CC" # Let the user override the test.
15.19899 +else
15.19900 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.19901 +for as_dir in $PATH
15.19902 +do
15.19903 + IFS=$as_save_IFS
15.19904 + test -z "$as_dir" && as_dir=.
15.19905 + for ac_exec_ext in '' $ac_executable_extensions; do
15.19906 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.19907 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15.19908 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.19909 + break 2
15.19910 + fi
15.19911 +done
15.19912 +done
15.19913 +
15.19914 +fi
15.19915 +fi
15.19916 +CC=$ac_cv_prog_CC
15.19917 +if test -n "$CC"; then
15.19918 + echo "$as_me:$LINENO: result: $CC" >&5
15.19919 +echo "${ECHO_T}$CC" >&6
15.19920 +else
15.19921 + echo "$as_me:$LINENO: result: no" >&5
15.19922 +echo "${ECHO_T}no" >&6
15.19923 +fi
15.19924 +
15.19925 + test -n "$CC" && break
15.19926 + done
15.19927 +fi
15.19928 +if test -z "$CC"; then
15.19929 + ac_ct_CC=$CC
15.19930 + for ac_prog in cl
15.19931 +do
15.19932 + # Extract the first word of "$ac_prog", so it can be a program name with args.
15.19933 +set dummy $ac_prog; ac_word=$2
15.19934 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.19935 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.19936 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15.19937 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.19938 +else
15.19939 + if test -n "$ac_ct_CC"; then
15.19940 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15.19941 +else
15.19942 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.19943 +for as_dir in $PATH
15.19944 +do
15.19945 + IFS=$as_save_IFS
15.19946 + test -z "$as_dir" && as_dir=.
15.19947 + for ac_exec_ext in '' $ac_executable_extensions; do
15.19948 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.19949 + ac_cv_prog_ac_ct_CC="$ac_prog"
15.19950 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.19951 + break 2
15.19952 + fi
15.19953 +done
15.19954 +done
15.19955 +
15.19956 +fi
15.19957 +fi
15.19958 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
15.19959 +if test -n "$ac_ct_CC"; then
15.19960 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15.19961 +echo "${ECHO_T}$ac_ct_CC" >&6
15.19962 +else
15.19963 + echo "$as_me:$LINENO: result: no" >&5
15.19964 +echo "${ECHO_T}no" >&6
15.19965 +fi
15.19966 +
15.19967 + test -n "$ac_ct_CC" && break
15.19968 +done
15.19969 +
15.19970 + CC=$ac_ct_CC
15.19971 +fi
15.19972 +
15.19973 +fi
15.19974 +
15.19975 +
15.19976 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15.19977 +See \`config.log' for more details." >&5
15.19978 +echo "$as_me: error: no acceptable C compiler found in \$PATH
15.19979 +See \`config.log' for more details." >&2;}
15.19980 + { (exit 1); exit 1; }; }
15.19981 +
15.19982 +# Provide some information about the compiler.
15.19983 +echo "$as_me:$LINENO:" \
15.19984 + "checking for C compiler version" >&5
15.19985 +ac_compiler=`set X $ac_compile; echo $2`
15.19986 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15.19987 + (eval $ac_compiler --version </dev/null >&5) 2>&5
15.19988 + ac_status=$?
15.19989 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.19990 + (exit $ac_status); }
15.19991 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15.19992 + (eval $ac_compiler -v </dev/null >&5) 2>&5
15.19993 + ac_status=$?
15.19994 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.19995 + (exit $ac_status); }
15.19996 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15.19997 + (eval $ac_compiler -V </dev/null >&5) 2>&5
15.19998 + ac_status=$?
15.19999 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20000 + (exit $ac_status); }
15.20001 +
15.20002 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15.20003 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
15.20004 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
15.20005 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.20006 +else
15.20007 + cat >conftest.$ac_ext <<_ACEOF
15.20008 +/* confdefs.h. */
15.20009 +_ACEOF
15.20010 +cat confdefs.h >>conftest.$ac_ext
15.20011 +cat >>conftest.$ac_ext <<_ACEOF
15.20012 +/* end confdefs.h. */
15.20013 +
15.20014 +int
15.20015 +main ()
15.20016 +{
15.20017 +#ifndef __GNUC__
15.20018 + choke me
15.20019 +#endif
15.20020 +
15.20021 + ;
15.20022 + return 0;
15.20023 +}
15.20024 +_ACEOF
15.20025 +rm -f conftest.$ac_objext
15.20026 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20027 + (eval $ac_compile) 2>conftest.er1
15.20028 + ac_status=$?
15.20029 + grep -v '^ *+' conftest.er1 >conftest.err
15.20030 + rm -f conftest.er1
15.20031 + cat conftest.err >&5
15.20032 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20033 + (exit $ac_status); } &&
15.20034 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.20035 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20036 + (eval $ac_try) 2>&5
15.20037 + ac_status=$?
15.20038 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20039 + (exit $ac_status); }; } &&
15.20040 + { ac_try='test -s conftest.$ac_objext'
15.20041 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20042 + (eval $ac_try) 2>&5
15.20043 + ac_status=$?
15.20044 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20045 + (exit $ac_status); }; }; then
15.20046 + ac_compiler_gnu=yes
15.20047 +else
15.20048 + echo "$as_me: failed program was:" >&5
15.20049 +sed 's/^/| /' conftest.$ac_ext >&5
15.20050 +
15.20051 +ac_compiler_gnu=no
15.20052 +fi
15.20053 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.20054 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
15.20055 +
15.20056 +fi
15.20057 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15.20058 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
15.20059 +GCC=`test $ac_compiler_gnu = yes && echo yes`
15.20060 +ac_test_CFLAGS=${CFLAGS+set}
15.20061 +ac_save_CFLAGS=$CFLAGS
15.20062 +CFLAGS="-g"
15.20063 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15.20064 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15.20065 +if test "${ac_cv_prog_cc_g+set}" = set; then
15.20066 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.20067 +else
15.20068 + cat >conftest.$ac_ext <<_ACEOF
15.20069 +/* confdefs.h. */
15.20070 +_ACEOF
15.20071 +cat confdefs.h >>conftest.$ac_ext
15.20072 +cat >>conftest.$ac_ext <<_ACEOF
15.20073 +/* end confdefs.h. */
15.20074 +
15.20075 +int
15.20076 +main ()
15.20077 +{
15.20078 +
15.20079 + ;
15.20080 + return 0;
15.20081 +}
15.20082 +_ACEOF
15.20083 +rm -f conftest.$ac_objext
15.20084 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20085 + (eval $ac_compile) 2>conftest.er1
15.20086 + ac_status=$?
15.20087 + grep -v '^ *+' conftest.er1 >conftest.err
15.20088 + rm -f conftest.er1
15.20089 + cat conftest.err >&5
15.20090 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20091 + (exit $ac_status); } &&
15.20092 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.20093 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20094 + (eval $ac_try) 2>&5
15.20095 + ac_status=$?
15.20096 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20097 + (exit $ac_status); }; } &&
15.20098 + { ac_try='test -s conftest.$ac_objext'
15.20099 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20100 + (eval $ac_try) 2>&5
15.20101 + ac_status=$?
15.20102 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20103 + (exit $ac_status); }; }; then
15.20104 + ac_cv_prog_cc_g=yes
15.20105 +else
15.20106 + echo "$as_me: failed program was:" >&5
15.20107 +sed 's/^/| /' conftest.$ac_ext >&5
15.20108 +
15.20109 +ac_cv_prog_cc_g=no
15.20110 +fi
15.20111 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.20112 +fi
15.20113 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15.20114 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15.20115 +if test "$ac_test_CFLAGS" = set; then
15.20116 + CFLAGS=$ac_save_CFLAGS
15.20117 +elif test $ac_cv_prog_cc_g = yes; then
15.20118 + if test "$GCC" = yes; then
15.20119 + CFLAGS="-g -O2"
15.20120 + else
15.20121 + CFLAGS="-g"
15.20122 + fi
15.20123 +else
15.20124 + if test "$GCC" = yes; then
15.20125 + CFLAGS="-O2"
15.20126 + else
15.20127 + CFLAGS=
15.20128 + fi
15.20129 +fi
15.20130 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
15.20131 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
15.20132 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
15.20133 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.20134 +else
15.20135 + ac_cv_prog_cc_stdc=no
15.20136 +ac_save_CC=$CC
15.20137 +cat >conftest.$ac_ext <<_ACEOF
15.20138 +/* confdefs.h. */
15.20139 +_ACEOF
15.20140 +cat confdefs.h >>conftest.$ac_ext
15.20141 +cat >>conftest.$ac_ext <<_ACEOF
15.20142 +/* end confdefs.h. */
15.20143 +#include <stdarg.h>
15.20144 +#include <stdio.h>
15.20145 +#include <sys/types.h>
15.20146 +#include <sys/stat.h>
15.20147 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15.20148 +struct buf { int x; };
15.20149 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
15.20150 +static char *e (p, i)
15.20151 + char **p;
15.20152 + int i;
15.20153 +{
15.20154 + return p[i];
15.20155 +}
15.20156 +static char *f (char * (*g) (char **, int), char **p, ...)
15.20157 +{
15.20158 + char *s;
15.20159 + va_list v;
15.20160 + va_start (v,p);
15.20161 + s = g (p, va_arg (v,int));
15.20162 + va_end (v);
15.20163 + return s;
15.20164 +}
15.20165 +
15.20166 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15.20167 + function prototypes and stuff, but not '\xHH' hex character constants.
15.20168 + These don't provoke an error unfortunately, instead are silently treated
15.20169 + as 'x'. The following induces an error, until -std1 is added to get
15.20170 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15.20171 + array size at least. It's necessary to write '\x00'==0 to get something
15.20172 + that's true only with -std1. */
15.20173 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15.20174 +
15.20175 +int test (int i, double x);
15.20176 +struct s1 {int (*f) (int a);};
15.20177 +struct s2 {int (*f) (double a);};
15.20178 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15.20179 +int argc;
15.20180 +char **argv;
15.20181 +int
15.20182 +main ()
15.20183 +{
15.20184 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15.20185 + ;
15.20186 + return 0;
15.20187 +}
15.20188 +_ACEOF
15.20189 +# Don't try gcc -ansi; that turns off useful extensions and
15.20190 +# breaks some systems' header files.
15.20191 +# AIX -qlanglvl=ansi
15.20192 +# Ultrix and OSF/1 -std1
15.20193 +# HP-UX 10.20 and later -Ae
15.20194 +# HP-UX older versions -Aa -D_HPUX_SOURCE
15.20195 +# SVR4 -Xc -D__EXTENSIONS__
15.20196 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15.20197 +do
15.20198 + CC="$ac_save_CC $ac_arg"
15.20199 + rm -f conftest.$ac_objext
15.20200 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20201 + (eval $ac_compile) 2>conftest.er1
15.20202 + ac_status=$?
15.20203 + grep -v '^ *+' conftest.er1 >conftest.err
15.20204 + rm -f conftest.er1
15.20205 + cat conftest.err >&5
15.20206 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20207 + (exit $ac_status); } &&
15.20208 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.20209 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20210 + (eval $ac_try) 2>&5
15.20211 + ac_status=$?
15.20212 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20213 + (exit $ac_status); }; } &&
15.20214 + { ac_try='test -s conftest.$ac_objext'
15.20215 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20216 + (eval $ac_try) 2>&5
15.20217 + ac_status=$?
15.20218 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20219 + (exit $ac_status); }; }; then
15.20220 + ac_cv_prog_cc_stdc=$ac_arg
15.20221 +break
15.20222 +else
15.20223 + echo "$as_me: failed program was:" >&5
15.20224 +sed 's/^/| /' conftest.$ac_ext >&5
15.20225 +
15.20226 +fi
15.20227 +rm -f conftest.err conftest.$ac_objext
15.20228 +done
15.20229 +rm -f conftest.$ac_ext conftest.$ac_objext
15.20230 +CC=$ac_save_CC
15.20231 +
15.20232 +fi
15.20233 +
15.20234 +case "x$ac_cv_prog_cc_stdc" in
15.20235 + x|xno)
15.20236 + echo "$as_me:$LINENO: result: none needed" >&5
15.20237 +echo "${ECHO_T}none needed" >&6 ;;
15.20238 + *)
15.20239 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
15.20240 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
15.20241 + CC="$CC $ac_cv_prog_cc_stdc" ;;
15.20242 +esac
15.20243 +
15.20244 +# Some people use a C++ compiler to compile C. Since we use `exit',
15.20245 +# in C++ we need to declare it. In case someone uses the same compiler
15.20246 +# for both compiling C and C++ we need to have the C++ compiler decide
15.20247 +# the declaration of exit, since it's the most demanding environment.
15.20248 +cat >conftest.$ac_ext <<_ACEOF
15.20249 +#ifndef __cplusplus
15.20250 + choke me
15.20251 +#endif
15.20252 +_ACEOF
15.20253 +rm -f conftest.$ac_objext
15.20254 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20255 + (eval $ac_compile) 2>conftest.er1
15.20256 + ac_status=$?
15.20257 + grep -v '^ *+' conftest.er1 >conftest.err
15.20258 + rm -f conftest.er1
15.20259 + cat conftest.err >&5
15.20260 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20261 + (exit $ac_status); } &&
15.20262 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.20263 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20264 + (eval $ac_try) 2>&5
15.20265 + ac_status=$?
15.20266 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20267 + (exit $ac_status); }; } &&
15.20268 + { ac_try='test -s conftest.$ac_objext'
15.20269 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20270 + (eval $ac_try) 2>&5
15.20271 + ac_status=$?
15.20272 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20273 + (exit $ac_status); }; }; then
15.20274 + for ac_declaration in \
15.20275 + '' \
15.20276 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
15.20277 + 'extern "C" void std::exit (int); using std::exit;' \
15.20278 + 'extern "C" void exit (int) throw ();' \
15.20279 + 'extern "C" void exit (int);' \
15.20280 + 'void exit (int);'
15.20281 +do
15.20282 + cat >conftest.$ac_ext <<_ACEOF
15.20283 +/* confdefs.h. */
15.20284 +_ACEOF
15.20285 +cat confdefs.h >>conftest.$ac_ext
15.20286 +cat >>conftest.$ac_ext <<_ACEOF
15.20287 +/* end confdefs.h. */
15.20288 +$ac_declaration
15.20289 +#include <stdlib.h>
15.20290 +int
15.20291 +main ()
15.20292 +{
15.20293 +exit (42);
15.20294 + ;
15.20295 + return 0;
15.20296 +}
15.20297 +_ACEOF
15.20298 +rm -f conftest.$ac_objext
15.20299 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20300 + (eval $ac_compile) 2>conftest.er1
15.20301 + ac_status=$?
15.20302 + grep -v '^ *+' conftest.er1 >conftest.err
15.20303 + rm -f conftest.er1
15.20304 + cat conftest.err >&5
15.20305 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20306 + (exit $ac_status); } &&
15.20307 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.20308 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20309 + (eval $ac_try) 2>&5
15.20310 + ac_status=$?
15.20311 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20312 + (exit $ac_status); }; } &&
15.20313 + { ac_try='test -s conftest.$ac_objext'
15.20314 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20315 + (eval $ac_try) 2>&5
15.20316 + ac_status=$?
15.20317 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20318 + (exit $ac_status); }; }; then
15.20319 + :
15.20320 +else
15.20321 + echo "$as_me: failed program was:" >&5
15.20322 +sed 's/^/| /' conftest.$ac_ext >&5
15.20323 +
15.20324 +continue
15.20325 +fi
15.20326 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.20327 + cat >conftest.$ac_ext <<_ACEOF
15.20328 +/* confdefs.h. */
15.20329 +_ACEOF
15.20330 +cat confdefs.h >>conftest.$ac_ext
15.20331 +cat >>conftest.$ac_ext <<_ACEOF
15.20332 +/* end confdefs.h. */
15.20333 +$ac_declaration
15.20334 +int
15.20335 +main ()
15.20336 +{
15.20337 +exit (42);
15.20338 + ;
15.20339 + return 0;
15.20340 +}
15.20341 +_ACEOF
15.20342 +rm -f conftest.$ac_objext
15.20343 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20344 + (eval $ac_compile) 2>conftest.er1
15.20345 + ac_status=$?
15.20346 + grep -v '^ *+' conftest.er1 >conftest.err
15.20347 + rm -f conftest.er1
15.20348 + cat conftest.err >&5
15.20349 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20350 + (exit $ac_status); } &&
15.20351 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.20352 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20353 + (eval $ac_try) 2>&5
15.20354 + ac_status=$?
15.20355 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20356 + (exit $ac_status); }; } &&
15.20357 + { ac_try='test -s conftest.$ac_objext'
15.20358 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20359 + (eval $ac_try) 2>&5
15.20360 + ac_status=$?
15.20361 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20362 + (exit $ac_status); }; }; then
15.20363 + break
15.20364 +else
15.20365 + echo "$as_me: failed program was:" >&5
15.20366 +sed 's/^/| /' conftest.$ac_ext >&5
15.20367 +
15.20368 +fi
15.20369 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.20370 +done
15.20371 +rm -f conftest*
15.20372 +if test -n "$ac_declaration"; then
15.20373 + echo '#ifdef __cplusplus' >>confdefs.h
15.20374 + echo $ac_declaration >>confdefs.h
15.20375 + echo '#endif' >>confdefs.h
15.20376 +fi
15.20377 +
15.20378 +else
15.20379 + echo "$as_me: failed program was:" >&5
15.20380 +sed 's/^/| /' conftest.$ac_ext >&5
15.20381 +
15.20382 +fi
15.20383 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.20384 +ac_ext=c
15.20385 +ac_cpp='$CPP $CPPFLAGS'
15.20386 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.20387 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.20388 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.20389 +
15.20390 +depcc="$CC" am_compiler_list=
15.20391 +
15.20392 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15.20393 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15.20394 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
15.20395 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.20396 +else
15.20397 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15.20398 + # We make a subdir and do the tests there. Otherwise we can end up
15.20399 + # making bogus files that we don't know about and never remove. For
15.20400 + # instance it was reported that on HP-UX the gcc test will end up
15.20401 + # making a dummy file named `D' -- because `-MD' means `put the output
15.20402 + # in D'.
15.20403 + mkdir conftest.dir
15.20404 + # Copy depcomp to subdir because otherwise we won't find it if we're
15.20405 + # using a relative directory.
15.20406 + cp "$am_depcomp" conftest.dir
15.20407 + cd conftest.dir
15.20408 + # We will build objects and dependencies in a subdirectory because
15.20409 + # it helps to detect inapplicable dependency modes. For instance
15.20410 + # both Tru64's cc and ICC support -MD to output dependencies as a
15.20411 + # side effect of compilation, but ICC will put the dependencies in
15.20412 + # the current directory while Tru64 will put them in the object
15.20413 + # directory.
15.20414 + mkdir sub
15.20415 +
15.20416 + am_cv_CC_dependencies_compiler_type=none
15.20417 + if test "$am_compiler_list" = ""; then
15.20418 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15.20419 + fi
15.20420 + for depmode in $am_compiler_list; do
15.20421 + # Setup a source with many dependencies, because some compilers
15.20422 + # like to wrap large dependency lists on column 80 (with \), and
15.20423 + # we should not choose a depcomp mode which is confused by this.
15.20424 + #
15.20425 + # We need to recreate these files for each test, as the compiler may
15.20426 + # overwrite some of them when testing with obscure command lines.
15.20427 + # This happens at least with the AIX C compiler.
15.20428 + : > sub/conftest.c
15.20429 + for i in 1 2 3 4 5 6; do
15.20430 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
15.20431 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15.20432 + # Solaris 8's {/usr,}/bin/sh.
15.20433 + touch sub/conftst$i.h
15.20434 + done
15.20435 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15.20436 +
15.20437 + case $depmode in
15.20438 + nosideeffect)
15.20439 + # after this tag, mechanisms are not by side-effect, so they'll
15.20440 + # only be used when explicitly requested
15.20441 + if test "x$enable_dependency_tracking" = xyes; then
15.20442 + continue
15.20443 + else
15.20444 + break
15.20445 + fi
15.20446 + ;;
15.20447 + none) break ;;
15.20448 + esac
15.20449 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
15.20450 + # mode. It turns out that the SunPro C++ compiler does not properly
15.20451 + # handle `-M -o', and we need to detect this.
15.20452 + if depmode=$depmode \
15.20453 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
15.20454 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15.20455 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
15.20456 + >/dev/null 2>conftest.err &&
15.20457 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15.20458 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
15.20459 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15.20460 + # icc doesn't choke on unknown options, it will just issue warnings
15.20461 + # or remarks (even with -Werror). So we grep stderr for any message
15.20462 + # that says an option was ignored or not supported.
15.20463 + # When given -MP, icc 7.0 and 7.1 complain thusly:
15.20464 + # icc: Command line warning: ignoring option '-M'; no argument required
15.20465 + # The diagnosis changed in icc 8.0:
15.20466 + # icc: Command line remark: option '-MP' not supported
15.20467 + if (grep 'ignoring option' conftest.err ||
15.20468 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15.20469 + am_cv_CC_dependencies_compiler_type=$depmode
15.20470 + break
15.20471 + fi
15.20472 + fi
15.20473 + done
15.20474 +
15.20475 + cd ..
15.20476 + rm -rf conftest.dir
15.20477 +else
15.20478 + am_cv_CC_dependencies_compiler_type=none
15.20479 +fi
15.20480 +
15.20481 +fi
15.20482 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
15.20483 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
15.20484 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
15.20485 +
15.20486 +
15.20487 +
15.20488 +if
15.20489 + test "x$enable_dependency_tracking" != xno \
15.20490 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
15.20491 + am__fastdepCC_TRUE=
15.20492 + am__fastdepCC_FALSE='#'
15.20493 +else
15.20494 + am__fastdepCC_TRUE='#'
15.20495 + am__fastdepCC_FALSE=
15.20496 +fi
15.20497 +
15.20498 +
15.20499 +
15.20500 +# By default we simply use the C compiler to build assembly code.
15.20501 +
15.20502 +test "${CCAS+set}" = set || CCAS=$CC
15.20503 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
15.20504 +
15.20505 +
15.20506 +
15.20507 +
15.20508 +
15.20509 + echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5
15.20510 +echo $ECHO_N "checking to see if compiler understands -Wall... $ECHO_C" >&6
15.20511 +
15.20512 + save_CFLAGS="$CFLAGS"
15.20513 + CFLAGS="$CFLAGS -Wall"
15.20514 +
15.20515 + cat >conftest.$ac_ext <<_ACEOF
15.20516 +/* confdefs.h. */
15.20517 +_ACEOF
15.20518 +cat confdefs.h >>conftest.$ac_ext
15.20519 +cat >>conftest.$ac_ext <<_ACEOF
15.20520 +/* end confdefs.h. */
15.20521 +
15.20522 +int
15.20523 +main ()
15.20524 +{
15.20525 +
15.20526 + ;
15.20527 + return 0;
15.20528 +}
15.20529 +_ACEOF
15.20530 +rm -f conftest.$ac_objext
15.20531 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20532 + (eval $ac_compile) 2>conftest.er1
15.20533 + ac_status=$?
15.20534 + grep -v '^ *+' conftest.er1 >conftest.err
15.20535 + rm -f conftest.er1
15.20536 + cat conftest.err >&5
15.20537 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20538 + (exit $ac_status); } &&
15.20539 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.20540 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20541 + (eval $ac_try) 2>&5
15.20542 + ac_status=$?
15.20543 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20544 + (exit $ac_status); }; } &&
15.20545 + { ac_try='test -s conftest.$ac_objext'
15.20546 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20547 + (eval $ac_try) 2>&5
15.20548 + ac_status=$?
15.20549 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20550 + (exit $ac_status); }; }; then
15.20551 + flag_ok=yes
15.20552 +else
15.20553 + echo "$as_me: failed program was:" >&5
15.20554 +sed 's/^/| /' conftest.$ac_ext >&5
15.20555 +
15.20556 +flag_ok=no
15.20557 +fi
15.20558 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.20559 + CFLAGS="$save_CFLAGS"
15.20560 +
15.20561 + if test "X$flag_ok" = Xyes ; then
15.20562 + GST_WALL="yes"
15.20563 + true
15.20564 + else
15.20565 + GST_WALL="no"
15.20566 + true
15.20567 + fi
15.20568 + echo "$as_me:$LINENO: result: $flag_ok" >&5
15.20569 +echo "${ECHO_T}$flag_ok" >&6
15.20570 +
15.20571 +
15.20572 +if test "x$GST_WALL" = "xyes"; then
15.20573 + ERROR_CFLAGS="$GST_ERROR -Wall"
15.20574 +
15.20575 + if test "x$GST_CVS" = "xyes"; then
15.20576 +
15.20577 + echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5
15.20578 +echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6
15.20579 +
15.20580 + save_CFLAGS="$CFLAGS"
15.20581 + CFLAGS="$CFLAGS -Werror"
15.20582 +
15.20583 + cat >conftest.$ac_ext <<_ACEOF
15.20584 +/* confdefs.h. */
15.20585 +_ACEOF
15.20586 +cat confdefs.h >>conftest.$ac_ext
15.20587 +cat >>conftest.$ac_ext <<_ACEOF
15.20588 +/* end confdefs.h. */
15.20589 +
15.20590 +int
15.20591 +main ()
15.20592 +{
15.20593 +
15.20594 + ;
15.20595 + return 0;
15.20596 +}
15.20597 +_ACEOF
15.20598 +rm -f conftest.$ac_objext
15.20599 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20600 + (eval $ac_compile) 2>conftest.er1
15.20601 + ac_status=$?
15.20602 + grep -v '^ *+' conftest.er1 >conftest.err
15.20603 + rm -f conftest.er1
15.20604 + cat conftest.err >&5
15.20605 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20606 + (exit $ac_status); } &&
15.20607 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.20608 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20609 + (eval $ac_try) 2>&5
15.20610 + ac_status=$?
15.20611 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20612 + (exit $ac_status); }; } &&
15.20613 + { ac_try='test -s conftest.$ac_objext'
15.20614 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20615 + (eval $ac_try) 2>&5
15.20616 + ac_status=$?
15.20617 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20618 + (exit $ac_status); }; }; then
15.20619 + flag_ok=yes
15.20620 +else
15.20621 + echo "$as_me: failed program was:" >&5
15.20622 +sed 's/^/| /' conftest.$ac_ext >&5
15.20623 +
15.20624 +flag_ok=no
15.20625 +fi
15.20626 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.20627 + CFLAGS="$save_CFLAGS"
15.20628 +
15.20629 + if test "X$flag_ok" = Xyes ; then
15.20630 + ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
15.20631 + true
15.20632 + else
15.20633 + ERROR_CFLAGS="$ERROR_CFLAGS"
15.20634 + true
15.20635 + fi
15.20636 + echo "$as_me:$LINENO: result: $flag_ok" >&5
15.20637 +echo "${ECHO_T}$flag_ok" >&6
15.20638 +
15.20639 + fi
15.20640 +fi
15.20641 +
15.20642 +
15.20643 +
15.20644 +ac_ext=cc
15.20645 +ac_cpp='$CXXCPP $CPPFLAGS'
15.20646 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.20647 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.20648 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15.20649 +if test -n "$ac_tool_prefix"; then
15.20650 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
15.20651 + do
15.20652 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15.20653 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15.20654 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.20655 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.20656 +if test "${ac_cv_prog_CXX+set}" = set; then
15.20657 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.20658 +else
15.20659 + if test -n "$CXX"; then
15.20660 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
15.20661 +else
15.20662 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.20663 +for as_dir in $PATH
15.20664 +do
15.20665 + IFS=$as_save_IFS
15.20666 + test -z "$as_dir" && as_dir=.
15.20667 + for ac_exec_ext in '' $ac_executable_extensions; do
15.20668 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.20669 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15.20670 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.20671 + break 2
15.20672 + fi
15.20673 +done
15.20674 +done
15.20675 +
15.20676 +fi
15.20677 +fi
15.20678 +CXX=$ac_cv_prog_CXX
15.20679 +if test -n "$CXX"; then
15.20680 + echo "$as_me:$LINENO: result: $CXX" >&5
15.20681 +echo "${ECHO_T}$CXX" >&6
15.20682 +else
15.20683 + echo "$as_me:$LINENO: result: no" >&5
15.20684 +echo "${ECHO_T}no" >&6
15.20685 +fi
15.20686 +
15.20687 + test -n "$CXX" && break
15.20688 + done
15.20689 +fi
15.20690 +if test -z "$CXX"; then
15.20691 + ac_ct_CXX=$CXX
15.20692 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
15.20693 +do
15.20694 + # Extract the first word of "$ac_prog", so it can be a program name with args.
15.20695 +set dummy $ac_prog; ac_word=$2
15.20696 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.20697 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.20698 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15.20699 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.20700 +else
15.20701 + if test -n "$ac_ct_CXX"; then
15.20702 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15.20703 +else
15.20704 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.20705 +for as_dir in $PATH
15.20706 +do
15.20707 + IFS=$as_save_IFS
15.20708 + test -z "$as_dir" && as_dir=.
15.20709 + for ac_exec_ext in '' $ac_executable_extensions; do
15.20710 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.20711 + ac_cv_prog_ac_ct_CXX="$ac_prog"
15.20712 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.20713 + break 2
15.20714 + fi
15.20715 +done
15.20716 +done
15.20717 +
15.20718 +fi
15.20719 +fi
15.20720 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15.20721 +if test -n "$ac_ct_CXX"; then
15.20722 + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15.20723 +echo "${ECHO_T}$ac_ct_CXX" >&6
15.20724 +else
15.20725 + echo "$as_me:$LINENO: result: no" >&5
15.20726 +echo "${ECHO_T}no" >&6
15.20727 +fi
15.20728 +
15.20729 + test -n "$ac_ct_CXX" && break
15.20730 +done
15.20731 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
15.20732 +
15.20733 + CXX=$ac_ct_CXX
15.20734 +fi
15.20735 +
15.20736 +
15.20737 +# Provide some information about the compiler.
15.20738 +echo "$as_me:$LINENO:" \
15.20739 + "checking for C++ compiler version" >&5
15.20740 +ac_compiler=`set X $ac_compile; echo $2`
15.20741 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15.20742 + (eval $ac_compiler --version </dev/null >&5) 2>&5
15.20743 + ac_status=$?
15.20744 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20745 + (exit $ac_status); }
15.20746 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15.20747 + (eval $ac_compiler -v </dev/null >&5) 2>&5
15.20748 + ac_status=$?
15.20749 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20750 + (exit $ac_status); }
15.20751 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15.20752 + (eval $ac_compiler -V </dev/null >&5) 2>&5
15.20753 + ac_status=$?
15.20754 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20755 + (exit $ac_status); }
15.20756 +
15.20757 +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15.20758 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
15.20759 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15.20760 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.20761 +else
15.20762 + cat >conftest.$ac_ext <<_ACEOF
15.20763 +/* confdefs.h. */
15.20764 +_ACEOF
15.20765 +cat confdefs.h >>conftest.$ac_ext
15.20766 +cat >>conftest.$ac_ext <<_ACEOF
15.20767 +/* end confdefs.h. */
15.20768 +
15.20769 +int
15.20770 +main ()
15.20771 +{
15.20772 +#ifndef __GNUC__
15.20773 + choke me
15.20774 +#endif
15.20775 +
15.20776 + ;
15.20777 + return 0;
15.20778 +}
15.20779 +_ACEOF
15.20780 +rm -f conftest.$ac_objext
15.20781 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20782 + (eval $ac_compile) 2>conftest.er1
15.20783 + ac_status=$?
15.20784 + grep -v '^ *+' conftest.er1 >conftest.err
15.20785 + rm -f conftest.er1
15.20786 + cat conftest.err >&5
15.20787 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20788 + (exit $ac_status); } &&
15.20789 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.20790 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20791 + (eval $ac_try) 2>&5
15.20792 + ac_status=$?
15.20793 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20794 + (exit $ac_status); }; } &&
15.20795 + { ac_try='test -s conftest.$ac_objext'
15.20796 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20797 + (eval $ac_try) 2>&5
15.20798 + ac_status=$?
15.20799 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20800 + (exit $ac_status); }; }; then
15.20801 + ac_compiler_gnu=yes
15.20802 +else
15.20803 + echo "$as_me: failed program was:" >&5
15.20804 +sed 's/^/| /' conftest.$ac_ext >&5
15.20805 +
15.20806 +ac_compiler_gnu=no
15.20807 +fi
15.20808 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.20809 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15.20810 +
15.20811 +fi
15.20812 +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15.20813 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
15.20814 +GXX=`test $ac_compiler_gnu = yes && echo yes`
15.20815 +ac_test_CXXFLAGS=${CXXFLAGS+set}
15.20816 +ac_save_CXXFLAGS=$CXXFLAGS
15.20817 +CXXFLAGS="-g"
15.20818 +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15.20819 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
15.20820 +if test "${ac_cv_prog_cxx_g+set}" = set; then
15.20821 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.20822 +else
15.20823 + cat >conftest.$ac_ext <<_ACEOF
15.20824 +/* confdefs.h. */
15.20825 +_ACEOF
15.20826 +cat confdefs.h >>conftest.$ac_ext
15.20827 +cat >>conftest.$ac_ext <<_ACEOF
15.20828 +/* end confdefs.h. */
15.20829 +
15.20830 +int
15.20831 +main ()
15.20832 +{
15.20833 +
15.20834 + ;
15.20835 + return 0;
15.20836 +}
15.20837 +_ACEOF
15.20838 +rm -f conftest.$ac_objext
15.20839 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20840 + (eval $ac_compile) 2>conftest.er1
15.20841 + ac_status=$?
15.20842 + grep -v '^ *+' conftest.er1 >conftest.err
15.20843 + rm -f conftest.er1
15.20844 + cat conftest.err >&5
15.20845 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20846 + (exit $ac_status); } &&
15.20847 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.20848 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20849 + (eval $ac_try) 2>&5
15.20850 + ac_status=$?
15.20851 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20852 + (exit $ac_status); }; } &&
15.20853 + { ac_try='test -s conftest.$ac_objext'
15.20854 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20855 + (eval $ac_try) 2>&5
15.20856 + ac_status=$?
15.20857 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20858 + (exit $ac_status); }; }; then
15.20859 + ac_cv_prog_cxx_g=yes
15.20860 +else
15.20861 + echo "$as_me: failed program was:" >&5
15.20862 +sed 's/^/| /' conftest.$ac_ext >&5
15.20863 +
15.20864 +ac_cv_prog_cxx_g=no
15.20865 +fi
15.20866 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.20867 +fi
15.20868 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15.20869 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
15.20870 +if test "$ac_test_CXXFLAGS" = set; then
15.20871 + CXXFLAGS=$ac_save_CXXFLAGS
15.20872 +elif test $ac_cv_prog_cxx_g = yes; then
15.20873 + if test "$GXX" = yes; then
15.20874 + CXXFLAGS="-g -O2"
15.20875 + else
15.20876 + CXXFLAGS="-g"
15.20877 + fi
15.20878 +else
15.20879 + if test "$GXX" = yes; then
15.20880 + CXXFLAGS="-O2"
15.20881 + else
15.20882 + CXXFLAGS=
15.20883 + fi
15.20884 +fi
15.20885 +for ac_declaration in \
15.20886 + '' \
15.20887 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
15.20888 + 'extern "C" void std::exit (int); using std::exit;' \
15.20889 + 'extern "C" void exit (int) throw ();' \
15.20890 + 'extern "C" void exit (int);' \
15.20891 + 'void exit (int);'
15.20892 +do
15.20893 + cat >conftest.$ac_ext <<_ACEOF
15.20894 +/* confdefs.h. */
15.20895 +_ACEOF
15.20896 +cat confdefs.h >>conftest.$ac_ext
15.20897 +cat >>conftest.$ac_ext <<_ACEOF
15.20898 +/* end confdefs.h. */
15.20899 +$ac_declaration
15.20900 +#include <stdlib.h>
15.20901 +int
15.20902 +main ()
15.20903 +{
15.20904 +exit (42);
15.20905 + ;
15.20906 + return 0;
15.20907 +}
15.20908 +_ACEOF
15.20909 +rm -f conftest.$ac_objext
15.20910 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20911 + (eval $ac_compile) 2>conftest.er1
15.20912 + ac_status=$?
15.20913 + grep -v '^ *+' conftest.er1 >conftest.err
15.20914 + rm -f conftest.er1
15.20915 + cat conftest.err >&5
15.20916 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20917 + (exit $ac_status); } &&
15.20918 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.20919 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20920 + (eval $ac_try) 2>&5
15.20921 + ac_status=$?
15.20922 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20923 + (exit $ac_status); }; } &&
15.20924 + { ac_try='test -s conftest.$ac_objext'
15.20925 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20926 + (eval $ac_try) 2>&5
15.20927 + ac_status=$?
15.20928 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20929 + (exit $ac_status); }; }; then
15.20930 + :
15.20931 +else
15.20932 + echo "$as_me: failed program was:" >&5
15.20933 +sed 's/^/| /' conftest.$ac_ext >&5
15.20934 +
15.20935 +continue
15.20936 +fi
15.20937 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.20938 + cat >conftest.$ac_ext <<_ACEOF
15.20939 +/* confdefs.h. */
15.20940 +_ACEOF
15.20941 +cat confdefs.h >>conftest.$ac_ext
15.20942 +cat >>conftest.$ac_ext <<_ACEOF
15.20943 +/* end confdefs.h. */
15.20944 +$ac_declaration
15.20945 +int
15.20946 +main ()
15.20947 +{
15.20948 +exit (42);
15.20949 + ;
15.20950 + return 0;
15.20951 +}
15.20952 +_ACEOF
15.20953 +rm -f conftest.$ac_objext
15.20954 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.20955 + (eval $ac_compile) 2>conftest.er1
15.20956 + ac_status=$?
15.20957 + grep -v '^ *+' conftest.er1 >conftest.err
15.20958 + rm -f conftest.er1
15.20959 + cat conftest.err >&5
15.20960 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20961 + (exit $ac_status); } &&
15.20962 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15.20963 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20964 + (eval $ac_try) 2>&5
15.20965 + ac_status=$?
15.20966 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20967 + (exit $ac_status); }; } &&
15.20968 + { ac_try='test -s conftest.$ac_objext'
15.20969 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.20970 + (eval $ac_try) 2>&5
15.20971 + ac_status=$?
15.20972 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.20973 + (exit $ac_status); }; }; then
15.20974 + break
15.20975 +else
15.20976 + echo "$as_me: failed program was:" >&5
15.20977 +sed 's/^/| /' conftest.$ac_ext >&5
15.20978 +
15.20979 +fi
15.20980 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.20981 +done
15.20982 +rm -f conftest*
15.20983 +if test -n "$ac_declaration"; then
15.20984 + echo '#ifdef __cplusplus' >>confdefs.h
15.20985 + echo $ac_declaration >>confdefs.h
15.20986 + echo '#endif' >>confdefs.h
15.20987 +fi
15.20988 +
15.20989 +ac_ext=c
15.20990 +ac_cpp='$CPP $CPPFLAGS'
15.20991 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.20992 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.20993 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.20994 +
15.20995 +depcc="$CXX" am_compiler_list=
15.20996 +
15.20997 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15.20998 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15.20999 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
15.21000 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.21001 +else
15.21002 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15.21003 + # We make a subdir and do the tests there. Otherwise we can end up
15.21004 + # making bogus files that we don't know about and never remove. For
15.21005 + # instance it was reported that on HP-UX the gcc test will end up
15.21006 + # making a dummy file named `D' -- because `-MD' means `put the output
15.21007 + # in D'.
15.21008 + mkdir conftest.dir
15.21009 + # Copy depcomp to subdir because otherwise we won't find it if we're
15.21010 + # using a relative directory.
15.21011 + cp "$am_depcomp" conftest.dir
15.21012 + cd conftest.dir
15.21013 + # We will build objects and dependencies in a subdirectory because
15.21014 + # it helps to detect inapplicable dependency modes. For instance
15.21015 + # both Tru64's cc and ICC support -MD to output dependencies as a
15.21016 + # side effect of compilation, but ICC will put the dependencies in
15.21017 + # the current directory while Tru64 will put them in the object
15.21018 + # directory.
15.21019 + mkdir sub
15.21020 +
15.21021 + am_cv_CXX_dependencies_compiler_type=none
15.21022 + if test "$am_compiler_list" = ""; then
15.21023 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15.21024 + fi
15.21025 + for depmode in $am_compiler_list; do
15.21026 + # Setup a source with many dependencies, because some compilers
15.21027 + # like to wrap large dependency lists on column 80 (with \), and
15.21028 + # we should not choose a depcomp mode which is confused by this.
15.21029 + #
15.21030 + # We need to recreate these files for each test, as the compiler may
15.21031 + # overwrite some of them when testing with obscure command lines.
15.21032 + # This happens at least with the AIX C compiler.
15.21033 + : > sub/conftest.c
15.21034 + for i in 1 2 3 4 5 6; do
15.21035 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
15.21036 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15.21037 + # Solaris 8's {/usr,}/bin/sh.
15.21038 + touch sub/conftst$i.h
15.21039 + done
15.21040 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15.21041 +
15.21042 + case $depmode in
15.21043 + nosideeffect)
15.21044 + # after this tag, mechanisms are not by side-effect, so they'll
15.21045 + # only be used when explicitly requested
15.21046 + if test "x$enable_dependency_tracking" = xyes; then
15.21047 + continue
15.21048 + else
15.21049 + break
15.21050 + fi
15.21051 + ;;
15.21052 + none) break ;;
15.21053 + esac
15.21054 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
15.21055 + # mode. It turns out that the SunPro C++ compiler does not properly
15.21056 + # handle `-M -o', and we need to detect this.
15.21057 + if depmode=$depmode \
15.21058 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
15.21059 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15.21060 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
15.21061 + >/dev/null 2>conftest.err &&
15.21062 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15.21063 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
15.21064 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15.21065 + # icc doesn't choke on unknown options, it will just issue warnings
15.21066 + # or remarks (even with -Werror). So we grep stderr for any message
15.21067 + # that says an option was ignored or not supported.
15.21068 + # When given -MP, icc 7.0 and 7.1 complain thusly:
15.21069 + # icc: Command line warning: ignoring option '-M'; no argument required
15.21070 + # The diagnosis changed in icc 8.0:
15.21071 + # icc: Command line remark: option '-MP' not supported
15.21072 + if (grep 'ignoring option' conftest.err ||
15.21073 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15.21074 + am_cv_CXX_dependencies_compiler_type=$depmode
15.21075 + break
15.21076 + fi
15.21077 + fi
15.21078 + done
15.21079 +
15.21080 + cd ..
15.21081 + rm -rf conftest.dir
15.21082 +else
15.21083 + am_cv_CXX_dependencies_compiler_type=none
15.21084 +fi
15.21085 +
15.21086 +fi
15.21087 +echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
15.21088 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
15.21089 +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15.21090 +
15.21091 +
15.21092 +
15.21093 +if
15.21094 + test "x$enable_dependency_tracking" != xno \
15.21095 + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15.21096 + am__fastdepCXX_TRUE=
15.21097 + am__fastdepCXX_FALSE='#'
15.21098 +else
15.21099 + am__fastdepCXX_TRUE='#'
15.21100 + am__fastdepCXX_FALSE=
15.21101 +fi
15.21102 +
15.21103 +
15.21104 +# Extract the first word of "$CXX", so it can be a program name with args.
15.21105 +set dummy $CXX; ac_word=$2
15.21106 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.21107 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.21108 +if test "${ac_cv_prog_HAVE_CXX+set}" = set; then
15.21109 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.21110 +else
15.21111 + if test -n "$HAVE_CXX"; then
15.21112 + ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
15.21113 +else
15.21114 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.21115 +for as_dir in $PATH
15.21116 +do
15.21117 + IFS=$as_save_IFS
15.21118 + test -z "$as_dir" && as_dir=.
15.21119 + for ac_exec_ext in '' $ac_executable_extensions; do
15.21120 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.21121 + ac_cv_prog_HAVE_CXX="yes"
15.21122 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.21123 + break 2
15.21124 + fi
15.21125 +done
15.21126 +done
15.21127 +
15.21128 + test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
15.21129 +fi
15.21130 +fi
15.21131 +HAVE_CXX=$ac_cv_prog_HAVE_CXX
15.21132 +if test -n "$HAVE_CXX"; then
15.21133 + echo "$as_me:$LINENO: result: $HAVE_CXX" >&5
15.21134 +echo "${ECHO_T}$HAVE_CXX" >&6
15.21135 +else
15.21136 + echo "$as_me:$LINENO: result: no" >&5
15.21137 +echo "${ECHO_T}no" >&6
15.21138 +fi
15.21139 +
15.21140 +ac_ext=cc
15.21141 +ac_cpp='$CXXCPP $CPPFLAGS'
15.21142 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.21143 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.21144 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15.21145 +echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15.21146 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15.21147 +if test -z "$CXXCPP"; then
15.21148 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
15.21149 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.21150 +else
15.21151 + # Double quotes because CXXCPP needs to be expanded
15.21152 + for CXXCPP in "$CXX -E" "/lib/cpp"
15.21153 + do
15.21154 + ac_preproc_ok=false
15.21155 +for ac_cxx_preproc_warn_flag in '' yes
15.21156 +do
15.21157 + # Use a header file that comes with gcc, so configuring glibc
15.21158 + # with a fresh cross-compiler works.
15.21159 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.21160 + # <limits.h> exists even on freestanding compilers.
15.21161 + # On the NeXT, cc -E runs the code through the compiler's parser,
15.21162 + # not just through cpp. "Syntax error" is here to catch this case.
15.21163 + cat >conftest.$ac_ext <<_ACEOF
15.21164 +/* confdefs.h. */
15.21165 +_ACEOF
15.21166 +cat confdefs.h >>conftest.$ac_ext
15.21167 +cat >>conftest.$ac_ext <<_ACEOF
15.21168 +/* end confdefs.h. */
15.21169 +#ifdef __STDC__
15.21170 +# include <limits.h>
15.21171 +#else
15.21172 +# include <assert.h>
15.21173 +#endif
15.21174 + Syntax error
15.21175 +_ACEOF
15.21176 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.21177 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.21178 + ac_status=$?
15.21179 + grep -v '^ *+' conftest.er1 >conftest.err
15.21180 + rm -f conftest.er1
15.21181 + cat conftest.err >&5
15.21182 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21183 + (exit $ac_status); } >/dev/null; then
15.21184 + if test -s conftest.err; then
15.21185 + ac_cpp_err=$ac_cxx_preproc_warn_flag
15.21186 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15.21187 + else
15.21188 + ac_cpp_err=
15.21189 + fi
15.21190 +else
15.21191 + ac_cpp_err=yes
15.21192 +fi
15.21193 +if test -z "$ac_cpp_err"; then
15.21194 + :
15.21195 +else
15.21196 + echo "$as_me: failed program was:" >&5
15.21197 +sed 's/^/| /' conftest.$ac_ext >&5
15.21198 +
15.21199 + # Broken: fails on valid input.
15.21200 +continue
15.21201 +fi
15.21202 +rm -f conftest.err conftest.$ac_ext
15.21203 +
15.21204 + # OK, works on sane cases. Now check whether non-existent headers
15.21205 + # can be detected and how.
15.21206 + cat >conftest.$ac_ext <<_ACEOF
15.21207 +/* confdefs.h. */
15.21208 +_ACEOF
15.21209 +cat confdefs.h >>conftest.$ac_ext
15.21210 +cat >>conftest.$ac_ext <<_ACEOF
15.21211 +/* end confdefs.h. */
15.21212 +#include <ac_nonexistent.h>
15.21213 +_ACEOF
15.21214 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.21215 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.21216 + ac_status=$?
15.21217 + grep -v '^ *+' conftest.er1 >conftest.err
15.21218 + rm -f conftest.er1
15.21219 + cat conftest.err >&5
15.21220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21221 + (exit $ac_status); } >/dev/null; then
15.21222 + if test -s conftest.err; then
15.21223 + ac_cpp_err=$ac_cxx_preproc_warn_flag
15.21224 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15.21225 + else
15.21226 + ac_cpp_err=
15.21227 + fi
15.21228 +else
15.21229 + ac_cpp_err=yes
15.21230 +fi
15.21231 +if test -z "$ac_cpp_err"; then
15.21232 + # Broken: success on invalid input.
15.21233 +continue
15.21234 +else
15.21235 + echo "$as_me: failed program was:" >&5
15.21236 +sed 's/^/| /' conftest.$ac_ext >&5
15.21237 +
15.21238 + # Passes both tests.
15.21239 +ac_preproc_ok=:
15.21240 +break
15.21241 +fi
15.21242 +rm -f conftest.err conftest.$ac_ext
15.21243 +
15.21244 +done
15.21245 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15.21246 +rm -f conftest.err conftest.$ac_ext
15.21247 +if $ac_preproc_ok; then
15.21248 + break
15.21249 +fi
15.21250 +
15.21251 + done
15.21252 + ac_cv_prog_CXXCPP=$CXXCPP
15.21253 +
15.21254 +fi
15.21255 + CXXCPP=$ac_cv_prog_CXXCPP
15.21256 +else
15.21257 + ac_cv_prog_CXXCPP=$CXXCPP
15.21258 +fi
15.21259 +echo "$as_me:$LINENO: result: $CXXCPP" >&5
15.21260 +echo "${ECHO_T}$CXXCPP" >&6
15.21261 +ac_preproc_ok=false
15.21262 +for ac_cxx_preproc_warn_flag in '' yes
15.21263 +do
15.21264 + # Use a header file that comes with gcc, so configuring glibc
15.21265 + # with a fresh cross-compiler works.
15.21266 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15.21267 + # <limits.h> exists even on freestanding compilers.
15.21268 + # On the NeXT, cc -E runs the code through the compiler's parser,
15.21269 + # not just through cpp. "Syntax error" is here to catch this case.
15.21270 + cat >conftest.$ac_ext <<_ACEOF
15.21271 +/* confdefs.h. */
15.21272 +_ACEOF
15.21273 +cat confdefs.h >>conftest.$ac_ext
15.21274 +cat >>conftest.$ac_ext <<_ACEOF
15.21275 +/* end confdefs.h. */
15.21276 +#ifdef __STDC__
15.21277 +# include <limits.h>
15.21278 +#else
15.21279 +# include <assert.h>
15.21280 +#endif
15.21281 + Syntax error
15.21282 +_ACEOF
15.21283 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.21284 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.21285 + ac_status=$?
15.21286 + grep -v '^ *+' conftest.er1 >conftest.err
15.21287 + rm -f conftest.er1
15.21288 + cat conftest.err >&5
15.21289 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21290 + (exit $ac_status); } >/dev/null; then
15.21291 + if test -s conftest.err; then
15.21292 + ac_cpp_err=$ac_cxx_preproc_warn_flag
15.21293 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15.21294 + else
15.21295 + ac_cpp_err=
15.21296 + fi
15.21297 +else
15.21298 + ac_cpp_err=yes
15.21299 +fi
15.21300 +if test -z "$ac_cpp_err"; then
15.21301 + :
15.21302 +else
15.21303 + echo "$as_me: failed program was:" >&5
15.21304 +sed 's/^/| /' conftest.$ac_ext >&5
15.21305 +
15.21306 + # Broken: fails on valid input.
15.21307 +continue
15.21308 +fi
15.21309 +rm -f conftest.err conftest.$ac_ext
15.21310 +
15.21311 + # OK, works on sane cases. Now check whether non-existent headers
15.21312 + # can be detected and how.
15.21313 + cat >conftest.$ac_ext <<_ACEOF
15.21314 +/* confdefs.h. */
15.21315 +_ACEOF
15.21316 +cat confdefs.h >>conftest.$ac_ext
15.21317 +cat >>conftest.$ac_ext <<_ACEOF
15.21318 +/* end confdefs.h. */
15.21319 +#include <ac_nonexistent.h>
15.21320 +_ACEOF
15.21321 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15.21322 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15.21323 + ac_status=$?
15.21324 + grep -v '^ *+' conftest.er1 >conftest.err
15.21325 + rm -f conftest.er1
15.21326 + cat conftest.err >&5
15.21327 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21328 + (exit $ac_status); } >/dev/null; then
15.21329 + if test -s conftest.err; then
15.21330 + ac_cpp_err=$ac_cxx_preproc_warn_flag
15.21331 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15.21332 + else
15.21333 + ac_cpp_err=
15.21334 + fi
15.21335 +else
15.21336 + ac_cpp_err=yes
15.21337 +fi
15.21338 +if test -z "$ac_cpp_err"; then
15.21339 + # Broken: success on invalid input.
15.21340 +continue
15.21341 +else
15.21342 + echo "$as_me: failed program was:" >&5
15.21343 +sed 's/^/| /' conftest.$ac_ext >&5
15.21344 +
15.21345 + # Passes both tests.
15.21346 +ac_preproc_ok=:
15.21347 +break
15.21348 +fi
15.21349 +rm -f conftest.err conftest.$ac_ext
15.21350 +
15.21351 +done
15.21352 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15.21353 +rm -f conftest.err conftest.$ac_ext
15.21354 +if $ac_preproc_ok; then
15.21355 + :
15.21356 +else
15.21357 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15.21358 +See \`config.log' for more details." >&5
15.21359 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
15.21360 +See \`config.log' for more details." >&2;}
15.21361 + { (exit 1); exit 1; }; }
15.21362 +fi
15.21363 +
15.21364 +ac_ext=c
15.21365 +ac_cpp='$CPP $CPPFLAGS'
15.21366 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15.21367 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15.21368 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15.21369 +
15.21370 +echo "$as_me:$LINENO: checking for library containing strerror" >&5
15.21371 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
15.21372 +if test "${ac_cv_search_strerror+set}" = set; then
15.21373 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.21374 +else
15.21375 + ac_func_search_save_LIBS=$LIBS
15.21376 +ac_cv_search_strerror=no
15.21377 +cat >conftest.$ac_ext <<_ACEOF
15.21378 +/* confdefs.h. */
15.21379 +_ACEOF
15.21380 +cat confdefs.h >>conftest.$ac_ext
15.21381 +cat >>conftest.$ac_ext <<_ACEOF
15.21382 +/* end confdefs.h. */
15.21383 +
15.21384 +/* Override any gcc2 internal prototype to avoid an error. */
15.21385 +#ifdef __cplusplus
15.21386 +extern "C"
15.21387 +#endif
15.21388 +/* We use char because int might match the return type of a gcc2
15.21389 + builtin and then its argument prototype would still apply. */
15.21390 +char strerror ();
15.21391 +int
15.21392 +main ()
15.21393 +{
15.21394 +strerror ();
15.21395 + ;
15.21396 + return 0;
15.21397 +}
15.21398 +_ACEOF
15.21399 +rm -f conftest.$ac_objext conftest$ac_exeext
15.21400 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.21401 + (eval $ac_link) 2>conftest.er1
15.21402 + ac_status=$?
15.21403 + grep -v '^ *+' conftest.er1 >conftest.err
15.21404 + rm -f conftest.er1
15.21405 + cat conftest.err >&5
15.21406 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21407 + (exit $ac_status); } &&
15.21408 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.21409 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.21410 + (eval $ac_try) 2>&5
15.21411 + ac_status=$?
15.21412 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21413 + (exit $ac_status); }; } &&
15.21414 + { ac_try='test -s conftest$ac_exeext'
15.21415 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.21416 + (eval $ac_try) 2>&5
15.21417 + ac_status=$?
15.21418 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21419 + (exit $ac_status); }; }; then
15.21420 + ac_cv_search_strerror="none required"
15.21421 +else
15.21422 + echo "$as_me: failed program was:" >&5
15.21423 +sed 's/^/| /' conftest.$ac_ext >&5
15.21424 +
15.21425 +fi
15.21426 +rm -f conftest.err conftest.$ac_objext \
15.21427 + conftest$ac_exeext conftest.$ac_ext
15.21428 +if test "$ac_cv_search_strerror" = no; then
15.21429 + for ac_lib in cposix; do
15.21430 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15.21431 + cat >conftest.$ac_ext <<_ACEOF
15.21432 +/* confdefs.h. */
15.21433 +_ACEOF
15.21434 +cat confdefs.h >>conftest.$ac_ext
15.21435 +cat >>conftest.$ac_ext <<_ACEOF
15.21436 +/* end confdefs.h. */
15.21437 +
15.21438 +/* Override any gcc2 internal prototype to avoid an error. */
15.21439 +#ifdef __cplusplus
15.21440 +extern "C"
15.21441 +#endif
15.21442 +/* We use char because int might match the return type of a gcc2
15.21443 + builtin and then its argument prototype would still apply. */
15.21444 +char strerror ();
15.21445 +int
15.21446 +main ()
15.21447 +{
15.21448 +strerror ();
15.21449 + ;
15.21450 + return 0;
15.21451 +}
15.21452 +_ACEOF
15.21453 +rm -f conftest.$ac_objext conftest$ac_exeext
15.21454 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.21455 + (eval $ac_link) 2>conftest.er1
15.21456 + ac_status=$?
15.21457 + grep -v '^ *+' conftest.er1 >conftest.err
15.21458 + rm -f conftest.er1
15.21459 + cat conftest.err >&5
15.21460 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21461 + (exit $ac_status); } &&
15.21462 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.21463 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.21464 + (eval $ac_try) 2>&5
15.21465 + ac_status=$?
15.21466 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21467 + (exit $ac_status); }; } &&
15.21468 + { ac_try='test -s conftest$ac_exeext'
15.21469 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.21470 + (eval $ac_try) 2>&5
15.21471 + ac_status=$?
15.21472 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21473 + (exit $ac_status); }; }; then
15.21474 + ac_cv_search_strerror="-l$ac_lib"
15.21475 +break
15.21476 +else
15.21477 + echo "$as_me: failed program was:" >&5
15.21478 +sed 's/^/| /' conftest.$ac_ext >&5
15.21479 +
15.21480 +fi
15.21481 +rm -f conftest.err conftest.$ac_objext \
15.21482 + conftest$ac_exeext conftest.$ac_ext
15.21483 + done
15.21484 +fi
15.21485 +LIBS=$ac_func_search_save_LIBS
15.21486 +fi
15.21487 +echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
15.21488 +echo "${ECHO_T}$ac_cv_search_strerror" >&6
15.21489 +if test "$ac_cv_search_strerror" != no; then
15.21490 + test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
15.21491 +
15.21492 +fi
15.21493 +
15.21494 +
15.21495 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15.21496 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15.21497 +if test "${ac_cv_header_stdc+set}" = set; then
15.21498 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.21499 +else
15.21500 + cat >conftest.$ac_ext <<_ACEOF
15.21501 +/* confdefs.h. */
15.21502 +_ACEOF
15.21503 +cat confdefs.h >>conftest.$ac_ext
15.21504 +cat >>conftest.$ac_ext <<_ACEOF
15.21505 +/* end confdefs.h. */
15.21506 +#include <stdlib.h>
15.21507 +#include <stdarg.h>
15.21508 +#include <string.h>
15.21509 +#include <float.h>
15.21510 +
15.21511 +int
15.21512 +main ()
15.21513 +{
15.21514 +
15.21515 + ;
15.21516 + return 0;
15.21517 +}
15.21518 +_ACEOF
15.21519 +rm -f conftest.$ac_objext
15.21520 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.21521 + (eval $ac_compile) 2>conftest.er1
15.21522 + ac_status=$?
15.21523 + grep -v '^ *+' conftest.er1 >conftest.err
15.21524 + rm -f conftest.er1
15.21525 + cat conftest.err >&5
15.21526 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21527 + (exit $ac_status); } &&
15.21528 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.21529 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.21530 + (eval $ac_try) 2>&5
15.21531 + ac_status=$?
15.21532 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21533 + (exit $ac_status); }; } &&
15.21534 + { ac_try='test -s conftest.$ac_objext'
15.21535 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.21536 + (eval $ac_try) 2>&5
15.21537 + ac_status=$?
15.21538 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21539 + (exit $ac_status); }; }; then
15.21540 + ac_cv_header_stdc=yes
15.21541 +else
15.21542 + echo "$as_me: failed program was:" >&5
15.21543 +sed 's/^/| /' conftest.$ac_ext >&5
15.21544 +
15.21545 +ac_cv_header_stdc=no
15.21546 +fi
15.21547 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.21548 +
15.21549 +if test $ac_cv_header_stdc = yes; then
15.21550 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15.21551 + cat >conftest.$ac_ext <<_ACEOF
15.21552 +/* confdefs.h. */
15.21553 +_ACEOF
15.21554 +cat confdefs.h >>conftest.$ac_ext
15.21555 +cat >>conftest.$ac_ext <<_ACEOF
15.21556 +/* end confdefs.h. */
15.21557 +#include <string.h>
15.21558 +
15.21559 +_ACEOF
15.21560 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15.21561 + $EGREP "memchr" >/dev/null 2>&1; then
15.21562 + :
15.21563 +else
15.21564 + ac_cv_header_stdc=no
15.21565 +fi
15.21566 +rm -f conftest*
15.21567 +
15.21568 +fi
15.21569 +
15.21570 +if test $ac_cv_header_stdc = yes; then
15.21571 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15.21572 + cat >conftest.$ac_ext <<_ACEOF
15.21573 +/* confdefs.h. */
15.21574 +_ACEOF
15.21575 +cat confdefs.h >>conftest.$ac_ext
15.21576 +cat >>conftest.$ac_ext <<_ACEOF
15.21577 +/* end confdefs.h. */
15.21578 +#include <stdlib.h>
15.21579 +
15.21580 +_ACEOF
15.21581 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15.21582 + $EGREP "free" >/dev/null 2>&1; then
15.21583 + :
15.21584 +else
15.21585 + ac_cv_header_stdc=no
15.21586 +fi
15.21587 +rm -f conftest*
15.21588 +
15.21589 +fi
15.21590 +
15.21591 +if test $ac_cv_header_stdc = yes; then
15.21592 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15.21593 + if test "$cross_compiling" = yes; then
15.21594 + :
15.21595 +else
15.21596 + cat >conftest.$ac_ext <<_ACEOF
15.21597 +/* confdefs.h. */
15.21598 +_ACEOF
15.21599 +cat confdefs.h >>conftest.$ac_ext
15.21600 +cat >>conftest.$ac_ext <<_ACEOF
15.21601 +/* end confdefs.h. */
15.21602 +#include <ctype.h>
15.21603 +#if ((' ' & 0x0FF) == 0x020)
15.21604 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15.21605 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15.21606 +#else
15.21607 +# define ISLOWER(c) \
15.21608 + (('a' <= (c) && (c) <= 'i') \
15.21609 + || ('j' <= (c) && (c) <= 'r') \
15.21610 + || ('s' <= (c) && (c) <= 'z'))
15.21611 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15.21612 +#endif
15.21613 +
15.21614 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15.21615 +int
15.21616 +main ()
15.21617 +{
15.21618 + int i;
15.21619 + for (i = 0; i < 256; i++)
15.21620 + if (XOR (islower (i), ISLOWER (i))
15.21621 + || toupper (i) != TOUPPER (i))
15.21622 + exit(2);
15.21623 + exit (0);
15.21624 +}
15.21625 +_ACEOF
15.21626 +rm -f conftest$ac_exeext
15.21627 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15.21628 + (eval $ac_link) 2>&5
15.21629 + ac_status=$?
15.21630 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21631 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15.21632 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.21633 + (eval $ac_try) 2>&5
15.21634 + ac_status=$?
15.21635 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21636 + (exit $ac_status); }; }; then
15.21637 + :
15.21638 +else
15.21639 + echo "$as_me: program exited with status $ac_status" >&5
15.21640 +echo "$as_me: failed program was:" >&5
15.21641 +sed 's/^/| /' conftest.$ac_ext >&5
15.21642 +
15.21643 +( exit $ac_status )
15.21644 +ac_cv_header_stdc=no
15.21645 +fi
15.21646 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15.21647 +fi
15.21648 +fi
15.21649 +fi
15.21650 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15.21651 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
15.21652 +if test $ac_cv_header_stdc = yes; then
15.21653 +
15.21654 +cat >>confdefs.h <<\_ACEOF
15.21655 +#define STDC_HEADERS 1
15.21656 +_ACEOF
15.21657 +
15.21658 +fi
15.21659 +
15.21660 +echo "$as_me:$LINENO: checking for inline" >&5
15.21661 +echo $ECHO_N "checking for inline... $ECHO_C" >&6
15.21662 +if test "${ac_cv_c_inline+set}" = set; then
15.21663 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.21664 +else
15.21665 + ac_cv_c_inline=no
15.21666 +for ac_kw in inline __inline__ __inline; do
15.21667 + cat >conftest.$ac_ext <<_ACEOF
15.21668 +/* confdefs.h. */
15.21669 +_ACEOF
15.21670 +cat confdefs.h >>conftest.$ac_ext
15.21671 +cat >>conftest.$ac_ext <<_ACEOF
15.21672 +/* end confdefs.h. */
15.21673 +#ifndef __cplusplus
15.21674 +typedef int foo_t;
15.21675 +static $ac_kw foo_t static_foo () {return 0; }
15.21676 +$ac_kw foo_t foo () {return 0; }
15.21677 +#endif
15.21678 +
15.21679 +_ACEOF
15.21680 +rm -f conftest.$ac_objext
15.21681 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15.21682 + (eval $ac_compile) 2>conftest.er1
15.21683 + ac_status=$?
15.21684 + grep -v '^ *+' conftest.er1 >conftest.err
15.21685 + rm -f conftest.er1
15.21686 + cat conftest.err >&5
15.21687 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21688 + (exit $ac_status); } &&
15.21689 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15.21690 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.21691 + (eval $ac_try) 2>&5
15.21692 + ac_status=$?
15.21693 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21694 + (exit $ac_status); }; } &&
15.21695 + { ac_try='test -s conftest.$ac_objext'
15.21696 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15.21697 + (eval $ac_try) 2>&5
15.21698 + ac_status=$?
15.21699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15.21700 + (exit $ac_status); }; }; then
15.21701 + ac_cv_c_inline=$ac_kw; break
15.21702 +else
15.21703 + echo "$as_me: failed program was:" >&5
15.21704 +sed 's/^/| /' conftest.$ac_ext >&5
15.21705 +
15.21706 +fi
15.21707 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15.21708 +done
15.21709 +
15.21710 +fi
15.21711 +echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15.21712 +echo "${ECHO_T}$ac_cv_c_inline" >&6
15.21713 +
15.21714 +
15.21715 +case $ac_cv_c_inline in
15.21716 + inline | yes) ;;
15.21717 + *)
15.21718 + case $ac_cv_c_inline in
15.21719 + no) ac_val=;;
15.21720 + *) ac_val=$ac_cv_c_inline;;
15.21721 + esac
15.21722 + cat >>confdefs.h <<_ACEOF
15.21723 +#ifndef __cplusplus
15.21724 +#define inline $ac_val
15.21725 +#endif
15.21726 +_ACEOF
15.21727 + ;;
15.21728 +esac
15.21729 +
15.21730 +
15.21731 +# Extract the first word of "pkg-config", so it can be a program name with args.
15.21732 +set dummy pkg-config; ac_word=$2
15.21733 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.21734 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.21735 +if test "${ac_cv_prog_HAVE_PKGCONFIG+set}" = set; then
15.21736 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.21737 +else
15.21738 + if test -n "$HAVE_PKGCONFIG"; then
15.21739 + ac_cv_prog_HAVE_PKGCONFIG="$HAVE_PKGCONFIG" # Let the user override the test.
15.21740 +else
15.21741 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.21742 +for as_dir in $PATH
15.21743 +do
15.21744 + IFS=$as_save_IFS
15.21745 + test -z "$as_dir" && as_dir=.
15.21746 + for ac_exec_ext in '' $ac_executable_extensions; do
15.21747 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.21748 + ac_cv_prog_HAVE_PKGCONFIG="yes"
15.21749 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.21750 + break 2
15.21751 + fi
15.21752 +done
15.21753 +done
15.21754 +
15.21755 + test -z "$ac_cv_prog_HAVE_PKGCONFIG" && ac_cv_prog_HAVE_PKGCONFIG="no"
15.21756 +fi
15.21757 +fi
15.21758 +HAVE_PKGCONFIG=$ac_cv_prog_HAVE_PKGCONFIG
15.21759 +if test -n "$HAVE_PKGCONFIG"; then
15.21760 + echo "$as_me:$LINENO: result: $HAVE_PKGCONFIG" >&5
15.21761 +echo "${ECHO_T}$HAVE_PKGCONFIG" >&6
15.21762 +else
15.21763 + echo "$as_me:$LINENO: result: no" >&5
15.21764 +echo "${ECHO_T}no" >&6
15.21765 +fi
15.21766 +
15.21767 +
15.21768 +if test "x$HAVE_PKGCONFIG" = "xno"; then
15.21769 + { { echo "$as_me:$LINENO: error: you need to have pkgconfig installed !" >&5
15.21770 +echo "$as_me: error: you need to have pkgconfig installed !" >&2;}
15.21771 + { (exit 1); exit 1; }; }
15.21772 +fi
15.21773 +
15.21774 +
15.21775 +GST_REQUIRED=0.10.3
15.21776 +GST_MAJORMINOR=0.10
15.21777 +
15.21778 +
15.21779 + succeeded=no
15.21780 +
15.21781 + if test -z "$PKG_CONFIG"; then
15.21782 + # Extract the first word of "pkg-config", so it can be a program name with args.
15.21783 +set dummy pkg-config; ac_word=$2
15.21784 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.21785 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.21786 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15.21787 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.21788 +else
15.21789 + case $PKG_CONFIG in
15.21790 + [\\/]* | ?:[\\/]*)
15.21791 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15.21792 + ;;
15.21793 + *)
15.21794 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.21795 +for as_dir in $PATH
15.21796 +do
15.21797 + IFS=$as_save_IFS
15.21798 + test -z "$as_dir" && as_dir=.
15.21799 + for ac_exec_ext in '' $ac_executable_extensions; do
15.21800 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.21801 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15.21802 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.21803 + break 2
15.21804 + fi
15.21805 +done
15.21806 +done
15.21807 +
15.21808 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15.21809 + ;;
15.21810 +esac
15.21811 +fi
15.21812 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15.21813 +
15.21814 +if test -n "$PKG_CONFIG"; then
15.21815 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15.21816 +echo "${ECHO_T}$PKG_CONFIG" >&6
15.21817 +else
15.21818 + echo "$as_me:$LINENO: result: no" >&5
15.21819 +echo "${ECHO_T}no" >&6
15.21820 +fi
15.21821 +
15.21822 + fi
15.21823 +
15.21824 + if test "$PKG_CONFIG" = "no" ; then
15.21825 + echo "*** The pkg-config script could not be found. Make sure it is"
15.21826 + echo "*** in your path, or set the PKG_CONFIG environment variable"
15.21827 + echo "*** to the full path to pkg-config."
15.21828 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
15.21829 + else
15.21830 + PKG_CONFIG_MIN_VERSION=0.9.0
15.21831 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
15.21832 + echo "$as_me:$LINENO: checking for \
15.21833 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
15.21834 +echo $ECHO_N "checking for \
15.21835 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
15.21836 +
15.21837 + if $PKG_CONFIG --exists "\
15.21838 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
15.21839 + echo "$as_me:$LINENO: result: yes" >&5
15.21840 +echo "${ECHO_T}yes" >&6
15.21841 + succeeded=yes
15.21842 +
15.21843 + echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
15.21844 +echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
15.21845 + GST_CFLAGS=`$PKG_CONFIG --cflags "\
15.21846 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
15.21847 + echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
15.21848 +echo "${ECHO_T}$GST_CFLAGS" >&6
15.21849 +
15.21850 + echo "$as_me:$LINENO: checking GST_LIBS" >&5
15.21851 +echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
15.21852 + GST_LIBS=`$PKG_CONFIG --libs "\
15.21853 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
15.21854 + echo "$as_me:$LINENO: result: $GST_LIBS" >&5
15.21855 +echo "${ECHO_T}$GST_LIBS" >&6
15.21856 + else
15.21857 + GST_CFLAGS=""
15.21858 + GST_LIBS=""
15.21859 + ## If we have a custom action on failure, don't print errors, but
15.21860 + ## do set a variable so people can do so.
15.21861 + GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
15.21862 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
15.21863 +
15.21864 + fi
15.21865 +
15.21866 +
15.21867 +
15.21868 + else
15.21869 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
15.21870 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
15.21871 + fi
15.21872 + fi
15.21873 +
15.21874 + if test $succeeded = yes; then
15.21875 + HAVE_GST=yes
15.21876 + else
15.21877 + HAVE_GST=no
15.21878 + fi
15.21879 +
15.21880 +
15.21881 +if test "x$HAVE_GST" = "xno"; then
15.21882 + { { echo "$as_me:$LINENO: error: you need gstreamer development packages installed !" >&5
15.21883 +echo "$as_me: error: you need gstreamer development packages installed !" >&2;}
15.21884 + { (exit 1); exit 1; }; }
15.21885 +fi
15.21886 +
15.21887 +if test "x$USE_DEBUG" = xyes; then
15.21888 + GST_CFLAGS="$GST_CFLAGS -g"
15.21889 +fi
15.21890 +
15.21891 +
15.21892 +
15.21893 +
15.21894 +
15.21895 +
15.21896 +
15.21897 + succeeded=no
15.21898 +
15.21899 + if test -z "$PKG_CONFIG"; then
15.21900 + # Extract the first word of "pkg-config", so it can be a program name with args.
15.21901 +set dummy pkg-config; ac_word=$2
15.21902 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.21903 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.21904 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15.21905 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.21906 +else
15.21907 + case $PKG_CONFIG in
15.21908 + [\\/]* | ?:[\\/]*)
15.21909 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15.21910 + ;;
15.21911 + *)
15.21912 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.21913 +for as_dir in $PATH
15.21914 +do
15.21915 + IFS=$as_save_IFS
15.21916 + test -z "$as_dir" && as_dir=.
15.21917 + for ac_exec_ext in '' $ac_executable_extensions; do
15.21918 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.21919 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15.21920 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.21921 + break 2
15.21922 + fi
15.21923 +done
15.21924 +done
15.21925 +
15.21926 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15.21927 + ;;
15.21928 +esac
15.21929 +fi
15.21930 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15.21931 +
15.21932 +if test -n "$PKG_CONFIG"; then
15.21933 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15.21934 +echo "${ECHO_T}$PKG_CONFIG" >&6
15.21935 +else
15.21936 + echo "$as_me:$LINENO: result: no" >&5
15.21937 +echo "${ECHO_T}no" >&6
15.21938 +fi
15.21939 +
15.21940 + fi
15.21941 +
15.21942 + if test "$PKG_CONFIG" = "no" ; then
15.21943 + echo "*** The pkg-config script could not be found. Make sure it is"
15.21944 + echo "*** in your path, or set the PKG_CONFIG environment variable"
15.21945 + echo "*** to the full path to pkg-config."
15.21946 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
15.21947 + else
15.21948 + PKG_CONFIG_MIN_VERSION=0.9.0
15.21949 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
15.21950 + echo "$as_me:$LINENO: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
15.21951 +echo $ECHO_N "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
15.21952 +
15.21953 + if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
15.21954 + echo "$as_me:$LINENO: result: yes" >&5
15.21955 +echo "${ECHO_T}yes" >&6
15.21956 + succeeded=yes
15.21957 +
15.21958 + echo "$as_me:$LINENO: checking GST_BASE_CFLAGS" >&5
15.21959 +echo $ECHO_N "checking GST_BASE_CFLAGS... $ECHO_C" >&6
15.21960 + GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
15.21961 + echo "$as_me:$LINENO: result: $GST_BASE_CFLAGS" >&5
15.21962 +echo "${ECHO_T}$GST_BASE_CFLAGS" >&6
15.21963 +
15.21964 + echo "$as_me:$LINENO: checking GST_BASE_LIBS" >&5
15.21965 +echo $ECHO_N "checking GST_BASE_LIBS... $ECHO_C" >&6
15.21966 + GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
15.21967 + echo "$as_me:$LINENO: result: $GST_BASE_LIBS" >&5
15.21968 +echo "${ECHO_T}$GST_BASE_LIBS" >&6
15.21969 + else
15.21970 + GST_BASE_CFLAGS=""
15.21971 + GST_BASE_LIBS=""
15.21972 + ## If we have a custom action on failure, don't print errors, but
15.21973 + ## do set a variable so people can do so.
15.21974 + GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
15.21975 +
15.21976 + fi
15.21977 +
15.21978 +
15.21979 +
15.21980 + else
15.21981 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
15.21982 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
15.21983 + fi
15.21984 + fi
15.21985 +
15.21986 + if test $succeeded = yes; then
15.21987 + HAVE_GST_BASE="yes"
15.21988 + else
15.21989 + HAVE_GST_BASE="no"
15.21990 + fi
15.21991 +
15.21992 +
15.21993 +if test "x$HAVE_GST_BASE" = "xno"; then
15.21994 + { { echo "$as_me:$LINENO: error: no GStreamer Base Libs found" >&5
15.21995 +echo "$as_me: error: no GStreamer Base Libs found" >&2;}
15.21996 + { (exit 1); exit 1; }; }
15.21997 +fi
15.21998 +
15.21999 +
15.22000 +
15.22001 +
15.22002 +
15.22003 + succeeded=no
15.22004 +
15.22005 + if test -z "$PKG_CONFIG"; then
15.22006 + # Extract the first word of "pkg-config", so it can be a program name with args.
15.22007 +set dummy pkg-config; ac_word=$2
15.22008 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15.22009 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15.22010 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15.22011 + echo $ECHO_N "(cached) $ECHO_C" >&6
15.22012 +else
15.22013 + case $PKG_CONFIG in
15.22014 + [\\/]* | ?:[\\/]*)
15.22015 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15.22016 + ;;
15.22017 + *)
15.22018 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.22019 +for as_dir in $PATH
15.22020 +do
15.22021 + IFS=$as_save_IFS
15.22022 + test -z "$as_dir" && as_dir=.
15.22023 + for ac_exec_ext in '' $ac_executable_extensions; do
15.22024 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15.22025 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15.22026 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15.22027 + break 2
15.22028 + fi
15.22029 +done
15.22030 +done
15.22031 +
15.22032 + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15.22033 + ;;
15.22034 +esac
15.22035 +fi
15.22036 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15.22037 +
15.22038 +if test -n "$PKG_CONFIG"; then
15.22039 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15.22040 +echo "${ECHO_T}$PKG_CONFIG" >&6
15.22041 +else
15.22042 + echo "$as_me:$LINENO: result: no" >&5
15.22043 +echo "${ECHO_T}no" >&6
15.22044 +fi
15.22045 +
15.22046 + fi
15.22047 +
15.22048 + if test "$PKG_CONFIG" = "no" ; then
15.22049 + echo "*** The pkg-config script could not be found. Make sure it is"
15.22050 + echo "*** in your path, or set the PKG_CONFIG environment variable"
15.22051 + echo "*** to the full path to pkg-config."
15.22052 + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
15.22053 + else
15.22054 + PKG_CONFIG_MIN_VERSION=0.9.0
15.22055 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
15.22056 + echo "$as_me:$LINENO: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
15.22057 +echo $ECHO_N "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... $ECHO_C" >&6
15.22058 +
15.22059 + if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
15.22060 + echo "$as_me:$LINENO: result: yes" >&5
15.22061 +echo "${ECHO_T}yes" >&6
15.22062 + succeeded=yes
15.22063 +
15.22064 + echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_CFLAGS" >&5
15.22065 +echo $ECHO_N "checking GST_PLUGINS_BASE_CFLAGS... $ECHO_C" >&6
15.22066 + GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
15.22067 + echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_CFLAGS" >&5
15.22068 +echo "${ECHO_T}$GST_PLUGINS_BASE_CFLAGS" >&6
15.22069 +
15.22070 + echo "$as_me:$LINENO: checking GST_PLUGINS_BASE_LIBS" >&5
15.22071 +echo $ECHO_N "checking GST_PLUGINS_BASE_LIBS... $ECHO_C" >&6
15.22072 + GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
15.22073 + echo "$as_me:$LINENO: result: $GST_PLUGINS_BASE_LIBS" >&5
15.22074 +echo "${ECHO_T}$GST_PLUGINS_BASE_LIBS" >&6
15.22075 + else
15.22076 + GST_PLUGINS_BASE_CFLAGS=""
15.22077 + GST_PLUGINS_BASE_LIBS=""
15.22078 + ## If we have a custom action on failure, don't print errors, but
15.22079 + ## do set a variable so people can do so.
15.22080 + GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
15.22081 +
15.22082 + fi
15.22083 +
15.22084 +
15.22085 +
15.22086 + else
15.22087 + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
15.22088 + echo "*** See http://www.freedesktop.org/software/pkgconfig"
15.22089 + fi
15.22090 + fi
15.22091 +
15.22092 + if test $succeeded = yes; then
15.22093 + HAVE_GST_PLUGINS="yes"
15.22094 + else
15.22095 + HAVE_GST_PLUGINS="no"
15.22096 + fi
15.22097 +
15.22098 +
15.22099 +if test "x$HAVE_GST_PLUGINS" = "xno"; then
15.22100 + { { echo "$as_me:$LINENO: error: no GStreamer Plugins Libs found" >&5
15.22101 +echo "$as_me: error: no GStreamer Plugins Libs found" >&2;}
15.22102 + { (exit 1); exit 1; }; }
15.22103 +fi
15.22104 +
15.22105 +
15.22106 +
15.22107 +
15.22108 +plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
15.22109 +
15.22110 +
15.22111 +GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).*'
15.22112 +
15.22113 +
15.22114 + ac_config_files="$ac_config_files Makefile src/Makefile m4/Makefile"
15.22115 +cat >confcache <<\_ACEOF
15.22116 +# This file is a shell script that caches the results of configure
15.22117 +# tests run on this system so they can be shared between configure
15.22118 +# scripts and configure runs, see configure's option --config-cache.
15.22119 +# It is not useful on other systems. If it contains results you don't
15.22120 +# want to keep, you may remove or edit it.
15.22121 +#
15.22122 +# config.status only pays attention to the cache file if you give it
15.22123 +# the --recheck option to rerun configure.
15.22124 +#
15.22125 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
15.22126 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
15.22127 +# following values.
15.22128 +
15.22129 +_ACEOF
15.22130 +
15.22131 +# The following way of writing the cache mishandles newlines in values,
15.22132 +# but we know of no workaround that is simple, portable, and efficient.
15.22133 +# So, don't put newlines in cache variables' values.
15.22134 +# Ultrix sh set writes to stderr and can't be redirected directly,
15.22135 +# and sets the high bit in the cache file unless we assign to the vars.
15.22136 +{
15.22137 + (set) 2>&1 |
15.22138 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
15.22139 + *ac_space=\ *)
15.22140 + # `set' does not quote correctly, so add quotes (double-quote
15.22141 + # substitution turns \\\\ into \\, and sed turns \\ into \).
15.22142 + sed -n \
15.22143 + "s/'/'\\\\''/g;
15.22144 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15.22145 + ;;
15.22146 + *)
15.22147 + # `set' quotes correctly as required by POSIX, so do not add quotes.
15.22148 + sed -n \
15.22149 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15.22150 + ;;
15.22151 + esac;
15.22152 +} |
15.22153 + sed '
15.22154 + t clear
15.22155 + : clear
15.22156 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15.22157 + t end
15.22158 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15.22159 + : end' >>confcache
15.22160 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
15.22161 + if test -w $cache_file; then
15.22162 + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15.22163 + cat confcache >$cache_file
15.22164 + else
15.22165 + echo "not updating unwritable cache $cache_file"
15.22166 + fi
15.22167 +fi
15.22168 +rm -f confcache
15.22169 +
15.22170 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
15.22171 +# Let make expand exec_prefix.
15.22172 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15.22173 +
15.22174 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
15.22175 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15.22176 +# trailing colons and then remove the whole line if VPATH becomes empty
15.22177 +# (actually we leave an empty line to preserve line numbers).
15.22178 +if test "x$srcdir" = x.; then
15.22179 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
15.22180 +s/:*\$(srcdir):*/:/;
15.22181 +s/:*\${srcdir}:*/:/;
15.22182 +s/:*@srcdir@:*/:/;
15.22183 +s/^\([^=]*=[ ]*\):*/\1/;
15.22184 +s/:*$//;
15.22185 +s/^[^=]*=[ ]*$//;
15.22186 +}'
15.22187 +fi
15.22188 +
15.22189 +DEFS=-DHAVE_CONFIG_H
15.22190 +
15.22191 +ac_libobjs=
15.22192 +ac_ltlibobjs=
15.22193 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15.22194 + # 1. Remove the extension, and $U if already installed.
15.22195 + ac_i=`echo "$ac_i" |
15.22196 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15.22197 + # 2. Add them.
15.22198 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
15.22199 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
15.22200 +done
15.22201 +LIBOBJS=$ac_libobjs
15.22202 +
15.22203 +LTLIBOBJS=$ac_ltlibobjs
15.22204 +
15.22205 +
15.22206 +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15.22207 + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15.22208 +Usually this means the macro was only invoked conditionally." >&5
15.22209 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15.22210 +Usually this means the macro was only invoked conditionally." >&2;}
15.22211 + { (exit 1); exit 1; }; }
15.22212 +fi
15.22213 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15.22214 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15.22215 +Usually this means the macro was only invoked conditionally." >&5
15.22216 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
15.22217 +Usually this means the macro was only invoked conditionally." >&2;}
15.22218 + { (exit 1); exit 1; }; }
15.22219 +fi
15.22220 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15.22221 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15.22222 +Usually this means the macro was only invoked conditionally." >&5
15.22223 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15.22224 +Usually this means the macro was only invoked conditionally." >&2;}
15.22225 + { (exit 1); exit 1; }; }
15.22226 +fi
15.22227 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15.22228 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
15.22229 +Usually this means the macro was only invoked conditionally." >&5
15.22230 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
15.22231 +Usually this means the macro was only invoked conditionally." >&2;}
15.22232 + { (exit 1); exit 1; }; }
15.22233 +fi
15.22234 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15.22235 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15.22236 +Usually this means the macro was only invoked conditionally." >&5
15.22237 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15.22238 +Usually this means the macro was only invoked conditionally." >&2;}
15.22239 + { (exit 1); exit 1; }; }
15.22240 +fi
15.22241 +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15.22242 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
15.22243 +Usually this means the macro was only invoked conditionally." >&5
15.22244 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
15.22245 +Usually this means the macro was only invoked conditionally." >&2;}
15.22246 + { (exit 1); exit 1; }; }
15.22247 +fi
15.22248 +
15.22249 +: ${CONFIG_STATUS=./config.status}
15.22250 +ac_clean_files_save=$ac_clean_files
15.22251 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15.22252 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15.22253 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
15.22254 +cat >$CONFIG_STATUS <<_ACEOF
15.22255 +#! $SHELL
15.22256 +# Generated by $as_me.
15.22257 +# Run this file to recreate the current configuration.
15.22258 +# Compiler output produced by configure, useful for debugging
15.22259 +# configure, is in config.log if it exists.
15.22260 +
15.22261 +debug=false
15.22262 +ac_cs_recheck=false
15.22263 +ac_cs_silent=false
15.22264 +SHELL=\${CONFIG_SHELL-$SHELL}
15.22265 +_ACEOF
15.22266 +
15.22267 +cat >>$CONFIG_STATUS <<\_ACEOF
15.22268 +## --------------------- ##
15.22269 +## M4sh Initialization. ##
15.22270 +## --------------------- ##
15.22271 +
15.22272 +# Be Bourne compatible
15.22273 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15.22274 + emulate sh
15.22275 + NULLCMD=:
15.22276 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15.22277 + # is contrary to our usage. Disable this feature.
15.22278 + alias -g '${1+"$@"}'='"$@"'
15.22279 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15.22280 + set -o posix
15.22281 +fi
15.22282 +DUALCASE=1; export DUALCASE # for MKS sh
15.22283 +
15.22284 +# Support unset when possible.
15.22285 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15.22286 + as_unset=unset
15.22287 +else
15.22288 + as_unset=false
15.22289 +fi
15.22290 +
15.22291 +
15.22292 +# Work around bugs in pre-3.0 UWIN ksh.
15.22293 +$as_unset ENV MAIL MAILPATH
15.22294 +PS1='$ '
15.22295 +PS2='> '
15.22296 +PS4='+ '
15.22297 +
15.22298 +# NLS nuisances.
15.22299 +for as_var in \
15.22300 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15.22301 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15.22302 + LC_TELEPHONE LC_TIME
15.22303 +do
15.22304 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15.22305 + eval $as_var=C; export $as_var
15.22306 + else
15.22307 + $as_unset $as_var
15.22308 + fi
15.22309 +done
15.22310 +
15.22311 +# Required to use basename.
15.22312 +if expr a : '\(a\)' >/dev/null 2>&1; then
15.22313 + as_expr=expr
15.22314 +else
15.22315 + as_expr=false
15.22316 +fi
15.22317 +
15.22318 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15.22319 + as_basename=basename
15.22320 +else
15.22321 + as_basename=false
15.22322 +fi
15.22323 +
15.22324 +
15.22325 +# Name of the executable.
15.22326 +as_me=`$as_basename "$0" ||
15.22327 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15.22328 + X"$0" : 'X\(//\)$' \| \
15.22329 + X"$0" : 'X\(/\)$' \| \
15.22330 + . : '\(.\)' 2>/dev/null ||
15.22331 +echo X/"$0" |
15.22332 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15.22333 + /^X\/\(\/\/\)$/{ s//\1/; q; }
15.22334 + /^X\/\(\/\).*/{ s//\1/; q; }
15.22335 + s/.*/./; q'`
15.22336 +
15.22337 +
15.22338 +# PATH needs CR, and LINENO needs CR and PATH.
15.22339 +# Avoid depending upon Character Ranges.
15.22340 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15.22341 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15.22342 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15.22343 +as_cr_digits='0123456789'
15.22344 +as_cr_alnum=$as_cr_Letters$as_cr_digits
15.22345 +
15.22346 +# The user is always right.
15.22347 +if test "${PATH_SEPARATOR+set}" != set; then
15.22348 + echo "#! /bin/sh" >conf$$.sh
15.22349 + echo "exit 0" >>conf$$.sh
15.22350 + chmod +x conf$$.sh
15.22351 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15.22352 + PATH_SEPARATOR=';'
15.22353 + else
15.22354 + PATH_SEPARATOR=:
15.22355 + fi
15.22356 + rm -f conf$$.sh
15.22357 +fi
15.22358 +
15.22359 +
15.22360 + as_lineno_1=$LINENO
15.22361 + as_lineno_2=$LINENO
15.22362 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15.22363 + test "x$as_lineno_1" != "x$as_lineno_2" &&
15.22364 + test "x$as_lineno_3" = "x$as_lineno_2" || {
15.22365 + # Find who we are. Look in the path if we contain no path at all
15.22366 + # relative or not.
15.22367 + case $0 in
15.22368 + *[\\/]* ) as_myself=$0 ;;
15.22369 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.22370 +for as_dir in $PATH
15.22371 +do
15.22372 + IFS=$as_save_IFS
15.22373 + test -z "$as_dir" && as_dir=.
15.22374 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15.22375 +done
15.22376 +
15.22377 + ;;
15.22378 + esac
15.22379 + # We did not find ourselves, most probably we were run as `sh COMMAND'
15.22380 + # in which case we are not to be found in the path.
15.22381 + if test "x$as_myself" = x; then
15.22382 + as_myself=$0
15.22383 + fi
15.22384 + if test ! -f "$as_myself"; then
15.22385 + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15.22386 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15.22387 + { (exit 1); exit 1; }; }
15.22388 + fi
15.22389 + case $CONFIG_SHELL in
15.22390 + '')
15.22391 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15.22392 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15.22393 +do
15.22394 + IFS=$as_save_IFS
15.22395 + test -z "$as_dir" && as_dir=.
15.22396 + for as_base in sh bash ksh sh5; do
15.22397 + case $as_dir in
15.22398 + /*)
15.22399 + if ("$as_dir/$as_base" -c '
15.22400 + as_lineno_1=$LINENO
15.22401 + as_lineno_2=$LINENO
15.22402 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15.22403 + test "x$as_lineno_1" != "x$as_lineno_2" &&
15.22404 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15.22405 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15.22406 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15.22407 + CONFIG_SHELL=$as_dir/$as_base
15.22408 + export CONFIG_SHELL
15.22409 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15.22410 + fi;;
15.22411 + esac
15.22412 + done
15.22413 +done
15.22414 +;;
15.22415 + esac
15.22416 +
15.22417 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15.22418 + # uniformly replaced by the line number. The first 'sed' inserts a
15.22419 + # line-number line before each line; the second 'sed' does the real
15.22420 + # work. The second script uses 'N' to pair each line-number line
15.22421 + # with the numbered line, and appends trailing '-' during
15.22422 + # substitution so that $LINENO is not a special case at line end.
15.22423 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15.22424 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15.22425 + sed '=' <$as_myself |
15.22426 + sed '
15.22427 + N
15.22428 + s,$,-,
15.22429 + : loop
15.22430 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15.22431 + t loop
15.22432 + s,-$,,
15.22433 + s,^['$as_cr_digits']*\n,,
15.22434 + ' >$as_me.lineno &&
15.22435 + chmod +x $as_me.lineno ||
15.22436 + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15.22437 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15.22438 + { (exit 1); exit 1; }; }
15.22439 +
15.22440 + # Don't try to exec as it changes $[0], causing all sort of problems
15.22441 + # (the dirname of $[0] is not the place where we might find the
15.22442 + # original and so on. Autoconf is especially sensible to this).
15.22443 + . ./$as_me.lineno
15.22444 + # Exit status is that of the last command.
15.22445 + exit
15.22446 +}
15.22447 +
15.22448 +
15.22449 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15.22450 + *c*,-n*) ECHO_N= ECHO_C='
15.22451 +' ECHO_T=' ' ;;
15.22452 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15.22453 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15.22454 +esac
15.22455 +
15.22456 +if expr a : '\(a\)' >/dev/null 2>&1; then
15.22457 + as_expr=expr
15.22458 +else
15.22459 + as_expr=false
15.22460 +fi
15.22461 +
15.22462 +rm -f conf$$ conf$$.exe conf$$.file
15.22463 +echo >conf$$.file
15.22464 +if ln -s conf$$.file conf$$ 2>/dev/null; then
15.22465 + # We could just check for DJGPP; but this test a) works b) is more generic
15.22466 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15.22467 + if test -f conf$$.exe; then
15.22468 + # Don't use ln at all; we don't have any links
15.22469 + as_ln_s='cp -p'
15.22470 + else
15.22471 + as_ln_s='ln -s'
15.22472 + fi
15.22473 +elif ln conf$$.file conf$$ 2>/dev/null; then
15.22474 + as_ln_s=ln
15.22475 +else
15.22476 + as_ln_s='cp -p'
15.22477 +fi
15.22478 +rm -f conf$$ conf$$.exe conf$$.file
15.22479 +
15.22480 +if mkdir -p . 2>/dev/null; then
15.22481 + as_mkdir_p=:
15.22482 +else
15.22483 + test -d ./-p && rmdir ./-p
15.22484 + as_mkdir_p=false
15.22485 +fi
15.22486 +
15.22487 +as_executable_p="test -f"
15.22488 +
15.22489 +# Sed expression to map a string onto a valid CPP name.
15.22490 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15.22491 +
15.22492 +# Sed expression to map a string onto a valid variable name.
15.22493 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15.22494 +
15.22495 +
15.22496 +# IFS
15.22497 +# We need space, tab and new line, in precisely that order.
15.22498 +as_nl='
15.22499 +'
15.22500 +IFS=" $as_nl"
15.22501 +
15.22502 +# CDPATH.
15.22503 +$as_unset CDPATH
15.22504 +
15.22505 +exec 6>&1
15.22506 +
15.22507 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
15.22508 +# report actual input values of CONFIG_FILES etc. instead of their
15.22509 +# values after options handling. Logging --version etc. is OK.
15.22510 +exec 5>>config.log
15.22511 +{
15.22512 + echo
15.22513 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15.22514 +## Running $as_me. ##
15.22515 +_ASBOX
15.22516 +} >&5
15.22517 +cat >&5 <<_CSEOF
15.22518 +
15.22519 +This file was extended by $as_me, which was
15.22520 +generated by GNU Autoconf 2.59. Invocation command line was
15.22521 +
15.22522 + CONFIG_FILES = $CONFIG_FILES
15.22523 + CONFIG_HEADERS = $CONFIG_HEADERS
15.22524 + CONFIG_LINKS = $CONFIG_LINKS
15.22525 + CONFIG_COMMANDS = $CONFIG_COMMANDS
15.22526 + $ $0 $@
15.22527 +
15.22528 +_CSEOF
15.22529 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15.22530 +echo >&5
15.22531 +_ACEOF
15.22532 +
15.22533 +# Files that config.status was made for.
15.22534 +if test -n "$ac_config_files"; then
15.22535 + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15.22536 +fi
15.22537 +
15.22538 +if test -n "$ac_config_headers"; then
15.22539 + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15.22540 +fi
15.22541 +
15.22542 +if test -n "$ac_config_links"; then
15.22543 + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15.22544 +fi
15.22545 +
15.22546 +if test -n "$ac_config_commands"; then
15.22547 + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15.22548 +fi
15.22549 +
15.22550 +cat >>$CONFIG_STATUS <<\_ACEOF
15.22551 +
15.22552 +ac_cs_usage="\
15.22553 +\`$as_me' instantiates files from templates according to the
15.22554 +current configuration.
15.22555 +
15.22556 +Usage: $0 [OPTIONS] [FILE]...
15.22557 +
15.22558 + -h, --help print this help, then exit
15.22559 + -V, --version print version number, then exit
15.22560 + -q, --quiet do not print progress messages
15.22561 + -d, --debug don't remove temporary files
15.22562 + --recheck update $as_me by reconfiguring in the same conditions
15.22563 + --file=FILE[:TEMPLATE]
15.22564 + instantiate the configuration file FILE
15.22565 + --header=FILE[:TEMPLATE]
15.22566 + instantiate the configuration header FILE
15.22567 +
15.22568 +Configuration files:
15.22569 +$config_files
15.22570 +
15.22571 +Configuration headers:
15.22572 +$config_headers
15.22573 +
15.22574 +Configuration commands:
15.22575 +$config_commands
15.22576 +
15.22577 +Report bugs to <bug-autoconf@gnu.org>."
15.22578 +_ACEOF
15.22579 +
15.22580 +cat >>$CONFIG_STATUS <<_ACEOF
15.22581 +ac_cs_version="\\
15.22582 +config.status
15.22583 +configured by $0, generated by GNU Autoconf 2.59,
15.22584 + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15.22585 +
15.22586 +Copyright (C) 2003 Free Software Foundation, Inc.
15.22587 +This config.status script is free software; the Free Software Foundation
15.22588 +gives unlimited permission to copy, distribute and modify it."
15.22589 +srcdir=$srcdir
15.22590 +INSTALL="$INSTALL"
15.22591 +_ACEOF
15.22592 +
15.22593 +cat >>$CONFIG_STATUS <<\_ACEOF
15.22594 +# If no file are specified by the user, then we need to provide default
15.22595 +# value. By we need to know if files were specified by the user.
15.22596 +ac_need_defaults=:
15.22597 +while test $# != 0
15.22598 +do
15.22599 + case $1 in
15.22600 + --*=*)
15.22601 + ac_option=`expr "x$1" : 'x\([^=]*\)='`
15.22602 + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15.22603 + ac_shift=:
15.22604 + ;;
15.22605 + -*)
15.22606 + ac_option=$1
15.22607 + ac_optarg=$2
15.22608 + ac_shift=shift
15.22609 + ;;
15.22610 + *) # This is not an option, so the user has probably given explicit
15.22611 + # arguments.
15.22612 + ac_option=$1
15.22613 + ac_need_defaults=false;;
15.22614 + esac
15.22615 +
15.22616 + case $ac_option in
15.22617 + # Handling of the options.
15.22618 +_ACEOF
15.22619 +cat >>$CONFIG_STATUS <<\_ACEOF
15.22620 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15.22621 + ac_cs_recheck=: ;;
15.22622 + --version | --vers* | -V )
15.22623 + echo "$ac_cs_version"; exit 0 ;;
15.22624 + --he | --h)
15.22625 + # Conflict between --help and --header
15.22626 + { { echo "$as_me:$LINENO: error: ambiguous option: $1
15.22627 +Try \`$0 --help' for more information." >&5
15.22628 +echo "$as_me: error: ambiguous option: $1
15.22629 +Try \`$0 --help' for more information." >&2;}
15.22630 + { (exit 1); exit 1; }; };;
15.22631 + --help | --hel | -h )
15.22632 + echo "$ac_cs_usage"; exit 0 ;;
15.22633 + --debug | --d* | -d )
15.22634 + debug=: ;;
15.22635 + --file | --fil | --fi | --f )
15.22636 + $ac_shift
15.22637 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
15.22638 + ac_need_defaults=false;;
15.22639 + --header | --heade | --head | --hea )
15.22640 + $ac_shift
15.22641 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15.22642 + ac_need_defaults=false;;
15.22643 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15.22644 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
15.22645 + ac_cs_silent=: ;;
15.22646 +
15.22647 + # This is an error.
15.22648 + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15.22649 +Try \`$0 --help' for more information." >&5
15.22650 +echo "$as_me: error: unrecognized option: $1
15.22651 +Try \`$0 --help' for more information." >&2;}
15.22652 + { (exit 1); exit 1; }; } ;;
15.22653 +
15.22654 + *) ac_config_targets="$ac_config_targets $1" ;;
15.22655 +
15.22656 + esac
15.22657 + shift
15.22658 +done
15.22659 +
15.22660 +ac_configure_extra_args=
15.22661 +
15.22662 +if $ac_cs_silent; then
15.22663 + exec 6>/dev/null
15.22664 + ac_configure_extra_args="$ac_configure_extra_args --silent"
15.22665 +fi
15.22666 +
15.22667 +_ACEOF
15.22668 +cat >>$CONFIG_STATUS <<_ACEOF
15.22669 +if \$ac_cs_recheck; then
15.22670 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15.22671 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15.22672 +fi
15.22673 +
15.22674 +_ACEOF
15.22675 +
15.22676 +cat >>$CONFIG_STATUS <<_ACEOF
15.22677 +#
15.22678 +# INIT-COMMANDS section.
15.22679 +#
15.22680 +
15.22681 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15.22682 +
15.22683 +_ACEOF
15.22684 +
15.22685 +
15.22686 +
15.22687 +cat >>$CONFIG_STATUS <<\_ACEOF
15.22688 +for ac_config_target in $ac_config_targets
15.22689 +do
15.22690 + case "$ac_config_target" in
15.22691 + # Handling of arguments.
15.22692 + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15.22693 + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15.22694 + "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
15.22695 + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15.22696 + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15.22697 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15.22698 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15.22699 + { (exit 1); exit 1; }; };;
15.22700 + esac
15.22701 +done
15.22702 +
15.22703 +# If the user did not use the arguments to specify the items to instantiate,
15.22704 +# then the envvar interface is used. Set only those that are not.
15.22705 +# We use the long form for the default assignment because of an extremely
15.22706 +# bizarre bug on SunOS 4.1.3.
15.22707 +if $ac_need_defaults; then
15.22708 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15.22709 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15.22710 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15.22711 +fi
15.22712 +
15.22713 +# Have a temporary directory for convenience. Make it in the build tree
15.22714 +# simply because there is no reason to put it here, and in addition,
15.22715 +# creating and moving files from /tmp can sometimes cause problems.
15.22716 +# Create a temporary directory, and hook for its removal unless debugging.
15.22717 +$debug ||
15.22718 +{
15.22719 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15.22720 + trap '{ (exit 1); exit 1; }' 1 2 13 15
15.22721 +}
15.22722 +
15.22723 +# Create a (secure) tmp directory for tmp files.
15.22724 +
15.22725 +{
15.22726 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15.22727 + test -n "$tmp" && test -d "$tmp"
15.22728 +} ||
15.22729 +{
15.22730 + tmp=./confstat$$-$RANDOM
15.22731 + (umask 077 && mkdir $tmp)
15.22732 +} ||
15.22733 +{
15.22734 + echo "$me: cannot create a temporary directory in ." >&2
15.22735 + { (exit 1); exit 1; }
15.22736 +}
15.22737 +
15.22738 +_ACEOF
15.22739 +
15.22740 +cat >>$CONFIG_STATUS <<_ACEOF
15.22741 +
15.22742 +#
15.22743 +# CONFIG_FILES section.
15.22744 +#
15.22745 +
15.22746 +# No need to generate the scripts if there are no CONFIG_FILES.
15.22747 +# This happens for instance when ./config.status config.h
15.22748 +if test -n "\$CONFIG_FILES"; then
15.22749 + # Protect against being on the right side of a sed subst in config.status.
15.22750 + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15.22751 + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15.22752 +s,@SHELL@,$SHELL,;t t
15.22753 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15.22754 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15.22755 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15.22756 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15.22757 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15.22758 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15.22759 +s,@exec_prefix@,$exec_prefix,;t t
15.22760 +s,@prefix@,$prefix,;t t
15.22761 +s,@program_transform_name@,$program_transform_name,;t t
15.22762 +s,@bindir@,$bindir,;t t
15.22763 +s,@sbindir@,$sbindir,;t t
15.22764 +s,@libexecdir@,$libexecdir,;t t
15.22765 +s,@datadir@,$datadir,;t t
15.22766 +s,@sysconfdir@,$sysconfdir,;t t
15.22767 +s,@sharedstatedir@,$sharedstatedir,;t t
15.22768 +s,@localstatedir@,$localstatedir,;t t
15.22769 +s,@libdir@,$libdir,;t t
15.22770 +s,@includedir@,$includedir,;t t
15.22771 +s,@oldincludedir@,$oldincludedir,;t t
15.22772 +s,@infodir@,$infodir,;t t
15.22773 +s,@mandir@,$mandir,;t t
15.22774 +s,@build_alias@,$build_alias,;t t
15.22775 +s,@host_alias@,$host_alias,;t t
15.22776 +s,@target_alias@,$target_alias,;t t
15.22777 +s,@DEFS@,$DEFS,;t t
15.22778 +s,@ECHO_C@,$ECHO_C,;t t
15.22779 +s,@ECHO_N@,$ECHO_N,;t t
15.22780 +s,@ECHO_T@,$ECHO_T,;t t
15.22781 +s,@LIBS@,$LIBS,;t t
15.22782 +s,@build@,$build,;t t
15.22783 +s,@build_cpu@,$build_cpu,;t t
15.22784 +s,@build_vendor@,$build_vendor,;t t
15.22785 +s,@build_os@,$build_os,;t t
15.22786 +s,@host@,$host,;t t
15.22787 +s,@host_cpu@,$host_cpu,;t t
15.22788 +s,@host_vendor@,$host_vendor,;t t
15.22789 +s,@host_os@,$host_os,;t t
15.22790 +s,@target@,$target,;t t
15.22791 +s,@target_cpu@,$target_cpu,;t t
15.22792 +s,@target_vendor@,$target_vendor,;t t
15.22793 +s,@target_os@,$target_os,;t t
15.22794 +s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15.22795 +s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15.22796 +s,@MAINT@,$MAINT,;t t
15.22797 +s,@GST_PLUGINS_VERSION@,$GST_PLUGINS_VERSION,;t t
15.22798 +s,@GST_PLUGINS_VERSION_RELEASE@,$GST_PLUGINS_VERSION_RELEASE,;t t
15.22799 +s,@GST_PLUGINS_VERSION_MAJOR@,$GST_PLUGINS_VERSION_MAJOR,;t t
15.22800 +s,@GST_PLUGINS_VERSION_MINOR@,$GST_PLUGINS_VERSION_MINOR,;t t
15.22801 +s,@GST_PLUGINS_VERSION_MICRO@,$GST_PLUGINS_VERSION_MICRO,;t t
15.22802 +s,@GST_PLUGINS_VERSION_NANO@,$GST_PLUGINS_VERSION_NANO,;t t
15.22803 +s,@PACKAGE@,$PACKAGE,;t t
15.22804 +s,@VERSION@,$VERSION,;t t
15.22805 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15.22806 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15.22807 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15.22808 +s,@CYGPATH_W@,$CYGPATH_W,;t t
15.22809 +s,@ACLOCAL@,$ACLOCAL,;t t
15.22810 +s,@AUTOCONF@,$AUTOCONF,;t t
15.22811 +s,@AUTOMAKE@,$AUTOMAKE,;t t
15.22812 +s,@AUTOHEADER@,$AUTOHEADER,;t t
15.22813 +s,@MAKEINFO@,$MAKEINFO,;t t
15.22814 +s,@AMTAR@,$AMTAR,;t t
15.22815 +s,@install_sh@,$install_sh,;t t
15.22816 +s,@STRIP@,$STRIP,;t t
15.22817 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15.22818 +s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15.22819 +s,@mkdir_p@,$mkdir_p,;t t
15.22820 +s,@AWK@,$AWK,;t t
15.22821 +s,@SET_MAKE@,$SET_MAKE,;t t
15.22822 +s,@am__leading_dot@,$am__leading_dot,;t t
15.22823 +s,@CC@,$CC,;t t
15.22824 +s,@CFLAGS@,$CFLAGS,;t t
15.22825 +s,@LDFLAGS@,$LDFLAGS,;t t
15.22826 +s,@CPPFLAGS@,$CPPFLAGS,;t t
15.22827 +s,@ac_ct_CC@,$ac_ct_CC,;t t
15.22828 +s,@EXEEXT@,$EXEEXT,;t t
15.22829 +s,@OBJEXT@,$OBJEXT,;t t
15.22830 +s,@DEPDIR@,$DEPDIR,;t t
15.22831 +s,@am__include@,$am__include,;t t
15.22832 +s,@am__quote@,$am__quote,;t t
15.22833 +s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15.22834 +s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15.22835 +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15.22836 +s,@CCDEPMODE@,$CCDEPMODE,;t t
15.22837 +s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15.22838 +s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15.22839 +s,@EGREP@,$EGREP,;t t
15.22840 +s,@LN_S@,$LN_S,;t t
15.22841 +s,@ECHO@,$ECHO,;t t
15.22842 +s,@AR@,$AR,;t t
15.22843 +s,@ac_ct_AR@,$ac_ct_AR,;t t
15.22844 +s,@RANLIB@,$RANLIB,;t t
15.22845 +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15.22846 +s,@CPP@,$CPP,;t t
15.22847 +s,@CXX@,$CXX,;t t
15.22848 +s,@CXXFLAGS@,$CXXFLAGS,;t t
15.22849 +s,@ac_ct_CXX@,$ac_ct_CXX,;t t
15.22850 +s,@CXXDEPMODE@,$CXXDEPMODE,;t t
15.22851 +s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
15.22852 +s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
15.22853 +s,@CXXCPP@,$CXXCPP,;t t
15.22854 +s,@F77@,$F77,;t t
15.22855 +s,@FFLAGS@,$FFLAGS,;t t
15.22856 +s,@ac_ct_F77@,$ac_ct_F77,;t t
15.22857 +s,@LIBTOOL@,$LIBTOOL,;t t
15.22858 +s,@ACLOCAL_AMFLAGS@,$ACLOCAL_AMFLAGS,;t t
15.22859 +s,@CCAS@,$CCAS,;t t
15.22860 +s,@CCASFLAGS@,$CCASFLAGS,;t t
15.22861 +s,@ERROR_CFLAGS@,$ERROR_CFLAGS,;t t
15.22862 +s,@HAVE_CXX@,$HAVE_CXX,;t t
15.22863 +s,@HAVE_PKGCONFIG@,$HAVE_PKGCONFIG,;t t
15.22864 +s,@PKG_CONFIG@,$PKG_CONFIG,;t t
15.22865 +s,@GST_CFLAGS@,$GST_CFLAGS,;t t
15.22866 +s,@GST_LIBS@,$GST_LIBS,;t t
15.22867 +s,@GST_MAJORMINOR@,$GST_MAJORMINOR,;t t
15.22868 +s,@GST_BASE_CFLAGS@,$GST_BASE_CFLAGS,;t t
15.22869 +s,@GST_BASE_LIBS@,$GST_BASE_LIBS,;t t
15.22870 +s,@GST_PLUGINS_BASE_CFLAGS@,$GST_PLUGINS_BASE_CFLAGS,;t t
15.22871 +s,@GST_PLUGINS_BASE_LIBS@,$GST_PLUGINS_BASE_LIBS,;t t
15.22872 +s,@plugindir@,$plugindir,;t t
15.22873 +s,@GST_PLUGIN_LDFLAGS@,$GST_PLUGIN_LDFLAGS,;t t
15.22874 +s,@LIBOBJS@,$LIBOBJS,;t t
15.22875 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15.22876 +CEOF
15.22877 +
15.22878 +_ACEOF
15.22879 +
15.22880 + cat >>$CONFIG_STATUS <<\_ACEOF
15.22881 + # Split the substitutions into bite-sized pieces for seds with
15.22882 + # small command number limits, like on Digital OSF/1 and HP-UX.
15.22883 + ac_max_sed_lines=48
15.22884 + ac_sed_frag=1 # Number of current file.
15.22885 + ac_beg=1 # First line for current file.
15.22886 + ac_end=$ac_max_sed_lines # Line after last line for current file.
15.22887 + ac_more_lines=:
15.22888 + ac_sed_cmds=
15.22889 + while $ac_more_lines; do
15.22890 + if test $ac_beg -gt 1; then
15.22891 + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15.22892 + else
15.22893 + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15.22894 + fi
15.22895 + if test ! -s $tmp/subs.frag; then
15.22896 + ac_more_lines=false
15.22897 + else
15.22898 + # The purpose of the label and of the branching condition is to
15.22899 + # speed up the sed processing (if there are no `@' at all, there
15.22900 + # is no need to browse any of the substitutions).
15.22901 + # These are the two extra sed commands mentioned above.
15.22902 + (echo ':t
15.22903 + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
15.22904 + if test -z "$ac_sed_cmds"; then
15.22905 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
15.22906 + else
15.22907 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15.22908 + fi
15.22909 + ac_sed_frag=`expr $ac_sed_frag + 1`
15.22910 + ac_beg=$ac_end
15.22911 + ac_end=`expr $ac_end + $ac_max_sed_lines`
15.22912 + fi
15.22913 + done
15.22914 + if test -z "$ac_sed_cmds"; then
15.22915 + ac_sed_cmds=cat
15.22916 + fi
15.22917 +fi # test -n "$CONFIG_FILES"
15.22918 +
15.22919 +_ACEOF
15.22920 +cat >>$CONFIG_STATUS <<\_ACEOF
15.22921 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
15.22922 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15.22923 + case $ac_file in
15.22924 + - | *:- | *:-:* ) # input from stdin
15.22925 + cat >$tmp/stdin
15.22926 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15.22927 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15.22928 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15.22929 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15.22930 + * ) ac_file_in=$ac_file.in ;;
15.22931 + esac
15.22932 +
15.22933 + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15.22934 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15.22935 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15.22936 + X"$ac_file" : 'X\(//\)[^/]' \| \
15.22937 + X"$ac_file" : 'X\(//\)$' \| \
15.22938 + X"$ac_file" : 'X\(/\)' \| \
15.22939 + . : '\(.\)' 2>/dev/null ||
15.22940 +echo X"$ac_file" |
15.22941 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15.22942 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15.22943 + /^X\(\/\/\)$/{ s//\1/; q; }
15.22944 + /^X\(\/\).*/{ s//\1/; q; }
15.22945 + s/.*/./; q'`
15.22946 + { if $as_mkdir_p; then
15.22947 + mkdir -p "$ac_dir"
15.22948 + else
15.22949 + as_dir="$ac_dir"
15.22950 + as_dirs=
15.22951 + while test ! -d "$as_dir"; do
15.22952 + as_dirs="$as_dir $as_dirs"
15.22953 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
15.22954 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15.22955 + X"$as_dir" : 'X\(//\)[^/]' \| \
15.22956 + X"$as_dir" : 'X\(//\)$' \| \
15.22957 + X"$as_dir" : 'X\(/\)' \| \
15.22958 + . : '\(.\)' 2>/dev/null ||
15.22959 +echo X"$as_dir" |
15.22960 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15.22961 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15.22962 + /^X\(\/\/\)$/{ s//\1/; q; }
15.22963 + /^X\(\/\).*/{ s//\1/; q; }
15.22964 + s/.*/./; q'`
15.22965 + done
15.22966 + test ! -n "$as_dirs" || mkdir $as_dirs
15.22967 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15.22968 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15.22969 + { (exit 1); exit 1; }; }; }
15.22970 +
15.22971 + ac_builddir=.
15.22972 +
15.22973 +if test "$ac_dir" != .; then
15.22974 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15.22975 + # A "../" for each directory in $ac_dir_suffix.
15.22976 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15.22977 +else
15.22978 + ac_dir_suffix= ac_top_builddir=
15.22979 +fi
15.22980 +
15.22981 +case $srcdir in
15.22982 + .) # No --srcdir option. We are building in place.
15.22983 + ac_srcdir=.
15.22984 + if test -z "$ac_top_builddir"; then
15.22985 + ac_top_srcdir=.
15.22986 + else
15.22987 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15.22988 + fi ;;
15.22989 + [\\/]* | ?:[\\/]* ) # Absolute path.
15.22990 + ac_srcdir=$srcdir$ac_dir_suffix;
15.22991 + ac_top_srcdir=$srcdir ;;
15.22992 + *) # Relative path.
15.22993 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15.22994 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
15.22995 +esac
15.22996 +
15.22997 +# Do not use `cd foo && pwd` to compute absolute paths, because
15.22998 +# the directories may not exist.
15.22999 +case `pwd` in
15.23000 +.) ac_abs_builddir="$ac_dir";;
15.23001 +*)
15.23002 + case "$ac_dir" in
15.23003 + .) ac_abs_builddir=`pwd`;;
15.23004 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
15.23005 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
15.23006 + esac;;
15.23007 +esac
15.23008 +case $ac_abs_builddir in
15.23009 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
15.23010 +*)
15.23011 + case ${ac_top_builddir}. in
15.23012 + .) ac_abs_top_builddir=$ac_abs_builddir;;
15.23013 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15.23014 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15.23015 + esac;;
15.23016 +esac
15.23017 +case $ac_abs_builddir in
15.23018 +.) ac_abs_srcdir=$ac_srcdir;;
15.23019 +*)
15.23020 + case $ac_srcdir in
15.23021 + .) ac_abs_srcdir=$ac_abs_builddir;;
15.23022 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15.23023 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15.23024 + esac;;
15.23025 +esac
15.23026 +case $ac_abs_builddir in
15.23027 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
15.23028 +*)
15.23029 + case $ac_top_srcdir in
15.23030 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
15.23031 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15.23032 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15.23033 + esac;;
15.23034 +esac
15.23035 +
15.23036 +
15.23037 + case $INSTALL in
15.23038 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15.23039 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
15.23040 + esac
15.23041 +
15.23042 + # Let's still pretend it is `configure' which instantiates (i.e., don't
15.23043 + # use $as_me), people would be surprised to read:
15.23044 + # /* config.h. Generated by config.status. */
15.23045 + if test x"$ac_file" = x-; then
15.23046 + configure_input=
15.23047 + else
15.23048 + configure_input="$ac_file. "
15.23049 + fi
15.23050 + configure_input=$configure_input"Generated from `echo $ac_file_in |
15.23051 + sed 's,.*/,,'` by configure."
15.23052 +
15.23053 + # First look for the input files in the build tree, otherwise in the
15.23054 + # src tree.
15.23055 + ac_file_inputs=`IFS=:
15.23056 + for f in $ac_file_in; do
15.23057 + case $f in
15.23058 + -) echo $tmp/stdin ;;
15.23059 + [\\/$]*)
15.23060 + # Absolute (can't be DOS-style, as IFS=:)
15.23061 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15.23062 +echo "$as_me: error: cannot find input file: $f" >&2;}
15.23063 + { (exit 1); exit 1; }; }
15.23064 + echo "$f";;
15.23065 + *) # Relative
15.23066 + if test -f "$f"; then
15.23067 + # Build tree
15.23068 + echo "$f"
15.23069 + elif test -f "$srcdir/$f"; then
15.23070 + # Source tree
15.23071 + echo "$srcdir/$f"
15.23072 + else
15.23073 + # /dev/null tree
15.23074 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15.23075 +echo "$as_me: error: cannot find input file: $f" >&2;}
15.23076 + { (exit 1); exit 1; }; }
15.23077 + fi;;
15.23078 + esac
15.23079 + done` || { (exit 1); exit 1; }
15.23080 +
15.23081 + if test x"$ac_file" != x-; then
15.23082 + { echo "$as_me:$LINENO: creating $ac_file" >&5
15.23083 +echo "$as_me: creating $ac_file" >&6;}
15.23084 + rm -f "$ac_file"
15.23085 + fi
15.23086 +_ACEOF
15.23087 +cat >>$CONFIG_STATUS <<_ACEOF
15.23088 + sed "$ac_vpsub
15.23089 +$extrasub
15.23090 +_ACEOF
15.23091 +cat >>$CONFIG_STATUS <<\_ACEOF
15.23092 +:t
15.23093 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15.23094 +s,@configure_input@,$configure_input,;t t
15.23095 +s,@srcdir@,$ac_srcdir,;t t
15.23096 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
15.23097 +s,@top_srcdir@,$ac_top_srcdir,;t t
15.23098 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15.23099 +s,@builddir@,$ac_builddir,;t t
15.23100 +s,@abs_builddir@,$ac_abs_builddir,;t t
15.23101 +s,@top_builddir@,$ac_top_builddir,;t t
15.23102 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15.23103 +s,@INSTALL@,$ac_INSTALL,;t t
15.23104 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15.23105 + rm -f $tmp/stdin
15.23106 + if test x"$ac_file" != x-; then
15.23107 + mv $tmp/out $ac_file
15.23108 + else
15.23109 + cat $tmp/out
15.23110 + rm -f $tmp/out
15.23111 + fi
15.23112 +
15.23113 +done
15.23114 +_ACEOF
15.23115 +cat >>$CONFIG_STATUS <<\_ACEOF
15.23116 +
15.23117 +#
15.23118 +# CONFIG_HEADER section.
15.23119 +#
15.23120 +
15.23121 +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15.23122 +# NAME is the cpp macro being defined and VALUE is the value it is being given.
15.23123 +#
15.23124 +# ac_d sets the value in "#define NAME VALUE" lines.
15.23125 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15.23126 +ac_dB='[ ].*$,\1#\2'
15.23127 +ac_dC=' '
15.23128 +ac_dD=',;t'
15.23129 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15.23130 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15.23131 +ac_uB='$,\1#\2define\3'
15.23132 +ac_uC=' '
15.23133 +ac_uD=',;t'
15.23134 +
15.23135 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15.23136 + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15.23137 + case $ac_file in
15.23138 + - | *:- | *:-:* ) # input from stdin
15.23139 + cat >$tmp/stdin
15.23140 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15.23141 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15.23142 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15.23143 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15.23144 + * ) ac_file_in=$ac_file.in ;;
15.23145 + esac
15.23146 +
15.23147 + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15.23148 +echo "$as_me: creating $ac_file" >&6;}
15.23149 +
15.23150 + # First look for the input files in the build tree, otherwise in the
15.23151 + # src tree.
15.23152 + ac_file_inputs=`IFS=:
15.23153 + for f in $ac_file_in; do
15.23154 + case $f in
15.23155 + -) echo $tmp/stdin ;;
15.23156 + [\\/$]*)
15.23157 + # Absolute (can't be DOS-style, as IFS=:)
15.23158 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15.23159 +echo "$as_me: error: cannot find input file: $f" >&2;}
15.23160 + { (exit 1); exit 1; }; }
15.23161 + # Do quote $f, to prevent DOS paths from being IFS'd.
15.23162 + echo "$f";;
15.23163 + *) # Relative
15.23164 + if test -f "$f"; then
15.23165 + # Build tree
15.23166 + echo "$f"
15.23167 + elif test -f "$srcdir/$f"; then
15.23168 + # Source tree
15.23169 + echo "$srcdir/$f"
15.23170 + else
15.23171 + # /dev/null tree
15.23172 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15.23173 +echo "$as_me: error: cannot find input file: $f" >&2;}
15.23174 + { (exit 1); exit 1; }; }
15.23175 + fi;;
15.23176 + esac
15.23177 + done` || { (exit 1); exit 1; }
15.23178 + # Remove the trailing spaces.
15.23179 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15.23180 +
15.23181 +_ACEOF
15.23182 +
15.23183 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
15.23184 +# `conftest.undefs', that substitutes the proper values into
15.23185 +# config.h.in to produce config.h. The first handles `#define'
15.23186 +# templates, and the second `#undef' templates.
15.23187 +# And first: Protect against being on the right side of a sed subst in
15.23188 +# config.status. Protect against being in an unquoted here document
15.23189 +# in config.status.
15.23190 +rm -f conftest.defines conftest.undefs
15.23191 +# Using a here document instead of a string reduces the quoting nightmare.
15.23192 +# Putting comments in sed scripts is not portable.
15.23193 +#
15.23194 +# `end' is used to avoid that the second main sed command (meant for
15.23195 +# 0-ary CPP macros) applies to n-ary macro definitions.
15.23196 +# See the Autoconf documentation for `clear'.
15.23197 +cat >confdef2sed.sed <<\_ACEOF
15.23198 +s/[\\&,]/\\&/g
15.23199 +s,[\\$`],\\&,g
15.23200 +t clear
15.23201 +: clear
15.23202 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15.23203 +t end
15.23204 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15.23205 +: end
15.23206 +_ACEOF
15.23207 +# If some macros were called several times there might be several times
15.23208 +# the same #defines, which is useless. Nevertheless, we may not want to
15.23209 +# sort them, since we want the *last* AC-DEFINE to be honored.
15.23210 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15.23211 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15.23212 +rm -f confdef2sed.sed
15.23213 +
15.23214 +# This sed command replaces #undef with comments. This is necessary, for
15.23215 +# example, in the case of _POSIX_SOURCE, which is predefined and required
15.23216 +# on some systems where configure will not decide to define it.
15.23217 +cat >>conftest.undefs <<\_ACEOF
15.23218 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15.23219 +_ACEOF
15.23220 +
15.23221 +# Break up conftest.defines because some shells have a limit on the size
15.23222 +# of here documents, and old seds have small limits too (100 cmds).
15.23223 +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15.23224 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15.23225 +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15.23226 +echo ' :' >>$CONFIG_STATUS
15.23227 +rm -f conftest.tail
15.23228 +while grep . conftest.defines >/dev/null
15.23229 +do
15.23230 + # Write a limited-size here document to $tmp/defines.sed.
15.23231 + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15.23232 + # Speed up: don't consider the non `#define' lines.
15.23233 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15.23234 + # Work around the forget-to-reset-the-flag bug.
15.23235 + echo 't clr' >>$CONFIG_STATUS
15.23236 + echo ': clr' >>$CONFIG_STATUS
15.23237 + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15.23238 + echo 'CEOF
15.23239 + sed -f $tmp/defines.sed $tmp/in >$tmp/out
15.23240 + rm -f $tmp/in
15.23241 + mv $tmp/out $tmp/in
15.23242 +' >>$CONFIG_STATUS
15.23243 + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15.23244 + rm -f conftest.defines
15.23245 + mv conftest.tail conftest.defines
15.23246 +done
15.23247 +rm -f conftest.defines
15.23248 +echo ' fi # grep' >>$CONFIG_STATUS
15.23249 +echo >>$CONFIG_STATUS
15.23250 +
15.23251 +# Break up conftest.undefs because some shells have a limit on the size
15.23252 +# of here documents, and old seds have small limits too (100 cmds).
15.23253 +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15.23254 +rm -f conftest.tail
15.23255 +while grep . conftest.undefs >/dev/null
15.23256 +do
15.23257 + # Write a limited-size here document to $tmp/undefs.sed.
15.23258 + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15.23259 + # Speed up: don't consider the non `#undef'
15.23260 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15.23261 + # Work around the forget-to-reset-the-flag bug.
15.23262 + echo 't clr' >>$CONFIG_STATUS
15.23263 + echo ': clr' >>$CONFIG_STATUS
15.23264 + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15.23265 + echo 'CEOF
15.23266 + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15.23267 + rm -f $tmp/in
15.23268 + mv $tmp/out $tmp/in
15.23269 +' >>$CONFIG_STATUS
15.23270 + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15.23271 + rm -f conftest.undefs
15.23272 + mv conftest.tail conftest.undefs
15.23273 +done
15.23274 +rm -f conftest.undefs
15.23275 +
15.23276 +cat >>$CONFIG_STATUS <<\_ACEOF
15.23277 + # Let's still pretend it is `configure' which instantiates (i.e., don't
15.23278 + # use $as_me), people would be surprised to read:
15.23279 + # /* config.h. Generated by config.status. */
15.23280 + if test x"$ac_file" = x-; then
15.23281 + echo "/* Generated by configure. */" >$tmp/config.h
15.23282 + else
15.23283 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15.23284 + fi
15.23285 + cat $tmp/in >>$tmp/config.h
15.23286 + rm -f $tmp/in
15.23287 + if test x"$ac_file" != x-; then
15.23288 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
15.23289 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15.23290 +echo "$as_me: $ac_file is unchanged" >&6;}
15.23291 + else
15.23292 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15.23293 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15.23294 + X"$ac_file" : 'X\(//\)[^/]' \| \
15.23295 + X"$ac_file" : 'X\(//\)$' \| \
15.23296 + X"$ac_file" : 'X\(/\)' \| \
15.23297 + . : '\(.\)' 2>/dev/null ||
15.23298 +echo X"$ac_file" |
15.23299 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15.23300 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15.23301 + /^X\(\/\/\)$/{ s//\1/; q; }
15.23302 + /^X\(\/\).*/{ s//\1/; q; }
15.23303 + s/.*/./; q'`
15.23304 + { if $as_mkdir_p; then
15.23305 + mkdir -p "$ac_dir"
15.23306 + else
15.23307 + as_dir="$ac_dir"
15.23308 + as_dirs=
15.23309 + while test ! -d "$as_dir"; do
15.23310 + as_dirs="$as_dir $as_dirs"
15.23311 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
15.23312 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15.23313 + X"$as_dir" : 'X\(//\)[^/]' \| \
15.23314 + X"$as_dir" : 'X\(//\)$' \| \
15.23315 + X"$as_dir" : 'X\(/\)' \| \
15.23316 + . : '\(.\)' 2>/dev/null ||
15.23317 +echo X"$as_dir" |
15.23318 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15.23319 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15.23320 + /^X\(\/\/\)$/{ s//\1/; q; }
15.23321 + /^X\(\/\).*/{ s//\1/; q; }
15.23322 + s/.*/./; q'`
15.23323 + done
15.23324 + test ! -n "$as_dirs" || mkdir $as_dirs
15.23325 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15.23326 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15.23327 + { (exit 1); exit 1; }; }; }
15.23328 +
15.23329 + rm -f $ac_file
15.23330 + mv $tmp/config.h $ac_file
15.23331 + fi
15.23332 + else
15.23333 + cat $tmp/config.h
15.23334 + rm -f $tmp/config.h
15.23335 + fi
15.23336 +# Compute $ac_file's index in $config_headers.
15.23337 +_am_stamp_count=1
15.23338 +for _am_header in $config_headers :; do
15.23339 + case $_am_header in
15.23340 + $ac_file | $ac_file:* )
15.23341 + break ;;
15.23342 + * )
15.23343 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15.23344 + esac
15.23345 +done
15.23346 +echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15.23347 +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15.23348 + X$ac_file : 'X\(//\)[^/]' \| \
15.23349 + X$ac_file : 'X\(//\)$' \| \
15.23350 + X$ac_file : 'X\(/\)' \| \
15.23351 + . : '\(.\)' 2>/dev/null ||
15.23352 +echo X$ac_file |
15.23353 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15.23354 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15.23355 + /^X\(\/\/\)$/{ s//\1/; q; }
15.23356 + /^X\(\/\).*/{ s//\1/; q; }
15.23357 + s/.*/./; q'`/stamp-h$_am_stamp_count
15.23358 +done
15.23359 +_ACEOF
15.23360 +cat >>$CONFIG_STATUS <<\_ACEOF
15.23361 +
15.23362 +#
15.23363 +# CONFIG_COMMANDS section.
15.23364 +#
15.23365 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
15.23366 + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15.23367 + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15.23368 + ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
15.23369 +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15.23370 + X"$ac_dest" : 'X\(//\)[^/]' \| \
15.23371 + X"$ac_dest" : 'X\(//\)$' \| \
15.23372 + X"$ac_dest" : 'X\(/\)' \| \
15.23373 + . : '\(.\)' 2>/dev/null ||
15.23374 +echo X"$ac_dest" |
15.23375 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15.23376 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15.23377 + /^X\(\/\/\)$/{ s//\1/; q; }
15.23378 + /^X\(\/\).*/{ s//\1/; q; }
15.23379 + s/.*/./; q'`
15.23380 + { if $as_mkdir_p; then
15.23381 + mkdir -p "$ac_dir"
15.23382 + else
15.23383 + as_dir="$ac_dir"
15.23384 + as_dirs=
15.23385 + while test ! -d "$as_dir"; do
15.23386 + as_dirs="$as_dir $as_dirs"
15.23387 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
15.23388 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15.23389 + X"$as_dir" : 'X\(//\)[^/]' \| \
15.23390 + X"$as_dir" : 'X\(//\)$' \| \
15.23391 + X"$as_dir" : 'X\(/\)' \| \
15.23392 + . : '\(.\)' 2>/dev/null ||
15.23393 +echo X"$as_dir" |
15.23394 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15.23395 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15.23396 + /^X\(\/\/\)$/{ s//\1/; q; }
15.23397 + /^X\(\/\).*/{ s//\1/; q; }
15.23398 + s/.*/./; q'`
15.23399 + done
15.23400 + test ! -n "$as_dirs" || mkdir $as_dirs
15.23401 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15.23402 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15.23403 + { (exit 1); exit 1; }; }; }
15.23404 +
15.23405 + ac_builddir=.
15.23406 +
15.23407 +if test "$ac_dir" != .; then
15.23408 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15.23409 + # A "../" for each directory in $ac_dir_suffix.
15.23410 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15.23411 +else
15.23412 + ac_dir_suffix= ac_top_builddir=
15.23413 +fi
15.23414 +
15.23415 +case $srcdir in
15.23416 + .) # No --srcdir option. We are building in place.
15.23417 + ac_srcdir=.
15.23418 + if test -z "$ac_top_builddir"; then
15.23419 + ac_top_srcdir=.
15.23420 + else
15.23421 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15.23422 + fi ;;
15.23423 + [\\/]* | ?:[\\/]* ) # Absolute path.
15.23424 + ac_srcdir=$srcdir$ac_dir_suffix;
15.23425 + ac_top_srcdir=$srcdir ;;
15.23426 + *) # Relative path.
15.23427 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15.23428 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
15.23429 +esac
15.23430 +
15.23431 +# Do not use `cd foo && pwd` to compute absolute paths, because
15.23432 +# the directories may not exist.
15.23433 +case `pwd` in
15.23434 +.) ac_abs_builddir="$ac_dir";;
15.23435 +*)
15.23436 + case "$ac_dir" in
15.23437 + .) ac_abs_builddir=`pwd`;;
15.23438 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
15.23439 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
15.23440 + esac;;
15.23441 +esac
15.23442 +case $ac_abs_builddir in
15.23443 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
15.23444 +*)
15.23445 + case ${ac_top_builddir}. in
15.23446 + .) ac_abs_top_builddir=$ac_abs_builddir;;
15.23447 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15.23448 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15.23449 + esac;;
15.23450 +esac
15.23451 +case $ac_abs_builddir in
15.23452 +.) ac_abs_srcdir=$ac_srcdir;;
15.23453 +*)
15.23454 + case $ac_srcdir in
15.23455 + .) ac_abs_srcdir=$ac_abs_builddir;;
15.23456 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15.23457 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15.23458 + esac;;
15.23459 +esac
15.23460 +case $ac_abs_builddir in
15.23461 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
15.23462 +*)
15.23463 + case $ac_top_srcdir in
15.23464 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
15.23465 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15.23466 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15.23467 + esac;;
15.23468 +esac
15.23469 +
15.23470 +
15.23471 + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15.23472 +echo "$as_me: executing $ac_dest commands" >&6;}
15.23473 + case $ac_dest in
15.23474 + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15.23475 + # Strip MF so we end up with the name of the file.
15.23476 + mf=`echo "$mf" | sed -e 's/:.*$//'`
15.23477 + # Check whether this is an Automake generated Makefile or not.
15.23478 + # We used to match only the files named `Makefile.in', but
15.23479 + # some people rename them; so instead we look at the file content.
15.23480 + # Grep'ing the first line is not enough: some people post-process
15.23481 + # each Makefile.in and add a new line on top of each file to say so.
15.23482 + # So let's grep whole file.
15.23483 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
15.23484 + dirpart=`(dirname "$mf") 2>/dev/null ||
15.23485 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15.23486 + X"$mf" : 'X\(//\)[^/]' \| \
15.23487 + X"$mf" : 'X\(//\)$' \| \
15.23488 + X"$mf" : 'X\(/\)' \| \
15.23489 + . : '\(.\)' 2>/dev/null ||
15.23490 +echo X"$mf" |
15.23491 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15.23492 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15.23493 + /^X\(\/\/\)$/{ s//\1/; q; }
15.23494 + /^X\(\/\).*/{ s//\1/; q; }
15.23495 + s/.*/./; q'`
15.23496 + else
15.23497 + continue
15.23498 + fi
15.23499 + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
15.23500 + # Extract the definition of DEP_FILES from the Makefile without
15.23501 + # running `make'.
15.23502 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15.23503 + test -z "$DEPDIR" && continue
15.23504 + # When using ansi2knr, U may be empty or an underscore; expand it
15.23505 + U=`sed -n 's/^U = //p' < "$mf"`
15.23506 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
15.23507 + # We invoke sed twice because it is the simplest approach to
15.23508 + # changing $(DEPDIR) to its actual value in the expansion.
15.23509 + for file in `sed -n '
15.23510 + /^DEP_FILES = .*\\\\$/ {
15.23511 + s/^DEP_FILES = //
15.23512 + :loop
15.23513 + s/\\\\$//
15.23514 + p
15.23515 + n
15.23516 + /\\\\$/ b loop
15.23517 + p
15.23518 + }
15.23519 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
15.23520 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15.23521 + # Make sure the directory exists.
15.23522 + test -f "$dirpart/$file" && continue
15.23523 + fdir=`(dirname "$file") 2>/dev/null ||
15.23524 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15.23525 + X"$file" : 'X\(//\)[^/]' \| \
15.23526 + X"$file" : 'X\(//\)$' \| \
15.23527 + X"$file" : 'X\(/\)' \| \
15.23528 + . : '\(.\)' 2>/dev/null ||
15.23529 +echo X"$file" |
15.23530 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15.23531 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15.23532 + /^X\(\/\/\)$/{ s//\1/; q; }
15.23533 + /^X\(\/\).*/{ s//\1/; q; }
15.23534 + s/.*/./; q'`
15.23535 + { if $as_mkdir_p; then
15.23536 + mkdir -p $dirpart/$fdir
15.23537 + else
15.23538 + as_dir=$dirpart/$fdir
15.23539 + as_dirs=
15.23540 + while test ! -d "$as_dir"; do
15.23541 + as_dirs="$as_dir $as_dirs"
15.23542 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
15.23543 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15.23544 + X"$as_dir" : 'X\(//\)[^/]' \| \
15.23545 + X"$as_dir" : 'X\(//\)$' \| \
15.23546 + X"$as_dir" : 'X\(/\)' \| \
15.23547 + . : '\(.\)' 2>/dev/null ||
15.23548 +echo X"$as_dir" |
15.23549 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15.23550 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15.23551 + /^X\(\/\/\)$/{ s//\1/; q; }
15.23552 + /^X\(\/\).*/{ s//\1/; q; }
15.23553 + s/.*/./; q'`
15.23554 + done
15.23555 + test ! -n "$as_dirs" || mkdir $as_dirs
15.23556 + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
15.23557 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
15.23558 + { (exit 1); exit 1; }; }; }
15.23559 +
15.23560 + # echo "creating $dirpart/$file"
15.23561 + echo '# dummy' > "$dirpart/$file"
15.23562 + done
15.23563 +done
15.23564 + ;;
15.23565 + esac
15.23566 +done
15.23567 +_ACEOF
15.23568 +
15.23569 +cat >>$CONFIG_STATUS <<\_ACEOF
15.23570 +
15.23571 +{ (exit 0); exit 0; }
15.23572 +_ACEOF
15.23573 +chmod +x $CONFIG_STATUS
15.23574 +ac_clean_files=$ac_clean_files_save
15.23575 +
15.23576 +
15.23577 +# configure is writing to config.log, and then calls config.status.
15.23578 +# config.status does its own redirection, appending to config.log.
15.23579 +# Unfortunately, on DOS this fails, as config.log is still kept open
15.23580 +# by configure, so config.status won't be able to write to it; its
15.23581 +# output is simply discarded. So we exec the FD to /dev/null,
15.23582 +# effectively closing config.log, so it can be properly (re)opened and
15.23583 +# appended to by config.status. When coming back to configure, we
15.23584 +# need to make the FD available again.
15.23585 +if test "$no_create" != yes; then
15.23586 + ac_cs_success=:
15.23587 + ac_config_status_args=
15.23588 + test "$silent" = yes &&
15.23589 + ac_config_status_args="$ac_config_status_args --quiet"
15.23590 + exec 5>/dev/null
15.23591 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15.23592 + exec 5>>config.log
15.23593 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15.23594 + # would make configure fail if this is the last instruction.
15.23595 + $ac_cs_success || { (exit 1); exit 1; }
15.23596 +fi
15.23597 +
15.23598 +
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
16.2 +++ b/gst-plugins-nuvdemux/configure.ac Tue Oct 24 15:02:26 2006 +0100
16.3 @@ -0,0 +1,126 @@
16.4 +dnl fill in your package name and version here
16.5 +dnl autoconf configuration files for gst-plugins-dspbin
16.6 +AC_INIT
16.7 +AC_CANONICAL_TARGET
16.8 +
16.9 +AC_CONFIG_MACRO_DIR([m4])
16.10 +dnl We disable static building for development, for time savings
16.11 +dnl this goes before AS_LIBTOOL to appease autoconf
16.12 +dnl *NOTE*: dnl this line before release, so release does static too
16.13 +AM_DISABLE_STATIC
16.14 +
16.15 +dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
16.16 +AM_MAINTAINER_MODE
16.17 +
16.18 +dnl when going to/from release please set the nano (fourth number) right !
16.19 +dnl releases only do Wall, cvs and prerelease does Werror too
16.20 +AS_VERSION(gst-plugins-nuvdemux, GST_PLUGINS_VERSION, 0, 10, 0, 1, GST_CVS="no", GST_CVS="yes")
16.21 +
16.22 +AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
16.23 +
16.24 +AM_PROG_LIBTOOL
16.25 +
16.26 +AM_CONFIG_HEADER(config.h)
16.27 +
16.28 +dnl make aclocal work in maintainer mode
16.29 +AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
16.30 +
16.31 +dnl check for tools
16.32 +AC_PROG_CC
16.33 +AC_PROG_CC_STDC
16.34 +AM_PROG_AS
16.35 +
16.36 +dnl decide on error flags
16.37 +AS_COMPILER_FLAG(-Wall, GST_WALL="yes", GST_WALL="no")
16.38 +
16.39 +if test "x$GST_WALL" = "xyes"; then
16.40 + ERROR_CFLAGS="$GST_ERROR -Wall"
16.41 +
16.42 + if test "x$GST_CVS" = "xyes"; then
16.43 + AS_COMPILER_FLAG(-Werror,ERROR_CFLAGS="$ERROR_CFLAGS -Werror",ERROR_CFLAGS="$ERROR_CFLAGS")
16.44 + fi
16.45 +fi
16.46 +
16.47 +AC_SUBST(ERROR_CFLAGS)
16.48 +
16.49 +dnl determine c++ compiler
16.50 +AC_PROG_CXX
16.51 +dnl determine if c++ is available on this system
16.52 +AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no)
16.53 +dnl determine c++ preprocessor
16.54 +AC_PROG_CXXCPP
16.55 +AC_ISC_POSIX
16.56 +
16.57 +AC_HEADER_STDC([])
16.58 +AC_C_INLINE
16.59 +
16.60 +dnl Check for pkgconfig first
16.61 +AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
16.62 +
16.63 +dnl Give error and exit if we don't have pkgconfig
16.64 +if test "x$HAVE_PKGCONFIG" = "xno"; then
16.65 + AC_MSG_ERROR(you need to have pkgconfig installed !)
16.66 +fi
16.67 +
16.68 +dnl Now we're ready to ask for gstreamer libs and cflags
16.69 +dnl And we can also ask for the right version of gstreamer
16.70 +
16.71 +GST_REQUIRED=0.10.3
16.72 +GST_MAJORMINOR=0.10
16.73 +
16.74 +PKG_CHECK_MODULES(GST, \
16.75 + gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED,
16.76 + HAVE_GST=yes,HAVE_GST=no)
16.77 +
16.78 +dnl Give error and exit if we don't have gstreamer
16.79 +if test "x$HAVE_GST" = "xno"; then
16.80 + AC_MSG_ERROR(you need gstreamer development packages installed !)
16.81 +fi
16.82 +
16.83 +if test "x$USE_DEBUG" = xyes; then
16.84 + GST_CFLAGS="$GST_CFLAGS -g"
16.85 +fi
16.86 +
16.87 +dnl make GST_CFLAGS and GST_LIBS available
16.88 +AC_SUBST(GST_CFLAGS)
16.89 +AC_SUBST(GST_LIBS)
16.90 +
16.91 +dnl make GST_MAJORMINOR available in Makefile.am
16.92 +AC_SUBST(GST_MAJORMINOR)
16.93 +
16.94 +dnl check for gstreamer-base; uninstalled is selected preferentially
16.95 +PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED,
16.96 + HAVE_GST_BASE="yes", HAVE_GST_BASE="no")
16.97 +
16.98 +if test "x$HAVE_GST_BASE" = "xno"; then
16.99 + AC_MSG_ERROR(no GStreamer Base Libs found)
16.100 +fi
16.101 +
16.102 +AC_SUBST(GST_BASE_LIBS)
16.103 +AC_SUBST(GST_BASE_CFLAGS)
16.104 +
16.105 +dnl check for gstreamer-libs; uinstalled is selected preferentially
16.106 +PKG_CHECK_MODULES(GST_PLUGINS_BASE, gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED,
16.107 + HAVE_GST_PLUGINS="yes", HAVE_GST_PLUGINS="no")
16.108 +
16.109 +if test "x$HAVE_GST_PLUGINS" = "xno"; then
16.110 + AC_MSG_ERROR(no GStreamer Plugins Libs found)
16.111 +fi
16.112 +
16.113 +AC_SUBST(GST_PLUGINS_BASE_LIBS)
16.114 +AC_SUBST(GST_PLUGINS_BASE_CFLAGS)
16.115 +
16.116 +dnl set the plugindir where plugins should be installed
16.117 +plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
16.118 +AC_SUBST(plugindir)
16.119 +
16.120 +dnl set proper LDFLAGS for plugins
16.121 +GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*'
16.122 +AC_SUBST(GST_PLUGIN_LDFLAGS)
16.123 +
16.124 +AC_OUTPUT( \
16.125 + Makefile \
16.126 + src/Makefile \
16.127 + m4/Makefile
16.128 +)
16.129 +
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
17.2 +++ b/gst-plugins-nuvdemux/depcomp Tue Oct 24 15:02:26 2006 +0100
17.3 @@ -0,0 +1,526 @@
17.4 +#! /bin/sh
17.5 +# depcomp - compile a program generating dependencies as side-effects
17.6 +
17.7 +scriptversion=2004-04-25.13
17.8 +
17.9 +# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
17.10 +
17.11 +# This program is free software; you can redistribute it and/or modify
17.12 +# it under the terms of the GNU General Public License as published by
17.13 +# the Free Software Foundation; either version 2, or (at your option)
17.14 +# any later version.
17.15 +
17.16 +# This program is distributed in the hope that it will be useful,
17.17 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
17.18 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17.19 +# GNU General Public License for more details.
17.20 +
17.21 +# You should have received a copy of the GNU General Public License
17.22 +# along with this program; if not, write to the Free Software
17.23 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17.24 +# 02111-1307, 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 +# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
17.32 +
17.33 +case $1 in
17.34 + '')
17.35 + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
17.36 + exit 1;
17.37 + ;;
17.38 + -h | --h*)
17.39 + cat <<\EOF
17.40 +Usage: depcomp [--help] [--version] PROGRAM [ARGS]
17.41 +
17.42 +Run PROGRAMS ARGS to compile a file, generating dependencies
17.43 +as side-effects.
17.44 +
17.45 +Environment variables:
17.46 + depmode Dependency tracking mode.
17.47 + source Source file read by `PROGRAMS ARGS'.
17.48 + object Object file output by `PROGRAMS ARGS'.
17.49 + depfile Dependency file to output.
17.50 + tmpdepfile Temporary file to use when outputing dependencies.
17.51 + libtool Whether libtool is used (yes/no).
17.52 +
17.53 +Report bugs to <bug-automake@gnu.org>.
17.54 +EOF
17.55 + exit 0
17.56 + ;;
17.57 + -v | --v*)
17.58 + echo "depcomp $scriptversion"
17.59 + exit 0
17.60 + ;;
17.61 +esac
17.62 +
17.63 +if test -z "$depmode" || test -z "$source" || test -z "$object"; then
17.64 + echo "depcomp: Variables source, object and depmode must be set" 1>&2
17.65 + exit 1
17.66 +fi
17.67 +# `libtool' can also be set to `yes' or `no'.
17.68 +
17.69 +if test -z "$depfile"; then
17.70 + base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
17.71 + dir=`echo "$object" | sed 's,/.*$,/,'`
17.72 + if test "$dir" = "$object"; then
17.73 + dir=
17.74 + fi
17.75 + # FIXME: should be _deps on DOS.
17.76 + depfile="$dir.deps/$base"
17.77 +fi
17.78 +
17.79 +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
17.80 +
17.81 +rm -f "$tmpdepfile"
17.82 +
17.83 +# Some modes work just like other modes, but use different flags. We
17.84 +# parameterize here, but still list the modes in the big case below,
17.85 +# to make depend.m4 easier to write. Note that we *cannot* use a case
17.86 +# here, because this file can only contain one case statement.
17.87 +if test "$depmode" = hp; then
17.88 + # HP compiler uses -M and no extra arg.
17.89 + gccflag=-M
17.90 + depmode=gcc
17.91 +fi
17.92 +
17.93 +if test "$depmode" = dashXmstdout; then
17.94 + # This is just like dashmstdout with a different argument.
17.95 + dashmflag=-xM
17.96 + depmode=dashmstdout
17.97 +fi
17.98 +
17.99 +case "$depmode" in
17.100 +gcc3)
17.101 +## gcc 3 implements dependency tracking that does exactly what
17.102 +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
17.103 +## it if -MD -MP comes after the -MF stuff. Hmm.
17.104 + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
17.105 + stat=$?
17.106 + if test $stat -eq 0; then :
17.107 + else
17.108 + rm -f "$tmpdepfile"
17.109 + exit $stat
17.110 + fi
17.111 + mv "$tmpdepfile" "$depfile"
17.112 + ;;
17.113 +
17.114 +gcc)
17.115 +## There are various ways to get dependency output from gcc. Here's
17.116 +## why we pick this rather obscure method:
17.117 +## - Don't want to use -MD because we'd like the dependencies to end
17.118 +## up in a subdir. Having to rename by hand is ugly.
17.119 +## (We might end up doing this anyway to support other compilers.)
17.120 +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
17.121 +## -MM, not -M (despite what the docs say).
17.122 +## - Using -M directly means running the compiler twice (even worse
17.123 +## than renaming).
17.124 + if test -z "$gccflag"; then
17.125 + gccflag=-MD,
17.126 + fi
17.127 + "$@" -Wp,"$gccflag$tmpdepfile"
17.128 + stat=$?
17.129 + if test $stat -eq 0; then :
17.130 + else
17.131 + rm -f "$tmpdepfile"
17.132 + exit $stat
17.133 + fi
17.134 + rm -f "$depfile"
17.135 + echo "$object : \\" > "$depfile"
17.136 + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
17.137 +## The second -e expression handles DOS-style file names with drive letters.
17.138 + sed -e 's/^[^:]*: / /' \
17.139 + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
17.140 +## This next piece of magic avoids the `deleted header file' problem.
17.141 +## The problem is that when a header file which appears in a .P file
17.142 +## is deleted, the dependency causes make to die (because there is
17.143 +## typically no way to rebuild the header). We avoid this by adding
17.144 +## dummy dependencies for each header file. Too bad gcc doesn't do
17.145 +## this for us directly.
17.146 + tr ' ' '
17.147 +' < "$tmpdepfile" |
17.148 +## Some versions of gcc put a space before the `:'. On the theory
17.149 +## that the space means something, we add a space to the output as
17.150 +## well.
17.151 +## Some versions of the HPUX 10.20 sed can't process this invocation
17.152 +## correctly. Breaking it into two sed invocations is a workaround.
17.153 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
17.154 + rm -f "$tmpdepfile"
17.155 + ;;
17.156 +
17.157 +hp)
17.158 + # This case exists only to let depend.m4 do its work. It works by
17.159 + # looking at the text of this script. This case will never be run,
17.160 + # since it is checked for above.
17.161 + exit 1
17.162 + ;;
17.163 +
17.164 +sgi)
17.165 + if test "$libtool" = yes; then
17.166 + "$@" "-Wp,-MDupdate,$tmpdepfile"
17.167 + else
17.168 + "$@" -MDupdate "$tmpdepfile"
17.169 + fi
17.170 + stat=$?
17.171 + if test $stat -eq 0; then :
17.172 + else
17.173 + rm -f "$tmpdepfile"
17.174 + exit $stat
17.175 + fi
17.176 + rm -f "$depfile"
17.177 +
17.178 + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
17.179 + echo "$object : \\" > "$depfile"
17.180 +
17.181 + # Clip off the initial element (the dependent). Don't try to be
17.182 + # clever and replace this with sed code, as IRIX sed won't handle
17.183 + # lines with more than a fixed number of characters (4096 in
17.184 + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
17.185 + # the IRIX cc adds comments like `#:fec' to the end of the
17.186 + # dependency line.
17.187 + tr ' ' '
17.188 +' < "$tmpdepfile" \
17.189 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
17.190 + tr '
17.191 +' ' ' >> $depfile
17.192 + echo >> $depfile
17.193 +
17.194 + # The second pass generates a dummy entry for each header file.
17.195 + tr ' ' '
17.196 +' < "$tmpdepfile" \
17.197 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
17.198 + >> $depfile
17.199 + else
17.200 + # The sourcefile does not contain any dependencies, so just
17.201 + # store a dummy comment line, to avoid errors with the Makefile
17.202 + # "include basename.Plo" scheme.
17.203 + echo "#dummy" > "$depfile"
17.204 + fi
17.205 + rm -f "$tmpdepfile"
17.206 + ;;
17.207 +
17.208 +aix)
17.209 + # The C for AIX Compiler uses -M and outputs the dependencies
17.210 + # in a .u file. In older versions, this file always lives in the
17.211 + # current directory. Also, the AIX compiler puts `$object:' at the
17.212 + # start of each line; $object doesn't have directory information.
17.213 + # Version 6 uses the directory in both cases.
17.214 + stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
17.215 + tmpdepfile="$stripped.u"
17.216 + if test "$libtool" = yes; then
17.217 + "$@" -Wc,-M
17.218 + else
17.219 + "$@" -M
17.220 + fi
17.221 + stat=$?
17.222 +
17.223 + if test -f "$tmpdepfile"; then :
17.224 + else
17.225 + stripped=`echo "$stripped" | sed 's,^.*/,,'`
17.226 + tmpdepfile="$stripped.u"
17.227 + fi
17.228 +
17.229 + if test $stat -eq 0; then :
17.230 + else
17.231 + rm -f "$tmpdepfile"
17.232 + exit $stat
17.233 + fi
17.234 +
17.235 + if test -f "$tmpdepfile"; then
17.236 + outname="$stripped.o"
17.237 + # Each line is of the form `foo.o: dependent.h'.
17.238 + # Do two passes, one to just change these to
17.239 + # `$object: dependent.h' and one to simply `dependent.h:'.
17.240 + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
17.241 + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
17.242 + else
17.243 + # The sourcefile does not contain any dependencies, so just
17.244 + # store a dummy comment line, to avoid errors with the Makefile
17.245 + # "include basename.Plo" scheme.
17.246 + echo "#dummy" > "$depfile"
17.247 + fi
17.248 + rm -f "$tmpdepfile"
17.249 + ;;
17.250 +
17.251 +icc)
17.252 + # Intel's C compiler understands `-MD -MF file'. However on
17.253 + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
17.254 + # ICC 7.0 will fill foo.d with something like
17.255 + # foo.o: sub/foo.c
17.256 + # foo.o: sub/foo.h
17.257 + # which is wrong. We want:
17.258 + # sub/foo.o: sub/foo.c
17.259 + # sub/foo.o: sub/foo.h
17.260 + # sub/foo.c:
17.261 + # sub/foo.h:
17.262 + # ICC 7.1 will output
17.263 + # foo.o: sub/foo.c sub/foo.h
17.264 + # and will wrap long lines using \ :
17.265 + # foo.o: sub/foo.c ... \
17.266 + # sub/foo.h ... \
17.267 + # ...
17.268 +
17.269 + "$@" -MD -MF "$tmpdepfile"
17.270 + stat=$?
17.271 + if test $stat -eq 0; then :
17.272 + else
17.273 + rm -f "$tmpdepfile"
17.274 + exit $stat
17.275 + fi
17.276 + rm -f "$depfile"
17.277 + # Each line is of the form `foo.o: dependent.h',
17.278 + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
17.279 + # Do two passes, one to just change these to
17.280 + # `$object: dependent.h' and one to simply `dependent.h:'.
17.281 + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
17.282 + # Some versions of the HPUX 10.20 sed can't process this invocation
17.283 + # correctly. Breaking it into two sed invocations is a workaround.
17.284 + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
17.285 + sed -e 's/$/ :/' >> "$depfile"
17.286 + rm -f "$tmpdepfile"
17.287 + ;;
17.288 +
17.289 +tru64)
17.290 + # The Tru64 compiler uses -MD to generate dependencies as a side
17.291 + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
17.292 + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
17.293 + # dependencies in `foo.d' instead, so we check for that too.
17.294 + # Subdirectories are respected.
17.295 + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
17.296 + test "x$dir" = "x$object" && dir=
17.297 + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
17.298 +
17.299 + if test "$libtool" = yes; then
17.300 + # Dependencies are output in .lo.d with libtool 1.4.
17.301 + # They are output in .o.d with libtool 1.5.
17.302 + tmpdepfile1="$dir.libs/$base.lo.d"
17.303 + tmpdepfile2="$dir.libs/$base.o.d"
17.304 + tmpdepfile3="$dir.libs/$base.d"
17.305 + "$@" -Wc,-MD
17.306 + else
17.307 + tmpdepfile1="$dir$base.o.d"
17.308 + tmpdepfile2="$dir$base.d"
17.309 + tmpdepfile3="$dir$base.d"
17.310 + "$@" -MD
17.311 + fi
17.312 +
17.313 + stat=$?
17.314 + if test $stat -eq 0; then :
17.315 + else
17.316 + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
17.317 + exit $stat
17.318 + fi
17.319 +
17.320 + if test -f "$tmpdepfile1"; then
17.321 + tmpdepfile="$tmpdepfile1"
17.322 + elif test -f "$tmpdepfile2"; then
17.323 + tmpdepfile="$tmpdepfile2"
17.324 + else
17.325 + tmpdepfile="$tmpdepfile3"
17.326 + fi
17.327 + if test -f "$tmpdepfile"; then
17.328 + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
17.329 + # That's a tab and a space in the [].
17.330 + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
17.331 + else
17.332 + echo "#dummy" > "$depfile"
17.333 + fi
17.334 + rm -f "$tmpdepfile"
17.335 + ;;
17.336 +
17.337 +#nosideeffect)
17.338 + # This comment above is used by automake to tell side-effect
17.339 + # dependency tracking mechanisms from slower ones.
17.340 +
17.341 +dashmstdout)
17.342 + # Important note: in order to support this mode, a compiler *must*
17.343 + # always write the preprocessed file to stdout, regardless of -o.
17.344 + "$@" || exit $?
17.345 +
17.346 + # Remove the call to Libtool.
17.347 + if test "$libtool" = yes; then
17.348 + while test $1 != '--mode=compile'; do
17.349 + shift
17.350 + done
17.351 + shift
17.352 + fi
17.353 +
17.354 + # Remove `-o $object'.
17.355 + IFS=" "
17.356 + for arg
17.357 + do
17.358 + case $arg in
17.359 + -o)
17.360 + shift
17.361 + ;;
17.362 + $object)
17.363 + shift
17.364 + ;;
17.365 + *)
17.366 + set fnord "$@" "$arg"
17.367 + shift # fnord
17.368 + shift # $arg
17.369 + ;;
17.370 + esac
17.371 + done
17.372 +
17.373 + test -z "$dashmflag" && dashmflag=-M
17.374 + # Require at least two characters before searching for `:'
17.375 + # in the target name. This is to cope with DOS-style filenames:
17.376 + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
17.377 + "$@" $dashmflag |
17.378 + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
17.379 + rm -f "$depfile"
17.380 + cat < "$tmpdepfile" > "$depfile"
17.381 + tr ' ' '
17.382 +' < "$tmpdepfile" | \
17.383 +## Some versions of the HPUX 10.20 sed can't process this invocation
17.384 +## correctly. Breaking it into two sed invocations is a workaround.
17.385 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
17.386 + rm -f "$tmpdepfile"
17.387 + ;;
17.388 +
17.389 +dashXmstdout)
17.390 + # This case only exists to satisfy depend.m4. It is never actually
17.391 + # run, as this mode is specially recognized in the preamble.
17.392 + exit 1
17.393 + ;;
17.394 +
17.395 +makedepend)
17.396 + "$@" || exit $?
17.397 + # Remove any Libtool call
17.398 + if test "$libtool" = yes; then
17.399 + while test $1 != '--mode=compile'; do
17.400 + shift
17.401 + done
17.402 + shift
17.403 + fi
17.404 + # X makedepend
17.405 + shift
17.406 + cleared=no
17.407 + for arg in "$@"; do
17.408 + case $cleared in
17.409 + no)
17.410 + set ""; shift
17.411 + cleared=yes ;;
17.412 + esac
17.413 + case "$arg" in
17.414 + -D*|-I*)
17.415 + set fnord "$@" "$arg"; shift ;;
17.416 + # Strip any option that makedepend may not understand. Remove
17.417 + # the object too, otherwise makedepend will parse it as a source file.
17.418 + -*|$object)
17.419 + ;;
17.420 + *)
17.421 + set fnord "$@" "$arg"; shift ;;
17.422 + esac
17.423 + done
17.424 + obj_suffix="`echo $object | sed 's/^.*\././'`"
17.425 + touch "$tmpdepfile"
17.426 + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
17.427 + rm -f "$depfile"
17.428 + cat < "$tmpdepfile" > "$depfile"
17.429 + sed '1,2d' "$tmpdepfile" | tr ' ' '
17.430 +' | \
17.431 +## Some versions of the HPUX 10.20 sed can't process this invocation
17.432 +## correctly. Breaking it into two sed invocations is a workaround.
17.433 + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
17.434 + rm -f "$tmpdepfile" "$tmpdepfile".bak
17.435 + ;;
17.436 +
17.437 +cpp)
17.438 + # Important note: in order to support this mode, a compiler *must*
17.439 + # always write the preprocessed file to stdout.
17.440 + "$@" || exit $?
17.441 +
17.442 + # Remove the call to Libtool.
17.443 + if test "$libtool" = yes; then
17.444 + while test $1 != '--mode=compile'; do
17.445 + shift
17.446 + done
17.447 + shift
17.448 + fi
17.449 +
17.450 + # Remove `-o $object'.
17.451 + IFS=" "
17.452 + for arg
17.453 + do
17.454 + case $arg in
17.455 + -o)
17.456 + shift
17.457 + ;;
17.458 + $object)
17.459 + shift
17.460 + ;;
17.461 + *)
17.462 + set fnord "$@" "$arg"
17.463 + shift # fnord
17.464 + shift # $arg
17.465 + ;;
17.466 + esac
17.467 + done
17.468 +
17.469 + "$@" -E |
17.470 + sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
17.471 + sed '$ s: \\$::' > "$tmpdepfile"
17.472 + rm -f "$depfile"
17.473 + echo "$object : \\" > "$depfile"
17.474 + cat < "$tmpdepfile" >> "$depfile"
17.475 + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
17.476 + rm -f "$tmpdepfile"
17.477 + ;;
17.478 +
17.479 +msvisualcpp)
17.480 + # Important note: in order to support this mode, a compiler *must*
17.481 + # always write the preprocessed file to stdout, regardless of -o,
17.482 + # because we must use -o when running libtool.
17.483 + "$@" || exit $?
17.484 + IFS=" "
17.485 + for arg
17.486 + do
17.487 + case "$arg" in
17.488 + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
17.489 + set fnord "$@"
17.490 + shift
17.491 + shift
17.492 + ;;
17.493 + *)
17.494 + set fnord "$@" "$arg"
17.495 + shift
17.496 + shift
17.497 + ;;
17.498 + esac
17.499 + done
17.500 + "$@" -E |
17.501 + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
17.502 + rm -f "$depfile"
17.503 + echo "$object : \\" > "$depfile"
17.504 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
17.505 + echo " " >> "$depfile"
17.506 + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
17.507 + rm -f "$tmpdepfile"
17.508 + ;;
17.509 +
17.510 +none)
17.511 + exec "$@"
17.512 + ;;
17.513 +
17.514 +*)
17.515 + echo "Unknown depmode $depmode" 1>&2
17.516 + exit 1
17.517 + ;;
17.518 +esac
17.519 +
17.520 +exit 0
17.521 +
17.522 +# Local Variables:
17.523 +# mode: shell-script
17.524 +# sh-indentation: 2
17.525 +# eval: (add-hook 'write-file-hooks 'time-stamp)
17.526 +# time-stamp-start: "scriptversion="
17.527 +# time-stamp-format: "%:y-%02m-%02d.%02H"
17.528 +# time-stamp-end: "$"
17.529 +# End:
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
18.2 +++ b/gst-plugins-nuvdemux/install-sh Tue Oct 24 15:02:26 2006 +0100
18.3 @@ -0,0 +1,325 @@
18.4 +#!/bin/sh
18.5 +# install - install a program, script, or datafile
18.6 +
18.7 +scriptversion=2004-04-01.17
18.8 +
18.9 +# This originates from X11R5 (mit/util/scripts/install.sh), which was
18.10 +# later released in X11R6 (xc/config/util/install.sh) with the
18.11 +# following copyright and license.
18.12 +#
18.13 +# Copyright (C) 1994 X Consortium
18.14 +#
18.15 +# Permission is hereby granted, free of charge, to any person obtaining a copy
18.16 +# of this software and associated documentation files (the "Software"), to
18.17 +# deal in the Software without restriction, including without limitation the
18.18 +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18.19 +# sell copies of the Software, and to permit persons to whom the Software is
18.20 +# furnished to do so, subject to the following conditions:
18.21 +#
18.22 +# The above copyright notice and this permission notice shall be included in
18.23 +# all copies or substantial portions of the Software.
18.24 +#
18.25 +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18.26 +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18.27 +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18.28 +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18.29 +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
18.30 +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18.31 +#
18.32 +# Except as contained in this notice, the name of the X Consortium shall not
18.33 +# be used in advertising or otherwise to promote the sale, use or other deal-
18.34 +# ings in this Software without prior written authorization from the X Consor-
18.35 +# tium.
18.36 +#
18.37 +#
18.38 +# FSF changes to this file are in the public domain.
18.39 +#
18.40 +# Calling this script install-sh is preferred over install.sh, to prevent
18.41 +# `make' implicit rules from creating a file called install from it
18.42 +# when there is no Makefile.
18.43 +#
18.44 +# This script is compatible with the BSD install script, but was written
18.45 +# from scratch. It can only install one file at a time, a restriction
18.46 +# shared with many OS's install programs.
18.47 +
18.48 +# set DOITPROG to echo to test this script
18.49 +
18.50 +# Don't use :- since 4.3BSD and earlier shells don't like it.
18.51 +doit="${DOITPROG-}"
18.52 +
18.53 +# put in absolute paths if you don't have them in your path; or use env. vars.
18.54 +
18.55 +mvprog="${MVPROG-mv}"
18.56 +cpprog="${CPPROG-cp}"
18.57 +chmodprog="${CHMODPROG-chmod}"
18.58 +chownprog="${CHOWNPROG-chown}"
18.59 +chgrpprog="${CHGRPPROG-chgrp}"
18.60 +stripprog="${STRIPPROG-strip}"
18.61 +rmprog="${RMPROG-rm}"
18.62 +mkdirprog="${MKDIRPROG-mkdir}"
18.63 +
18.64 +transformbasename=
18.65 +transform_arg=
18.66 +instcmd="$mvprog"
18.67 +chmodcmd="$chmodprog 0755"
18.68 +chowncmd=
18.69 +chgrpcmd=
18.70 +stripcmd=
18.71 +rmcmd="$rmprog -f"
18.72 +mvcmd="$mvprog"
18.73 +src=
18.74 +dst=
18.75 +dir_arg=
18.76 +
18.77 +usage="Usage: $0 [OPTION]... SRCFILE DSTFILE
18.78 + or: $0 [OPTION]... SRCFILES... DIRECTORY
18.79 + or: $0 -d DIRECTORIES...
18.80 +
18.81 +In the first form, install SRCFILE to DSTFILE, removing SRCFILE by default.
18.82 +In the second, create the directory path DIR.
18.83 +
18.84 +Options:
18.85 +-b=TRANSFORMBASENAME
18.86 +-c copy source (using $cpprog) instead of moving (using $mvprog).
18.87 +-d create directories instead of installing files.
18.88 +-g GROUP $chgrp installed files to GROUP.
18.89 +-m MODE $chmod installed files to MODE.
18.90 +-o USER $chown installed files to USER.
18.91 +-s strip installed files (using $stripprog).
18.92 +-t=TRANSFORM
18.93 +--help display this help and exit.
18.94 +--version display version info and exit.
18.95 +
18.96 +Environment variables override the default commands:
18.97 + CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
18.98 +"
18.99 +
18.100 +while test -n "$1"; do
18.101 + case $1 in
18.102 + -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
18.103 + shift
18.104 + continue;;
18.105 +
18.106 + -c) instcmd=$cpprog
18.107 + shift
18.108 + continue;;
18.109 +
18.110 + -d) dir_arg=true
18.111 + shift
18.112 + continue;;
18.113 +
18.114 + -g) chgrpcmd="$chgrpprog $2"
18.115 + shift
18.116 + shift
18.117 + continue;;
18.118 +
18.119 + --help) echo "$usage"; exit 0;;
18.120 +
18.121 + -m) chmodcmd="$chmodprog $2"
18.122 + shift
18.123 + shift
18.124 + continue;;
18.125 +
18.126 + -o) chowncmd="$chownprog $2"
18.127 + shift
18.128 + shift
18.129 + continue;;
18.130 +
18.131 + -s) stripcmd=$stripprog
18.132 + shift
18.133 + continue;;
18.134 +
18.135 + -t=*) transformarg=`echo $1 | sed 's/-t=//'`
18.136 + shift
18.137 + continue;;
18.138 +
18.139 + --version) echo "$0 $scriptversion"; exit 0;;
18.140 +
18.141 + *) # When -d is used, all remaining arguments are directories to create.
18.142 + test -n "$dir_arg" && break
18.143 + # Otherwise, the last argument is the destination. Remove it from $@.
18.144 + for arg
18.145 + do
18.146 + if test -n "$dstarg"; then
18.147 + # $@ is not empty: it contains at least $arg.
18.148 + set fnord "$@" "$dstarg"
18.149 + shift # fnord
18.150 + fi
18.151 + shift # arg
18.152 + dstarg=$arg
18.153 + done
18.154 + break;;
18.155 + esac
18.156 +done
18.157 +
18.158 +if test -z "$1"; then
18.159 + if test -z "$dir_arg"; then
18.160 + echo "$0: no input file specified." >&2
18.161 + exit 1
18.162 + fi
18.163 + # It's OK to call `install-sh -d' without argument.
18.164 + # This can happen when creating conditional directories.
18.165 + exit 0
18.166 +fi
18.167 +
18.168 +for src
18.169 +do
18.170 + # Protect names starting with `-'.
18.171 + case $src in
18.172 + -*) src=./$src ;;
18.173 + esac
18.174 +
18.175 + if test -n "$dir_arg"; then
18.176 + dst=$src
18.177 + src=
18.178 +
18.179 + if test -d "$dst"; then
18.180 + instcmd=:
18.181 + chmodcmd=
18.182 + else
18.183 + instcmd=$mkdirprog
18.184 + fi
18.185 + else
18.186 + # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
18.187 + # might cause directories to be created, which would be especially bad
18.188 + # if $src (and thus $dsttmp) contains '*'.
18.189 + if test ! -f "$src" && test ! -d "$src"; then
18.190 + echo "$0: $src does not exist." >&2
18.191 + exit 1
18.192 + fi
18.193 +
18.194 + if test -z "$dstarg"; then
18.195 + echo "$0: no destination specified." >&2
18.196 + exit 1
18.197 + fi
18.198 +
18.199 + dst=$dstarg
18.200 + # Protect names starting with `-'.
18.201 + case $dst in
18.202 + -*) dst=./$dst ;;
18.203 + esac
18.204 +
18.205 + # If destination is a directory, append the input filename; won't work
18.206 + # if double slashes aren't ignored.
18.207 + if test -d "$dst"; then
18.208 + dst=$dst/`basename "$src"`
18.209 + fi
18.210 + fi
18.211 +
18.212 + # This sed command emulates the dirname command.
18.213 + dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
18.214 +
18.215 + # Make sure that the destination directory exists.
18.216 +
18.217 + # Skip lots of stat calls in the usual case.
18.218 + if test ! -d "$dstdir"; then
18.219 + defaultIFS='
18.220 + '
18.221 + IFS="${IFS-$defaultIFS}"
18.222 +
18.223 + oIFS=$IFS
18.224 + # Some sh's can't handle IFS=/ for some reason.
18.225 + IFS='%'
18.226 + set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
18.227 + IFS=$oIFS
18.228 +
18.229 + pathcomp=
18.230 +
18.231 + while test $# -ne 0 ; do
18.232 + pathcomp=$pathcomp$1
18.233 + shift
18.234 + if test ! -d "$pathcomp"; then
18.235 + $mkdirprog "$pathcomp" || lasterr=$?
18.236 + # mkdir can fail with a `File exist' error in case several
18.237 + # install-sh are creating the directory concurrently. This
18.238 + # is OK.
18.239 + test ! -d "$pathcomp" && { (exit ${lasterr-1}); exit; }
18.240 + fi
18.241 + pathcomp=$pathcomp/
18.242 + done
18.243 + fi
18.244 +
18.245 + if test -n "$dir_arg"; then
18.246 + $doit $instcmd "$dst" \
18.247 + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
18.248 + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
18.249 + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
18.250 + && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
18.251 +
18.252 + else
18.253 + # If we're going to rename the final executable, determine the name now.
18.254 + if test -z "$transformarg"; then
18.255 + dstfile=`basename "$dst"`
18.256 + else
18.257 + dstfile=`basename "$dst" $transformbasename \
18.258 + | sed $transformarg`$transformbasename
18.259 + fi
18.260 +
18.261 + # don't allow the sed command to completely eliminate the filename.
18.262 + test -z "$dstfile" && dstfile=`basename "$dst"`
18.263 +
18.264 + # Make a couple of temp file names in the proper directory.
18.265 + dsttmp=$dstdir/_inst.$$_
18.266 + rmtmp=$dstdir/_rm.$$_
18.267 +
18.268 + # Trap to clean up those temp files at exit.
18.269 + trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
18.270 + trap '(exit $?); exit' 1 2 13 15
18.271 +
18.272 + # Move or copy the file name to the temp name
18.273 + $doit $instcmd "$src" "$dsttmp" &&
18.274 +
18.275 + # and set any options; do chmod last to preserve setuid bits.
18.276 + #
18.277 + # If any of these fail, we abort the whole thing. If we want to
18.278 + # ignore errors from any of these, just make sure not to ignore
18.279 + # errors from the above "$doit $instcmd $src $dsttmp" command.
18.280 + #
18.281 + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
18.282 + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
18.283 + && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
18.284 + && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
18.285 +
18.286 + # Now rename the file to the real destination.
18.287 + { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
18.288 + || {
18.289 + # The rename failed, perhaps because mv can't rename something else
18.290 + # to itself, or perhaps because mv is so ancient that it does not
18.291 + # support -f.
18.292 +
18.293 + # Now remove or move aside any old file at destination location.
18.294 + # We try this two ways since rm can't unlink itself on some
18.295 + # systems and the destination file might be busy for other
18.296 + # reasons. In this case, the final cleanup might fail but the new
18.297 + # file should still install successfully.
18.298 + {
18.299 + if test -f "$dstdir/$dstfile"; then
18.300 + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
18.301 + || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
18.302 + || {
18.303 + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
18.304 + (exit 1); exit
18.305 + }
18.306 + else
18.307 + :
18.308 + fi
18.309 + } &&
18.310 +
18.311 + # Now rename the file to the real destination.
18.312 + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
18.313 + }
18.314 + }
18.315 + fi || { (exit 1); exit; }
18.316 +done
18.317 +
18.318 +# The final little trick to "correctly" pass the exit status to the exit trap.
18.319 +{
18.320 + (exit 0); exit
18.321 +}
18.322 +
18.323 +# Local variables:
18.324 +# eval: (add-hook 'write-file-hooks 'time-stamp)
18.325 +# time-stamp-start: "scriptversion="
18.326 +# time-stamp-format: "%:y-%02m-%02d.%02H"
18.327 +# time-stamp-end: "$"
18.328 +# End:
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
19.2 +++ b/gst-plugins-nuvdemux/ltmain.sh Tue Oct 24 15:02:26 2006 +0100
19.3 @@ -0,0 +1,6530 @@
19.4 +# ltmain.sh - Provide generalized library-building support services.
19.5 +# NOTE: Changing this file will not affect anything until you rerun configure.
19.6 +#
19.7 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
19.8 +# Free Software Foundation, Inc.
19.9 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
19.10 +#
19.11 +# This program is free software; you can redistribute it and/or modify
19.12 +# it under the terms of the GNU General Public License as published by
19.13 +# the Free Software Foundation; either version 2 of the License, or
19.14 +# (at your option) any later version.
19.15 +#
19.16 +# This program is distributed in the hope that it will be useful, but
19.17 +# WITHOUT ANY WARRANTY; without even the implied warranty of
19.18 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19.19 +# General Public License for more details.
19.20 +#
19.21 +# You should have received a copy of the GNU General Public License
19.22 +# along with this program; if not, write to the Free Software
19.23 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19.24 +#
19.25 +# As a special exception to the GNU General Public License, if you
19.26 +# distribute this file as part of a program that contains a
19.27 +# configuration script generated by Autoconf, you may include it under
19.28 +# the same distribution terms that you use for the rest of that program.
19.29 +
19.30 +basename="s,^.*/,,g"
19.31 +
19.32 +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
19.33 +# is ksh but when the shell is invoked as "sh" and the current value of
19.34 +# the _XPG environment variable is not equal to 1 (one), the special
19.35 +# positional parameter $0, within a function call, is the name of the
19.36 +# function.
19.37 +progpath="$0"
19.38 +
19.39 +# The name of this program:
19.40 +progname=`echo "$progpath" | $SED $basename`
19.41 +modename="$progname"
19.42 +
19.43 +# Global variables:
19.44 +EXIT_SUCCESS=0
19.45 +EXIT_FAILURE=1
19.46 +
19.47 +PROGRAM=ltmain.sh
19.48 +PACKAGE=libtool
19.49 +VERSION=1.5.20
19.50 +TIMESTAMP=" (1.1220.2.287 2005/08/31 18:54:15)"
19.51 +
19.52 +# See if we are running on zsh, and set the options which allow our
19.53 +# commands through without removal of \ escapes.
19.54 +if test -n "${ZSH_VERSION+set}" ; then
19.55 + setopt NO_GLOB_SUBST
19.56 +fi
19.57 +
19.58 +# Check that we have a working $echo.
19.59 +if test "X$1" = X--no-reexec; then
19.60 + # Discard the --no-reexec flag, and continue.
19.61 + shift
19.62 +elif test "X$1" = X--fallback-echo; then
19.63 + # Avoid inline document here, it may be left over
19.64 + :
19.65 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
19.66 + # Yippee, $echo works!
19.67 + :
19.68 +else
19.69 + # Restart under the correct shell, and then maybe $echo will work.
19.70 + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
19.71 +fi
19.72 +
19.73 +if test "X$1" = X--fallback-echo; then
19.74 + # used as fallback echo
19.75 + shift
19.76 + cat <<EOF
19.77 +$*
19.78 +EOF
19.79 + exit $EXIT_SUCCESS
19.80 +fi
19.81 +
19.82 +default_mode=
19.83 +help="Try \`$progname --help' for more information."
19.84 +magic="%%%MAGIC variable%%%"
19.85 +mkdir="mkdir"
19.86 +mv="mv -f"
19.87 +rm="rm -f"
19.88 +
19.89 +# Sed substitution that helps us do robust quoting. It backslashifies
19.90 +# metacharacters that are still active within double-quoted strings.
19.91 +Xsed="${SED}"' -e 1s/^X//'
19.92 +sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
19.93 +# test EBCDIC or ASCII
19.94 +case `echo X|tr X '\101'` in
19.95 + A) # ASCII based system
19.96 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
19.97 + SP2NL='tr \040 \012'
19.98 + NL2SP='tr \015\012 \040\040'
19.99 + ;;
19.100 + *) # EBCDIC based system
19.101 + SP2NL='tr \100 \n'
19.102 + NL2SP='tr \r\n \100\100'
19.103 + ;;
19.104 +esac
19.105 +
19.106 +# NLS nuisances.
19.107 +# Only set LANG and LC_ALL to C if already set.
19.108 +# These must not be set unconditionally because not all systems understand
19.109 +# e.g. LANG=C (notably SCO).
19.110 +# We save the old values to restore during execute mode.
19.111 +if test "${LC_ALL+set}" = set; then
19.112 + save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
19.113 +fi
19.114 +if test "${LANG+set}" = set; then
19.115 + save_LANG="$LANG"; LANG=C; export LANG
19.116 +fi
19.117 +
19.118 +# Make sure IFS has a sensible default
19.119 +lt_nl='
19.120 +'
19.121 +IFS=" $lt_nl"
19.122 +
19.123 +if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
19.124 + $echo "$modename: not configured to build any kind of library" 1>&2
19.125 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
19.126 + exit $EXIT_FAILURE
19.127 +fi
19.128 +
19.129 +# Global variables.
19.130 +mode=$default_mode
19.131 +nonopt=
19.132 +prev=
19.133 +prevopt=
19.134 +run=
19.135 +show="$echo"
19.136 +show_help=
19.137 +execute_dlfiles=
19.138 +lo2o="s/\\.lo\$/.${objext}/"
19.139 +o2lo="s/\\.${objext}\$/.lo/"
19.140 +
19.141 +#####################################
19.142 +# Shell function definitions:
19.143 +# This seems to be the best place for them
19.144 +
19.145 +# func_win32_libid arg
19.146 +# return the library type of file 'arg'
19.147 +#
19.148 +# Need a lot of goo to handle *both* DLLs and import libs
19.149 +# Has to be a shell function in order to 'eat' the argument
19.150 +# that is supplied when $file_magic_command is called.
19.151 +func_win32_libid ()
19.152 +{
19.153 + win32_libid_type="unknown"
19.154 + win32_fileres=`file -L $1 2>/dev/null`
19.155 + case $win32_fileres in
19.156 + *ar\ archive\ import\ library*) # definitely import
19.157 + win32_libid_type="x86 archive import"
19.158 + ;;
19.159 + *ar\ archive*) # could be an import, or static
19.160 + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
19.161 + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
19.162 + win32_nmres=`eval $NM -f posix -A $1 | \
19.163 + sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
19.164 + if test "X$win32_nmres" = "Ximport" ; then
19.165 + win32_libid_type="x86 archive import"
19.166 + else
19.167 + win32_libid_type="x86 archive static"
19.168 + fi
19.169 + fi
19.170 + ;;
19.171 + *DLL*)
19.172 + win32_libid_type="x86 DLL"
19.173 + ;;
19.174 + *executable*) # but shell scripts are "executable" too...
19.175 + case $win32_fileres in
19.176 + *MS\ Windows\ PE\ Intel*)
19.177 + win32_libid_type="x86 DLL"
19.178 + ;;
19.179 + esac
19.180 + ;;
19.181 + esac
19.182 + $echo $win32_libid_type
19.183 +}
19.184 +
19.185 +
19.186 +# func_infer_tag arg
19.187 +# Infer tagged configuration to use if any are available and
19.188 +# if one wasn't chosen via the "--tag" command line option.
19.189 +# Only attempt this if the compiler in the base compile
19.190 +# command doesn't match the default compiler.
19.191 +# arg is usually of the form 'gcc ...'
19.192 +func_infer_tag ()
19.193 +{
19.194 + if test -n "$available_tags" && test -z "$tagname"; then
19.195 + CC_quoted=
19.196 + for arg in $CC; do
19.197 + case $arg in
19.198 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.199 + arg="\"$arg\""
19.200 + ;;
19.201 + esac
19.202 + CC_quoted="$CC_quoted $arg"
19.203 + done
19.204 + case $@ in
19.205 + # Blanks in the command may have been stripped by the calling shell,
19.206 + # but not from the CC environment variable when configure was run.
19.207 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
19.208 + # Blanks at the start of $base_compile will cause this to fail
19.209 + # if we don't check for them as well.
19.210 + *)
19.211 + for z in $available_tags; do
19.212 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
19.213 + # Evaluate the configuration.
19.214 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
19.215 + CC_quoted=
19.216 + for arg in $CC; do
19.217 + # Double-quote args containing other shell metacharacters.
19.218 + case $arg in
19.219 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.220 + arg="\"$arg\""
19.221 + ;;
19.222 + esac
19.223 + CC_quoted="$CC_quoted $arg"
19.224 + done
19.225 + case "$@ " in
19.226 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
19.227 + # The compiler in the base compile command matches
19.228 + # the one in the tagged configuration.
19.229 + # Assume this is the tagged configuration we want.
19.230 + tagname=$z
19.231 + break
19.232 + ;;
19.233 + esac
19.234 + fi
19.235 + done
19.236 + # If $tagname still isn't set, then no tagged configuration
19.237 + # was found and let the user know that the "--tag" command
19.238 + # line option must be used.
19.239 + if test -z "$tagname"; then
19.240 + $echo "$modename: unable to infer tagged configuration"
19.241 + $echo "$modename: specify a tag with \`--tag'" 1>&2
19.242 + exit $EXIT_FAILURE
19.243 +# else
19.244 +# $echo "$modename: using $tagname tagged configuration"
19.245 + fi
19.246 + ;;
19.247 + esac
19.248 + fi
19.249 +}
19.250 +
19.251 +
19.252 +# func_extract_an_archive dir oldlib
19.253 +func_extract_an_archive ()
19.254 +{
19.255 + f_ex_an_ar_dir="$1"; shift
19.256 + f_ex_an_ar_oldlib="$1"
19.257 +
19.258 + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
19.259 + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
19.260 + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
19.261 + :
19.262 + else
19.263 + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
19.264 + exit $EXIT_FAILURE
19.265 + fi
19.266 +}
19.267 +
19.268 +# func_extract_archives gentop oldlib ...
19.269 +func_extract_archives ()
19.270 +{
19.271 + my_gentop="$1"; shift
19.272 + my_oldlibs=${1+"$@"}
19.273 + my_oldobjs=""
19.274 + my_xlib=""
19.275 + my_xabs=""
19.276 + my_xdir=""
19.277 + my_status=""
19.278 +
19.279 + $show "${rm}r $my_gentop"
19.280 + $run ${rm}r "$my_gentop"
19.281 + $show "$mkdir $my_gentop"
19.282 + $run $mkdir "$my_gentop"
19.283 + my_status=$?
19.284 + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
19.285 + exit $my_status
19.286 + fi
19.287 +
19.288 + for my_xlib in $my_oldlibs; do
19.289 + # Extract the objects.
19.290 + case $my_xlib in
19.291 + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
19.292 + *) my_xabs=`pwd`"/$my_xlib" ;;
19.293 + esac
19.294 + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
19.295 + my_xdir="$my_gentop/$my_xlib"
19.296 +
19.297 + $show "${rm}r $my_xdir"
19.298 + $run ${rm}r "$my_xdir"
19.299 + $show "$mkdir $my_xdir"
19.300 + $run $mkdir "$my_xdir"
19.301 + status=$?
19.302 + if test "$status" -ne 0 && test ! -d "$my_xdir"; then
19.303 + exit $status
19.304 + fi
19.305 + case $host in
19.306 + *-darwin*)
19.307 + $show "Extracting $my_xabs"
19.308 + # Do not bother doing anything if just a dry run
19.309 + if test -z "$run"; then
19.310 + darwin_orig_dir=`pwd`
19.311 + cd $my_xdir || exit $?
19.312 + darwin_archive=$my_xabs
19.313 + darwin_curdir=`pwd`
19.314 + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
19.315 + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
19.316 + if test -n "$darwin_arches"; then
19.317 + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
19.318 + darwin_arch=
19.319 + $show "$darwin_base_archive has multiple architectures $darwin_arches"
19.320 + for darwin_arch in $darwin_arches ; do
19.321 + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
19.322 + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
19.323 + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
19.324 + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
19.325 + cd "$darwin_curdir"
19.326 + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
19.327 + done # $darwin_arches
19.328 + ## Okay now we have a bunch of thin objects, gotta fatten them up :)
19.329 + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
19.330 + darwin_file=
19.331 + darwin_files=
19.332 + for darwin_file in $darwin_filelist; do
19.333 + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
19.334 + lipo -create -output "$darwin_file" $darwin_files
19.335 + done # $darwin_filelist
19.336 + ${rm}r unfat-$$
19.337 + cd "$darwin_orig_dir"
19.338 + else
19.339 + cd "$darwin_orig_dir"
19.340 + func_extract_an_archive "$my_xdir" "$my_xabs"
19.341 + fi # $darwin_arches
19.342 + fi # $run
19.343 + ;;
19.344 + *)
19.345 + func_extract_an_archive "$my_xdir" "$my_xabs"
19.346 + ;;
19.347 + esac
19.348 + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
19.349 + done
19.350 + func_extract_archives_result="$my_oldobjs"
19.351 +}
19.352 +# End of Shell function definitions
19.353 +#####################################
19.354 +
19.355 +# Darwin sucks
19.356 +eval std_shrext=\"$shrext_cmds\"
19.357 +
19.358 +# Parse our command line options once, thoroughly.
19.359 +while test "$#" -gt 0
19.360 +do
19.361 + arg="$1"
19.362 + shift
19.363 +
19.364 + case $arg in
19.365 + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
19.366 + *) optarg= ;;
19.367 + esac
19.368 +
19.369 + # If the previous option needs an argument, assign it.
19.370 + if test -n "$prev"; then
19.371 + case $prev in
19.372 + execute_dlfiles)
19.373 + execute_dlfiles="$execute_dlfiles $arg"
19.374 + ;;
19.375 + tag)
19.376 + tagname="$arg"
19.377 + preserve_args="${preserve_args}=$arg"
19.378 +
19.379 + # Check whether tagname contains only valid characters
19.380 + case $tagname in
19.381 + *[!-_A-Za-z0-9,/]*)
19.382 + $echo "$progname: invalid tag name: $tagname" 1>&2
19.383 + exit $EXIT_FAILURE
19.384 + ;;
19.385 + esac
19.386 +
19.387 + case $tagname in
19.388 + CC)
19.389 + # Don't test for the "default" C tag, as we know, it's there, but
19.390 + # not specially marked.
19.391 + ;;
19.392 + *)
19.393 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
19.394 + taglist="$taglist $tagname"
19.395 + # Evaluate the configuration.
19.396 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
19.397 + else
19.398 + $echo "$progname: ignoring unknown tag $tagname" 1>&2
19.399 + fi
19.400 + ;;
19.401 + esac
19.402 + ;;
19.403 + *)
19.404 + eval "$prev=\$arg"
19.405 + ;;
19.406 + esac
19.407 +
19.408 + prev=
19.409 + prevopt=
19.410 + continue
19.411 + fi
19.412 +
19.413 + # Have we seen a non-optional argument yet?
19.414 + case $arg in
19.415 + --help)
19.416 + show_help=yes
19.417 + ;;
19.418 +
19.419 + --version)
19.420 + $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
19.421 + $echo
19.422 + $echo "Copyright (C) 2005 Free Software Foundation, Inc."
19.423 + $echo "This is free software; see the source for copying conditions. There is NO"
19.424 + $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
19.425 + exit $?
19.426 + ;;
19.427 +
19.428 + --config)
19.429 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
19.430 + # Now print the configurations for the tags.
19.431 + for tagname in $taglist; do
19.432 + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
19.433 + done
19.434 + exit $?
19.435 + ;;
19.436 +
19.437 + --debug)
19.438 + $echo "$progname: enabling shell trace mode"
19.439 + set -x
19.440 + preserve_args="$preserve_args $arg"
19.441 + ;;
19.442 +
19.443 + --dry-run | -n)
19.444 + run=:
19.445 + ;;
19.446 +
19.447 + --features)
19.448 + $echo "host: $host"
19.449 + if test "$build_libtool_libs" = yes; then
19.450 + $echo "enable shared libraries"
19.451 + else
19.452 + $echo "disable shared libraries"
19.453 + fi
19.454 + if test "$build_old_libs" = yes; then
19.455 + $echo "enable static libraries"
19.456 + else
19.457 + $echo "disable static libraries"
19.458 + fi
19.459 + exit $?
19.460 + ;;
19.461 +
19.462 + --finish) mode="finish" ;;
19.463 +
19.464 + --mode) prevopt="--mode" prev=mode ;;
19.465 + --mode=*) mode="$optarg" ;;
19.466 +
19.467 + --preserve-dup-deps) duplicate_deps="yes" ;;
19.468 +
19.469 + --quiet | --silent)
19.470 + show=:
19.471 + preserve_args="$preserve_args $arg"
19.472 + ;;
19.473 +
19.474 + --tag) prevopt="--tag" prev=tag ;;
19.475 + --tag=*)
19.476 + set tag "$optarg" ${1+"$@"}
19.477 + shift
19.478 + prev=tag
19.479 + preserve_args="$preserve_args --tag"
19.480 + ;;
19.481 +
19.482 + -dlopen)
19.483 + prevopt="-dlopen"
19.484 + prev=execute_dlfiles
19.485 + ;;
19.486 +
19.487 + -*)
19.488 + $echo "$modename: unrecognized option \`$arg'" 1>&2
19.489 + $echo "$help" 1>&2
19.490 + exit $EXIT_FAILURE
19.491 + ;;
19.492 +
19.493 + *)
19.494 + nonopt="$arg"
19.495 + break
19.496 + ;;
19.497 + esac
19.498 +done
19.499 +
19.500 +if test -n "$prevopt"; then
19.501 + $echo "$modename: option \`$prevopt' requires an argument" 1>&2
19.502 + $echo "$help" 1>&2
19.503 + exit $EXIT_FAILURE
19.504 +fi
19.505 +
19.506 +# If this variable is set in any of the actions, the command in it
19.507 +# will be execed at the end. This prevents here-documents from being
19.508 +# left over by shells.
19.509 +exec_cmd=
19.510 +
19.511 +if test -z "$show_help"; then
19.512 +
19.513 + # Infer the operation mode.
19.514 + if test -z "$mode"; then
19.515 + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
19.516 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
19.517 + case $nonopt in
19.518 + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
19.519 + mode=link
19.520 + for arg
19.521 + do
19.522 + case $arg in
19.523 + -c)
19.524 + mode=compile
19.525 + break
19.526 + ;;
19.527 + esac
19.528 + done
19.529 + ;;
19.530 + *db | *dbx | *strace | *truss)
19.531 + mode=execute
19.532 + ;;
19.533 + *install*|cp|mv)
19.534 + mode=install
19.535 + ;;
19.536 + *rm)
19.537 + mode=uninstall
19.538 + ;;
19.539 + *)
19.540 + # If we have no mode, but dlfiles were specified, then do execute mode.
19.541 + test -n "$execute_dlfiles" && mode=execute
19.542 +
19.543 + # Just use the default operation mode.
19.544 + if test -z "$mode"; then
19.545 + if test -n "$nonopt"; then
19.546 + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
19.547 + else
19.548 + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
19.549 + fi
19.550 + fi
19.551 + ;;
19.552 + esac
19.553 + fi
19.554 +
19.555 + # Only execute mode is allowed to have -dlopen flags.
19.556 + if test -n "$execute_dlfiles" && test "$mode" != execute; then
19.557 + $echo "$modename: unrecognized option \`-dlopen'" 1>&2
19.558 + $echo "$help" 1>&2
19.559 + exit $EXIT_FAILURE
19.560 + fi
19.561 +
19.562 + # Change the help message to a mode-specific one.
19.563 + generic_help="$help"
19.564 + help="Try \`$modename --help --mode=$mode' for more information."
19.565 +
19.566 + # These modes are in order of execution frequency so that they run quickly.
19.567 + case $mode in
19.568 + # libtool compile mode
19.569 + compile)
19.570 + modename="$modename: compile"
19.571 + # Get the compilation command and the source file.
19.572 + base_compile=
19.573 + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
19.574 + suppress_opt=yes
19.575 + suppress_output=
19.576 + arg_mode=normal
19.577 + libobj=
19.578 + later=
19.579 +
19.580 + for arg
19.581 + do
19.582 + case $arg_mode in
19.583 + arg )
19.584 + # do not "continue". Instead, add this to base_compile
19.585 + lastarg="$arg"
19.586 + arg_mode=normal
19.587 + ;;
19.588 +
19.589 + target )
19.590 + libobj="$arg"
19.591 + arg_mode=normal
19.592 + continue
19.593 + ;;
19.594 +
19.595 + normal )
19.596 + # Accept any command-line options.
19.597 + case $arg in
19.598 + -o)
19.599 + if test -n "$libobj" ; then
19.600 + $echo "$modename: you cannot specify \`-o' more than once" 1>&2
19.601 + exit $EXIT_FAILURE
19.602 + fi
19.603 + arg_mode=target
19.604 + continue
19.605 + ;;
19.606 +
19.607 + -static | -prefer-pic | -prefer-non-pic)
19.608 + later="$later $arg"
19.609 + continue
19.610 + ;;
19.611 +
19.612 + -no-suppress)
19.613 + suppress_opt=no
19.614 + continue
19.615 + ;;
19.616 +
19.617 + -Xcompiler)
19.618 + arg_mode=arg # the next one goes into the "base_compile" arg list
19.619 + continue # The current "srcfile" will either be retained or
19.620 + ;; # replaced later. I would guess that would be a bug.
19.621 +
19.622 + -Wc,*)
19.623 + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
19.624 + lastarg=
19.625 + save_ifs="$IFS"; IFS=','
19.626 + for arg in $args; do
19.627 + IFS="$save_ifs"
19.628 +
19.629 + # Double-quote args containing other shell metacharacters.
19.630 + # Many Bourne shells cannot handle close brackets correctly
19.631 + # in scan sets, so we specify it separately.
19.632 + case $arg in
19.633 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.634 + arg="\"$arg\""
19.635 + ;;
19.636 + esac
19.637 + lastarg="$lastarg $arg"
19.638 + done
19.639 + IFS="$save_ifs"
19.640 + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
19.641 +
19.642 + # Add the arguments to base_compile.
19.643 + base_compile="$base_compile $lastarg"
19.644 + continue
19.645 + ;;
19.646 +
19.647 + * )
19.648 + # Accept the current argument as the source file.
19.649 + # The previous "srcfile" becomes the current argument.
19.650 + #
19.651 + lastarg="$srcfile"
19.652 + srcfile="$arg"
19.653 + ;;
19.654 + esac # case $arg
19.655 + ;;
19.656 + esac # case $arg_mode
19.657 +
19.658 + # Aesthetically quote the previous argument.
19.659 + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
19.660 +
19.661 + case $lastarg in
19.662 + # Double-quote args containing other shell metacharacters.
19.663 + # Many Bourne shells cannot handle close brackets correctly
19.664 + # in scan sets, and some SunOS ksh mistreat backslash-escaping
19.665 + # in scan sets (worked around with variable expansion),
19.666 + # and furthermore cannot handle '|' '&' '(' ')' in scan sets
19.667 + # at all, so we specify them separately.
19.668 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.669 + lastarg="\"$lastarg\""
19.670 + ;;
19.671 + esac
19.672 +
19.673 + base_compile="$base_compile $lastarg"
19.674 + done # for arg
19.675 +
19.676 + case $arg_mode in
19.677 + arg)
19.678 + $echo "$modename: you must specify an argument for -Xcompile"
19.679 + exit $EXIT_FAILURE
19.680 + ;;
19.681 + target)
19.682 + $echo "$modename: you must specify a target with \`-o'" 1>&2
19.683 + exit $EXIT_FAILURE
19.684 + ;;
19.685 + *)
19.686 + # Get the name of the library object.
19.687 + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
19.688 + ;;
19.689 + esac
19.690 +
19.691 + # Recognize several different file suffixes.
19.692 + # If the user specifies -o file.o, it is replaced with file.lo
19.693 + xform='[cCFSifmso]'
19.694 + case $libobj in
19.695 + *.ada) xform=ada ;;
19.696 + *.adb) xform=adb ;;
19.697 + *.ads) xform=ads ;;
19.698 + *.asm) xform=asm ;;
19.699 + *.c++) xform=c++ ;;
19.700 + *.cc) xform=cc ;;
19.701 + *.ii) xform=ii ;;
19.702 + *.class) xform=class ;;
19.703 + *.cpp) xform=cpp ;;
19.704 + *.cxx) xform=cxx ;;
19.705 + *.f90) xform=f90 ;;
19.706 + *.for) xform=for ;;
19.707 + *.java) xform=java ;;
19.708 + esac
19.709 +
19.710 + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
19.711 +
19.712 + case $libobj in
19.713 + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
19.714 + *)
19.715 + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
19.716 + exit $EXIT_FAILURE
19.717 + ;;
19.718 + esac
19.719 +
19.720 + func_infer_tag $base_compile
19.721 +
19.722 + for arg in $later; do
19.723 + case $arg in
19.724 + -static)
19.725 + build_old_libs=yes
19.726 + continue
19.727 + ;;
19.728 +
19.729 + -prefer-pic)
19.730 + pic_mode=yes
19.731 + continue
19.732 + ;;
19.733 +
19.734 + -prefer-non-pic)
19.735 + pic_mode=no
19.736 + continue
19.737 + ;;
19.738 + esac
19.739 + done
19.740 +
19.741 + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
19.742 + case $qlibobj in
19.743 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.744 + qlibobj="\"$qlibobj\"" ;;
19.745 + esac
19.746 + test "X$libobj" != "X$qlibobj" \
19.747 + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
19.748 + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
19.749 + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
19.750 + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
19.751 + if test "X$xdir" = "X$obj"; then
19.752 + xdir=
19.753 + else
19.754 + xdir=$xdir/
19.755 + fi
19.756 + lobj=${xdir}$objdir/$objname
19.757 +
19.758 + if test -z "$base_compile"; then
19.759 + $echo "$modename: you must specify a compilation command" 1>&2
19.760 + $echo "$help" 1>&2
19.761 + exit $EXIT_FAILURE
19.762 + fi
19.763 +
19.764 + # Delete any leftover library objects.
19.765 + if test "$build_old_libs" = yes; then
19.766 + removelist="$obj $lobj $libobj ${libobj}T"
19.767 + else
19.768 + removelist="$lobj $libobj ${libobj}T"
19.769 + fi
19.770 +
19.771 + $run $rm $removelist
19.772 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
19.773 +
19.774 + # On Cygwin there's no "real" PIC flag so we must build both object types
19.775 + case $host_os in
19.776 + cygwin* | mingw* | pw32* | os2*)
19.777 + pic_mode=default
19.778 + ;;
19.779 + esac
19.780 + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
19.781 + # non-PIC code in shared libraries is not supported
19.782 + pic_mode=default
19.783 + fi
19.784 +
19.785 + # Calculate the filename of the output object if compiler does
19.786 + # not support -o with -c
19.787 + if test "$compiler_c_o" = no; then
19.788 + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
19.789 + lockfile="$output_obj.lock"
19.790 + removelist="$removelist $output_obj $lockfile"
19.791 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
19.792 + else
19.793 + output_obj=
19.794 + need_locks=no
19.795 + lockfile=
19.796 + fi
19.797 +
19.798 + # Lock this critical section if it is needed
19.799 + # We use this script file to make the link, it avoids creating a new file
19.800 + if test "$need_locks" = yes; then
19.801 + until $run ln "$progpath" "$lockfile" 2>/dev/null; do
19.802 + $show "Waiting for $lockfile to be removed"
19.803 + sleep 2
19.804 + done
19.805 + elif test "$need_locks" = warn; then
19.806 + if test -f "$lockfile"; then
19.807 + $echo "\
19.808 +*** ERROR, $lockfile exists and contains:
19.809 +`cat $lockfile 2>/dev/null`
19.810 +
19.811 +This indicates that another process is trying to use the same
19.812 +temporary object file, and libtool could not work around it because
19.813 +your compiler does not support \`-c' and \`-o' together. If you
19.814 +repeat this compilation, it may succeed, by chance, but you had better
19.815 +avoid parallel builds (make -j) in this platform, or get a better
19.816 +compiler."
19.817 +
19.818 + $run $rm $removelist
19.819 + exit $EXIT_FAILURE
19.820 + fi
19.821 + $echo "$srcfile" > "$lockfile"
19.822 + fi
19.823 +
19.824 + if test -n "$fix_srcfile_path"; then
19.825 + eval srcfile=\"$fix_srcfile_path\"
19.826 + fi
19.827 + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
19.828 + case $qsrcfile in
19.829 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.830 + qsrcfile="\"$qsrcfile\"" ;;
19.831 + esac
19.832 +
19.833 + $run $rm "$libobj" "${libobj}T"
19.834 +
19.835 + # Create a libtool object file (analogous to a ".la" file),
19.836 + # but don't create it if we're doing a dry run.
19.837 + test -z "$run" && cat > ${libobj}T <<EOF
19.838 +# $libobj - a libtool object file
19.839 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
19.840 +#
19.841 +# Please DO NOT delete this file!
19.842 +# It is necessary for linking the library.
19.843 +
19.844 +# Name of the PIC object.
19.845 +EOF
19.846 +
19.847 + # Only build a PIC object if we are building libtool libraries.
19.848 + if test "$build_libtool_libs" = yes; then
19.849 + # Without this assignment, base_compile gets emptied.
19.850 + fbsd_hideous_sh_bug=$base_compile
19.851 +
19.852 + if test "$pic_mode" != no; then
19.853 + command="$base_compile $qsrcfile $pic_flag"
19.854 + else
19.855 + # Don't build PIC code
19.856 + command="$base_compile $qsrcfile"
19.857 + fi
19.858 +
19.859 + if test ! -d "${xdir}$objdir"; then
19.860 + $show "$mkdir ${xdir}$objdir"
19.861 + $run $mkdir ${xdir}$objdir
19.862 + status=$?
19.863 + if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
19.864 + exit $status
19.865 + fi
19.866 + fi
19.867 +
19.868 + if test -z "$output_obj"; then
19.869 + # Place PIC objects in $objdir
19.870 + command="$command -o $lobj"
19.871 + fi
19.872 +
19.873 + $run $rm "$lobj" "$output_obj"
19.874 +
19.875 + $show "$command"
19.876 + if $run eval "$command"; then :
19.877 + else
19.878 + test -n "$output_obj" && $run $rm $removelist
19.879 + exit $EXIT_FAILURE
19.880 + fi
19.881 +
19.882 + if test "$need_locks" = warn &&
19.883 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
19.884 + $echo "\
19.885 +*** ERROR, $lockfile contains:
19.886 +`cat $lockfile 2>/dev/null`
19.887 +
19.888 +but it should contain:
19.889 +$srcfile
19.890 +
19.891 +This indicates that another process is trying to use the same
19.892 +temporary object file, and libtool could not work around it because
19.893 +your compiler does not support \`-c' and \`-o' together. If you
19.894 +repeat this compilation, it may succeed, by chance, but you had better
19.895 +avoid parallel builds (make -j) in this platform, or get a better
19.896 +compiler."
19.897 +
19.898 + $run $rm $removelist
19.899 + exit $EXIT_FAILURE
19.900 + fi
19.901 +
19.902 + # Just move the object if needed, then go on to compile the next one
19.903 + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
19.904 + $show "$mv $output_obj $lobj"
19.905 + if $run $mv $output_obj $lobj; then :
19.906 + else
19.907 + error=$?
19.908 + $run $rm $removelist
19.909 + exit $error
19.910 + fi
19.911 + fi
19.912 +
19.913 + # Append the name of the PIC object to the libtool object file.
19.914 + test -z "$run" && cat >> ${libobj}T <<EOF
19.915 +pic_object='$objdir/$objname'
19.916 +
19.917 +EOF
19.918 +
19.919 + # Allow error messages only from the first compilation.
19.920 + if test "$suppress_opt" = yes; then
19.921 + suppress_output=' >/dev/null 2>&1'
19.922 + fi
19.923 + else
19.924 + # No PIC object so indicate it doesn't exist in the libtool
19.925 + # object file.
19.926 + test -z "$run" && cat >> ${libobj}T <<EOF
19.927 +pic_object=none
19.928 +
19.929 +EOF
19.930 + fi
19.931 +
19.932 + # Only build a position-dependent object if we build old libraries.
19.933 + if test "$build_old_libs" = yes; then
19.934 + if test "$pic_mode" != yes; then
19.935 + # Don't build PIC code
19.936 + command="$base_compile $qsrcfile"
19.937 + else
19.938 + command="$base_compile $qsrcfile $pic_flag"
19.939 + fi
19.940 + if test "$compiler_c_o" = yes; then
19.941 + command="$command -o $obj"
19.942 + fi
19.943 +
19.944 + # Suppress compiler output if we already did a PIC compilation.
19.945 + command="$command$suppress_output"
19.946 + $run $rm "$obj" "$output_obj"
19.947 + $show "$command"
19.948 + if $run eval "$command"; then :
19.949 + else
19.950 + $run $rm $removelist
19.951 + exit $EXIT_FAILURE
19.952 + fi
19.953 +
19.954 + if test "$need_locks" = warn &&
19.955 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
19.956 + $echo "\
19.957 +*** ERROR, $lockfile contains:
19.958 +`cat $lockfile 2>/dev/null`
19.959 +
19.960 +but it should contain:
19.961 +$srcfile
19.962 +
19.963 +This indicates that another process is trying to use the same
19.964 +temporary object file, and libtool could not work around it because
19.965 +your compiler does not support \`-c' and \`-o' together. If you
19.966 +repeat this compilation, it may succeed, by chance, but you had better
19.967 +avoid parallel builds (make -j) in this platform, or get a better
19.968 +compiler."
19.969 +
19.970 + $run $rm $removelist
19.971 + exit $EXIT_FAILURE
19.972 + fi
19.973 +
19.974 + # Just move the object if needed
19.975 + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
19.976 + $show "$mv $output_obj $obj"
19.977 + if $run $mv $output_obj $obj; then :
19.978 + else
19.979 + error=$?
19.980 + $run $rm $removelist
19.981 + exit $error
19.982 + fi
19.983 + fi
19.984 +
19.985 + # Append the name of the non-PIC object the libtool object file.
19.986 + # Only append if the libtool object file exists.
19.987 + test -z "$run" && cat >> ${libobj}T <<EOF
19.988 +# Name of the non-PIC object.
19.989 +non_pic_object='$objname'
19.990 +
19.991 +EOF
19.992 + else
19.993 + # Append the name of the non-PIC object the libtool object file.
19.994 + # Only append if the libtool object file exists.
19.995 + test -z "$run" && cat >> ${libobj}T <<EOF
19.996 +# Name of the non-PIC object.
19.997 +non_pic_object=none
19.998 +
19.999 +EOF
19.1000 + fi
19.1001 +
19.1002 + $run $mv "${libobj}T" "${libobj}"
19.1003 +
19.1004 + # Unlock the critical section if it was locked
19.1005 + if test "$need_locks" != no; then
19.1006 + $run $rm "$lockfile"
19.1007 + fi
19.1008 +
19.1009 + exit $EXIT_SUCCESS
19.1010 + ;;
19.1011 +
19.1012 + # libtool link mode
19.1013 + link | relink)
19.1014 + modename="$modename: link"
19.1015 + case $host in
19.1016 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
19.1017 + # It is impossible to link a dll without this setting, and
19.1018 + # we shouldn't force the makefile maintainer to figure out
19.1019 + # which system we are compiling for in order to pass an extra
19.1020 + # flag for every libtool invocation.
19.1021 + # allow_undefined=no
19.1022 +
19.1023 + # FIXME: Unfortunately, there are problems with the above when trying
19.1024 + # to make a dll which has undefined symbols, in which case not
19.1025 + # even a static library is built. For now, we need to specify
19.1026 + # -no-undefined on the libtool link line when we can be certain
19.1027 + # that all symbols are satisfied, otherwise we get a static library.
19.1028 + allow_undefined=yes
19.1029 + ;;
19.1030 + *)
19.1031 + allow_undefined=yes
19.1032 + ;;
19.1033 + esac
19.1034 + libtool_args="$nonopt"
19.1035 + base_compile="$nonopt $@"
19.1036 + compile_command="$nonopt"
19.1037 + finalize_command="$nonopt"
19.1038 +
19.1039 + compile_rpath=
19.1040 + finalize_rpath=
19.1041 + compile_shlibpath=
19.1042 + finalize_shlibpath=
19.1043 + convenience=
19.1044 + old_convenience=
19.1045 + deplibs=
19.1046 + old_deplibs=
19.1047 + compiler_flags=
19.1048 + linker_flags=
19.1049 + dllsearchpath=
19.1050 + lib_search_path=`pwd`
19.1051 + inst_prefix_dir=
19.1052 +
19.1053 + avoid_version=no
19.1054 + dlfiles=
19.1055 + dlprefiles=
19.1056 + dlself=no
19.1057 + export_dynamic=no
19.1058 + export_symbols=
19.1059 + export_symbols_regex=
19.1060 + generated=
19.1061 + libobjs=
19.1062 + ltlibs=
19.1063 + module=no
19.1064 + no_install=no
19.1065 + objs=
19.1066 + non_pic_objects=
19.1067 + precious_files_regex=
19.1068 + prefer_static_libs=no
19.1069 + preload=no
19.1070 + prev=
19.1071 + prevarg=
19.1072 + release=
19.1073 + rpath=
19.1074 + xrpath=
19.1075 + perm_rpath=
19.1076 + temp_rpath=
19.1077 + thread_safe=no
19.1078 + vinfo=
19.1079 + vinfo_number=no
19.1080 +
19.1081 + func_infer_tag $base_compile
19.1082 +
19.1083 + # We need to know -static, to get the right output filenames.
19.1084 + for arg
19.1085 + do
19.1086 + case $arg in
19.1087 + -all-static | -static)
19.1088 + if test "X$arg" = "X-all-static"; then
19.1089 + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
19.1090 + $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
19.1091 + fi
19.1092 + if test -n "$link_static_flag"; then
19.1093 + dlopen_self=$dlopen_self_static
19.1094 + fi
19.1095 + else
19.1096 + if test -z "$pic_flag" && test -n "$link_static_flag"; then
19.1097 + dlopen_self=$dlopen_self_static
19.1098 + fi
19.1099 + fi
19.1100 + build_libtool_libs=no
19.1101 + build_old_libs=yes
19.1102 + prefer_static_libs=yes
19.1103 + break
19.1104 + ;;
19.1105 + esac
19.1106 + done
19.1107 +
19.1108 + # See if our shared archives depend on static archives.
19.1109 + test -n "$old_archive_from_new_cmds" && build_old_libs=yes
19.1110 +
19.1111 + # Go through the arguments, transforming them on the way.
19.1112 + while test "$#" -gt 0; do
19.1113 + arg="$1"
19.1114 + shift
19.1115 + case $arg in
19.1116 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1117 + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
19.1118 + ;;
19.1119 + *) qarg=$arg ;;
19.1120 + esac
19.1121 + libtool_args="$libtool_args $qarg"
19.1122 +
19.1123 + # If the previous option needs an argument, assign it.
19.1124 + if test -n "$prev"; then
19.1125 + case $prev in
19.1126 + output)
19.1127 + compile_command="$compile_command @OUTPUT@"
19.1128 + finalize_command="$finalize_command @OUTPUT@"
19.1129 + ;;
19.1130 + esac
19.1131 +
19.1132 + case $prev in
19.1133 + dlfiles|dlprefiles)
19.1134 + if test "$preload" = no; then
19.1135 + # Add the symbol object into the linking commands.
19.1136 + compile_command="$compile_command @SYMFILE@"
19.1137 + finalize_command="$finalize_command @SYMFILE@"
19.1138 + preload=yes
19.1139 + fi
19.1140 + case $arg in
19.1141 + *.la | *.lo) ;; # We handle these cases below.
19.1142 + force)
19.1143 + if test "$dlself" = no; then
19.1144 + dlself=needless
19.1145 + export_dynamic=yes
19.1146 + fi
19.1147 + prev=
19.1148 + continue
19.1149 + ;;
19.1150 + self)
19.1151 + if test "$prev" = dlprefiles; then
19.1152 + dlself=yes
19.1153 + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
19.1154 + dlself=yes
19.1155 + else
19.1156 + dlself=needless
19.1157 + export_dynamic=yes
19.1158 + fi
19.1159 + prev=
19.1160 + continue
19.1161 + ;;
19.1162 + *)
19.1163 + if test "$prev" = dlfiles; then
19.1164 + dlfiles="$dlfiles $arg"
19.1165 + else
19.1166 + dlprefiles="$dlprefiles $arg"
19.1167 + fi
19.1168 + prev=
19.1169 + continue
19.1170 + ;;
19.1171 + esac
19.1172 + ;;
19.1173 + expsyms)
19.1174 + export_symbols="$arg"
19.1175 + if test ! -f "$arg"; then
19.1176 + $echo "$modename: symbol file \`$arg' does not exist"
19.1177 + exit $EXIT_FAILURE
19.1178 + fi
19.1179 + prev=
19.1180 + continue
19.1181 + ;;
19.1182 + expsyms_regex)
19.1183 + export_symbols_regex="$arg"
19.1184 + prev=
19.1185 + continue
19.1186 + ;;
19.1187 + inst_prefix)
19.1188 + inst_prefix_dir="$arg"
19.1189 + prev=
19.1190 + continue
19.1191 + ;;
19.1192 + precious_regex)
19.1193 + precious_files_regex="$arg"
19.1194 + prev=
19.1195 + continue
19.1196 + ;;
19.1197 + release)
19.1198 + release="-$arg"
19.1199 + prev=
19.1200 + continue
19.1201 + ;;
19.1202 + objectlist)
19.1203 + if test -f "$arg"; then
19.1204 + save_arg=$arg
19.1205 + moreargs=
19.1206 + for fil in `cat $save_arg`
19.1207 + do
19.1208 +# moreargs="$moreargs $fil"
19.1209 + arg=$fil
19.1210 + # A libtool-controlled object.
19.1211 +
19.1212 + # Check to see that this really is a libtool object.
19.1213 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.1214 + pic_object=
19.1215 + non_pic_object=
19.1216 +
19.1217 + # Read the .lo file
19.1218 + # If there is no directory component, then add one.
19.1219 + case $arg in
19.1220 + */* | *\\*) . $arg ;;
19.1221 + *) . ./$arg ;;
19.1222 + esac
19.1223 +
19.1224 + if test -z "$pic_object" || \
19.1225 + test -z "$non_pic_object" ||
19.1226 + test "$pic_object" = none && \
19.1227 + test "$non_pic_object" = none; then
19.1228 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
19.1229 + exit $EXIT_FAILURE
19.1230 + fi
19.1231 +
19.1232 + # Extract subdirectory from the argument.
19.1233 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
19.1234 + if test "X$xdir" = "X$arg"; then
19.1235 + xdir=
19.1236 + else
19.1237 + xdir="$xdir/"
19.1238 + fi
19.1239 +
19.1240 + if test "$pic_object" != none; then
19.1241 + # Prepend the subdirectory the object is found in.
19.1242 + pic_object="$xdir$pic_object"
19.1243 +
19.1244 + if test "$prev" = dlfiles; then
19.1245 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
19.1246 + dlfiles="$dlfiles $pic_object"
19.1247 + prev=
19.1248 + continue
19.1249 + else
19.1250 + # If libtool objects are unsupported, then we need to preload.
19.1251 + prev=dlprefiles
19.1252 + fi
19.1253 + fi
19.1254 +
19.1255 + # CHECK ME: I think I busted this. -Ossama
19.1256 + if test "$prev" = dlprefiles; then
19.1257 + # Preload the old-style object.
19.1258 + dlprefiles="$dlprefiles $pic_object"
19.1259 + prev=
19.1260 + fi
19.1261 +
19.1262 + # A PIC object.
19.1263 + libobjs="$libobjs $pic_object"
19.1264 + arg="$pic_object"
19.1265 + fi
19.1266 +
19.1267 + # Non-PIC object.
19.1268 + if test "$non_pic_object" != none; then
19.1269 + # Prepend the subdirectory the object is found in.
19.1270 + non_pic_object="$xdir$non_pic_object"
19.1271 +
19.1272 + # A standard non-PIC object
19.1273 + non_pic_objects="$non_pic_objects $non_pic_object"
19.1274 + if test -z "$pic_object" || test "$pic_object" = none ; then
19.1275 + arg="$non_pic_object"
19.1276 + fi
19.1277 + fi
19.1278 + else
19.1279 + # Only an error if not doing a dry-run.
19.1280 + if test -z "$run"; then
19.1281 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
19.1282 + exit $EXIT_FAILURE
19.1283 + else
19.1284 + # Dry-run case.
19.1285 +
19.1286 + # Extract subdirectory from the argument.
19.1287 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
19.1288 + if test "X$xdir" = "X$arg"; then
19.1289 + xdir=
19.1290 + else
19.1291 + xdir="$xdir/"
19.1292 + fi
19.1293 +
19.1294 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
19.1295 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
19.1296 + libobjs="$libobjs $pic_object"
19.1297 + non_pic_objects="$non_pic_objects $non_pic_object"
19.1298 + fi
19.1299 + fi
19.1300 + done
19.1301 + else
19.1302 + $echo "$modename: link input file \`$save_arg' does not exist"
19.1303 + exit $EXIT_FAILURE
19.1304 + fi
19.1305 + arg=$save_arg
19.1306 + prev=
19.1307 + continue
19.1308 + ;;
19.1309 + rpath | xrpath)
19.1310 + # We need an absolute path.
19.1311 + case $arg in
19.1312 + [\\/]* | [A-Za-z]:[\\/]*) ;;
19.1313 + *)
19.1314 + $echo "$modename: only absolute run-paths are allowed" 1>&2
19.1315 + exit $EXIT_FAILURE
19.1316 + ;;
19.1317 + esac
19.1318 + if test "$prev" = rpath; then
19.1319 + case "$rpath " in
19.1320 + *" $arg "*) ;;
19.1321 + *) rpath="$rpath $arg" ;;
19.1322 + esac
19.1323 + else
19.1324 + case "$xrpath " in
19.1325 + *" $arg "*) ;;
19.1326 + *) xrpath="$xrpath $arg" ;;
19.1327 + esac
19.1328 + fi
19.1329 + prev=
19.1330 + continue
19.1331 + ;;
19.1332 + xcompiler)
19.1333 + compiler_flags="$compiler_flags $qarg"
19.1334 + prev=
19.1335 + compile_command="$compile_command $qarg"
19.1336 + finalize_command="$finalize_command $qarg"
19.1337 + continue
19.1338 + ;;
19.1339 + xlinker)
19.1340 + linker_flags="$linker_flags $qarg"
19.1341 + compiler_flags="$compiler_flags $wl$qarg"
19.1342 + prev=
19.1343 + compile_command="$compile_command $wl$qarg"
19.1344 + finalize_command="$finalize_command $wl$qarg"
19.1345 + continue
19.1346 + ;;
19.1347 + xcclinker)
19.1348 + linker_flags="$linker_flags $qarg"
19.1349 + compiler_flags="$compiler_flags $qarg"
19.1350 + prev=
19.1351 + compile_command="$compile_command $qarg"
19.1352 + finalize_command="$finalize_command $qarg"
19.1353 + continue
19.1354 + ;;
19.1355 + shrext)
19.1356 + shrext_cmds="$arg"
19.1357 + prev=
19.1358 + continue
19.1359 + ;;
19.1360 + darwin_framework)
19.1361 + compiler_flags="$compiler_flags $arg"
19.1362 + compile_command="$compile_command $arg"
19.1363 + finalize_command="$finalize_command $arg"
19.1364 + prev=
19.1365 + continue
19.1366 + ;;
19.1367 + *)
19.1368 + eval "$prev=\"\$arg\""
19.1369 + prev=
19.1370 + continue
19.1371 + ;;
19.1372 + esac
19.1373 + fi # test -n "$prev"
19.1374 +
19.1375 + prevarg="$arg"
19.1376 +
19.1377 + case $arg in
19.1378 + -all-static)
19.1379 + if test -n "$link_static_flag"; then
19.1380 + compile_command="$compile_command $link_static_flag"
19.1381 + finalize_command="$finalize_command $link_static_flag"
19.1382 + fi
19.1383 + continue
19.1384 + ;;
19.1385 +
19.1386 + -allow-undefined)
19.1387 + # FIXME: remove this flag sometime in the future.
19.1388 + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
19.1389 + continue
19.1390 + ;;
19.1391 +
19.1392 + -avoid-version)
19.1393 + avoid_version=yes
19.1394 + continue
19.1395 + ;;
19.1396 +
19.1397 + -dlopen)
19.1398 + prev=dlfiles
19.1399 + continue
19.1400 + ;;
19.1401 +
19.1402 + -dlpreopen)
19.1403 + prev=dlprefiles
19.1404 + continue
19.1405 + ;;
19.1406 +
19.1407 + -export-dynamic)
19.1408 + export_dynamic=yes
19.1409 + continue
19.1410 + ;;
19.1411 +
19.1412 + -export-symbols | -export-symbols-regex)
19.1413 + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
19.1414 + $echo "$modename: more than one -exported-symbols argument is not allowed"
19.1415 + exit $EXIT_FAILURE
19.1416 + fi
19.1417 + if test "X$arg" = "X-export-symbols"; then
19.1418 + prev=expsyms
19.1419 + else
19.1420 + prev=expsyms_regex
19.1421 + fi
19.1422 + continue
19.1423 + ;;
19.1424 +
19.1425 + -framework|-arch)
19.1426 + prev=darwin_framework
19.1427 + compiler_flags="$compiler_flags $arg"
19.1428 + compile_command="$compile_command $arg"
19.1429 + finalize_command="$finalize_command $arg"
19.1430 + continue
19.1431 + ;;
19.1432 +
19.1433 + -inst-prefix-dir)
19.1434 + prev=inst_prefix
19.1435 + continue
19.1436 + ;;
19.1437 +
19.1438 + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
19.1439 + # so, if we see these flags be careful not to treat them like -L
19.1440 + -L[A-Z][A-Z]*:*)
19.1441 + case $with_gcc/$host in
19.1442 + no/*-*-irix* | /*-*-irix*)
19.1443 + compile_command="$compile_command $arg"
19.1444 + finalize_command="$finalize_command $arg"
19.1445 + ;;
19.1446 + esac
19.1447 + continue
19.1448 + ;;
19.1449 +
19.1450 + -L*)
19.1451 + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
19.1452 + # We need an absolute path.
19.1453 + case $dir in
19.1454 + [\\/]* | [A-Za-z]:[\\/]*) ;;
19.1455 + *)
19.1456 + absdir=`cd "$dir" && pwd`
19.1457 + if test -z "$absdir"; then
19.1458 + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
19.1459 + exit $EXIT_FAILURE
19.1460 + fi
19.1461 + dir="$absdir"
19.1462 + ;;
19.1463 + esac
19.1464 + case "$deplibs " in
19.1465 + *" -L$dir "*) ;;
19.1466 + *)
19.1467 + deplibs="$deplibs -L$dir"
19.1468 + lib_search_path="$lib_search_path $dir"
19.1469 + ;;
19.1470 + esac
19.1471 + case $host in
19.1472 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
19.1473 + case :$dllsearchpath: in
19.1474 + *":$dir:"*) ;;
19.1475 + *) dllsearchpath="$dllsearchpath:$dir";;
19.1476 + esac
19.1477 + ;;
19.1478 + esac
19.1479 + continue
19.1480 + ;;
19.1481 +
19.1482 + -l*)
19.1483 + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
19.1484 + case $host in
19.1485 + *-*-cygwin* | *-*-pw32* | *-*-beos*)
19.1486 + # These systems don't actually have a C or math library (as such)
19.1487 + continue
19.1488 + ;;
19.1489 + *-*-mingw* | *-*-os2*)
19.1490 + # These systems don't actually have a C library (as such)
19.1491 + test "X$arg" = "X-lc" && continue
19.1492 + ;;
19.1493 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
19.1494 + # Do not include libc due to us having libc/libc_r.
19.1495 + test "X$arg" = "X-lc" && continue
19.1496 + ;;
19.1497 + *-*-rhapsody* | *-*-darwin1.[012])
19.1498 + # Rhapsody C and math libraries are in the System framework
19.1499 + deplibs="$deplibs -framework System"
19.1500 + continue
19.1501 + esac
19.1502 + elif test "X$arg" = "X-lc_r"; then
19.1503 + case $host in
19.1504 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
19.1505 + # Do not include libc_r directly, use -pthread flag.
19.1506 + continue
19.1507 + ;;
19.1508 + esac
19.1509 + fi
19.1510 + deplibs="$deplibs $arg"
19.1511 + continue
19.1512 + ;;
19.1513 +
19.1514 + # Tru64 UNIX uses -model [arg] to determine the layout of C++
19.1515 + # classes, name mangling, and exception handling.
19.1516 + -model)
19.1517 + compile_command="$compile_command $arg"
19.1518 + compiler_flags="$compiler_flags $arg"
19.1519 + finalize_command="$finalize_command $arg"
19.1520 + prev=xcompiler
19.1521 + continue
19.1522 + ;;
19.1523 +
19.1524 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
19.1525 + compiler_flags="$compiler_flags $arg"
19.1526 + compile_command="$compile_command $arg"
19.1527 + finalize_command="$finalize_command $arg"
19.1528 + continue
19.1529 + ;;
19.1530 +
19.1531 + -module)
19.1532 + module=yes
19.1533 + continue
19.1534 + ;;
19.1535 +
19.1536 + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
19.1537 + # -r[0-9][0-9]* specifies the processor on the SGI compiler
19.1538 + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
19.1539 + # +DA*, +DD* enable 64-bit mode on the HP compiler
19.1540 + # -q* pass through compiler args for the IBM compiler
19.1541 + # -m* pass through architecture-specific compiler args for GCC
19.1542 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*)
19.1543 +
19.1544 + # Unknown arguments in both finalize_command and compile_command need
19.1545 + # to be aesthetically quoted because they are evaled later.
19.1546 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
19.1547 + case $arg in
19.1548 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1549 + arg="\"$arg\""
19.1550 + ;;
19.1551 + esac
19.1552 + compile_command="$compile_command $arg"
19.1553 + finalize_command="$finalize_command $arg"
19.1554 + if test "$with_gcc" = "yes" ; then
19.1555 + compiler_flags="$compiler_flags $arg"
19.1556 + fi
19.1557 + continue
19.1558 + ;;
19.1559 +
19.1560 + -shrext)
19.1561 + prev=shrext
19.1562 + continue
19.1563 + ;;
19.1564 +
19.1565 + -no-fast-install)
19.1566 + fast_install=no
19.1567 + continue
19.1568 + ;;
19.1569 +
19.1570 + -no-install)
19.1571 + case $host in
19.1572 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
19.1573 + # The PATH hackery in wrapper scripts is required on Windows
19.1574 + # in order for the loader to find any dlls it needs.
19.1575 + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
19.1576 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
19.1577 + fast_install=no
19.1578 + ;;
19.1579 + *) no_install=yes ;;
19.1580 + esac
19.1581 + continue
19.1582 + ;;
19.1583 +
19.1584 + -no-undefined)
19.1585 + allow_undefined=no
19.1586 + continue
19.1587 + ;;
19.1588 +
19.1589 + -objectlist)
19.1590 + prev=objectlist
19.1591 + continue
19.1592 + ;;
19.1593 +
19.1594 + -o) prev=output ;;
19.1595 +
19.1596 + -precious-files-regex)
19.1597 + prev=precious_regex
19.1598 + continue
19.1599 + ;;
19.1600 +
19.1601 + -release)
19.1602 + prev=release
19.1603 + continue
19.1604 + ;;
19.1605 +
19.1606 + -rpath)
19.1607 + prev=rpath
19.1608 + continue
19.1609 + ;;
19.1610 +
19.1611 + -R)
19.1612 + prev=xrpath
19.1613 + continue
19.1614 + ;;
19.1615 +
19.1616 + -R*)
19.1617 + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
19.1618 + # We need an absolute path.
19.1619 + case $dir in
19.1620 + [\\/]* | [A-Za-z]:[\\/]*) ;;
19.1621 + *)
19.1622 + $echo "$modename: only absolute run-paths are allowed" 1>&2
19.1623 + exit $EXIT_FAILURE
19.1624 + ;;
19.1625 + esac
19.1626 + case "$xrpath " in
19.1627 + *" $dir "*) ;;
19.1628 + *) xrpath="$xrpath $dir" ;;
19.1629 + esac
19.1630 + continue
19.1631 + ;;
19.1632 +
19.1633 + -static)
19.1634 + # The effects of -static are defined in a previous loop.
19.1635 + # We used to do the same as -all-static on platforms that
19.1636 + # didn't have a PIC flag, but the assumption that the effects
19.1637 + # would be equivalent was wrong. It would break on at least
19.1638 + # Digital Unix and AIX.
19.1639 + continue
19.1640 + ;;
19.1641 +
19.1642 + -thread-safe)
19.1643 + thread_safe=yes
19.1644 + continue
19.1645 + ;;
19.1646 +
19.1647 + -version-info)
19.1648 + prev=vinfo
19.1649 + continue
19.1650 + ;;
19.1651 + -version-number)
19.1652 + prev=vinfo
19.1653 + vinfo_number=yes
19.1654 + continue
19.1655 + ;;
19.1656 +
19.1657 + -Wc,*)
19.1658 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
19.1659 + arg=
19.1660 + save_ifs="$IFS"; IFS=','
19.1661 + for flag in $args; do
19.1662 + IFS="$save_ifs"
19.1663 + case $flag in
19.1664 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1665 + flag="\"$flag\""
19.1666 + ;;
19.1667 + esac
19.1668 + arg="$arg $wl$flag"
19.1669 + compiler_flags="$compiler_flags $flag"
19.1670 + done
19.1671 + IFS="$save_ifs"
19.1672 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
19.1673 + ;;
19.1674 +
19.1675 + -Wl,*)
19.1676 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
19.1677 + arg=
19.1678 + save_ifs="$IFS"; IFS=','
19.1679 + for flag in $args; do
19.1680 + IFS="$save_ifs"
19.1681 + case $flag in
19.1682 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1683 + flag="\"$flag\""
19.1684 + ;;
19.1685 + esac
19.1686 + arg="$arg $wl$flag"
19.1687 + compiler_flags="$compiler_flags $wl$flag"
19.1688 + linker_flags="$linker_flags $flag"
19.1689 + done
19.1690 + IFS="$save_ifs"
19.1691 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
19.1692 + ;;
19.1693 +
19.1694 + -Xcompiler)
19.1695 + prev=xcompiler
19.1696 + continue
19.1697 + ;;
19.1698 +
19.1699 + -Xlinker)
19.1700 + prev=xlinker
19.1701 + continue
19.1702 + ;;
19.1703 +
19.1704 + -XCClinker)
19.1705 + prev=xcclinker
19.1706 + continue
19.1707 + ;;
19.1708 +
19.1709 + # Some other compiler flag.
19.1710 + -* | +*)
19.1711 + # Unknown arguments in both finalize_command and compile_command need
19.1712 + # to be aesthetically quoted because they are evaled later.
19.1713 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
19.1714 + case $arg in
19.1715 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1716 + arg="\"$arg\""
19.1717 + ;;
19.1718 + esac
19.1719 + ;;
19.1720 +
19.1721 + *.$objext)
19.1722 + # A standard object.
19.1723 + objs="$objs $arg"
19.1724 + ;;
19.1725 +
19.1726 + *.lo)
19.1727 + # A libtool-controlled object.
19.1728 +
19.1729 + # Check to see that this really is a libtool object.
19.1730 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.1731 + pic_object=
19.1732 + non_pic_object=
19.1733 +
19.1734 + # Read the .lo file
19.1735 + # If there is no directory component, then add one.
19.1736 + case $arg in
19.1737 + */* | *\\*) . $arg ;;
19.1738 + *) . ./$arg ;;
19.1739 + esac
19.1740 +
19.1741 + if test -z "$pic_object" || \
19.1742 + test -z "$non_pic_object" ||
19.1743 + test "$pic_object" = none && \
19.1744 + test "$non_pic_object" = none; then
19.1745 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
19.1746 + exit $EXIT_FAILURE
19.1747 + fi
19.1748 +
19.1749 + # Extract subdirectory from the argument.
19.1750 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
19.1751 + if test "X$xdir" = "X$arg"; then
19.1752 + xdir=
19.1753 + else
19.1754 + xdir="$xdir/"
19.1755 + fi
19.1756 +
19.1757 + if test "$pic_object" != none; then
19.1758 + # Prepend the subdirectory the object is found in.
19.1759 + pic_object="$xdir$pic_object"
19.1760 +
19.1761 + if test "$prev" = dlfiles; then
19.1762 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
19.1763 + dlfiles="$dlfiles $pic_object"
19.1764 + prev=
19.1765 + continue
19.1766 + else
19.1767 + # If libtool objects are unsupported, then we need to preload.
19.1768 + prev=dlprefiles
19.1769 + fi
19.1770 + fi
19.1771 +
19.1772 + # CHECK ME: I think I busted this. -Ossama
19.1773 + if test "$prev" = dlprefiles; then
19.1774 + # Preload the old-style object.
19.1775 + dlprefiles="$dlprefiles $pic_object"
19.1776 + prev=
19.1777 + fi
19.1778 +
19.1779 + # A PIC object.
19.1780 + libobjs="$libobjs $pic_object"
19.1781 + arg="$pic_object"
19.1782 + fi
19.1783 +
19.1784 + # Non-PIC object.
19.1785 + if test "$non_pic_object" != none; then
19.1786 + # Prepend the subdirectory the object is found in.
19.1787 + non_pic_object="$xdir$non_pic_object"
19.1788 +
19.1789 + # A standard non-PIC object
19.1790 + non_pic_objects="$non_pic_objects $non_pic_object"
19.1791 + if test -z "$pic_object" || test "$pic_object" = none ; then
19.1792 + arg="$non_pic_object"
19.1793 + fi
19.1794 + fi
19.1795 + else
19.1796 + # Only an error if not doing a dry-run.
19.1797 + if test -z "$run"; then
19.1798 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
19.1799 + exit $EXIT_FAILURE
19.1800 + else
19.1801 + # Dry-run case.
19.1802 +
19.1803 + # Extract subdirectory from the argument.
19.1804 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
19.1805 + if test "X$xdir" = "X$arg"; then
19.1806 + xdir=
19.1807 + else
19.1808 + xdir="$xdir/"
19.1809 + fi
19.1810 +
19.1811 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
19.1812 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
19.1813 + libobjs="$libobjs $pic_object"
19.1814 + non_pic_objects="$non_pic_objects $non_pic_object"
19.1815 + fi
19.1816 + fi
19.1817 + ;;
19.1818 +
19.1819 + *.$libext)
19.1820 + # An archive.
19.1821 + deplibs="$deplibs $arg"
19.1822 + old_deplibs="$old_deplibs $arg"
19.1823 + continue
19.1824 + ;;
19.1825 +
19.1826 + *.la)
19.1827 + # A libtool-controlled library.
19.1828 +
19.1829 + if test "$prev" = dlfiles; then
19.1830 + # This library was specified with -dlopen.
19.1831 + dlfiles="$dlfiles $arg"
19.1832 + prev=
19.1833 + elif test "$prev" = dlprefiles; then
19.1834 + # The library was specified with -dlpreopen.
19.1835 + dlprefiles="$dlprefiles $arg"
19.1836 + prev=
19.1837 + else
19.1838 + deplibs="$deplibs $arg"
19.1839 + fi
19.1840 + continue
19.1841 + ;;
19.1842 +
19.1843 + # Some other compiler argument.
19.1844 + *)
19.1845 + # Unknown arguments in both finalize_command and compile_command need
19.1846 + # to be aesthetically quoted because they are evaled later.
19.1847 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
19.1848 + case $arg in
19.1849 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.1850 + arg="\"$arg\""
19.1851 + ;;
19.1852 + esac
19.1853 + ;;
19.1854 + esac # arg
19.1855 +
19.1856 + # Now actually substitute the argument into the commands.
19.1857 + if test -n "$arg"; then
19.1858 + compile_command="$compile_command $arg"
19.1859 + finalize_command="$finalize_command $arg"
19.1860 + fi
19.1861 + done # argument parsing loop
19.1862 +
19.1863 + if test -n "$prev"; then
19.1864 + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
19.1865 + $echo "$help" 1>&2
19.1866 + exit $EXIT_FAILURE
19.1867 + fi
19.1868 +
19.1869 + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
19.1870 + eval arg=\"$export_dynamic_flag_spec\"
19.1871 + compile_command="$compile_command $arg"
19.1872 + finalize_command="$finalize_command $arg"
19.1873 + fi
19.1874 +
19.1875 + oldlibs=
19.1876 + # calculate the name of the file, without its directory
19.1877 + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
19.1878 + libobjs_save="$libobjs"
19.1879 +
19.1880 + if test -n "$shlibpath_var"; then
19.1881 + # get the directories listed in $shlibpath_var
19.1882 + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
19.1883 + else
19.1884 + shlib_search_path=
19.1885 + fi
19.1886 + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
19.1887 + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
19.1888 +
19.1889 + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
19.1890 + if test "X$output_objdir" = "X$output"; then
19.1891 + output_objdir="$objdir"
19.1892 + else
19.1893 + output_objdir="$output_objdir/$objdir"
19.1894 + fi
19.1895 + # Create the object directory.
19.1896 + if test ! -d "$output_objdir"; then
19.1897 + $show "$mkdir $output_objdir"
19.1898 + $run $mkdir $output_objdir
19.1899 + status=$?
19.1900 + if test "$status" -ne 0 && test ! -d "$output_objdir"; then
19.1901 + exit $status
19.1902 + fi
19.1903 + fi
19.1904 +
19.1905 + # Determine the type of output
19.1906 + case $output in
19.1907 + "")
19.1908 + $echo "$modename: you must specify an output file" 1>&2
19.1909 + $echo "$help" 1>&2
19.1910 + exit $EXIT_FAILURE
19.1911 + ;;
19.1912 + *.$libext) linkmode=oldlib ;;
19.1913 + *.lo | *.$objext) linkmode=obj ;;
19.1914 + *.la) linkmode=lib ;;
19.1915 + *) linkmode=prog ;; # Anything else should be a program.
19.1916 + esac
19.1917 +
19.1918 + case $host in
19.1919 + *cygwin* | *mingw* | *pw32*)
19.1920 + # don't eliminate duplications in $postdeps and $predeps
19.1921 + duplicate_compiler_generated_deps=yes
19.1922 + ;;
19.1923 + *)
19.1924 + duplicate_compiler_generated_deps=$duplicate_deps
19.1925 + ;;
19.1926 + esac
19.1927 + specialdeplibs=
19.1928 +
19.1929 + libs=
19.1930 + # Find all interdependent deplibs by searching for libraries
19.1931 + # that are linked more than once (e.g. -la -lb -la)
19.1932 + for deplib in $deplibs; do
19.1933 + if test "X$duplicate_deps" = "Xyes" ; then
19.1934 + case "$libs " in
19.1935 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
19.1936 + esac
19.1937 + fi
19.1938 + libs="$libs $deplib"
19.1939 + done
19.1940 +
19.1941 + if test "$linkmode" = lib; then
19.1942 + libs="$predeps $libs $compiler_lib_search_path $postdeps"
19.1943 +
19.1944 + # Compute libraries that are listed more than once in $predeps
19.1945 + # $postdeps and mark them as special (i.e., whose duplicates are
19.1946 + # not to be eliminated).
19.1947 + pre_post_deps=
19.1948 + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
19.1949 + for pre_post_dep in $predeps $postdeps; do
19.1950 + case "$pre_post_deps " in
19.1951 + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
19.1952 + esac
19.1953 + pre_post_deps="$pre_post_deps $pre_post_dep"
19.1954 + done
19.1955 + fi
19.1956 + pre_post_deps=
19.1957 + fi
19.1958 +
19.1959 + deplibs=
19.1960 + newdependency_libs=
19.1961 + newlib_search_path=
19.1962 + need_relink=no # whether we're linking any uninstalled libtool libraries
19.1963 + notinst_deplibs= # not-installed libtool libraries
19.1964 + notinst_path= # paths that contain not-installed libtool libraries
19.1965 + case $linkmode in
19.1966 + lib)
19.1967 + passes="conv link"
19.1968 + for file in $dlfiles $dlprefiles; do
19.1969 + case $file in
19.1970 + *.la) ;;
19.1971 + *)
19.1972 + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
19.1973 + exit $EXIT_FAILURE
19.1974 + ;;
19.1975 + esac
19.1976 + done
19.1977 + ;;
19.1978 + prog)
19.1979 + compile_deplibs=
19.1980 + finalize_deplibs=
19.1981 + alldeplibs=no
19.1982 + newdlfiles=
19.1983 + newdlprefiles=
19.1984 + passes="conv scan dlopen dlpreopen link"
19.1985 + ;;
19.1986 + *) passes="conv"
19.1987 + ;;
19.1988 + esac
19.1989 + for pass in $passes; do
19.1990 + if test "$linkmode,$pass" = "lib,link" ||
19.1991 + test "$linkmode,$pass" = "prog,scan"; then
19.1992 + libs="$deplibs"
19.1993 + deplibs=
19.1994 + fi
19.1995 + if test "$linkmode" = prog; then
19.1996 + case $pass in
19.1997 + dlopen) libs="$dlfiles" ;;
19.1998 + dlpreopen) libs="$dlprefiles" ;;
19.1999 + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
19.2000 + esac
19.2001 + fi
19.2002 + if test "$pass" = dlopen; then
19.2003 + # Collect dlpreopened libraries
19.2004 + save_deplibs="$deplibs"
19.2005 + deplibs=
19.2006 + fi
19.2007 + for deplib in $libs; do
19.2008 + lib=
19.2009 + found=no
19.2010 + case $deplib in
19.2011 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
19.2012 + if test "$linkmode,$pass" = "prog,link"; then
19.2013 + compile_deplibs="$deplib $compile_deplibs"
19.2014 + finalize_deplibs="$deplib $finalize_deplibs"
19.2015 + else
19.2016 + compiler_flags="$compiler_flags $deplib"
19.2017 + fi
19.2018 + continue
19.2019 + ;;
19.2020 + -l*)
19.2021 + if test "$linkmode" != lib && test "$linkmode" != prog; then
19.2022 + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
19.2023 + continue
19.2024 + fi
19.2025 + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
19.2026 + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
19.2027 + for search_ext in .la $std_shrext .so .a; do
19.2028 + # Search the libtool library
19.2029 + lib="$searchdir/lib${name}${search_ext}"
19.2030 + if test -f "$lib"; then
19.2031 + if test "$search_ext" = ".la"; then
19.2032 + found=yes
19.2033 + else
19.2034 + found=no
19.2035 + fi
19.2036 + break 2
19.2037 + fi
19.2038 + done
19.2039 + done
19.2040 + if test "$found" != yes; then
19.2041 + # deplib doesn't seem to be a libtool library
19.2042 + if test "$linkmode,$pass" = "prog,link"; then
19.2043 + compile_deplibs="$deplib $compile_deplibs"
19.2044 + finalize_deplibs="$deplib $finalize_deplibs"
19.2045 + else
19.2046 + deplibs="$deplib $deplibs"
19.2047 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
19.2048 + fi
19.2049 + continue
19.2050 + else # deplib is a libtool library
19.2051 + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
19.2052 + # We need to do some special things here, and not later.
19.2053 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.2054 + case " $predeps $postdeps " in
19.2055 + *" $deplib "*)
19.2056 + if (${SED} -e '2q' $lib |
19.2057 + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.2058 + library_names=
19.2059 + old_library=
19.2060 + case $lib in
19.2061 + */* | *\\*) . $lib ;;
19.2062 + *) . ./$lib ;;
19.2063 + esac
19.2064 + for l in $old_library $library_names; do
19.2065 + ll="$l"
19.2066 + done
19.2067 + if test "X$ll" = "X$old_library" ; then # only static version available
19.2068 + found=no
19.2069 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
19.2070 + test "X$ladir" = "X$lib" && ladir="."
19.2071 + lib=$ladir/$old_library
19.2072 + if test "$linkmode,$pass" = "prog,link"; then
19.2073 + compile_deplibs="$deplib $compile_deplibs"
19.2074 + finalize_deplibs="$deplib $finalize_deplibs"
19.2075 + else
19.2076 + deplibs="$deplib $deplibs"
19.2077 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
19.2078 + fi
19.2079 + continue
19.2080 + fi
19.2081 + fi
19.2082 + ;;
19.2083 + *) ;;
19.2084 + esac
19.2085 + fi
19.2086 + fi
19.2087 + ;; # -l
19.2088 + -L*)
19.2089 + case $linkmode in
19.2090 + lib)
19.2091 + deplibs="$deplib $deplibs"
19.2092 + test "$pass" = conv && continue
19.2093 + newdependency_libs="$deplib $newdependency_libs"
19.2094 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
19.2095 + ;;
19.2096 + prog)
19.2097 + if test "$pass" = conv; then
19.2098 + deplibs="$deplib $deplibs"
19.2099 + continue
19.2100 + fi
19.2101 + if test "$pass" = scan; then
19.2102 + deplibs="$deplib $deplibs"
19.2103 + else
19.2104 + compile_deplibs="$deplib $compile_deplibs"
19.2105 + finalize_deplibs="$deplib $finalize_deplibs"
19.2106 + fi
19.2107 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
19.2108 + ;;
19.2109 + *)
19.2110 + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
19.2111 + ;;
19.2112 + esac # linkmode
19.2113 + continue
19.2114 + ;; # -L
19.2115 + -R*)
19.2116 + if test "$pass" = link; then
19.2117 + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
19.2118 + # Make sure the xrpath contains only unique directories.
19.2119 + case "$xrpath " in
19.2120 + *" $dir "*) ;;
19.2121 + *) xrpath="$xrpath $dir" ;;
19.2122 + esac
19.2123 + fi
19.2124 + deplibs="$deplib $deplibs"
19.2125 + continue
19.2126 + ;;
19.2127 + *.la) lib="$deplib" ;;
19.2128 + *.$libext)
19.2129 + if test "$pass" = conv; then
19.2130 + deplibs="$deplib $deplibs"
19.2131 + continue
19.2132 + fi
19.2133 + case $linkmode in
19.2134 + lib)
19.2135 + valid_a_lib=no
19.2136 + case $deplibs_check_method in
19.2137 + match_pattern*)
19.2138 + set dummy $deplibs_check_method
19.2139 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
19.2140 + if eval $echo \"$deplib\" 2>/dev/null \
19.2141 + | $SED 10q \
19.2142 + | $EGREP "$match_pattern_regex" > /dev/null; then
19.2143 + valid_a_lib=yes
19.2144 + fi
19.2145 + ;;
19.2146 + pass_all)
19.2147 + valid_a_lib=yes
19.2148 + ;;
19.2149 + esac
19.2150 + if test "$valid_a_lib" != yes; then
19.2151 + $echo
19.2152 + $echo "*** Warning: Trying to link with static lib archive $deplib."
19.2153 + $echo "*** I have the capability to make that library automatically link in when"
19.2154 + $echo "*** you link to this library. But I can only do this if you have a"
19.2155 + $echo "*** shared version of the library, which you do not appear to have"
19.2156 + $echo "*** because the file extensions .$libext of this argument makes me believe"
19.2157 + $echo "*** that it is just a static archive that I should not used here."
19.2158 + else
19.2159 + $echo
19.2160 + $echo "*** Warning: Linking the shared library $output against the"
19.2161 + $echo "*** static library $deplib is not portable!"
19.2162 + deplibs="$deplib $deplibs"
19.2163 + fi
19.2164 + continue
19.2165 + ;;
19.2166 + prog)
19.2167 + if test "$pass" != link; then
19.2168 + deplibs="$deplib $deplibs"
19.2169 + else
19.2170 + compile_deplibs="$deplib $compile_deplibs"
19.2171 + finalize_deplibs="$deplib $finalize_deplibs"
19.2172 + fi
19.2173 + continue
19.2174 + ;;
19.2175 + esac # linkmode
19.2176 + ;; # *.$libext
19.2177 + *.lo | *.$objext)
19.2178 + if test "$pass" = conv; then
19.2179 + deplibs="$deplib $deplibs"
19.2180 + elif test "$linkmode" = prog; then
19.2181 + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
19.2182 + # If there is no dlopen support or we're linking statically,
19.2183 + # we need to preload.
19.2184 + newdlprefiles="$newdlprefiles $deplib"
19.2185 + compile_deplibs="$deplib $compile_deplibs"
19.2186 + finalize_deplibs="$deplib $finalize_deplibs"
19.2187 + else
19.2188 + newdlfiles="$newdlfiles $deplib"
19.2189 + fi
19.2190 + fi
19.2191 + continue
19.2192 + ;;
19.2193 + %DEPLIBS%)
19.2194 + alldeplibs=yes
19.2195 + continue
19.2196 + ;;
19.2197 + esac # case $deplib
19.2198 + if test "$found" = yes || test -f "$lib"; then :
19.2199 + else
19.2200 + $echo "$modename: cannot find the library \`$lib'" 1>&2
19.2201 + exit $EXIT_FAILURE
19.2202 + fi
19.2203 +
19.2204 + # Check to see that this really is a libtool archive.
19.2205 + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
19.2206 + else
19.2207 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
19.2208 + exit $EXIT_FAILURE
19.2209 + fi
19.2210 +
19.2211 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
19.2212 + test "X$ladir" = "X$lib" && ladir="."
19.2213 +
19.2214 + dlname=
19.2215 + dlopen=
19.2216 + dlpreopen=
19.2217 + libdir=
19.2218 + library_names=
19.2219 + old_library=
19.2220 + # If the library was installed with an old release of libtool,
19.2221 + # it will not redefine variables installed, or shouldnotlink
19.2222 + installed=yes
19.2223 + shouldnotlink=no
19.2224 + avoidtemprpath=
19.2225 +
19.2226 +
19.2227 + # Read the .la file
19.2228 + case $lib in
19.2229 + */* | *\\*) . $lib ;;
19.2230 + *) . ./$lib ;;
19.2231 + esac
19.2232 +
19.2233 + if test "$linkmode,$pass" = "lib,link" ||
19.2234 + test "$linkmode,$pass" = "prog,scan" ||
19.2235 + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
19.2236 + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
19.2237 + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
19.2238 + fi
19.2239 +
19.2240 + if test "$pass" = conv; then
19.2241 + # Only check for convenience libraries
19.2242 + deplibs="$lib $deplibs"
19.2243 + if test -z "$libdir"; then
19.2244 + if test -z "$old_library"; then
19.2245 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
19.2246 + exit $EXIT_FAILURE
19.2247 + fi
19.2248 + # It is a libtool convenience library, so add in its objects.
19.2249 + convenience="$convenience $ladir/$objdir/$old_library"
19.2250 + old_convenience="$old_convenience $ladir/$objdir/$old_library"
19.2251 + tmp_libs=
19.2252 + for deplib in $dependency_libs; do
19.2253 + deplibs="$deplib $deplibs"
19.2254 + if test "X$duplicate_deps" = "Xyes" ; then
19.2255 + case "$tmp_libs " in
19.2256 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
19.2257 + esac
19.2258 + fi
19.2259 + tmp_libs="$tmp_libs $deplib"
19.2260 + done
19.2261 + elif test "$linkmode" != prog && test "$linkmode" != lib; then
19.2262 + $echo "$modename: \`$lib' is not a convenience library" 1>&2
19.2263 + exit $EXIT_FAILURE
19.2264 + fi
19.2265 + continue
19.2266 + fi # $pass = conv
19.2267 +
19.2268 +
19.2269 + # Get the name of the library we link against.
19.2270 + linklib=
19.2271 + for l in $old_library $library_names; do
19.2272 + linklib="$l"
19.2273 + done
19.2274 + if test -z "$linklib"; then
19.2275 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
19.2276 + exit $EXIT_FAILURE
19.2277 + fi
19.2278 +
19.2279 + # This library was specified with -dlopen.
19.2280 + if test "$pass" = dlopen; then
19.2281 + if test -z "$libdir"; then
19.2282 + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
19.2283 + exit $EXIT_FAILURE
19.2284 + fi
19.2285 + if test -z "$dlname" ||
19.2286 + test "$dlopen_support" != yes ||
19.2287 + test "$build_libtool_libs" = no; then
19.2288 + # If there is no dlname, no dlopen support or we're linking
19.2289 + # statically, we need to preload. We also need to preload any
19.2290 + # dependent libraries so libltdl's deplib preloader doesn't
19.2291 + # bomb out in the load deplibs phase.
19.2292 + dlprefiles="$dlprefiles $lib $dependency_libs"
19.2293 + else
19.2294 + newdlfiles="$newdlfiles $lib"
19.2295 + fi
19.2296 + continue
19.2297 + fi # $pass = dlopen
19.2298 +
19.2299 + # We need an absolute path.
19.2300 + case $ladir in
19.2301 + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
19.2302 + *)
19.2303 + abs_ladir=`cd "$ladir" && pwd`
19.2304 + if test -z "$abs_ladir"; then
19.2305 + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
19.2306 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
19.2307 + abs_ladir="$ladir"
19.2308 + fi
19.2309 + ;;
19.2310 + esac
19.2311 + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
19.2312 +
19.2313 + # Find the relevant object directory and library name.
19.2314 + if test "X$installed" = Xyes; then
19.2315 + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
19.2316 + $echo "$modename: warning: library \`$lib' was moved." 1>&2
19.2317 + dir="$ladir"
19.2318 + absdir="$abs_ladir"
19.2319 + libdir="$abs_ladir"
19.2320 + else
19.2321 + dir="$libdir"
19.2322 + absdir="$libdir"
19.2323 + fi
19.2324 + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
19.2325 + else
19.2326 + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
19.2327 + dir="$ladir"
19.2328 + absdir="$abs_ladir"
19.2329 + # Remove this search path later
19.2330 + notinst_path="$notinst_path $abs_ladir"
19.2331 + else
19.2332 + dir="$ladir/$objdir"
19.2333 + absdir="$abs_ladir/$objdir"
19.2334 + # Remove this search path later
19.2335 + notinst_path="$notinst_path $abs_ladir"
19.2336 + fi
19.2337 + fi # $installed = yes
19.2338 + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
19.2339 +
19.2340 + # This library was specified with -dlpreopen.
19.2341 + if test "$pass" = dlpreopen; then
19.2342 + if test -z "$libdir"; then
19.2343 + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
19.2344 + exit $EXIT_FAILURE
19.2345 + fi
19.2346 + # Prefer using a static library (so that no silly _DYNAMIC symbols
19.2347 + # are required to link).
19.2348 + if test -n "$old_library"; then
19.2349 + newdlprefiles="$newdlprefiles $dir/$old_library"
19.2350 + # Otherwise, use the dlname, so that lt_dlopen finds it.
19.2351 + elif test -n "$dlname"; then
19.2352 + newdlprefiles="$newdlprefiles $dir/$dlname"
19.2353 + else
19.2354 + newdlprefiles="$newdlprefiles $dir/$linklib"
19.2355 + fi
19.2356 + fi # $pass = dlpreopen
19.2357 +
19.2358 + if test -z "$libdir"; then
19.2359 + # Link the convenience library
19.2360 + if test "$linkmode" = lib; then
19.2361 + deplibs="$dir/$old_library $deplibs"
19.2362 + elif test "$linkmode,$pass" = "prog,link"; then
19.2363 + compile_deplibs="$dir/$old_library $compile_deplibs"
19.2364 + finalize_deplibs="$dir/$old_library $finalize_deplibs"
19.2365 + else
19.2366 + deplibs="$lib $deplibs" # used for prog,scan pass
19.2367 + fi
19.2368 + continue
19.2369 + fi
19.2370 +
19.2371 +
19.2372 + if test "$linkmode" = prog && test "$pass" != link; then
19.2373 + newlib_search_path="$newlib_search_path $ladir"
19.2374 + deplibs="$lib $deplibs"
19.2375 +
19.2376 + linkalldeplibs=no
19.2377 + if test "$link_all_deplibs" != no || test -z "$library_names" ||
19.2378 + test "$build_libtool_libs" = no; then
19.2379 + linkalldeplibs=yes
19.2380 + fi
19.2381 +
19.2382 + tmp_libs=
19.2383 + for deplib in $dependency_libs; do
19.2384 + case $deplib in
19.2385 + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
19.2386 + esac
19.2387 + # Need to link against all dependency_libs?
19.2388 + if test "$linkalldeplibs" = yes; then
19.2389 + deplibs="$deplib $deplibs"
19.2390 + else
19.2391 + # Need to hardcode shared library paths
19.2392 + # or/and link against static libraries
19.2393 + newdependency_libs="$deplib $newdependency_libs"
19.2394 + fi
19.2395 + if test "X$duplicate_deps" = "Xyes" ; then
19.2396 + case "$tmp_libs " in
19.2397 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
19.2398 + esac
19.2399 + fi
19.2400 + tmp_libs="$tmp_libs $deplib"
19.2401 + done # for deplib
19.2402 + continue
19.2403 + fi # $linkmode = prog...
19.2404 +
19.2405 + if test "$linkmode,$pass" = "prog,link"; then
19.2406 + if test -n "$library_names" &&
19.2407 + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
19.2408 + # We need to hardcode the library path
19.2409 + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
19.2410 + # Make sure the rpath contains only unique directories.
19.2411 + case "$temp_rpath " in
19.2412 + *" $dir "*) ;;
19.2413 + *" $absdir "*) ;;
19.2414 + *) temp_rpath="$temp_rpath $absdir" ;;
19.2415 + esac
19.2416 + fi
19.2417 +
19.2418 + # Hardcode the library path.
19.2419 + # Skip directories that are in the system default run-time
19.2420 + # search path.
19.2421 + case " $sys_lib_dlsearch_path " in
19.2422 + *" $absdir "*) ;;
19.2423 + *)
19.2424 + case "$compile_rpath " in
19.2425 + *" $absdir "*) ;;
19.2426 + *) compile_rpath="$compile_rpath $absdir"
19.2427 + esac
19.2428 + ;;
19.2429 + esac
19.2430 + case " $sys_lib_dlsearch_path " in
19.2431 + *" $libdir "*) ;;
19.2432 + *)
19.2433 + case "$finalize_rpath " in
19.2434 + *" $libdir "*) ;;
19.2435 + *) finalize_rpath="$finalize_rpath $libdir"
19.2436 + esac
19.2437 + ;;
19.2438 + esac
19.2439 + fi # $linkmode,$pass = prog,link...
19.2440 +
19.2441 + if test "$alldeplibs" = yes &&
19.2442 + { test "$deplibs_check_method" = pass_all ||
19.2443 + { test "$build_libtool_libs" = yes &&
19.2444 + test -n "$library_names"; }; }; then
19.2445 + # We only need to search for static libraries
19.2446 + continue
19.2447 + fi
19.2448 + fi
19.2449 +
19.2450 + link_static=no # Whether the deplib will be linked statically
19.2451 + if test -n "$library_names" &&
19.2452 + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
19.2453 + if test "$installed" = no; then
19.2454 + notinst_deplibs="$notinst_deplibs $lib"
19.2455 + need_relink=yes
19.2456 + fi
19.2457 + # This is a shared library
19.2458 +
19.2459 + # Warn about portability, can't link against -module's on
19.2460 + # some systems (darwin)
19.2461 + if test "$shouldnotlink" = yes && test "$pass" = link ; then
19.2462 + $echo
19.2463 + if test "$linkmode" = prog; then
19.2464 + $echo "*** Warning: Linking the executable $output against the loadable module"
19.2465 + else
19.2466 + $echo "*** Warning: Linking the shared library $output against the loadable module"
19.2467 + fi
19.2468 + $echo "*** $linklib is not portable!"
19.2469 + fi
19.2470 + if test "$linkmode" = lib &&
19.2471 + test "$hardcode_into_libs" = yes; then
19.2472 + # Hardcode the library path.
19.2473 + # Skip directories that are in the system default run-time
19.2474 + # search path.
19.2475 + case " $sys_lib_dlsearch_path " in
19.2476 + *" $absdir "*) ;;
19.2477 + *)
19.2478 + case "$compile_rpath " in
19.2479 + *" $absdir "*) ;;
19.2480 + *) compile_rpath="$compile_rpath $absdir"
19.2481 + esac
19.2482 + ;;
19.2483 + esac
19.2484 + case " $sys_lib_dlsearch_path " in
19.2485 + *" $libdir "*) ;;
19.2486 + *)
19.2487 + case "$finalize_rpath " in
19.2488 + *" $libdir "*) ;;
19.2489 + *) finalize_rpath="$finalize_rpath $libdir"
19.2490 + esac
19.2491 + ;;
19.2492 + esac
19.2493 + fi
19.2494 +
19.2495 + if test -n "$old_archive_from_expsyms_cmds"; then
19.2496 + # figure out the soname
19.2497 + set dummy $library_names
19.2498 + realname="$2"
19.2499 + shift; shift
19.2500 + libname=`eval \\$echo \"$libname_spec\"`
19.2501 + # use dlname if we got it. it's perfectly good, no?
19.2502 + if test -n "$dlname"; then
19.2503 + soname="$dlname"
19.2504 + elif test -n "$soname_spec"; then
19.2505 + # bleh windows
19.2506 + case $host in
19.2507 + *cygwin* | mingw*)
19.2508 + major=`expr $current - $age`
19.2509 + versuffix="-$major"
19.2510 + ;;
19.2511 + esac
19.2512 + eval soname=\"$soname_spec\"
19.2513 + else
19.2514 + soname="$realname"
19.2515 + fi
19.2516 +
19.2517 + # Make a new name for the extract_expsyms_cmds to use
19.2518 + soroot="$soname"
19.2519 + soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
19.2520 + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
19.2521 +
19.2522 + # If the library has no export list, then create one now
19.2523 + if test -f "$output_objdir/$soname-def"; then :
19.2524 + else
19.2525 + $show "extracting exported symbol list from \`$soname'"
19.2526 + save_ifs="$IFS"; IFS='~'
19.2527 + cmds=$extract_expsyms_cmds
19.2528 + for cmd in $cmds; do
19.2529 + IFS="$save_ifs"
19.2530 + eval cmd=\"$cmd\"
19.2531 + $show "$cmd"
19.2532 + $run eval "$cmd" || exit $?
19.2533 + done
19.2534 + IFS="$save_ifs"
19.2535 + fi
19.2536 +
19.2537 + # Create $newlib
19.2538 + if test -f "$output_objdir/$newlib"; then :; else
19.2539 + $show "generating import library for \`$soname'"
19.2540 + save_ifs="$IFS"; IFS='~'
19.2541 + cmds=$old_archive_from_expsyms_cmds
19.2542 + for cmd in $cmds; do
19.2543 + IFS="$save_ifs"
19.2544 + eval cmd=\"$cmd\"
19.2545 + $show "$cmd"
19.2546 + $run eval "$cmd" || exit $?
19.2547 + done
19.2548 + IFS="$save_ifs"
19.2549 + fi
19.2550 + # make sure the library variables are pointing to the new library
19.2551 + dir=$output_objdir
19.2552 + linklib=$newlib
19.2553 + fi # test -n "$old_archive_from_expsyms_cmds"
19.2554 +
19.2555 + if test "$linkmode" = prog || test "$mode" != relink; then
19.2556 + add_shlibpath=
19.2557 + add_dir=
19.2558 + add=
19.2559 + lib_linked=yes
19.2560 + case $hardcode_action in
19.2561 + immediate | unsupported)
19.2562 + if test "$hardcode_direct" = no; then
19.2563 + add="$dir/$linklib"
19.2564 + case $host in
19.2565 + *-*-sco3.2v5* ) add_dir="-L$dir" ;;
19.2566 + *-*-darwin* )
19.2567 + # if the lib is a module then we can not link against
19.2568 + # it, someone is ignoring the new warnings I added
19.2569 + if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
19.2570 + $echo "** Warning, lib $linklib is a module, not a shared library"
19.2571 + if test -z "$old_library" ; then
19.2572 + $echo
19.2573 + $echo "** And there doesn't seem to be a static archive available"
19.2574 + $echo "** The link will probably fail, sorry"
19.2575 + else
19.2576 + add="$dir/$old_library"
19.2577 + fi
19.2578 + fi
19.2579 + esac
19.2580 + elif test "$hardcode_minus_L" = no; then
19.2581 + case $host in
19.2582 + *-*-sunos*) add_shlibpath="$dir" ;;
19.2583 + esac
19.2584 + add_dir="-L$dir"
19.2585 + add="-l$name"
19.2586 + elif test "$hardcode_shlibpath_var" = no; then
19.2587 + add_shlibpath="$dir"
19.2588 + add="-l$name"
19.2589 + else
19.2590 + lib_linked=no
19.2591 + fi
19.2592 + ;;
19.2593 + relink)
19.2594 + if test "$hardcode_direct" = yes; then
19.2595 + add="$dir/$linklib"
19.2596 + elif test "$hardcode_minus_L" = yes; then
19.2597 + add_dir="-L$dir"
19.2598 + # Try looking first in the location we're being installed to.
19.2599 + if test -n "$inst_prefix_dir"; then
19.2600 + case $libdir in
19.2601 + [\\/]*)
19.2602 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
19.2603 + ;;
19.2604 + esac
19.2605 + fi
19.2606 + add="-l$name"
19.2607 + elif test "$hardcode_shlibpath_var" = yes; then
19.2608 + add_shlibpath="$dir"
19.2609 + add="-l$name"
19.2610 + else
19.2611 + lib_linked=no
19.2612 + fi
19.2613 + ;;
19.2614 + *) lib_linked=no ;;
19.2615 + esac
19.2616 +
19.2617 + if test "$lib_linked" != yes; then
19.2618 + $echo "$modename: configuration error: unsupported hardcode properties"
19.2619 + exit $EXIT_FAILURE
19.2620 + fi
19.2621 +
19.2622 + if test -n "$add_shlibpath"; then
19.2623 + case :$compile_shlibpath: in
19.2624 + *":$add_shlibpath:"*) ;;
19.2625 + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
19.2626 + esac
19.2627 + fi
19.2628 + if test "$linkmode" = prog; then
19.2629 + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
19.2630 + test -n "$add" && compile_deplibs="$add $compile_deplibs"
19.2631 + else
19.2632 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
19.2633 + test -n "$add" && deplibs="$add $deplibs"
19.2634 + if test "$hardcode_direct" != yes && \
19.2635 + test "$hardcode_minus_L" != yes && \
19.2636 + test "$hardcode_shlibpath_var" = yes; then
19.2637 + case :$finalize_shlibpath: in
19.2638 + *":$libdir:"*) ;;
19.2639 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
19.2640 + esac
19.2641 + fi
19.2642 + fi
19.2643 + fi
19.2644 +
19.2645 + if test "$linkmode" = prog || test "$mode" = relink; then
19.2646 + add_shlibpath=
19.2647 + add_dir=
19.2648 + add=
19.2649 + # Finalize command for both is simple: just hardcode it.
19.2650 + if test "$hardcode_direct" = yes; then
19.2651 + add="$libdir/$linklib"
19.2652 + elif test "$hardcode_minus_L" = yes; then
19.2653 + add_dir="-L$libdir"
19.2654 + add="-l$name"
19.2655 + elif test "$hardcode_shlibpath_var" = yes; then
19.2656 + case :$finalize_shlibpath: in
19.2657 + *":$libdir:"*) ;;
19.2658 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
19.2659 + esac
19.2660 + add="-l$name"
19.2661 + elif test "$hardcode_automatic" = yes; then
19.2662 + if test -n "$inst_prefix_dir" &&
19.2663 + test -f "$inst_prefix_dir$libdir/$linklib" ; then
19.2664 + add="$inst_prefix_dir$libdir/$linklib"
19.2665 + else
19.2666 + add="$libdir/$linklib"
19.2667 + fi
19.2668 + else
19.2669 + # We cannot seem to hardcode it, guess we'll fake it.
19.2670 + add_dir="-L$libdir"
19.2671 + # Try looking first in the location we're being installed to.
19.2672 + if test -n "$inst_prefix_dir"; then
19.2673 + case $libdir in
19.2674 + [\\/]*)
19.2675 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
19.2676 + ;;
19.2677 + esac
19.2678 + fi
19.2679 + add="-l$name"
19.2680 + fi
19.2681 +
19.2682 + if test "$linkmode" = prog; then
19.2683 + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
19.2684 + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
19.2685 + else
19.2686 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
19.2687 + test -n "$add" && deplibs="$add $deplibs"
19.2688 + fi
19.2689 + fi
19.2690 + elif test "$linkmode" = prog; then
19.2691 + # Here we assume that one of hardcode_direct or hardcode_minus_L
19.2692 + # is not unsupported. This is valid on all known static and
19.2693 + # shared platforms.
19.2694 + if test "$hardcode_direct" != unsupported; then
19.2695 + test -n "$old_library" && linklib="$old_library"
19.2696 + compile_deplibs="$dir/$linklib $compile_deplibs"
19.2697 + finalize_deplibs="$dir/$linklib $finalize_deplibs"
19.2698 + else
19.2699 + compile_deplibs="-l$name -L$dir $compile_deplibs"
19.2700 + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
19.2701 + fi
19.2702 + elif test "$build_libtool_libs" = yes; then
19.2703 + # Not a shared library
19.2704 + if test "$deplibs_check_method" != pass_all; then
19.2705 + # We're trying link a shared library against a static one
19.2706 + # but the system doesn't support it.
19.2707 +
19.2708 + # Just print a warning and add the library to dependency_libs so
19.2709 + # that the program can be linked against the static library.
19.2710 + $echo
19.2711 + $echo "*** Warning: This system can not link to static lib archive $lib."
19.2712 + $echo "*** I have the capability to make that library automatically link in when"
19.2713 + $echo "*** you link to this library. But I can only do this if you have a"
19.2714 + $echo "*** shared version of the library, which you do not appear to have."
19.2715 + if test "$module" = yes; then
19.2716 + $echo "*** But as you try to build a module library, libtool will still create "
19.2717 + $echo "*** a static module, that should work as long as the dlopening application"
19.2718 + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
19.2719 + if test -z "$global_symbol_pipe"; then
19.2720 + $echo
19.2721 + $echo "*** However, this would only work if libtool was able to extract symbol"
19.2722 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
19.2723 + $echo "*** not find such a program. So, this module is probably useless."
19.2724 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
19.2725 + fi
19.2726 + if test "$build_old_libs" = no; then
19.2727 + build_libtool_libs=module
19.2728 + build_old_libs=yes
19.2729 + else
19.2730 + build_libtool_libs=no
19.2731 + fi
19.2732 + fi
19.2733 + else
19.2734 + deplibs="$dir/$old_library $deplibs"
19.2735 + link_static=yes
19.2736 + fi
19.2737 + fi # link shared/static library?
19.2738 +
19.2739 + if test "$linkmode" = lib; then
19.2740 + if test -n "$dependency_libs" &&
19.2741 + { test "$hardcode_into_libs" != yes ||
19.2742 + test "$build_old_libs" = yes ||
19.2743 + test "$link_static" = yes; }; then
19.2744 + # Extract -R from dependency_libs
19.2745 + temp_deplibs=
19.2746 + for libdir in $dependency_libs; do
19.2747 + case $libdir in
19.2748 + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
19.2749 + case " $xrpath " in
19.2750 + *" $temp_xrpath "*) ;;
19.2751 + *) xrpath="$xrpath $temp_xrpath";;
19.2752 + esac;;
19.2753 + *) temp_deplibs="$temp_deplibs $libdir";;
19.2754 + esac
19.2755 + done
19.2756 + dependency_libs="$temp_deplibs"
19.2757 + fi
19.2758 +
19.2759 + newlib_search_path="$newlib_search_path $absdir"
19.2760 + # Link against this library
19.2761 + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
19.2762 + # ... and its dependency_libs
19.2763 + tmp_libs=
19.2764 + for deplib in $dependency_libs; do
19.2765 + newdependency_libs="$deplib $newdependency_libs"
19.2766 + if test "X$duplicate_deps" = "Xyes" ; then
19.2767 + case "$tmp_libs " in
19.2768 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
19.2769 + esac
19.2770 + fi
19.2771 + tmp_libs="$tmp_libs $deplib"
19.2772 + done
19.2773 +
19.2774 + if test "$link_all_deplibs" != no; then
19.2775 + # Add the search paths of all dependency libraries
19.2776 + for deplib in $dependency_libs; do
19.2777 + case $deplib in
19.2778 + -L*) path="$deplib" ;;
19.2779 + *.la)
19.2780 + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
19.2781 + test "X$dir" = "X$deplib" && dir="."
19.2782 + # We need an absolute path.
19.2783 + case $dir in
19.2784 + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
19.2785 + *)
19.2786 + absdir=`cd "$dir" && pwd`
19.2787 + if test -z "$absdir"; then
19.2788 + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
19.2789 + absdir="$dir"
19.2790 + fi
19.2791 + ;;
19.2792 + esac
19.2793 + if grep "^installed=no" $deplib > /dev/null; then
19.2794 + path="$absdir/$objdir"
19.2795 + else
19.2796 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
19.2797 + if test -z "$libdir"; then
19.2798 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
19.2799 + exit $EXIT_FAILURE
19.2800 + fi
19.2801 + if test "$absdir" != "$libdir"; then
19.2802 + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
19.2803 + fi
19.2804 + path="$absdir"
19.2805 + fi
19.2806 + depdepl=
19.2807 + case $host in
19.2808 + *-*-darwin*)
19.2809 + # we do not want to link against static libs,
19.2810 + # but need to link against shared
19.2811 + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
19.2812 + if test -n "$deplibrary_names" ; then
19.2813 + for tmp in $deplibrary_names ; do
19.2814 + depdepl=$tmp
19.2815 + done
19.2816 + if test -f "$path/$depdepl" ; then
19.2817 + depdepl="$path/$depdepl"
19.2818 + fi
19.2819 + # do not add paths which are already there
19.2820 + case " $newlib_search_path " in
19.2821 + *" $path "*) ;;
19.2822 + *) newlib_search_path="$newlib_search_path $path";;
19.2823 + esac
19.2824 + fi
19.2825 + path=""
19.2826 + ;;
19.2827 + *)
19.2828 + path="-L$path"
19.2829 + ;;
19.2830 + esac
19.2831 + ;;
19.2832 + -l*)
19.2833 + case $host in
19.2834 + *-*-darwin*)
19.2835 + # Again, we only want to link against shared libraries
19.2836 + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
19.2837 + for tmp in $newlib_search_path ; do
19.2838 + if test -f "$tmp/lib$tmp_libs.dylib" ; then
19.2839 + eval depdepl="$tmp/lib$tmp_libs.dylib"
19.2840 + break
19.2841 + fi
19.2842 + done
19.2843 + path=""
19.2844 + ;;
19.2845 + *) continue ;;
19.2846 + esac
19.2847 + ;;
19.2848 + *) continue ;;
19.2849 + esac
19.2850 + case " $deplibs " in
19.2851 + *" $path "*) ;;
19.2852 + *) deplibs="$path $deplibs" ;;
19.2853 + esac
19.2854 + case " $deplibs " in
19.2855 + *" $depdepl "*) ;;
19.2856 + *) deplibs="$depdepl $deplibs" ;;
19.2857 + esac
19.2858 + done
19.2859 + fi # link_all_deplibs != no
19.2860 + fi # linkmode = lib
19.2861 + done # for deplib in $libs
19.2862 + dependency_libs="$newdependency_libs"
19.2863 + if test "$pass" = dlpreopen; then
19.2864 + # Link the dlpreopened libraries before other libraries
19.2865 + for deplib in $save_deplibs; do
19.2866 + deplibs="$deplib $deplibs"
19.2867 + done
19.2868 + fi
19.2869 + if test "$pass" != dlopen; then
19.2870 + if test "$pass" != conv; then
19.2871 + # Make sure lib_search_path contains only unique directories.
19.2872 + lib_search_path=
19.2873 + for dir in $newlib_search_path; do
19.2874 + case "$lib_search_path " in
19.2875 + *" $dir "*) ;;
19.2876 + *) lib_search_path="$lib_search_path $dir" ;;
19.2877 + esac
19.2878 + done
19.2879 + newlib_search_path=
19.2880 + fi
19.2881 +
19.2882 + if test "$linkmode,$pass" != "prog,link"; then
19.2883 + vars="deplibs"
19.2884 + else
19.2885 + vars="compile_deplibs finalize_deplibs"
19.2886 + fi
19.2887 + for var in $vars dependency_libs; do
19.2888 + # Add libraries to $var in reverse order
19.2889 + eval tmp_libs=\"\$$var\"
19.2890 + new_libs=
19.2891 + for deplib in $tmp_libs; do
19.2892 + # FIXME: Pedantically, this is the right thing to do, so
19.2893 + # that some nasty dependency loop isn't accidentally
19.2894 + # broken:
19.2895 + #new_libs="$deplib $new_libs"
19.2896 + # Pragmatically, this seems to cause very few problems in
19.2897 + # practice:
19.2898 + case $deplib in
19.2899 + -L*) new_libs="$deplib $new_libs" ;;
19.2900 + -R*) ;;
19.2901 + *)
19.2902 + # And here is the reason: when a library appears more
19.2903 + # than once as an explicit dependence of a library, or
19.2904 + # is implicitly linked in more than once by the
19.2905 + # compiler, it is considered special, and multiple
19.2906 + # occurrences thereof are not removed. Compare this
19.2907 + # with having the same library being listed as a
19.2908 + # dependency of multiple other libraries: in this case,
19.2909 + # we know (pedantically, we assume) the library does not
19.2910 + # need to be listed more than once, so we keep only the
19.2911 + # last copy. This is not always right, but it is rare
19.2912 + # enough that we require users that really mean to play
19.2913 + # such unportable linking tricks to link the library
19.2914 + # using -Wl,-lname, so that libtool does not consider it
19.2915 + # for duplicate removal.
19.2916 + case " $specialdeplibs " in
19.2917 + *" $deplib "*) new_libs="$deplib $new_libs" ;;
19.2918 + *)
19.2919 + case " $new_libs " in
19.2920 + *" $deplib "*) ;;
19.2921 + *) new_libs="$deplib $new_libs" ;;
19.2922 + esac
19.2923 + ;;
19.2924 + esac
19.2925 + ;;
19.2926 + esac
19.2927 + done
19.2928 + tmp_libs=
19.2929 + for deplib in $new_libs; do
19.2930 + case $deplib in
19.2931 + -L*)
19.2932 + case " $tmp_libs " in
19.2933 + *" $deplib "*) ;;
19.2934 + *) tmp_libs="$tmp_libs $deplib" ;;
19.2935 + esac
19.2936 + ;;
19.2937 + *) tmp_libs="$tmp_libs $deplib" ;;
19.2938 + esac
19.2939 + done
19.2940 + eval $var=\"$tmp_libs\"
19.2941 + done # for var
19.2942 + fi
19.2943 + # Last step: remove runtime libs from dependency_libs
19.2944 + # (they stay in deplibs)
19.2945 + tmp_libs=
19.2946 + for i in $dependency_libs ; do
19.2947 + case " $predeps $postdeps $compiler_lib_search_path " in
19.2948 + *" $i "*)
19.2949 + i=""
19.2950 + ;;
19.2951 + esac
19.2952 + if test -n "$i" ; then
19.2953 + tmp_libs="$tmp_libs $i"
19.2954 + fi
19.2955 + done
19.2956 + dependency_libs=$tmp_libs
19.2957 + done # for pass
19.2958 + if test "$linkmode" = prog; then
19.2959 + dlfiles="$newdlfiles"
19.2960 + dlprefiles="$newdlprefiles"
19.2961 + fi
19.2962 +
19.2963 + case $linkmode in
19.2964 + oldlib)
19.2965 + if test -n "$deplibs"; then
19.2966 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
19.2967 + fi
19.2968 +
19.2969 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
19.2970 + $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
19.2971 + fi
19.2972 +
19.2973 + if test -n "$rpath"; then
19.2974 + $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
19.2975 + fi
19.2976 +
19.2977 + if test -n "$xrpath"; then
19.2978 + $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
19.2979 + fi
19.2980 +
19.2981 + if test -n "$vinfo"; then
19.2982 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
19.2983 + fi
19.2984 +
19.2985 + if test -n "$release"; then
19.2986 + $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
19.2987 + fi
19.2988 +
19.2989 + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
19.2990 + $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
19.2991 + fi
19.2992 +
19.2993 + # Now set the variables for building old libraries.
19.2994 + build_libtool_libs=no
19.2995 + oldlibs="$output"
19.2996 + objs="$objs$old_deplibs"
19.2997 + ;;
19.2998 +
19.2999 + lib)
19.3000 + # Make sure we only generate libraries of the form `libNAME.la'.
19.3001 + case $outputname in
19.3002 + lib*)
19.3003 + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
19.3004 + eval shared_ext=\"$shrext_cmds\"
19.3005 + eval libname=\"$libname_spec\"
19.3006 + ;;
19.3007 + *)
19.3008 + if test "$module" = no; then
19.3009 + $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
19.3010 + $echo "$help" 1>&2
19.3011 + exit $EXIT_FAILURE
19.3012 + fi
19.3013 + if test "$need_lib_prefix" != no; then
19.3014 + # Add the "lib" prefix for modules if required
19.3015 + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
19.3016 + eval shared_ext=\"$shrext_cmds\"
19.3017 + eval libname=\"$libname_spec\"
19.3018 + else
19.3019 + libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
19.3020 + fi
19.3021 + ;;
19.3022 + esac
19.3023 +
19.3024 + if test -n "$objs"; then
19.3025 + if test "$deplibs_check_method" != pass_all; then
19.3026 + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
19.3027 + exit $EXIT_FAILURE
19.3028 + else
19.3029 + $echo
19.3030 + $echo "*** Warning: Linking the shared library $output against the non-libtool"
19.3031 + $echo "*** objects $objs is not portable!"
19.3032 + libobjs="$libobjs $objs"
19.3033 + fi
19.3034 + fi
19.3035 +
19.3036 + if test "$dlself" != no; then
19.3037 + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
19.3038 + fi
19.3039 +
19.3040 + set dummy $rpath
19.3041 + if test "$#" -gt 2; then
19.3042 + $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
19.3043 + fi
19.3044 + install_libdir="$2"
19.3045 +
19.3046 + oldlibs=
19.3047 + if test -z "$rpath"; then
19.3048 + if test "$build_libtool_libs" = yes; then
19.3049 + # Building a libtool convenience library.
19.3050 + # Some compilers have problems with a `.al' extension so
19.3051 + # convenience libraries should have the same extension an
19.3052 + # archive normally would.
19.3053 + oldlibs="$output_objdir/$libname.$libext $oldlibs"
19.3054 + build_libtool_libs=convenience
19.3055 + build_old_libs=yes
19.3056 + fi
19.3057 +
19.3058 + if test -n "$vinfo"; then
19.3059 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
19.3060 + fi
19.3061 +
19.3062 + if test -n "$release"; then
19.3063 + $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
19.3064 + fi
19.3065 + else
19.3066 +
19.3067 + # Parse the version information argument.
19.3068 + save_ifs="$IFS"; IFS=':'
19.3069 + set dummy $vinfo 0 0 0
19.3070 + IFS="$save_ifs"
19.3071 +
19.3072 + if test -n "$8"; then
19.3073 + $echo "$modename: too many parameters to \`-version-info'" 1>&2
19.3074 + $echo "$help" 1>&2
19.3075 + exit $EXIT_FAILURE
19.3076 + fi
19.3077 +
19.3078 + # convert absolute version numbers to libtool ages
19.3079 + # this retains compatibility with .la files and attempts
19.3080 + # to make the code below a bit more comprehensible
19.3081 +
19.3082 + case $vinfo_number in
19.3083 + yes)
19.3084 + number_major="$2"
19.3085 + number_minor="$3"
19.3086 + number_revision="$4"
19.3087 + #
19.3088 + # There are really only two kinds -- those that
19.3089 + # use the current revision as the major version
19.3090 + # and those that subtract age and use age as
19.3091 + # a minor version. But, then there is irix
19.3092 + # which has an extra 1 added just for fun
19.3093 + #
19.3094 + case $version_type in
19.3095 + darwin|linux|osf|windows)
19.3096 + current=`expr $number_major + $number_minor`
19.3097 + age="$number_minor"
19.3098 + revision="$number_revision"
19.3099 + ;;
19.3100 + freebsd-aout|freebsd-elf|sunos)
19.3101 + current="$number_major"
19.3102 + revision="$number_minor"
19.3103 + age="0"
19.3104 + ;;
19.3105 + irix|nonstopux)
19.3106 + current=`expr $number_major + $number_minor - 1`
19.3107 + age="$number_minor"
19.3108 + revision="$number_minor"
19.3109 + ;;
19.3110 + esac
19.3111 + ;;
19.3112 + no)
19.3113 + current="$2"
19.3114 + revision="$3"
19.3115 + age="$4"
19.3116 + ;;
19.3117 + esac
19.3118 +
19.3119 + # Check that each of the things are valid numbers.
19.3120 + case $current in
19.3121 + 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]) ;;
19.3122 + *)
19.3123 + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
19.3124 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
19.3125 + exit $EXIT_FAILURE
19.3126 + ;;
19.3127 + esac
19.3128 +
19.3129 + case $revision in
19.3130 + 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]) ;;
19.3131 + *)
19.3132 + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
19.3133 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
19.3134 + exit $EXIT_FAILURE
19.3135 + ;;
19.3136 + esac
19.3137 +
19.3138 + case $age in
19.3139 + 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]) ;;
19.3140 + *)
19.3141 + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
19.3142 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
19.3143 + exit $EXIT_FAILURE
19.3144 + ;;
19.3145 + esac
19.3146 +
19.3147 + if test "$age" -gt "$current"; then
19.3148 + $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
19.3149 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2
19.3150 + exit $EXIT_FAILURE
19.3151 + fi
19.3152 +
19.3153 + # Calculate the version variables.
19.3154 + major=
19.3155 + versuffix=
19.3156 + verstring=
19.3157 + case $version_type in
19.3158 + none) ;;
19.3159 +
19.3160 + darwin)
19.3161 + # Like Linux, but with the current version available in
19.3162 + # verstring for coding it into the library header
19.3163 + major=.`expr $current - $age`
19.3164 + versuffix="$major.$age.$revision"
19.3165 + # Darwin ld doesn't like 0 for these options...
19.3166 + minor_current=`expr $current + 1`
19.3167 + verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
19.3168 + ;;
19.3169 +
19.3170 + freebsd-aout)
19.3171 + major=".$current"
19.3172 + versuffix=".$current.$revision";
19.3173 + ;;
19.3174 +
19.3175 + freebsd-elf)
19.3176 + major=".$current"
19.3177 + versuffix=".$current";
19.3178 + ;;
19.3179 +
19.3180 + irix | nonstopux)
19.3181 + major=`expr $current - $age + 1`
19.3182 +
19.3183 + case $version_type in
19.3184 + nonstopux) verstring_prefix=nonstopux ;;
19.3185 + *) verstring_prefix=sgi ;;
19.3186 + esac
19.3187 + verstring="$verstring_prefix$major.$revision"
19.3188 +
19.3189 + # Add in all the interfaces that we are compatible with.
19.3190 + loop=$revision
19.3191 + while test "$loop" -ne 0; do
19.3192 + iface=`expr $revision - $loop`
19.3193 + loop=`expr $loop - 1`
19.3194 + verstring="$verstring_prefix$major.$iface:$verstring"
19.3195 + done
19.3196 +
19.3197 + # Before this point, $major must not contain `.'.
19.3198 + major=.$major
19.3199 + versuffix="$major.$revision"
19.3200 + ;;
19.3201 +
19.3202 + linux)
19.3203 + major=.`expr $current - $age`
19.3204 + versuffix="$major.$age.$revision"
19.3205 + ;;
19.3206 +
19.3207 + osf)
19.3208 + major=.`expr $current - $age`
19.3209 + versuffix=".$current.$age.$revision"
19.3210 + verstring="$current.$age.$revision"
19.3211 +
19.3212 + # Add in all the interfaces that we are compatible with.
19.3213 + loop=$age
19.3214 + while test "$loop" -ne 0; do
19.3215 + iface=`expr $current - $loop`
19.3216 + loop=`expr $loop - 1`
19.3217 + verstring="$verstring:${iface}.0"
19.3218 + done
19.3219 +
19.3220 + # Make executables depend on our current version.
19.3221 + verstring="$verstring:${current}.0"
19.3222 + ;;
19.3223 +
19.3224 + sunos)
19.3225 + major=".$current"
19.3226 + versuffix=".$current.$revision"
19.3227 + ;;
19.3228 +
19.3229 + windows)
19.3230 + # Use '-' rather than '.', since we only want one
19.3231 + # extension on DOS 8.3 filesystems.
19.3232 + major=`expr $current - $age`
19.3233 + versuffix="-$major"
19.3234 + ;;
19.3235 +
19.3236 + *)
19.3237 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
19.3238 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
19.3239 + exit $EXIT_FAILURE
19.3240 + ;;
19.3241 + esac
19.3242 +
19.3243 + # Clear the version info if we defaulted, and they specified a release.
19.3244 + if test -z "$vinfo" && test -n "$release"; then
19.3245 + major=
19.3246 + case $version_type in
19.3247 + darwin)
19.3248 + # we can't check for "0.0" in archive_cmds due to quoting
19.3249 + # problems, so we reset it completely
19.3250 + verstring=
19.3251 + ;;
19.3252 + *)
19.3253 + verstring="0.0"
19.3254 + ;;
19.3255 + esac
19.3256 + if test "$need_version" = no; then
19.3257 + versuffix=
19.3258 + else
19.3259 + versuffix=".0.0"
19.3260 + fi
19.3261 + fi
19.3262 +
19.3263 + # Remove version info from name if versioning should be avoided
19.3264 + if test "$avoid_version" = yes && test "$need_version" = no; then
19.3265 + major=
19.3266 + versuffix=
19.3267 + verstring=""
19.3268 + fi
19.3269 +
19.3270 + # Check to see if the archive will have undefined symbols.
19.3271 + if test "$allow_undefined" = yes; then
19.3272 + if test "$allow_undefined_flag" = unsupported; then
19.3273 + $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
19.3274 + build_libtool_libs=no
19.3275 + build_old_libs=yes
19.3276 + fi
19.3277 + else
19.3278 + # Don't allow undefined symbols.
19.3279 + allow_undefined_flag="$no_undefined_flag"
19.3280 + fi
19.3281 + fi
19.3282 +
19.3283 + if test "$mode" != relink; then
19.3284 + # Remove our outputs, but don't remove object files since they
19.3285 + # may have been created when compiling PIC objects.
19.3286 + removelist=
19.3287 + tempremovelist=`$echo "$output_objdir/*"`
19.3288 + for p in $tempremovelist; do
19.3289 + case $p in
19.3290 + *.$objext)
19.3291 + ;;
19.3292 + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
19.3293 + if test "X$precious_files_regex" != "X"; then
19.3294 + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
19.3295 + then
19.3296 + continue
19.3297 + fi
19.3298 + fi
19.3299 + removelist="$removelist $p"
19.3300 + ;;
19.3301 + *) ;;
19.3302 + esac
19.3303 + done
19.3304 + if test -n "$removelist"; then
19.3305 + $show "${rm}r $removelist"
19.3306 + $run ${rm}r $removelist
19.3307 + fi
19.3308 + fi
19.3309 +
19.3310 + # Now set the variables for building old libraries.
19.3311 + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
19.3312 + oldlibs="$oldlibs $output_objdir/$libname.$libext"
19.3313 +
19.3314 + # Transform .lo files to .o files.
19.3315 + oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
19.3316 + fi
19.3317 +
19.3318 + # Eliminate all temporary directories.
19.3319 + for path in $notinst_path; do
19.3320 + lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
19.3321 + deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
19.3322 + dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
19.3323 + done
19.3324 +
19.3325 + if test -n "$xrpath"; then
19.3326 + # If the user specified any rpath flags, then add them.
19.3327 + temp_xrpath=
19.3328 + for libdir in $xrpath; do
19.3329 + temp_xrpath="$temp_xrpath -R$libdir"
19.3330 + case "$finalize_rpath " in
19.3331 + *" $libdir "*) ;;
19.3332 + *) finalize_rpath="$finalize_rpath $libdir" ;;
19.3333 + esac
19.3334 + done
19.3335 + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
19.3336 + dependency_libs="$temp_xrpath $dependency_libs"
19.3337 + fi
19.3338 + fi
19.3339 +
19.3340 + # Make sure dlfiles contains only unique files that won't be dlpreopened
19.3341 + old_dlfiles="$dlfiles"
19.3342 + dlfiles=
19.3343 + for lib in $old_dlfiles; do
19.3344 + case " $dlprefiles $dlfiles " in
19.3345 + *" $lib "*) ;;
19.3346 + *) dlfiles="$dlfiles $lib" ;;
19.3347 + esac
19.3348 + done
19.3349 +
19.3350 + # Make sure dlprefiles contains only unique files
19.3351 + old_dlprefiles="$dlprefiles"
19.3352 + dlprefiles=
19.3353 + for lib in $old_dlprefiles; do
19.3354 + case "$dlprefiles " in
19.3355 + *" $lib "*) ;;
19.3356 + *) dlprefiles="$dlprefiles $lib" ;;
19.3357 + esac
19.3358 + done
19.3359 +
19.3360 + if test "$build_libtool_libs" = yes; then
19.3361 + if test -n "$rpath"; then
19.3362 + case $host in
19.3363 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
19.3364 + # these systems don't actually have a c library (as such)!
19.3365 + ;;
19.3366 + *-*-rhapsody* | *-*-darwin1.[012])
19.3367 + # Rhapsody C library is in the System framework
19.3368 + deplibs="$deplibs -framework System"
19.3369 + ;;
19.3370 + *-*-netbsd*)
19.3371 + # Don't link with libc until the a.out ld.so is fixed.
19.3372 + ;;
19.3373 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
19.3374 + # Do not include libc due to us having libc/libc_r.
19.3375 + test "X$arg" = "X-lc" && continue
19.3376 + ;;
19.3377 + *)
19.3378 + # Add libc to deplibs on all other systems if necessary.
19.3379 + if test "$build_libtool_need_lc" = "yes"; then
19.3380 + deplibs="$deplibs -lc"
19.3381 + fi
19.3382 + ;;
19.3383 + esac
19.3384 + fi
19.3385 +
19.3386 + # Transform deplibs into only deplibs that can be linked in shared.
19.3387 + name_save=$name
19.3388 + libname_save=$libname
19.3389 + release_save=$release
19.3390 + versuffix_save=$versuffix
19.3391 + major_save=$major
19.3392 + # I'm not sure if I'm treating the release correctly. I think
19.3393 + # release should show up in the -l (ie -lgmp5) so we don't want to
19.3394 + # add it in twice. Is that correct?
19.3395 + release=""
19.3396 + versuffix=""
19.3397 + major=""
19.3398 + newdeplibs=
19.3399 + droppeddeps=no
19.3400 + case $deplibs_check_method in
19.3401 + pass_all)
19.3402 + # Don't check for shared/static. Everything works.
19.3403 + # This might be a little naive. We might want to check
19.3404 + # whether the library exists or not. But this is on
19.3405 + # osf3 & osf4 and I'm not really sure... Just
19.3406 + # implementing what was already the behavior.
19.3407 + newdeplibs=$deplibs
19.3408 + ;;
19.3409 + test_compile)
19.3410 + # This code stresses the "libraries are programs" paradigm to its
19.3411 + # limits. Maybe even breaks it. We compile a program, linking it
19.3412 + # against the deplibs as a proxy for the library. Then we can check
19.3413 + # whether they linked in statically or dynamically with ldd.
19.3414 + $rm conftest.c
19.3415 + cat > conftest.c <<EOF
19.3416 + int main() { return 0; }
19.3417 +EOF
19.3418 + $rm conftest
19.3419 + $LTCC -o conftest conftest.c $deplibs
19.3420 + if test "$?" -eq 0 ; then
19.3421 + ldd_output=`ldd conftest`
19.3422 + for i in $deplibs; do
19.3423 + name=`expr $i : '-l\(.*\)'`
19.3424 + # If $name is empty we are operating on a -L argument.
19.3425 + if test "$name" != "" && test "$name" -ne "0"; then
19.3426 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.3427 + case " $predeps $postdeps " in
19.3428 + *" $i "*)
19.3429 + newdeplibs="$newdeplibs $i"
19.3430 + i=""
19.3431 + ;;
19.3432 + esac
19.3433 + fi
19.3434 + if test -n "$i" ; then
19.3435 + libname=`eval \\$echo \"$libname_spec\"`
19.3436 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
19.3437 + set dummy $deplib_matches
19.3438 + deplib_match=$2
19.3439 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
19.3440 + newdeplibs="$newdeplibs $i"
19.3441 + else
19.3442 + droppeddeps=yes
19.3443 + $echo
19.3444 + $echo "*** Warning: dynamic linker does not accept needed library $i."
19.3445 + $echo "*** I have the capability to make that library automatically link in when"
19.3446 + $echo "*** you link to this library. But I can only do this if you have a"
19.3447 + $echo "*** shared version of the library, which I believe you do not have"
19.3448 + $echo "*** because a test_compile did reveal that the linker did not use it for"
19.3449 + $echo "*** its dynamic dependency list that programs get resolved with at runtime."
19.3450 + fi
19.3451 + fi
19.3452 + else
19.3453 + newdeplibs="$newdeplibs $i"
19.3454 + fi
19.3455 + done
19.3456 + else
19.3457 + # Error occurred in the first compile. Let's try to salvage
19.3458 + # the situation: Compile a separate program for each library.
19.3459 + for i in $deplibs; do
19.3460 + name=`expr $i : '-l\(.*\)'`
19.3461 + # If $name is empty we are operating on a -L argument.
19.3462 + if test "$name" != "" && test "$name" != "0"; then
19.3463 + $rm conftest
19.3464 + $LTCC -o conftest conftest.c $i
19.3465 + # Did it work?
19.3466 + if test "$?" -eq 0 ; then
19.3467 + ldd_output=`ldd conftest`
19.3468 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.3469 + case " $predeps $postdeps " in
19.3470 + *" $i "*)
19.3471 + newdeplibs="$newdeplibs $i"
19.3472 + i=""
19.3473 + ;;
19.3474 + esac
19.3475 + fi
19.3476 + if test -n "$i" ; then
19.3477 + libname=`eval \\$echo \"$libname_spec\"`
19.3478 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
19.3479 + set dummy $deplib_matches
19.3480 + deplib_match=$2
19.3481 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
19.3482 + newdeplibs="$newdeplibs $i"
19.3483 + else
19.3484 + droppeddeps=yes
19.3485 + $echo
19.3486 + $echo "*** Warning: dynamic linker does not accept needed library $i."
19.3487 + $echo "*** I have the capability to make that library automatically link in when"
19.3488 + $echo "*** you link to this library. But I can only do this if you have a"
19.3489 + $echo "*** shared version of the library, which you do not appear to have"
19.3490 + $echo "*** because a test_compile did reveal that the linker did not use this one"
19.3491 + $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
19.3492 + fi
19.3493 + fi
19.3494 + else
19.3495 + droppeddeps=yes
19.3496 + $echo
19.3497 + $echo "*** Warning! Library $i is needed by this library but I was not able to"
19.3498 + $echo "*** make it link in! You will probably need to install it or some"
19.3499 + $echo "*** library that it depends on before this library will be fully"
19.3500 + $echo "*** functional. Installing it before continuing would be even better."
19.3501 + fi
19.3502 + else
19.3503 + newdeplibs="$newdeplibs $i"
19.3504 + fi
19.3505 + done
19.3506 + fi
19.3507 + ;;
19.3508 + file_magic*)
19.3509 + set dummy $deplibs_check_method
19.3510 + file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
19.3511 + for a_deplib in $deplibs; do
19.3512 + name=`expr $a_deplib : '-l\(.*\)'`
19.3513 + # If $name is empty we are operating on a -L argument.
19.3514 + if test "$name" != "" && test "$name" != "0"; then
19.3515 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.3516 + case " $predeps $postdeps " in
19.3517 + *" $a_deplib "*)
19.3518 + newdeplibs="$newdeplibs $a_deplib"
19.3519 + a_deplib=""
19.3520 + ;;
19.3521 + esac
19.3522 + fi
19.3523 + if test -n "$a_deplib" ; then
19.3524 + libname=`eval \\$echo \"$libname_spec\"`
19.3525 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
19.3526 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
19.3527 + for potent_lib in $potential_libs; do
19.3528 + # Follow soft links.
19.3529 + if ls -lLd "$potent_lib" 2>/dev/null \
19.3530 + | grep " -> " >/dev/null; then
19.3531 + continue
19.3532 + fi
19.3533 + # The statement above tries to avoid entering an
19.3534 + # endless loop below, in case of cyclic links.
19.3535 + # We might still enter an endless loop, since a link
19.3536 + # loop can be closed while we follow links,
19.3537 + # but so what?
19.3538 + potlib="$potent_lib"
19.3539 + while test -h "$potlib" 2>/dev/null; do
19.3540 + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
19.3541 + case $potliblink in
19.3542 + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
19.3543 + *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
19.3544 + esac
19.3545 + done
19.3546 + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
19.3547 + | ${SED} 10q \
19.3548 + | $EGREP "$file_magic_regex" > /dev/null; then
19.3549 + newdeplibs="$newdeplibs $a_deplib"
19.3550 + a_deplib=""
19.3551 + break 2
19.3552 + fi
19.3553 + done
19.3554 + done
19.3555 + fi
19.3556 + if test -n "$a_deplib" ; then
19.3557 + droppeddeps=yes
19.3558 + $echo
19.3559 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
19.3560 + $echo "*** I have the capability to make that library automatically link in when"
19.3561 + $echo "*** you link to this library. But I can only do this if you have a"
19.3562 + $echo "*** shared version of the library, which you do not appear to have"
19.3563 + $echo "*** because I did check the linker path looking for a file starting"
19.3564 + if test -z "$potlib" ; then
19.3565 + $echo "*** with $libname but no candidates were found. (...for file magic test)"
19.3566 + else
19.3567 + $echo "*** with $libname and none of the candidates passed a file format test"
19.3568 + $echo "*** using a file magic. Last file checked: $potlib"
19.3569 + fi
19.3570 + fi
19.3571 + else
19.3572 + # Add a -L argument.
19.3573 + newdeplibs="$newdeplibs $a_deplib"
19.3574 + fi
19.3575 + done # Gone through all deplibs.
19.3576 + ;;
19.3577 + match_pattern*)
19.3578 + set dummy $deplibs_check_method
19.3579 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
19.3580 + for a_deplib in $deplibs; do
19.3581 + name=`expr $a_deplib : '-l\(.*\)'`
19.3582 + # If $name is empty we are operating on a -L argument.
19.3583 + if test -n "$name" && test "$name" != "0"; then
19.3584 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.3585 + case " $predeps $postdeps " in
19.3586 + *" $a_deplib "*)
19.3587 + newdeplibs="$newdeplibs $a_deplib"
19.3588 + a_deplib=""
19.3589 + ;;
19.3590 + esac
19.3591 + fi
19.3592 + if test -n "$a_deplib" ; then
19.3593 + libname=`eval \\$echo \"$libname_spec\"`
19.3594 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
19.3595 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
19.3596 + for potent_lib in $potential_libs; do
19.3597 + potlib="$potent_lib" # see symlink-check above in file_magic test
19.3598 + if eval $echo \"$potent_lib\" 2>/dev/null \
19.3599 + | ${SED} 10q \
19.3600 + | $EGREP "$match_pattern_regex" > /dev/null; then
19.3601 + newdeplibs="$newdeplibs $a_deplib"
19.3602 + a_deplib=""
19.3603 + break 2
19.3604 + fi
19.3605 + done
19.3606 + done
19.3607 + fi
19.3608 + if test -n "$a_deplib" ; then
19.3609 + droppeddeps=yes
19.3610 + $echo
19.3611 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
19.3612 + $echo "*** I have the capability to make that library automatically link in when"
19.3613 + $echo "*** you link to this library. But I can only do this if you have a"
19.3614 + $echo "*** shared version of the library, which you do not appear to have"
19.3615 + $echo "*** because I did check the linker path looking for a file starting"
19.3616 + if test -z "$potlib" ; then
19.3617 + $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
19.3618 + else
19.3619 + $echo "*** with $libname and none of the candidates passed a file format test"
19.3620 + $echo "*** using a regex pattern. Last file checked: $potlib"
19.3621 + fi
19.3622 + fi
19.3623 + else
19.3624 + # Add a -L argument.
19.3625 + newdeplibs="$newdeplibs $a_deplib"
19.3626 + fi
19.3627 + done # Gone through all deplibs.
19.3628 + ;;
19.3629 + none | unknown | *)
19.3630 + newdeplibs=""
19.3631 + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
19.3632 + -e 's/ -[LR][^ ]*//g'`
19.3633 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
19.3634 + for i in $predeps $postdeps ; do
19.3635 + # can't use Xsed below, because $i might contain '/'
19.3636 + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
19.3637 + done
19.3638 + fi
19.3639 + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
19.3640 + | grep . >/dev/null; then
19.3641 + $echo
19.3642 + if test "X$deplibs_check_method" = "Xnone"; then
19.3643 + $echo "*** Warning: inter-library dependencies are not supported in this platform."
19.3644 + else
19.3645 + $echo "*** Warning: inter-library dependencies are not known to be supported."
19.3646 + fi
19.3647 + $echo "*** All declared inter-library dependencies are being dropped."
19.3648 + droppeddeps=yes
19.3649 + fi
19.3650 + ;;
19.3651 + esac
19.3652 + versuffix=$versuffix_save
19.3653 + major=$major_save
19.3654 + release=$release_save
19.3655 + libname=$libname_save
19.3656 + name=$name_save
19.3657 +
19.3658 + case $host in
19.3659 + *-*-rhapsody* | *-*-darwin1.[012])
19.3660 + # On Rhapsody replace the C library is the System framework
19.3661 + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
19.3662 + ;;
19.3663 + esac
19.3664 +
19.3665 + if test "$droppeddeps" = yes; then
19.3666 + if test "$module" = yes; then
19.3667 + $echo
19.3668 + $echo "*** Warning: libtool could not satisfy all declared inter-library"
19.3669 + $echo "*** dependencies of module $libname. Therefore, libtool will create"
19.3670 + $echo "*** a static module, that should work as long as the dlopening"
19.3671 + $echo "*** application is linked with the -dlopen flag."
19.3672 + if test -z "$global_symbol_pipe"; then
19.3673 + $echo
19.3674 + $echo "*** However, this would only work if libtool was able to extract symbol"
19.3675 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
19.3676 + $echo "*** not find such a program. So, this module is probably useless."
19.3677 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
19.3678 + fi
19.3679 + if test "$build_old_libs" = no; then
19.3680 + oldlibs="$output_objdir/$libname.$libext"
19.3681 + build_libtool_libs=module
19.3682 + build_old_libs=yes
19.3683 + else
19.3684 + build_libtool_libs=no
19.3685 + fi
19.3686 + else
19.3687 + $echo "*** The inter-library dependencies that have been dropped here will be"
19.3688 + $echo "*** automatically added whenever a program is linked with this library"
19.3689 + $echo "*** or is declared to -dlopen it."
19.3690 +
19.3691 + if test "$allow_undefined" = no; then
19.3692 + $echo
19.3693 + $echo "*** Since this library must not contain undefined symbols,"
19.3694 + $echo "*** because either the platform does not support them or"
19.3695 + $echo "*** it was explicitly requested with -no-undefined,"
19.3696 + $echo "*** libtool will only create a static version of it."
19.3697 + if test "$build_old_libs" = no; then
19.3698 + oldlibs="$output_objdir/$libname.$libext"
19.3699 + build_libtool_libs=module
19.3700 + build_old_libs=yes
19.3701 + else
19.3702 + build_libtool_libs=no
19.3703 + fi
19.3704 + fi
19.3705 + fi
19.3706 + fi
19.3707 + # Done checking deplibs!
19.3708 + deplibs=$newdeplibs
19.3709 + fi
19.3710 +
19.3711 + # All the library-specific variables (install_libdir is set above).
19.3712 + library_names=
19.3713 + old_library=
19.3714 + dlname=
19.3715 +
19.3716 + # Test again, we may have decided not to build it any more
19.3717 + if test "$build_libtool_libs" = yes; then
19.3718 + if test "$hardcode_into_libs" = yes; then
19.3719 + # Hardcode the library paths
19.3720 + hardcode_libdirs=
19.3721 + dep_rpath=
19.3722 + rpath="$finalize_rpath"
19.3723 + test "$mode" != relink && rpath="$compile_rpath$rpath"
19.3724 + for libdir in $rpath; do
19.3725 + if test -n "$hardcode_libdir_flag_spec"; then
19.3726 + if test -n "$hardcode_libdir_separator"; then
19.3727 + if test -z "$hardcode_libdirs"; then
19.3728 + hardcode_libdirs="$libdir"
19.3729 + else
19.3730 + # Just accumulate the unique libdirs.
19.3731 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
19.3732 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
19.3733 + ;;
19.3734 + *)
19.3735 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
19.3736 + ;;
19.3737 + esac
19.3738 + fi
19.3739 + else
19.3740 + eval flag=\"$hardcode_libdir_flag_spec\"
19.3741 + dep_rpath="$dep_rpath $flag"
19.3742 + fi
19.3743 + elif test -n "$runpath_var"; then
19.3744 + case "$perm_rpath " in
19.3745 + *" $libdir "*) ;;
19.3746 + *) perm_rpath="$perm_rpath $libdir" ;;
19.3747 + esac
19.3748 + fi
19.3749 + done
19.3750 + # Substitute the hardcoded libdirs into the rpath.
19.3751 + if test -n "$hardcode_libdir_separator" &&
19.3752 + test -n "$hardcode_libdirs"; then
19.3753 + libdir="$hardcode_libdirs"
19.3754 + if test -n "$hardcode_libdir_flag_spec_ld"; then
19.3755 + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
19.3756 + else
19.3757 + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
19.3758 + fi
19.3759 + fi
19.3760 + if test -n "$runpath_var" && test -n "$perm_rpath"; then
19.3761 + # We should set the runpath_var.
19.3762 + rpath=
19.3763 + for dir in $perm_rpath; do
19.3764 + rpath="$rpath$dir:"
19.3765 + done
19.3766 + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
19.3767 + fi
19.3768 + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
19.3769 + fi
19.3770 +
19.3771 + shlibpath="$finalize_shlibpath"
19.3772 + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
19.3773 + if test -n "$shlibpath"; then
19.3774 + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
19.3775 + fi
19.3776 +
19.3777 + # Get the real and link names of the library.
19.3778 + eval shared_ext=\"$shrext_cmds\"
19.3779 + eval library_names=\"$library_names_spec\"
19.3780 + set dummy $library_names
19.3781 + realname="$2"
19.3782 + shift; shift
19.3783 +
19.3784 + if test -n "$soname_spec"; then
19.3785 + eval soname=\"$soname_spec\"
19.3786 + else
19.3787 + soname="$realname"
19.3788 + fi
19.3789 + if test -z "$dlname"; then
19.3790 + dlname=$soname
19.3791 + fi
19.3792 +
19.3793 + lib="$output_objdir/$realname"
19.3794 + for link
19.3795 + do
19.3796 + linknames="$linknames $link"
19.3797 + done
19.3798 +
19.3799 + # Use standard objects if they are pic
19.3800 + test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
19.3801 +
19.3802 + # Prepare the list of exported symbols
19.3803 + if test -z "$export_symbols"; then
19.3804 + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
19.3805 + $show "generating symbol list for \`$libname.la'"
19.3806 + export_symbols="$output_objdir/$libname.exp"
19.3807 + $run $rm $export_symbols
19.3808 + cmds=$export_symbols_cmds
19.3809 + save_ifs="$IFS"; IFS='~'
19.3810 + for cmd in $cmds; do
19.3811 + IFS="$save_ifs"
19.3812 + eval cmd=\"$cmd\"
19.3813 + if len=`expr "X$cmd" : ".*"` &&
19.3814 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
19.3815 + $show "$cmd"
19.3816 + $run eval "$cmd" || exit $?
19.3817 + skipped_export=false
19.3818 + else
19.3819 + # The command line is too long to execute in one step.
19.3820 + $show "using reloadable object file for export list..."
19.3821 + skipped_export=:
19.3822 + # Break out early, otherwise skipped_export may be
19.3823 + # set to false by a later but shorter cmd.
19.3824 + break
19.3825 + fi
19.3826 + done
19.3827 + IFS="$save_ifs"
19.3828 + if test -n "$export_symbols_regex"; then
19.3829 + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
19.3830 + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
19.3831 + $show "$mv \"${export_symbols}T\" \"$export_symbols\""
19.3832 + $run eval '$mv "${export_symbols}T" "$export_symbols"'
19.3833 + fi
19.3834 + fi
19.3835 + fi
19.3836 +
19.3837 + if test -n "$export_symbols" && test -n "$include_expsyms"; then
19.3838 + $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
19.3839 + fi
19.3840 +
19.3841 + tmp_deplibs=
19.3842 + for test_deplib in $deplibs; do
19.3843 + case " $convenience " in
19.3844 + *" $test_deplib "*) ;;
19.3845 + *)
19.3846 + tmp_deplibs="$tmp_deplibs $test_deplib"
19.3847 + ;;
19.3848 + esac
19.3849 + done
19.3850 + deplibs="$tmp_deplibs"
19.3851 +
19.3852 + if test -n "$convenience"; then
19.3853 + if test -n "$whole_archive_flag_spec"; then
19.3854 + save_libobjs=$libobjs
19.3855 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
19.3856 + else
19.3857 + gentop="$output_objdir/${outputname}x"
19.3858 + generated="$generated $gentop"
19.3859 +
19.3860 + func_extract_archives $gentop $convenience
19.3861 + libobjs="$libobjs $func_extract_archives_result"
19.3862 + fi
19.3863 + fi
19.3864 +
19.3865 + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
19.3866 + eval flag=\"$thread_safe_flag_spec\"
19.3867 + linker_flags="$linker_flags $flag"
19.3868 + fi
19.3869 +
19.3870 + # Make a backup of the uninstalled library when relinking
19.3871 + if test "$mode" = relink; then
19.3872 + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
19.3873 + fi
19.3874 +
19.3875 + # Do each of the archive commands.
19.3876 + if test "$module" = yes && test -n "$module_cmds" ; then
19.3877 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
19.3878 + eval test_cmds=\"$module_expsym_cmds\"
19.3879 + cmds=$module_expsym_cmds
19.3880 + else
19.3881 + eval test_cmds=\"$module_cmds\"
19.3882 + cmds=$module_cmds
19.3883 + fi
19.3884 + else
19.3885 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
19.3886 + eval test_cmds=\"$archive_expsym_cmds\"
19.3887 + cmds=$archive_expsym_cmds
19.3888 + else
19.3889 + eval test_cmds=\"$archive_cmds\"
19.3890 + cmds=$archive_cmds
19.3891 + fi
19.3892 + fi
19.3893 +
19.3894 + if test "X$skipped_export" != "X:" &&
19.3895 + len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
19.3896 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
19.3897 + :
19.3898 + else
19.3899 + # The command line is too long to link in one step, link piecewise.
19.3900 + $echo "creating reloadable object files..."
19.3901 +
19.3902 + # Save the value of $output and $libobjs because we want to
19.3903 + # use them later. If we have whole_archive_flag_spec, we
19.3904 + # want to use save_libobjs as it was before
19.3905 + # whole_archive_flag_spec was expanded, because we can't
19.3906 + # assume the linker understands whole_archive_flag_spec.
19.3907 + # This may have to be revisited, in case too many
19.3908 + # convenience libraries get linked in and end up exceeding
19.3909 + # the spec.
19.3910 + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
19.3911 + save_libobjs=$libobjs
19.3912 + fi
19.3913 + save_output=$output
19.3914 + output_la=`$echo "X$output" | $Xsed -e "$basename"`
19.3915 +
19.3916 + # Clear the reloadable object creation command queue and
19.3917 + # initialize k to one.
19.3918 + test_cmds=
19.3919 + concat_cmds=
19.3920 + objlist=
19.3921 + delfiles=
19.3922 + last_robj=
19.3923 + k=1
19.3924 + output=$output_objdir/$output_la-${k}.$objext
19.3925 + # Loop over the list of objects to be linked.
19.3926 + for obj in $save_libobjs
19.3927 + do
19.3928 + eval test_cmds=\"$reload_cmds $objlist $last_robj\"
19.3929 + if test "X$objlist" = X ||
19.3930 + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
19.3931 + test "$len" -le "$max_cmd_len"; }; then
19.3932 + objlist="$objlist $obj"
19.3933 + else
19.3934 + # The command $test_cmds is almost too long, add a
19.3935 + # command to the queue.
19.3936 + if test "$k" -eq 1 ; then
19.3937 + # The first file doesn't have a previous command to add.
19.3938 + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
19.3939 + else
19.3940 + # All subsequent reloadable object files will link in
19.3941 + # the last one created.
19.3942 + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
19.3943 + fi
19.3944 + last_robj=$output_objdir/$output_la-${k}.$objext
19.3945 + k=`expr $k + 1`
19.3946 + output=$output_objdir/$output_la-${k}.$objext
19.3947 + objlist=$obj
19.3948 + len=1
19.3949 + fi
19.3950 + done
19.3951 + # Handle the remaining objects by creating one last
19.3952 + # reloadable object file. All subsequent reloadable object
19.3953 + # files will link in the last one created.
19.3954 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
19.3955 + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
19.3956 +
19.3957 + if ${skipped_export-false}; then
19.3958 + $show "generating symbol list for \`$libname.la'"
19.3959 + export_symbols="$output_objdir/$libname.exp"
19.3960 + $run $rm $export_symbols
19.3961 + libobjs=$output
19.3962 + # Append the command to create the export file.
19.3963 + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
19.3964 + fi
19.3965 +
19.3966 + # Set up a command to remove the reloadable object files
19.3967 + # after they are used.
19.3968 + i=0
19.3969 + while test "$i" -lt "$k"
19.3970 + do
19.3971 + i=`expr $i + 1`
19.3972 + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
19.3973 + done
19.3974 +
19.3975 + $echo "creating a temporary reloadable object file: $output"
19.3976 +
19.3977 + # Loop through the commands generated above and execute them.
19.3978 + save_ifs="$IFS"; IFS='~'
19.3979 + for cmd in $concat_cmds; do
19.3980 + IFS="$save_ifs"
19.3981 + $show "$cmd"
19.3982 + $run eval "$cmd" || exit $?
19.3983 + done
19.3984 + IFS="$save_ifs"
19.3985 +
19.3986 + libobjs=$output
19.3987 + # Restore the value of output.
19.3988 + output=$save_output
19.3989 +
19.3990 + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
19.3991 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
19.3992 + fi
19.3993 + # Expand the library linking commands again to reset the
19.3994 + # value of $libobjs for piecewise linking.
19.3995 +
19.3996 + # Do each of the archive commands.
19.3997 + if test "$module" = yes && test -n "$module_cmds" ; then
19.3998 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
19.3999 + cmds=$module_expsym_cmds
19.4000 + else
19.4001 + cmds=$module_cmds
19.4002 + fi
19.4003 + else
19.4004 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
19.4005 + cmds=$archive_expsym_cmds
19.4006 + else
19.4007 + cmds=$archive_cmds
19.4008 + fi
19.4009 + fi
19.4010 +
19.4011 + # Append the command to remove the reloadable object files
19.4012 + # to the just-reset $cmds.
19.4013 + eval cmds=\"\$cmds~\$rm $delfiles\"
19.4014 + fi
19.4015 + save_ifs="$IFS"; IFS='~'
19.4016 + for cmd in $cmds; do
19.4017 + IFS="$save_ifs"
19.4018 + eval cmd=\"$cmd\"
19.4019 + $show "$cmd"
19.4020 + $run eval "$cmd" || {
19.4021 + lt_exit=$?
19.4022 +
19.4023 + # Restore the uninstalled library and exit
19.4024 + if test "$mode" = relink; then
19.4025 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
19.4026 + fi
19.4027 +
19.4028 + exit $lt_exit
19.4029 + }
19.4030 + done
19.4031 + IFS="$save_ifs"
19.4032 +
19.4033 + # Restore the uninstalled library and exit
19.4034 + if test "$mode" = relink; then
19.4035 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
19.4036 +
19.4037 + if test -n "$convenience"; then
19.4038 + if test -z "$whole_archive_flag_spec"; then
19.4039 + $show "${rm}r $gentop"
19.4040 + $run ${rm}r "$gentop"
19.4041 + fi
19.4042 + fi
19.4043 +
19.4044 + exit $EXIT_SUCCESS
19.4045 + fi
19.4046 +
19.4047 + # Create links to the real library.
19.4048 + for linkname in $linknames; do
19.4049 + if test "$realname" != "$linkname"; then
19.4050 + $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
19.4051 + $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
19.4052 + fi
19.4053 + done
19.4054 +
19.4055 + # If -module or -export-dynamic was specified, set the dlname.
19.4056 + if test "$module" = yes || test "$export_dynamic" = yes; then
19.4057 + # On all known operating systems, these are identical.
19.4058 + dlname="$soname"
19.4059 + fi
19.4060 + fi
19.4061 + ;;
19.4062 +
19.4063 + obj)
19.4064 + if test -n "$deplibs"; then
19.4065 + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
19.4066 + fi
19.4067 +
19.4068 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
19.4069 + $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
19.4070 + fi
19.4071 +
19.4072 + if test -n "$rpath"; then
19.4073 + $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
19.4074 + fi
19.4075 +
19.4076 + if test -n "$xrpath"; then
19.4077 + $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
19.4078 + fi
19.4079 +
19.4080 + if test -n "$vinfo"; then
19.4081 + $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
19.4082 + fi
19.4083 +
19.4084 + if test -n "$release"; then
19.4085 + $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
19.4086 + fi
19.4087 +
19.4088 + case $output in
19.4089 + *.lo)
19.4090 + if test -n "$objs$old_deplibs"; then
19.4091 + $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
19.4092 + exit $EXIT_FAILURE
19.4093 + fi
19.4094 + libobj="$output"
19.4095 + obj=`$echo "X$output" | $Xsed -e "$lo2o"`
19.4096 + ;;
19.4097 + *)
19.4098 + libobj=
19.4099 + obj="$output"
19.4100 + ;;
19.4101 + esac
19.4102 +
19.4103 + # Delete the old objects.
19.4104 + $run $rm $obj $libobj
19.4105 +
19.4106 + # Objects from convenience libraries. This assumes
19.4107 + # single-version convenience libraries. Whenever we create
19.4108 + # different ones for PIC/non-PIC, this we'll have to duplicate
19.4109 + # the extraction.
19.4110 + reload_conv_objs=
19.4111 + gentop=
19.4112 + # reload_cmds runs $LD directly, so let us get rid of
19.4113 + # -Wl from whole_archive_flag_spec
19.4114 + wl=
19.4115 +
19.4116 + if test -n "$convenience"; then
19.4117 + if test -n "$whole_archive_flag_spec"; then
19.4118 + eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
19.4119 + else
19.4120 + gentop="$output_objdir/${obj}x"
19.4121 + generated="$generated $gentop"
19.4122 +
19.4123 + func_extract_archives $gentop $convenience
19.4124 + reload_conv_objs="$reload_objs $func_extract_archives_result"
19.4125 + fi
19.4126 + fi
19.4127 +
19.4128 + # Create the old-style object.
19.4129 + 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
19.4130 +
19.4131 + output="$obj"
19.4132 + cmds=$reload_cmds
19.4133 + save_ifs="$IFS"; IFS='~'
19.4134 + for cmd in $cmds; do
19.4135 + IFS="$save_ifs"
19.4136 + eval cmd=\"$cmd\"
19.4137 + $show "$cmd"
19.4138 + $run eval "$cmd" || exit $?
19.4139 + done
19.4140 + IFS="$save_ifs"
19.4141 +
19.4142 + # Exit if we aren't doing a library object file.
19.4143 + if test -z "$libobj"; then
19.4144 + if test -n "$gentop"; then
19.4145 + $show "${rm}r $gentop"
19.4146 + $run ${rm}r $gentop
19.4147 + fi
19.4148 +
19.4149 + exit $EXIT_SUCCESS
19.4150 + fi
19.4151 +
19.4152 + if test "$build_libtool_libs" != yes; then
19.4153 + if test -n "$gentop"; then
19.4154 + $show "${rm}r $gentop"
19.4155 + $run ${rm}r $gentop
19.4156 + fi
19.4157 +
19.4158 + # Create an invalid libtool object if no PIC, so that we don't
19.4159 + # accidentally link it into a program.
19.4160 + # $show "echo timestamp > $libobj"
19.4161 + # $run eval "echo timestamp > $libobj" || exit $?
19.4162 + exit $EXIT_SUCCESS
19.4163 + fi
19.4164 +
19.4165 + if test -n "$pic_flag" || test "$pic_mode" != default; then
19.4166 + # Only do commands if we really have different PIC objects.
19.4167 + reload_objs="$libobjs $reload_conv_objs"
19.4168 + output="$libobj"
19.4169 + cmds=$reload_cmds
19.4170 + save_ifs="$IFS"; IFS='~'
19.4171 + for cmd in $cmds; do
19.4172 + IFS="$save_ifs"
19.4173 + eval cmd=\"$cmd\"
19.4174 + $show "$cmd"
19.4175 + $run eval "$cmd" || exit $?
19.4176 + done
19.4177 + IFS="$save_ifs"
19.4178 + fi
19.4179 +
19.4180 + if test -n "$gentop"; then
19.4181 + $show "${rm}r $gentop"
19.4182 + $run ${rm}r $gentop
19.4183 + fi
19.4184 +
19.4185 + exit $EXIT_SUCCESS
19.4186 + ;;
19.4187 +
19.4188 + prog)
19.4189 + case $host in
19.4190 + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
19.4191 + esac
19.4192 + if test -n "$vinfo"; then
19.4193 + $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
19.4194 + fi
19.4195 +
19.4196 + if test -n "$release"; then
19.4197 + $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
19.4198 + fi
19.4199 +
19.4200 + if test "$preload" = yes; then
19.4201 + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
19.4202 + test "$dlopen_self_static" = unknown; then
19.4203 + $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
19.4204 + fi
19.4205 + fi
19.4206 +
19.4207 + case $host in
19.4208 + *-*-rhapsody* | *-*-darwin1.[012])
19.4209 + # On Rhapsody replace the C library is the System framework
19.4210 + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
19.4211 + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
19.4212 + ;;
19.4213 + esac
19.4214 +
19.4215 + case $host in
19.4216 + *darwin*)
19.4217 + # Don't allow lazy linking, it breaks C++ global constructors
19.4218 + if test "$tagname" = CXX ; then
19.4219 + compile_command="$compile_command ${wl}-bind_at_load"
19.4220 + finalize_command="$finalize_command ${wl}-bind_at_load"
19.4221 + fi
19.4222 + ;;
19.4223 + esac
19.4224 +
19.4225 + compile_command="$compile_command $compile_deplibs"
19.4226 + finalize_command="$finalize_command $finalize_deplibs"
19.4227 +
19.4228 + if test -n "$rpath$xrpath"; then
19.4229 + # If the user specified any rpath flags, then add them.
19.4230 + for libdir in $rpath $xrpath; do
19.4231 + # This is the magic to use -rpath.
19.4232 + case "$finalize_rpath " in
19.4233 + *" $libdir "*) ;;
19.4234 + *) finalize_rpath="$finalize_rpath $libdir" ;;
19.4235 + esac
19.4236 + done
19.4237 + fi
19.4238 +
19.4239 + # Now hardcode the library paths
19.4240 + rpath=
19.4241 + hardcode_libdirs=
19.4242 + for libdir in $compile_rpath $finalize_rpath; do
19.4243 + if test -n "$hardcode_libdir_flag_spec"; then
19.4244 + if test -n "$hardcode_libdir_separator"; then
19.4245 + if test -z "$hardcode_libdirs"; then
19.4246 + hardcode_libdirs="$libdir"
19.4247 + else
19.4248 + # Just accumulate the unique libdirs.
19.4249 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
19.4250 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
19.4251 + ;;
19.4252 + *)
19.4253 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
19.4254 + ;;
19.4255 + esac
19.4256 + fi
19.4257 + else
19.4258 + eval flag=\"$hardcode_libdir_flag_spec\"
19.4259 + rpath="$rpath $flag"
19.4260 + fi
19.4261 + elif test -n "$runpath_var"; then
19.4262 + case "$perm_rpath " in
19.4263 + *" $libdir "*) ;;
19.4264 + *) perm_rpath="$perm_rpath $libdir" ;;
19.4265 + esac
19.4266 + fi
19.4267 + case $host in
19.4268 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
19.4269 + case :$dllsearchpath: in
19.4270 + *":$libdir:"*) ;;
19.4271 + *) dllsearchpath="$dllsearchpath:$libdir";;
19.4272 + esac
19.4273 + ;;
19.4274 + esac
19.4275 + done
19.4276 + # Substitute the hardcoded libdirs into the rpath.
19.4277 + if test -n "$hardcode_libdir_separator" &&
19.4278 + test -n "$hardcode_libdirs"; then
19.4279 + libdir="$hardcode_libdirs"
19.4280 + eval rpath=\" $hardcode_libdir_flag_spec\"
19.4281 + fi
19.4282 + compile_rpath="$rpath"
19.4283 +
19.4284 + rpath=
19.4285 + hardcode_libdirs=
19.4286 + for libdir in $finalize_rpath; do
19.4287 + if test -n "$hardcode_libdir_flag_spec"; then
19.4288 + if test -n "$hardcode_libdir_separator"; then
19.4289 + if test -z "$hardcode_libdirs"; then
19.4290 + hardcode_libdirs="$libdir"
19.4291 + else
19.4292 + # Just accumulate the unique libdirs.
19.4293 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
19.4294 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
19.4295 + ;;
19.4296 + *)
19.4297 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
19.4298 + ;;
19.4299 + esac
19.4300 + fi
19.4301 + else
19.4302 + eval flag=\"$hardcode_libdir_flag_spec\"
19.4303 + rpath="$rpath $flag"
19.4304 + fi
19.4305 + elif test -n "$runpath_var"; then
19.4306 + case "$finalize_perm_rpath " in
19.4307 + *" $libdir "*) ;;
19.4308 + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
19.4309 + esac
19.4310 + fi
19.4311 + done
19.4312 + # Substitute the hardcoded libdirs into the rpath.
19.4313 + if test -n "$hardcode_libdir_separator" &&
19.4314 + test -n "$hardcode_libdirs"; then
19.4315 + libdir="$hardcode_libdirs"
19.4316 + eval rpath=\" $hardcode_libdir_flag_spec\"
19.4317 + fi
19.4318 + finalize_rpath="$rpath"
19.4319 +
19.4320 + if test -n "$libobjs" && test "$build_old_libs" = yes; then
19.4321 + # Transform all the library objects into standard objects.
19.4322 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
19.4323 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
19.4324 + fi
19.4325 +
19.4326 + dlsyms=
19.4327 + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
19.4328 + if test -n "$NM" && test -n "$global_symbol_pipe"; then
19.4329 + dlsyms="${outputname}S.c"
19.4330 + else
19.4331 + $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
19.4332 + fi
19.4333 + fi
19.4334 +
19.4335 + if test -n "$dlsyms"; then
19.4336 + case $dlsyms in
19.4337 + "") ;;
19.4338 + *.c)
19.4339 + # Discover the nlist of each of the dlfiles.
19.4340 + nlist="$output_objdir/${outputname}.nm"
19.4341 +
19.4342 + $show "$rm $nlist ${nlist}S ${nlist}T"
19.4343 + $run $rm "$nlist" "${nlist}S" "${nlist}T"
19.4344 +
19.4345 + # Parse the name list into a source file.
19.4346 + $show "creating $output_objdir/$dlsyms"
19.4347 +
19.4348 + test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
19.4349 +/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
19.4350 +/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
19.4351 +
19.4352 +#ifdef __cplusplus
19.4353 +extern \"C\" {
19.4354 +#endif
19.4355 +
19.4356 +/* Prevent the only kind of declaration conflicts we can make. */
19.4357 +#define lt_preloaded_symbols some_other_symbol
19.4358 +
19.4359 +/* External symbol declarations for the compiler. */\
19.4360 +"
19.4361 +
19.4362 + if test "$dlself" = yes; then
19.4363 + $show "generating symbol list for \`$output'"
19.4364 +
19.4365 + test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
19.4366 +
19.4367 + # Add our own program objects to the symbol list.
19.4368 + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
19.4369 + for arg in $progfiles; do
19.4370 + $show "extracting global C symbols from \`$arg'"
19.4371 + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
19.4372 + done
19.4373 +
19.4374 + if test -n "$exclude_expsyms"; then
19.4375 + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
19.4376 + $run eval '$mv "$nlist"T "$nlist"'
19.4377 + fi
19.4378 +
19.4379 + if test -n "$export_symbols_regex"; then
19.4380 + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
19.4381 + $run eval '$mv "$nlist"T "$nlist"'
19.4382 + fi
19.4383 +
19.4384 + # Prepare the list of exported symbols
19.4385 + if test -z "$export_symbols"; then
19.4386 + export_symbols="$output_objdir/$outputname.exp"
19.4387 + $run $rm $export_symbols
19.4388 + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
19.4389 + else
19.4390 + $run eval "${SED} -e 's/\([ ][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
19.4391 + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
19.4392 + $run eval 'mv "$nlist"T "$nlist"'
19.4393 + fi
19.4394 + fi
19.4395 +
19.4396 + for arg in $dlprefiles; do
19.4397 + $show "extracting global C symbols from \`$arg'"
19.4398 + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
19.4399 + $run eval '$echo ": $name " >> "$nlist"'
19.4400 + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
19.4401 + done
19.4402 +
19.4403 + if test -z "$run"; then
19.4404 + # Make sure we have at least an empty file.
19.4405 + test -f "$nlist" || : > "$nlist"
19.4406 +
19.4407 + if test -n "$exclude_expsyms"; then
19.4408 + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
19.4409 + $mv "$nlist"T "$nlist"
19.4410 + fi
19.4411 +
19.4412 + # Try sorting and uniquifying the output.
19.4413 + if grep -v "^: " < "$nlist" |
19.4414 + if sort -k 3 </dev/null >/dev/null 2>&1; then
19.4415 + sort -k 3
19.4416 + else
19.4417 + sort +2
19.4418 + fi |
19.4419 + uniq > "$nlist"S; then
19.4420 + :
19.4421 + else
19.4422 + grep -v "^: " < "$nlist" > "$nlist"S
19.4423 + fi
19.4424 +
19.4425 + if test -f "$nlist"S; then
19.4426 + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
19.4427 + else
19.4428 + $echo '/* NONE */' >> "$output_objdir/$dlsyms"
19.4429 + fi
19.4430 +
19.4431 + $echo >> "$output_objdir/$dlsyms" "\
19.4432 +
19.4433 +#undef lt_preloaded_symbols
19.4434 +
19.4435 +#if defined (__STDC__) && __STDC__
19.4436 +# define lt_ptr void *
19.4437 +#else
19.4438 +# define lt_ptr char *
19.4439 +# define const
19.4440 +#endif
19.4441 +
19.4442 +/* The mapping between symbol names and symbols. */
19.4443 +"
19.4444 +
19.4445 + case $host in
19.4446 + *cygwin* | *mingw* )
19.4447 + $echo >> "$output_objdir/$dlsyms" "\
19.4448 +/* DATA imports from DLLs on WIN32 can't be const, because
19.4449 + runtime relocations are performed -- see ld's documentation
19.4450 + on pseudo-relocs */
19.4451 +struct {
19.4452 +"
19.4453 + ;;
19.4454 + * )
19.4455 + $echo >> "$output_objdir/$dlsyms" "\
19.4456 +const struct {
19.4457 +"
19.4458 + ;;
19.4459 + esac
19.4460 +
19.4461 +
19.4462 + $echo >> "$output_objdir/$dlsyms" "\
19.4463 + const char *name;
19.4464 + lt_ptr address;
19.4465 +}
19.4466 +lt_preloaded_symbols[] =
19.4467 +{\
19.4468 +"
19.4469 +
19.4470 + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
19.4471 +
19.4472 + $echo >> "$output_objdir/$dlsyms" "\
19.4473 + {0, (lt_ptr) 0}
19.4474 +};
19.4475 +
19.4476 +/* This works around a problem in FreeBSD linker */
19.4477 +#ifdef FREEBSD_WORKAROUND
19.4478 +static const void *lt_preloaded_setup() {
19.4479 + return lt_preloaded_symbols;
19.4480 +}
19.4481 +#endif
19.4482 +
19.4483 +#ifdef __cplusplus
19.4484 +}
19.4485 +#endif\
19.4486 +"
19.4487 + fi
19.4488 +
19.4489 + pic_flag_for_symtable=
19.4490 + case $host in
19.4491 + # compiling the symbol table file with pic_flag works around
19.4492 + # a FreeBSD bug that causes programs to crash when -lm is
19.4493 + # linked before any other PIC object. But we must not use
19.4494 + # pic_flag when linking with -static. The problem exists in
19.4495 + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
19.4496 + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
19.4497 + case "$compile_command " in
19.4498 + *" -static "*) ;;
19.4499 + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
19.4500 + esac;;
19.4501 + *-*-hpux*)
19.4502 + case "$compile_command " in
19.4503 + *" -static "*) ;;
19.4504 + *) pic_flag_for_symtable=" $pic_flag";;
19.4505 + esac
19.4506 + esac
19.4507 +
19.4508 + # Now compile the dynamic symbol file.
19.4509 + $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
19.4510 + $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
19.4511 +
19.4512 + # Clean up the generated files.
19.4513 + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
19.4514 + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
19.4515 +
19.4516 + # Transform the symbol file into the correct name.
19.4517 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
19.4518 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
19.4519 + ;;
19.4520 + *)
19.4521 + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
19.4522 + exit $EXIT_FAILURE
19.4523 + ;;
19.4524 + esac
19.4525 + else
19.4526 + # We keep going just in case the user didn't refer to
19.4527 + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
19.4528 + # really was required.
19.4529 +
19.4530 + # Nullify the symbol file.
19.4531 + compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
19.4532 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
19.4533 + fi
19.4534 +
19.4535 + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
19.4536 + # Replace the output file specification.
19.4537 + compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
19.4538 + link_command="$compile_command$compile_rpath"
19.4539 +
19.4540 + # We have no uninstalled library dependencies, so finalize right now.
19.4541 + $show "$link_command"
19.4542 + $run eval "$link_command"
19.4543 + status=$?
19.4544 +
19.4545 + # Delete the generated files.
19.4546 + if test -n "$dlsyms"; then
19.4547 + $show "$rm $output_objdir/${outputname}S.${objext}"
19.4548 + $run $rm "$output_objdir/${outputname}S.${objext}"
19.4549 + fi
19.4550 +
19.4551 + exit $status
19.4552 + fi
19.4553 +
19.4554 + if test -n "$shlibpath_var"; then
19.4555 + # We should set the shlibpath_var
19.4556 + rpath=
19.4557 + for dir in $temp_rpath; do
19.4558 + case $dir in
19.4559 + [\\/]* | [A-Za-z]:[\\/]*)
19.4560 + # Absolute path.
19.4561 + rpath="$rpath$dir:"
19.4562 + ;;
19.4563 + *)
19.4564 + # Relative path: add a thisdir entry.
19.4565 + rpath="$rpath\$thisdir/$dir:"
19.4566 + ;;
19.4567 + esac
19.4568 + done
19.4569 + temp_rpath="$rpath"
19.4570 + fi
19.4571 +
19.4572 + if test -n "$compile_shlibpath$finalize_shlibpath"; then
19.4573 + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
19.4574 + fi
19.4575 + if test -n "$finalize_shlibpath"; then
19.4576 + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
19.4577 + fi
19.4578 +
19.4579 + compile_var=
19.4580 + finalize_var=
19.4581 + if test -n "$runpath_var"; then
19.4582 + if test -n "$perm_rpath"; then
19.4583 + # We should set the runpath_var.
19.4584 + rpath=
19.4585 + for dir in $perm_rpath; do
19.4586 + rpath="$rpath$dir:"
19.4587 + done
19.4588 + compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
19.4589 + fi
19.4590 + if test -n "$finalize_perm_rpath"; then
19.4591 + # We should set the runpath_var.
19.4592 + rpath=
19.4593 + for dir in $finalize_perm_rpath; do
19.4594 + rpath="$rpath$dir:"
19.4595 + done
19.4596 + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
19.4597 + fi
19.4598 + fi
19.4599 +
19.4600 + if test "$no_install" = yes; then
19.4601 + # We don't need to create a wrapper script.
19.4602 + link_command="$compile_var$compile_command$compile_rpath"
19.4603 + # Replace the output file specification.
19.4604 + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
19.4605 + # Delete the old output file.
19.4606 + $run $rm $output
19.4607 + # Link the executable and exit
19.4608 + $show "$link_command"
19.4609 + $run eval "$link_command" || exit $?
19.4610 + exit $EXIT_SUCCESS
19.4611 + fi
19.4612 +
19.4613 + if test "$hardcode_action" = relink; then
19.4614 + # Fast installation is not supported
19.4615 + link_command="$compile_var$compile_command$compile_rpath"
19.4616 + relink_command="$finalize_var$finalize_command$finalize_rpath"
19.4617 +
19.4618 + $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
19.4619 + $echo "$modename: \`$output' will be relinked during installation" 1>&2
19.4620 + else
19.4621 + if test "$fast_install" != no; then
19.4622 + link_command="$finalize_var$compile_command$finalize_rpath"
19.4623 + if test "$fast_install" = yes; then
19.4624 + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
19.4625 + else
19.4626 + # fast_install is set to needless
19.4627 + relink_command=
19.4628 + fi
19.4629 + else
19.4630 + link_command="$compile_var$compile_command$compile_rpath"
19.4631 + relink_command="$finalize_var$finalize_command$finalize_rpath"
19.4632 + fi
19.4633 + fi
19.4634 +
19.4635 + # Replace the output file specification.
19.4636 + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
19.4637 +
19.4638 + # Delete the old output files.
19.4639 + $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
19.4640 +
19.4641 + $show "$link_command"
19.4642 + $run eval "$link_command" || exit $?
19.4643 +
19.4644 + # Now create the wrapper script.
19.4645 + $show "creating $output"
19.4646 +
19.4647 + # Quote the relink command for shipping.
19.4648 + if test -n "$relink_command"; then
19.4649 + # Preserve any variables that may affect compiler behavior
19.4650 + for var in $variables_saved_for_relink; do
19.4651 + if eval test -z \"\${$var+set}\"; then
19.4652 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
19.4653 + elif eval var_value=\$$var; test -z "$var_value"; then
19.4654 + relink_command="$var=; export $var; $relink_command"
19.4655 + else
19.4656 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
19.4657 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
19.4658 + fi
19.4659 + done
19.4660 + relink_command="(cd `pwd`; $relink_command)"
19.4661 + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
19.4662 + fi
19.4663 +
19.4664 + # Quote $echo for shipping.
19.4665 + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
19.4666 + case $progpath in
19.4667 + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
19.4668 + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
19.4669 + esac
19.4670 + qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
19.4671 + else
19.4672 + qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
19.4673 + fi
19.4674 +
19.4675 + # Only actually do things if our run command is non-null.
19.4676 + if test -z "$run"; then
19.4677 + # win32 will think the script is a binary if it has
19.4678 + # a .exe suffix, so we strip it off here.
19.4679 + case $output in
19.4680 + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
19.4681 + esac
19.4682 + # test for cygwin because mv fails w/o .exe extensions
19.4683 + case $host in
19.4684 + *cygwin*)
19.4685 + exeext=.exe
19.4686 + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
19.4687 + *) exeext= ;;
19.4688 + esac
19.4689 + case $host in
19.4690 + *cygwin* | *mingw* )
19.4691 + cwrappersource=`$echo ${objdir}/lt-${outputname}.c`
19.4692 + cwrapper=`$echo ${output}.exe`
19.4693 + $rm $cwrappersource $cwrapper
19.4694 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
19.4695 +
19.4696 + cat > $cwrappersource <<EOF
19.4697 +
19.4698 +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
19.4699 + Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
19.4700 +
19.4701 + The $output program cannot be directly executed until all the libtool
19.4702 + libraries that it depends on are installed.
19.4703 +
19.4704 + This wrapper executable should never be moved out of the build directory.
19.4705 + If it is, it will not operate correctly.
19.4706 +
19.4707 + Currently, it simply execs the wrapper *script* "/bin/sh $output",
19.4708 + but could eventually absorb all of the scripts functionality and
19.4709 + exec $objdir/$outputname directly.
19.4710 +*/
19.4711 +EOF
19.4712 + cat >> $cwrappersource<<"EOF"
19.4713 +#include <stdio.h>
19.4714 +#include <stdlib.h>
19.4715 +#include <unistd.h>
19.4716 +#include <malloc.h>
19.4717 +#include <stdarg.h>
19.4718 +#include <assert.h>
19.4719 +
19.4720 +#if defined(PATH_MAX)
19.4721 +# define LT_PATHMAX PATH_MAX
19.4722 +#elif defined(MAXPATHLEN)
19.4723 +# define LT_PATHMAX MAXPATHLEN
19.4724 +#else
19.4725 +# define LT_PATHMAX 1024
19.4726 +#endif
19.4727 +
19.4728 +#ifndef DIR_SEPARATOR
19.4729 +#define DIR_SEPARATOR '/'
19.4730 +#endif
19.4731 +
19.4732 +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
19.4733 + defined (__OS2__)
19.4734 +#define HAVE_DOS_BASED_FILE_SYSTEM
19.4735 +#ifndef DIR_SEPARATOR_2
19.4736 +#define DIR_SEPARATOR_2 '\\'
19.4737 +#endif
19.4738 +#endif
19.4739 +
19.4740 +#ifndef DIR_SEPARATOR_2
19.4741 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
19.4742 +#else /* DIR_SEPARATOR_2 */
19.4743 +# define IS_DIR_SEPARATOR(ch) \
19.4744 + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
19.4745 +#endif /* DIR_SEPARATOR_2 */
19.4746 +
19.4747 +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
19.4748 +#define XFREE(stale) do { \
19.4749 + if (stale) { free ((void *) stale); stale = 0; } \
19.4750 +} while (0)
19.4751 +
19.4752 +const char *program_name = NULL;
19.4753 +
19.4754 +void * xmalloc (size_t num);
19.4755 +char * xstrdup (const char *string);
19.4756 +char * basename (const char *name);
19.4757 +char * fnqualify(const char *path);
19.4758 +char * strendzap(char *str, const char *pat);
19.4759 +void lt_fatal (const char *message, ...);
19.4760 +
19.4761 +int
19.4762 +main (int argc, char *argv[])
19.4763 +{
19.4764 + char **newargz;
19.4765 + int i;
19.4766 +
19.4767 + program_name = (char *) xstrdup ((char *) basename (argv[0]));
19.4768 + newargz = XMALLOC(char *, argc+2);
19.4769 +EOF
19.4770 +
19.4771 + cat >> $cwrappersource <<EOF
19.4772 + newargz[0] = "$SHELL";
19.4773 +EOF
19.4774 +
19.4775 + cat >> $cwrappersource <<"EOF"
19.4776 + newargz[1] = fnqualify(argv[0]);
19.4777 + /* we know the script has the same name, without the .exe */
19.4778 + /* so make sure newargz[1] doesn't end in .exe */
19.4779 + strendzap(newargz[1],".exe");
19.4780 + for (i = 1; i < argc; i++)
19.4781 + newargz[i+1] = xstrdup(argv[i]);
19.4782 + newargz[argc+1] = NULL;
19.4783 +EOF
19.4784 +
19.4785 + cat >> $cwrappersource <<EOF
19.4786 + execv("$SHELL",newargz);
19.4787 +EOF
19.4788 +
19.4789 + cat >> $cwrappersource <<"EOF"
19.4790 + return 127;
19.4791 +}
19.4792 +
19.4793 +void *
19.4794 +xmalloc (size_t num)
19.4795 +{
19.4796 + void * p = (void *) malloc (num);
19.4797 + if (!p)
19.4798 + lt_fatal ("Memory exhausted");
19.4799 +
19.4800 + return p;
19.4801 +}
19.4802 +
19.4803 +char *
19.4804 +xstrdup (const char *string)
19.4805 +{
19.4806 + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
19.4807 +;
19.4808 +}
19.4809 +
19.4810 +char *
19.4811 +basename (const char *name)
19.4812 +{
19.4813 + const char *base;
19.4814 +
19.4815 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
19.4816 + /* Skip over the disk name in MSDOS pathnames. */
19.4817 + if (isalpha (name[0]) && name[1] == ':')
19.4818 + name += 2;
19.4819 +#endif
19.4820 +
19.4821 + for (base = name; *name; name++)
19.4822 + if (IS_DIR_SEPARATOR (*name))
19.4823 + base = name + 1;
19.4824 + return (char *) base;
19.4825 +}
19.4826 +
19.4827 +char *
19.4828 +fnqualify(const char *path)
19.4829 +{
19.4830 + size_t size;
19.4831 + char *p;
19.4832 + char tmp[LT_PATHMAX + 1];
19.4833 +
19.4834 + assert(path != NULL);
19.4835 +
19.4836 + /* Is it qualified already? */
19.4837 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
19.4838 + if (isalpha (path[0]) && path[1] == ':')
19.4839 + return xstrdup (path);
19.4840 +#endif
19.4841 + if (IS_DIR_SEPARATOR (path[0]))
19.4842 + return xstrdup (path);
19.4843 +
19.4844 + /* prepend the current directory */
19.4845 + /* doesn't handle '~' */
19.4846 + if (getcwd (tmp, LT_PATHMAX) == NULL)
19.4847 + lt_fatal ("getcwd failed");
19.4848 + size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
19.4849 + p = XMALLOC(char, size);
19.4850 + sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
19.4851 + return p;
19.4852 +}
19.4853 +
19.4854 +char *
19.4855 +strendzap(char *str, const char *pat)
19.4856 +{
19.4857 + size_t len, patlen;
19.4858 +
19.4859 + assert(str != NULL);
19.4860 + assert(pat != NULL);
19.4861 +
19.4862 + len = strlen(str);
19.4863 + patlen = strlen(pat);
19.4864 +
19.4865 + if (patlen <= len)
19.4866 + {
19.4867 + str += len - patlen;
19.4868 + if (strcmp(str, pat) == 0)
19.4869 + *str = '\0';
19.4870 + }
19.4871 + return str;
19.4872 +}
19.4873 +
19.4874 +static void
19.4875 +lt_error_core (int exit_status, const char * mode,
19.4876 + const char * message, va_list ap)
19.4877 +{
19.4878 + fprintf (stderr, "%s: %s: ", program_name, mode);
19.4879 + vfprintf (stderr, message, ap);
19.4880 + fprintf (stderr, ".\n");
19.4881 +
19.4882 + if (exit_status >= 0)
19.4883 + exit (exit_status);
19.4884 +}
19.4885 +
19.4886 +void
19.4887 +lt_fatal (const char *message, ...)
19.4888 +{
19.4889 + va_list ap;
19.4890 + va_start (ap, message);
19.4891 + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
19.4892 + va_end (ap);
19.4893 +}
19.4894 +EOF
19.4895 + # we should really use a build-platform specific compiler
19.4896 + # here, but OTOH, the wrappers (shell script and this C one)
19.4897 + # are only useful if you want to execute the "real" binary.
19.4898 + # Since the "real" binary is built for $host, then this
19.4899 + # wrapper might as well be built for $host, too.
19.4900 + $run $LTCC -s -o $cwrapper $cwrappersource
19.4901 + ;;
19.4902 + esac
19.4903 + $rm $output
19.4904 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
19.4905 +
19.4906 + $echo > $output "\
19.4907 +#! $SHELL
19.4908 +
19.4909 +# $output - temporary wrapper script for $objdir/$outputname
19.4910 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
19.4911 +#
19.4912 +# The $output program cannot be directly executed until all the libtool
19.4913 +# libraries that it depends on are installed.
19.4914 +#
19.4915 +# This wrapper script should never be moved out of the build directory.
19.4916 +# If it is, it will not operate correctly.
19.4917 +
19.4918 +# Sed substitution that helps us do robust quoting. It backslashifies
19.4919 +# metacharacters that are still active within double-quoted strings.
19.4920 +Xsed='${SED} -e 1s/^X//'
19.4921 +sed_quote_subst='$sed_quote_subst'
19.4922 +
19.4923 +# The HP-UX ksh and POSIX shell print the target directory to stdout
19.4924 +# if CDPATH is set.
19.4925 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19.4926 +
19.4927 +relink_command=\"$relink_command\"
19.4928 +
19.4929 +# This environment variable determines our operation mode.
19.4930 +if test \"\$libtool_install_magic\" = \"$magic\"; then
19.4931 + # install mode needs the following variable:
19.4932 + notinst_deplibs='$notinst_deplibs'
19.4933 +else
19.4934 + # When we are sourced in execute mode, \$file and \$echo are already set.
19.4935 + if test \"\$libtool_execute_magic\" != \"$magic\"; then
19.4936 + echo=\"$qecho\"
19.4937 + file=\"\$0\"
19.4938 + # Make sure echo works.
19.4939 + if test \"X\$1\" = X--no-reexec; then
19.4940 + # Discard the --no-reexec flag, and continue.
19.4941 + shift
19.4942 + elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
19.4943 + # Yippee, \$echo works!
19.4944 + :
19.4945 + else
19.4946 + # Restart under the correct shell, and then maybe \$echo will work.
19.4947 + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
19.4948 + fi
19.4949 + fi\
19.4950 +"
19.4951 + $echo >> $output "\
19.4952 +
19.4953 + # Find the directory that this script lives in.
19.4954 + thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
19.4955 + test \"x\$thisdir\" = \"x\$file\" && thisdir=.
19.4956 +
19.4957 + # Follow symbolic links until we get to the real thisdir.
19.4958 + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
19.4959 + while test -n \"\$file\"; do
19.4960 + destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
19.4961 +
19.4962 + # If there was a directory component, then change thisdir.
19.4963 + if test \"x\$destdir\" != \"x\$file\"; then
19.4964 + case \"\$destdir\" in
19.4965 + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
19.4966 + *) thisdir=\"\$thisdir/\$destdir\" ;;
19.4967 + esac
19.4968 + fi
19.4969 +
19.4970 + file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
19.4971 + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
19.4972 + done
19.4973 +
19.4974 + # Try to get the absolute directory name.
19.4975 + absdir=\`cd \"\$thisdir\" && pwd\`
19.4976 + test -n \"\$absdir\" && thisdir=\"\$absdir\"
19.4977 +"
19.4978 +
19.4979 + if test "$fast_install" = yes; then
19.4980 + $echo >> $output "\
19.4981 + program=lt-'$outputname'$exeext
19.4982 + progdir=\"\$thisdir/$objdir\"
19.4983 +
19.4984 + if test ! -f \"\$progdir/\$program\" || \\
19.4985 + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
19.4986 + test \"X\$file\" != \"X\$progdir/\$program\"; }; then
19.4987 +
19.4988 + file=\"\$\$-\$program\"
19.4989 +
19.4990 + if test ! -d \"\$progdir\"; then
19.4991 + $mkdir \"\$progdir\"
19.4992 + else
19.4993 + $rm \"\$progdir/\$file\"
19.4994 + fi"
19.4995 +
19.4996 + $echo >> $output "\
19.4997 +
19.4998 + # relink executable if necessary
19.4999 + if test -n \"\$relink_command\"; then
19.5000 + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
19.5001 + else
19.5002 + $echo \"\$relink_command_output\" >&2
19.5003 + $rm \"\$progdir/\$file\"
19.5004 + exit $EXIT_FAILURE
19.5005 + fi
19.5006 + fi
19.5007 +
19.5008 + $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
19.5009 + { $rm \"\$progdir/\$program\";
19.5010 + $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
19.5011 + $rm \"\$progdir/\$file\"
19.5012 + fi"
19.5013 + else
19.5014 + $echo >> $output "\
19.5015 + program='$outputname'
19.5016 + progdir=\"\$thisdir/$objdir\"
19.5017 +"
19.5018 + fi
19.5019 +
19.5020 + $echo >> $output "\
19.5021 +
19.5022 + if test -f \"\$progdir/\$program\"; then"
19.5023 +
19.5024 + # Export our shlibpath_var if we have one.
19.5025 + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
19.5026 + $echo >> $output "\
19.5027 + # Add our own library path to $shlibpath_var
19.5028 + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
19.5029 +
19.5030 + # Some systems cannot cope with colon-terminated $shlibpath_var
19.5031 + # The second colon is a workaround for a bug in BeOS R4 sed
19.5032 + $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
19.5033 +
19.5034 + export $shlibpath_var
19.5035 +"
19.5036 + fi
19.5037 +
19.5038 + # fixup the dll searchpath if we need to.
19.5039 + if test -n "$dllsearchpath"; then
19.5040 + $echo >> $output "\
19.5041 + # Add the dll search path components to the executable PATH
19.5042 + PATH=$dllsearchpath:\$PATH
19.5043 +"
19.5044 + fi
19.5045 +
19.5046 + $echo >> $output "\
19.5047 + if test \"\$libtool_execute_magic\" != \"$magic\"; then
19.5048 + # Run the actual program with our arguments.
19.5049 +"
19.5050 + case $host in
19.5051 + # Backslashes separate directories on plain windows
19.5052 + *-*-mingw | *-*-os2*)
19.5053 + $echo >> $output "\
19.5054 + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
19.5055 +"
19.5056 + ;;
19.5057 +
19.5058 + *)
19.5059 + $echo >> $output "\
19.5060 + exec \"\$progdir/\$program\" \${1+\"\$@\"}
19.5061 +"
19.5062 + ;;
19.5063 + esac
19.5064 + $echo >> $output "\
19.5065 + \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
19.5066 + exit $EXIT_FAILURE
19.5067 + fi
19.5068 + else
19.5069 + # The program doesn't exist.
19.5070 + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
19.5071 + \$echo \"This script is just a wrapper for \$program.\" 1>&2
19.5072 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2
19.5073 + exit $EXIT_FAILURE
19.5074 + fi
19.5075 +fi\
19.5076 +"
19.5077 + chmod +x $output
19.5078 + fi
19.5079 + exit $EXIT_SUCCESS
19.5080 + ;;
19.5081 + esac
19.5082 +
19.5083 + # See if we need to build an old-fashioned archive.
19.5084 + for oldlib in $oldlibs; do
19.5085 +
19.5086 + if test "$build_libtool_libs" = convenience; then
19.5087 + oldobjs="$libobjs_save"
19.5088 + addlibs="$convenience"
19.5089 + build_libtool_libs=no
19.5090 + else
19.5091 + if test "$build_libtool_libs" = module; then
19.5092 + oldobjs="$libobjs_save"
19.5093 + build_libtool_libs=no
19.5094 + else
19.5095 + oldobjs="$old_deplibs $non_pic_objects"
19.5096 + fi
19.5097 + addlibs="$old_convenience"
19.5098 + fi
19.5099 +
19.5100 + if test -n "$addlibs"; then
19.5101 + gentop="$output_objdir/${outputname}x"
19.5102 + generated="$generated $gentop"
19.5103 +
19.5104 + func_extract_archives $gentop $addlibs
19.5105 + oldobjs="$oldobjs $func_extract_archives_result"
19.5106 + fi
19.5107 +
19.5108 + # Do each command in the archive commands.
19.5109 + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
19.5110 + cmds=$old_archive_from_new_cmds
19.5111 + else
19.5112 + # POSIX demands no paths to be encoded in archives. We have
19.5113 + # to avoid creating archives with duplicate basenames if we
19.5114 + # might have to extract them afterwards, e.g., when creating a
19.5115 + # static archive out of a convenience library, or when linking
19.5116 + # the entirety of a libtool archive into another (currently
19.5117 + # not supported by libtool).
19.5118 + if (for obj in $oldobjs
19.5119 + do
19.5120 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
19.5121 + done | sort | sort -uc >/dev/null 2>&1); then
19.5122 + :
19.5123 + else
19.5124 + $echo "copying selected object files to avoid basename conflicts..."
19.5125 +
19.5126 + if test -z "$gentop"; then
19.5127 + gentop="$output_objdir/${outputname}x"
19.5128 + generated="$generated $gentop"
19.5129 +
19.5130 + $show "${rm}r $gentop"
19.5131 + $run ${rm}r "$gentop"
19.5132 + $show "$mkdir $gentop"
19.5133 + $run $mkdir "$gentop"
19.5134 + status=$?
19.5135 + if test "$status" -ne 0 && test ! -d "$gentop"; then
19.5136 + exit $status
19.5137 + fi
19.5138 + fi
19.5139 +
19.5140 + save_oldobjs=$oldobjs
19.5141 + oldobjs=
19.5142 + counter=1
19.5143 + for obj in $save_oldobjs
19.5144 + do
19.5145 + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
19.5146 + case " $oldobjs " in
19.5147 + " ") oldobjs=$obj ;;
19.5148 + *[\ /]"$objbase "*)
19.5149 + while :; do
19.5150 + # Make sure we don't pick an alternate name that also
19.5151 + # overlaps.
19.5152 + newobj=lt$counter-$objbase
19.5153 + counter=`expr $counter + 1`
19.5154 + case " $oldobjs " in
19.5155 + *[\ /]"$newobj "*) ;;
19.5156 + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
19.5157 + esac
19.5158 + done
19.5159 + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
19.5160 + $run ln "$obj" "$gentop/$newobj" ||
19.5161 + $run cp "$obj" "$gentop/$newobj"
19.5162 + oldobjs="$oldobjs $gentop/$newobj"
19.5163 + ;;
19.5164 + *) oldobjs="$oldobjs $obj" ;;
19.5165 + esac
19.5166 + done
19.5167 + fi
19.5168 +
19.5169 + eval cmds=\"$old_archive_cmds\"
19.5170 +
19.5171 + if len=`expr "X$cmds" : ".*"` &&
19.5172 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
19.5173 + cmds=$old_archive_cmds
19.5174 + else
19.5175 + # the command line is too long to link in one step, link in parts
19.5176 + $echo "using piecewise archive linking..."
19.5177 + save_RANLIB=$RANLIB
19.5178 + RANLIB=:
19.5179 + objlist=
19.5180 + concat_cmds=
19.5181 + save_oldobjs=$oldobjs
19.5182 +
19.5183 + # Is there a better way of finding the last object in the list?
19.5184 + for obj in $save_oldobjs
19.5185 + do
19.5186 + last_oldobj=$obj
19.5187 + done
19.5188 + for obj in $save_oldobjs
19.5189 + do
19.5190 + oldobjs="$objlist $obj"
19.5191 + objlist="$objlist $obj"
19.5192 + eval test_cmds=\"$old_archive_cmds\"
19.5193 + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
19.5194 + test "$len" -le "$max_cmd_len"; then
19.5195 + :
19.5196 + else
19.5197 + # the above command should be used before it gets too long
19.5198 + oldobjs=$objlist
19.5199 + if test "$obj" = "$last_oldobj" ; then
19.5200 + RANLIB=$save_RANLIB
19.5201 + fi
19.5202 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
19.5203 + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
19.5204 + objlist=
19.5205 + fi
19.5206 + done
19.5207 + RANLIB=$save_RANLIB
19.5208 + oldobjs=$objlist
19.5209 + if test "X$oldobjs" = "X" ; then
19.5210 + eval cmds=\"\$concat_cmds\"
19.5211 + else
19.5212 + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
19.5213 + fi
19.5214 + fi
19.5215 + fi
19.5216 + save_ifs="$IFS"; IFS='~'
19.5217 + for cmd in $cmds; do
19.5218 + eval cmd=\"$cmd\"
19.5219 + IFS="$save_ifs"
19.5220 + $show "$cmd"
19.5221 + $run eval "$cmd" || exit $?
19.5222 + done
19.5223 + IFS="$save_ifs"
19.5224 + done
19.5225 +
19.5226 + if test -n "$generated"; then
19.5227 + $show "${rm}r$generated"
19.5228 + $run ${rm}r$generated
19.5229 + fi
19.5230 +
19.5231 + # Now create the libtool archive.
19.5232 + case $output in
19.5233 + *.la)
19.5234 + old_library=
19.5235 + test "$build_old_libs" = yes && old_library="$libname.$libext"
19.5236 + $show "creating $output"
19.5237 +
19.5238 + # Preserve any variables that may affect compiler behavior
19.5239 + for var in $variables_saved_for_relink; do
19.5240 + if eval test -z \"\${$var+set}\"; then
19.5241 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
19.5242 + elif eval var_value=\$$var; test -z "$var_value"; then
19.5243 + relink_command="$var=; export $var; $relink_command"
19.5244 + else
19.5245 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
19.5246 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
19.5247 + fi
19.5248 + done
19.5249 + # Quote the link command for shipping.
19.5250 + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
19.5251 + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
19.5252 + if test "$hardcode_automatic" = yes ; then
19.5253 + relink_command=
19.5254 + fi
19.5255 +
19.5256 +
19.5257 + # Only create the output if not a dry run.
19.5258 + if test -z "$run"; then
19.5259 + for installed in no yes; do
19.5260 + if test "$installed" = yes; then
19.5261 + if test -z "$install_libdir"; then
19.5262 + break
19.5263 + fi
19.5264 + output="$output_objdir/$outputname"i
19.5265 + # Replace all uninstalled libtool libraries with the installed ones
19.5266 + newdependency_libs=
19.5267 + for deplib in $dependency_libs; do
19.5268 + case $deplib in
19.5269 + *.la)
19.5270 + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
19.5271 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
19.5272 + if test -z "$libdir"; then
19.5273 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
19.5274 + exit $EXIT_FAILURE
19.5275 + fi
19.5276 + newdependency_libs="$newdependency_libs $libdir/$name"
19.5277 + ;;
19.5278 + *) newdependency_libs="$newdependency_libs $deplib" ;;
19.5279 + esac
19.5280 + done
19.5281 + dependency_libs="$newdependency_libs"
19.5282 + newdlfiles=
19.5283 + for lib in $dlfiles; do
19.5284 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
19.5285 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
19.5286 + if test -z "$libdir"; then
19.5287 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
19.5288 + exit $EXIT_FAILURE
19.5289 + fi
19.5290 + newdlfiles="$newdlfiles $libdir/$name"
19.5291 + done
19.5292 + dlfiles="$newdlfiles"
19.5293 + newdlprefiles=
19.5294 + for lib in $dlprefiles; do
19.5295 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
19.5296 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
19.5297 + if test -z "$libdir"; then
19.5298 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
19.5299 + exit $EXIT_FAILURE
19.5300 + fi
19.5301 + newdlprefiles="$newdlprefiles $libdir/$name"
19.5302 + done
19.5303 + dlprefiles="$newdlprefiles"
19.5304 + else
19.5305 + newdlfiles=
19.5306 + for lib in $dlfiles; do
19.5307 + case $lib in
19.5308 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
19.5309 + *) abs=`pwd`"/$lib" ;;
19.5310 + esac
19.5311 + newdlfiles="$newdlfiles $abs"
19.5312 + done
19.5313 + dlfiles="$newdlfiles"
19.5314 + newdlprefiles=
19.5315 + for lib in $dlprefiles; do
19.5316 + case $lib in
19.5317 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
19.5318 + *) abs=`pwd`"/$lib" ;;
19.5319 + esac
19.5320 + newdlprefiles="$newdlprefiles $abs"
19.5321 + done
19.5322 + dlprefiles="$newdlprefiles"
19.5323 + fi
19.5324 + $rm $output
19.5325 + # place dlname in correct position for cygwin
19.5326 + tdlname=$dlname
19.5327 + case $host,$output,$installed,$module,$dlname in
19.5328 + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
19.5329 + esac
19.5330 + $echo > $output "\
19.5331 +# $outputname - a libtool library file
19.5332 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
19.5333 +#
19.5334 +# Please DO NOT delete this file!
19.5335 +# It is necessary for linking the library.
19.5336 +
19.5337 +# The name that we can dlopen(3).
19.5338 +dlname='$tdlname'
19.5339 +
19.5340 +# Names of this library.
19.5341 +library_names='$library_names'
19.5342 +
19.5343 +# The name of the static archive.
19.5344 +old_library='$old_library'
19.5345 +
19.5346 +# Libraries that this one depends upon.
19.5347 +dependency_libs='$dependency_libs'
19.5348 +
19.5349 +# Version information for $libname.
19.5350 +current=$current
19.5351 +age=$age
19.5352 +revision=$revision
19.5353 +
19.5354 +# Is this an already installed library?
19.5355 +installed=$installed
19.5356 +
19.5357 +# Should we warn about portability when linking against -modules?
19.5358 +shouldnotlink=$module
19.5359 +
19.5360 +# Files to dlopen/dlpreopen
19.5361 +dlopen='$dlfiles'
19.5362 +dlpreopen='$dlprefiles'
19.5363 +
19.5364 +# Directory that this library needs to be installed in:
19.5365 +libdir='$install_libdir'"
19.5366 + if test "$installed" = no && test "$need_relink" = yes; then
19.5367 + $echo >> $output "\
19.5368 +relink_command=\"$relink_command\""
19.5369 + fi
19.5370 + done
19.5371 + fi
19.5372 +
19.5373 + # Do a symbolic link so that the libtool archive can be found in
19.5374 + # LD_LIBRARY_PATH before the program is installed.
19.5375 + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
19.5376 + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
19.5377 + ;;
19.5378 + esac
19.5379 + exit $EXIT_SUCCESS
19.5380 + ;;
19.5381 +
19.5382 + # libtool install mode
19.5383 + install)
19.5384 + modename="$modename: install"
19.5385 +
19.5386 + # There may be an optional sh(1) argument at the beginning of
19.5387 + # install_prog (especially on Windows NT).
19.5388 + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
19.5389 + # Allow the use of GNU shtool's install command.
19.5390 + $echo "X$nonopt" | grep shtool > /dev/null; then
19.5391 + # Aesthetically quote it.
19.5392 + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
19.5393 + case $arg in
19.5394 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.5395 + arg="\"$arg\""
19.5396 + ;;
19.5397 + esac
19.5398 + install_prog="$arg "
19.5399 + arg="$1"
19.5400 + shift
19.5401 + else
19.5402 + install_prog=
19.5403 + arg=$nonopt
19.5404 + fi
19.5405 +
19.5406 + # The real first argument should be the name of the installation program.
19.5407 + # Aesthetically quote it.
19.5408 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
19.5409 + case $arg in
19.5410 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.5411 + arg="\"$arg\""
19.5412 + ;;
19.5413 + esac
19.5414 + install_prog="$install_prog$arg"
19.5415 +
19.5416 + # We need to accept at least all the BSD install flags.
19.5417 + dest=
19.5418 + files=
19.5419 + opts=
19.5420 + prev=
19.5421 + install_type=
19.5422 + isdir=no
19.5423 + stripme=
19.5424 + for arg
19.5425 + do
19.5426 + if test -n "$dest"; then
19.5427 + files="$files $dest"
19.5428 + dest=$arg
19.5429 + continue
19.5430 + fi
19.5431 +
19.5432 + case $arg in
19.5433 + -d) isdir=yes ;;
19.5434 + -f)
19.5435 + case " $install_prog " in
19.5436 + *[\\\ /]cp\ *) ;;
19.5437 + *) prev=$arg ;;
19.5438 + esac
19.5439 + ;;
19.5440 + -g | -m | -o) prev=$arg ;;
19.5441 + -s)
19.5442 + stripme=" -s"
19.5443 + continue
19.5444 + ;;
19.5445 + -*)
19.5446 + ;;
19.5447 + *)
19.5448 + # If the previous option needed an argument, then skip it.
19.5449 + if test -n "$prev"; then
19.5450 + prev=
19.5451 + else
19.5452 + dest=$arg
19.5453 + continue
19.5454 + fi
19.5455 + ;;
19.5456 + esac
19.5457 +
19.5458 + # Aesthetically quote the argument.
19.5459 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
19.5460 + case $arg in
19.5461 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
19.5462 + arg="\"$arg\""
19.5463 + ;;
19.5464 + esac
19.5465 + install_prog="$install_prog $arg"
19.5466 + done
19.5467 +
19.5468 + if test -z "$install_prog"; then
19.5469 + $echo "$modename: you must specify an install program" 1>&2
19.5470 + $echo "$help" 1>&2
19.5471 + exit $EXIT_FAILURE
19.5472 + fi
19.5473 +
19.5474 + if test -n "$prev"; then
19.5475 + $echo "$modename: the \`$prev' option requires an argument" 1>&2
19.5476 + $echo "$help" 1>&2
19.5477 + exit $EXIT_FAILURE
19.5478 + fi
19.5479 +
19.5480 + if test -z "$files"; then
19.5481 + if test -z "$dest"; then
19.5482 + $echo "$modename: no file or destination specified" 1>&2
19.5483 + else
19.5484 + $echo "$modename: you must specify a destination" 1>&2
19.5485 + fi
19.5486 + $echo "$help" 1>&2
19.5487 + exit $EXIT_FAILURE
19.5488 + fi
19.5489 +
19.5490 + # Strip any trailing slash from the destination.
19.5491 + dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
19.5492 +
19.5493 + # Check to see that the destination is a directory.
19.5494 + test -d "$dest" && isdir=yes
19.5495 + if test "$isdir" = yes; then
19.5496 + destdir="$dest"
19.5497 + destname=
19.5498 + else
19.5499 + destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
19.5500 + test "X$destdir" = "X$dest" && destdir=.
19.5501 + destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
19.5502 +
19.5503 + # Not a directory, so check to see that there is only one file specified.
19.5504 + set dummy $files
19.5505 + if test "$#" -gt 2; then
19.5506 + $echo "$modename: \`$dest' is not a directory" 1>&2
19.5507 + $echo "$help" 1>&2
19.5508 + exit $EXIT_FAILURE
19.5509 + fi
19.5510 + fi
19.5511 + case $destdir in
19.5512 + [\\/]* | [A-Za-z]:[\\/]*) ;;
19.5513 + *)
19.5514 + for file in $files; do
19.5515 + case $file in
19.5516 + *.lo) ;;
19.5517 + *)
19.5518 + $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
19.5519 + $echo "$help" 1>&2
19.5520 + exit $EXIT_FAILURE
19.5521 + ;;
19.5522 + esac
19.5523 + done
19.5524 + ;;
19.5525 + esac
19.5526 +
19.5527 + # This variable tells wrapper scripts just to set variables rather
19.5528 + # than running their programs.
19.5529 + libtool_install_magic="$magic"
19.5530 +
19.5531 + staticlibs=
19.5532 + future_libdirs=
19.5533 + current_libdirs=
19.5534 + for file in $files; do
19.5535 +
19.5536 + # Do each installation.
19.5537 + case $file in
19.5538 + *.$libext)
19.5539 + # Do the static libraries later.
19.5540 + staticlibs="$staticlibs $file"
19.5541 + ;;
19.5542 +
19.5543 + *.la)
19.5544 + # Check to see that this really is a libtool archive.
19.5545 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
19.5546 + else
19.5547 + $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
19.5548 + $echo "$help" 1>&2
19.5549 + exit $EXIT_FAILURE
19.5550 + fi
19.5551 +
19.5552 + library_names=
19.5553 + old_library=
19.5554 + relink_command=
19.5555 + # If there is no directory component, then add one.
19.5556 + case $file in
19.5557 + */* | *\\*) . $file ;;
19.5558 + *) . ./$file ;;
19.5559 + esac
19.5560 +
19.5561 + # Add the libdir to current_libdirs if it is the destination.
19.5562 + if test "X$destdir" = "X$libdir"; then
19.5563 + case "$current_libdirs " in
19.5564 + *" $libdir "*) ;;
19.5565 + *) current_libdirs="$current_libdirs $libdir" ;;
19.5566 + esac
19.5567 + else
19.5568 + # Note the libdir as a future libdir.
19.5569 + case "$future_libdirs " in
19.5570 + *" $libdir "*) ;;
19.5571 + *) future_libdirs="$future_libdirs $libdir" ;;
19.5572 + esac
19.5573 + fi
19.5574 +
19.5575 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
19.5576 + test "X$dir" = "X$file/" && dir=
19.5577 + dir="$dir$objdir"
19.5578 +
19.5579 + if test -n "$relink_command"; then
19.5580 + # Determine the prefix the user has applied to our future dir.
19.5581 + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
19.5582 +
19.5583 + # Don't allow the user to place us outside of our expected
19.5584 + # location b/c this prevents finding dependent libraries that
19.5585 + # are installed to the same prefix.
19.5586 + # At present, this check doesn't affect windows .dll's that
19.5587 + # are installed into $libdir/../bin (currently, that works fine)
19.5588 + # but it's something to keep an eye on.
19.5589 + if test "$inst_prefix_dir" = "$destdir"; then
19.5590 + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
19.5591 + exit $EXIT_FAILURE
19.5592 + fi
19.5593 +
19.5594 + if test -n "$inst_prefix_dir"; then
19.5595 + # Stick the inst_prefix_dir data into the link command.
19.5596 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
19.5597 + else
19.5598 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
19.5599 + fi
19.5600 +
19.5601 + $echo "$modename: warning: relinking \`$file'" 1>&2
19.5602 + $show "$relink_command"
19.5603 + if $run eval "$relink_command"; then :
19.5604 + else
19.5605 + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
19.5606 + exit $EXIT_FAILURE
19.5607 + fi
19.5608 + fi
19.5609 +
19.5610 + # See the names of the shared library.
19.5611 + set dummy $library_names
19.5612 + if test -n "$2"; then
19.5613 + realname="$2"
19.5614 + shift
19.5615 + shift
19.5616 +
19.5617 + srcname="$realname"
19.5618 + test -n "$relink_command" && srcname="$realname"T
19.5619 +
19.5620 + # Install the shared library and build the symlinks.
19.5621 + $show "$install_prog $dir/$srcname $destdir/$realname"
19.5622 + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
19.5623 + if test -n "$stripme" && test -n "$striplib"; then
19.5624 + $show "$striplib $destdir/$realname"
19.5625 + $run eval "$striplib $destdir/$realname" || exit $?
19.5626 + fi
19.5627 +
19.5628 + if test "$#" -gt 0; then
19.5629 + # Delete the old symlinks, and create new ones.
19.5630 + # Try `ln -sf' first, because the `ln' binary might depend on
19.5631 + # the symlink we replace! Solaris /bin/ln does not understand -f,
19.5632 + # so we also need to try rm && ln -s.
19.5633 + for linkname
19.5634 + do
19.5635 + if test "$linkname" != "$realname"; then
19.5636 + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
19.5637 + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
19.5638 + fi
19.5639 + done
19.5640 + fi
19.5641 +
19.5642 + # Do each command in the postinstall commands.
19.5643 + lib="$destdir/$realname"
19.5644 + cmds=$postinstall_cmds
19.5645 + save_ifs="$IFS"; IFS='~'
19.5646 + for cmd in $cmds; do
19.5647 + IFS="$save_ifs"
19.5648 + eval cmd=\"$cmd\"
19.5649 + $show "$cmd"
19.5650 + $run eval "$cmd" || {
19.5651 + lt_exit=$?
19.5652 +
19.5653 + # Restore the uninstalled library and exit
19.5654 + if test "$mode" = relink; then
19.5655 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
19.5656 + fi
19.5657 +
19.5658 + exit $lt_exit
19.5659 + }
19.5660 + done
19.5661 + IFS="$save_ifs"
19.5662 + fi
19.5663 +
19.5664 + # Install the pseudo-library for information purposes.
19.5665 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
19.5666 + instname="$dir/$name"i
19.5667 + $show "$install_prog $instname $destdir/$name"
19.5668 + $run eval "$install_prog $instname $destdir/$name" || exit $?
19.5669 +
19.5670 + # Maybe install the static library, too.
19.5671 + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
19.5672 + ;;
19.5673 +
19.5674 + *.lo)
19.5675 + # Install (i.e. copy) a libtool object.
19.5676 +
19.5677 + # Figure out destination file name, if it wasn't already specified.
19.5678 + if test -n "$destname"; then
19.5679 + destfile="$destdir/$destname"
19.5680 + else
19.5681 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
19.5682 + destfile="$destdir/$destfile"
19.5683 + fi
19.5684 +
19.5685 + # Deduce the name of the destination old-style object file.
19.5686 + case $destfile in
19.5687 + *.lo)
19.5688 + staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
19.5689 + ;;
19.5690 + *.$objext)
19.5691 + staticdest="$destfile"
19.5692 + destfile=
19.5693 + ;;
19.5694 + *)
19.5695 + $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
19.5696 + $echo "$help" 1>&2
19.5697 + exit $EXIT_FAILURE
19.5698 + ;;
19.5699 + esac
19.5700 +
19.5701 + # Install the libtool object if requested.
19.5702 + if test -n "$destfile"; then
19.5703 + $show "$install_prog $file $destfile"
19.5704 + $run eval "$install_prog $file $destfile" || exit $?
19.5705 + fi
19.5706 +
19.5707 + # Install the old object if enabled.
19.5708 + if test "$build_old_libs" = yes; then
19.5709 + # Deduce the name of the old-style object file.
19.5710 + staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
19.5711 +
19.5712 + $show "$install_prog $staticobj $staticdest"
19.5713 + $run eval "$install_prog \$staticobj \$staticdest" || exit $?
19.5714 + fi
19.5715 + exit $EXIT_SUCCESS
19.5716 + ;;
19.5717 +
19.5718 + *)
19.5719 + # Figure out destination file name, if it wasn't already specified.
19.5720 + if test -n "$destname"; then
19.5721 + destfile="$destdir/$destname"
19.5722 + else
19.5723 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
19.5724 + destfile="$destdir/$destfile"
19.5725 + fi
19.5726 +
19.5727 + # If the file is missing, and there is a .exe on the end, strip it
19.5728 + # because it is most likely a libtool script we actually want to
19.5729 + # install
19.5730 + stripped_ext=""
19.5731 + case $file in
19.5732 + *.exe)
19.5733 + if test ! -f "$file"; then
19.5734 + file=`$echo $file|${SED} 's,.exe$,,'`
19.5735 + stripped_ext=".exe"
19.5736 + fi
19.5737 + ;;
19.5738 + esac
19.5739 +
19.5740 + # Do a test to see if this is really a libtool program.
19.5741 + case $host in
19.5742 + *cygwin*|*mingw*)
19.5743 + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
19.5744 + ;;
19.5745 + *)
19.5746 + wrapper=$file
19.5747 + ;;
19.5748 + esac
19.5749 + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
19.5750 + notinst_deplibs=
19.5751 + relink_command=
19.5752 +
19.5753 + # Note that it is not necessary on cygwin/mingw to append a dot to
19.5754 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
19.5755 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
19.5756 + # `FILE.' does not work on cygwin managed mounts.
19.5757 + #
19.5758 + # If there is no directory component, then add one.
19.5759 + case $wrapper in
19.5760 + */* | *\\*) . ${wrapper} ;;
19.5761 + *) . ./${wrapper} ;;
19.5762 + esac
19.5763 +
19.5764 + # Check the variables that should have been set.
19.5765 + if test -z "$notinst_deplibs"; then
19.5766 + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
19.5767 + exit $EXIT_FAILURE
19.5768 + fi
19.5769 +
19.5770 + finalize=yes
19.5771 + for lib in $notinst_deplibs; do
19.5772 + # Check to see that each library is installed.
19.5773 + libdir=
19.5774 + if test -f "$lib"; then
19.5775 + # If there is no directory component, then add one.
19.5776 + case $lib in
19.5777 + */* | *\\*) . $lib ;;
19.5778 + *) . ./$lib ;;
19.5779 + esac
19.5780 + fi
19.5781 + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
19.5782 + if test -n "$libdir" && test ! -f "$libfile"; then
19.5783 + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
19.5784 + finalize=no
19.5785 + fi
19.5786 + done
19.5787 +
19.5788 + relink_command=
19.5789 + # Note that it is not necessary on cygwin/mingw to append a dot to
19.5790 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
19.5791 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
19.5792 + # `FILE.' does not work on cygwin managed mounts.
19.5793 + #
19.5794 + # If there is no directory component, then add one.
19.5795 + case $wrapper in
19.5796 + */* | *\\*) . ${wrapper} ;;
19.5797 + *) . ./${wrapper} ;;
19.5798 + esac
19.5799 +
19.5800 + outputname=
19.5801 + if test "$fast_install" = no && test -n "$relink_command"; then
19.5802 + if test "$finalize" = yes && test -z "$run"; then
19.5803 + tmpdir="/tmp"
19.5804 + test -n "$TMPDIR" && tmpdir="$TMPDIR"
19.5805 + tmpdir="$tmpdir/libtool-$$"
19.5806 + save_umask=`umask`
19.5807 + umask 0077
19.5808 + if $mkdir "$tmpdir"; then
19.5809 + umask $save_umask
19.5810 + else
19.5811 + umask $save_umask
19.5812 + $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
19.5813 + continue
19.5814 + fi
19.5815 + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
19.5816 + outputname="$tmpdir/$file"
19.5817 + # Replace the output file specification.
19.5818 + relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
19.5819 +
19.5820 + $show "$relink_command"
19.5821 + if $run eval "$relink_command"; then :
19.5822 + else
19.5823 + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
19.5824 + ${rm}r "$tmpdir"
19.5825 + continue
19.5826 + fi
19.5827 + file="$outputname"
19.5828 + else
19.5829 + $echo "$modename: warning: cannot relink \`$file'" 1>&2
19.5830 + fi
19.5831 + else
19.5832 + # Install the binary that we compiled earlier.
19.5833 + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
19.5834 + fi
19.5835 + fi
19.5836 +
19.5837 + # remove .exe since cygwin /usr/bin/install will append another
19.5838 + # one anyway
19.5839 + case $install_prog,$host in
19.5840 + */usr/bin/install*,*cygwin*)
19.5841 + case $file:$destfile in
19.5842 + *.exe:*.exe)
19.5843 + # this is ok
19.5844 + ;;
19.5845 + *.exe:*)
19.5846 + destfile=$destfile.exe
19.5847 + ;;
19.5848 + *:*.exe)
19.5849 + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
19.5850 + ;;
19.5851 + esac
19.5852 + ;;
19.5853 + esac
19.5854 + $show "$install_prog$stripme $file $destfile"
19.5855 + $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
19.5856 + test -n "$outputname" && ${rm}r "$tmpdir"
19.5857 + ;;
19.5858 + esac
19.5859 + done
19.5860 +
19.5861 + for file in $staticlibs; do
19.5862 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
19.5863 +
19.5864 + # Set up the ranlib parameters.
19.5865 + oldlib="$destdir/$name"
19.5866 +
19.5867 + $show "$install_prog $file $oldlib"
19.5868 + $run eval "$install_prog \$file \$oldlib" || exit $?
19.5869 +
19.5870 + if test -n "$stripme" && test -n "$old_striplib"; then
19.5871 + $show "$old_striplib $oldlib"
19.5872 + $run eval "$old_striplib $oldlib" || exit $?
19.5873 + fi
19.5874 +
19.5875 + # Do each command in the postinstall commands.
19.5876 + cmds=$old_postinstall_cmds
19.5877 + save_ifs="$IFS"; IFS='~'
19.5878 + for cmd in $cmds; do
19.5879 + IFS="$save_ifs"
19.5880 + eval cmd=\"$cmd\"
19.5881 + $show "$cmd"
19.5882 + $run eval "$cmd" || exit $?
19.5883 + done
19.5884 + IFS="$save_ifs"
19.5885 + done
19.5886 +
19.5887 + if test -n "$future_libdirs"; then
19.5888 + $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
19.5889 + fi
19.5890 +
19.5891 + if test -n "$current_libdirs"; then
19.5892 + # Maybe just do a dry run.
19.5893 + test -n "$run" && current_libdirs=" -n$current_libdirs"
19.5894 + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
19.5895 + else
19.5896 + exit $EXIT_SUCCESS
19.5897 + fi
19.5898 + ;;
19.5899 +
19.5900 + # libtool finish mode
19.5901 + finish)
19.5902 + modename="$modename: finish"
19.5903 + libdirs="$nonopt"
19.5904 + admincmds=
19.5905 +
19.5906 + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
19.5907 + for dir
19.5908 + do
19.5909 + libdirs="$libdirs $dir"
19.5910 + done
19.5911 +
19.5912 + for libdir in $libdirs; do
19.5913 + if test -n "$finish_cmds"; then
19.5914 + # Do each command in the finish commands.
19.5915 + cmds=$finish_cmds
19.5916 + save_ifs="$IFS"; IFS='~'
19.5917 + for cmd in $cmds; do
19.5918 + IFS="$save_ifs"
19.5919 + eval cmd=\"$cmd\"
19.5920 + $show "$cmd"
19.5921 + $run eval "$cmd" || admincmds="$admincmds
19.5922 + $cmd"
19.5923 + done
19.5924 + IFS="$save_ifs"
19.5925 + fi
19.5926 + if test -n "$finish_eval"; then
19.5927 + # Do the single finish_eval.
19.5928 + eval cmds=\"$finish_eval\"
19.5929 + $run eval "$cmds" || admincmds="$admincmds
19.5930 + $cmds"
19.5931 + fi
19.5932 + done
19.5933 + fi
19.5934 +
19.5935 + # Exit here if they wanted silent mode.
19.5936 + test "$show" = : && exit $EXIT_SUCCESS
19.5937 +
19.5938 + $echo "----------------------------------------------------------------------"
19.5939 + $echo "Libraries have been installed in:"
19.5940 + for libdir in $libdirs; do
19.5941 + $echo " $libdir"
19.5942 + done
19.5943 + $echo
19.5944 + $echo "If you ever happen to want to link against installed libraries"
19.5945 + $echo "in a given directory, LIBDIR, you must either use libtool, and"
19.5946 + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
19.5947 + $echo "flag during linking and do at least one of the following:"
19.5948 + if test -n "$shlibpath_var"; then
19.5949 + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
19.5950 + $echo " during execution"
19.5951 + fi
19.5952 + if test -n "$runpath_var"; then
19.5953 + $echo " - add LIBDIR to the \`$runpath_var' environment variable"
19.5954 + $echo " during linking"
19.5955 + fi
19.5956 + if test -n "$hardcode_libdir_flag_spec"; then
19.5957 + libdir=LIBDIR
19.5958 + eval flag=\"$hardcode_libdir_flag_spec\"
19.5959 +
19.5960 + $echo " - use the \`$flag' linker flag"
19.5961 + fi
19.5962 + if test -n "$admincmds"; then
19.5963 + $echo " - have your system administrator run these commands:$admincmds"
19.5964 + fi
19.5965 + if test -f /etc/ld.so.conf; then
19.5966 + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
19.5967 + fi
19.5968 + $echo
19.5969 + $echo "See any operating system documentation about shared libraries for"
19.5970 + $echo "more information, such as the ld(1) and ld.so(8) manual pages."
19.5971 + $echo "----------------------------------------------------------------------"
19.5972 + exit $EXIT_SUCCESS
19.5973 + ;;
19.5974 +
19.5975 + # libtool execute mode
19.5976 + execute)
19.5977 + modename="$modename: execute"
19.5978 +
19.5979 + # The first argument is the command name.
19.5980 + cmd="$nonopt"
19.5981 + if test -z "$cmd"; then
19.5982 + $echo "$modename: you must specify a COMMAND" 1>&2
19.5983 + $echo "$help"
19.5984 + exit $EXIT_FAILURE
19.5985 + fi
19.5986 +
19.5987 + # Handle -dlopen flags immediately.
19.5988 + for file in $execute_dlfiles; do
19.5989 + if test ! -f "$file"; then
19.5990 + $echo "$modename: \`$file' is not a file" 1>&2
19.5991 + $echo "$help" 1>&2
19.5992 + exit $EXIT_FAILURE
19.5993 + fi
19.5994 +
19.5995 + dir=
19.5996 + case $file in
19.5997 + *.la)
19.5998 + # Check to see that this really is a libtool archive.
19.5999 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
19.6000 + else
19.6001 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
19.6002 + $echo "$help" 1>&2
19.6003 + exit $EXIT_FAILURE
19.6004 + fi
19.6005 +
19.6006 + # Read the libtool library.
19.6007 + dlname=
19.6008 + library_names=
19.6009 +
19.6010 + # If there is no directory component, then add one.
19.6011 + case $file in
19.6012 + */* | *\\*) . $file ;;
19.6013 + *) . ./$file ;;
19.6014 + esac
19.6015 +
19.6016 + # Skip this library if it cannot be dlopened.
19.6017 + if test -z "$dlname"; then
19.6018 + # Warn if it was a shared library.
19.6019 + test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
19.6020 + continue
19.6021 + fi
19.6022 +
19.6023 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
19.6024 + test "X$dir" = "X$file" && dir=.
19.6025 +
19.6026 + if test -f "$dir/$objdir/$dlname"; then
19.6027 + dir="$dir/$objdir"
19.6028 + else
19.6029 + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
19.6030 + exit $EXIT_FAILURE
19.6031 + fi
19.6032 + ;;
19.6033 +
19.6034 + *.lo)
19.6035 + # Just add the directory containing the .lo file.
19.6036 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
19.6037 + test "X$dir" = "X$file" && dir=.
19.6038 + ;;
19.6039 +
19.6040 + *)
19.6041 + $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
19.6042 + continue
19.6043 + ;;
19.6044 + esac
19.6045 +
19.6046 + # Get the absolute pathname.
19.6047 + absdir=`cd "$dir" && pwd`
19.6048 + test -n "$absdir" && dir="$absdir"
19.6049 +
19.6050 + # Now add the directory to shlibpath_var.
19.6051 + if eval "test -z \"\$$shlibpath_var\""; then
19.6052 + eval "$shlibpath_var=\"\$dir\""
19.6053 + else
19.6054 + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
19.6055 + fi
19.6056 + done
19.6057 +
19.6058 + # This variable tells wrapper scripts just to set shlibpath_var
19.6059 + # rather than running their programs.
19.6060 + libtool_execute_magic="$magic"
19.6061 +
19.6062 + # Check if any of the arguments is a wrapper script.
19.6063 + args=
19.6064 + for file
19.6065 + do
19.6066 + case $file in
19.6067 + -*) ;;
19.6068 + *)
19.6069 + # Do a test to see if this is really a libtool program.
19.6070 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.6071 + # If there is no directory component, then add one.
19.6072 + case $file in
19.6073 + */* | *\\*) . $file ;;
19.6074 + *) . ./$file ;;
19.6075 + esac
19.6076 +
19.6077 + # Transform arg to wrapped name.
19.6078 + file="$progdir/$program"
19.6079 + fi
19.6080 + ;;
19.6081 + esac
19.6082 + # Quote arguments (to preserve shell metacharacters).
19.6083 + file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
19.6084 + args="$args \"$file\""
19.6085 + done
19.6086 +
19.6087 + if test -z "$run"; then
19.6088 + if test -n "$shlibpath_var"; then
19.6089 + # Export the shlibpath_var.
19.6090 + eval "export $shlibpath_var"
19.6091 + fi
19.6092 +
19.6093 + # Restore saved environment variables
19.6094 + if test "${save_LC_ALL+set}" = set; then
19.6095 + LC_ALL="$save_LC_ALL"; export LC_ALL
19.6096 + fi
19.6097 + if test "${save_LANG+set}" = set; then
19.6098 + LANG="$save_LANG"; export LANG
19.6099 + fi
19.6100 +
19.6101 + # Now prepare to actually exec the command.
19.6102 + exec_cmd="\$cmd$args"
19.6103 + else
19.6104 + # Display what would be done.
19.6105 + if test -n "$shlibpath_var"; then
19.6106 + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
19.6107 + $echo "export $shlibpath_var"
19.6108 + fi
19.6109 + $echo "$cmd$args"
19.6110 + exit $EXIT_SUCCESS
19.6111 + fi
19.6112 + ;;
19.6113 +
19.6114 + # libtool clean and uninstall mode
19.6115 + clean | uninstall)
19.6116 + modename="$modename: $mode"
19.6117 + rm="$nonopt"
19.6118 + files=
19.6119 + rmforce=
19.6120 + exit_status=0
19.6121 +
19.6122 + # This variable tells wrapper scripts just to set variables rather
19.6123 + # than running their programs.
19.6124 + libtool_install_magic="$magic"
19.6125 +
19.6126 + for arg
19.6127 + do
19.6128 + case $arg in
19.6129 + -f) rm="$rm $arg"; rmforce=yes ;;
19.6130 + -*) rm="$rm $arg" ;;
19.6131 + *) files="$files $arg" ;;
19.6132 + esac
19.6133 + done
19.6134 +
19.6135 + if test -z "$rm"; then
19.6136 + $echo "$modename: you must specify an RM program" 1>&2
19.6137 + $echo "$help" 1>&2
19.6138 + exit $EXIT_FAILURE
19.6139 + fi
19.6140 +
19.6141 + rmdirs=
19.6142 +
19.6143 + origobjdir="$objdir"
19.6144 + for file in $files; do
19.6145 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
19.6146 + if test "X$dir" = "X$file"; then
19.6147 + dir=.
19.6148 + objdir="$origobjdir"
19.6149 + else
19.6150 + objdir="$dir/$origobjdir"
19.6151 + fi
19.6152 + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
19.6153 + test "$mode" = uninstall && objdir="$dir"
19.6154 +
19.6155 + # Remember objdir for removal later, being careful to avoid duplicates
19.6156 + if test "$mode" = clean; then
19.6157 + case " $rmdirs " in
19.6158 + *" $objdir "*) ;;
19.6159 + *) rmdirs="$rmdirs $objdir" ;;
19.6160 + esac
19.6161 + fi
19.6162 +
19.6163 + # Don't error if the file doesn't exist and rm -f was used.
19.6164 + if (test -L "$file") >/dev/null 2>&1 \
19.6165 + || (test -h "$file") >/dev/null 2>&1 \
19.6166 + || test -f "$file"; then
19.6167 + :
19.6168 + elif test -d "$file"; then
19.6169 + exit_status=1
19.6170 + continue
19.6171 + elif test "$rmforce" = yes; then
19.6172 + continue
19.6173 + fi
19.6174 +
19.6175 + rmfiles="$file"
19.6176 +
19.6177 + case $name in
19.6178 + *.la)
19.6179 + # Possibly a libtool archive, so verify it.
19.6180 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.6181 + . $dir/$name
19.6182 +
19.6183 + # Delete the libtool libraries and symlinks.
19.6184 + for n in $library_names; do
19.6185 + rmfiles="$rmfiles $objdir/$n"
19.6186 + done
19.6187 + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
19.6188 + test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
19.6189 +
19.6190 + if test "$mode" = uninstall; then
19.6191 + if test -n "$library_names"; then
19.6192 + # Do each command in the postuninstall commands.
19.6193 + cmds=$postuninstall_cmds
19.6194 + save_ifs="$IFS"; IFS='~'
19.6195 + for cmd in $cmds; do
19.6196 + IFS="$save_ifs"
19.6197 + eval cmd=\"$cmd\"
19.6198 + $show "$cmd"
19.6199 + $run eval "$cmd"
19.6200 + if test "$?" -ne 0 && test "$rmforce" != yes; then
19.6201 + exit_status=1
19.6202 + fi
19.6203 + done
19.6204 + IFS="$save_ifs"
19.6205 + fi
19.6206 +
19.6207 + if test -n "$old_library"; then
19.6208 + # Do each command in the old_postuninstall commands.
19.6209 + cmds=$old_postuninstall_cmds
19.6210 + save_ifs="$IFS"; IFS='~'
19.6211 + for cmd in $cmds; do
19.6212 + IFS="$save_ifs"
19.6213 + eval cmd=\"$cmd\"
19.6214 + $show "$cmd"
19.6215 + $run eval "$cmd"
19.6216 + if test "$?" -ne 0 && test "$rmforce" != yes; then
19.6217 + exit_status=1
19.6218 + fi
19.6219 + done
19.6220 + IFS="$save_ifs"
19.6221 + fi
19.6222 + # FIXME: should reinstall the best remaining shared library.
19.6223 + fi
19.6224 + fi
19.6225 + ;;
19.6226 +
19.6227 + *.lo)
19.6228 + # Possibly a libtool object, so verify it.
19.6229 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.6230 +
19.6231 + # Read the .lo file
19.6232 + . $dir/$name
19.6233 +
19.6234 + # Add PIC object to the list of files to remove.
19.6235 + if test -n "$pic_object" \
19.6236 + && test "$pic_object" != none; then
19.6237 + rmfiles="$rmfiles $dir/$pic_object"
19.6238 + fi
19.6239 +
19.6240 + # Add non-PIC object to the list of files to remove.
19.6241 + if test -n "$non_pic_object" \
19.6242 + && test "$non_pic_object" != none; then
19.6243 + rmfiles="$rmfiles $dir/$non_pic_object"
19.6244 + fi
19.6245 + fi
19.6246 + ;;
19.6247 +
19.6248 + *)
19.6249 + if test "$mode" = clean ; then
19.6250 + noexename=$name
19.6251 + case $file in
19.6252 + *.exe)
19.6253 + file=`$echo $file|${SED} 's,.exe$,,'`
19.6254 + noexename=`$echo $name|${SED} 's,.exe$,,'`
19.6255 + # $file with .exe has already been added to rmfiles,
19.6256 + # add $file without .exe
19.6257 + rmfiles="$rmfiles $file"
19.6258 + ;;
19.6259 + esac
19.6260 + # Do a test to see if this is a libtool program.
19.6261 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
19.6262 + relink_command=
19.6263 + . $dir/$noexename
19.6264 +
19.6265 + # note $name still contains .exe if it was in $file originally
19.6266 + # as does the version of $file that was added into $rmfiles
19.6267 + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
19.6268 + if test "$fast_install" = yes && test -n "$relink_command"; then
19.6269 + rmfiles="$rmfiles $objdir/lt-$name"
19.6270 + fi
19.6271 + if test "X$noexename" != "X$name" ; then
19.6272 + rmfiles="$rmfiles $objdir/lt-${noexename}.c"
19.6273 + fi
19.6274 + fi
19.6275 + fi
19.6276 + ;;
19.6277 + esac
19.6278 + $show "$rm $rmfiles"
19.6279 + $run $rm $rmfiles || exit_status=1
19.6280 + done
19.6281 + objdir="$origobjdir"
19.6282 +
19.6283 + # Try to remove the ${objdir}s in the directories where we deleted files
19.6284 + for dir in $rmdirs; do
19.6285 + if test -d "$dir"; then
19.6286 + $show "rmdir $dir"
19.6287 + $run rmdir $dir >/dev/null 2>&1
19.6288 + fi
19.6289 + done
19.6290 +
19.6291 + exit $exit_status
19.6292 + ;;
19.6293 +
19.6294 + "")
19.6295 + $echo "$modename: you must specify a MODE" 1>&2
19.6296 + $echo "$generic_help" 1>&2
19.6297 + exit $EXIT_FAILURE
19.6298 + ;;
19.6299 + esac
19.6300 +
19.6301 + if test -z "$exec_cmd"; then
19.6302 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
19.6303 + $echo "$generic_help" 1>&2
19.6304 + exit $EXIT_FAILURE
19.6305 + fi
19.6306 +fi # test -z "$show_help"
19.6307 +
19.6308 +if test -n "$exec_cmd"; then
19.6309 + eval exec $exec_cmd
19.6310 + exit $EXIT_FAILURE
19.6311 +fi
19.6312 +
19.6313 +# We need to display help for each of the modes.
19.6314 +case $mode in
19.6315 +"") $echo \
19.6316 +"Usage: $modename [OPTION]... [MODE-ARG]...
19.6317 +
19.6318 +Provide generalized library-building support services.
19.6319 +
19.6320 + --config show all configuration variables
19.6321 + --debug enable verbose shell tracing
19.6322 +-n, --dry-run display commands without modifying any files
19.6323 + --features display basic configuration information and exit
19.6324 + --finish same as \`--mode=finish'
19.6325 + --help display this help message and exit
19.6326 + --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
19.6327 + --quiet same as \`--silent'
19.6328 + --silent don't print informational messages
19.6329 + --tag=TAG use configuration variables from tag TAG
19.6330 + --version print version information
19.6331 +
19.6332 +MODE must be one of the following:
19.6333 +
19.6334 + clean remove files from the build directory
19.6335 + compile compile a source file into a libtool object
19.6336 + execute automatically set library path, then run a program
19.6337 + finish complete the installation of libtool libraries
19.6338 + install install libraries or executables
19.6339 + link create a library or an executable
19.6340 + uninstall remove libraries from an installed directory
19.6341 +
19.6342 +MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
19.6343 +a more detailed description of MODE.
19.6344 +
19.6345 +Report bugs to <bug-libtool@gnu.org>."
19.6346 + exit $EXIT_SUCCESS
19.6347 + ;;
19.6348 +
19.6349 +clean)
19.6350 + $echo \
19.6351 +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
19.6352 +
19.6353 +Remove files from the build directory.
19.6354 +
19.6355 +RM is the name of the program to use to delete files associated with each FILE
19.6356 +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
19.6357 +to RM.
19.6358 +
19.6359 +If FILE is a libtool library, object or program, all the files associated
19.6360 +with it are deleted. Otherwise, only FILE itself is deleted using RM."
19.6361 + ;;
19.6362 +
19.6363 +compile)
19.6364 + $echo \
19.6365 +"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
19.6366 +
19.6367 +Compile a source file into a libtool library object.
19.6368 +
19.6369 +This mode accepts the following additional options:
19.6370 +
19.6371 + -o OUTPUT-FILE set the output file name to OUTPUT-FILE
19.6372 + -prefer-pic try to building PIC objects only
19.6373 + -prefer-non-pic try to building non-PIC objects only
19.6374 + -static always build a \`.o' file suitable for static linking
19.6375 +
19.6376 +COMPILE-COMMAND is a command to be used in creating a \`standard' object file
19.6377 +from the given SOURCEFILE.
19.6378 +
19.6379 +The output file name is determined by removing the directory component from
19.6380 +SOURCEFILE, then substituting the C source code suffix \`.c' with the
19.6381 +library object suffix, \`.lo'."
19.6382 + ;;
19.6383 +
19.6384 +execute)
19.6385 + $echo \
19.6386 +"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
19.6387 +
19.6388 +Automatically set library path, then run a program.
19.6389 +
19.6390 +This mode accepts the following additional options:
19.6391 +
19.6392 + -dlopen FILE add the directory containing FILE to the library path
19.6393 +
19.6394 +This mode sets the library path environment variable according to \`-dlopen'
19.6395 +flags.
19.6396 +
19.6397 +If any of the ARGS are libtool executable wrappers, then they are translated
19.6398 +into their corresponding uninstalled binary, and any of their required library
19.6399 +directories are added to the library path.
19.6400 +
19.6401 +Then, COMMAND is executed, with ARGS as arguments."
19.6402 + ;;
19.6403 +
19.6404 +finish)
19.6405 + $echo \
19.6406 +"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
19.6407 +
19.6408 +Complete the installation of libtool libraries.
19.6409 +
19.6410 +Each LIBDIR is a directory that contains libtool libraries.
19.6411 +
19.6412 +The commands that this mode executes may require superuser privileges. Use
19.6413 +the \`--dry-run' option if you just want to see what would be executed."
19.6414 + ;;
19.6415 +
19.6416 +install)
19.6417 + $echo \
19.6418 +"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
19.6419 +
19.6420 +Install executables or libraries.
19.6421 +
19.6422 +INSTALL-COMMAND is the installation command. The first component should be
19.6423 +either the \`install' or \`cp' program.
19.6424 +
19.6425 +The rest of the components are interpreted as arguments to that command (only
19.6426 +BSD-compatible install options are recognized)."
19.6427 + ;;
19.6428 +
19.6429 +link)
19.6430 + $echo \
19.6431 +"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
19.6432 +
19.6433 +Link object files or libraries together to form another library, or to
19.6434 +create an executable program.
19.6435 +
19.6436 +LINK-COMMAND is a command using the C compiler that you would use to create
19.6437 +a program from several object files.
19.6438 +
19.6439 +The following components of LINK-COMMAND are treated specially:
19.6440 +
19.6441 + -all-static do not do any dynamic linking at all
19.6442 + -avoid-version do not add a version suffix if possible
19.6443 + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
19.6444 + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
19.6445 + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
19.6446 + -export-symbols SYMFILE
19.6447 + try to export only the symbols listed in SYMFILE
19.6448 + -export-symbols-regex REGEX
19.6449 + try to export only the symbols matching REGEX
19.6450 + -LLIBDIR search LIBDIR for required installed libraries
19.6451 + -lNAME OUTPUT-FILE requires the installed library libNAME
19.6452 + -module build a library that can dlopened
19.6453 + -no-fast-install disable the fast-install mode
19.6454 + -no-install link a not-installable executable
19.6455 + -no-undefined declare that a library does not refer to external symbols
19.6456 + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
19.6457 + -objectlist FILE Use a list of object files found in FILE to specify objects
19.6458 + -precious-files-regex REGEX
19.6459 + don't remove output files matching REGEX
19.6460 + -release RELEASE specify package release information
19.6461 + -rpath LIBDIR the created library will eventually be installed in LIBDIR
19.6462 + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
19.6463 + -static do not do any dynamic linking of libtool libraries
19.6464 + -version-info CURRENT[:REVISION[:AGE]]
19.6465 + specify library version info [each variable defaults to 0]
19.6466 +
19.6467 +All other options (arguments beginning with \`-') are ignored.
19.6468 +
19.6469 +Every other argument is treated as a filename. Files ending in \`.la' are
19.6470 +treated as uninstalled libtool libraries, other files are standard or library
19.6471 +object files.
19.6472 +
19.6473 +If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
19.6474 +only library objects (\`.lo' files) may be specified, and \`-rpath' is
19.6475 +required, except when creating a convenience library.
19.6476 +
19.6477 +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
19.6478 +using \`ar' and \`ranlib', or on Windows using \`lib'.
19.6479 +
19.6480 +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
19.6481 +is created, otherwise an executable program is created."
19.6482 + ;;
19.6483 +
19.6484 +uninstall)
19.6485 + $echo \
19.6486 +"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
19.6487 +
19.6488 +Remove libraries from an installation directory.
19.6489 +
19.6490 +RM is the name of the program to use to delete files associated with each FILE
19.6491 +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
19.6492 +to RM.
19.6493 +
19.6494 +If FILE is a libtool library, all the files associated with it are deleted.
19.6495 +Otherwise, only FILE itself is deleted using RM."
19.6496 + ;;
19.6497 +
19.6498 +*)
19.6499 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
19.6500 + $echo "$help" 1>&2
19.6501 + exit $EXIT_FAILURE
19.6502 + ;;
19.6503 +esac
19.6504 +
19.6505 +$echo
19.6506 +$echo "Try \`$modename --help' for more information about other modes."
19.6507 +
19.6508 +exit $?
19.6509 +
19.6510 +# The TAGs below are defined such that we never get into a situation
19.6511 +# in which we disable both kinds of libraries. Given conflicting
19.6512 +# choices, we go for a static library, that is the most portable,
19.6513 +# since we can't tell whether shared libraries were disabled because
19.6514 +# the user asked for that or because the platform doesn't support
19.6515 +# them. This is particularly important on AIX, because we don't
19.6516 +# support having both static and shared libraries enabled at the same
19.6517 +# time on that platform, so we default to a shared-only configuration.
19.6518 +# If a disable-shared tag is given, we'll fallback to a static-only
19.6519 +# configuration. But we'll never go from static-only to shared-only.
19.6520 +
19.6521 +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
19.6522 +build_libtool_libs=no
19.6523 +build_old_libs=yes
19.6524 +# ### END LIBTOOL TAG CONFIG: disable-shared
19.6525 +
19.6526 +# ### BEGIN LIBTOOL TAG CONFIG: disable-static
19.6527 +build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
19.6528 +# ### END LIBTOOL TAG CONFIG: disable-static
19.6529 +
19.6530 +# Local Variables:
19.6531 +# mode:shell-script
19.6532 +# sh-indentation:2
19.6533 +# End:
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
20.2 +++ b/gst-plugins-nuvdemux/m4/Makefile.am Tue Oct 24 15:02:26 2006 +0100
20.3 @@ -0,0 +1,5 @@
20.4 +EXTRA_DIST = \
20.5 +as-compiler-flag.m4 \
20.6 +as-version.m4 \
20.7 +gst-feature.m4
20.8 +
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
21.2 +++ b/gst-plugins-nuvdemux/m4/as-compiler-flag.m4 Tue Oct 24 15:02:26 2006 +0100
21.3 @@ -0,0 +1,32 @@
21.4 +dnl as-compiler-flag.m4 0.1.0
21.5 +
21.6 +dnl autostars m4 macro for detection of compiler flags
21.7 +
21.8 +dnl David Schleef <ds@schleef.org>
21.9 +
21.10 +dnl $Id: as-compiler-flag.m4,v 1.1 2005/06/18 18:02:46 burgerman Exp $
21.11 +
21.12 +dnl AS_COMPILER_FLAG(CFLAGS, ACTION-IF-ACCEPTED, [ACTION-IF-NOT-ACCEPTED])
21.13 +dnl Tries to compile with the given CFLAGS.
21.14 +dnl Runs ACTION-IF-ACCEPTED if the compiler can compile with the flags,
21.15 +dnl and ACTION-IF-NOT-ACCEPTED otherwise.
21.16 +
21.17 +AC_DEFUN([AS_COMPILER_FLAG],
21.18 +[
21.19 + AC_MSG_CHECKING([to see if compiler understands $1])
21.20 +
21.21 + save_CFLAGS="$CFLAGS"
21.22 + CFLAGS="$CFLAGS $1"
21.23 +
21.24 + AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
21.25 + CFLAGS="$save_CFLAGS"
21.26 +
21.27 + if test "X$flag_ok" = Xyes ; then
21.28 + $2
21.29 + true
21.30 + else
21.31 + $3
21.32 + true
21.33 + fi
21.34 + AC_MSG_RESULT([$flag_ok])
21.35 +])
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
22.2 +++ b/gst-plugins-nuvdemux/m4/as-version.m4 Tue Oct 24 15:02:26 2006 +0100
22.3 @@ -0,0 +1,67 @@
22.4 +dnl as-version.m4 0.1.0
22.5 +
22.6 +dnl autostars m4 macro for versioning
22.7 +
22.8 +dnl Thomas Vander Stichele <thomas at apestaart dot org>
22.9 +
22.10 +dnl $Id: as-version.m4,v 1.1 2005/06/18 18:02:46 burgerman Exp $
22.11 +
22.12 +dnl AS_VERSION(PACKAGE, PREFIX, MAJOR, MINOR, MICRO, NANO,
22.13 +dnl ACTION-IF-NO-NANO, [ACTION-IF-NANO])
22.14 +
22.15 +dnl example
22.16 +dnl AS_VERSION(gstreamer, GST_VERSION, 0, 3, 2,)
22.17 +dnl for a 0.3.2 release version
22.18 +
22.19 +dnl this macro
22.20 +dnl - defines [$PREFIX]_MAJOR, MINOR and MICRO
22.21 +dnl - if NANO is empty, then we're in release mode, else in cvs/dev mode
22.22 +dnl - defines [$PREFIX], VERSION, and [$PREFIX]_RELEASE
22.23 +dnl - executes the relevant action
22.24 +dnl - AC_SUBST's PACKAGE, VERSION, [$PREFIX] and [$PREFIX]_RELEASE
22.25 +dnl as well as the little ones
22.26 +dnl - doesn't call AM_INIT_AUTOMAKE anymore because it prevents
22.27 +dnl maintainer mode from running ok
22.28 +dnl
22.29 +dnl don't forget to put #undef [$2] and [$2]_RELEASE in acconfig.h
22.30 +dnl if you use acconfig.h
22.31 +
22.32 +AC_DEFUN([AS_VERSION],
22.33 +[
22.34 + PACKAGE=[$1]
22.35 + [$2]_MAJOR=[$3]
22.36 + [$2]_MINOR=[$4]
22.37 + [$2]_MICRO=[$5]
22.38 + NANO=[$6]
22.39 + [$2]_NANO=$NANO
22.40 + if test "x$NANO" = "x" || test "x$NANO" = "x0";
22.41 + then
22.42 + AC_MSG_NOTICE(configuring [$1] for release)
22.43 + VERSION=[$3].[$4].[$5]
22.44 + [$2]_RELEASE=1
22.45 + dnl execute action
22.46 + ifelse([$7], , :, [$7])
22.47 + else
22.48 + AC_MSG_NOTICE(configuring [$1] for development with nano $NANO)
22.49 + VERSION=[$3].[$4].[$5].$NANO
22.50 + [$2]_RELEASE=0.`date +%Y%m%d.%H%M%S`
22.51 + dnl execute action
22.52 + ifelse([$8], , :, [$8])
22.53 + fi
22.54 +
22.55 + [$2]=$VERSION
22.56 + AC_DEFINE_UNQUOTED([$2], "$[$2]", [Define the version])
22.57 + AC_SUBST([$2])
22.58 + AC_DEFINE_UNQUOTED([$2]_RELEASE, "$[$2]_RELEASE", [Define the release version])
22.59 + AC_SUBST([$2]_RELEASE)
22.60 +
22.61 + AC_SUBST([$2]_MAJOR)
22.62 + AC_SUBST([$2]_MINOR)
22.63 + AC_SUBST([$2]_MICRO)
22.64 + AC_SUBST([$2]_NANO)
22.65 + AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Define the package name])
22.66 + AC_SUBST(PACKAGE)
22.67 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Define the version])
22.68 + AC_SUBST(VERSION)
22.69 +])
22.70 +
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
23.2 +++ b/gst-plugins-nuvdemux/m4/gst-feature.m4 Tue Oct 24 15:02:26 2006 +0100
23.3 @@ -0,0 +1,211 @@
23.4 +dnl Perform a check for a feature for GStreamer
23.5 +dnl Richard Boulton <richard-alsa@tartarus.org>
23.6 +dnl Thomas Vander Stichele <thomas@apestaart.org> added useful stuff
23.7 +dnl Last modification: 25/06/2001
23.8 +dnl GST_CHECK_FEATURE(FEATURE-NAME, FEATURE-DESCRIPTION,
23.9 +dnl DEPENDENT-PLUGINS, TEST-FOR-FEATURE,
23.10 +dnl DISABLE-BY-DEFAULT, ACTION-IF-USE, ACTION-IF-NOTUSE)
23.11 +dnl
23.12 +dnl This macro adds a command line argument to enable the user to enable
23.13 +dnl or disable a feature, and if the feature is enabled, performs a supplied
23.14 +dnl test to check if the feature is available.
23.15 +dnl
23.16 +dnl The test should define HAVE_<FEATURE-NAME> to "yes" or "no" depending
23.17 +dnl on whether the feature is available.
23.18 +dnl
23.19 +dnl The macro will set USE_<FEATURE-NAME> to "yes" or "no" depending on
23.20 +dnl whether the feature is to be used.
23.21 +dnl Thomas changed this, so that when USE_<FEATURE-NAME> was already set
23.22 +dnl to no, then it stays that way.
23.23 +dnl
23.24 +dnl The macro will call AM_CONDITIONAL(USE_<<FEATURE-NAME>, ...) to allow
23.25 +dnl the feature to control what is built in Makefile.ams. If you want
23.26 +dnl additional actions resulting from the test, you can add them with the
23.27 +dnl ACTION-IF-USE and ACTION-IF-NOTUSE parameters.
23.28 +dnl
23.29 +dnl FEATURE-NAME is the name of the feature, and should be in
23.30 +dnl purely upper case characters.
23.31 +dnl FEATURE-DESCRIPTION is used to describe the feature in help text for
23.32 +dnl the command line argument.
23.33 +dnl DEPENDENT-PLUGINS lists any plugins which depend on this feature.
23.34 +dnl TEST-FOR-FEATURE is a test which sets HAVE_<FEATURE-NAME> to "yes"
23.35 +dnl or "no" depending on whether the feature is
23.36 +dnl available.
23.37 +dnl DISABLE-BY-DEFAULT if "disabled", the feature is disabled by default,
23.38 +dnl if any other value, the feature is enabled by default.
23.39 +dnl ACTION-IF-USE any extra actions to perform if the feature is to be
23.40 +dnl used.
23.41 +dnl ACTION-IF-NOTUSE any extra actions to perform if the feature is not to
23.42 +dnl be used.
23.43 +dnl
23.44 +dnl
23.45 +dnl thomas :
23.46 +dnl we also added a history.
23.47 +dnl GST_PLUGINS_YES will contain all plugins to be built
23.48 +dnl that were checked through GST_CHECK_FEATURE
23.49 +dnl GST_PLUGINS_NO will contain those that won't be built
23.50 +
23.51 +AC_DEFUN([GST_CHECK_FEATURE],
23.52 +AC_MSG_NOTICE(***)
23.53 +AC_MSG_NOTICE(*** checking plugin: [$3] ***)
23.54 +AC_MSG_NOTICE(***)
23.55 +[dnl
23.56 +builtin(define, [gst_endisable], ifelse($5, [disabled], [enable], [disable]))dnl
23.57 +dnl if it is set to NO, then don't even consider it for building
23.58 +NOUSE=
23.59 +if test "x$USE_[$1]" = "xno"; then
23.60 + NOUSE="yes"
23.61 +fi
23.62 +AC_ARG_ENABLE(translit([$1], A-Z, a-z),
23.63 + [ ]builtin(format, --%-26s gst_endisable %s, gst_endisable-translit([$1], A-Z, a-z), [$2]ifelse([$3],,,: [$3])),
23.64 + [ case "${enableval}" in
23.65 + yes) USE_[$1]=yes;;
23.66 + no) USE_[$1]=no;;
23.67 + *) AC_MSG_ERROR(bad value ${enableval} for --enable-translit([$1], A-Z, a-z)) ;;
23.68 + esac],
23.69 + [ USE_$1=]ifelse($5, [disabled], [no], [yes])) dnl DEFAULT
23.70 +
23.71 +dnl *** set it back to no if it was preset to no
23.72 +if test "x$NOUSE" = "xyes"; then
23.73 + USE_[$1]="no"
23.74 + AC_MSG_WARN(*** $3 pre-configured not to be built)
23.75 +fi
23.76 +NOUSE=
23.77 +
23.78 +dnl *** If it's enabled
23.79 +
23.80 +if test x$USE_[$1] = xyes; then
23.81 + dnl save compile variables before the test
23.82 +
23.83 + gst_check_save_LIBS=$LIBS
23.84 + gst_check_save_LDFLAGS=$LDFLAGS
23.85 + gst_check_save_CFLAGS=$CFLAGS
23.86 + gst_check_save_CPPFLAGS=$CPPFLAGS
23.87 + gst_check_save_CXXFLAGS=$CXXFLAGS
23.88 +
23.89 + HAVE_[$1]=no
23.90 + dnl TEST_FOR_FEATURE
23.91 + $4
23.92 +
23.93 + LIBS=$gst_check_save_LIBS
23.94 + LDFLAGS=$gst_check_save_LDFLAGS
23.95 + CFLAGS=$gst_check_save_CFLAGS
23.96 + CPPFLAGS=$gst_check_save_CPPFLAGS
23.97 + CXXFLAGS=$gst_check_save_CXXFLAGS
23.98 +
23.99 + dnl If it isn't found, unset USE_[$1]
23.100 + if test x$HAVE_[$1] = xno; then
23.101 + USE_[$1]=no
23.102 + fi
23.103 +fi
23.104 +dnl *** Warn if it's disabled or not found
23.105 +if test x$USE_[$1] = xyes; then
23.106 + ifelse([$6], , :, [$6])
23.107 + if test "x$3" != "x"; then
23.108 + GST_PLUGINS_YES="\t[$3]\n$GST_PLUGINS_YES"
23.109 + fi
23.110 + AC_DEFINE(HAVE_[$1], , [support for features: $3])
23.111 +else
23.112 + ifelse([$3], , :, [AC_MSG_NOTICE(*** These plugins will not be built: [$3])])
23.113 + if test "x$3" != "x"; then
23.114 + GST_PLUGINS_NO="\t[$3]\n$GST_PLUGINS_NO"
23.115 + fi
23.116 + ifelse([$7], , :, [$7])
23.117 +fi
23.118 +dnl *** Define the conditional as appropriate
23.119 +AM_CONDITIONAL(USE_[$1], test x$USE_[$1] = xyes)
23.120 +])
23.121 +
23.122 +dnl Use a -config program which accepts --cflags and --libs parameters
23.123 +dnl to set *_CFLAGS and *_LIBS and check existence of a feature.
23.124 +dnl Richard Boulton <richard-alsa@tartarus.org>
23.125 +dnl Last modification: 26/06/2001
23.126 +dnl GST_CHECK_CONFIGPROG(FEATURE-NAME, CONFIG-PROG-FILENAME, MODULES)
23.127 +dnl
23.128 +dnl This check was written for GStreamer: it should be renamed and checked
23.129 +dnl for portability if you decide to use it elsewhere.
23.130 +dnl
23.131 +AC_DEFUN([GST_CHECK_CONFIGPROG],
23.132 +[
23.133 + AC_PATH_PROG([$1]_CONFIG, [$2], no)
23.134 + if test x$[$1]_CONFIG = xno; then
23.135 + [$1]_LIBS=
23.136 + [$1]_CFLAGS=
23.137 + HAVE_[$1]=no
23.138 + else
23.139 + if [$2] --plugin-libs [$3] &> /dev/null; then
23.140 + [$1]_LIBS=`[$2] --plugin-libs [$3]`
23.141 + else
23.142 + [$1]_LIBS=`[$2] --libs [$3]`
23.143 + fi
23.144 + [$1]_CFLAGS=`[$2] --cflags [$3]`
23.145 + HAVE_[$1]=yes
23.146 + fi
23.147 + AC_SUBST([$1]_LIBS)
23.148 + AC_SUBST([$1]_CFLAGS)
23.149 +])
23.150 +
23.151 +dnl Use AC_CHECK_LIB and AC_CHECK_HEADER to do both tests at once
23.152 +dnl sets HAVE_module if we have it
23.153 +dnl Richard Boulton <richard-alsa@tartarus.org>
23.154 +dnl Last modification: 26/06/2001
23.155 +dnl GST_CHECK_LIBHEADER(FEATURE-NAME, LIB NAME, LIB FUNCTION, EXTRA LD FLAGS,
23.156 +dnl HEADER NAME, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
23.157 +dnl
23.158 +dnl This check was written for GStreamer: it should be renamed and checked
23.159 +dnl for portability if you decide to use it elsewhere.
23.160 +dnl
23.161 +AC_DEFUN([GST_CHECK_LIBHEADER],
23.162 +[
23.163 + AC_CHECK_LIB([$2], [$3], HAVE_[$1]=yes, HAVE_[$1]=no,[$4])
23.164 + if test "x$HAVE_[$1]" = "xyes"; then
23.165 + AC_CHECK_HEADER([$5], :, HAVE_[$1]=no)
23.166 + if test "x$HAVE_[$1]" = "xyes"; then
23.167 + dnl execute what needs to be
23.168 + ifelse([$6], , :, [$6])
23.169 + else
23.170 + ifelse([$7], , :, [$7])
23.171 + fi
23.172 + else
23.173 + ifelse([$7], , :, [$7])
23.174 + fi
23.175 + AC_SUBST(HAVE_[$1])
23.176 +]
23.177 +)
23.178 +
23.179 +dnl 2004-02-14 Thomas - changed to get set properly and use proper output
23.180 +dnl 2003-06-27 Benjamin Otte - changed to make this work with gstconfig.h
23.181 +dnl
23.182 +dnl Add a subsystem --disable flag and all the necessary symbols and substitions
23.183 +dnl
23.184 +dnl GST_CHECK_SUBSYSTEM_DISABLE(SYSNAME, [subsystem name])
23.185 +dnl
23.186 +AC_DEFUN([GST_CHECK_SUBSYSTEM_DISABLE],
23.187 +[
23.188 + dnl this define will replace each literal subsys_def occurrence with
23.189 + dnl the lowercase hyphen-separated subsystem
23.190 + dnl e.g. if $1 is GST_DEBUG then subsys_def will be a macro with gst-debug
23.191 + define([subsys_def],translit([$1], _A-Z, -a-z))
23.192 +
23.193 + AC_ARG_ENABLE(subsys_def,
23.194 + AC_HELP_STRING(--disable-subsys_def, [disable $2]),
23.195 + [
23.196 + case "${enableval}" in
23.197 + yes) GST_DISABLE_[$1]=no ;;
23.198 + no) GST_DISABLE_[$1]=yes ;;
23.199 + *) AC_MSG_ERROR([bad value ${enableval} for --enable-subsys_def]) ;;
23.200 + esac
23.201 + ],
23.202 + [GST_DISABLE_[$1]=no]) dnl Default value
23.203 +
23.204 + if test x$GST_DISABLE_[$1] = xyes; then
23.205 + AC_MSG_NOTICE([disabled subsystem [$2]])
23.206 + GST_DISABLE_[$1]_DEFINE="#define GST_DISABLE_$1 1"
23.207 + else
23.208 + GST_DISABLE_[$1]_DEFINE="/* #undef GST_DISABLE_$1 */"
23.209 + fi
23.210 + AC_SUBST(GST_DISABLE_[$1]_DEFINE)
23.211 + undefine([subsys_def])
23.212 +])
23.213 +
23.214 +
24.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
24.2 +++ b/gst-plugins-nuvdemux/missing Tue Oct 24 15:02:26 2006 +0100
24.3 @@ -0,0 +1,360 @@
24.4 +#! /bin/sh
24.5 +# Common stub for a few missing GNU programs while installing.
24.6 +
24.7 +scriptversion=2003-09-02.23
24.8 +
24.9 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003
24.10 +# Free Software Foundation, Inc.
24.11 +# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
24.12 +
24.13 +# This program is free software; you can redistribute it and/or modify
24.14 +# it under the terms of the GNU General Public License as published by
24.15 +# the Free Software Foundation; either version 2, or (at your option)
24.16 +# any later version.
24.17 +
24.18 +# This program is distributed in the hope that it will be useful,
24.19 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
24.20 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24.21 +# GNU General Public License for more details.
24.22 +
24.23 +# You should have received a copy of the GNU General Public License
24.24 +# along with this program; if not, write to the Free Software
24.25 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24.26 +# 02111-1307, USA.
24.27 +
24.28 +# As a special exception to the GNU General Public License, if you
24.29 +# distribute this file as part of a program that contains a
24.30 +# configuration script generated by Autoconf, you may include it under
24.31 +# the same distribution terms that you use for the rest of that program.
24.32 +
24.33 +if test $# -eq 0; then
24.34 + echo 1>&2 "Try \`$0 --help' for more information"
24.35 + exit 1
24.36 +fi
24.37 +
24.38 +run=:
24.39 +
24.40 +# In the cases where this matters, `missing' is being run in the
24.41 +# srcdir already.
24.42 +if test -f configure.ac; then
24.43 + configure_ac=configure.ac
24.44 +else
24.45 + configure_ac=configure.in
24.46 +fi
24.47 +
24.48 +msg="missing on your system"
24.49 +
24.50 +case "$1" in
24.51 +--run)
24.52 + # Try to run requested program, and just exit if it succeeds.
24.53 + run=
24.54 + shift
24.55 + "$@" && exit 0
24.56 + # Exit code 63 means version mismatch. This often happens
24.57 + # when the user try to use an ancient version of a tool on
24.58 + # a file that requires a minimum version. In this case we
24.59 + # we should proceed has if the program had been absent, or
24.60 + # if --run hadn't been passed.
24.61 + if test $? = 63; then
24.62 + run=:
24.63 + msg="probably too old"
24.64 + fi
24.65 + ;;
24.66 +esac
24.67 +
24.68 +# If it does not exist, or fails to run (possibly an outdated version),
24.69 +# try to emulate it.
24.70 +case "$1" in
24.71 +
24.72 + -h|--h|--he|--hel|--help)
24.73 + echo "\
24.74 +$0 [OPTION]... PROGRAM [ARGUMENT]...
24.75 +
24.76 +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
24.77 +error status if there is no known handling for PROGRAM.
24.78 +
24.79 +Options:
24.80 + -h, --help display this help and exit
24.81 + -v, --version output version information and exit
24.82 + --run try to run the given command, and emulate it if it fails
24.83 +
24.84 +Supported PROGRAM values:
24.85 + aclocal touch file \`aclocal.m4'
24.86 + autoconf touch file \`configure'
24.87 + autoheader touch file \`config.h.in'
24.88 + automake touch all \`Makefile.in' files
24.89 + bison create \`y.tab.[ch]', if possible, from existing .[ch]
24.90 + flex create \`lex.yy.c', if possible, from existing .c
24.91 + help2man touch the output file
24.92 + lex create \`lex.yy.c', if possible, from existing .c
24.93 + makeinfo touch the output file
24.94 + tar try tar, gnutar, gtar, then tar without non-portable flags
24.95 + yacc create \`y.tab.[ch]', if possible, from existing .[ch]
24.96 +
24.97 +Send bug reports to <bug-automake@gnu.org>."
24.98 + ;;
24.99 +
24.100 + -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
24.101 + echo "missing $scriptversion (GNU Automake)"
24.102 + ;;
24.103 +
24.104 + -*)
24.105 + echo 1>&2 "$0: Unknown \`$1' option"
24.106 + echo 1>&2 "Try \`$0 --help' for more information"
24.107 + exit 1
24.108 + ;;
24.109 +
24.110 + aclocal*)
24.111 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
24.112 + # We have it, but it failed.
24.113 + exit 1
24.114 + fi
24.115 +
24.116 + echo 1>&2 "\
24.117 +WARNING: \`$1' is $msg. You should only need it if
24.118 + you modified \`acinclude.m4' or \`${configure_ac}'. You might want
24.119 + to install the \`Automake' and \`Perl' packages. Grab them from
24.120 + any GNU archive site."
24.121 + touch aclocal.m4
24.122 + ;;
24.123 +
24.124 + autoconf)
24.125 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
24.126 + # We have it, but it failed.
24.127 + exit 1
24.128 + fi
24.129 +
24.130 + echo 1>&2 "\
24.131 +WARNING: \`$1' is $msg. You should only need it if
24.132 + you modified \`${configure_ac}'. You might want to install the
24.133 + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
24.134 + archive site."
24.135 + touch configure
24.136 + ;;
24.137 +
24.138 + autoheader)
24.139 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
24.140 + # We have it, but it failed.
24.141 + exit 1
24.142 + fi
24.143 +
24.144 + echo 1>&2 "\
24.145 +WARNING: \`$1' is $msg. You should only need it if
24.146 + you modified \`acconfig.h' or \`${configure_ac}'. You might want
24.147 + to install the \`Autoconf' and \`GNU m4' packages. Grab them
24.148 + from any GNU archive site."
24.149 + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
24.150 + test -z "$files" && files="config.h"
24.151 + touch_files=
24.152 + for f in $files; do
24.153 + case "$f" in
24.154 + *:*) touch_files="$touch_files "`echo "$f" |
24.155 + sed -e 's/^[^:]*://' -e 's/:.*//'`;;
24.156 + *) touch_files="$touch_files $f.in";;
24.157 + esac
24.158 + done
24.159 + touch $touch_files
24.160 + ;;
24.161 +
24.162 + automake*)
24.163 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
24.164 + # We have it, but it failed.
24.165 + exit 1
24.166 + fi
24.167 +
24.168 + echo 1>&2 "\
24.169 +WARNING: \`$1' is $msg. You should only need it if
24.170 + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
24.171 + You might want to install the \`Automake' and \`Perl' packages.
24.172 + Grab them from any GNU archive site."
24.173 + find . -type f -name Makefile.am -print |
24.174 + sed 's/\.am$/.in/' |
24.175 + while read f; do touch "$f"; done
24.176 + ;;
24.177 +
24.178 + autom4te)
24.179 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
24.180 + # We have it, but it failed.
24.181 + exit 1
24.182 + fi
24.183 +
24.184 + echo 1>&2 "\
24.185 +WARNING: \`$1' is needed, but is $msg.
24.186 + You might have modified some files without having the
24.187 + proper tools for further handling them.
24.188 + You can get \`$1' as part of \`Autoconf' from any GNU
24.189 + archive site."
24.190 +
24.191 + file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
24.192 + test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
24.193 + if test -f "$file"; then
24.194 + touch $file
24.195 + else
24.196 + test -z "$file" || exec >$file
24.197 + echo "#! /bin/sh"
24.198 + echo "# Created by GNU Automake missing as a replacement of"
24.199 + echo "# $ $@"
24.200 + echo "exit 0"
24.201 + chmod +x $file
24.202 + exit 1
24.203 + fi
24.204 + ;;
24.205 +
24.206 + bison|yacc)
24.207 + echo 1>&2 "\
24.208 +WARNING: \`$1' $msg. You should only need it if
24.209 + you modified a \`.y' file. You may need the \`Bison' package
24.210 + in order for those modifications to take effect. You can get
24.211 + \`Bison' from any GNU archive site."
24.212 + rm -f y.tab.c y.tab.h
24.213 + if [ $# -ne 1 ]; then
24.214 + eval LASTARG="\${$#}"
24.215 + case "$LASTARG" in
24.216 + *.y)
24.217 + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
24.218 + if [ -f "$SRCFILE" ]; then
24.219 + cp "$SRCFILE" y.tab.c
24.220 + fi
24.221 + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
24.222 + if [ -f "$SRCFILE" ]; then
24.223 + cp "$SRCFILE" y.tab.h
24.224 + fi
24.225 + ;;
24.226 + esac
24.227 + fi
24.228 + if [ ! -f y.tab.h ]; then
24.229 + echo >y.tab.h
24.230 + fi
24.231 + if [ ! -f y.tab.c ]; then
24.232 + echo 'main() { return 0; }' >y.tab.c
24.233 + fi
24.234 + ;;
24.235 +
24.236 + lex|flex)
24.237 + echo 1>&2 "\
24.238 +WARNING: \`$1' is $msg. You should only need it if
24.239 + you modified a \`.l' file. You may need the \`Flex' package
24.240 + in order for those modifications to take effect. You can get
24.241 + \`Flex' from any GNU archive site."
24.242 + rm -f lex.yy.c
24.243 + if [ $# -ne 1 ]; then
24.244 + eval LASTARG="\${$#}"
24.245 + case "$LASTARG" in
24.246 + *.l)
24.247 + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
24.248 + if [ -f "$SRCFILE" ]; then
24.249 + cp "$SRCFILE" lex.yy.c
24.250 + fi
24.251 + ;;
24.252 + esac
24.253 + fi
24.254 + if [ ! -f lex.yy.c ]; then
24.255 + echo 'main() { return 0; }' >lex.yy.c
24.256 + fi
24.257 + ;;
24.258 +
24.259 + help2man)
24.260 + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
24.261 + # We have it, but it failed.
24.262 + exit 1
24.263 + fi
24.264 +
24.265 + echo 1>&2 "\
24.266 +WARNING: \`$1' is $msg. You should only need it if
24.267 + you modified a dependency of a manual page. You may need the
24.268 + \`Help2man' package in order for those modifications to take
24.269 + effect. You can get \`Help2man' from any GNU archive site."
24.270 +
24.271 + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
24.272 + if test -z "$file"; then
24.273 + file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
24.274 + fi
24.275 + if [ -f "$file" ]; then
24.276 + touch $file
24.277 + else
24.278 + test -z "$file" || exec >$file
24.279 + echo ".ab help2man is required to generate this page"
24.280 + exit 1
24.281 + fi
24.282 + ;;
24.283 +
24.284 + makeinfo)
24.285 + if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
24.286 + # We have makeinfo, but it failed.
24.287 + exit 1
24.288 + fi
24.289 +
24.290 + echo 1>&2 "\
24.291 +WARNING: \`$1' is $msg. You should only need it if
24.292 + you modified a \`.texi' or \`.texinfo' file, or any other file
24.293 + indirectly affecting the aspect of the manual. The spurious
24.294 + call might also be the consequence of using a buggy \`make' (AIX,
24.295 + DU, IRIX). You might want to install the \`Texinfo' package or
24.296 + the \`GNU make' package. Grab either from any GNU archive site."
24.297 + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
24.298 + if test -z "$file"; then
24.299 + file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
24.300 + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
24.301 + fi
24.302 + touch $file
24.303 + ;;
24.304 +
24.305 + tar)
24.306 + shift
24.307 + if test -n "$run"; then
24.308 + echo 1>&2 "ERROR: \`tar' requires --run"
24.309 + exit 1
24.310 + fi
24.311 +
24.312 + # We have already tried tar in the generic part.
24.313 + # Look for gnutar/gtar before invocation to avoid ugly error
24.314 + # messages.
24.315 + if (gnutar --version > /dev/null 2>&1); then
24.316 + gnutar "$@" && exit 0
24.317 + fi
24.318 + if (gtar --version > /dev/null 2>&1); then
24.319 + gtar "$@" && exit 0
24.320 + fi
24.321 + firstarg="$1"
24.322 + if shift; then
24.323 + case "$firstarg" in
24.324 + *o*)
24.325 + firstarg=`echo "$firstarg" | sed s/o//`
24.326 + tar "$firstarg" "$@" && exit 0
24.327 + ;;
24.328 + esac
24.329 + case "$firstarg" in
24.330 + *h*)
24.331 + firstarg=`echo "$firstarg" | sed s/h//`
24.332 + tar "$firstarg" "$@" && exit 0
24.333 + ;;
24.334 + esac
24.335 + fi
24.336 +
24.337 + echo 1>&2 "\
24.338 +WARNING: I can't seem to be able to run \`tar' with the given arguments.
24.339 + You may want to install GNU tar or Free paxutils, or check the
24.340 + command line arguments."
24.341 + exit 1
24.342 + ;;
24.343 +
24.344 + *)
24.345 + echo 1>&2 "\
24.346 +WARNING: \`$1' is needed, and is $msg.
24.347 + You might have modified some files without having the
24.348 + proper tools for further handling them. Check the \`README' file,
24.349 + it often tells you about the needed prerequisites for installing
24.350 + this package. You may also peek at any GNU archive site, in case
24.351 + some other package would contain this missing \`$1' program."
24.352 + exit 1
24.353 + ;;
24.354 +esac
24.355 +
24.356 +exit 0
24.357 +
24.358 +# Local variables:
24.359 +# eval: (add-hook 'write-file-hooks 'time-stamp)
24.360 +# time-stamp-start: "scriptversion="
24.361 +# time-stamp-format: "%:y-%02m-%02d.%02H"
24.362 +# time-stamp-end: "$"
24.363 +# End:
25.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
25.2 +++ b/gst-plugins-nuvdemux/src/Makefile.am Tue Oct 24 15:02:26 2006 +0100
25.3 @@ -0,0 +1,21 @@
25.4 +plugin_LTLIBRARIES = libgstnuvdemux.la
25.5 +
25.6 +libgstnuvdemux_la_SOURCES = \
25.7 + gstnuvdemux.c
25.8 +
25.9 +libgstnuvdemux_la_CFLAGS = \
25.10 + $(GST_CFLAGS) \
25.11 + $(GST_PLUGINS_BASE_CFLAGS)
25.12 +
25.13 +libgstnuvdemux_la_LIBADD = \
25.14 + $(GST_LIBS_LIBS)
25.15 +
25.16 +libgstnuvdemux_la_LDFLAGS = \
25.17 + $(GST_PLUGIN_LDFLAGS) \
25.18 + $(GST_BASE_LIBS) \
25.19 + $(GST_PLUGINS_BASE_LIBS)
25.20 +
25.21 +
25.22 +noinst_HEADERS = \
25.23 + gstnuvdemux.h
25.24 +
26.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
26.2 +++ b/gst-plugins-nuvdemux/src/gstnuvdemux.c Tue Oct 24 15:02:26 2006 +0100
26.3 @@ -0,0 +1,926 @@
26.4 +/* GStreamer
26.5 + * Copyright (C) <2006> Renato Araujo Oliveira Filho <renato.filho@indt.org.br>
26.6 + * Rosfran Borges <rosfran.borges@indt.org.br>
26.7 + *
26.8 + * This library is free software; you can redistribute it and/or
26.9 + * modify it under the terms of the GNU Library General Public
26.10 + * License as published by the Free Software Foundation; either
26.11 + * version 2 of the License, or (at your option) any later version.
26.12 + *
26.13 + * This library is distributed in the hope that it will be useful,
26.14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
26.15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26.16 + * Library General Public License for more details.
26.17 + *
26.18 + * You should have received a copy of the GNU Library General Public
26.19 + * License along with this library; if not, write to the
26.20 + * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
26.21 + * Boston, MA 02111-1307, USA.
26.22 + */
26.23 +/* Element-Checklist-Version: 5 */
26.24 +
26.25 +/**
26.26 + * SECTION:element-nuvdemux
26.27 + *
26.28 + * <refsect2>
26.29 + * <para>
26.30 + * Demuxes an .nuv file into raw or compressed audio and/or video streams.
26.31 + * </para>
26.32 + * <para>
26.33 + * This element currently only supports pull-based scheduling.
26.34 + * </para>
26.35 + * <title>Example launch line</title>
26.36 + * <para>
26.37 + * <programlisting>
26.38 + * gst-launch filesrc test.nuv ! nuvdemux name=demux demux.audio_00 ! decodebin ! audioconvert ! audioresample ! autoaudiosink demux.video_00 ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! autovideosink
26.39 + * </programlisting>
26.40 + * Play (parse and decode) an .nuv file and try to output it to
26.41 + * an automatically detected soundcard and videosink. If the NUV file contains
26.42 + * compressed audio or video data, this will only work if you have the
26.43 + * right decoder elements/plugins installed.
26.44 + * </para>
26.45 + * </refsect2>
26.46 + *
26.47 + */
26.48 +
26.49 +#ifdef HAVE_CONFIG_H
26.50 +#include "config.h"
26.51 +#endif
26.52 +
26.53 +#include <gst/gst.h>
26.54 +#include <gst/gsterror.h>
26.55 +#include <gst/gstplugin.h>
26.56 +#include <string.h>
26.57 +
26.58 +//#include "gst/gst-i18n-plugin.h"
26.59 +#include <glib/gi18n.h>
26.60 +#include "gstnuvdemux.h"
26.61 +
26.62 +GST_DEBUG_CATEGORY_STATIC (nuvdemux_debug);
26.63 +#define GST_CAT_DEFAULT nuvdemux_debug
26.64 +
26.65 +
26.66 +#define GST_FLOW_ERROR_NO_DATA -101
26.67 +
26.68 +GST_DEBUG_CATEGORY_EXTERN (GST_CAT_EVENT);
26.69 +
26.70 +static const GstElementDetails gst_nuv_demux_details =
26.71 +GST_ELEMENT_DETAILS ("Nuv demuxer",
26.72 + "Codec/Demuxer",
26.73 + "Demultiplex a .nuv file into audio and video",
26.74 + "Renato Araujo Oliveira Filho <renato.filho@indt.org.br>,"
26.75 + "Rosfran Borges <rosfran.borges@indt.org.br>");
26.76 +
26.77 +static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
26.78 + GST_PAD_SINK,
26.79 + GST_PAD_ALWAYS,
26.80 + GST_STATIC_CAPS ("video/x-nuv"));
26.81 +
26.82 +static GstStaticPadTemplate audio_src_template =
26.83 +GST_STATIC_PAD_TEMPLATE ("audio_src",
26.84 + GST_PAD_SRC,
26.85 + GST_PAD_SOMETIMES,
26.86 + GST_STATIC_CAPS_ANY);
26.87 +
26.88 +static GstStaticPadTemplate video_src_template =
26.89 +GST_STATIC_PAD_TEMPLATE ("video_src",
26.90 + GST_PAD_SRC,
26.91 + GST_PAD_SOMETIMES,
26.92 + GST_STATIC_CAPS_ANY);
26.93 +
26.94 +/* NUV Demux indexes init/dispose callers */
26.95 +static void gst_nuv_demux_finalize (GObject * object);
26.96 +static GstStateChangeReturn gst_nuv_demux_change_state (GstElement * element,
26.97 + GstStateChange transition);
26.98 +static void gst_nuv_demux_loop (GstPad * pad);
26.99 +static GstFlowReturn gst_nuv_demux_chain (GstPad * pad, GstBuffer * buf);
26.100 +static GstFlowReturn gst_nuv_demux_play (GstPad * pad);
26.101 +static gboolean gst_nuv_demux_sink_activate_pull (GstPad * sinkpad,
26.102 + gboolean active);
26.103 +static gboolean gst_nuv_demux_sink_activate (GstPad * sinkpad);
26.104 +static GstFlowReturn gst_nuv_demux_read_bytes (GstNuvDemux * nuv, guint64 size,
26.105 + gboolean move, GstBuffer ** buffer);
26.106 +static void gst_nuv_demux_reset (GstNuvDemux * nuv);
26.107 +static gboolean gst_nuv_demux_handle_sink_event (GstPad * sinkpad,
26.108 + GstEvent * event);
26.109 +static void gst_nuv_demux_destoy_src_pad (GstNuvDemux * nuv);
26.110 +static void gst_nuv_demux_send_eos (GstNuvDemux * nuv);
26.111 +
26.112 +/* GObject methods */
26.113 +GST_BOILERPLATE (GstNuvDemux, gst_nuv_demux, GstElement, GST_TYPE_ELEMENT);
26.114 +
26.115 +#if G_BYTE_ORDER == G_BIG_ENDIAN
26.116 +static inline gdouble
26.117 +_gdouble_swap_le_be (gdouble * d)
26.118 +{
26.119 + union
26.120 + {
26.121 + guint64 i;
26.122 + gdouble d;
26.123 + } u;
26.124 +
26.125 + u.d = *d;
26.126 + u.i = GUINT64_SWAP_LE_BE (u.i);
26.127 + return u.d;
26.128 +}
26.129 +
26.130 +#define READ_DOUBLE_FROM_LE(d) (_gdouble_swap_le_be((gdouble* ) d))
26.131 +#else /* G_BYTE_ORDER != G_BIG_ENDIAN */
26.132 +#define READ_DOUBLE_FROM_LE(d) *((gdouble* ) (d))
26.133 +#endif /* G_BYTE_ORDER != G_BIG_ENDIAN */
26.134 +
26.135 +
26.136 +static void
26.137 +gst_nuv_demux_base_init (gpointer klass)
26.138 +{
26.139 + GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
26.140 +
26.141 + gst_element_class_add_pad_template (element_class,
26.142 + gst_static_pad_template_get (&audio_src_template));
26.143 +
26.144 + gst_element_class_add_pad_template (element_class,
26.145 + gst_static_pad_template_get (&video_src_template));
26.146 +
26.147 + gst_element_class_add_pad_template (element_class,
26.148 + gst_static_pad_template_get (&sink_template));
26.149 + gst_element_class_set_details (element_class, &gst_nuv_demux_details);
26.150 +}
26.151 +
26.152 +static void
26.153 +gst_nuv_demux_class_init (GstNuvDemuxClass * klass)
26.154 +{
26.155 + GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);
26.156 + GObjectClass *gobject_class = (GObjectClass *) klass;
26.157 +
26.158 + GST_DEBUG_CATEGORY_INIT (nuvdemux_debug, "nuvdemux",
26.159 + 0, "Demuxer for NUV streams");
26.160 +
26.161 + parent_class = g_type_class_peek_parent (klass);
26.162 +
26.163 + gobject_class->finalize = gst_nuv_demux_finalize;
26.164 + gstelement_class->change_state = gst_nuv_demux_change_state;
26.165 +}
26.166 +
26.167 +static void
26.168 +gst_nuv_demux_init (GstNuvDemux * nuv, GstNuvDemuxClass * nuv_class)
26.169 +{
26.170 + nuv->sinkpad = gst_pad_new_from_static_template (&sink_template, "sink");
26.171 +
26.172 + gst_pad_set_activate_function (nuv->sinkpad, gst_nuv_demux_sink_activate);
26.173 +
26.174 + gst_pad_set_activatepull_function (nuv->sinkpad,
26.175 + gst_nuv_demux_sink_activate_pull);
26.176 +
26.177 + gst_pad_set_chain_function (nuv->sinkpad,
26.178 + GST_DEBUG_FUNCPTR (gst_nuv_demux_chain));
26.179 +
26.180 + gst_pad_set_event_function (nuv->sinkpad, gst_nuv_demux_handle_sink_event);
26.181 +
26.182 + gst_element_add_pad (GST_ELEMENT (nuv), nuv->sinkpad);
26.183 +
26.184 + nuv->adapter = NULL;
26.185 + nuv->mpeg_buffer = NULL;
26.186 + nuv->h = NULL;
26.187 + nuv->eh = NULL;
26.188 + nuv->fh = NULL;
26.189 + gst_nuv_demux_reset (nuv);
26.190 +}
26.191 +
26.192 +static void
26.193 +gst_nuv_demux_finalize (GObject * object)
26.194 +{
26.195 + GstNuvDemux *nuv = GST_NUV_DEMUX (object);
26.196 +
26.197 + if (nuv->mpeg_buffer != NULL) {
26.198 + gst_buffer_unref (nuv->mpeg_buffer);
26.199 + }
26.200 +
26.201 + gst_nuv_demux_destoy_src_pad (nuv);
26.202 + gst_nuv_demux_reset (nuv);
26.203 + if (nuv->adapter != NULL) {
26.204 + gst_object_unref (nuv->adapter);
26.205 + }
26.206 + G_OBJECT_CLASS (parent_class)->finalize (object);
26.207 +}
26.208 +
26.209 +/*****************************************************************************
26.210 + * Utils fucntions
26.211 + *****************************************************************************/
26.212 +
26.213 +static gboolean
26.214 +gst_nuv_demux_handle_sink_event (GstPad * sinkpad, GstEvent * event)
26.215 +{
26.216 + gboolean res = FALSE;
26.217 +
26.218 + switch (GST_EVENT_TYPE (event)) {
26.219 + case GST_EVENT_NEWSEGMENT:
26.220 + res = TRUE;
26.221 + break;
26.222 + default:
26.223 + return gst_pad_event_default (sinkpad, event);
26.224 + break;
26.225 + }
26.226 +
26.227 + gst_event_unref (event);
26.228 + return res;
26.229 +}
26.230 +
26.231 +
26.232 +/* HeaderLoad:
26.233 + */
26.234 +static GstFlowReturn
26.235 +gst_nuv_demux_header_load (GstNuvDemux * nuv, nuv_header ** h_ret)
26.236 +{
26.237 + GstBuffer *buffer = NULL;
26.238 + GstFlowReturn res = gst_nuv_demux_read_bytes (nuv, 72, TRUE, &buffer);
26.239 +
26.240 + if (res != GST_FLOW_OK)
26.241 + return res;
26.242 +
26.243 + nuv_header *h = g_new0 (nuv_header, 1);
26.244 +
26.245 + memcpy (h->id, buffer->data, 12);
26.246 + memcpy (h->version, buffer->data + 12, 5);
26.247 + h->i_width = GST_READ_UINT32_LE (&buffer->data[20]);
26.248 + h->i_height = GST_READ_UINT32_LE (&buffer->data[24]);
26.249 + h->i_width_desired = GST_READ_UINT32_LE (&buffer->data[28]);
26.250 + h->i_height_desired = GST_READ_UINT32_LE (&buffer->data[32]);
26.251 + h->i_mode = buffer->data[36];
26.252 + h->d_aspect = READ_DOUBLE_FROM_LE (&buffer->data[40]);
26.253 + h->d_fps = READ_DOUBLE_FROM_LE (&buffer->data[48]);
26.254 + h->i_video_blocks = GST_READ_UINT32_LE (&buffer->data[56]);
26.255 + h->i_audio_blocks = GST_READ_UINT32_LE (&buffer->data[60]);
26.256 + h->i_text_blocks = GST_READ_UINT32_LE (&buffer->data[64]);
26.257 + h->i_keyframe_distance = GST_READ_UINT32_LE (&buffer->data[68]);
26.258 +
26.259 + GST_DEBUG_OBJECT (nuv,
26.260 + "nuv: h=%s v=%s %dx%d a=%f fps=%f v=%d a=%d t=%d kfd=%d", h->id,
26.261 + h->version, h->i_width, h->i_height, h->d_aspect, h->d_fps,
26.262 + h->i_video_blocks, h->i_audio_blocks, h->i_text_blocks,
26.263 + h->i_keyframe_distance);
26.264 +
26.265 + *h_ret = h;
26.266 + gst_buffer_unref (buffer);
26.267 + return res;
26.268 +}
26.269 +
26.270 +static GstFlowReturn
26.271 +gst_nuv_demux_stream_header_data (GstNuvDemux * nuv)
26.272 +{
26.273 + GstFlowReturn res = gst_nuv_demux_header_load (nuv, &nuv->h);
26.274 +
26.275 + if (res == GST_FLOW_OK)
26.276 + nuv->state = GST_NUV_DEMUX_EXTRA_DATA;
26.277 + return res;
26.278 +}
26.279 +
26.280 +/*
26.281 + * Read NUV file tag
26.282 + */
26.283 +static GstFlowReturn
26.284 +gst_nuv_demux_stream_file_header (GstNuvDemux * nuv)
26.285 +{
26.286 + GstFlowReturn res = GST_FLOW_OK;
26.287 + GstBuffer *file_header = NULL;
26.288 +
26.289 + res = gst_nuv_demux_read_bytes (nuv, 12, FALSE, &file_header);
26.290 + if (res != GST_FLOW_OK) {
26.291 + return res;
26.292 + } else {
26.293 + if (strncmp ((gchar *) file_header->data, "MythTVVideo", 11) ||
26.294 + strncmp ((gchar *) file_header->data, "NuppelVideo", 11)) {
26.295 + nuv->state = GST_NUV_DEMUX_HEADER_DATA;
26.296 + } else {
26.297 + GST_DEBUG_OBJECT (nuv, "error parsing file header");
26.298 + nuv->state = GST_NUV_DEMUX_INVALID_DATA;
26.299 + res = GST_FLOW_ERROR;
26.300 + }
26.301 + }
26.302 + if (file_header != NULL) {
26.303 + gst_buffer_unref (file_header);
26.304 + }
26.305 + return res;
26.306 +}
26.307 +
26.308 +/* FrameHeaderLoad:
26.309 + */
26.310 +static GstFlowReturn
26.311 +gst_nuv_demux_frame_header_load (GstNuvDemux * nuv, nuv_frame_header ** h_ret)
26.312 +{
26.313 + unsigned char *data;
26.314 + nuv_frame_header *h;
26.315 + GstBuffer *buf = NULL;
26.316 +
26.317 + GstFlowReturn res = gst_nuv_demux_read_bytes (nuv, 12, TRUE, &buf);
26.318 +
26.319 + if (res != GST_FLOW_OK) {
26.320 + if (buf != NULL) {
26.321 + gst_buffer_unref (buf);
26.322 + }
26.323 + return res;
26.324 + }
26.325 +
26.326 + h = g_new0 (nuv_frame_header, 1);
26.327 + data = buf->data;
26.328 +
26.329 + h->i_type = data[0];
26.330 + h->i_compression = data[1];
26.331 + h->i_keyframe = data[2];
26.332 + h->i_filters = data[3];
26.333 +
26.334 + h->i_timecode = GST_READ_UINT32_LE (&data[4]);
26.335 + h->i_length = GST_READ_UINT32_LE (&data[8]);
26.336 + GST_DEBUG_OBJECT (nuv, "frame hdr: t=%c c=%c k=%d f=0x%x timecode=%u l=%u",
26.337 + h->i_type,
26.338 + h->i_compression ? h->i_compression : ' ',
26.339 + h->i_keyframe ? h->i_keyframe : ' ',
26.340 + h->i_filters, h->i_timecode, h->i_length);
26.341 +
26.342 + *h_ret = h;
26.343 + gst_buffer_unref (buf);
26.344 + return GST_FLOW_OK;
26.345 +}
26.346 +
26.347 +static GstFlowReturn
26.348 +gst_nuv_demux_extended_header_load (GstNuvDemux * nuv,
26.349 + nuv_extended_header ** h_ret)
26.350 +{
26.351 + unsigned char *data;
26.352 + GstBuffer *buff = NULL;
26.353 + nuv_extended_header *h;
26.354 +
26.355 +
26.356 + GstFlowReturn res = gst_nuv_demux_read_bytes (nuv, 512, TRUE, &buff);
26.357 +
26.358 + if (res != GST_FLOW_OK) {
26.359 + if (buff != NULL) {
26.360 + gst_buffer_unref (buff);
26.361 + }
26.362 + return res;
26.363 + }
26.364 +
26.365 + h = g_new0 (nuv_extended_header, 1);
26.366 + data = buff->data;
26.367 + h->i_version = GST_READ_UINT32_LE (&data[0]);
26.368 + h->i_video_fcc = GST_MAKE_FOURCC (data[4], data[5], data[6], data[7]);
26.369 + h->i_audio_fcc = GST_MAKE_FOURCC (data[8], data[9], data[10], data[11]);
26.370 + h->i_audio_sample_rate = GST_READ_UINT32_LE (&data[12]);
26.371 + h->i_audio_bits_per_sample = GST_READ_UINT32_LE (&data[16]);
26.372 + h->i_audio_channels = GST_READ_UINT32_LE (&data[20]);
26.373 + h->i_audio_compression_ratio = GST_READ_UINT32_LE (&data[24]);
26.374 + h->i_audio_quality = GST_READ_UINT32_LE (&data[28]);
26.375 + h->i_rtjpeg_quality = GST_READ_UINT32_LE (&data[32]);
26.376 + h->i_rtjpeg_luma_filter = GST_READ_UINT32_LE (&data[36]);
26.377 + h->i_rtjpeg_chroma_filter = GST_READ_UINT32_LE (&data[40]);
26.378 + h->i_lavc_bitrate = GST_READ_UINT32_LE (&data[44]);
26.379 + h->i_lavc_qmin = GST_READ_UINT32_LE (&data[48]);
26.380 + h->i_lavc_qmin = GST_READ_UINT32_LE (&data[52]);
26.381 + h->i_lavc_maxqdiff = GST_READ_UINT32_LE (&data[56]);
26.382 + h->i_seekable_offset = GST_READ_UINT64_LE (&data[60]);
26.383 + h->i_keyframe_adjust_offset = GST_READ_UINT64_LE (&data[68]);
26.384 +
26.385 + GST_DEBUG_OBJECT (nuv,
26.386 + "ex hdr: v=%d vffc=%4.4s afcc=%4.4s %dHz %dbits ach=%d acr=%d aq=%d"
26.387 + "rtjpeg q=%d lf=%d lc=%d lavc br=%d qmin=%d qmax=%d maxqdiff=%d seekableoff=%lld keyfao=%lld",
26.388 + h->i_version, (gchar *) & h->i_video_fcc, (gchar *) & h->i_audio_fcc,
26.389 + h->i_audio_sample_rate, h->i_audio_bits_per_sample, h->i_audio_channels,
26.390 + h->i_audio_compression_ratio, h->i_audio_quality, h->i_rtjpeg_quality,
26.391 + h->i_rtjpeg_luma_filter, h->i_rtjpeg_chroma_filter, h->i_lavc_bitrate,
26.392 + h->i_lavc_qmin, h->i_lavc_qmax, h->i_lavc_maxqdiff, h->i_seekable_offset,
26.393 + h->i_keyframe_adjust_offset);
26.394 +
26.395 + *h_ret = h;
26.396 + gst_buffer_unref (buff);
26.397 + return res;
26.398 +}
26.399 +
26.400 +static gboolean
26.401 +gst_nuv_demux_handle_src_event (GstPad * pad, GstEvent * event)
26.402 +{
26.403 + gst_event_unref (event);
26.404 + return FALSE;
26.405 +}
26.406 +
26.407 +
26.408 +static void
26.409 +gst_nuv_demux_create_pads (GstNuvDemux * nuv)
26.410 +{
26.411 + if (nuv->h->i_video_blocks != 0) {
26.412 + GstCaps *video_caps = NULL;
26.413 +
26.414 + nuv->src_video_pad =
26.415 + gst_pad_new_from_static_template (&video_src_template, "video_src");
26.416 +
26.417 + video_caps = gst_caps_new_simple ("video/x-divx",
26.418 + "divxversion", G_TYPE_INT, 4,
26.419 + "width", G_TYPE_INT, nuv->h->i_width,
26.420 + "height", G_TYPE_INT, nuv->h->i_height,
26.421 + "framerate", GST_TYPE_FRACTION, (gint) (nuv->h->d_fps * 1000.0f), 1000,
26.422 + "pixel-aspect-ratio", GST_TYPE_FRACTION,
26.423 + (gint) (nuv->h->d_aspect * 1000.0f), 1000, NULL);
26.424 +
26.425 + gst_pad_use_fixed_caps (nuv->src_video_pad);
26.426 + gst_pad_set_active (nuv->src_video_pad, TRUE);
26.427 + gst_pad_set_caps (nuv->src_video_pad, video_caps);
26.428 +
26.429 + gst_pad_set_event_function (nuv->src_video_pad,
26.430 + gst_nuv_demux_handle_src_event);
26.431 + gst_pad_set_active (nuv->src_video_pad, TRUE);
26.432 + gst_element_add_pad (GST_ELEMENT (nuv), nuv->src_video_pad);
26.433 + gst_caps_unref (video_caps);
26.434 + }
26.435 +
26.436 + if (nuv->h->i_audio_blocks != 0) {
26.437 + GstCaps *audio_caps = NULL;
26.438 +
26.439 + nuv->src_audio_pad =
26.440 + gst_pad_new_from_static_template (&audio_src_template, "audio_src");
26.441 +
26.442 + audio_caps = gst_caps_new_simple ("audio/mpeg",
26.443 + "rate", G_TYPE_INT, nuv->eh->i_audio_sample_rate,
26.444 + "format", GST_TYPE_FOURCC, nuv->eh->i_audio_fcc,
26.445 + "channels", G_TYPE_INT, nuv->eh->i_audio_channels,
26.446 + "mpegversion", G_TYPE_INT, nuv->eh->i_version, NULL);
26.447 +
26.448 + gst_pad_use_fixed_caps (nuv->src_audio_pad);
26.449 + gst_pad_set_active (nuv->src_audio_pad, TRUE);
26.450 + gst_pad_set_caps (nuv->src_audio_pad, audio_caps);
26.451 + gst_pad_set_active (nuv->src_audio_pad, TRUE);
26.452 + gst_element_add_pad (GST_ELEMENT (nuv), nuv->src_audio_pad);
26.453 +
26.454 + gst_pad_set_event_function (nuv->src_audio_pad,
26.455 + gst_nuv_demux_handle_src_event);
26.456 + gst_caps_unref (audio_caps);
26.457 + }
26.458 +
26.459 + gst_element_no_more_pads (GST_ELEMENT (nuv));
26.460 +}
26.461 +
26.462 +static GstFlowReturn
26.463 +gst_nuv_demux_read_head_frame (GstNuvDemux * nuv)
26.464 +{
26.465 + GstFlowReturn ret = GST_FLOW_OK;
26.466 +
26.467 + ret = gst_nuv_demux_frame_header_load (nuv, &nuv->fh);
26.468 + if (ret != GST_FLOW_OK)
26.469 + return ret;
26.470 +
26.471 + nuv->state = GST_NUV_DEMUX_MOVI;
26.472 + return ret;
26.473 +}
26.474 +
26.475 +static GstFlowReturn
26.476 +gst_nuv_demux_stream_data (GstNuvDemux * nuv)
26.477 +{
26.478 + GstFlowReturn ret = GST_FLOW_OK;
26.479 + GstBuffer *buf = NULL;
26.480 + nuv_frame_header *h = nuv->fh;
26.481 +
26.482 + if (h->i_type == 'R')
26.483 + goto done;
26.484 +
26.485 + ret = gst_nuv_demux_read_bytes (nuv, h->i_length, TRUE, &buf);
26.486 + if (ret != GST_FLOW_OK) {
26.487 + return ret;
26.488 + }
26.489 +
26.490 + GST_BUFFER_TIMESTAMP (buf) = h->i_timecode * GST_MSECOND;
26.491 +
26.492 + switch (h->i_type) {
26.493 + case 'V':
26.494 + {
26.495 + GST_BUFFER_OFFSET (buf) = nuv->video_offset;
26.496 + gst_buffer_set_caps (buf, GST_PAD_CAPS (nuv->src_video_pad));
26.497 + ret = gst_pad_push (nuv->src_video_pad, buf);
26.498 + nuv->video_offset++;
26.499 + break;
26.500 + }
26.501 + case 'A':
26.502 + {
26.503 + GST_BUFFER_OFFSET (buf) = nuv->audio_offset;
26.504 + gst_buffer_set_caps (buf, GST_PAD_CAPS (nuv->src_audio_pad));
26.505 + ret = gst_pad_push (nuv->src_audio_pad, buf);
26.506 + nuv->audio_offset++;
26.507 + break;
26.508 + }
26.509 + case 'S':
26.510 + {
26.511 + switch (h->i_compression) {
26.512 + case 'V':
26.513 + gst_pad_push_event (nuv->src_video_pad,
26.514 + gst_event_new_new_segment (TRUE, 1.0, GST_FORMAT_TIME, 0, -1, 0));
26.515 + break;
26.516 + case 'A':
26.517 + gst_pad_push_event (nuv->src_audio_pad,
26.518 + gst_event_new_new_segment (TRUE, 1.0, GST_FORMAT_TIME, 0, -1, 0));
26.519 +
26.520 + break;
26.521 + default:
26.522 + break;
26.523 + }
26.524 + break;
26.525 + }
26.526 + }
26.527 +
26.528 +done:
26.529 + nuv->state = GST_NUV_DEMUX_FRAME_HEADER;
26.530 + g_free (nuv->fh);
26.531 + nuv->fh = NULL;
26.532 + return ret;
26.533 +}
26.534 +
26.535 +static GstFlowReturn
26.536 +gst_nuv_demux_stream_mpeg_data (GstNuvDemux * nuv)
26.537 +{
26.538 + GstFlowReturn ret = GST_FLOW_OK;
26.539 +
26.540 + /* ffmpeg extra data */
26.541 + ret =
26.542 + gst_nuv_demux_read_bytes (nuv, nuv->mpeg_data_size, TRUE,
26.543 + &nuv->mpeg_buffer);
26.544 + if (ret != GST_FLOW_OK) {
26.545 + return GST_FLOW_ERROR;
26.546 + }
26.547 + GST_BUFFER_SIZE (nuv->mpeg_buffer) = nuv->mpeg_data_size;
26.548 + nuv->state = GST_NUV_DEMUX_EXTEND_HEADER;
26.549 + return ret;
26.550 +}
26.551 +
26.552 +static GstFlowReturn
26.553 +gst_nuv_demux_stream_extra_data (GstNuvDemux * nuv)
26.554 +{
26.555 + GstFlowReturn ret = GST_FLOW_OK;
26.556 +
26.557 + /* Load 'D' */
26.558 + nuv_frame_header *h;
26.559 +
26.560 + ret = gst_nuv_demux_frame_header_load (nuv, &h);
26.561 + if (ret != GST_FLOW_OK)
26.562 + return ret;
26.563 +
26.564 + if (h->i_type != 'D') {
26.565 + g_free (h);
26.566 + return GST_FLOW_ERROR;
26.567 + }
26.568 +
26.569 + if (h->i_length > 0) {
26.570 + if (h->i_compression == 'F') {
26.571 + nuv->state = GST_NUV_DEMUX_MPEG_DATA;
26.572 + } else {
26.573 + g_free (h);
26.574 + return GST_FLOW_ERROR;
26.575 + }
26.576 + } else {
26.577 + nuv->state = GST_NUV_DEMUX_EXTEND_HEADER;
26.578 + }
26.579 +
26.580 + g_free (h);
26.581 + h = NULL;
26.582 + return ret;
26.583 +}
26.584 +
26.585 +static GstFlowReturn
26.586 +gst_nuv_demux_stream_extend_header_data (GstNuvDemux * nuv)
26.587 +{
26.588 + GstFlowReturn ret = GST_FLOW_OK;
26.589 +
26.590 + ret = gst_nuv_demux_extended_header_load (nuv, &nuv->eh);
26.591 + if (ret != GST_FLOW_OK)
26.592 + return ret;
26.593 +
26.594 + gst_nuv_demux_create_pads (nuv);
26.595 + nuv->state = GST_NUV_DEMUX_FRAME_HEADER;
26.596 + return ret;
26.597 +}
26.598 +
26.599 +static GstFlowReturn
26.600 +gst_nuv_demux_stream_extend_header (GstNuvDemux * nuv)
26.601 +{
26.602 + GstBuffer *buf = NULL;
26.603 + GstFlowReturn res = GST_FLOW_OK;
26.604 +
26.605 + res = gst_nuv_demux_read_bytes (nuv, 1, FALSE, &buf);
26.606 + if (res != GST_FLOW_OK) {
26.607 + if (buf != NULL) {
26.608 + gst_buffer_unref (buf);
26.609 + }
26.610 + return res;
26.611 + }
26.612 +
26.613 + if (buf->data[0] == 'X') {
26.614 + gst_buffer_unref (buf);
26.615 + buf = NULL;
26.616 + nuv_frame_header *h = NULL;
26.617 +
26.618 + res = gst_nuv_demux_frame_header_load (nuv, &h);
26.619 + if (res != GST_FLOW_OK)
26.620 + return res;
26.621 +
26.622 + if (h->i_length != 512) {
26.623 + g_free (h);
26.624 + return GST_FLOW_ERROR;
26.625 + }
26.626 + g_free (h);
26.627 + h = NULL;
26.628 + nuv->state = GST_NUV_DEMUX_EXTEND_HEADER_DATA;
26.629 + } else {
26.630 + nuv->state = GST_NUV_DEMUX_INVALID_DATA;
26.631 + g_object_unref (buf);
26.632 + GST_ELEMENT_WARNING (nuv, STREAM, FAILED,
26.633 + (_("incomplete NUV support")), ("incomplete NUV support"));
26.634 + return GST_FLOW_ERROR;
26.635 + }
26.636 + return res;
26.637 +}
26.638 +
26.639 +static GstFlowReturn
26.640 +gst_nuv_demux_play (GstPad * pad)
26.641 +{
26.642 + GstFlowReturn res = GST_FLOW_OK;
26.643 + GstNuvDemux *nuv = GST_NUV_DEMUX (GST_PAD_PARENT (pad));
26.644 +
26.645 + switch (nuv->state) {
26.646 + case GST_NUV_DEMUX_START:
26.647 + res = gst_nuv_demux_stream_file_header (nuv);
26.648 + if ((res != GST_FLOW_OK) && (res != GST_FLOW_ERROR_NO_DATA)) {
26.649 + goto pause;
26.650 + }
26.651 + if (nuv->state != GST_NUV_DEMUX_HEADER_DATA)
26.652 + break;
26.653 +
26.654 + case GST_NUV_DEMUX_HEADER_DATA:
26.655 + res = gst_nuv_demux_stream_header_data (nuv);
26.656 + if ((res != GST_FLOW_OK) && (res != GST_FLOW_ERROR_NO_DATA)) {
26.657 + goto pause;
26.658 + }
26.659 + if (nuv->state != GST_NUV_DEMUX_EXTRA_DATA)
26.660 + break;
26.661 +
26.662 + case GST_NUV_DEMUX_EXTRA_DATA:
26.663 + res = gst_nuv_demux_stream_extra_data (nuv);
26.664 + if ((res != GST_FLOW_OK) && (res != GST_FLOW_ERROR_NO_DATA)) {
26.665 + goto pause;
26.666 + }
26.667 + if (nuv->state != GST_NUV_DEMUX_MPEG_DATA)
26.668 + break;
26.669 +
26.670 + case GST_NUV_DEMUX_MPEG_DATA:
26.671 + res = gst_nuv_demux_stream_mpeg_data (nuv);
26.672 + if ((res != GST_FLOW_OK) && (res != GST_FLOW_ERROR_NO_DATA)) {
26.673 + goto pause;
26.674 + }
26.675 +
26.676 + if (nuv->state != GST_NUV_DEMUX_EXTEND_HEADER)
26.677 + break;
26.678 +
26.679 + case GST_NUV_DEMUX_EXTEND_HEADER:
26.680 + res = gst_nuv_demux_stream_extend_header (nuv);
26.681 + if ((res != GST_FLOW_OK) && (res != GST_FLOW_ERROR_NO_DATA)) {
26.682 + goto pause;
26.683 + }
26.684 + if (nuv->state != GST_NUV_DEMUX_EXTEND_HEADER_DATA)
26.685 + break;
26.686 +
26.687 + case GST_NUV_DEMUX_EXTEND_HEADER_DATA:
26.688 + res = gst_nuv_demux_stream_extend_header_data (nuv);
26.689 + if ((res != GST_FLOW_OK) && (res != GST_FLOW_ERROR_NO_DATA)) {
26.690 + goto pause;
26.691 + }
26.692 +
26.693 + if (nuv->state != GST_NUV_DEMUX_FRAME_HEADER)
26.694 + break;
26.695 +
26.696 + case GST_NUV_DEMUX_FRAME_HEADER:
26.697 + res = gst_nuv_demux_read_head_frame (nuv);
26.698 + if ((res != GST_FLOW_OK) && (res != GST_FLOW_ERROR_NO_DATA)) {
26.699 + goto pause;
26.700 + }
26.701 + if (nuv->state != GST_NUV_DEMUX_MOVI)
26.702 + break;
26.703 +
26.704 + case GST_NUV_DEMUX_MOVI:
26.705 + res = gst_nuv_demux_stream_data (nuv);
26.706 + if ((res != GST_FLOW_OK) && (res != GST_FLOW_ERROR_NO_DATA)) {
26.707 + goto pause;
26.708 + }
26.709 + break;
26.710 + case GST_NUV_DEMUX_INVALID_DATA:
26.711 + goto pause;
26.712 + break;
26.713 + default:
26.714 + g_assert_not_reached ();
26.715 + }
26.716 +
26.717 + GST_DEBUG_OBJECT (nuv, "state: %d res:%s", nuv->state,
26.718 + gst_flow_get_name (res));
26.719 +
26.720 + return GST_FLOW_OK;
26.721 +
26.722 +pause:
26.723 + GST_LOG_OBJECT (nuv, "pausing task, reason %s", gst_flow_get_name (res));
26.724 + gst_pad_pause_task (nuv->sinkpad);
26.725 + if (GST_FLOW_IS_FATAL (res)) {
26.726 + GST_ELEMENT_ERROR (nuv, STREAM, FAILED,
26.727 + (_("Internal data stream error.")),
26.728 + ("streaming stopped, reason %s", gst_flow_get_name (res)));
26.729 +
26.730 + gst_nuv_demux_send_eos (nuv);
26.731 + }
26.732 + return res;
26.733 +}
26.734 +
26.735 +static void
26.736 +gst_nuv_demux_send_eos (GstNuvDemux * nuv)
26.737 +{
26.738 + gst_element_post_message (GST_ELEMENT (nuv),
26.739 + gst_message_new_segment_done (GST_OBJECT (nuv), GST_FORMAT_TIME, -1));
26.740 +
26.741 + if (nuv->src_video_pad)
26.742 + gst_pad_push_event (nuv->src_video_pad, gst_event_new_eos ());
26.743 + if (nuv->src_audio_pad)
26.744 + gst_pad_push_event (nuv->src_audio_pad, gst_event_new_eos ());
26.745 +}
26.746 +
26.747 +static GstFlowReturn
26.748 +gst_nuv_demux_read_bytes (GstNuvDemux * nuv, guint64 size, gboolean move,
26.749 + GstBuffer ** buffer)
26.750 +{
26.751 + GstFlowReturn ret = GST_FLOW_OK;
26.752 +
26.753 + if (size == 0) {
26.754 + *buffer = gst_buffer_new ();
26.755 + return ret;
26.756 + }
26.757 +
26.758 + if (nuv->mode == 0) {
26.759 + ret = gst_pad_pull_range (nuv->sinkpad, nuv->offset, size, buffer);
26.760 + if (ret == GST_FLOW_OK) {
26.761 + if (move) {
26.762 + nuv->offset += size;
26.763 + }
26.764 + /* got eos */
26.765 + } else if (ret == GST_FLOW_UNEXPECTED) {
26.766 + gst_nuv_demux_send_eos (nuv);
26.767 + return GST_FLOW_WRONG_STATE;
26.768 + }
26.769 + } else {
26.770 + if (gst_adapter_available (nuv->adapter) < size)
26.771 + return GST_FLOW_ERROR_NO_DATA;
26.772 +
26.773 + if (move) {
26.774 + guint8 *data = NULL;
26.775 + data = (guint8 *) gst_adapter_take (nuv->adapter, size);
26.776 + *buffer = gst_buffer_new ();
26.777 + gst_buffer_set_data (*buffer, data, size);
26.778 + } else {
26.779 + guint8 *data = NULL;
26.780 +
26.781 + data = (guint8 *) gst_adapter_peek (nuv->adapter, size);
26.782 + *buffer = gst_buffer_new ();
26.783 + gst_buffer_set_data (*buffer, data, size);
26.784 + }
26.785 + }
26.786 + return ret;
26.787 +}
26.788 +
26.789 +static gboolean
26.790 +gst_nuv_demux_sink_activate (GstPad * sinkpad)
26.791 +{
26.792 + gboolean res = TRUE;
26.793 + GstNuvDemux *nuv = GST_NUV_DEMUX (gst_pad_get_parent (sinkpad));
26.794 +
26.795 + if (gst_pad_check_pull_range (sinkpad)) {
26.796 + nuv->mode = 0;
26.797 + nuv->adapter = NULL;
26.798 + res = gst_pad_activate_pull (sinkpad, TRUE);
26.799 + } else {
26.800 + nuv->mode = 1;
26.801 + nuv->adapter = gst_adapter_new ();
26.802 + res = gst_pad_activate_push (sinkpad, TRUE);
26.803 + }
26.804 +
26.805 + g_object_unref (nuv);
26.806 + return res;
26.807 +}
26.808 +
26.809 +static gboolean
26.810 +gst_nuv_demux_sink_activate_pull (GstPad * sinkpad, gboolean active)
26.811 +{
26.812 + GstNuvDemux *nuv = GST_NUV_DEMUX (gst_pad_get_parent (sinkpad));
26.813 +
26.814 + if (active) {
26.815 + gst_pad_start_task (sinkpad, (GstTaskFunction) gst_nuv_demux_loop, sinkpad);
26.816 + } else {
26.817 + gst_pad_stop_task (sinkpad);
26.818 + }
26.819 + gst_object_unref (nuv);
26.820 +
26.821 + return TRUE;
26.822 +}
26.823 +
26.824 +static GstFlowReturn
26.825 +gst_nuv_demux_chain (GstPad * pad, GstBuffer * buf)
26.826 +{
26.827 + GstNuvDemux *nuv = GST_NUV_DEMUX (gst_pad_get_parent (pad));
26.828 +
26.829 + gst_adapter_push (nuv->adapter, buf);
26.830 +
26.831 + return gst_nuv_demux_play (pad);
26.832 +}
26.833 +
26.834 +static void
26.835 +gst_nuv_demux_loop (GstPad * pad)
26.836 +{
26.837 + gst_nuv_demux_play (pad);
26.838 +}
26.839 +
26.840 +static void
26.841 +gst_nuv_demux_reset (GstNuvDemux * nuv)
26.842 +{
26.843 + nuv->state = GST_NUV_DEMUX_START;
26.844 + nuv->mode = 0;
26.845 + nuv->offset = 0;
26.846 + nuv->video_offset = 0;
26.847 + nuv->audio_offset = 0;
26.848 +
26.849 + if (nuv->adapter != NULL)
26.850 + gst_adapter_clear (nuv->adapter);
26.851 +
26.852 + if (nuv->mpeg_buffer != NULL) {
26.853 + gst_buffer_unref (nuv->mpeg_buffer);
26.854 + nuv->mpeg_buffer = NULL;
26.855 + }
26.856 +
26.857 + g_free (nuv->h);
26.858 + nuv->h = NULL;
26.859 +
26.860 + g_free (nuv->eh);
26.861 + nuv->eh = NULL;
26.862 +
26.863 + g_free (nuv->fh);
26.864 + nuv->fh = NULL;
26.865 +}
26.866 +
26.867 +static void
26.868 +gst_nuv_demux_destoy_src_pad (GstNuvDemux * nuv)
26.869 +{
26.870 + if (nuv->src_video_pad) {
26.871 + gst_element_remove_pad (GST_ELEMENT (nuv), nuv->src_video_pad);
26.872 + nuv->src_video_pad = NULL;
26.873 + }
26.874 +
26.875 + if (nuv->src_audio_pad) {
26.876 + gst_element_remove_pad (GST_ELEMENT (nuv), nuv->src_audio_pad);
26.877 + nuv->src_audio_pad = NULL;
26.878 + }
26.879 +}
26.880 +
26.881 +static GstStateChangeReturn
26.882 +gst_nuv_demux_change_state (GstElement * element, GstStateChange transition)
26.883 +{
26.884 + GstStateChangeReturn ret;
26.885 +
26.886 + switch (transition) {
26.887 + case GST_STATE_CHANGE_READY_TO_PAUSED:
26.888 + break;
26.889 + default:
26.890 + break;
26.891 + }
26.892 +
26.893 + ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
26.894 + if (ret == GST_STATE_CHANGE_FAILURE)
26.895 + goto done;
26.896 +
26.897 + switch (transition) {
26.898 + case GST_STATE_CHANGE_PAUSED_TO_READY:
26.899 + gst_nuv_demux_destoy_src_pad (GST_NUV_DEMUX (element));
26.900 + gst_nuv_demux_reset (GST_NUV_DEMUX (element));
26.901 + break;
26.902 + default:
26.903 + break;
26.904 + }
26.905 +
26.906 +done:
26.907 + return ret;
26.908 +}
26.909 +
26.910 +static gboolean
26.911 +plugin_init (GstPlugin * plugin)
26.912 +{
26.913 +#ifdef ENABLE_NLS
26.914 + setlocale (LC_ALL, "");
26.915 + bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
26.916 +#endif /* ENABLE_NLS */
26.917 +
26.918 + if (!gst_element_register (plugin, "nuvdemux", GST_RANK_SECONDARY,
26.919 + GST_TYPE_NUV_DEMUX)) {
26.920 + return FALSE;
26.921 + }
26.922 + return TRUE;
26.923 +}
26.924 +
26.925 +GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
26.926 + GST_VERSION_MINOR,
26.927 + "nuvdemux",
26.928 + "Demuxes and muxes audio and video",
26.929 + plugin_init, VERSION, "LGPL", "NuvDemux", "")
27.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
27.2 +++ b/gst-plugins-nuvdemux/src/gstnuvdemux.h Tue Oct 24 15:02:26 2006 +0100
27.3 @@ -0,0 +1,173 @@
27.4 +/* GStreamer
27.5 + * Copyright (C) <2006> Renato Araujo Oliveira Filho <renato.filho@indt.org.br>
27.6 + * Rosfran Borges <rosfran.borges@indt.org.br>
27.7 + *
27.8 + * This library is free software; you can redistribute it and/or
27.9 + * modify it under the terms of the GNU Library General Public
27.10 + * License as published by the Free Software Foundation; either
27.11 + * version 2 of the License, or (at your option) any later version.
27.12 + *
27.13 + * This library is distributed in the hope that it will be useful,
27.14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
27.15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27.16 + * Library General Public License for more details.
27.17 + *
27.18 + * You should have received a copy of the GNU Library General Public
27.19 + * License along with this library; if not, write to the
27.20 + * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
27.21 + * Boston, MA 02111-1307, USA.
27.22 + */
27.23 +
27.24 +#ifndef __GST_NUV_DEMUX_H__
27.25 +#define __GST_NUV_DEMUX_H__
27.26 +
27.27 +#include <gst/gst.h>
27.28 +
27.29 +#include <gst/base/gstadapter.h>
27.30 +
27.31 +G_BEGIN_DECLS
27.32 +
27.33 +#define GST_TYPE_NUV_DEMUX \
27.34 + (gst_nuv_demux_get_type ())
27.35 +#define GST_NUV_DEMUX(obj) \
27.36 + (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_NUV_DEMUX, GstNuvDemux))
27.37 +#define GST_NUV_DEMUX_CLASS(klass) \
27.38 + (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_NUV_DEMUX, GstNuvDemuxClass))
27.39 +#define GST_IS_NUV_DEMUX(obj) \
27.40 + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NUV_DEMUX))
27.41 +#define GST_IS_NUV_DEMUX_CLASS(klass) \
27.42 + (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_NUV_DEMUX))
27.43 +
27.44 +
27.45 +/* */
27.46 +typedef struct
27.47 +{
27.48 + gchar id[12]; /* "NuppelVideo\0" or "MythTVVideo\0" */
27.49 + gchar version[5]; /* "x.xx\0" */
27.50 +
27.51 + gint i_width;
27.52 + gint i_height;
27.53 + gint i_width_desired;
27.54 + gint i_height_desired;
27.55 +
27.56 + gchar i_mode; /* P progressive, I interlaced */
27.57 +
27.58 + gdouble d_aspect; /* 1.0 squared pixel */
27.59 + gdouble d_fps;
27.60 +
27.61 + gint i_video_blocks; /* 0 no video, -1 unknown */
27.62 + gint i_audio_blocks;
27.63 + gint i_text_blocks;
27.64 +
27.65 + gint i_keyframe_distance;
27.66 +
27.67 +} nuv_header;
27.68 +
27.69 +typedef struct
27.70 +{
27.71 + gchar i_type; /* A: audio, V: video, S: sync; T: test
27.72 + R: Seekpoint (string:RTjjjjjjjj)
27.73 + D: Extra data for codec */
27.74 + gchar i_compression; /* V: 0 uncompressed
27.75 + 1 RTJpeg
27.76 + 2 RTJpeg+lzo
27.77 + N black frame
27.78 + L copy last
27.79 + A: 0 uncompressed (44100 1-bits, 2ch)
27.80 + 1 lzo
27.81 + 2 layer 2
27.82 + 3 layer 3
27.83 + F flac
27.84 + S shorten
27.85 + N null frame loudless
27.86 + L copy last
27.87 + S: B audio and vdeo sync point
27.88 + A audio sync info (timecode == effective
27.89 + dsp frequency*100)
27.90 + V next video sync (timecode == next video
27.91 + frame num)
27.92 + S audio,video,text correlation */
27.93 + gchar i_keyframe; /* 0 keyframe, else no no key frame */
27.94 + guint8 i_filters; /* 0x01: gauss 5 pixel (8,2,2,2,2)/16
27.95 + 0x02: gauss 5 pixel (8,1,1,1,1)/12
27.96 + 0x04: cartoon filter */
27.97 +
27.98 + guint32 i_timecode; /* ms */
27.99 +
27.100 + guint32 i_length; /* V,A,T: length of following data
27.101 + S: length of packet correl */
27.102 +} nuv_frame_header;
27.103 +
27.104 +/* FIXME Not sure of this one */
27.105 +typedef struct
27.106 +{
27.107 + gint i_version;
27.108 + guint32 i_video_fcc;
27.109 +
27.110 + guint32 i_audio_fcc;
27.111 + gint i_audio_sample_rate;
27.112 + gint i_audio_bits_per_sample;
27.113 + gint i_audio_channels;
27.114 + gint i_audio_compression_ratio;
27.115 + gint i_audio_quality;
27.116 + gint i_rtjpeg_quality;
27.117 + gint i_rtjpeg_luma_filter;
27.118 + gint i_rtjpeg_chroma_filter;
27.119 + gint i_lavc_bitrate;
27.120 + gint i_lavc_qmin;
27.121 + gint i_lavc_qmax;
27.122 + gint i_lavc_maxqdiff;
27.123 + gint64 i_seekable_offset;
27.124 + gint64 i_keyframe_adjust_offset;
27.125 +
27.126 +} nuv_extended_header;
27.127 +
27.128 +typedef enum {
27.129 + GST_NUV_DEMUX_START,
27.130 + GST_NUV_DEMUX_HEADER_DATA,
27.131 + GST_NUV_DEMUX_EXTRA_DATA,
27.132 + GST_NUV_DEMUX_MPEG_DATA,
27.133 + GST_NUV_DEMUX_EXTEND_HEADER,
27.134 + GST_NUV_DEMUX_EXTEND_HEADER_DATA,
27.135 + GST_NUV_DEMUX_FRAME_HEADER,
27.136 + GST_NUV_DEMUX_MOVI,
27.137 + GST_NUV_DEMUX_INVALID_DATA
27.138 +} GstNuvDemuxState;
27.139 +
27.140 +typedef struct _GstNuvDemux {
27.141 + GstElement parent;
27.142 +
27.143 + guint mode;
27.144 + GstAdapter *adapter;
27.145 + guint64 video_offset;
27.146 + guint64 audio_offset;
27.147 +
27.148 + /* pads */
27.149 + GstPad *sinkpad;
27.150 + GstPad *src_video_pad;
27.151 + GstPad *src_audio_pad;
27.152 + gboolean first_video;
27.153 + gboolean first_audio;
27.154 +
27.155 + /* NUV decoding state */
27.156 + GstNuvDemuxState state;
27.157 + guint64 offset;
27.158 +
27.159 + /* Mpeg ExtraData */
27.160 + guint64 mpeg_data_size;
27.161 + GstBuffer *mpeg_buffer;
27.162 +
27.163 + nuv_header *h;
27.164 + nuv_extended_header *eh;
27.165 + nuv_frame_header *fh;
27.166 +} GstNuvDemux;
27.167 +
27.168 +typedef struct _GstNuvDemuxClass {
27.169 + GstElementClass parent_class;
27.170 +} GstNuvDemuxClass;
27.171 +
27.172 +GType gst_nuv_demux_get_type (void);
27.173 +
27.174 +G_END_DECLS
27.175 +
27.176 +#endif /* __GST_NUV_DEMUX_H__ */
28.1 --- a/maemo-ui/src/Makefile.am Tue Oct 24 14:30:57 2006 +0100
28.2 +++ b/maemo-ui/src/Makefile.am Tue Oct 24 15:02:26 2006 +0100
28.3 @@ -28,6 +28,6 @@
28.4 $(GTK_LIBS) \
28.5 $(GST_LIBS) \
28.6 $(GSTBASE_LIBS) \
28.7 - $($HILDON_LIBS) \
28.8 + $(HILDON_LIBS) \
28.9 -lgstinterfaces-0.10
28.10