Initial revision start

Fri Feb 02 17:05:34 2001 +0000

author
Peder Blekken <pederb@sim.no>
date
Fri Feb 02 17:05:34 2001 +0000
changeset 0
f791d59e3ade
child 1
2a62dcf5f00c

Initial revision

.cvsignore file | annotate | diff | revisions
AUTHORS file | annotate | diff | revisions
COPYING file | annotate | diff | revisions
INSTALL file | annotate | diff | revisions
LICENSE.GPL file | annotate | diff | revisions
Makefile.am file | annotate | diff | revisions
Makefile.in file | annotate | diff | revisions
NEWS file | annotate | diff | revisions
README file | annotate | diff | revisions
THANKS file | annotate | diff | revisions
TODO file | annotate | diff | revisions
aclocal.m4 file | annotate | diff | revisions
bootstrap file | annotate | diff | revisions
config.h.in file | annotate | diff | revisions
configure file | annotate | diff | revisions
configure.in file | annotate | diff | revisions
src/.cvsignore file | annotate | diff | revisions
src/Makefile.am file | annotate | diff | revisions
src/Makefile.in file | annotate | diff | revisions
src/nodes/DepthBuffer.cpp file | annotate | diff | revisions
src/nodes/DepthBuffer.h file | annotate | diff | revisions
src/nodes/Makefile.am file | annotate | diff | revisions
src/nodes/Makefile.in file | annotate | diff | revisions
src/nodes/ViewportRegion.cpp file | annotate | diff | revisions
src/nodes/ViewportRegion.h file | annotate | diff | revisions
stamp-h.in file | annotate | diff | revisions
test-code/legendtest.cpp file | annotate | diff | revisions
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/.cvsignore	Fri Feb 02 17:05:34 2001 +0000
     1.3 @@ -0,0 +1,12 @@
     1.4 +Makefile
     1.5 +stamp-h
     1.6 +config.status
     1.7 +config.cache
     1.8 +config.h
     1.9 +config.log
    1.10 +libtool
    1.11 +stamp-h1.in
    1.12 +stamp-h2.in
    1.13 +stamp-h1
    1.14 +coin-config
    1.15 +.deps
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/AUTHORS	Fri Feb 02 17:05:34 2001 +0000
     2.3 @@ -0,0 +1,3 @@
     2.4 +Systems in Motion, <URL:http://www.sim.no>
     2.5 +
     2.6 +Peder Blekken <pederb@sim.no>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/COPYING	Fri Feb 02 17:05:34 2001 +0000
     3.3 @@ -0,0 +1,4 @@
     3.4 +SmallChange is a collection of extension to the Open Inventor API.  It is
     3.5 +released publicly under the GNU General Public License ("GPL"
     3.6 +for short).
     3.7 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/INSTALL	Fri Feb 02 17:05:34 2001 +0000
     4.3 @@ -0,0 +1,182 @@
     4.4 +Basic Installation of Coin Beta version
     4.5 +=======================================
     4.6 +
     4.7 +   These are generic installation instructions.
     4.8 +
     4.9 +   The `configure' shell script attempts to guess correct values for
    4.10 +various system-dependent variables used during compilation.  It uses
    4.11 +those values to create a `Makefile' in each directory of the package.
    4.12 +It may also create one or more `.h' files containing system-dependent
    4.13 +definitions.  Finally, it creates a shell script `config.status' that
    4.14 +you can run in the future to recreate the current configuration, a file
    4.15 +`config.cache' that saves the results of its tests to speed up
    4.16 +reconfiguring, and a file `config.log' containing compiler output
    4.17 +(useful mainly for debugging `configure').
    4.18 +
    4.19 +   If you need to do unusual things to compile the package, please try
    4.20 +to figure out how `configure' could check whether to do them, and mail
    4.21 +diffs or instructions to the address given in the `README' so they can
    4.22 +be considered for the next release.  If at some point `config.cache'
    4.23 +contains results you don't want to keep, you may remove or edit it.
    4.24 +
    4.25 +   The file `configure.in' is used to create `configure' by a program
    4.26 +called `autoconf'.  You only need `configure.in' if you want to change
    4.27 +it or regenerate `configure' using a newer version of `autoconf'.
    4.28 +
    4.29 +The simplest way to compile this package is:
    4.30 +
    4.31 +  1. `cd' to the directory containing the package's source code and type
    4.32 +     `./configure' to configure the package for your system.  If you're
    4.33 +     using `csh' on an old version of System V, you might need to type
    4.34 +     `sh ./configure' instead to prevent `csh' from trying to execute
    4.35 +     `configure' itself.
    4.36 +
    4.37 +     Running `configure' takes awhile.  While running, it prints some
    4.38 +     messages telling which features it is checking for.
    4.39 +
    4.40 +  2. Type `make' to compile the package.
    4.41 +
    4.42 +  3. Optionally, type `make check' to run any self-tests that come with
    4.43 +     the package.
    4.44 +
    4.45 +  4. Type `make install' to install the programs and any data files and
    4.46 +     documentation.
    4.47 +
    4.48 +  5. You can remove the program binaries and object files from the
    4.49 +     source code directory by typing `make clean'.  To also remove the
    4.50 +     files that `configure' created (so you can compile the package for
    4.51 +     a different kind of computer), type `make distclean'.  There is
    4.52 +     also a `make maintainer-clean' target, but that is intended mainly
    4.53 +     for the package's developers.  If you use it, you may have to get
    4.54 +     all sorts of other programs in order to regenerate files that came
    4.55 +     with the distribution.
    4.56 +
    4.57 +Compilers and Options
    4.58 +=====================
    4.59 +
    4.60 +   Some systems require unusual options for compilation or linking that
    4.61 +the `configure' script does not know about.  You can give `configure'
    4.62 +initial values for variables by setting them in the environment.  Using
    4.63 +a Bourne-compatible shell, you can do that on the command line like
    4.64 +this:
    4.65 +     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
    4.66 +
    4.67 +Or on systems that have the `env' program, you can do it like this:
    4.68 +     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
    4.69 +
    4.70 +Compiling For Multiple Architectures
    4.71 +====================================
    4.72 +
    4.73 +   You can compile the package for more than one kind of computer at the
    4.74 +same time, by placing the object files for each architecture in their
    4.75 +own directory.  To do this, you must use a version of `make' that
    4.76 +supports the `VPATH' variable, such as GNU `make'.  `cd' to the
    4.77 +directory where you want the object files and executables to go and run
    4.78 +the `configure' script.  `configure' automatically checks for the
    4.79 +source code in the directory that `configure' is in and in `..'.
    4.80 +
    4.81 +   If you have to use a `make' that does not supports the `VPATH'
    4.82 +variable, you have to compile the package for one architecture at a time
    4.83 +in the source code directory.  After you have installed the package for
    4.84 +one architecture, use `make distclean' before reconfiguring for another
    4.85 +architecture.
    4.86 +
    4.87 +Installation Names
    4.88 +==================
    4.89 +
    4.90 +   By default, `make install' will install the package's files in
    4.91 +`/usr/local/bin', `/usr/local/man', etc.  You can specify an
    4.92 +installation prefix other than `/usr/local' by giving `configure' the
    4.93 +option `--prefix=PATH'.
    4.94 +
    4.95 +   You can specify separate installation prefixes for
    4.96 +architecture-specific files and architecture-independent files.  If you
    4.97 +give `configure' the option `--exec-prefix=PATH', the package will use
    4.98 +PATH as the prefix for installing programs and libraries.
    4.99 +Documentation and other data files will still use the regular prefix.
   4.100 +
   4.101 +   In addition, if you use an unusual directory layout you can give
   4.102 +options like `--bindir=PATH' to specify different values for particular
   4.103 +kinds of files.  Run `configure --help' for a list of the directories
   4.104 +you can set and what kinds of files go in them.
   4.105 +
   4.106 +   If the package supports it, you can cause programs to be installed
   4.107 +with an extra prefix or suffix on their names by giving `configure' the
   4.108 +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
   4.109 +
   4.110 +Optional Features
   4.111 +=================
   4.112 +
   4.113 +   Some packages pay attention to `--enable-FEATURE' options to
   4.114 +`configure', where FEATURE indicates an optional part of the package.
   4.115 +They may also pay attention to `--with-PACKAGE' options, where PACKAGE
   4.116 +is something like `gnu-as' or `x' (for the X Window System).  The
   4.117 +`README' should mention any `--enable-' and `--with-' options that the
   4.118 +package recognizes.
   4.119 +
   4.120 +   For packages that use the X Window System, `configure' can usually
   4.121 +find the X include and library files automatically, but if it doesn't,
   4.122 +you can use the `configure' options `--x-includes=DIR' and
   4.123 +`--x-libraries=DIR' to specify their locations.
   4.124 +
   4.125 +Specifying the System Type
   4.126 +==========================
   4.127 +
   4.128 +   There may be some features `configure' can not figure out
   4.129 +automatically, but needs to determine by the type of host the package
   4.130 +will run on.  Usually `configure' can figure that out, but if it prints
   4.131 +a message saying it can not guess the host type, give it the
   4.132 +`--host=TYPE' option.  TYPE can either be a short name for the system
   4.133 +type, such as `sun4', or a canonical name with three fields:
   4.134 +     CPU-COMPANY-SYSTEM
   4.135 +
   4.136 +See the file `config.sub' for the possible values of each field.  If
   4.137 +`config.sub' isn't included in this package, then this package doesn't
   4.138 +need to know the host type.
   4.139 +
   4.140 +   If you are building compiler tools for cross-compiling, you can also
   4.141 +use the `--target=TYPE' option to select the type of system they will
   4.142 +produce code for and the `--build=TYPE' option to select the type of
   4.143 +system on which you are compiling the package.
   4.144 +
   4.145 +Sharing Defaults
   4.146 +================
   4.147 +
   4.148 +   If you want to set default values for `configure' scripts to share,
   4.149 +you can create a site shell script called `config.site' that gives
   4.150 +default values for variables like `CC', `cache_file', and `prefix'.
   4.151 +`configure' looks for `PREFIX/share/config.site' if it exists, then
   4.152 +`PREFIX/etc/config.site' if it exists.  Or, you can set the
   4.153 +`CONFIG_SITE' environment variable to the location of the site script.
   4.154 +A warning: not all `configure' scripts look for a site script.
   4.155 +
   4.156 +Operation Controls
   4.157 +==================
   4.158 +
   4.159 +   `configure' recognizes the following options to control how it
   4.160 +operates.
   4.161 +
   4.162 +`--cache-file=FILE'
   4.163 +     Use and save the results of the tests in FILE instead of
   4.164 +     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
   4.165 +     debugging `configure'.
   4.166 +
   4.167 +`--help'
   4.168 +     Print a summary of the options to `configure', and exit.
   4.169 +
   4.170 +`--quiet'
   4.171 +`--silent'
   4.172 +`-q'
   4.173 +     Do not print messages saying which checks are being made.  To
   4.174 +     suppress all normal output, redirect it to `/dev/null' (any error
   4.175 +     messages will still be shown).
   4.176 +
   4.177 +`--srcdir=DIR'
   4.178 +     Look for the package's source code in directory DIR.  Usually
   4.179 +     `configure' can determine that directory automatically.
   4.180 +
   4.181 +`--version'
   4.182 +     Print the version of Autoconf used to generate the `configure'
   4.183 +     script, and exit.
   4.184 +
   4.185 +`configure' also accepts some other, not widely useful, options.
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/LICENSE.GPL	Fri Feb 02 17:05:34 2001 +0000
     5.3 @@ -0,0 +1,339 @@
     5.4 +		    GNU GENERAL PUBLIC LICENSE
     5.5 +		       Version 2, June 1991
     5.6 +
     5.7 + Copyright (C) 1989, 1991 Free Software Foundation, Inc.
     5.8 +                          675 Mass Ave, Cambridge, MA 02139, USA
     5.9 + Everyone is permitted to copy and distribute verbatim copies
    5.10 + of this license document, but changing it is not allowed.
    5.11 +
    5.12 +			    Preamble
    5.13 +
    5.14 +  The licenses for most software are designed to take away your
    5.15 +freedom to share and change it.  By contrast, the GNU General Public
    5.16 +License is intended to guarantee your freedom to share and change free
    5.17 +software--to make sure the software is free for all its users.  This
    5.18 +General Public License applies to most of the Free Software
    5.19 +Foundation's software and to any other program whose authors commit to
    5.20 +using it.  (Some other Free Software Foundation software is covered by
    5.21 +the GNU Library General Public License instead.)  You can apply it to
    5.22 +your programs, too.
    5.23 +
    5.24 +  When we speak of free software, we are referring to freedom, not
    5.25 +price.  Our General Public Licenses are designed to make sure that you
    5.26 +have the freedom to distribute copies of free software (and charge for
    5.27 +this service if you wish), that you receive source code or can get it
    5.28 +if you want it, that you can change the software or use pieces of it
    5.29 +in new free programs; and that you know you can do these things.
    5.30 +
    5.31 +  To protect your rights, we need to make restrictions that forbid
    5.32 +anyone to deny you these rights or to ask you to surrender the rights.
    5.33 +These restrictions translate to certain responsibilities for you if you
    5.34 +distribute copies of the software, or if you modify it.
    5.35 +
    5.36 +  For example, if you distribute copies of such a program, whether
    5.37 +gratis or for a fee, you must give the recipients all the rights that
    5.38 +you have.  You must make sure that they, too, receive or can get the
    5.39 +source code.  And you must show them these terms so they know their
    5.40 +rights.
    5.41 +
    5.42 +  We protect your rights with two steps: (1) copyright the software, and
    5.43 +(2) offer you this license which gives you legal permission to copy,
    5.44 +distribute and/or modify the software.
    5.45 +
    5.46 +  Also, for each author's protection and ours, we want to make certain
    5.47 +that everyone understands that there is no warranty for this free
    5.48 +software.  If the software is modified by someone else and passed on, we
    5.49 +want its recipients to know that what they have is not the original, so
    5.50 +that any problems introduced by others will not reflect on the original
    5.51 +authors' reputations.
    5.52 +
    5.53 +  Finally, any free program is threatened constantly by software
    5.54 +patents.  We wish to avoid the danger that redistributors of a free
    5.55 +program will individually obtain patent licenses, in effect making the
    5.56 +program proprietary.  To prevent this, we have made it clear that any
    5.57 +patent must be licensed for everyone's free use or not licensed at all.
    5.58 +
    5.59 +  The precise terms and conditions for copying, distribution and
    5.60 +modification follow.
    5.61 +
    5.62 +		    GNU GENERAL PUBLIC LICENSE
    5.63 +   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    5.64 +
    5.65 +  0. This License applies to any program or other work which contains
    5.66 +a notice placed by the copyright holder saying it may be distributed
    5.67 +under the terms of this General Public License.  The "Program", below,
    5.68 +refers to any such program or work, and a "work based on the Program"
    5.69 +means either the Program or any derivative work under copyright law:
    5.70 +that is to say, a work containing the Program or a portion of it,
    5.71 +either verbatim or with modifications and/or translated into another
    5.72 +language.  (Hereinafter, translation is included without limitation in
    5.73 +the term "modification".)  Each licensee is addressed as "you".
    5.74 +
    5.75 +Activities other than copying, distribution and modification are not
    5.76 +covered by this License; they are outside its scope.  The act of
    5.77 +running the Program is not restricted, and the output from the Program
    5.78 +is covered only if its contents constitute a work based on the
    5.79 +Program (independent of having been made by running the Program).
    5.80 +Whether that is true depends on what the Program does.
    5.81 +
    5.82 +  1. You may copy and distribute verbatim copies of the Program's
    5.83 +source code as you receive it, in any medium, provided that you
    5.84 +conspicuously and appropriately publish on each copy an appropriate
    5.85 +copyright notice and disclaimer of warranty; keep intact all the
    5.86 +notices that refer to this License and to the absence of any warranty;
    5.87 +and give any other recipients of the Program a copy of this License
    5.88 +along with the Program.
    5.89 +
    5.90 +You may charge a fee for the physical act of transferring a copy, and
    5.91 +you may at your option offer warranty protection in exchange for a fee.
    5.92 +
    5.93 +  2. You may modify your copy or copies of the Program or any portion
    5.94 +of it, thus forming a work based on the Program, and copy and
    5.95 +distribute such modifications or work under the terms of Section 1
    5.96 +above, provided that you also meet all of these conditions:
    5.97 +
    5.98 +    a) You must cause the modified files to carry prominent notices
    5.99 +    stating that you changed the files and the date of any change.
   5.100 +
   5.101 +    b) You must cause any work that you distribute or publish, that in
   5.102 +    whole or in part contains or is derived from the Program or any
   5.103 +    part thereof, to be licensed as a whole at no charge to all third
   5.104 +    parties under the terms of this License.
   5.105 +
   5.106 +    c) If the modified program normally reads commands interactively
   5.107 +    when run, you must cause it, when started running for such
   5.108 +    interactive use in the most ordinary way, to print or display an
   5.109 +    announcement including an appropriate copyright notice and a
   5.110 +    notice that there is no warranty (or else, saying that you provide
   5.111 +    a warranty) and that users may redistribute the program under
   5.112 +    these conditions, and telling the user how to view a copy of this
   5.113 +    License.  (Exception: if the Program itself is interactive but
   5.114 +    does not normally print such an announcement, your work based on
   5.115 +    the Program is not required to print an announcement.)
   5.116 +
   5.117 +These requirements apply to the modified work as a whole.  If
   5.118 +identifiable sections of that work are not derived from the Program,
   5.119 +and can be reasonably considered independent and separate works in
   5.120 +themselves, then this License, and its terms, do not apply to those
   5.121 +sections when you distribute them as separate works.  But when you
   5.122 +distribute the same sections as part of a whole which is a work based
   5.123 +on the Program, the distribution of the whole must be on the terms of
   5.124 +this License, whose permissions for other licensees extend to the
   5.125 +entire whole, and thus to each and every part regardless of who wrote it.
   5.126 +
   5.127 +Thus, it is not the intent of this section to claim rights or contest
   5.128 +your rights to work written entirely by you; rather, the intent is to
   5.129 +exercise the right to control the distribution of derivative or
   5.130 +collective works based on the Program.
   5.131 +
   5.132 +In addition, mere aggregation of another work not based on the Program
   5.133 +with the Program (or with a work based on the Program) on a volume of
   5.134 +a storage or distribution medium does not bring the other work under
   5.135 +the scope of this License.
   5.136 +
   5.137 +  3. You may copy and distribute the Program (or a work based on it,
   5.138 +under Section 2) in object code or executable form under the terms of
   5.139 +Sections 1 and 2 above provided that you also do one of the following:
   5.140 +
   5.141 +    a) Accompany it with the complete corresponding machine-readable
   5.142 +    source code, which must be distributed under the terms of Sections
   5.143 +    1 and 2 above on a medium customarily used for software interchange; or,
   5.144 +
   5.145 +    b) Accompany it with a written offer, valid for at least three
   5.146 +    years, to give any third party, for a charge no more than your
   5.147 +    cost of physically performing source distribution, a complete
   5.148 +    machine-readable copy of the corresponding source code, to be
   5.149 +    distributed under the terms of Sections 1 and 2 above on a medium
   5.150 +    customarily used for software interchange; or,
   5.151 +
   5.152 +    c) Accompany it with the information you received as to the offer
   5.153 +    to distribute corresponding source code.  (This alternative is
   5.154 +    allowed only for noncommercial distribution and only if you
   5.155 +    received the program in object code or executable form with such
   5.156 +    an offer, in accord with Subsection b above.)
   5.157 +
   5.158 +The source code for a work means the preferred form of the work for
   5.159 +making modifications to it.  For an executable work, complete source
   5.160 +code means all the source code for all modules it contains, plus any
   5.161 +associated interface definition files, plus the scripts used to
   5.162 +control compilation and installation of the executable.  However, as a
   5.163 +special exception, the source code distributed need not include
   5.164 +anything that is normally distributed (in either source or binary
   5.165 +form) with the major components (compiler, kernel, and so on) of the
   5.166 +operating system on which the executable runs, unless that component
   5.167 +itself accompanies the executable.
   5.168 +
   5.169 +If distribution of executable or object code is made by offering
   5.170 +access to copy from a designated place, then offering equivalent
   5.171 +access to copy the source code from the same place counts as
   5.172 +distribution of the source code, even though third parties are not
   5.173 +compelled to copy the source along with the object code.
   5.174 +
   5.175 +  4. You may not copy, modify, sublicense, or distribute the Program
   5.176 +except as expressly provided under this License.  Any attempt
   5.177 +otherwise to copy, modify, sublicense or distribute the Program is
   5.178 +void, and will automatically terminate your rights under this License.
   5.179 +However, parties who have received copies, or rights, from you under
   5.180 +this License will not have their licenses terminated so long as such
   5.181 +parties remain in full compliance.
   5.182 +
   5.183 +  5. You are not required to accept this License, since you have not
   5.184 +signed it.  However, nothing else grants you permission to modify or
   5.185 +distribute the Program or its derivative works.  These actions are
   5.186 +prohibited by law if you do not accept this License.  Therefore, by
   5.187 +modifying or distributing the Program (or any work based on the
   5.188 +Program), you indicate your acceptance of this License to do so, and
   5.189 +all its terms and conditions for copying, distributing or modifying
   5.190 +the Program or works based on it.
   5.191 +
   5.192 +  6. Each time you redistribute the Program (or any work based on the
   5.193 +Program), the recipient automatically receives a license from the
   5.194 +original licensor to copy, distribute or modify the Program subject to
   5.195 +these terms and conditions.  You may not impose any further
   5.196 +restrictions on the recipients' exercise of the rights granted herein.
   5.197 +You are not responsible for enforcing compliance by third parties to
   5.198 +this License.
   5.199 +
   5.200 +  7. If, as a consequence of a court judgment or allegation of patent
   5.201 +infringement or for any other reason (not limited to patent issues),
   5.202 +conditions are imposed on you (whether by court order, agreement or
   5.203 +otherwise) that contradict the conditions of this License, they do not
   5.204 +excuse you from the conditions of this License.  If you cannot
   5.205 +distribute so as to satisfy simultaneously your obligations under this
   5.206 +License and any other pertinent obligations, then as a consequence you
   5.207 +may not distribute the Program at all.  For example, if a patent
   5.208 +license would not permit royalty-free redistribution of the Program by
   5.209 +all those who receive copies directly or indirectly through you, then
   5.210 +the only way you could satisfy both it and this License would be to
   5.211 +refrain entirely from distribution of the Program.
   5.212 +
   5.213 +If any portion of this section is held invalid or unenforceable under
   5.214 +any particular circumstance, the balance of the section is intended to
   5.215 +apply and the section as a whole is intended to apply in other
   5.216 +circumstances.
   5.217 +
   5.218 +It is not the purpose of this section to induce you to infringe any
   5.219 +patents or other property right claims or to contest validity of any
   5.220 +such claims; this section has the sole purpose of protecting the
   5.221 +integrity of the free software distribution system, which is
   5.222 +implemented by public license practices.  Many people have made
   5.223 +generous contributions to the wide range of software distributed
   5.224 +through that system in reliance on consistent application of that
   5.225 +system; it is up to the author/donor to decide if he or she is willing
   5.226 +to distribute software through any other system and a licensee cannot
   5.227 +impose that choice.
   5.228 +
   5.229 +This section is intended to make thoroughly clear what is believed to
   5.230 +be a consequence of the rest of this License.
   5.231 +
   5.232 +  8. If the distribution and/or use of the Program is restricted in
   5.233 +certain countries either by patents or by copyrighted interfaces, the
   5.234 +original copyright holder who places the Program under this License
   5.235 +may add an explicit geographical distribution limitation excluding
   5.236 +those countries, so that distribution is permitted only in or among
   5.237 +countries not thus excluded.  In such case, this License incorporates
   5.238 +the limitation as if written in the body of this License.
   5.239 +
   5.240 +  9. The Free Software Foundation may publish revised and/or new versions
   5.241 +of the General Public License from time to time.  Such new versions will
   5.242 +be similar in spirit to the present version, but may differ in detail to
   5.243 +address new problems or concerns.
   5.244 +
   5.245 +Each version is given a distinguishing version number.  If the Program
   5.246 +specifies a version number of this License which applies to it and "any
   5.247 +later version", you have the option of following the terms and conditions
   5.248 +either of that version or of any later version published by the Free
   5.249 +Software Foundation.  If the Program does not specify a version number of
   5.250 +this License, you may choose any version ever published by the Free Software
   5.251 +Foundation.
   5.252 +
   5.253 +  10. If you wish to incorporate parts of the Program into other free
   5.254 +programs whose distribution conditions are different, write to the author
   5.255 +to ask for permission.  For software which is copyrighted by the Free
   5.256 +Software Foundation, write to the Free Software Foundation; we sometimes
   5.257 +make exceptions for this.  Our decision will be guided by the two goals
   5.258 +of preserving the free status of all derivatives of our free software and
   5.259 +of promoting the sharing and reuse of software generally.
   5.260 +
   5.261 +			    NO WARRANTY
   5.262 +
   5.263 +  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
   5.264 +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
   5.265 +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
   5.266 +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
   5.267 +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
   5.268 +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
   5.269 +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
   5.270 +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
   5.271 +REPAIR OR CORRECTION.
   5.272 +
   5.273 +  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
   5.274 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
   5.275 +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
   5.276 +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
   5.277 +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
   5.278 +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
   5.279 +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
   5.280 +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
   5.281 +POSSIBILITY OF SUCH DAMAGES.
   5.282 +
   5.283 +		     END OF TERMS AND CONDITIONS
   5.284 +
   5.285 +	Appendix: How to Apply These Terms to Your New Programs
   5.286 +
   5.287 +  If you develop a new program, and you want it to be of the greatest
   5.288 +possible use to the public, the best way to achieve this is to make it
   5.289 +free software which everyone can redistribute and change under these terms.
   5.290 +
   5.291 +  To do so, attach the following notices to the program.  It is safest
   5.292 +to attach them to the start of each source file to most effectively
   5.293 +convey the exclusion of warranty; and each file should have at least
   5.294 +the "copyright" line and a pointer to where the full notice is found.
   5.295 +
   5.296 +    <one line to give the program's name and a brief idea of what it does.>
   5.297 +    Copyright (C) 19yy  <name of author>
   5.298 +
   5.299 +    This program is free software; you can redistribute it and/or modify
   5.300 +    it under the terms of the GNU General Public License as published by
   5.301 +    the Free Software Foundation; either version 2 of the License, or
   5.302 +    (at your option) any later version.
   5.303 +
   5.304 +    This program is distributed in the hope that it will be useful,
   5.305 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   5.306 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   5.307 +    GNU General Public License for more details.
   5.308 +
   5.309 +    You should have received a copy of the GNU General Public License
   5.310 +    along with this program; if not, write to the Free Software
   5.311 +    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   5.312 +
   5.313 +Also add information on how to contact you by electronic and paper mail.
   5.314 +
   5.315 +If the program is interactive, make it output a short notice like this
   5.316 +when it starts in an interactive mode:
   5.317 +
   5.318 +    Gnomovision version 69, Copyright (C) 19yy name of author
   5.319 +    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
   5.320 +    This is free software, and you are welcome to redistribute it
   5.321 +    under certain conditions; type `show c' for details.
   5.322 +
   5.323 +The hypothetical commands `show w' and `show c' should show the appropriate
   5.324 +parts of the General Public License.  Of course, the commands you use may
   5.325 +be called something other than `show w' and `show c'; they could even be
   5.326 +mouse-clicks or menu items--whatever suits your program.
   5.327 +
   5.328 +You should also get your employer (if you work as a programmer) or your
   5.329 +school, if any, to sign a "copyright disclaimer" for the program, if
   5.330 +necessary.  Here is a sample; alter the names:
   5.331 +
   5.332 +  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
   5.333 +  `Gnomovision' (which makes passes at compilers) written by James Hacker.
   5.334 +
   5.335 +  <signature of Ty Coon>, 1 April 1989
   5.336 +  Ty Coon, President of Vice
   5.337 +
   5.338 +This General Public License does not permit incorporating your program into
   5.339 +proprietary programs.  If your program is a subroutine library, you may
   5.340 +consider it more useful to permit linking proprietary applications with the
   5.341 +library.  If this is what you want to do, use the GNU Library General
   5.342 +Public License instead of this License.
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/Makefile.am	Fri Feb 02 17:05:34 2001 +0000
     6.3 @@ -0,0 +1,4 @@
     6.4 +## Process this file with automake to generate Makefile.in.
     6.5 +
     6.6 +SUBDIRS = src
     6.7 +
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/Makefile.in	Fri Feb 02 17:05:34 2001 +0000
     7.3 @@ -0,0 +1,414 @@
     7.4 +# Makefile.in generated automatically by automake 1.4c from Makefile.am
     7.5 +
     7.6 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
     7.7 +# Free Software Foundation, Inc.
     7.8 +# This Makefile.in is free software; the Free Software Foundation
     7.9 +# gives unlimited permission to copy and/or distribute it,
    7.10 +# with or without modifications, as long as this notice is preserved.
    7.11 +
    7.12 +# This program is distributed in the hope that it will be useful,
    7.13 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
    7.14 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    7.15 +# PARTICULAR PURPOSE.
    7.16 +
    7.17 +SHELL = @SHELL@
    7.18 +
    7.19 +srcdir = @srcdir@
    7.20 +top_srcdir = @top_srcdir@
    7.21 +VPATH = @srcdir@
    7.22 +prefix = @prefix@
    7.23 +exec_prefix = @exec_prefix@
    7.24 +
    7.25 +bindir = @bindir@
    7.26 +sbindir = @sbindir@
    7.27 +libexecdir = @libexecdir@
    7.28 +datadir = @datadir@
    7.29 +sysconfdir = @sysconfdir@
    7.30 +sharedstatedir = @sharedstatedir@
    7.31 +localstatedir = @localstatedir@
    7.32 +libdir = @libdir@
    7.33 +infodir = @infodir@
    7.34 +mandir = @mandir@
    7.35 +includedir = @includedir@
    7.36 +oldincludedir = /usr/include
    7.37 +
    7.38 +pkgdatadir = $(datadir)/@PACKAGE@
    7.39 +pkglibdir = $(libdir)/@PACKAGE@
    7.40 +pkgincludedir = $(includedir)/@PACKAGE@
    7.41 +
    7.42 +top_builddir = .
    7.43 +
    7.44 +ACLOCAL = @ACLOCAL@
    7.45 +AUTOCONF = @AUTOCONF@
    7.46 +AUTOMAKE = @AUTOMAKE@
    7.47 +AUTOHEADER = @AUTOHEADER@
    7.48 +
    7.49 +INSTALL = @INSTALL@
    7.50 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
    7.51 +INSTALL_DATA = @INSTALL_DATA@
    7.52 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
    7.53 +INSTALL_STRIP_FLAG =
    7.54 +transform = @program_transform_name@
    7.55 +
    7.56 +NORMAL_INSTALL = :
    7.57 +PRE_INSTALL = :
    7.58 +POST_INSTALL = :
    7.59 +NORMAL_UNINSTALL = :
    7.60 +PRE_UNINSTALL = :
    7.61 +POST_UNINSTALL = :
    7.62 +
    7.63 +@SET_MAKE@
    7.64 +build_alias = @build_alias@
    7.65 +build_triplet = @build@
    7.66 +host_alias = @host_alias@
    7.67 +host_triplet = @host@
    7.68 +target_alias = @target_alias@
    7.69 +target_triplet = @target@
    7.70 +AMDEP = @AMDEP@
    7.71 +AMTAR = @AMTAR@
    7.72 +AS = @AS@
    7.73 +AWK = @AWK@
    7.74 +BUILD_WITH_MSVC = @BUILD_WITH_MSVC@
    7.75 +CC = @CC@
    7.76 +CXX = @CXX@
    7.77 +DEPDIR = @DEPDIR@
    7.78 +DLLTOOL = @DLLTOOL@
    7.79 +LIBTOOL = @LIBTOOL@
    7.80 +LN_S = @LN_S@
    7.81 +LT_AGE = @LT_AGE@
    7.82 +LT_CURRENT = @LT_CURRENT@
    7.83 +LT_REVISION = @LT_REVISION@
    7.84 +MAINT = @MAINT@
    7.85 +MAKEINFO = @MAKEINFO@
    7.86 +OBJDUMP = @OBJDUMP@
    7.87 +PACKAGE = @PACKAGE@
    7.88 +RANLIB = @RANLIB@
    7.89 +SMALLCHANGE_MAJOR_VERSION = @SMALLCHANGE_MAJOR_VERSION@
    7.90 +SMALLCHANGE_MICRO_VERSION = @SMALLCHANGE_MICRO_VERSION@
    7.91 +SMALLCHANGE_MINOR_VERSION = @SMALLCHANGE_MINOR_VERSION@
    7.92 +SMALLCHANGE_VERSION = @SMALLCHANGE_VERSION@
    7.93 +VERSION = @VERSION@
    7.94 +install_sh = @install_sh@
    7.95 +sim_ac_coin_configcmd = @sim_ac_coin_configcmd@
    7.96 +
    7.97 +
    7.98 +SUBDIRS = src
    7.99 +subdir = .
   7.100 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
   7.101 +mkinstalldirs = $(SHELL) $(top_srcdir)/cfg/mkinstalldirs
   7.102 +CONFIG_HEADER = config.h
   7.103 +CONFIG_CLEAN_FILES = 
   7.104 +DIST_SOURCES = 
   7.105 +DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
   7.106 +Makefile.am Makefile.in NEWS THANKS TODO aclocal.m4 cfg/config.guess \
   7.107 +cfg/config.sub cfg/install-sh cfg/ltmain.sh cfg/missing \
   7.108 +cfg/mkinstalldirs config.h.in configure configure.in
   7.109 +
   7.110 +
   7.111 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
   7.112 +
   7.113 +GZIP_ENV = --best
   7.114 +DIST_SUBDIRS =  $(SUBDIRS)
   7.115 +all: all-redirect
   7.116 +.SUFFIXES:
   7.117 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
   7.118 +	cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
   7.119 +
   7.120 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
   7.121 +	cd $(top_builddir) \
   7.122 +	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
   7.123 +
   7.124 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in 
   7.125 +	cd $(srcdir) && $(ACLOCAL)
   7.126 +
   7.127 +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
   7.128 +	$(SHELL) ./config.status --recheck
   7.129 +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
   7.130 +	cd $(srcdir) && $(AUTOCONF)
   7.131 +
   7.132 +config.h: stamp-h
   7.133 +	@if test ! -f $@; then \
   7.134 +		rm -f stamp-h; \
   7.135 +		$(MAKE) stamp-h; \
   7.136 +	else :; fi
   7.137 +stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
   7.138 +	@rm -f stamp-h stamp-hT
   7.139 +	@echo timestamp > stamp-hT 2> /dev/null
   7.140 +	cd $(top_builddir) \
   7.141 +	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
   7.142 +	     $(SHELL) ./config.status
   7.143 +	@mv stamp-hT stamp-h
   7.144 +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/./stamp-h.in
   7.145 +	@if test ! -f $@; then \
   7.146 +		rm -f $(srcdir)/./stamp-h.in; \
   7.147 +		$(MAKE) $(srcdir)/./stamp-h.in; \
   7.148 +	else :; fi
   7.149 +$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 
   7.150 +	@rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
   7.151 +	@echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
   7.152 +	cd $(top_srcdir) && $(AUTOHEADER)
   7.153 +	@mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
   7.154 +
   7.155 +mostlyclean-hdr:
   7.156 +
   7.157 +clean-hdr:
   7.158 +
   7.159 +distclean-hdr:
   7.160 +	-rm -f config.h
   7.161 +
   7.162 +maintainer-clean-hdr:
   7.163 +
   7.164 +# This directory's subdirectories are mostly independent; you can cd
   7.165 +# into them and run `make' without going through this Makefile.
   7.166 +# To change the values of `make' variables: instead of editing Makefiles,
   7.167 +# (1) if the variable is set in `config.status', edit `config.status'
   7.168 +#     (which will cause the Makefiles to be regenerated when you run `make');
   7.169 +# (2) otherwise, pass the desired values on the `make' command line.
   7.170 +all-recursive install-data-recursive install-exec-recursive \
   7.171 +installdirs-recursive install-recursive uninstall-recursive  \
   7.172 +check-recursive installcheck-recursive info-recursive dvi-recursive:
   7.173 +	@set fnord $(MAKEFLAGS); amf=$$2; \
   7.174 +	dot_seen=no; \
   7.175 +	target=`echo $@ | sed s/-recursive//`; \
   7.176 +	list='$(SUBDIRS)'; for subdir in $$list; do \
   7.177 +	  echo "Making $$target in $$subdir"; \
   7.178 +	  if test "$$subdir" = "."; then \
   7.179 +	    dot_seen=yes; \
   7.180 +	    local_target="$$target-am"; \
   7.181 +	  else \
   7.182 +	    local_target="$$target"; \
   7.183 +	  fi; \
   7.184 +	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
   7.185 +	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
   7.186 +	done; \
   7.187 +	if test "$$dot_seen" = "no"; then \
   7.188 +	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
   7.189 +	fi; test -z "$$fail"
   7.190 +
   7.191 +mostlyclean-recursive clean-recursive distclean-recursive \
   7.192 +maintainer-clean-recursive:
   7.193 +	@set fnord $(MAKEFLAGS); amf=$$2; \
   7.194 +	dot_seen=no; \
   7.195 +	case "$@" in \
   7.196 +	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
   7.197 +	  *) list='$(SUBDIRS)' ;; \
   7.198 +	esac; \
   7.199 +	rev=''; for subdir in $$list; do \
   7.200 +	  if test "$$subdir" = "."; then :; else \
   7.201 +	    rev="$$subdir $$rev"; \
   7.202 +	  fi; \
   7.203 +	done; \
   7.204 +	rev="$$rev ."; \
   7.205 +	target=`echo $@ | sed s/-recursive//`; \
   7.206 +	for subdir in $$rev; do \
   7.207 +	  echo "Making $$target in $$subdir"; \
   7.208 +	  if test "$$subdir" = "."; then \
   7.209 +	    local_target="$$target-am"; \
   7.210 +	  else \
   7.211 +	    local_target="$$target"; \
   7.212 +	  fi; \
   7.213 +	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
   7.214 +	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
   7.215 +	done && test -z "$$fail"
   7.216 +tags-recursive:
   7.217 +	list='$(SUBDIRS)'; for subdir in $$list; do \
   7.218 +	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
   7.219 +	done
   7.220 +
   7.221 +tags: TAGS
   7.222 +
   7.223 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
   7.224 +	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
   7.225 +	unique=`for i in $$list; do \
   7.226 +	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
   7.227 +	  done | \
   7.228 +	  $(AWK) '    { files[$$0] = 1; } \
   7.229 +	       END { for (i in files) print i; }'`; \
   7.230 +	mkid -fID $$unique $(LISP)
   7.231 +
   7.232 +TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
   7.233 +		$(TAGS_FILES) $(LISP)
   7.234 +	tags=; \
   7.235 +	here=`pwd`; \
   7.236 +	list='$(SUBDIRS)'; for subdir in $$list; do \
   7.237 +   if test "$$subdir" = .; then :; else \
   7.238 +	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
   7.239 +   fi; \
   7.240 +	done; \
   7.241 +	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
   7.242 +	unique=`for i in $$list; do \
   7.243 +	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
   7.244 +	  done | \
   7.245 +	  $(AWK) '    { files[$$0] = 1; } \
   7.246 +	       END { for (i in files) print i; }'`; \
   7.247 +	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
   7.248 +	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
   7.249 +
   7.250 +GTAGS:
   7.251 +	here=`CDPATH=: && cd $(top_builddir) && pwd` \
   7.252 +	  && cd $(top_srcdir) \
   7.253 +	  && gtags -i $$here
   7.254 +
   7.255 +mostlyclean-tags:
   7.256 +
   7.257 +clean-tags:
   7.258 +
   7.259 +distclean-tags:
   7.260 +	-rm -f TAGS ID
   7.261 +
   7.262 +maintainer-clean-tags:
   7.263 +
   7.264 +distdir = $(PACKAGE)-$(VERSION)
   7.265 +top_distdir = $(distdir)
   7.266 +
   7.267 +
   7.268 +# This target untars the dist file and tries a VPATH configuration.  Then
   7.269 +# it guarantees that the distribution is self-contained by making another
   7.270 +# tarfile.
   7.271 +distcheck: dist
   7.272 +	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
   7.273 +	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
   7.274 +	chmod -R a-w $(distdir); chmod a+w $(distdir)
   7.275 +	mkdir $(distdir)/=build
   7.276 +	mkdir $(distdir)/=inst
   7.277 +	chmod a-w $(distdir)
   7.278 +	dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
   7.279 +	  && cd $(distdir)/=build \
   7.280 +	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
   7.281 +	  && $(MAKE) $(AM_MAKEFLAGS) \
   7.282 +	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
   7.283 +	  && $(MAKE) $(AM_MAKEFLAGS) check \
   7.284 +	  && $(MAKE) $(AM_MAKEFLAGS) install \
   7.285 +	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
   7.286 +	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
   7.287 +	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
   7.288 +	  && $(MAKE) $(AM_MAKEFLAGS) dist \
   7.289 +	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
   7.290 +	  && rm -f $(distdir).tar.gz \
   7.291 +	  && test `find . -type f -print | wc -l` -eq 0
   7.292 +	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
   7.293 +	@banner="$(distdir).tar.gz is ready for distribution"; \
   7.294 +	dashes=`echo "$$banner" | sed s/./=/g`; \
   7.295 +	echo "$$dashes"; \
   7.296 +	echo "$$banner"; \
   7.297 +	echo "$$dashes"
   7.298 +dist: distdir
   7.299 +	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
   7.300 +	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
   7.301 +	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
   7.302 +	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
   7.303 +	|| chmod -R a+r $(distdir)
   7.304 +	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
   7.305 +	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
   7.306 +dist-all: distdir
   7.307 +	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
   7.308 +	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
   7.309 +	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
   7.310 +	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
   7.311 +	|| chmod -R a+r $(distdir)
   7.312 +	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
   7.313 +	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
   7.314 +distdir: $(DISTFILES)
   7.315 +	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
   7.316 +	mkdir $(distdir)
   7.317 +	$(mkinstalldirs) $(distdir)/cfg
   7.318 +	@for file in $(DISTFILES); do \
   7.319 +	  d=$(srcdir); \
   7.320 +	  if test -d $$d/$$file; then \
   7.321 +	    cp -pR $$d/$$file $(distdir) \
   7.322 +	    || exit 1; \
   7.323 +	  else \
   7.324 +	    test -f $(distdir)/$$file \
   7.325 +	    || cp -p $$d/$$file $(distdir)/$$file \
   7.326 +	    || exit 1; \
   7.327 +	  fi; \
   7.328 +	done
   7.329 +	for subdir in $(SUBDIRS); do \
   7.330 +	  if test "$$subdir" = .; then :; else \
   7.331 +	    test -d $(distdir)/$$subdir \
   7.332 +	    || mkdir $(distdir)/$$subdir \
   7.333 +	    || exit 1; \
   7.334 +	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
   7.335 +	      || exit 1; \
   7.336 +	  fi; \
   7.337 +	done
   7.338 +info-am:
   7.339 +info: info-recursive
   7.340 +dvi-am:
   7.341 +dvi: dvi-recursive
   7.342 +check-am: all-am
   7.343 +check: check-recursive
   7.344 +installcheck-am:
   7.345 +installcheck: installcheck-recursive
   7.346 +all-recursive-am: config.h
   7.347 +	$(MAKE) $(AM_MAKEFLAGS) all-recursive
   7.348 +
   7.349 +install-exec-am:
   7.350 +install-exec: install-exec-recursive
   7.351 +
   7.352 +install-data-am:
   7.353 +install-data: install-data-recursive
   7.354 +
   7.355 +install-am: all-am
   7.356 +	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
   7.357 +install: install-recursive
   7.358 +uninstall-am:
   7.359 +uninstall: uninstall-recursive
   7.360 +all-am: Makefile config.h
   7.361 +all-redirect: all-recursive-am
   7.362 +install-strip:
   7.363 +	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
   7.364 +installdirs: installdirs-recursive
   7.365 +installdirs-am:
   7.366 +
   7.367 +
   7.368 +mostlyclean-generic:
   7.369 +
   7.370 +clean-generic:
   7.371 +
   7.372 +distclean-generic:
   7.373 +	-rm -f Makefile $(CONFIG_CLEAN_FILES)
   7.374 +	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
   7.375 +
   7.376 +maintainer-clean-generic:
   7.377 +	-rm -f Makefile.in
   7.378 +mostlyclean-am:  mostlyclean-hdr mostlyclean-tags mostlyclean-generic
   7.379 +
   7.380 +mostlyclean: mostlyclean-recursive
   7.381 +
   7.382 +clean-am:  clean-hdr clean-tags clean-generic mostlyclean-am
   7.383 +
   7.384 +clean: clean-recursive
   7.385 +
   7.386 +distclean-am:  distclean-hdr distclean-tags distclean-generic clean-am
   7.387 +	-rm -f libtool
   7.388 +
   7.389 +distclean: distclean-recursive
   7.390 +	-rm -f config.status
   7.391 +
   7.392 +maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-tags \
   7.393 +		maintainer-clean-generic distclean-am
   7.394 +	@echo "This command is intended for maintainers to use;"
   7.395 +	@echo "it deletes files that may require special tools to rebuild."
   7.396 +
   7.397 +maintainer-clean: maintainer-clean-recursive
   7.398 +	-rm -f config.status
   7.399 +
   7.400 +.PHONY:  all all-am all-recursive all-recursive-am all-redirect check \
   7.401 +check-am check-recursive clean clean-generic clean-hdr clean-recursive \
   7.402 +clean-tags distclean distclean-generic distclean-hdr \
   7.403 +distclean-recursive distclean-tags distdir dvi dvi-am dvi-recursive \
   7.404 +info info-am info-recursive install install-am install-data \
   7.405 +install-data-am install-data-recursive install-exec install-exec-am \
   7.406 +install-exec-recursive install-recursive install-strip installcheck \
   7.407 +installcheck-am installcheck-recursive installdirs installdirs-am \
   7.408 +installdirs-recursive maintainer-clean maintainer-clean-generic \
   7.409 +maintainer-clean-hdr maintainer-clean-recursive maintainer-clean-tags \
   7.410 +mostlyclean mostlyclean-generic mostlyclean-hdr mostlyclean-recursive \
   7.411 +mostlyclean-tags tags tags-recursive uninstall uninstall-am \
   7.412 +uninstall-recursive
   7.413 +
   7.414 +
   7.415 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
   7.416 +# Otherwise a system limit (for SysV at least) may be exceeded.
   7.417 +.NOEXPORT:
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/NEWS	Fri Feb 02 17:05:34 2001 +0000
     8.3 @@ -0,0 +1,2 @@
     8.4 +NEWS
     8.5 +====
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/README	Fri Feb 02 17:05:34 2001 +0000
     9.3 @@ -0,0 +1,30 @@
     9.4 +NAME
     9.5 +
     9.6 +SmallChange
     9.7 +
     9.8 +
     9.9 +BRIEF DESCRIPTION
    9.10 +
    9.11 +A collection of extensions to the Open Inventor[1] API. Can be used 
    9.12 +both with Coin and Open Inventor[1].
    9.13 +
    9.14 +HOMEPAGE
    9.15 +
    9.16 +<URL:http://www.coin3d.org>
    9.17 +
    9.18 +
    9.19 +LICENSE
    9.20 +
    9.21 +SmallChange is released publicly under the GNU General Public License
    9.22 +(GPL) for developers of free software (see LICENSE.GPL) and is also
    9.23 +available for any proprietary use under a Professional Edition
    9.24 +license. Read the GPL carefully to decide whether or not your use of
    9.25 +SmallChange is compatible with this free, open source license.
    9.26 +
    9.27 +MAIN DEVELOPERS
    9.28 +
    9.29 +Peder Blekken <pederb@sim.no>
    9.30 +
    9.31 +
    9.32 +-- 
    9.33 +[1] Open Inventor is a trademark of SGI Inc. 
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/THANKS	Fri Feb 02 17:05:34 2001 +0000
    10.3 @@ -0,0 +1,4 @@
    10.4 +These persons have contributed to the development of the SmallChange library
    10.5 +through patches, bug reports, bugfixes, ideas for improvements, etc:
    10.6 +
    10.7 +
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/TODO	Fri Feb 02 17:05:34 2001 +0000
    11.3 @@ -0,0 +1,4 @@
    11.4 +===============================================================================
    11.5 +TODO:
    11.6 +=====
    11.7 +
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/aclocal.m4	Fri Feb 02 17:05:34 2001 +0000
    12.3 @@ -0,0 +1,1402 @@
    12.4 +# aclocal.m4 generated automatically by aclocal 1.4c
    12.5 +
    12.6 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
    12.7 +# Free Software Foundation, Inc.
    12.8 +# This file is free software; the Free Software Foundation
    12.9 +# gives unlimited permission to copy and/or distribute it,
   12.10 +# with or without modifications, as long as this notice is preserved.
   12.11 +
   12.12 +# This program is distributed in the hope that it will be useful,
   12.13 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
   12.14 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   12.15 +# PARTICULAR PURPOSE.
   12.16 +
   12.17 +# **************************************************************************
   12.18 +# SIM_AC_SETUP_MSVC_IFELSE( IF-FOUND, IF-NOT-FOUND )
   12.19 +#
   12.20 +# This macro invokes IF-FOUND if the msvccc wrapper can be run, and
   12.21 +# IF-NOT-FOUND if not.
   12.22 +#
   12.23 +# Authors:
   12.24 +#   Morten Eriksen <mortene@coin3d.org>
   12.25 +#   Lars J. Aas <larsa@coin3d.org>
   12.26 +
   12.27 +# **************************************************************************
   12.28 +
   12.29 +AC_DEFUN([SIM_AC_SETUP_MSVC_IFELSE],
   12.30 +[# **************************************************************************
   12.31 +# If the Microsoft Visual C++ cl.exe compiler is available, set us up for
   12.32 +# compiling with it and to generate an MSWindows .dll file.
   12.33 +
   12.34 +: ${BUILD_WITH_MSVC=false}
   12.35 +sim_ac_msvccc=`cd $srcdir; pwd`/cfg/m4/msvccc
   12.36 +if test -z "$CC" -a -z "$CXX" && $sim_ac_msvccc >/dev/null 2>&1; then
   12.37 +  m4_ifdef([$0_VISITED],
   12.38 +    [AC_FATAL([Macro $0 invoked multiple times])])
   12.39 +  m4_define([$0_VISITED], 1)
   12.40 +  CC=$sim_ac_msvccc
   12.41 +  CXX=$sim_ac_msvccc
   12.42 +  export CC CXX
   12.43 +  BUILD_WITH_MSVC=true
   12.44 +fi
   12.45 +AC_SUBST(BUILD_WITH_MSVC)
   12.46 +if $BUILD_WITH_MSVC; then
   12.47 +  :
   12.48 +  $1
   12.49 +else
   12.50 +  :
   12.51 +  $2
   12.52 +fi
   12.53 +]) # SIM_AC_SETUP_MSVC_IFELSE
   12.54 +
   12.55 +# **************************************************************************
   12.56 +
   12.57 +AC_DEFUN([SIM_AC_MSVC_SUPPORT],
   12.58 +[# **************************************************************************
   12.59 +# If the Microsoft Visual C++ cl.exe compiler is available, set us up for
   12.60 +# compiling with it and to generate an MSWindows .dll file.
   12.61 +
   12.62 +: ${BUILD_WITH_MSVC=false}
   12.63 +sim_ac_msvccc=`cd $srcdir; pwd`/cfg/m4/msvccc
   12.64 +if test -z "$CC" -a -z "$CXX" && $sim_ac_msvccc >/dev/null 2>&1; then
   12.65 +  m4_ifdef([$0_VISITED],
   12.66 +    [AC_FATAL([Macro $0 invoked multiple times])])
   12.67 +  m4_define([$0_VISITED], 1)
   12.68 +  CC=$sim_ac_msvccc
   12.69 +  CXX=$sim_ac_msvccc
   12.70 +  export CC CXX
   12.71 +  BUILD_WITH_MSVC=true
   12.72 +fi
   12.73 +AC_SUBST(BUILD_WITH_MSVC)
   12.74 +]) # SIM_AC_MSVC_SUPPORT
   12.75 +
   12.76 +# EOF **********************************************************************
   12.77 +
   12.78 +# Do all the work for Automake.  This macro actually does too much --
   12.79 +# some checks are only needed if your package does certain things.
   12.80 +# But this isn't really a big deal.
   12.81 +
   12.82 +# serial 5
   12.83 +
   12.84 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
   12.85 +# written in clear, in which case automake, when reading aclocal.m4,
   12.86 +# will think it sees a *use*, and therefore will trigger all it's
   12.87 +# C support machinery.  Also note that it means that autoscan, seeing
   12.88 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
   12.89 +
   12.90 +
   12.91 +# We require 2.13 because we rely on SHELL being computed by configure.
   12.92 +AC_PREREQ([2.13])
   12.93 +
   12.94 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
   12.95 +# -----------------------------------------------------------
   12.96 +# If MACRO-NAME is provided do IF-PROVIDED, else IF-NOT-PROVIDED.
   12.97 +# The purpose of this macro is to provide the user with a means to
   12.98 +# check macros which are provided without letting her know how the
   12.99 +# information is coded.
  12.100 +# If this macro is not defined by Autoconf, define it here.
  12.101 +ifdef([AC_PROVIDE_IFELSE],
  12.102 +      [],
  12.103 +      [define([AC_PROVIDE_IFELSE],
  12.104 +              [ifdef([AC_PROVIDE_$1],
  12.105 +                     [$2], [$3])])])
  12.106 +
  12.107 +
  12.108 +# AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
  12.109 +# ----------------------------------------------
  12.110 +AC_DEFUN([AM_INIT_AUTOMAKE],
  12.111 +[AC_REQUIRE([AC_PROG_INSTALL])dnl
  12.112 +# test to see if srcdir already configured
  12.113 +if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
  12.114 +   test -f $srcdir/config.status; then
  12.115 +  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  12.116 +fi
  12.117 +
  12.118 +# Define the identity of the package.
  12.119 +PACKAGE=$1
  12.120 +AC_SUBST(PACKAGE)dnl
  12.121 +VERSION=$2
  12.122 +AC_SUBST(VERSION)dnl
  12.123 +ifelse([$3],,
  12.124 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  12.125 +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
  12.126 +
  12.127 +# Some tools Automake needs.
  12.128 +AC_REQUIRE([AM_SANITY_CHECK])dnl
  12.129 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
  12.130 +AM_MISSING_PROG(ACLOCAL, aclocal)
  12.131 +AM_MISSING_PROG(AUTOCONF, autoconf)
  12.132 +AM_MISSING_PROG(AUTOMAKE, automake)
  12.133 +AM_MISSING_PROG(AUTOHEADER, autoheader)
  12.134 +AM_MISSING_PROG(MAKEINFO, makeinfo)
  12.135 +AM_MISSING_PROG(AMTAR, tar)
  12.136 +AM_MISSING_INSTALL_SH
  12.137 +# We need awk for the "check" target.  The system "awk" is bad on
  12.138 +# some platforms.
  12.139 +AC_REQUIRE([AC_PROG_AWK])dnl
  12.140 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  12.141 +AC_REQUIRE([AM_DEP_TRACK])dnl
  12.142 +AC_REQUIRE([AM_SET_DEPDIR])dnl
  12.143 +AC_PROVIDE_IFELSE([AC_PROG_][CC],
  12.144 +                  [AM_DEPENDENCIES(CC)],
  12.145 +                  [define([AC_PROG_][CC],
  12.146 +                          defn([AC_PROG_][CC])[AM_DEPENDENCIES(CC)])])dnl
  12.147 +AC_PROVIDE_IFELSE([AC_PROG_][CXX],
  12.148 +                  [AM_DEPENDENCIES(CXX)],
  12.149 +                  [define([AC_PROG_][CXX],
  12.150 +                          defn([AC_PROG_][CXX])[AM_DEPENDENCIES(CXX)])])dnl
  12.151 +])
  12.152 +
  12.153 +#
  12.154 +# Check to make sure that the build environment is sane.
  12.155 +#
  12.156 +
  12.157 +# serial 3
  12.158 +
  12.159 +# AM_SANITY_CHECK
  12.160 +# ---------------
  12.161 +AC_DEFUN([AM_SANITY_CHECK],
  12.162 +[AC_MSG_CHECKING([whether build environment is sane])
  12.163 +# Just in case
  12.164 +sleep 1
  12.165 +echo timestamp > conftest.file
  12.166 +# Do `set' in a subshell so we don't clobber the current shell's
  12.167 +# arguments.  Must try -L first in case configure is actually a
  12.168 +# symlink; some systems play weird games with the mod time of symlinks
  12.169 +# (eg FreeBSD returns the mod time of the symlink's containing
  12.170 +# directory).
  12.171 +if (
  12.172 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  12.173 +   if test "$[*]" = "X"; then
  12.174 +      # -L didn't work.
  12.175 +      set X `ls -t $srcdir/configure conftest.file`
  12.176 +   fi
  12.177 +   if test "$[*]" != "X $srcdir/configure conftest.file" \
  12.178 +      && test "$[*]" != "X conftest.file $srcdir/configure"; then
  12.179 +
  12.180 +      # If neither matched, then we have a broken ls.  This can happen
  12.181 +      # if, for instance, CONFIG_SHELL is bash and it inherits a
  12.182 +      # broken ls alias from the environment.  This has actually
  12.183 +      # happened.  Such a system could not be considered "sane".
  12.184 +      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
  12.185 +alias in your environment])
  12.186 +   fi
  12.187 +
  12.188 +   test "$[2]" = conftest.file
  12.189 +   )
  12.190 +then
  12.191 +   # Ok.
  12.192 +   :
  12.193 +else
  12.194 +   AC_MSG_ERROR([newly created file is older than distributed files!
  12.195 +Check your system clock])
  12.196 +fi
  12.197 +rm -f conftest*
  12.198 +AC_MSG_RESULT(yes)])
  12.199 +
  12.200 +
  12.201 +# serial 2
  12.202 +
  12.203 +# AM_MISSING_PROG(NAME, PROGRAM)
  12.204 +# ------------------------------
  12.205 +AC_DEFUN([AM_MISSING_PROG],
  12.206 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
  12.207 +$1=${$1-"${am_missing_run}$2"}
  12.208 +AC_SUBST($1)])
  12.209 +
  12.210 +
  12.211 +# AM_MISSING_INSTALL_SH
  12.212 +# ---------------------
  12.213 +# Like AM_MISSING_PROG, but only looks for install-sh.
  12.214 +AC_DEFUN([AM_MISSING_INSTALL_SH],
  12.215 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
  12.216 +if test -z "$install_sh"; then
  12.217 +   for install_sh in "$ac_aux_dir/install-sh" \
  12.218 +                     "$ac_aux_dir/install.sh" \
  12.219 +                     "${am_missing_run}${ac_auxdir}/install-sh";
  12.220 +   do
  12.221 +     test -f "$install_sh" && break
  12.222 +   done
  12.223 +   # FIXME: an evil hack: we remove the SHELL invocation from
  12.224 +   # install_sh because automake adds it back in.  Sigh.
  12.225 +   install_sh=`echo $install_sh | sed -e 's/\${SHELL}//'`
  12.226 +fi
  12.227 +AC_SUBST(install_sh)])
  12.228 +
  12.229 +
  12.230 +# AM_MISSING_HAS_RUN
  12.231 +# ------------------
  12.232 +# Define MISSING if not defined so far and test if it supports --run.
  12.233 +# If it does, set am_missing_run to use it, otherwise, to nothing.
  12.234 +AC_DEFUN([AM_MISSING_HAS_RUN],
  12.235 +[test x"${MISSING+set}" = xset ||
  12.236 +  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
  12.237 +# Use eval to expand $SHELL
  12.238 +if eval "$MISSING --run :"; then
  12.239 +  am_missing_run="$MISSING --run "
  12.240 +else
  12.241 +  am_missing_run=
  12.242 +  am_backtick='`'
  12.243 +  AC_MSG_WARN([${am_backtick}missing' script is too old or missing])
  12.244 +fi
  12.245 +])
  12.246 +
  12.247 +# serial 3
  12.248 +
  12.249 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  12.250 +# written in clear, in which case automake, when reading aclocal.m4,
  12.251 +# will think it sees a *use*, and therefore will trigger all it's
  12.252 +# C support machinery.  Also note that it means that autoscan, seeing
  12.253 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
  12.254 +
  12.255 +# AM_DEPENDENCIES(NAME)
  12.256 +# ---------------------
  12.257 +# See how the compiler implements dependency checking.
  12.258 +# NAME is "CC", "CXX" or "OBJC".
  12.259 +# We try a few techniques and use that to set a single cache variable.
  12.260 +AC_DEFUN([AM_DEPENDENCIES],
  12.261 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
  12.262 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  12.263 +ifelse([$1], CC,
  12.264 +       [AC_REQUIRE([AC_PROG_][CC])dnl
  12.265 +AC_REQUIRE([AC_PROG_][CPP])
  12.266 +depcc="$CC"
  12.267 +depcpp="$CPP"],
  12.268 +       [$1], CXX, [AC_REQUIRE([AC_PROG_][CXX])dnl
  12.269 +AC_REQUIRE([AC_PROG_][CXXCPP])
  12.270 +depcc="$CXX"
  12.271 +depcpp="$CXXCPP"],
  12.272 +       [$1], OBJC, [am_cv_OBJC_dependencies_compiler_type=gcc],
  12.273 +       [AC_REQUIRE([AC_PROG_][$1])dnl
  12.274 +depcc="$$1"
  12.275 +depcpp=""])
  12.276 +
  12.277 +AC_CACHE_CHECK([dependency style of $depcc],
  12.278 +               [am_cv_$1_dependencies_compiler_type],
  12.279 +[if test -z "$AMDEP"; then
  12.280 +  echo '#include "conftest.h"' > conftest.c
  12.281 +  echo 'int i;' > conftest.h
  12.282 +
  12.283 +  am_cv_$1_dependencies_compiler_type=none
  12.284 +  for depmode in `sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < "$am_depcomp"`; do
  12.285 +    case "$depmode" in
  12.286 +    nosideeffect)
  12.287 +      # after this tag, mechanisms are not by side-effect, so they'll
  12.288 +      # only be used when explicitly requested
  12.289 +      if test "x$enable_dependency_tracking" = xyes; then
  12.290 +	continue
  12.291 +      else
  12.292 +	break
  12.293 +      fi
  12.294 +      ;;
  12.295 +    none) break ;;
  12.296 +    esac
  12.297 +    # We check with `-c' and `-o' for the sake of the "dashmstdout"
  12.298 +    # mode.  It turns out that the SunPro C++ compiler does not properly
  12.299 +    # handle `-M -o', and we need to detect this.
  12.300 +    if depmode="$depmode" \
  12.301 +       source=conftest.c object=conftest.o \
  12.302 +       depfile=conftest.Po tmpdepfile=conftest.TPo \
  12.303 +       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
  12.304 +       grep conftest.h conftest.Po > /dev/null 2>&1; then
  12.305 +      am_cv_$1_dependencies_compiler_type="$depmode"
  12.306 +      break
  12.307 +    fi
  12.308 +  done
  12.309 +
  12.310 +  rm -f conftest.*
  12.311 +else
  12.312 +  am_cv_$1_dependencies_compiler_type=none
  12.313 +fi
  12.314 +])
  12.315 +$1DEPMODE="depmode=$am_cv_$1_dependencies_compiler_type"
  12.316 +AC_SUBST([$1DEPMODE])
  12.317 +])
  12.318 +
  12.319 +
  12.320 +# AM_SET_DEPDIR
  12.321 +# -------------
  12.322 +# Choose a directory name for dependency files.
  12.323 +# This macro is AC_REQUIREd in AM_DEPENDENCIES
  12.324 +AC_DEFUN([AM_SET_DEPDIR],
  12.325 +[if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
  12.326 +  DEPDIR=.deps
  12.327 +  # We redirect because .deps might already exist and be populated.
  12.328 +  # In this situation we don't want to see an error.
  12.329 +  rmdir .deps > /dev/null 2>&1
  12.330 +else
  12.331 +  DEPDIR=_deps
  12.332 +fi
  12.333 +AC_SUBST(DEPDIR)
  12.334 +])
  12.335 +
  12.336 +
  12.337 +# AM_DEP_TRACK
  12.338 +# ------------
  12.339 +AC_DEFUN([AM_DEP_TRACK],
  12.340 +[AC_ARG_ENABLE(dependency-tracking,
  12.341 +[  --disable-dependency-tracking Speeds up one-time builds
  12.342 +  --enable-dependency-tracking  Do not reject slow dependency extractors])
  12.343 +if test "x$enable_dependency_tracking" = xno; then
  12.344 +  AMDEP="#"
  12.345 +else
  12.346 +  am_depcomp="$ac_aux_dir/depcomp"
  12.347 +  if test ! -f "$am_depcomp"; then
  12.348 +    AMDEP="#"
  12.349 +  else
  12.350 +    AMDEP=
  12.351 +  fi
  12.352 +fi
  12.353 +AC_SUBST(AMDEP)
  12.354 +if test -z "$AMDEP"; then
  12.355 +  AMDEPBACKSLASH='\'
  12.356 +else
  12.357 +  AMDEPBACKSLASH=
  12.358 +fi
  12.359 +pushdef([subst], defn([AC_SUBST]))
  12.360 +subst(AMDEPBACKSLASH)
  12.361 +popdef([subst])
  12.362 +])
  12.363 +
  12.364 +# Generate code to set up dependency tracking.
  12.365 +# This macro should only be invoked once -- use via AC_REQUIRE.
  12.366 +# Usage:
  12.367 +# AM_OUTPUT_DEPENDENCY_COMMANDS
  12.368 +
  12.369 +#
  12.370 +# This code is only required when automatic dependency tracking
  12.371 +# is enabled.  FIXME.  This creates each `.P' file that we will
  12.372 +# need in order to bootstrap the dependency handling code.
  12.373 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
  12.374 +AC_OUTPUT_COMMANDS([
  12.375 +test x"$AMDEP" != x"" ||
  12.376 +for mf in $CONFIG_FILES; do
  12.377 +  case "$mf" in
  12.378 +  Makefile) dirpart=.;;
  12.379 +  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
  12.380 +  *) continue;;
  12.381 +  esac
  12.382 +  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
  12.383 +  # Extract the definition of DEP_FILES from the Makefile without
  12.384 +  # running `make'.
  12.385 +  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
  12.386 +  test -z "$DEPDIR" && continue
  12.387 +  # When using ansi2knr, U may be empty or an underscore; expand it
  12.388 +  U=`sed -n -e '/^U = / s///p' < "$mf"`
  12.389 +  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  12.390 +  # We invoke sed twice because it is the simplest approach to
  12.391 +  # changing $(DEPDIR) to its actual value in the expansion.
  12.392 +  for file in `sed -n -e '
  12.393 +    /^DEP_FILES = .*\\\\$/ {
  12.394 +      s/^DEP_FILES = //
  12.395 +      :loop
  12.396 +	s/\\\\$//
  12.397 +	p
  12.398 +	n
  12.399 +	/\\\\$/ b loop
  12.400 +      p
  12.401 +    }
  12.402 +    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
  12.403 +       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  12.404 +    # Make sure the directory exists.
  12.405 +    test -f "$dirpart/$file" && continue
  12.406 +    fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
  12.407 +    $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
  12.408 +    # echo "creating $dirpart/$file"
  12.409 +    echo '# dummy' > "$dirpart/$file"
  12.410 +  done
  12.411 +done
  12.412 +], [AMDEP="$AMDEP"
  12.413 +ac_aux_dir="$ac_aux_dir"])])
  12.414 +
  12.415 +# Like AC_CONFIG_HEADER, but automatically create stamp file.
  12.416 +
  12.417 +# serial 3
  12.418 +
  12.419 +# When config.status generates a header, we must update the stamp-h file.
  12.420 +# This file resides in the same directory as the config header
  12.421 +# that is generated.  We must strip everything past the first ":",
  12.422 +# and everything past the last "/".
  12.423 +
  12.424 +AC_PREREQ([2.12])
  12.425 +
  12.426 +AC_DEFUN([AM_CONFIG_HEADER],
  12.427 +[AC_CONFIG_HEADER([$1])
  12.428 +  AC_OUTPUT_COMMANDS(
  12.429 +   ifelse(patsubst([$1], [[^ ]], []),
  12.430 +	  [],
  12.431 +	  [test -z "$CONFIG_HEADERS" || echo timestamp >dnl
  12.432 +	   patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),
  12.433 +  [am_indx=1
  12.434 +  for am_file in $1; do
  12.435 +    case " $CONFIG_HEADERS " in
  12.436 +    *" $am_file "*)
  12.437 +      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
  12.438 +      ;;
  12.439 +    esac
  12.440 +    am_indx=\`expr \$am_indx + 1\`
  12.441 +  done])
  12.442 +])
  12.443 +
  12.444 +
  12.445 +# serial 40 AC_PROG_LIBTOOL
  12.446 +AC_DEFUN(AC_PROG_LIBTOOL,
  12.447 +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
  12.448 +
  12.449 +# Save cache, so that ltconfig can load it
  12.450 +AC_CACHE_SAVE
  12.451 +
  12.452 +# Actually configure libtool.  ac_aux_dir is where install-sh is found.
  12.453 +CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
  12.454 +LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
  12.455 +LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
  12.456 +DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
  12.457 +${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
  12.458 +$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
  12.459 +|| AC_MSG_ERROR([libtool configure failed])
  12.460 +
  12.461 +# Reload cache, that may have been modified by ltconfig
  12.462 +AC_CACHE_LOAD
  12.463 +
  12.464 +# This can be used to rebuild libtool when needed
  12.465 +LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
  12.466 +
  12.467 +# Always use our own libtool.
  12.468 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  12.469 +AC_SUBST(LIBTOOL)dnl
  12.470 +
  12.471 +# Redirect the config.log output again, so that the ltconfig log is not
  12.472 +# clobbered by the next message.
  12.473 +exec 5>>./config.log
  12.474 +])
  12.475 +
  12.476 +AC_DEFUN(AC_LIBTOOL_SETUP,
  12.477 +[AC_PREREQ(2.13)dnl
  12.478 +AC_REQUIRE([AC_ENABLE_SHARED])dnl
  12.479 +AC_REQUIRE([AC_ENABLE_STATIC])dnl
  12.480 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
  12.481 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  12.482 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  12.483 +AC_REQUIRE([AC_PROG_RANLIB])dnl
  12.484 +AC_REQUIRE([AC_PROG_CC])dnl
  12.485 +AC_REQUIRE([AC_PROG_LD])dnl
  12.486 +AC_REQUIRE([AC_PROG_NM])dnl
  12.487 +AC_REQUIRE([AC_PROG_LN_S])dnl
  12.488 +dnl
  12.489 +
  12.490 +case "$target" in
  12.491 +NONE) lt_target="$host" ;;
  12.492 +*) lt_target="$target" ;;
  12.493 +esac
  12.494 +
  12.495 +# Check for any special flags to pass to ltconfig.
  12.496 +libtool_flags="--cache-file=$cache_file"
  12.497 +test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
  12.498 +test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
  12.499 +test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
  12.500 +test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
  12.501 +test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
  12.502 +ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
  12.503 +[libtool_flags="$libtool_flags --enable-dlopen"])
  12.504 +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  12.505 +[libtool_flags="$libtool_flags --enable-win32-dll"])
  12.506 +AC_ARG_ENABLE(libtool-lock,
  12.507 +  [  --disable-libtool-lock  avoid locking (might break parallel builds)])
  12.508 +test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
  12.509 +test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
  12.510 +
  12.511 +# Some flags need to be propagated to the compiler or linker for good
  12.512 +# libtool support.
  12.513 +case "$lt_target" in
  12.514 +*-*-irix6*)
  12.515 +  # Find out which ABI we are using.
  12.516 +  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  12.517 +  if AC_TRY_EVAL(ac_compile); then
  12.518 +    case "`/usr/bin/file conftest.o`" in
  12.519 +    *32-bit*)
  12.520 +      LD="${LD-ld} -32"
  12.521 +      ;;
  12.522 +    *N32*)
  12.523 +      LD="${LD-ld} -n32"
  12.524 +      ;;
  12.525 +    *64-bit*)
  12.526 +      LD="${LD-ld} -64"
  12.527 +      ;;
  12.528 +    esac
  12.529 +  fi
  12.530 +  rm -rf conftest*
  12.531 +  ;;
  12.532 +
  12.533 +*-*-sco3.2v5*)
  12.534 +  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  12.535 +  SAVE_CFLAGS="$CFLAGS"
  12.536 +  CFLAGS="$CFLAGS -belf"
  12.537 +  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  12.538 +    [AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
  12.539 +  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  12.540 +    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  12.541 +    CFLAGS="$SAVE_CFLAGS"
  12.542 +  fi
  12.543 +  ;;
  12.544 +
  12.545 +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  12.546 +[*-*-cygwin* | *-*-mingw*)
  12.547 +  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  12.548 +  AC_CHECK_TOOL(AS, as, false)
  12.549 +  AC_CHECK_TOOL(OBJDUMP, objdump, false)
  12.550 +  ;;
  12.551 +])
  12.552 +esac
  12.553 +])
  12.554 +
  12.555 +# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
  12.556 +AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
  12.557 +
  12.558 +# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
  12.559 +AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
  12.560 +
  12.561 +# AC_ENABLE_SHARED - implement the --enable-shared flag
  12.562 +# Usage: AC_ENABLE_SHARED[(DEFAULT)]
  12.563 +#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
  12.564 +#   `yes'.
  12.565 +AC_DEFUN(AC_ENABLE_SHARED, [dnl
  12.566 +define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  12.567 +AC_ARG_ENABLE(shared,
  12.568 +changequote(<<, >>)dnl
  12.569 +<<  --enable-shared[=PKGS]  build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
  12.570 +changequote([, ])dnl
  12.571 +[p=${PACKAGE-default}
  12.572 +case "$enableval" in
  12.573 +yes) enable_shared=yes ;;
  12.574 +no) enable_shared=no ;;
  12.575 +*)
  12.576 +  enable_shared=no
  12.577 +  # Look at the argument we got.  We use all the common list separators.
  12.578 +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  12.579 +  for pkg in $enableval; do
  12.580 +    if test "X$pkg" = "X$p"; then
  12.581 +      enable_shared=yes
  12.582 +    fi
  12.583 +  done
  12.584 +  IFS="$ac_save_ifs"
  12.585 +  ;;
  12.586 +esac],
  12.587 +enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
  12.588 +])
  12.589 +
  12.590 +# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
  12.591 +AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12.592 +AC_ENABLE_SHARED(no)])
  12.593 +
  12.594 +# AC_ENABLE_STATIC - implement the --enable-static flag
  12.595 +# Usage: AC_ENABLE_STATIC[(DEFAULT)]
  12.596 +#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
  12.597 +#   `yes'.
  12.598 +AC_DEFUN(AC_ENABLE_STATIC, [dnl
  12.599 +define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  12.600 +AC_ARG_ENABLE(static,
  12.601 +changequote(<<, >>)dnl
  12.602 +<<  --enable-static[=PKGS]  build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
  12.603 +changequote([, ])dnl
  12.604 +[p=${PACKAGE-default}
  12.605 +case "$enableval" in
  12.606 +yes) enable_static=yes ;;
  12.607 +no) enable_static=no ;;
  12.608 +*)
  12.609 +  enable_static=no
  12.610 +  # Look at the argument we got.  We use all the common list separators.
  12.611 +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  12.612 +  for pkg in $enableval; do
  12.613 +    if test "X$pkg" = "X$p"; then
  12.614 +      enable_static=yes
  12.615 +    fi
  12.616 +  done
  12.617 +  IFS="$ac_save_ifs"
  12.618 +  ;;
  12.619 +esac],
  12.620 +enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
  12.621 +])
  12.622 +
  12.623 +# AC_DISABLE_STATIC - set the default static flag to --disable-static
  12.624 +AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12.625 +AC_ENABLE_STATIC(no)])
  12.626 +
  12.627 +
  12.628 +# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
  12.629 +# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
  12.630 +#   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
  12.631 +#   `yes'.
  12.632 +AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
  12.633 +define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  12.634 +AC_ARG_ENABLE(fast-install,
  12.635 +changequote(<<, >>)dnl
  12.636 +<<  --enable-fast-install[=PKGS]  optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
  12.637 +changequote([, ])dnl
  12.638 +[p=${PACKAGE-default}
  12.639 +case "$enableval" in
  12.640 +yes) enable_fast_install=yes ;;
  12.641 +no) enable_fast_install=no ;;
  12.642 +*)
  12.643 +  enable_fast_install=no
  12.644 +  # Look at the argument we got.  We use all the common list separators.
  12.645 +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  12.646 +  for pkg in $enableval; do
  12.647 +    if test "X$pkg" = "X$p"; then
  12.648 +      enable_fast_install=yes
  12.649 +    fi
  12.650 +  done
  12.651 +  IFS="$ac_save_ifs"
  12.652 +  ;;
  12.653 +esac],
  12.654 +enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
  12.655 +])
  12.656 +
  12.657 +# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
  12.658 +AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12.659 +AC_ENABLE_FAST_INSTALL(no)])
  12.660 +
  12.661 +# AC_PROG_LD - find the path to the GNU or non-GNU linker
  12.662 +AC_DEFUN(AC_PROG_LD,
  12.663 +[AC_ARG_WITH(gnu-ld,
  12.664 +[  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
  12.665 +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
  12.666 +AC_REQUIRE([AC_PROG_CC])dnl
  12.667 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  12.668 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  12.669 +ac_prog=ld
  12.670 +if test "$ac_cv_prog_gcc" = yes; then
  12.671 +  # Check if gcc -print-prog-name=ld gives a path.
  12.672 +  AC_MSG_CHECKING([for ld used by GCC])
  12.673 +  ac_prog=`($CC -print-prog-name=ld) 2>&5`
  12.674 +  case "$ac_prog" in
  12.675 +    # Accept absolute paths.
  12.676 +changequote(,)dnl
  12.677 +    [\\/]* | [A-Za-z]:[\\/]*)
  12.678 +      re_direlt='/[^/][^/]*/\.\./'
  12.679 +changequote([,])dnl
  12.680 +      # Canonicalize the path of ld
  12.681 +      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
  12.682 +      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  12.683 +	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
  12.684 +      done
  12.685 +      test -z "$LD" && LD="$ac_prog"
  12.686 +      ;;
  12.687 +  "")
  12.688 +    # If it fails, then pretend we aren't using GCC.
  12.689 +    ac_prog=ld
  12.690 +    ;;
  12.691 +  *)
  12.692 +    # If it is relative, then search for the first ld in PATH.
  12.693 +    with_gnu_ld=unknown
  12.694 +    ;;
  12.695 +  esac
  12.696 +elif test "$with_gnu_ld" = yes; then
  12.697 +  AC_MSG_CHECKING([for GNU ld])
  12.698 +else
  12.699 +  AC_MSG_CHECKING([for non-GNU ld])
  12.700 +fi
  12.701 +AC_CACHE_VAL(ac_cv_path_LD,
  12.702 +[if test -z "$LD"; then
  12.703 +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  12.704 +  for ac_dir in $PATH; do
  12.705 +    test -z "$ac_dir" && ac_dir=.
  12.706 +    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  12.707 +      ac_cv_path_LD="$ac_dir/$ac_prog"
  12.708 +      # Check to see if the program is GNU ld.  I'd rather use --version,
  12.709 +      # but apparently some GNU ld's only accept -v.
  12.710 +      # Break only if it was the GNU/non-GNU ld that we prefer.
  12.711 +      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  12.712 +	test "$with_gnu_ld" != no && break
  12.713 +      else
  12.714 +	test "$with_gnu_ld" != yes && break
  12.715 +      fi
  12.716 +    fi
  12.717 +  done
  12.718 +  IFS="$ac_save_ifs"
  12.719 +else
  12.720 +  ac_cv_path_LD="$LD" # Let the user override the test with a path.
  12.721 +fi])
  12.722 +LD="$ac_cv_path_LD"
  12.723 +if test -n "$LD"; then
  12.724 +  AC_MSG_RESULT($LD)
  12.725 +else
  12.726 +  AC_MSG_RESULT(no)
  12.727 +fi
  12.728 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  12.729 +AC_PROG_LD_GNU
  12.730 +])
  12.731 +
  12.732 +AC_DEFUN(AC_PROG_LD_GNU,
  12.733 +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
  12.734 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
  12.735 +if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  12.736 +  ac_cv_prog_gnu_ld=yes
  12.737 +else
  12.738 +  ac_cv_prog_gnu_ld=no
  12.739 +fi])
  12.740 +])
  12.741 +
  12.742 +# AC_PROG_NM - find the path to a BSD-compatible name lister
  12.743 +AC_DEFUN(AC_PROG_NM,
  12.744 +[AC_MSG_CHECKING([for BSD-compatible nm])
  12.745 +AC_CACHE_VAL(ac_cv_path_NM,
  12.746 +[if test -n "$NM"; then
  12.747 +  # Let the user override the test.
  12.748 +  ac_cv_path_NM="$NM"
  12.749 +else
  12.750 +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  12.751 +  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
  12.752 +    test -z "$ac_dir" && ac_dir=.
  12.753 +    if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
  12.754 +      # Check to see if the nm accepts a BSD-compat flag.
  12.755 +      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  12.756 +      #   nm: unknown option "B" ignored
  12.757 +      if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  12.758 +	ac_cv_path_NM="$ac_dir/nm -B"
  12.759 +	break
  12.760 +      elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  12.761 +	ac_cv_path_NM="$ac_dir/nm -p"
  12.762 +	break
  12.763 +      else
  12.764 +	ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
  12.765 +	continue # so that we can try to find one that supports BSD flags
  12.766 +      fi
  12.767 +    fi
  12.768 +  done
  12.769 +  IFS="$ac_save_ifs"
  12.770 +  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
  12.771 +fi])
  12.772 +NM="$ac_cv_path_NM"
  12.773 +AC_MSG_RESULT([$NM])
  12.774 +])
  12.775 +
  12.776 +# AC_CHECK_LIBM - check for math library
  12.777 +AC_DEFUN(AC_CHECK_LIBM,
  12.778 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  12.779 +LIBM=
  12.780 +case "$lt_target" in
  12.781 +*-*-beos* | *-*-cygwin*)
  12.782 +  # These system don't have libm
  12.783 +  ;;
  12.784 +*-ncr-sysv4.3*)
  12.785 +  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  12.786 +  AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
  12.787 +  ;;
  12.788 +*)
  12.789 +  AC_CHECK_LIB(m, main, LIBM="-lm")
  12.790 +  ;;
  12.791 +esac
  12.792 +])
  12.793 +
  12.794 +# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
  12.795 +# the libltdl convenience library and INCLTDL to the include flags for
  12.796 +# the libltdl header and adds --enable-ltdl-convenience to the
  12.797 +# configure arguments.  Note that LIBLTDL and INCLTDL are not
  12.798 +# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If DIR is not
  12.799 +# provided, it is assumed to be `libltdl'.  LIBLTDL will be prefixed
  12.800 +# with '${top_builddir}/' and INCLTDL will be prefixed with
  12.801 +# '${top_srcdir}/' (note the single quotes!).  If your package is not
  12.802 +# flat and you're not using automake, define top_builddir and
  12.803 +# top_srcdir appropriately in the Makefiles.
  12.804 +AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12.805 +  case "$enable_ltdl_convenience" in
  12.806 +  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
  12.807 +  "") enable_ltdl_convenience=yes
  12.808 +      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
  12.809 +  esac
  12.810 +  LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
  12.811 +  INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  12.812 +])
  12.813 +
  12.814 +# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
  12.815 +# the libltdl installable library and INCLTDL to the include flags for
  12.816 +# the libltdl header and adds --enable-ltdl-install to the configure
  12.817 +# arguments.  Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
  12.818 +# AC_CONFIG_SUBDIRS called.  If DIR is not provided and an installed
  12.819 +# libltdl is not found, it is assumed to be `libltdl'.  LIBLTDL will
  12.820 +# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
  12.821 +# with '${top_srcdir}/' (note the single quotes!).  If your package is
  12.822 +# not flat and you're not using automake, define top_builddir and
  12.823 +# top_srcdir appropriately in the Makefiles.
  12.824 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
  12.825 +AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12.826 +  AC_CHECK_LIB(ltdl, main,
  12.827 +  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
  12.828 +  [if test x"$enable_ltdl_install" = xno; then
  12.829 +     AC_MSG_WARN([libltdl not installed, but installation disabled])
  12.830 +   else
  12.831 +     enable_ltdl_install=yes
  12.832 +   fi
  12.833 +  ])
  12.834 +  if test x"$enable_ltdl_install" = x"yes"; then
  12.835 +    ac_configure_args="$ac_configure_args --enable-ltdl-install"
  12.836 +    LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
  12.837 +    INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  12.838 +  else
  12.839 +    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
  12.840 +    LIBLTDL="-lltdl"
  12.841 +    INCLTDL=
  12.842 +  fi
  12.843 +])
  12.844 +
  12.845 +dnl old names
  12.846 +AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
  12.847 +AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
  12.848 +AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
  12.849 +AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
  12.850 +AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
  12.851 +AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
  12.852 +AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
  12.853 +
  12.854 +dnl This is just to silence aclocal about the macro not being used
  12.855 +ifelse([AC_DISABLE_FAST_INSTALL])dnl
  12.856 +
  12.857 +# Add --enable-maintainer-mode option to configure.
  12.858 +# From Jim Meyering
  12.859 +
  12.860 +# serial 1
  12.861 +
  12.862 +AC_DEFUN([AM_MAINTAINER_MODE],
  12.863 +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
  12.864 +  dnl maintainer-mode is disabled by default
  12.865 +  AC_ARG_ENABLE(maintainer-mode,
  12.866 +[  --enable-maintainer-mode enable make rules and dependencies not useful
  12.867 +                          (and sometimes confusing) to the casual installer],
  12.868 +      USE_MAINTAINER_MODE=$enableval,
  12.869 +      USE_MAINTAINER_MODE=no)
  12.870 +  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
  12.871 +  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
  12.872 +  MAINT=$MAINTAINER_MODE_TRUE
  12.873 +  AC_SUBST(MAINT)dnl
  12.874 +]
  12.875 +)
  12.876 +
  12.877 +# serial 2
  12.878 +
  12.879 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
  12.880 +# -------------------------------------
  12.881 +# Define a conditional.
  12.882 +AC_DEFUN([AM_CONDITIONAL],
  12.883 +[AC_SUBST([$1_TRUE])
  12.884 +AC_SUBST([$1_FALSE])
  12.885 +if $2; then
  12.886 +  $1_TRUE=
  12.887 +  $1_FALSE='#'
  12.888 +else
  12.889 +  $1_TRUE='#'
  12.890 +  $1_FALSE=
  12.891 +fi])
  12.892 +
  12.893 +# Usage:
  12.894 +#   SIM_AC_RTTI_SUPPORT
  12.895 +#
  12.896 +# Description:
  12.897 +#   Let the user decide if RTTI should be compiled in. The compiled
  12.898 +#   libraries/executables will use a lot less space if they don't
  12.899 +#   contain RTTI.
  12.900 +# 
  12.901 +#   Note: this macro must be placed after AC_PROG_CXX in the
  12.902 +#   configure.in script.
  12.903 +# 
  12.904 +# Author: Morten Eriksen, <mortene@sim.no>.
  12.905 +
  12.906 +AC_DEFUN([SIM_AC_RTTI_SUPPORT], [
  12.907 +AC_PREREQ([2.13])
  12.908 +AC_ARG_ENABLE(
  12.909 +  [rtti],
  12.910 +  AC_HELP_STRING([--enable-rtti], [(g++ only) compile with RTTI [[default=yes]]]),
  12.911 +  [case "${enableval}" in
  12.912 +    yes) enable_rtti=yes ;;
  12.913 +    no)  enable_rtti=no ;;
  12.914 +    *) AC_MSG_ERROR(bad value "${enableval}" for --enable-rtti) ;;
  12.915 +  esac],
  12.916 +  [enable_rtti=yes])
  12.917 +
  12.918 +if test x"$enable_rtti" = x"no"; then
  12.919 +  if test x"$GXX" = x"yes"; then
  12.920 +    CXXFLAGS="$CXXFLAGS -fno-rtti"
  12.921 +  else
  12.922 +    AC_MSG_WARN([--enable-rtti only has effect when using GNU g++])
  12.923 +  fi
  12.924 +fi
  12.925 +])
  12.926 +
  12.927 +# Usage:
  12.928 +#   SIM_CHECK_EXCEPTION_HANDLING
  12.929 +#
  12.930 +# Description:
  12.931 +#   Let the user decide if C++ exception handling should be compiled
  12.932 +#   in. The compiled libraries/executables will use a lot less space
  12.933 +#   if they have exception handling support.
  12.934 +#
  12.935 +#   Note: this macro must be placed after AC_PROG_CXX in the
  12.936 +#   configure.in script.
  12.937 +#
  12.938 +#   Author: Morten Eriksen, <mortene@sim.no>.
  12.939 +#
  12.940 +# TODO:
  12.941 +#   * [mortene:19991114] make this work with compilers other than gcc/g++
  12.942 +#
  12.943 +
  12.944 +AC_DEFUN([SIM_EXCEPTION_HANDLING], [
  12.945 +AC_PREREQ([2.13])
  12.946 +AC_ARG_ENABLE(
  12.947 +  [exceptions],
  12.948 +  AC_HELP_STRING([--enable-exceptions],
  12.949 +                 [(g++ only) compile with exceptions [[default=no]]]),
  12.950 +  [case "${enableval}" in
  12.951 +    yes) enable_exceptions=yes ;;
  12.952 +    no)  enable_exceptions=no ;;
  12.953 +    *) AC_MSG_ERROR(bad value "${enableval}" for --enable-exceptions) ;;
  12.954 +  esac],
  12.955 +  [enable_exceptions=no])
  12.956 +
  12.957 +if test x"$enable_exceptions" = x"no"; then
  12.958 +  if test "x$GXX" = "xyes"; then
  12.959 +    unset _exception_flag
  12.960 +    dnl This is for GCC >= 2.8
  12.961 +    SIM_AC_CXX_COMPILER_OPTION([-fno-exceptions], [_exception_flag=-fno-exceptions])
  12.962 +    if test x"${_exception_flag+set}" != x"set"; then
  12.963 +      dnl For GCC versions < 2.8
  12.964 +      SIM_AC_CXX_COMPILER_OPTION([-fno-handle-exceptions],
  12.965 +                                 [_exception_flag=-fno-handle-exceptions])
  12.966 +    fi
  12.967 +    if test x"${_exception_flag+set}" != x"set"; then
  12.968 +      AC_MSG_WARN([couldn't find a valid option for avoiding exception handling])
  12.969 +    else
  12.970 +      CXXFLAGS="$CXXFLAGS $_exception_flag"
  12.971 +    fi
  12.972 +  fi
  12.973 +else
  12.974 +  if test x"$GXX" != x"yes"; then
  12.975 +    AC_MSG_WARN([--enable-exceptions only has effect when using GNU g++])
  12.976 +  fi
  12.977 +fi
  12.978 +])
  12.979 +
  12.980 +
  12.981 +#   Use this file to store miscellaneous macros related to checking
  12.982 +#   compiler features.
  12.983 +
  12.984 +# Usage:
  12.985 +#   SIM_AC_CC_COMPILER_OPTION(OPTION-TO-TEST, ACTION-IF-TRUE [, ACTION-IF-FALSE])
  12.986 +#   SIM_AC_CXX_COMPILER_OPTION(OPTION-TO-TEST, ACTION-IF-TRUE [, ACTION-IF-FALSE])
  12.987 +#
  12.988 +# Description:
  12.989 +#
  12.990 +#   Check whether the current C or C++ compiler can handle a
  12.991 +#   particular command-line option.
  12.992 +#
  12.993 +#
  12.994 +# Author: Morten Eriksen, <mortene@sim.no>.
  12.995 +#
  12.996 +#   * [mortene:19991218] improve macros by catching and analyzing
  12.997 +#     stderr (at least to see if there was any output there)?
  12.998 +#
  12.999 +
 12.1000 +AC_DEFUN([SIM_AC_COMPILER_OPTION], [
 12.1001 +sim_ac_save_cppflags=$CPPFLAGS
 12.1002 +CPPFLAGS="$CPPFLAGS $1"
 12.1003 +AC_TRY_COMPILE([], [], [sim_ac_accept_result=yes], [sim_ac_accept_result=no])
 12.1004 +AC_MSG_RESULT([$sim_ac_accept_result])
 12.1005 +CPPFLAGS=$sim_ac_save_cppflags
 12.1006 +# This need to go last, in case CPPFLAGS is modified in $2 or $3.
 12.1007 +if test $sim_ac_accept_result = yes; then
 12.1008 +  ifelse($2, , :, $2)
 12.1009 +else
 12.1010 +  ifelse($3, , :, $3)
 12.1011 +fi
 12.1012 +])
 12.1013 +
 12.1014 +AC_DEFUN([SIM_AC_CC_COMPILER_OPTION], [
 12.1015 +AC_LANG_SAVE
 12.1016 +AC_LANG_C
 12.1017 +AC_MSG_CHECKING([whether $CC accepts $1])
 12.1018 +SIM_AC_COMPILER_OPTION($1, $2, $3)
 12.1019 +AC_LANG_RESTORE
 12.1020 +])
 12.1021 +
 12.1022 +AC_DEFUN([SIM_AC_CXX_COMPILER_OPTION], [
 12.1023 +AC_LANG_SAVE
 12.1024 +AC_LANG_CPLUSPLUS
 12.1025 +AC_MSG_CHECKING([whether $CXX accepts $1])
 12.1026 +SIM_AC_COMPILER_OPTION($1, $2, $3)
 12.1027 +AC_LANG_RESTORE
 12.1028 +])
 12.1029 +
 12.1030 +# Usage:
 12.1031 +#  SIM_CHECK_OIV_XT([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
 12.1032 +#
 12.1033 +#  Try to compile and link against the Xt GUI glue library for
 12.1034 +#  the Open Inventor development system. Sets this shell
 12.1035 +#  variable:
 12.1036 +#
 12.1037 +#    $sim_ac_oivxt_libs     (link libraries the linker needs for InventorXt)
 12.1038 +#
 12.1039 +#  The LIBS variable will also be modified accordingly. In addition,
 12.1040 +#  the variable $sim_ac_oivxt_avail is set to "yes" if the Xt glue
 12.1041 +#  library for the Open Inventor development system is found.
 12.1042 +#
 12.1043 +# Author: Morten Eriksen, <mortene@sim.no>.
 12.1044 +#
 12.1045 +
 12.1046 +AC_DEFUN([SIM_CHECK_OIV_XT], [
 12.1047 +sim_ac_oivxt_avail=no
 12.1048 +
 12.1049 +sim_ac_oivxt_libs="-lInventorXt"
 12.1050 +sim_ac_save_libs=$LIBS
 12.1051 +LIBS="$sim_ac_oivxt_libs $LIBS"
 12.1052 +
 12.1053 +AC_CACHE_CHECK([for Xt glue library in the Open Inventor developer kit],
 12.1054 +  sim_cv_lib_oivxt_avail,
 12.1055 +  [AC_TRY_LINK([#include <Inventor/Xt/SoXt.h>],
 12.1056 +               [(void)SoXt::init(0L, 0L);],
 12.1057 +               [sim_cv_lib_oivxt_avail=yes],
 12.1058 +               [sim_cv_lib_oivxt_avail=no])])
 12.1059 +
 12.1060 +if test x"$sim_cv_lib_oivxt_avail" = xyes; then
 12.1061 +  sim_ac_oivxt_avail=yes
 12.1062 +  $1
 12.1063 +else
 12.1064 +  LIBS=$sim_ac_save_libs
 12.1065 +  $2
 12.1066 +fi
 12.1067 +])
 12.1068 +
 12.1069 +# **************************************************************************
 12.1070 +# SIM_AC_WITH_INVENTOR
 12.1071 +# This macro just ensures the --with-inventor option is used.
 12.1072 +
 12.1073 +AC_DEFUN([SIM_AC_WITH_INVENTOR], [
 12.1074 +: ${sim_ac_want_inventor=false}
 12.1075 +AC_ARG_WITH([inventor],
 12.1076 +  AC_HELP_STRING([--with-inventor], [use another Open Inventor than Coin [[default=no]]])
 12.1077 +AC_HELP_STRING([--with-inventor=PATH], [specify where Open Inventor resides]),
 12.1078 +  [case "$withval" in
 12.1079 +  no)  sim_ac_want_inventor=false ;;
 12.1080 +  yes) sim_ac_want_inventor=true
 12.1081 +       test -n "$OIVHOME" &&
 12.1082 +         SIM_AC_DEBACKSLASH(sim_ac_inventor_path, "$OIVHOME") ;;
 12.1083 +  *)   sim_ac_want_inventor=true; sim_ac_inventor_path="$withval" ;;
 12.1084 +  esac])
 12.1085 +]) # SIM_AC_WITH_INVENTOR
 12.1086 +
 12.1087 +# **************************************************************************
 12.1088 +# SIM_AC_HAVE_INVENTOR_IMAGE_IFELSE
 12.1089 +
 12.1090 +AC_DEFUN([SIM_AC_HAVE_INVENTOR_IMAGE_IFELSE], [
 12.1091 +AC_REQUIRE([SIM_AC_WITH_INVENTOR])
 12.1092 +
 12.1093 +if $sim_ac_want_inventor; then
 12.1094 +  sim_ac_inventor_image_save_CPPFLAGS="$CPPFLAGS"
 12.1095 +  sim_ac_inventor_image_save_LDFLAGS="$LDFLAGS"
 12.1096 +  sim_ac_inventor_image_save_LIBS="$LIBS"
 12.1097 +
 12.1098 +  if test s${sim_ac_inventor_path+et} = set; then
 12.1099 +    sim_ac_inventor_image_cppflags="-I${sim_ac_inventor_path}/include"
 12.1100 +    sim_ac_inventor_image_ldflags="-L${sim_ac_inventor_path}/lib"
 12.1101 +  fi
 12.1102 +  sim_ac_inventor_image_libs="-limage"
 12.1103 +
 12.1104 +  AC_CACHE_CHECK(
 12.1105 +    [if linking with libimage is possible],
 12.1106 +    sim_cv_have_inventor_image,
 12.1107 +    [
 12.1108 +    CPPFLAGS="$sim_ac_inventor_image_cppflags $CPPFLAGS"
 12.1109 +    LDFLAGS="$sim_ac_inventor_image_ldflags $LDFLAGS"
 12.1110 +    LIBS="$sim_ac_inventor_image_libs $LIBS"
 12.1111 +    AC_TRY_LINK(
 12.1112 +      [],
 12.1113 +      [],
 12.1114 +      [sim_cv_have_inventor_image=true],
 12.1115 +      [sim_cv_have_inventor_image=false])
 12.1116 +    CPPFLAGS="$sim_ac_inventor_image_save_CPPFLAGS"
 12.1117 +    LDFLAGS="$sim_ac_inventor_image_save_LDFLAGS"
 12.1118 +    LIBS="$sim_ac_inventor_image_save_LIBS"
 12.1119 +    ])
 12.1120 +
 12.1121 +  if $sim_cv_have_inventor_image; then
 12.1122 +    ifelse([$1], , :, [$1])
 12.1123 +  else
 12.1124 +    ifelse([$2], , :, [$2])
 12.1125 +  fi
 12.1126 +else
 12.1127 +  ifelse([$2], , :, [$2])
 12.1128 +fi
 12.1129 +]) # SIM_AC_HAVE_INVENTOR_IMAGE_IFELSE
 12.1130 +
 12.1131 +# **************************************************************************
 12.1132 +# SIM_AC_HAVE_INVENTOR_IFELSE( [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND] ] )
 12.1133 +#
 12.1134 +# Defines $sim_ac_inventor_cppflags, $sim_ac_inventor_ldflags and
 12.1135 +# $sim_ac_inventor_libs.
 12.1136 +
 12.1137 +AC_DEFUN([SIM_AC_HAVE_INVENTOR_IFELSE], [
 12.1138 +AC_REQUIRE([SIM_AC_WITH_INVENTOR])
 12.1139 +
 12.1140 +if $sim_ac_want_inventor; then
 12.1141 +  sim_ac_save_CPPFLAGS="$CPPFLAGS";
 12.1142 +  sim_ac_save_LDFLAGS="$LDFLAGS";
 12.1143 +  sim_ac_save_LIBS="$LIBS";
 12.1144 +
 12.1145 +  SIM_AC_HAVE_INVENTOR_IMAGE_IFELSE([
 12.1146 +    sim_ac_inventor_cppflags="$sim_ac_inventor_image_cppflags"
 12.1147 +    sim_ac_inventor_ldflags="$sim_ac_inventor_image_ldflags"
 12.1148 +  ], [
 12.1149 +    if test s${sim_ac_inventor_path+et} = set; then
 12.1150 +      sim_ac_inventor_cppflags="-I${sim_ac_inventor_path}/include"
 12.1151 +      sim_ac_inventor_ldflags="-L${sim_ac_inventor_path}/lib"
 12.1152 +    fi
 12.1153 +    sim_ac_inventor_image_libs=
 12.1154 +  ])
 12.1155 +
 12.1156 +  # Let's at least test for "libInventor".
 12.1157 +  sim_ac_inventor_chk_libs="-lInventor"
 12.1158 +
 12.1159 +  # See if we can get the TGS_VERSION number for including a
 12.1160 +  # check for inv{ver}.lib.
 12.1161 +    cat <<EOF > conftest.c
 12.1162 +#include <Inventor/SbBasic.h>
 12.1163 +PeekInventorVersion: TGS_VERSION
 12.1164 +EOF
 12.1165 +  tgs_version=`$CPP $sim_ac_inventor_cppflags $CPPFLAGS conftest.c 2>/dev/null | grep "^PeekInventorVersion" | sed 's/.* //g'`
 12.1166 +  rm -f conftest.c
 12.1167 +  if test x"$tgs_version" != xTGS_VERSION; then
 12.1168 +    tgs_version=`echo $tgs_version | cut -c-3`
 12.1169 +    sim_ac_inventor_chk_libs="$sim_ac_inventor_chk_libs -linv${tgs_version}"
 12.1170 +  fi
 12.1171 +
 12.1172 +  AC_MSG_CHECKING([for Open Inventor library])
 12.1173 +  sim_ac_inventor_libs=UNRESOLVED
 12.1174 +
 12.1175 +  for sim_ac_iv_cppflags_loop in "" "-DWIN32"; do
 12.1176 +    for sim_ac_iv_libcheck in $sim_ac_inventor_chk_libs; do
 12.1177 +      if test "x$sim_ac_inventor_libs" = "xUNRESOLVED"; then
 12.1178 +        CPPFLAGS="$sim_ac_iv_cppflags_loop $sim_ac_inventor_cppflags $sim_ac_save_CPPFLAGS"
 12.1179 +        LDFLAGS="$sim_ac_inventor_ldflags $sim_ac_save_LDFLAGS"
 12.1180 +        LIBS="$sim_ac_iv_libcheck $sim_ac_inventor_image_libs $sim_ac_save_LIBS"
 12.1181 +        AC_TRY_LINK([#include <Inventor/SoDB.h>],
 12.1182 +                    [SoDB::init();],
 12.1183 +                    [sim_ac_inventor_libs="$sim_ac_iv_libcheck $sim_ac_inventor_image_libs"
 12.1184 +                     sim_ac_inventor_cppflags="$sim_ac_iv_cppflags_loop $sim_ac_inventor_cppflags"])
 12.1185 +      fi
 12.1186 +    done
 12.1187 +  done
 12.1188 +
 12.1189 +  CPPFLAGS="$sim_ac_save_CPPFLAGS"
 12.1190 +  LDFLAGS="$sim_ac_save_LDFLAGS"
 12.1191 +  LIBS="$sim_ac_save_LIBS"
 12.1192 +
 12.1193 +  if test "x$sim_ac_inventor_libs" != "xUNRESOLVED"; then
 12.1194 +    AC_MSG_RESULT($sim_ac_inventor_cppflags $sim_ac_inventor_ldflags $sim_ac_inventor_libs)
 12.1195 +    $1
 12.1196 +  else
 12.1197 +    AC_MSG_RESULT([unavailable])
 12.1198 +    $2
 12.1199 +  fi
 12.1200 +else
 12.1201 +  ifelse([$2], , :, [$2])
 12.1202 +fi
 12.1203 +]) # SIM_AC_HAVE_INVENTOR_IFELSE
 12.1204 +
 12.1205 +# **************************************************************************
 12.1206 +
 12.1207 +# utility macros:
 12.1208 +AC_DEFUN([AC_TOUPPER], [translit([$1], [[a-z]], [[A-Z]])])
 12.1209 +AC_DEFUN([AC_TOLOWER], [translit([$1], [[A-Z]], [[a-z]])])
 12.1210 +
 12.1211 +# **************************************************************************
 12.1212 +# SIM_AC_HAVE_INVENTOR_NODE( NODE, [ACTION-IF-FOUND] [, ACTION-IF-NOT-FOUND])
 12.1213 +#
 12.1214 +# Check whether or not the given NODE is available in the Open Inventor
 12.1215 +# development system.  If so, the HAVE_<NODE> define is set.
 12.1216 +#
 12.1217 +# Authors:
 12.1218 +#   Lars J. Aas  <larsa@sim.no>
 12.1219 +#   Morten Eriksen  <mortene@sim.no>
 12.1220 +
 12.1221 +AC_DEFUN([SIM_AC_HAVE_INVENTOR_NODE], 
 12.1222 +[m4_do([pushdef([cache_variable], sim_cv_have_oiv_[]AC_TOLOWER([$1])_node)],
 12.1223 +       [pushdef([DEFINE_VARIABLE], HAVE_[]AC_TOUPPER([$1]))])
 12.1224 +AC_CACHE_CHECK(
 12.1225 +  [if the Open Inventor $1 node is available],
 12.1226 +  cache_variable,
 12.1227 +  [AC_TRY_LINK(
 12.1228 +    [#include <Inventor/nodes/$1.h>],
 12.1229 +    [$1 * p = new $1;],
 12.1230 +    cache_variable=true,
 12.1231 +    cache_variable=false)])
 12.1232 +
 12.1233 +if $cache_variable; then
 12.1234 +  AC_DEFINE(DEFINE_VARIABLE, 1, [Define to enable use of the Open Inventor $1 node])
 12.1235 +  $2
 12.1236 +else
 12.1237 +  ifelse([$3], , :, [$3])
 12.1238 +fi
 12.1239 +m4_do([popdef([cache_variable])],
 12.1240 +      [popdef([DEFINE_VARIABLE])])
 12.1241 +]) # SIM_AC_HAVE_INVENTOR_NODE
 12.1242 +
 12.1243 +# **************************************************************************
 12.1244 +# SIM_AC_HAVE_INVENTOR_FEATURE(MESSAGE, HEADERS, BODY, DEFINE
 12.1245 +#                              [, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
 12.1246 +#
 12.1247 +# Authors:
 12.1248 +#   Morten Eriksen <mortene@sim.no>
 12.1249 +
 12.1250 +AC_DEFUN([SIM_AC_HAVE_INVENTOR_FEATURE],
 12.1251 +[m4_do([pushdef([cache_variable], sim_cv_have_oiv_[]AC_TOLOWER([$4]))],
 12.1252 +       [pushdef([DEFINE_VARIABLE], AC_TOUPPER([$4]))])
 12.1253 +AC_CACHE_CHECK(
 12.1254 +  [$1],
 12.1255 +  cache_variable,
 12.1256 +  [AC_TRY_LINK(
 12.1257 +    [$2],
 12.1258 +    [$3],
 12.1259 +    cache_variable=true,
 12.1260 +    cache_variable=false)])
 12.1261 +
 12.1262 +if $cache_variable; then
 12.1263 +  AC_DEFINE(DEFINE_VARIABLE, 1, [Define to enable use of Inventor feature])
 12.1264 +  $5
 12.1265 +else
 12.1266 +  ifelse([$6], , :, [$6])
 12.1267 +fi
 12.1268 +m4_do([popdef([cache_variable])],
 12.1269 +      [popdef([DEFINE_VARIABLE])])
 12.1270 +]) # SIM_AC_HAVE_INVENTOR_FEATURE
 12.1271 +
 12.1272 +
 12.1273 +# Convenience macros SIM_AC_DEBACKSLASH and SIM_AC_DOBACKSLASH for
 12.1274 +# converting to and from MSWin/MS-DOS style paths.
 12.1275 +#
 12.1276 +# Example use:
 12.1277 +#
 12.1278 +#     SIM_AC_DEBACKSLASH(my_ac_reversed, "C:\\mydir\\bin")
 12.1279 +#
 12.1280 +# will give a shell variable $my_ac_reversed with the value "C:/mydir/bin").
 12.1281 +# Vice versa for SIM_AC_DOBACKSLASH.
 12.1282 +#
 12.1283 +# Author: Marius Bugge Monsen <mariusbu@sim.no>
 12.1284 +#         Lars Jørgen Aas <larsa@sim.no>
 12.1285 +#         Morten Eriksen <mortene@sim.no>
 12.1286 +
 12.1287 +AC_DEFUN([SIM_AC_DEBACKSLASH], [
 12.1288 +eval "$1=\"`echo $2 | sed -e 's%\\\\%\\/%g'`\""
 12.1289 +])
 12.1290 +
 12.1291 +AC_DEFUN([SIM_AC_DOBACKSLASH], [
 12.1292 +eval "$1=\"`echo $2 | sed -e 's%\\/%\\\\%g'`\""
 12.1293 +])
 12.1294 +
 12.1295 +AC_DEFUN([SIM_AC_DODOUBLEBACKSLASH], [
 12.1296 +eval "$1=\"`echo $2 | sed -e 's%\\/%\\\\\\\\\\\\\\\\%g'`\""
 12.1297 +])
 12.1298 +
 12.1299 +
 12.1300 +# Usage:
 12.1301 +#   SIM_AC_HAVE_COIN_IFELSE( IF-FOUND, IF-NOT-FOUND )
 12.1302 +#
 12.1303 +# Description:
 12.1304 +#   This macro locates the Coin development system.  If it is found,
 12.1305 +#   the set of variables listed below are set up as described and made
 12.1306 +#   available to the configure script.
 12.1307 +#
 12.1308 +#   The $sim_ac_coin_desired variable can be set to false externally to
 12.1309 +#   make Coin default to be excluded.
 12.1310 +#
 12.1311 +# Autoconf Variables:
 12.1312 +# > $sim_ac_coin_desired     true | false (defaults to true)
 12.1313 +# < $sim_ac_coin_avail       true | false
 12.1314 +# < $sim_ac_coin_cppflags    (extra flags the preprocessor needs)
 12.1315 +# < $sim_ac_coin_ldflags     (extra flags the linker needs)
 12.1316 +# < $sim_ac_coin_libs        (link library flags the linker needs)
 12.1317 +# < $sim_ac_coin_datadir     (location of Coin data files)
 12.1318 +# < $sim_ac_coin_version     (the libCoin version)
 12.1319 +#
 12.1320 +# Authors:
 12.1321 +#   Lars J. Aas, <larsa@sim.no>
 12.1322 +#   Morten Eriksen, <mortene@sim.no>
 12.1323 +#
 12.1324 +# TODO:
 12.1325 +#
 12.1326 +
 12.1327 +AC_DEFUN([SIM_AC_HAVE_COIN_IFELSE], [
 12.1328 +AC_PREREQ([2.14a])
 12.1329 +
 12.1330 +# official variables
 12.1331 +sim_ac_coin_avail=false
 12.1332 +sim_ac_coin_cppflags=
 12.1333 +sim_ac_coin_ldflags=
 12.1334 +sim_ac_coin_libs=
 12.1335 +sim_ac_coin_datadir=
 12.1336 +sim_ac_coin_version=
 12.1337 +
 12.1338 +# internal variables
 12.1339 +: ${sim_ac_coin_desired=true}
 12.1340 +sim_ac_coin_extrapath=
 12.1341 +
 12.1342 +AC_ARG_WITH([coin],
 12.1343 +AC_HELP_STRING([--with-coin], [enable use of Coin [[default=yes]]])
 12.1344 +AC_HELP_STRING([--with-coin=DIR], [give prefix location of Coin]),
 12.1345 +  [ case $withval in
 12.1346 +    no)  sim_ac_coin_desired=false ;;
 12.1347 +    yes) sim_ac_coin_desired=true ;;
 12.1348 +    *)   sim_ac_coin_desired=true
 12.1349 +         sim_ac_coin_extrapath=$withval ;;
 12.1350 +    esac],
 12.1351 +  [])
 12.1352 +
 12.1353 +if $sim_ac_coin_desired; then
 12.1354 +  sim_ac_path=$PATH
 12.1355 +  test -z "$sim_ac_coin_extrapath" || ## search in --with-coin path
 12.1356 +    sim_ac_path=$sim_ac_coin_extrapath/bin:$sim_ac_path
 12.1357 +  test x"$prefix" = xNONE ||          ## search in --prefix path
 12.1358 +    sim_ac_path=$sim_ac_path:$prefix/bin
 12.1359 +
 12.1360 +  AC_PATH_PROG(sim_ac_coin_configcmd, coin-config, false, $sim_ac_path)
 12.1361 +  if $sim_ac_coin_configcmd; then
 12.1362 +# FIXME: use --alternate=$CONFIG or nothing (in case of old script)
 12.1363 +#    test -n "`echo -- $CPPFLAGS $CFLAGS $CXXFLAGS | grep -- '-g\\>'`" &&
 12.1364 +#      sim_ac_coin_configcmd="$sim_ac_coin_configcmd --debug"
 12.1365 +    sim_ac_coin_cppflags=`$sim_ac_coin_configcmd --cppflags`
 12.1366 +    sim_ac_coin_ldflags=`$sim_ac_coin_configcmd --ldflags`
 12.1367 +    sim_ac_coin_libs=`$sim_ac_coin_configcmd --libs`
 12.1368 +    sim_ac_coin_datadir=`$sim_ac_coin_configcmd --datadir`
 12.1369 +    sim_ac_coin_version=`$sim_ac_coin_configcmd --version`
 12.1370 +    AC_CACHE_CHECK(
 12.1371 +      [whether libCoin is available],
 12.1372 +      sim_cv_coin_avail,
 12.1373 +      [sim_ac_save_cppflags=$CPPFLAGS
 12.1374 +      sim_ac_save_ldflags=$LDFLAGS
 12.1375 +      sim_ac_save_libs=$LIBS
 12.1376 +      CPPFLAGS="$CPPFLAGS $sim_ac_coin_cppflags"
 12.1377 +      LDFLAGS="$LDFLAGS $sim_ac_coin_ldflags"
 12.1378 +      LIBS="$sim_ac_coin_libs $LIBS"
 12.1379 +      AC_LANG_PUSH(C++)
 12.1380 +      AC_TRY_LINK(
 12.1381 +        [#include <Inventor/SoDB.h>],
 12.1382 +        [SoDB::init();],
 12.1383 +        [sim_cv_coin_avail=true],
 12.1384 +        [sim_cv_coin_avail=false])
 12.1385 +      AC_LANG_POP
 12.1386 +      CPPFLAGS=$sim_ac_save_cppflags
 12.1387 +      LDFLAGS=$sim_ac_save_ldflags
 12.1388 +      LIBS=$sim_ac_save_libs
 12.1389 +    ])
 12.1390 +    sim_ac_coin_avail=$sim_cv_coin_avail
 12.1391 +  else
 12.1392 +    locations=`IFS=:; for p in $sim_ac_path; do echo " -> $p/coin-config"; done`
 12.1393 +    AC_MSG_WARN([cannot find 'coin-config' at any of these locations:
 12.1394 +$locations])
 12.1395 +  fi
 12.1396 +fi
 12.1397 +
 12.1398 +if $sim_ac_coin_avail; then
 12.1399 +  ifelse([$1], , :, [$1])
 12.1400 +else
 12.1401 +  ifelse([$2], , :, [$2])
 12.1402 +fi
 12.1403 +]) # SIM_AC_HAVE_COIN_IFELSE()
 12.1404 +
 12.1405 +
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/bootstrap	Fri Feb 02 17:05:34 2001 +0000
    13.3 @@ -0,0 +1,133 @@
    13.4 +#!/bin/sh
    13.5 +
    13.6 +# Regenerate all files which are constructed by the autoconf, automake
    13.7 +# and libtool tool-chain. Note: only developers should need to use
    13.8 +# this script.
    13.9 +
   13.10 +# Author: Morten Eriksen, <mortene@sim.no>.
   13.11 +
   13.12 +
   13.13 +wd=`echo "$0" | sed 's,[^\/]*$,,g'`;
   13.14 +me=`echo "$0" | sed 's,^.*/,,g'`;
   13.15 +
   13.16 +cd $wd
   13.17 +if test ! -f ./"$me"; then
   13.18 +  echo >&2 "$me: error: unexpected problem with your shell - bailing out"
   13.19 +  exit 1
   13.20 +fi
   13.21 +
   13.22 +if test x"$@" = x"" -a ! -f cfg/mkinstalldirs; then
   13.23 +  echo "$me: assuming '--add' was meant."
   13.24 +  set : --add
   13.25 +  shift
   13.26 +fi
   13.27 +
   13.28 +AUTOCONF_VER=2.49[cde]  # Autoconf from CVS
   13.29 +AUTOMAKE_VER=1.4[cde]   # Automake from CVS
   13.30 +LIBTOOL_VER=1.3.5
   13.31 +
   13.32 +PROJECT=Coin
   13.33 +MACRODIR=cfg/m4
   13.34 +AUTOMAKE_ADD=
   13.35 +
   13.36 +libtoolize=false
   13.37 +if test "$1" = "--clean"; then
   13.38 +  rm -f aclocal.m4 \
   13.39 +        config.h.in \
   13.40 +        stamp-h*
   13.41 +  ( cd cfg;
   13.42 +    rm -f aclocal.m4 \
   13.43 +          config.guess \
   13.44 +          config.sub \
   13.45 +          configure \
   13.46 +          depcomp \
   13.47 +          install-sh \
   13.48 +          ltconfig \
   13.49 +          ltmain.sh \
   13.50 +          missing \
   13.51 +          mkinstalldirs \
   13.52 +          ltcf-*.sh
   13.53 +  )
   13.54 +  find . -name Makefile.in -print | grep -v "^./data/" | xargs rm -f
   13.55 +  exit
   13.56 +elif test "$1" = "--add"; then
   13.57 +  AUTOMAKE_ADD="--add-missing --gnu --copy"
   13.58 +  libtoolize=true
   13.59 +fi
   13.60 +
   13.61 +echo "Checking the installed configuration tools..."
   13.62 +
   13.63 +if test -z "`autoconf --version 2>/dev/null | grep \" $AUTOCONF_VER\"`"; then
   13.64 +    echo ""
   13.65 +    echo "You must have autoconf version $AUTOCONF_VER installed to"
   13.66 +    echo "generate configure information and Makefiles for $PROJECT."
   13.67 +    echo ""
   13.68 +    echo "(The Autoconf version we are using is the bleeding edge"
   13.69 +    echo "from the CVS repository.)"
   13.70 +    DIE=true
   13.71 +fi
   13.72 +
   13.73 +if test -z "`automake --version 2>/dev/null | grep \" $AUTOMAKE_VER\"`"; then
   13.74 +    echo ""
   13.75 +    echo "You must have automake version $AUTOMAKE_VER installed to"
   13.76 +    echo "generate configure information and Makefiles for $PROJECT."
   13.77 +    echo ""
   13.78 +    echo "(The Automake version we are using is the bleeding edge"
   13.79 +    echo "from the CVS repository.)"
   13.80 +    DIE=true
   13.81 +fi
   13.82 +
   13.83 +if test -z "`libtool --version 2>/dev/null | egrep \"$LIBTOOL_VER\"`"; then
   13.84 +    echo ""
   13.85 +    echo "You must have libtool version $LIBTOOL_VER installed to"
   13.86 +    echo "generate configure information and Makefiles for $PROJECT."
   13.87 +    echo ""
   13.88 +    echo "Get ftp://ftp.gnu.org/pub/gnu/libtool/libtool-1.3.5.tar.gz"
   13.89 +    DIE=true
   13.90 +fi
   13.91 +
   13.92 +# The separate $MACRODIR module was added late in the project, and
   13.93 +# since we need to do a cvs checkout to obtain it (cvs update won't do
   13.94 +# with modules), we run this check.
   13.95 +
   13.96 +if test ! -d $MACRODIR; then
   13.97 +    cvs -z3 checkout -P $MACRODIR
   13.98 +    if test ! -d $MACRODIR; then
   13.99 +        echo ""
  13.100 +	echo "Couldn't fetch $MACRODIR module!"
  13.101 +        echo ""
  13.102 +        echo "Directory ``$MACRODIR'' (a separate CVS module) seems to be missing."
  13.103 +        echo "You probably checked out $PROJECT before ``$MACRODIR'' was added."
  13.104 +        echo "Run 'cvs -d :pserver:cvs@cvs.sim.no:/export/cvsroot co $MACRODIR'"
  13.105 +        echo "to try again."
  13.106 +	DIE=true
  13.107 +    fi
  13.108 +fi
  13.109 +
  13.110 +# abnormal exit?
  13.111 +${DIE=false} && echo "" && echo "Aborted." && exit 1
  13.112 +
  13.113 +# **************************************************************************
  13.114 +
  13.115 +echo "Running aclocal (generating aclocal.m4)..."
  13.116 +aclocal -I $MACRODIR
  13.117 +
  13.118 +if $libtoolize; then
  13.119 +  libtoolize --copy --force
  13.120 +  ( cd cfg;
  13.121 +    test -f ltmain.sh.diff && patch -p0 < ltmain.sh.diff
  13.122 +    test -f ltconfig.diff  && patch -p0 < ltconfig.diff
  13.123 +  )
  13.124 +fi
  13.125 +
  13.126 +echo "Running autoconf (generating the configure script)..."
  13.127 +( autoconf 3>&1 1>&2 2>&3 | grep -v AR_FLAGS) 3>&1 1>&2 2>&3
  13.128 +
  13.129 +echo "Running autoheader (generating config.h.in)..."
  13.130 +autoheader
  13.131 +
  13.132 +echo "Running automake (generating the Makefile.in files)..."
  13.133 +automake $AUTOMAKE_ADD
  13.134 +
  13.135 +echo "Done."
  13.136 +
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/config.h.in	Fri Feb 02 17:05:34 2001 +0000
    14.3 @@ -0,0 +1,22 @@
    14.4 +/* config.h.in.  Generated automatically from configure.in by autoheader.  */
    14.5 +
    14.6 +/* Define if you have the <windows.h> header file. */
    14.7 +#undef HAVE_WINDOWS_H
    14.8 +
    14.9 +/* Name of package */
   14.10 +#undef PACKAGE
   14.11 +
   14.12 +/* define this to the libSmallchange major version number */
   14.13 +#undef SMALLCHANGE_MAJOR_VERSION
   14.14 +
   14.15 +/* define this to the libSmallchange release version number */
   14.16 +#undef SMALLCHANGE_MICRO_VERSION
   14.17 +
   14.18 +/* define this to the libSmallchange minor version number */
   14.19 +#undef SMALLCHANGE_MINOR_VERSION
   14.20 +
   14.21 +/* define this to the full libSmallchange major.minor.micro version number */
   14.22 +#undef SMALLCHANGE_VERSION
   14.23 +
   14.24 +/* Version number of package */
   14.25 +#undef VERSION
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/configure	Fri Feb 02 17:05:34 2001 +0000
    15.3 @@ -0,0 +1,4927 @@
    15.4 +#! /bin/sh
    15.5 +# Guess values for system-dependent variables and create Makefiles.
    15.6 +# Generated by Autoconf 2.49d.
    15.7 +#
    15.8 +# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
    15.9 +# Free Software Foundation, Inc.
   15.10 +# This configure script is free software; the Free Software Foundation
   15.11 +# gives unlimited permission to copy, distribute and modify it.
   15.12 +
   15.13 +# Be Bourne compatible
   15.14 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   15.15 +  emulate sh
   15.16 +  NULLCMD=:
   15.17 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   15.18 +  set -o posix
   15.19 +fi
   15.20 +
   15.21 +if expr a : '\(a\)' >/dev/null 2>&1; then
   15.22 +  as_expr=expr
   15.23 +else
   15.24 +  as_expr=false
   15.25 +fi
   15.26 +
   15.27 +rm -f conftest conftest.exe conftest.file
   15.28 +echo >conftest.file
   15.29 +if ln -s conftest.file conftest 2>/dev/null; then
   15.30 +  # We could just check for DJGPP; but this test a) works b) is more generic
   15.31 +  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   15.32 +  if test -f conftest.exe; then
   15.33 +    # Don't use ln at all; we don't have any links
   15.34 +    as_ln_s='cp -p'
   15.35 +  else
   15.36 +    as_ln_s='ln -s'
   15.37 +  fi
   15.38 +elif ln conftest.file conftest 2>/dev/null; then
   15.39 +  as_ln_s=ln
   15.40 +else
   15.41 +  as_ln_s='cp -p'
   15.42 +fi
   15.43 +rm -f conftest conftest.exe conftest.file
   15.44 +
   15.45 +# Find out how to test for executable files. Don't use a zero-byte file,
   15.46 +# as systems may use methods other than mode bits to determine executability.
   15.47 +cat >conftest.file <<_ASEOF
   15.48 +#! /bin/sh
   15.49 +exit 0
   15.50 +_ASEOF
   15.51 +chmod +x conftest.file
   15.52 +if test -x conftest.file >/dev/null 2>&1; then
   15.53 +  as_executable_p="test -x"
   15.54 +elif test -f conftest.file >/dev/null 2>&1; then
   15.55 +  as_executable_p="test -f"
   15.56 +else
   15.57 +  { { echo "$as_me:54: error: cannot check whether a file is executable on this system" >&5
   15.58 +echo "$as_me: error: cannot check whether a file is executable on this system" >&2;}
   15.59 +   { (exit 1); exit 1; }; }
   15.60 +fi
   15.61 +rm -f conftest.file
   15.62 +
   15.63 +# Support unset when possible.
   15.64 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
   15.65 +  as_unset=unset
   15.66 +else
   15.67 +  as_unset=false
   15.68 +fi
   15.69 +
   15.70 +# NLS nuisances.
   15.71 +$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
   15.72 +$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
   15.73 +$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
   15.74 +$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
   15.75 +$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
   15.76 +$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
   15.77 +$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
   15.78 +$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
   15.79 +
   15.80 +# IFS
   15.81 +# We need space, tab and new line, in precisely that order.
   15.82 +as_nl='
   15.83 +'
   15.84 +IFS=" 	$as_nl"
   15.85 +
   15.86 +# CDPATH.
   15.87 +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
   15.88 +
   15.89 +# Name of the host.
   15.90 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   15.91 +# so uname gets run too.
   15.92 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   15.93 +
   15.94 +# Name of the executable.
   15.95 +as_me=`echo "$0" | sed 's,.*/,,'`
   15.96 +
   15.97 +cat >config.log <<EOF
   15.98 +This file contains any messages produced by compilers while
   15.99 +running configure, to aid debugging if configure makes a mistake.
  15.100 +
  15.101 +It was created by $as_me 2.49d, executed with
  15.102 + > $0 $@
  15.103 +
  15.104 +EOF
  15.105 +{
  15.106 +cat <<_ASUNAME
  15.107 +## ---------- ##
  15.108 +## Platform.  ##
  15.109 +## ---------- ##
  15.110 +
  15.111 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  15.112 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  15.113 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  15.114 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  15.115 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  15.116 +
  15.117 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  15.118 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  15.119 +
  15.120 +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  15.121 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  15.122 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  15.123 +hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  15.124 +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  15.125 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  15.126 +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  15.127 +
  15.128 +PATH = $PATH
  15.129 +
  15.130 +_ASUNAME
  15.131 +} >>config.log
  15.132 +
  15.133 +cat >>config.log <<EOF
  15.134 +## ------------ ##
  15.135 +## Core tests.  ##
  15.136 +## ------------ ##
  15.137 +
  15.138 +EOF
  15.139 +
  15.140 +# File descriptor usage:
  15.141 +# 0 standard input
  15.142 +# 1 file creation
  15.143 +# 2 errors and warnings
  15.144 +# 5 compiler messages saved in config.log
  15.145 +# 6 checking for... messages and results
  15.146 +exec 5>>config.log
  15.147 +exec 6>&1
  15.148 +
  15.149 +#
  15.150 +# Initializations.
  15.151 +#
  15.152 +ac_default_prefix=/usr/local
  15.153 +cross_compiling=no
  15.154 +subdirs=
  15.155 +MFLAGS= MAKEFLAGS=
  15.156 +SHELL=${CONFIG_SHELL-/bin/sh}
  15.157 +
  15.158 +# Maximum number of lines to put in a shell here document.
  15.159 +# This variable seems obsolete.  It should probably be removed, and
  15.160 +# only ac_max_sed_lines should be used.
  15.161 +: ${ac_max_here_lines=38}
  15.162 +
  15.163 +# Avoid depending upon Character Ranges.
  15.164 +ac_cr_az='abcdefghijklmnopqrstuvwxyz'
  15.165 +ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  15.166 +ac_cr_09='0123456789'
  15.167 +ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
  15.168 +
  15.169 +# Sed expression to map a string onto a valid sh and CPP variable names.
  15.170 +ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
  15.171 +ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
  15.172 +
  15.173 +ac_unique_file="src/nodes/DepthBuffer.cpp"
  15.174 +
  15.175 +# Initialize some variables set by options.
  15.176 +ac_init_help=
  15.177 +ac_init_version=false
  15.178 +# The variables have the same names as the options, with
  15.179 +# dashes changed to underlines.
  15.180 +cache_file=/dev/null
  15.181 +exec_prefix=NONE
  15.182 +no_create=
  15.183 +no_recursion=
  15.184 +prefix=NONE
  15.185 +program_prefix=NONE
  15.186 +program_suffix=NONE
  15.187 +program_transform_name=s,x,x,
  15.188 +silent=
  15.189 +site=
  15.190 +srcdir=
  15.191 +verbose=
  15.192 +x_includes=NONE
  15.193 +x_libraries=NONE
  15.194 +
  15.195 +# Installation directory options.
  15.196 +# These are left unexpanded so users can "make install exec_prefix=/foo"
  15.197 +# and all the variables that are supposed to be based on exec_prefix
  15.198 +# by default will actually change.
  15.199 +# Use braces instead of parens because sh, perl, etc. also accept them.
  15.200 +bindir='${exec_prefix}/bin'
  15.201 +sbindir='${exec_prefix}/sbin'
  15.202 +libexecdir='${exec_prefix}/libexec'
  15.203 +datadir='${prefix}/share'
  15.204 +sysconfdir='${prefix}/etc'
  15.205 +sharedstatedir='${prefix}/com'
  15.206 +localstatedir='${prefix}/var'
  15.207 +libdir='${exec_prefix}/lib'
  15.208 +includedir='${prefix}/include'
  15.209 +oldincludedir='/usr/include'
  15.210 +infodir='${prefix}/info'
  15.211 +mandir='${prefix}/man'
  15.212 +
  15.213 +# Identity of this package.
  15.214 +PACKAGE_NAME=
  15.215 +PACKAGE_TARNAME=
  15.216 +PACKAGE_VERSION=
  15.217 +PACKAGE_STRING=
  15.218 +PACKAGE_BUGREPORT=
  15.219 +
  15.220 +ac_prev=
  15.221 +for ac_option
  15.222 +do
  15.223 +  # If the previous option needs an argument, assign it.
  15.224 +  if test -n "$ac_prev"; then
  15.225 +    eval "$ac_prev=\$ac_option"
  15.226 +    ac_prev=
  15.227 +    continue
  15.228 +  fi
  15.229 +
  15.230 +  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  15.231 +
  15.232 +  # Accept the important Cygnus configure options, so we can diagnose typos.
  15.233 +
  15.234 +  case $ac_option in
  15.235 +
  15.236 +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  15.237 +    ac_prev=bindir ;;
  15.238 +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  15.239 +    bindir=$ac_optarg ;;
  15.240 +
  15.241 +  -build | --build | --buil | --bui | --bu)
  15.242 +    ac_prev=build_alias ;;
  15.243 +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  15.244 +    build_alias=$ac_optarg ;;
  15.245 +
  15.246 +  -cache-file | --cache-file | --cache-fil | --cache-fi \
  15.247 +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  15.248 +    ac_prev=cache_file ;;
  15.249 +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  15.250 +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  15.251 +    cache_file=$ac_optarg ;;
  15.252 +
  15.253 +  --config-cache | -C)
  15.254 +    cache_file=config.cache ;;
  15.255 +
  15.256 +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  15.257 +    ac_prev=datadir ;;
  15.258 +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  15.259 +  | --da=*)
  15.260 +    datadir=$ac_optarg ;;
  15.261 +
  15.262 +  -disable-* | --disable-*)
  15.263 +    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  15.264 +    # Reject names that are not valid shell variable names.
  15.265 +    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
  15.266 +      { { echo "$as_me:263: error: invalid feature name: $ac_feature" >&5
  15.267 +echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
  15.268 +   { (exit 1); exit 1; }; }
  15.269 +    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  15.270 +    eval "enable_$ac_feature=no" ;;
  15.271 +
  15.272 +  -enable-* | --enable-*)
  15.273 +    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  15.274 +    # Reject names that are not valid shell variable names.
  15.275 +    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
  15.276 +      { { echo "$as_me:273: error: invalid feature name: $ac_feature" >&5
  15.277 +echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
  15.278 +   { (exit 1); exit 1; }; }
  15.279 +    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  15.280 +    case $ac_option in
  15.281 +      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  15.282 +      *) ac_optarg=yes ;;
  15.283 +    esac
  15.284 +    eval "enable_$ac_feature='$ac_optarg'" ;;
  15.285 +
  15.286 +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  15.287 +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  15.288 +  | --exec | --exe | --ex)
  15.289 +    ac_prev=exec_prefix ;;
  15.290 +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  15.291 +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  15.292 +  | --exec=* | --exe=* | --ex=*)
  15.293 +    exec_prefix=$ac_optarg ;;
  15.294 +
  15.295 +  -gas | --gas | --ga | --g)
  15.296 +    # Obsolete; use --with-gas.
  15.297 +    with_gas=yes ;;
  15.298 +
  15.299 +  -help | --help | --hel | --he | -h)
  15.300 +    ac_init_help=long ;;
  15.301 +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  15.302 +    ac_init_help=recursive ;;
  15.303 +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  15.304 +    ac_init_help=short ;;
  15.305 +
  15.306 +  -host | --host | --hos | --ho)
  15.307 +    ac_prev=host_alias ;;
  15.308 +  -host=* | --host=* | --hos=* | --ho=*)
  15.309 +    host_alias=$ac_optarg ;;
  15.310 +
  15.311 +  -includedir | --includedir | --includedi | --included | --include \
  15.312 +  | --includ | --inclu | --incl | --inc)
  15.313 +    ac_prev=includedir ;;
  15.314 +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  15.315 +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  15.316 +    includedir=$ac_optarg ;;
  15.317 +
  15.318 +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  15.319 +    ac_prev=infodir ;;
  15.320 +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  15.321 +    infodir=$ac_optarg ;;
  15.322 +
  15.323 +  -libdir | --libdir | --libdi | --libd)
  15.324 +    ac_prev=libdir ;;
  15.325 +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  15.326 +    libdir=$ac_optarg ;;
  15.327 +
  15.328 +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  15.329 +  | --libexe | --libex | --libe)
  15.330 +    ac_prev=libexecdir ;;
  15.331 +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  15.332 +  | --libexe=* | --libex=* | --libe=*)
  15.333 +    libexecdir=$ac_optarg ;;
  15.334 +
  15.335 +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  15.336 +  | --localstate | --localstat | --localsta | --localst \
  15.337 +  | --locals | --local | --loca | --loc | --lo)
  15.338 +    ac_prev=localstatedir ;;
  15.339 +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  15.340 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  15.341 +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  15.342 +    localstatedir=$ac_optarg ;;
  15.343 +
  15.344 +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  15.345 +    ac_prev=mandir ;;
  15.346 +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  15.347 +    mandir=$ac_optarg ;;
  15.348 +
  15.349 +  -nfp | --nfp | --nf)
  15.350 +    # Obsolete; use --without-fp.
  15.351 +    with_fp=no ;;
  15.352 +
  15.353 +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  15.354 +  | --no-cr | --no-c)
  15.355 +    no_create=yes ;;
  15.356 +
  15.357 +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  15.358 +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  15.359 +    no_recursion=yes ;;
  15.360 +
  15.361 +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  15.362 +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  15.363 +  | --oldin | --oldi | --old | --ol | --o)
  15.364 +    ac_prev=oldincludedir ;;
  15.365 +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  15.366 +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  15.367 +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  15.368 +    oldincludedir=$ac_optarg ;;
  15.369 +
  15.370 +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  15.371 +    ac_prev=prefix ;;
  15.372 +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  15.373 +    prefix=$ac_optarg ;;
  15.374 +
  15.375 +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  15.376 +  | --program-pre | --program-pr | --program-p)
  15.377 +    ac_prev=program_prefix ;;
  15.378 +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  15.379 +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  15.380 +    program_prefix=$ac_optarg ;;
  15.381 +
  15.382 +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  15.383 +  | --program-suf | --program-su | --program-s)
  15.384 +    ac_prev=program_suffix ;;
  15.385 +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  15.386 +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  15.387 +    program_suffix=$ac_optarg ;;
  15.388 +
  15.389 +  -program-transform-name | --program-transform-name \
  15.390 +  | --program-transform-nam | --program-transform-na \
  15.391 +  | --program-transform-n | --program-transform- \
  15.392 +  | --program-transform | --program-transfor \
  15.393 +  | --program-transfo | --program-transf \
  15.394 +  | --program-trans | --program-tran \
  15.395 +  | --progr-tra | --program-tr | --program-t)
  15.396 +    ac_prev=program_transform_name ;;
  15.397 +  -program-transform-name=* | --program-transform-name=* \
  15.398 +  | --program-transform-nam=* | --program-transform-na=* \
  15.399 +  | --program-transform-n=* | --program-transform-=* \
  15.400 +  | --program-transform=* | --program-transfor=* \
  15.401 +  | --program-transfo=* | --program-transf=* \
  15.402 +  | --program-trans=* | --program-tran=* \
  15.403 +  | --progr-tra=* | --program-tr=* | --program-t=*)
  15.404 +    program_transform_name=$ac_optarg ;;
  15.405 +
  15.406 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  15.407 +  | -silent | --silent | --silen | --sile | --sil)
  15.408 +    silent=yes ;;
  15.409 +
  15.410 +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  15.411 +    ac_prev=sbindir ;;
  15.412 +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  15.413 +  | --sbi=* | --sb=*)
  15.414 +    sbindir=$ac_optarg ;;
  15.415 +
  15.416 +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  15.417 +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  15.418 +  | --sharedst | --shareds | --shared | --share | --shar \
  15.419 +  | --sha | --sh)
  15.420 +    ac_prev=sharedstatedir ;;
  15.421 +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  15.422 +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  15.423 +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  15.424 +  | --sha=* | --sh=*)
  15.425 +    sharedstatedir=$ac_optarg ;;
  15.426 +
  15.427 +  -site | --site | --sit)
  15.428 +    ac_prev=site ;;
  15.429 +  -site=* | --site=* | --sit=*)
  15.430 +    site=$ac_optarg ;;
  15.431 +
  15.432 +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  15.433 +    ac_prev=srcdir ;;
  15.434 +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  15.435 +    srcdir=$ac_optarg ;;
  15.436 +
  15.437 +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  15.438 +  | --syscon | --sysco | --sysc | --sys | --sy)
  15.439 +    ac_prev=sysconfdir ;;
  15.440 +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  15.441 +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  15.442 +    sysconfdir=$ac_optarg ;;
  15.443 +
  15.444 +  -target | --target | --targe | --targ | --tar | --ta | --t)
  15.445 +    ac_prev=target_alias ;;
  15.446 +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  15.447 +    target_alias=$ac_optarg ;;
  15.448 +
  15.449 +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  15.450 +    verbose=yes ;;
  15.451 +
  15.452 +  -version | --version | --versio | --versi | --vers | -V)
  15.453 +    ac_init_version=: ;;
  15.454 +
  15.455 +  -with-* | --with-*)
  15.456 +    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  15.457 +    # Reject names that are not valid shell variable names.
  15.458 +    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
  15.459 +      { { echo "$as_me:456: error: invalid package name: $ac_package" >&5
  15.460 +echo "$as_me: error: invalid package name: $ac_package" >&2;}
  15.461 +   { (exit 1); exit 1; }; }
  15.462 +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  15.463 +    case $ac_option in
  15.464 +      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  15.465 +      *) ac_optarg=yes ;;
  15.466 +    esac
  15.467 +    eval "with_$ac_package='$ac_optarg'" ;;
  15.468 +
  15.469 +  -without-* | --without-*)
  15.470 +    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  15.471 +    # Reject names that are not valid shell variable names.
  15.472 +    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
  15.473 +      { { echo "$as_me:470: error: invalid package name: $ac_package" >&5
  15.474 +echo "$as_me: error: invalid package name: $ac_package" >&2;}
  15.475 +   { (exit 1); exit 1; }; }
  15.476 +    ac_package=`echo $ac_package | sed 's/-/_/g'`
  15.477 +    eval "with_$ac_package=no" ;;
  15.478 +
  15.479 +  --x)
  15.480 +    # Obsolete; use --with-x.
  15.481 +    with_x=yes ;;
  15.482 +
  15.483 +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  15.484 +  | --x-incl | --x-inc | --x-in | --x-i)
  15.485 +    ac_prev=x_includes ;;
  15.486 +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  15.487 +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  15.488 +    x_includes=$ac_optarg ;;
  15.489 +
  15.490 +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  15.491 +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  15.492 +    ac_prev=x_libraries ;;
  15.493 +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  15.494 +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  15.495 +    x_libraries=$ac_optarg ;;
  15.496 +
  15.497 +  -*) { { echo "$as_me:494: error: unrecognized option: $ac_option
  15.498 +Try \`$0 --help' for more information." >&5
  15.499 +echo "$as_me: error: unrecognized option: $ac_option
  15.500 +Try \`$0 --help' for more information." >&2;}
  15.501 +   { (exit 1); exit 1; }; }
  15.502 +    ;;
  15.503 +
  15.504 +  *=*)
  15.505 +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  15.506 +    # Reject names that are not valid shell variable names.
  15.507 +    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
  15.508 +      { { echo "$as_me:505: error: invalid variable name: $ac_envvar" >&5
  15.509 +echo "$as_me: error: invalid variable name: $ac_envvar" >&2;}
  15.510 +   { (exit 1); exit 1; }; }
  15.511 +    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  15.512 +    eval "$ac_envvar='$ac_optarg'"
  15.513 +    export $ac_envvar ;;
  15.514 +
  15.515 +  *)
  15.516 +    # FIXME: should be removed in autoconf 3.0.
  15.517 +    { echo "$as_me:514: WARNING: you should use --build, --host, --target" >&5
  15.518 +echo "$as_me: WARNING: you should use --build, --host, --target" >&2;}
  15.519 +    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
  15.520 +      { echo "$as_me:517: WARNING: invalid host type: $ac_option" >&5
  15.521 +echo "$as_me: WARNING: invalid host type: $ac_option" >&2;}
  15.522 +    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  15.523 +    ;;
  15.524 +
  15.525 +  esac
  15.526 +done
  15.527 +
  15.528 +if test -n "$ac_prev"; then
  15.529 +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  15.530 +  { { echo "$as_me:527: error: missing argument to $ac_option" >&5
  15.531 +echo "$as_me: error: missing argument to $ac_option" >&2;}
  15.532 +   { (exit 1); exit 1; }; }
  15.533 +fi
  15.534 +
  15.535 +# Be sure to have absolute paths.
  15.536 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  15.537 +              localstatedir libdir includedir oldincludedir infodir mandir \
  15.538 +              exec_prefix prefix
  15.539 +do
  15.540 +  eval ac_val=$`echo $ac_var`
  15.541 +  case $ac_val in
  15.542 +    [\\/$]* | ?:[\\/]* ) ;;
  15.543 +    NONE ) ;;
  15.544 +    *)  { { echo "$as_me:541: error: expected an absolute path for --$ac_var: $ac_val" >&5
  15.545 +echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2;}
  15.546 +   { (exit 1); exit 1; }; };;
  15.547 +  esac
  15.548 +done
  15.549 +
  15.550 +# There might be people who depend on the old broken behavior: `$host'
  15.551 +# used to hold the argument of --host etc.
  15.552 +build=$build_alias
  15.553 +host=$host_alias
  15.554 +target=$target_alias
  15.555 +
  15.556 +# FIXME: should be removed in autoconf 3.0.
  15.557 +if test "x$host_alias" != x; then
  15.558 +  if test "x$build_alias" = x; then
  15.559 +    cross_compiling=maybe
  15.560 +    { echo "$as_me:557: WARNING: If you wanted to set the --build type, don't use --host.
  15.561 +    If a cross compiler is detected then cross compile mode will be used." >&5
  15.562 +echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  15.563 +    If a cross compiler is detected then cross compile mode will be used." >&2;}
  15.564 +  elif test "x$build_alias" != "x$host_alias"; then
  15.565 +    cross_compiling=yes
  15.566 +  fi
  15.567 +fi
  15.568 +
  15.569 +ac_tool_prefix=
  15.570 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  15.571 +
  15.572 +test "$silent" = yes && exec 6>/dev/null
  15.573 +
  15.574 +# Find the source files, if location was not specified.
  15.575 +if test -z "$srcdir"; then
  15.576 +  ac_srcdir_defaulted=yes
  15.577 +  # Try the directory containing this script, then its parent.
  15.578 +  ac_prog=$0
  15.579 +  ac_confdir=`echo "$ac_prog" | sed 's%/[^/][^/]*$%%'`
  15.580 +  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  15.581 +  srcdir=$ac_confdir
  15.582 +  if test ! -r $srcdir/$ac_unique_file; then
  15.583 +    srcdir=..
  15.584 +  fi
  15.585 +else
  15.586 +  ac_srcdir_defaulted=no
  15.587 +fi
  15.588 +if test ! -r $srcdir/$ac_unique_file; then
  15.589 +  if test "$ac_srcdir_defaulted" = yes; then
  15.590 +    { { echo "$as_me:587: error: cannot find sources in $ac_confdir or .." >&5
  15.591 +echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2;}
  15.592 +   { (exit 1); exit 1; }; }
  15.593 +  else
  15.594 +    { { echo "$as_me:591: error: cannot find sources in $srcdir" >&5
  15.595 +echo "$as_me: error: cannot find sources in $srcdir" >&2;}
  15.596 +   { (exit 1); exit 1; }; }
  15.597 +  fi
  15.598 +fi
  15.599 +srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
  15.600 +ac_env_build_alias_set=${build_alias+set}
  15.601 +ac_env_build_alias_value=$build_alias
  15.602 +ac_cv_env_build_alias_set=${build_alias+set}
  15.603 +ac_cv_env_build_alias_value=$build_alias
  15.604 +ac_env_host_alias_set=${host_alias+set}
  15.605 +ac_env_host_alias_value=$host_alias
  15.606 +ac_cv_env_host_alias_set=${host_alias+set}
  15.607 +ac_cv_env_host_alias_value=$host_alias
  15.608 +ac_env_target_alias_set=${target_alias+set}
  15.609 +ac_env_target_alias_value=$target_alias
  15.610 +ac_cv_env_target_alias_set=${target_alias+set}
  15.611 +ac_cv_env_target_alias_value=$target_alias
  15.612 +ac_env_CC_set=${CC+set}
  15.613 +ac_env_CC_value=$CC
  15.614 +ac_cv_env_CC_set=${CC+set}
  15.615 +ac_cv_env_CC_value=$CC
  15.616 +ac_env_CFLAGS_set=${CFLAGS+set}
  15.617 +ac_env_CFLAGS_value=$CFLAGS
  15.618 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
  15.619 +ac_cv_env_CFLAGS_value=$CFLAGS
  15.620 +ac_env_LDFLAGS_set=${LDFLAGS+set}
  15.621 +ac_env_LDFLAGS_value=$LDFLAGS
  15.622 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  15.623 +ac_cv_env_LDFLAGS_value=$LDFLAGS
  15.624 +ac_env_CPP_set=${CPP+set}
  15.625 +ac_env_CPP_value=$CPP
  15.626 +ac_cv_env_CPP_set=${CPP+set}
  15.627 +ac_cv_env_CPP_value=$CPP
  15.628 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  15.629 +ac_env_CPPFLAGS_value=$CPPFLAGS
  15.630 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  15.631 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  15.632 +ac_env_CXX_set=${CXX+set}
  15.633 +ac_env_CXX_value=$CXX
  15.634 +ac_cv_env_CXX_set=${CXX+set}
  15.635 +ac_cv_env_CXX_value=$CXX
  15.636 +ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  15.637 +ac_env_CXXFLAGS_value=$CXXFLAGS
  15.638 +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  15.639 +ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  15.640 +ac_env_CXXCPP_set=${CXXCPP+set}
  15.641 +ac_env_CXXCPP_value=$CXXCPP
  15.642 +ac_cv_env_CXXCPP_set=${CXXCPP+set}
  15.643 +ac_cv_env_CXXCPP_value=$CXXCPP
  15.644 +
  15.645 +#
  15.646 +# Report the --help message.
  15.647 +#
  15.648 +if test "$ac_init_help" = "long"; then
  15.649 +  # Omit some internal or obsolete options to make the list less imposing.
  15.650 +  # This message is too long to be a string in the A/UX 3.1 sh.
  15.651 +  cat <<EOF
  15.652 +\`configure' configures this package to adapt to many kinds of systems.
  15.653 +
  15.654 +Usage: $0 [OPTION]... [VAR=VALUE]...
  15.655 +
  15.656 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  15.657 +VAR=VALUE.  See below for descriptions of some of the useful variables.
  15.658 +
  15.659 +Defaults for the options are specified in brackets.
  15.660 +
  15.661 +Configuration:
  15.662 +  -h, --help              display this help and exit
  15.663 +      --help=short        display options specific to this package
  15.664 +      --help=recursive    display the short help of all the included packages
  15.665 +  -V, --version           display version information and exit
  15.666 +  -q, --quiet, --silent   do not print \`checking...' messages
  15.667 +      --cache-file=FILE   cache test results in FILE [disabled]
  15.668 +  -C, --config-cache      alias for \`--cache-file=config.cache'
  15.669 +  -n, --no-create         do not create output files
  15.670 +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  15.671 +
  15.672 +EOF
  15.673 +
  15.674 +  cat <<EOF
  15.675 +Installation directories:
  15.676 +  --prefix=PREFIX         install architecture-independent files in PREFIX
  15.677 +                          [$ac_default_prefix]
  15.678 +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  15.679 +                          [PREFIX]
  15.680 +
  15.681 +By default, \`make install' will install all the files in
  15.682 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  15.683 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  15.684 +for instance \`--prefix=\$HOME'.
  15.685 +
  15.686 +For better control, use the options below.
  15.687 +
  15.688 +Fine tuning of the installation directories:
  15.689 +  --bindir=DIR           user executables [EPREFIX/bin]
  15.690 +  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  15.691 +  --libexecdir=DIR       program executables [EPREFIX/libexec]
  15.692 +  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  15.693 +  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  15.694 +  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  15.695 +  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  15.696 +  --libdir=DIR           object code libraries [EPREFIX/lib]
  15.697 +  --includedir=DIR       C header files [PREFIX/include]
  15.698 +  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  15.699 +  --infodir=DIR          info documentation [PREFIX/info]
  15.700 +  --mandir=DIR           man documentation [PREFIX/man]
  15.701 +EOF
  15.702 +
  15.703 +  cat <<\EOF
  15.704 +
  15.705 +Program names:
  15.706 +  --program-prefix=PREFIX            prepend PREFIX to installed program names
  15.707 +  --program-suffix=SUFFIX            append SUFFIX to installed program names
  15.708 +  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  15.709 +
  15.710 +System types:
  15.711 +  --build=BUILD     configure for building on BUILD [guessed]
  15.712 +  --host=HOST       build programs to run on HOST [BUILD]
  15.713 +  --target=TARGET   configure for building compilers for TARGET [HOST]
  15.714 +EOF
  15.715 +fi
  15.716 +
  15.717 +if test -n "$ac_init_help"; then
  15.718 +
  15.719 +  cat <<\EOF
  15.720 +
  15.721 +Optional Features:
  15.722 +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  15.723 +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  15.724 +  --disable-dependency-tracking Speeds up one-time builds
  15.725 +  --enable-dependency-tracking  Do not reject slow dependency extractors
  15.726 +  --enable-shared=PKGS  build shared libraries default=no
  15.727 +  --enable-maintainer-mode enable make rules and dependencies not useful
  15.728 +                          (and sometimes confusing) to the casual installer
  15.729 +  --enable-static=PKGS  build static libraries default=yes
  15.730 +  --enable-fast-install=PKGS  optimize for fast installation default=yes
  15.731 +  --disable-libtool-lock  avoid locking (might break parallel builds)
  15.732 +  --enable-rtti           (g++ only) compile with RTTI [default=yes]
  15.733 +  --enable-exceptions     (g++ only) compile with exceptions [default=no]
  15.734 +
  15.735 +Optional Packages:
  15.736 +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  15.737 +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  15.738 +  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  15.739 +  --with-inventor         use another Open Inventor than Coin [default=no]
  15.740 +  --with-inventor=PATH    specify where Open Inventor resides
  15.741 +  --with-coin             enable use of Coin [default=yes]
  15.742 +  --with-coin=DIR         give prefix location of Coin
  15.743 +
  15.744 +Some influential environment variables:
  15.745 +  CC          C compiler command
  15.746 +  CFLAGS      C compiler flags
  15.747 +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  15.748 +              nonstandard directory <lib dir>
  15.749 +  CPP         C preprocessor
  15.750 +  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  15.751 +              headers in a nonstandard directory <include dir>
  15.752 +  CXX         C++ compiler command
  15.753 +  CXXFLAGS    C++ compiler flags
  15.754 +  CXXCPP      C++ preprocessor
  15.755 +
  15.756 +Use these variables to override the choices made by `configure' or to help
  15.757 +it to find libraries and programs with nonstandard names/locations.
  15.758 +
  15.759 +EOF
  15.760 +fi
  15.761 +
  15.762 +if test "$ac_init_help" = "recursive"; then
  15.763 +  # If there are subdirs, report their specific --help.
  15.764 +  ac_popdir=`pwd`
  15.765 +  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
  15.766 +    cd $ac_subdir
  15.767 +    # A "../" for each directory in /$ac_subdir.
  15.768 +    ac_dots=`echo $ac_subdir |
  15.769 +             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
  15.770 +
  15.771 +    case $srcdir in
  15.772 +    .) # No --srcdir option.  We are building in place.
  15.773 +      ac_sub_srcdir=$srcdir ;;
  15.774 +    [\\/]* | ?:[\\/]* ) # Absolute path.
  15.775 +      ac_sub_srcdir=$srcdir/$ac_subdir ;;
  15.776 +    *) # Relative path.
  15.777 +      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
  15.778 +    esac
  15.779 +
  15.780 +    # Check for guested configure; otherwise get Cygnus style configure.
  15.781 +    if test -f $ac_sub_srcdir/configure.gnu; then
  15.782 +      echo
  15.783 +      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
  15.784 +    elif test -f $ac_sub_srcdir/configure; then
  15.785 +      echo
  15.786 +      $SHELL $ac_sub_srcdir/configure  --help=recursive
  15.787 +    elif test -f $ac_sub_srcdir/configure.ac ||
  15.788 +           test -f $ac_sub_srcdir/configure.in; then
  15.789 +      echo
  15.790 +      $ac_configure --help
  15.791 +    else
  15.792 +      { echo "$as_me:789: WARNING: no configuration information is in $ac_subdir" >&5
  15.793 +echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
  15.794 +    fi
  15.795 +    cd $ac_popdir
  15.796 +  done
  15.797 +fi
  15.798 +
  15.799 +test -n "$ac_init_help" && exit 0
  15.800 +if $ac_init_version; then
  15.801 +  cat <<\EOF
  15.802 +
  15.803 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
  15.804 +Free Software Foundation, Inc.
  15.805 +This configure script is free software; the Free Software Foundation
  15.806 +gives unlimited permission to copy, distribute and modify it.
  15.807 +EOF
  15.808 +  exit 0
  15.809 +fi
  15.810 +
  15.811 +# Keep a trace of the command line.
  15.812 +# Strip out --no-create and --no-recursion so they do not pile up.
  15.813 +# Also quote any args containing shell meta-characters.
  15.814 +ac_configure_args=
  15.815 +ac_sep=
  15.816 +for ac_arg
  15.817 +do
  15.818 +  case $ac_arg in
  15.819 +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  15.820 +  | --no-cr | --no-c) ;;
  15.821 +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  15.822 +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  15.823 +  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  15.824 +    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
  15.825 +    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  15.826 +    ac_sep=" " ;;
  15.827 +  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
  15.828 +     ac_sep=" " ;;
  15.829 +  esac
  15.830 +  # Get rid of the leading space.
  15.831 +done
  15.832 +
  15.833 +# When interrupted or exit'd, cleanup temporary files, and complete
  15.834 +# config.log.  We remove comments because anyway the quotes in there
  15.835 +# would cause problems or look ugly.
  15.836 +trap 'exit_status=$?
  15.837 +  # Save into config.log some information that might help in debugging.
  15.838 +  echo >&5
  15.839 +  echo "## ----------------- ##" >&5
  15.840 +  echo "## Cache variables.  ##" >&5
  15.841 +  echo "## ----------------- ##" >&5
  15.842 +  echo >&5
  15.843 +  # The following way of writing the cache mishandles newlines in values,
  15.844 +{
  15.845 +  (set) 2>&1 |
  15.846 +    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  15.847 +    *ac_space=\ *)
  15.848 +      sed -n \
  15.849 +        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  15.850 +    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  15.851 +      ;;
  15.852 +    *)
  15.853 +      sed -n \
  15.854 +        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  15.855 +      ;;
  15.856 +    esac;
  15.857 +} >&5
  15.858 +  sed "/^$/d" confdefs.h >conftest.log
  15.859 +  if test -s conftest.log; then
  15.860 +    echo >&5
  15.861 +    echo "## ------------ ##" >&5
  15.862 +    echo "## confdefs.h.  ##" >&5
  15.863 +    echo "## ------------ ##" >&5
  15.864 +    echo >&5
  15.865 +    cat conftest.log >&5
  15.866 +  fi
  15.867 +  (echo; echo) >&5
  15.868 +  test "$ac_signal" != 0 &&
  15.869 +    echo "$as_me: caught signal $ac_signal" >&5
  15.870 +  echo "$as_me: exit $exit_status" >&5
  15.871 +  rm -rf conftest* confdefs* core core.* *.core $ac_clean_files &&
  15.872 +    exit $exit_status
  15.873 +     ' 0
  15.874 +for ac_signal in 1 2 13 15; do
  15.875 +  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
  15.876 +done
  15.877 +ac_signal=0
  15.878 +
  15.879 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  15.880 +rm -rf conftest* confdefs.h
  15.881 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  15.882 +echo >confdefs.h
  15.883 +
  15.884 +# Let the site file select an alternate cache file if it wants to.
  15.885 +# Prefer explicitly selected file to automatically selected ones.
  15.886 +if test -z "$CONFIG_SITE"; then
  15.887 +  if test "x$prefix" != xNONE; then
  15.888 +    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  15.889 +  else
  15.890 +    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  15.891 +  fi
  15.892 +fi
  15.893 +for ac_site_file in $CONFIG_SITE; do
  15.894 +  if test -r "$ac_site_file"; then
  15.895 +    { echo "$as_me:892: loading site script $ac_site_file" >&5
  15.896 +echo "$as_me: loading site script $ac_site_file" >&6;}
  15.897 +    cat "$ac_site_file" >&5
  15.898 +    . "$ac_site_file"
  15.899 +  fi
  15.900 +done
  15.901 +
  15.902 +if test -r "$cache_file"; then
  15.903 +  # Some versions of bash will fail to source /dev/null (special
  15.904 +  # files actually), so we avoid doing that.
  15.905 +  if test -f "$cache_file"; then
  15.906 +    { echo "$as_me:903: loading cache $cache_file" >&5
  15.907 +echo "$as_me: loading cache $cache_file" >&6;}
  15.908 +    case $cache_file in
  15.909 +      [\\/]* | ?:[\\/]* ) . $cache_file;;
  15.910 +      *)                      . ./$cache_file;;
  15.911 +    esac
  15.912 +  fi
  15.913 +else
  15.914 +  { echo "$as_me:911: creating cache $cache_file" >&5
  15.915 +echo "$as_me: creating cache $cache_file" >&6;}
  15.916 +  >$cache_file
  15.917 +fi
  15.918 +
  15.919 +# Check that the precious variables saved in the cache have kept the same
  15.920 +# value.
  15.921 +ac_suggest_removing_cache=false
  15.922 +for ac_var in `(set) 2>&1 |
  15.923 +               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  15.924 +  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  15.925 +  eval ac_new_set=\$ac_env_${ac_var}_set
  15.926 +  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  15.927 +  eval ac_new_val="\$ac_env_${ac_var}_value"
  15.928 +  case $ac_old_set,$ac_new_set in
  15.929 +    set,)
  15.930 +      { echo "$as_me:927: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  15.931 +echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  15.932 +      ac_suggest_removing_cache=: ;;
  15.933 +    ,set)
  15.934 +      { echo "$as_me:931: WARNING: \`$ac_var' was not set in the previous run" >&5
  15.935 +echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
  15.936 +      ac_suggest_removing_cache=: ;;
  15.937 +    ,);;
  15.938 +    *)
  15.939 +      if test "x$ac_old_val" != "x$ac_new_val"; then
  15.940 +        { echo "$as_me:937: WARNING: \`$ac_var' has changed since the previous run:" >&5
  15.941 +echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
  15.942 +        { echo "$as_me:939: WARNING:   former value:  $ac_old_val" >&5
  15.943 +echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
  15.944 +        { echo "$as_me:941: WARNING:   current value: $ac_new_val" >&5
  15.945 +echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
  15.946 +        ac_suggest_removing_cache=:
  15.947 +      fi;;
  15.948 +  esac
  15.949 +done
  15.950 +if $ac_suggest_removing_cache; then
  15.951 +  { echo "$as_me:948: WARNING: changes in the environment can compromise the build" >&5
  15.952 +echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
  15.953 +  { echo "$as_me:950: WARNING: consider removing $cache_file and starting over" >&5
  15.954 +echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
  15.955 +fi
  15.956 +
  15.957 +ac_ext=c
  15.958 +ac_cpp='$CPP $CPPFLAGS'
  15.959 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15.960 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15.961 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15.962 +
  15.963 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  15.964 +  *c*,-n*) ECHO_N= ECHO_C='
  15.965 +' ECHO_T='	' ;;
  15.966 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  15.967 +  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
  15.968 +esac
  15.969 +
  15.970 +ac_aux_dir=
  15.971 +for ac_dir in cfg $srcdir/cfg; do
  15.972 +  if test -f $ac_dir/install-sh; then
  15.973 +    ac_aux_dir=$ac_dir
  15.974 +    ac_install_sh="$ac_aux_dir/install-sh -c"
  15.975 +    break
  15.976 +  elif test -f $ac_dir/install.sh; then
  15.977 +    ac_aux_dir=$ac_dir
  15.978 +    ac_install_sh="$ac_aux_dir/install.sh -c"
  15.979 +    break
  15.980 +  elif test -f $ac_dir/shtool; then
  15.981 +    ac_aux_dir=$ac_dir
  15.982 +    ac_install_sh="$ac_aux_dir/shtool install -c"
  15.983 +    break
  15.984 +  fi
  15.985 +done
  15.986 +if test -z "$ac_aux_dir"; then
  15.987 +  { { echo "$as_me:984: error: cannot find install-sh or install.sh in cfg $srcdir/cfg" >&5
  15.988 +echo "$as_me: error: cannot find install-sh or install.sh in cfg $srcdir/cfg" >&2;}
  15.989 +   { (exit 1); exit 1; }; }
  15.990 +fi
  15.991 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  15.992 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  15.993 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  15.994 +
  15.995 +# If the Microsoft Visual C++ cl.exe compiler is available, set us up for
  15.996 +# compiling with it and to generate an MSWindows .dll file.
  15.997 +
  15.998 +# Make sure we can run config.sub.
  15.999 +$ac_config_sub sun4 >/dev/null 2>&1 ||
 15.1000 +  { { echo "$as_me:997: error: cannot run $ac_config_sub" >&5
 15.1001 +echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 15.1002 +   { (exit 1); exit 1; }; }
 15.1003 +
 15.1004 +echo "$as_me:1001: checking build system type" >&5
 15.1005 +echo $ECHO_N "checking build system type... $ECHO_C" >&6
 15.1006 +if test "${ac_cv_build+set}" = set; then
 15.1007 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1008 +else
 15.1009 +  ac_cv_build_alias=$build_alias
 15.1010 +test -z "$ac_cv_build_alias" &&
 15.1011 +  ac_cv_build_alias=`$ac_config_guess`
 15.1012 +test -z "$ac_cv_build_alias" &&
 15.1013 +  { { echo "$as_me:1010: error: cannot guess build type; you must specify one" >&5
 15.1014 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 15.1015 +   { (exit 1); exit 1; }; }
 15.1016 +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 15.1017 +  { { echo "$as_me:1014: error: $ac_config_sub $ac_cv_build_alias failed." >&5
 15.1018 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
 15.1019 +   { (exit 1); exit 1; }; }
 15.1020 +
 15.1021 +fi
 15.1022 +echo "$as_me:1019: result: $ac_cv_build" >&5
 15.1023 +echo "${ECHO_T}$ac_cv_build" >&6
 15.1024 +build=$ac_cv_build
 15.1025 +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 15.1026 +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 15.1027 +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 15.1028 +
 15.1029 +echo "$as_me:1026: checking host system type" >&5
 15.1030 +echo $ECHO_N "checking host system type... $ECHO_C" >&6
 15.1031 +if test "${ac_cv_host+set}" = set; then
 15.1032 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1033 +else
 15.1034 +  ac_cv_host_alias=$host_alias
 15.1035 +test -z "$ac_cv_host_alias" &&
 15.1036 +  ac_cv_host_alias=$ac_cv_build_alias
 15.1037 +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 15.1038 +  { { echo "$as_me:1035: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 15.1039 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 15.1040 +   { (exit 1); exit 1; }; }
 15.1041 +
 15.1042 +fi
 15.1043 +echo "$as_me:1040: result: $ac_cv_host" >&5
 15.1044 +echo "${ECHO_T}$ac_cv_host" >&6
 15.1045 +host=$ac_cv_host
 15.1046 +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 15.1047 +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 15.1048 +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 15.1049 +
 15.1050 +echo "$as_me:1047: checking target system type" >&5
 15.1051 +echo $ECHO_N "checking target system type... $ECHO_C" >&6
 15.1052 +if test "${ac_cv_target+set}" = set; then
 15.1053 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1054 +else
 15.1055 +  ac_cv_target_alias=$target_alias
 15.1056 +test "x$ac_cv_target_alias" = "x" &&
 15.1057 +  ac_cv_target_alias=$ac_cv_host_alias
 15.1058 +ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
 15.1059 +  { { echo "$as_me:1056: error: $ac_config_sub $ac_cv_target_alias failed" >&5
 15.1060 +echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 15.1061 +   { (exit 1); exit 1; }; }
 15.1062 +
 15.1063 +fi
 15.1064 +echo "$as_me:1061: result: $ac_cv_target" >&5
 15.1065 +echo "${ECHO_T}$ac_cv_target" >&6
 15.1066 +target=$ac_cv_target
 15.1067 +target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 15.1068 +target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 15.1069 +target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 15.1070 +
 15.1071 +# The aliases save the names the user supplied, while $host etc.
 15.1072 +# will get canonicalized.
 15.1073 +test -n "$target_alias" &&
 15.1074 +  test "$program_prefix$program_suffix$program_transform_name" = \
 15.1075 +    NONENONEs,x,x, &&
 15.1076 +  program_prefix=${target_alias}-
 15.1077 +
 15.1078 +# **************************************************************************
 15.1079 +# If the Microsoft Visual C++ cl.exe compiler is available, set us up for
 15.1080 +# compiling with it and to generate an MSWindows .dll file.
 15.1081 +
 15.1082 +: ${BUILD_WITH_MSVC=false}
 15.1083 +sim_ac_msvccc=`cd $srcdir; pwd`/cfg/m4/msvccc
 15.1084 +if test -z "$CC" -a -z "$CXX" && $sim_ac_msvccc >/dev/null 2>&1; then
 15.1085 +
 15.1086 +  CC=$sim_ac_msvccc
 15.1087 +  CXX=$sim_ac_msvccc
 15.1088 +  export CC CXX
 15.1089 +  BUILD_WITH_MSVC=true
 15.1090 +fi
 15.1091 +
 15.1092 +if $BUILD_WITH_MSVC; then
 15.1093 +  :
 15.1094 +
 15.1095 +else
 15.1096 +  :
 15.1097 +
 15.1098 +  case $host in
 15.1099 +  *-cygwin)
 15.1100 +    { { echo "$as_me:1097: error: You need Microsoft Visual C++ to build SmallChange on Cygwin" >&5
 15.1101 +echo "$as_me: error: You need Microsoft Visual C++ to build SmallChange on Cygwin" >&2;}
 15.1102 +   { (exit 1); exit 1; }; }
 15.1103 +    ;;
 15.1104 +  esac
 15.1105 +
 15.1106 +fi
 15.1107 +
 15.1108 +SMALLCHANGE_MAJOR_VERSION=1
 15.1109 +SMALLCHANGE_MINOR_VERSION=0
 15.1110 +SMALLCHANGE_MICRO_VERSION=0
 15.1111 +SMALLCHANGE_VERSION=$SMALLCHANGE_MAJOR_VERSION.$SMALLCHANGE_MINOR_VERSION.$SMALLCHANGE_MICRO_VERSION
 15.1112 +VERSION=$SMALLCHANGE_VERSION
 15.1113 +
 15.1114 +# Libtool versioning
 15.1115 +LT_CURRENT=$SMALLCHANGE_MAJOR_VERSION
 15.1116 +LT_AGE=0
 15.1117 +LT_REVISION=`expr $SMALLCHANGE_MINOR_VERSION \* 100 + $SMALLCHANGE_MICRO_VERSION`
 15.1118 +
 15.1119 +cat >>confdefs.h <<EOF
 15.1120 +#define SMALLCHANGE_MAJOR_VERSION $SMALLCHANGE_MAJOR_VERSION
 15.1121 +EOF
 15.1122 +
 15.1123 +cat >>confdefs.h <<EOF
 15.1124 +#define SMALLCHANGE_MINOR_VERSION $SMALLCHANGE_MINOR_VERSION
 15.1125 +EOF
 15.1126 +
 15.1127 +cat >>confdefs.h <<EOF
 15.1128 +#define SMALLCHANGE_MICRO_VERSION $SMALLCHANGE_MICRO_VERSION
 15.1129 +EOF
 15.1130 +
 15.1131 +cat >>confdefs.h <<EOF
 15.1132 +#define SMALLCHANGE_VERSION "$SMALLCHANGE_VERSION"
 15.1133 +EOF
 15.1134 +
 15.1135 +# *******************************************************************
 15.1136 +# Miscellaneous options and initializations.
 15.1137 +
 15.1138 +smallchange_build_dir=`pwd`
 15.1139 +
 15.1140 +# Find a good install program.  We prefer a C program (faster),
 15.1141 +# so one script is as good as another.  But avoid the broken or
 15.1142 +# incompatible versions:
 15.1143 +# SysV /etc/install, /usr/sbin/install
 15.1144 +# SunOS /usr/etc/install
 15.1145 +# IRIX /sbin/install
 15.1146 +# AIX /bin/install
 15.1147 +# AmigaOS /C/install, which installs bootblocks on floppy discs
 15.1148 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 15.1149 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 15.1150 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 15.1151 +# ./install, which can be erroneously created by make from ./install.sh.
 15.1152 +echo "$as_me:1149: checking for a BSD compatible install" >&5
 15.1153 +echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
 15.1154 +if test -z "$INSTALL"; then
 15.1155 +if test "${ac_cv_path_install+set}" = set; then
 15.1156 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1157 +else
 15.1158 +    ac_save_IFS=$IFS; IFS=':'
 15.1159 +  for ac_dir in $PATH; do
 15.1160 +    # Account for people who put trailing slashes in PATH elements.
 15.1161 +    case $ac_dir/ in
 15.1162 +    / | ./ | .// | /cC/* \
 15.1163 +    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
 15.1164 +    | /usr/ucb/* ) ;;
 15.1165 +    *)
 15.1166 +      # OSF1 and SCO ODT 3.0 have their own names for install.
 15.1167 +      # Don't use installbsd from OSF since it installs stuff as root
 15.1168 +      # by default.
 15.1169 +      for ac_prog in ginstall scoinst install; do
 15.1170 +        if test -f "$ac_dir/$ac_prog"; then
 15.1171 +	  if test $ac_prog = install &&
 15.1172 +            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
 15.1173 +	    # AIX install.  It has an incompatible calling convention.
 15.1174 +	    :
 15.1175 +	  elif test $ac_prog = install &&
 15.1176 +	    grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
 15.1177 +	    # program-specific install script used by HP pwplus--don't use.
 15.1178 +	    :
 15.1179 +	  else
 15.1180 +	    ac_cv_path_install="$ac_dir/$ac_prog -c"
 15.1181 +	    break 2
 15.1182 +	  fi
 15.1183 +	fi
 15.1184 +      done
 15.1185 +      ;;
 15.1186 +    esac
 15.1187 +  done
 15.1188 +  IFS=$ac_save_IFS
 15.1189 +
 15.1190 +fi
 15.1191 +  if test "${ac_cv_path_install+set}" = set; then
 15.1192 +    INSTALL=$ac_cv_path_install
 15.1193 +  else
 15.1194 +    # As a last resort, use the slow shell script.  We don't cache a
 15.1195 +    # path for INSTALL within a source directory, because that will
 15.1196 +    # break other packages using the cache if that directory is
 15.1197 +    # removed, or if the path is relative.
 15.1198 +    INSTALL=$ac_install_sh
 15.1199 +  fi
 15.1200 +fi
 15.1201 +echo "$as_me:1198: result: $INSTALL" >&5
 15.1202 +echo "${ECHO_T}$INSTALL" >&6
 15.1203 +
 15.1204 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 15.1205 +# It thinks the first close brace ends the variable substitution.
 15.1206 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 15.1207 +
 15.1208 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 15.1209 +
 15.1210 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 15.1211 +
 15.1212 +echo "$as_me:1209: checking whether build environment is sane" >&5
 15.1213 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 15.1214 +# Just in case
 15.1215 +sleep 1
 15.1216 +echo timestamp > conftest.file
 15.1217 +# Do `set' in a subshell so we don't clobber the current shell's
 15.1218 +# arguments.  Must try -L first in case configure is actually a
 15.1219 +# symlink; some systems play weird games with the mod time of symlinks
 15.1220 +# (eg FreeBSD returns the mod time of the symlink's containing
 15.1221 +# directory).
 15.1222 +if (
 15.1223 +   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 15.1224 +   if test "$*" = "X"; then
 15.1225 +      # -L didn't work.
 15.1226 +      set X `ls -t $srcdir/configure conftest.file`
 15.1227 +   fi
 15.1228 +   if test "$*" != "X $srcdir/configure conftest.file" \
 15.1229 +      && test "$*" != "X conftest.file $srcdir/configure"; then
 15.1230 +
 15.1231 +      # If neither matched, then we have a broken ls.  This can happen
 15.1232 +      # if, for instance, CONFIG_SHELL is bash and it inherits a
 15.1233 +      # broken ls alias from the environment.  This has actually
 15.1234 +      # happened.  Such a system could not be considered "sane".
 15.1235 +      { { echo "$as_me:1232: error: ls -t appears to fail.  Make sure there is not a broken
 15.1236 +alias in your environment" >&5
 15.1237 +echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 15.1238 +alias in your environment" >&2;}
 15.1239 +   { (exit 1); exit 1; }; }
 15.1240 +   fi
 15.1241 +
 15.1242 +   test "$2" = conftest.file
 15.1243 +   )
 15.1244 +then
 15.1245 +   # Ok.
 15.1246 +   :
 15.1247 +else
 15.1248 +   { { echo "$as_me:1245: error: newly created file is older than distributed files!
 15.1249 +Check your system clock" >&5
 15.1250 +echo "$as_me: error: newly created file is older than distributed files!
 15.1251 +Check your system clock" >&2;}
 15.1252 +   { (exit 1); exit 1; }; }
 15.1253 +fi
 15.1254 +rm -f conftest*
 15.1255 +echo "$as_me:1252: result: yes" >&5
 15.1256 +echo "${ECHO_T}yes" >&6
 15.1257 +if test "$program_transform_name" = s,x,x,; then
 15.1258 +  program_transform_name=
 15.1259 +else
 15.1260 +  # Double any \ or $.  echo might interpret backslashes.
 15.1261 +  cat <<\EOF >conftest.sed
 15.1262 +s,\\,\\\\,g; s,\$,$$,g
 15.1263 +EOF
 15.1264 +  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 15.1265 +  rm -f conftest.sed
 15.1266 +fi
 15.1267 +test "$program_prefix" != NONE &&
 15.1268 +  program_transform_name="s,^,${program_prefix},;$program_transform_name"
 15.1269 +# Use a double $ so make ignores it.
 15.1270 +test "$program_suffix" != NONE &&
 15.1271 +  program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
 15.1272 +
 15.1273 +# sed with no file args requires a program.
 15.1274 +test -z "$program_transform_name" && program_transform_name="s,x,x,"
 15.1275 +
 15.1276 +test x"${MISSING+set}" = xset ||
 15.1277 +  MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
 15.1278 +# Use eval to expand $SHELL
 15.1279 +if eval "$MISSING --run :"; then
 15.1280 +  am_missing_run="$MISSING --run "
 15.1281 +else
 15.1282 +  am_missing_run=
 15.1283 +  am_backtick='`'
 15.1284 +  { echo "$as_me:1281: WARNING: ${am_backtick}missing' script is too old or missing" >&5
 15.1285 +echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
 15.1286 +fi
 15.1287 +
 15.1288 +for ac_prog in mawk gawk nawk awk
 15.1289 +do
 15.1290 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
 15.1291 +set dummy $ac_prog; ac_word=$2
 15.1292 +echo "$as_me:1289: checking for $ac_word" >&5
 15.1293 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.1294 +if test "${ac_cv_prog_AWK+set}" = set; then
 15.1295 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1296 +else
 15.1297 +  if test -n "$AWK"; then
 15.1298 +  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 15.1299 +else
 15.1300 +  ac_save_IFS=$IFS; IFS=':'
 15.1301 +ac_dummy="$PATH"
 15.1302 +for ac_dir in $ac_dummy; do
 15.1303 +  IFS=$ac_save_IFS
 15.1304 +  test -z "$ac_dir" && ac_dir=.
 15.1305 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.1306 +ac_cv_prog_AWK="$ac_prog"
 15.1307 +break
 15.1308 +done
 15.1309 +
 15.1310 +fi
 15.1311 +fi
 15.1312 +AWK=$ac_cv_prog_AWK
 15.1313 +if test -n "$AWK"; then
 15.1314 +  echo "$as_me:1311: result: $AWK" >&5
 15.1315 +echo "${ECHO_T}$AWK" >&6
 15.1316 +else
 15.1317 +  echo "$as_me:1314: result: no" >&5
 15.1318 +echo "${ECHO_T}no" >&6
 15.1319 +fi
 15.1320 +
 15.1321 +  test -n "$AWK" && break
 15.1322 +done
 15.1323 +
 15.1324 +echo "$as_me:1321: checking whether ${MAKE-make} sets \${MAKE}" >&5
 15.1325 +echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
 15.1326 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 15.1327 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 15.1328 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1329 +else
 15.1330 +  cat >conftest.make <<\EOF
 15.1331 +all:
 15.1332 +	@echo 'ac_maketemp="${MAKE}"'
 15.1333 +EOF
 15.1334 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 15.1335 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 15.1336 +if test -n "$ac_maketemp"; then
 15.1337 +  eval ac_cv_prog_make_${ac_make}_set=yes
 15.1338 +else
 15.1339 +  eval ac_cv_prog_make_${ac_make}_set=no
 15.1340 +fi
 15.1341 +rm -f conftest.make
 15.1342 +fi
 15.1343 +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 15.1344 +  echo "$as_me:1341: result: yes" >&5
 15.1345 +echo "${ECHO_T}yes" >&6
 15.1346 +  SET_MAKE=
 15.1347 +else
 15.1348 +  echo "$as_me:1345: result: no" >&5
 15.1349 +echo "${ECHO_T}no" >&6
 15.1350 +  SET_MAKE="MAKE=${MAKE-make}"
 15.1351 +fi
 15.1352 +
 15.1353 +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 15.1354 +if test "${enable_dependency_tracking+set}" = set; then
 15.1355 +  enableval="$enable_dependency_tracking"
 15.1356 +
 15.1357 +fi;
 15.1358 +if test "x$enable_dependency_tracking" = xno; then
 15.1359 +  AMDEP="#"
 15.1360 +else
 15.1361 +  am_depcomp="$ac_aux_dir/depcomp"
 15.1362 +  if test ! -f "$am_depcomp"; then
 15.1363 +    AMDEP="#"
 15.1364 +  else
 15.1365 +    AMDEP=
 15.1366 +  fi
 15.1367 +fi
 15.1368 +
 15.1369 +if test -z "$AMDEP"; then
 15.1370 +  AMDEPBACKSLASH='\'
 15.1371 +else
 15.1372 +  AMDEPBACKSLASH=
 15.1373 +fi
 15.1374 +
 15.1375 +if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
 15.1376 +  DEPDIR=.deps
 15.1377 +  # We redirect because .deps might already exist and be populated.
 15.1378 +  # In this situation we don't want to see an error.
 15.1379 +  rmdir .deps > /dev/null 2>&1
 15.1380 +else
 15.1381 +  DEPDIR=_deps
 15.1382 +fi
 15.1383 +
 15.1384 +# test to see if srcdir already configured
 15.1385 +if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
 15.1386 +   test -f $srcdir/config.status; then
 15.1387 +  { { echo "$as_me:1384: error: source directory already configured; run \"make distclean\" there first" >&5
 15.1388 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 15.1389 +   { (exit 1); exit 1; }; }
 15.1390 +fi
 15.1391 +
 15.1392 +# Define the identity of the package.
 15.1393 +PACKAGE=libSmallChange
 15.1394 +VERSION=$VERSION
 15.1395 +
 15.1396 +cat >>confdefs.h <<EOF
 15.1397 +#define PACKAGE "$PACKAGE"
 15.1398 +EOF
 15.1399 +
 15.1400 +cat >>confdefs.h <<EOF
 15.1401 +#define VERSION "$VERSION"
 15.1402 +EOF
 15.1403 +
 15.1404 +# Some tools Automake needs.
 15.1405 +
 15.1406 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
 15.1407 +
 15.1408 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 15.1409 +
 15.1410 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
 15.1411 +
 15.1412 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 15.1413 +
 15.1414 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 15.1415 +
 15.1416 +AMTAR=${AMTAR-"${am_missing_run}tar"}
 15.1417 +
 15.1418 +if test -z "$install_sh"; then
 15.1419 +   for install_sh in "$ac_aux_dir/install-sh" \
 15.1420 +                     "$ac_aux_dir/install.sh" \
 15.1421 +                     "${am_missing_run}${ac_auxdir}/install-sh";
 15.1422 +   do
 15.1423 +     test -f "$install_sh" && break
 15.1424 +   done
 15.1425 +   # FIXME: an evil hack: we remove the SHELL invocation from
 15.1426 +   # install_sh because automake adds it back in.  Sigh.
 15.1427 +   install_sh=`echo $install_sh | sed -e 's/\${SHELL}//'`
 15.1428 +fi
 15.1429 +
 15.1430 +# We need awk for the "check" target.  The system "awk" is bad on
 15.1431 +# some platforms.
 15.1432 +
 15.1433 +#  Files to cram results from the configure tests into.
 15.1434 +ac_config_headers="$ac_config_headers config.h"
 15.1435 +
 15.1436 +  ac_config_commands="$ac_config_commands default-1"
 15.1437 +
 15.1438 +#  Default to not building a shared library.
 15.1439 +#  Can be overridden by the user with --enable-shared.
 15.1440 +# Check whether --enable-shared or --disable-shared was given.
 15.1441 +if test "${enable_shared+set}" = set; then
 15.1442 +  enableval="$enable_shared"
 15.1443 +  p=${PACKAGE-default}
 15.1444 +case "$enableval" in
 15.1445 +yes) enable_shared=yes ;;
 15.1446 +no) enable_shared=no ;;
 15.1447 +*)
 15.1448 +  enable_shared=no
 15.1449 +  # Look at the argument we got.  We use all the common list separators.
 15.1450 +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 15.1451 +  for pkg in $enableval; do
 15.1452 +    if test "X$pkg" = "X$p"; then
 15.1453 +      enable_shared=yes
 15.1454 +    fi
 15.1455 +  done
 15.1456 +  IFS="$ac_save_ifs"
 15.1457 +  ;;
 15.1458 +esac
 15.1459 +else
 15.1460 +  enable_shared=no
 15.1461 +fi;
 15.1462 +
 15.1463 +#  Turn off default maintainer make-rules -- use ./bootstrap instead.
 15.1464 +echo "$as_me:1461: checking whether to enable maintainer-specific portions of Makefiles" >&5
 15.1465 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
 15.1466 +    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 15.1467 +if test "${enable_maintainer_mode+set}" = set; then
 15.1468 +  enableval="$enable_maintainer_mode"
 15.1469 +  USE_MAINTAINER_MODE=$enableval
 15.1470 +else
 15.1471 +  USE_MAINTAINER_MODE=no
 15.1472 +fi;
 15.1473 +  echo "$as_me:1470: result: $USE_MAINTAINER_MODE" >&5
 15.1474 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 15.1475 +
 15.1476 +if test $USE_MAINTAINER_MODE = yes; then
 15.1477 +  MAINTAINER_MODE_TRUE=
 15.1478 +  MAINTAINER_MODE_FALSE='#'
 15.1479 +else
 15.1480 +  MAINTAINER_MODE_TRUE='#'
 15.1481 +  MAINTAINER_MODE_FALSE=
 15.1482 +fi
 15.1483 +  MAINT=$MAINTAINER_MODE_TRUE
 15.1484 +
 15.1485 +if $BUILD_WITH_MSVC; then
 15.1486 +  RANLIB=true
 15.1487 +  export RANLIB
 15.1488 +fi
 15.1489 +
 15.1490 +#  Initialize libtool
 15.1491 +# Check whether --enable-static or --disable-static was given.
 15.1492 +if test "${enable_static+set}" = set; then
 15.1493 +  enableval="$enable_static"
 15.1494 +  p=${PACKAGE-default}
 15.1495 +case "$enableval" in
 15.1496 +yes) enable_static=yes ;;
 15.1497 +no) enable_static=no ;;
 15.1498 +*)
 15.1499 +  enable_static=no
 15.1500 +  # Look at the argument we got.  We use all the common list separators.
 15.1501 +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 15.1502 +  for pkg in $enableval; do
 15.1503 +    if test "X$pkg" = "X$p"; then
 15.1504 +      enable_static=yes
 15.1505 +    fi
 15.1506 +  done
 15.1507 +  IFS="$ac_save_ifs"
 15.1508 +  ;;
 15.1509 +esac
 15.1510 +else
 15.1511 +  enable_static=yes
 15.1512 +fi;
 15.1513 +# Check whether --enable-fast-install or --disable-fast-install was given.
 15.1514 +if test "${enable_fast_install+set}" = set; then
 15.1515 +  enableval="$enable_fast_install"
 15.1516 +  p=${PACKAGE-default}
 15.1517 +case "$enableval" in
 15.1518 +yes) enable_fast_install=yes ;;
 15.1519 +no) enable_fast_install=no ;;
 15.1520 +*)
 15.1521 +  enable_fast_install=no
 15.1522 +  # Look at the argument we got.  We use all the common list separators.
 15.1523 +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 15.1524 +  for pkg in $enableval; do
 15.1525 +    if test "X$pkg" = "X$p"; then
 15.1526 +      enable_fast_install=yes
 15.1527 +    fi
 15.1528 +  done
 15.1529 +  IFS="$ac_save_ifs"
 15.1530 +  ;;
 15.1531 +esac
 15.1532 +else
 15.1533 +  enable_fast_install=yes
 15.1534 +fi;
 15.1535 +if test -n "$ac_tool_prefix"; then
 15.1536 +  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 15.1537 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 15.1538 +echo "$as_me:1535: checking for $ac_word" >&5
 15.1539 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.1540 +if test "${ac_cv_prog_RANLIB+set}" = set; then
 15.1541 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1542 +else
 15.1543 +  if test -n "$RANLIB"; then
 15.1544 +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 15.1545 +else
 15.1546 +  ac_save_IFS=$IFS; IFS=':'
 15.1547 +ac_dummy="$PATH"
 15.1548 +for ac_dir in $ac_dummy; do
 15.1549 +  IFS=$ac_save_IFS
 15.1550 +  test -z "$ac_dir" && ac_dir=.
 15.1551 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.1552 +ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 15.1553 +break
 15.1554 +done
 15.1555 +
 15.1556 +fi
 15.1557 +fi
 15.1558 +RANLIB=$ac_cv_prog_RANLIB
 15.1559 +if test -n "$RANLIB"; then
 15.1560 +  echo "$as_me:1557: result: $RANLIB" >&5
 15.1561 +echo "${ECHO_T}$RANLIB" >&6
 15.1562 +else
 15.1563 +  echo "$as_me:1560: result: no" >&5
 15.1564 +echo "${ECHO_T}no" >&6
 15.1565 +fi
 15.1566 +
 15.1567 +fi
 15.1568 +if test -z "$ac_cv_prog_RANLIB"; then
 15.1569 +  ac_ct_RANLIB=$RANLIB
 15.1570 +  # Extract the first word of "ranlib", so it can be a program name with args.
 15.1571 +set dummy ranlib; ac_word=$2
 15.1572 +echo "$as_me:1569: checking for $ac_word" >&5
 15.1573 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.1574 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 15.1575 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1576 +else
 15.1577 +  if test -n "$ac_ct_RANLIB"; then
 15.1578 +  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 15.1579 +else
 15.1580 +  ac_save_IFS=$IFS; IFS=':'
 15.1581 +ac_dummy="$PATH"
 15.1582 +for ac_dir in $ac_dummy; do
 15.1583 +  IFS=$ac_save_IFS
 15.1584 +  test -z "$ac_dir" && ac_dir=.
 15.1585 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.1586 +ac_cv_prog_ac_ct_RANLIB="ranlib"
 15.1587 +break
 15.1588 +done
 15.1589 +
 15.1590 +  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 15.1591 +fi
 15.1592 +fi
 15.1593 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 15.1594 +if test -n "$ac_ct_RANLIB"; then
 15.1595 +  echo "$as_me:1592: result: $ac_ct_RANLIB" >&5
 15.1596 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
 15.1597 +else
 15.1598 +  echo "$as_me:1595: result: no" >&5
 15.1599 +echo "${ECHO_T}no" >&6
 15.1600 +fi
 15.1601 +
 15.1602 +  RANLIB=$ac_ct_RANLIB
 15.1603 +else
 15.1604 +  RANLIB="$ac_cv_prog_RANLIB"
 15.1605 +fi
 15.1606 +
 15.1607 +ac_config_commands="$ac_config_commands default-2"
 15.1608 +
 15.1609 +ac_ext=c
 15.1610 +ac_cpp='$CPP $CPPFLAGS'
 15.1611 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.1612 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.1613 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 15.1614 +echo "$as_me:1611: checking how to run the C preprocessor" >&5
 15.1615 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 15.1616 +# On Suns, sometimes $CPP names a directory.
 15.1617 +if test -n "$CPP" && test -d "$CPP"; then
 15.1618 +  CPP=
 15.1619 +fi
 15.1620 +if test -z "$CPP"; then
 15.1621 +  if test "${ac_cv_prog_CPP+set}" = set; then
 15.1622 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1623 +else
 15.1624 +      # Double quotes because CPP needs to be expanded
 15.1625 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 15.1626 +    do
 15.1627 +      # Use a header file that comes with gcc, so configuring glibc
 15.1628 +# with a fresh cross-compiler works.
 15.1629 +# On the NeXT, cc -E runs the code through the compiler's parser,
 15.1630 +# not just through cpp. "Syntax error" is here to catch this case.
 15.1631 +ac_c_preproc_warn_flag=maybe
 15.1632 +cat >conftest.$ac_ext <<_ACEOF
 15.1633 +#line 1630 "configure"
 15.1634 +#include "confdefs.h"
 15.1635 +#include <assert.h>
 15.1636 +Syntax error
 15.1637 +_ACEOF
 15.1638 +if { (eval echo "$as_me:1635: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
 15.1639 +  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
 15.1640 +  ac_status=$?
 15.1641 +  egrep -v '^ *\+' conftest.er1 >conftest.err
 15.1642 +  rm -f conftest.er1
 15.1643 +  cat conftest.err >&5
 15.1644 +  echo "$as_me:1641: \$? = $ac_status" >&5
 15.1645 +  (exit $ac_status); }; then
 15.1646 +  if test -s conftest.err; then
 15.1647 +    ac_cpp_err=$ac_c_preproc_warn_flag
 15.1648 +  else
 15.1649 +    ac_cpp_err=
 15.1650 +  fi
 15.1651 +else
 15.1652 +  ac_cpp_err=yes
 15.1653 +fi
 15.1654 +if test -z "$ac_cpp_err"; then
 15.1655 +  # Now check whether non-existent headers can be detected and how
 15.1656 +# Skip if ac_cpp_err is not empty - ac_cpp is broken
 15.1657 +if test -z "$ac_cpp_err"; then
 15.1658 +  cat >conftest.$ac_ext <<_ACEOF
 15.1659 +#line 1656 "configure"
 15.1660 +#include "confdefs.h"
 15.1661 +#include <ac_nonexistent.h>
 15.1662 +_ACEOF
 15.1663 +if { (eval echo "$as_me:1660: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
 15.1664 +  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
 15.1665 +  ac_status=$?
 15.1666 +  egrep -v '^ *\+' conftest.er1 >conftest.err
 15.1667 +  rm -f conftest.er1
 15.1668 +  cat conftest.err >&5
 15.1669 +  echo "$as_me:1666: \$? = $ac_status" >&5
 15.1670 +  (exit $ac_status); }; then
 15.1671 +  if test -s conftest.err; then
 15.1672 +    ac_cpp_err=$ac_c_preproc_warn_flag
 15.1673 +  else
 15.1674 +    ac_cpp_err=
 15.1675 +  fi
 15.1676 +else
 15.1677 +  ac_cpp_err=yes
 15.1678 +fi
 15.1679 +if test -z "$ac_cpp_err"; then
 15.1680 +  # cannot detect missing includes at all
 15.1681 +ac_cpp_err=yes
 15.1682 +else
 15.1683 +  echo "$as_me: failed program was:" >&5
 15.1684 +  cat conftest.$ac_ext >&5
 15.1685 +  if test "x$ac_cpp_err" = xmaybe; then
 15.1686 +      ac_c_preproc_warn_flag=yes
 15.1687 +    else
 15.1688 +      ac_c_preproc_warn_flag=
 15.1689 +    fi
 15.1690 +    ac_cpp_err=
 15.1691 +fi
 15.1692 +rm -f conftest.err conftest.$ac_ext
 15.1693 +fi
 15.1694 +else
 15.1695 +  echo "$as_me: failed program was:" >&5
 15.1696 +  cat conftest.$ac_ext >&5
 15.1697 +
 15.1698 +fi
 15.1699 +rm -f conftest.err conftest.$ac_ext
 15.1700 +      if test -z "$ac_cpp_err"; then
 15.1701 +        break
 15.1702 +      fi
 15.1703 +    done
 15.1704 +    ac_cv_prog_CPP=$CPP
 15.1705 +
 15.1706 +fi
 15.1707 +  CPP=$ac_cv_prog_CPP
 15.1708 +else
 15.1709 +  # Use a header file that comes with gcc, so configuring glibc
 15.1710 +# with a fresh cross-compiler works.
 15.1711 +# On the NeXT, cc -E runs the code through the compiler's parser,
 15.1712 +# not just through cpp. "Syntax error" is here to catch this case.
 15.1713 +ac_c_preproc_warn_flag=maybe
 15.1714 +cat >conftest.$ac_ext <<_ACEOF
 15.1715 +#line 1712 "configure"
 15.1716 +#include "confdefs.h"
 15.1717 +#include <assert.h>
 15.1718 +Syntax error
 15.1719 +_ACEOF
 15.1720 +if { (eval echo "$as_me:1717: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
 15.1721 +  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
 15.1722 +  ac_status=$?
 15.1723 +  egrep -v '^ *\+' conftest.er1 >conftest.err
 15.1724 +  rm -f conftest.er1
 15.1725 +  cat conftest.err >&5
 15.1726 +  echo "$as_me:1723: \$? = $ac_status" >&5
 15.1727 +  (exit $ac_status); }; then
 15.1728 +  if test -s conftest.err; then
 15.1729 +    ac_cpp_err=$ac_c_preproc_warn_flag
 15.1730 +  else
 15.1731 +    ac_cpp_err=
 15.1732 +  fi
 15.1733 +else
 15.1734 +  ac_cpp_err=yes
 15.1735 +fi
 15.1736 +if test -z "$ac_cpp_err"; then
 15.1737 +  # Now check whether non-existent headers can be detected and how
 15.1738 +# Skip if ac_cpp_err is not empty - ac_cpp is broken
 15.1739 +if test -z "$ac_cpp_err"; then
 15.1740 +  cat >conftest.$ac_ext <<_ACEOF
 15.1741 +#line 1738 "configure"
 15.1742 +#include "confdefs.h"
 15.1743 +#include <ac_nonexistent.h>
 15.1744 +_ACEOF
 15.1745 +if { (eval echo "$as_me:1742: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
 15.1746 +  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
 15.1747 +  ac_status=$?
 15.1748 +  egrep -v '^ *\+' conftest.er1 >conftest.err
 15.1749 +  rm -f conftest.er1
 15.1750 +  cat conftest.err >&5
 15.1751 +  echo "$as_me:1748: \$? = $ac_status" >&5
 15.1752 +  (exit $ac_status); }; then
 15.1753 +  if test -s conftest.err; then
 15.1754 +    ac_cpp_err=$ac_c_preproc_warn_flag
 15.1755 +  else
 15.1756 +    ac_cpp_err=
 15.1757 +  fi
 15.1758 +else
 15.1759 +  ac_cpp_err=yes
 15.1760 +fi
 15.1761 +if test -z "$ac_cpp_err"; then
 15.1762 +  # cannot detect missing includes at all
 15.1763 +ac_cpp_err=yes
 15.1764 +else
 15.1765 +  echo "$as_me: failed program was:" >&5
 15.1766 +  cat conftest.$ac_ext >&5
 15.1767 +  if test "x$ac_cpp_err" = xmaybe; then
 15.1768 +      ac_c_preproc_warn_flag=yes
 15.1769 +    else
 15.1770 +      ac_c_preproc_warn_flag=
 15.1771 +    fi
 15.1772 +    ac_cpp_err=
 15.1773 +fi
 15.1774 +rm -f conftest.err conftest.$ac_ext
 15.1775 +fi
 15.1776 +else
 15.1777 +  echo "$as_me: failed program was:" >&5
 15.1778 +  cat conftest.$ac_ext >&5
 15.1779 +
 15.1780 +fi
 15.1781 +rm -f conftest.err conftest.$ac_ext
 15.1782 +  ac_cv_prog_CPP=$CPP
 15.1783 +fi
 15.1784 +echo "$as_me:1781: result: $CPP" >&5
 15.1785 +echo "${ECHO_T}$CPP" >&6
 15.1786 +if test -n "$ac_cpp_err"; then
 15.1787 +  { { echo "$as_me:1784: error: C preprocessor \"$CPP\" fails sanity check" >&5
 15.1788 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
 15.1789 +   { (exit 1); exit 1; }; }
 15.1790 +fi
 15.1791 +ac_ext=c
 15.1792 +ac_cpp='$CPP $CPPFLAGS'
 15.1793 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.1794 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.1795 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 15.1796 +
 15.1797 +ac_ext=c
 15.1798 +ac_cpp='$CPP $CPPFLAGS'
 15.1799 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.1800 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.1801 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 15.1802 +if test -n "$ac_tool_prefix"; then
 15.1803 +  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 15.1804 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
 15.1805 +echo "$as_me:1802: checking for $ac_word" >&5
 15.1806 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.1807 +if test "${ac_cv_prog_CC+set}" = set; then
 15.1808 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1809 +else
 15.1810 +  if test -n "$CC"; then
 15.1811 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 15.1812 +else
 15.1813 +  ac_save_IFS=$IFS; IFS=':'
 15.1814 +ac_dummy="$PATH"
 15.1815 +for ac_dir in $ac_dummy; do
 15.1816 +  IFS=$ac_save_IFS
 15.1817 +  test -z "$ac_dir" && ac_dir=.
 15.1818 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.1819 +ac_cv_prog_CC="${ac_tool_prefix}gcc"
 15.1820 +break
 15.1821 +done
 15.1822 +
 15.1823 +fi
 15.1824 +fi
 15.1825 +CC=$ac_cv_prog_CC
 15.1826 +if test -n "$CC"; then
 15.1827 +  echo "$as_me:1824: result: $CC" >&5
 15.1828 +echo "${ECHO_T}$CC" >&6
 15.1829 +else
 15.1830 +  echo "$as_me:1827: result: no" >&5
 15.1831 +echo "${ECHO_T}no" >&6
 15.1832 +fi
 15.1833 +
 15.1834 +fi
 15.1835 +if test -z "$ac_cv_prog_CC"; then
 15.1836 +  ac_ct_CC=$CC
 15.1837 +  # Extract the first word of "gcc", so it can be a program name with args.
 15.1838 +set dummy gcc; ac_word=$2
 15.1839 +echo "$as_me:1836: checking for $ac_word" >&5
 15.1840 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.1841 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 15.1842 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1843 +else
 15.1844 +  if test -n "$ac_ct_CC"; then
 15.1845 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 15.1846 +else
 15.1847 +  ac_save_IFS=$IFS; IFS=':'
 15.1848 +ac_dummy="$PATH"
 15.1849 +for ac_dir in $ac_dummy; do
 15.1850 +  IFS=$ac_save_IFS
 15.1851 +  test -z "$ac_dir" && ac_dir=.
 15.1852 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.1853 +ac_cv_prog_ac_ct_CC="gcc"
 15.1854 +break
 15.1855 +done
 15.1856 +
 15.1857 +fi
 15.1858 +fi
 15.1859 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
 15.1860 +if test -n "$ac_ct_CC"; then
 15.1861 +  echo "$as_me:1858: result: $ac_ct_CC" >&5
 15.1862 +echo "${ECHO_T}$ac_ct_CC" >&6
 15.1863 +else
 15.1864 +  echo "$as_me:1861: result: no" >&5
 15.1865 +echo "${ECHO_T}no" >&6
 15.1866 +fi
 15.1867 +
 15.1868 +  CC=$ac_ct_CC
 15.1869 +else
 15.1870 +  CC="$ac_cv_prog_CC"
 15.1871 +fi
 15.1872 +
 15.1873 +if test -z "$CC"; then
 15.1874 +  if test -n "$ac_tool_prefix"; then
 15.1875 +  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 15.1876 +set dummy ${ac_tool_prefix}cc; ac_word=$2
 15.1877 +echo "$as_me:1874: checking for $ac_word" >&5
 15.1878 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.1879 +if test "${ac_cv_prog_CC+set}" = set; then
 15.1880 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1881 +else
 15.1882 +  if test -n "$CC"; then
 15.1883 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 15.1884 +else
 15.1885 +  ac_save_IFS=$IFS; IFS=':'
 15.1886 +ac_dummy="$PATH"
 15.1887 +for ac_dir in $ac_dummy; do
 15.1888 +  IFS=$ac_save_IFS
 15.1889 +  test -z "$ac_dir" && ac_dir=.
 15.1890 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.1891 +ac_cv_prog_CC="${ac_tool_prefix}cc"
 15.1892 +break
 15.1893 +done
 15.1894 +
 15.1895 +fi
 15.1896 +fi
 15.1897 +CC=$ac_cv_prog_CC
 15.1898 +if test -n "$CC"; then
 15.1899 +  echo "$as_me:1896: result: $CC" >&5
 15.1900 +echo "${ECHO_T}$CC" >&6
 15.1901 +else
 15.1902 +  echo "$as_me:1899: result: no" >&5
 15.1903 +echo "${ECHO_T}no" >&6
 15.1904 +fi
 15.1905 +
 15.1906 +fi
 15.1907 +if test -z "$ac_cv_prog_CC"; then
 15.1908 +  ac_ct_CC=$CC
 15.1909 +  # Extract the first word of "cc", so it can be a program name with args.
 15.1910 +set dummy cc; ac_word=$2
 15.1911 +echo "$as_me:1908: checking for $ac_word" >&5
 15.1912 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.1913 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 15.1914 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1915 +else
 15.1916 +  if test -n "$ac_ct_CC"; then
 15.1917 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 15.1918 +else
 15.1919 +  ac_save_IFS=$IFS; IFS=':'
 15.1920 +ac_dummy="$PATH"
 15.1921 +for ac_dir in $ac_dummy; do
 15.1922 +  IFS=$ac_save_IFS
 15.1923 +  test -z "$ac_dir" && ac_dir=.
 15.1924 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.1925 +ac_cv_prog_ac_ct_CC="cc"
 15.1926 +break
 15.1927 +done
 15.1928 +
 15.1929 +fi
 15.1930 +fi
 15.1931 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
 15.1932 +if test -n "$ac_ct_CC"; then
 15.1933 +  echo "$as_me:1930: result: $ac_ct_CC" >&5
 15.1934 +echo "${ECHO_T}$ac_ct_CC" >&6
 15.1935 +else
 15.1936 +  echo "$as_me:1933: result: no" >&5
 15.1937 +echo "${ECHO_T}no" >&6
 15.1938 +fi
 15.1939 +
 15.1940 +  CC=$ac_ct_CC
 15.1941 +else
 15.1942 +  CC="$ac_cv_prog_CC"
 15.1943 +fi
 15.1944 +
 15.1945 +fi
 15.1946 +if test -z "$CC"; then
 15.1947 +  # Extract the first word of "cc", so it can be a program name with args.
 15.1948 +set dummy cc; ac_word=$2
 15.1949 +echo "$as_me:1946: checking for $ac_word" >&5
 15.1950 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.1951 +if test "${ac_cv_prog_CC+set}" = set; then
 15.1952 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.1953 +else
 15.1954 +  if test -n "$CC"; then
 15.1955 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 15.1956 +else
 15.1957 +  ac_prog_rejected=no
 15.1958 +  ac_save_IFS=$IFS; IFS=':'
 15.1959 +ac_dummy="$PATH"
 15.1960 +for ac_dir in $ac_dummy; do
 15.1961 +  IFS=$ac_save_IFS
 15.1962 +  test -z "$ac_dir" && ac_dir=.
 15.1963 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.1964 +if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
 15.1965 +  ac_prog_rejected=yes
 15.1966 +  continue
 15.1967 +fi
 15.1968 +ac_cv_prog_CC="cc"
 15.1969 +break
 15.1970 +done
 15.1971 +
 15.1972 +if test $ac_prog_rejected = yes; then
 15.1973 +  # We found a bogon in the path, so make sure we never use it.
 15.1974 +  set dummy $ac_cv_prog_CC
 15.1975 +  shift
 15.1976 +  if test $# != 0; then
 15.1977 +    # We chose a different compiler from the bogus one.
 15.1978 +    # However, it has the same basename, so the bogon will be chosen
 15.1979 +    # first if we set CC to just the basename; use the full file name.
 15.1980 +    shift
 15.1981 +    set dummy "$ac_dir/$ac_word" ${1+"$@"}
 15.1982 +    shift
 15.1983 +    ac_cv_prog_CC="$@"
 15.1984 +  fi
 15.1985 +fi
 15.1986 +fi
 15.1987 +fi
 15.1988 +CC=$ac_cv_prog_CC
 15.1989 +if test -n "$CC"; then
 15.1990 +  echo "$as_me:1987: result: $CC" >&5
 15.1991 +echo "${ECHO_T}$CC" >&6
 15.1992 +else
 15.1993 +  echo "$as_me:1990: result: no" >&5
 15.1994 +echo "${ECHO_T}no" >&6
 15.1995 +fi
 15.1996 +
 15.1997 +fi
 15.1998 +if test -z "$CC"; then
 15.1999 +  if test -n "$ac_tool_prefix"; then
 15.2000 +  for ac_prog in cl
 15.2001 +  do
 15.2002 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 15.2003 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 15.2004 +echo "$as_me:2001: checking for $ac_word" >&5
 15.2005 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.2006 +if test "${ac_cv_prog_CC+set}" = set; then
 15.2007 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2008 +else
 15.2009 +  if test -n "$CC"; then
 15.2010 +  ac_cv_prog_CC="$CC" # Let the user override the test.
 15.2011 +else
 15.2012 +  ac_save_IFS=$IFS; IFS=':'
 15.2013 +ac_dummy="$PATH"
 15.2014 +for ac_dir in $ac_dummy; do
 15.2015 +  IFS=$ac_save_IFS
 15.2016 +  test -z "$ac_dir" && ac_dir=.
 15.2017 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.2018 +ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 15.2019 +break
 15.2020 +done
 15.2021 +
 15.2022 +fi
 15.2023 +fi
 15.2024 +CC=$ac_cv_prog_CC
 15.2025 +if test -n "$CC"; then
 15.2026 +  echo "$as_me:2023: result: $CC" >&5
 15.2027 +echo "${ECHO_T}$CC" >&6
 15.2028 +else
 15.2029 +  echo "$as_me:2026: result: no" >&5
 15.2030 +echo "${ECHO_T}no" >&6
 15.2031 +fi
 15.2032 +
 15.2033 +    test -n "$CC" && break
 15.2034 +  done
 15.2035 +fi
 15.2036 +if test -z "$CC"; then
 15.2037 +  ac_ct_CC=$CC
 15.2038 +  for ac_prog in cl
 15.2039 +do
 15.2040 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
 15.2041 +set dummy $ac_prog; ac_word=$2
 15.2042 +echo "$as_me:2039: checking for $ac_word" >&5
 15.2043 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.2044 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 15.2045 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2046 +else
 15.2047 +  if test -n "$ac_ct_CC"; then
 15.2048 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 15.2049 +else
 15.2050 +  ac_save_IFS=$IFS; IFS=':'
 15.2051 +ac_dummy="$PATH"
 15.2052 +for ac_dir in $ac_dummy; do
 15.2053 +  IFS=$ac_save_IFS
 15.2054 +  test -z "$ac_dir" && ac_dir=.
 15.2055 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.2056 +ac_cv_prog_ac_ct_CC="$ac_prog"
 15.2057 +break
 15.2058 +done
 15.2059 +
 15.2060 +fi
 15.2061 +fi
 15.2062 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
 15.2063 +if test -n "$ac_ct_CC"; then
 15.2064 +  echo "$as_me:2061: result: $ac_ct_CC" >&5
 15.2065 +echo "${ECHO_T}$ac_ct_CC" >&6
 15.2066 +else
 15.2067 +  echo "$as_me:2064: result: no" >&5
 15.2068 +echo "${ECHO_T}no" >&6
 15.2069 +fi
 15.2070 +
 15.2071 +  test -n "$ac_ct_CC" && break
 15.2072 +done
 15.2073 +
 15.2074 +  CC=$ac_ct_CC
 15.2075 +fi
 15.2076 +
 15.2077 +fi
 15.2078 +
 15.2079 +test -z "$CC" && { { echo "$as_me:2076: error: no acceptable cc found in \$PATH" >&5
 15.2080 +echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
 15.2081 +   { (exit 1); exit 1; }; }
 15.2082 +
 15.2083 +echo "$as_me:2080: checking for object suffix" >&5
 15.2084 +echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
 15.2085 +if test "${ac_cv_objext+set}" = set; then
 15.2086 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2087 +else
 15.2088 +  cat >conftest.$ac_ext <<_ACEOF
 15.2089 +#line 2086 "configure"
 15.2090 +#include "confdefs.h"
 15.2091 +
 15.2092 +int
 15.2093 +main ()
 15.2094 +{
 15.2095 +
 15.2096 +  ;
 15.2097 +  return 0;
 15.2098 +}
 15.2099 +_ACEOF
 15.2100 +rm -f conftest.o conftest.obj
 15.2101 +if { (eval echo "$as_me:2098: \"$ac_compile\"") >&5
 15.2102 +  (eval $ac_compile) 2>&5
 15.2103 +  ac_status=$?
 15.2104 +  echo "$as_me:2101: \$? = $ac_status" >&5
 15.2105 +  (exit $ac_status); }; then
 15.2106 +  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 15.2107 +  case $ac_file in
 15.2108 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
 15.2109 +    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 15.2110 +       break;;
 15.2111 +  esac
 15.2112 +done
 15.2113 +else
 15.2114 +  echo "$as_me: failed program was:" >&5
 15.2115 +cat conftest.$ac_ext >&5
 15.2116 +{ { echo "$as_me:2113: error: cannot compute OBJEXT: cannot compile" >&5
 15.2117 +echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
 15.2118 +   { (exit 1); exit 1; }; }
 15.2119 +fi
 15.2120 +
 15.2121 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
 15.2122 +fi
 15.2123 +echo "$as_me:2120: result: $ac_cv_objext" >&5
 15.2124 +echo "${ECHO_T}$ac_cv_objext" >&6
 15.2125 +OBJEXT=$ac_cv_objext
 15.2126 +ac_objext=$OBJEXT
 15.2127 +echo "$as_me:2124: checking for executable suffix" >&5
 15.2128 +echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
 15.2129 +if test "${ac_cv_exeext+set}" = set; then
 15.2130 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2131 +else
 15.2132 +  cat >conftest.$ac_ext <<_ACEOF
 15.2133 +#line 2130 "configure"
 15.2134 +#include "confdefs.h"
 15.2135 +
 15.2136 +int
 15.2137 +main ()
 15.2138 +{
 15.2139 +
 15.2140 +  ;
 15.2141 +  return 0;
 15.2142 +}
 15.2143 +_ACEOF
 15.2144 +# Try without -o first, disregard a.out.
 15.2145 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 15.2146 +if { (eval echo "$as_me:2143: \"$ac_link_default\"") >&5
 15.2147 +  (eval $ac_link_default) 2>&5
 15.2148 +  ac_status=$?
 15.2149 +  echo "$as_me:2146: \$? = $ac_status" >&5
 15.2150 +  (exit $ac_status); }; then
 15.2151 +  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
 15.2152 +  case $ac_file in
 15.2153 +    *.$ac_ext | *.out | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
 15.2154 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 15.2155 +          export ac_cv_exeext
 15.2156 +          break;;
 15.2157 +    * ) break;;
 15.2158 +  esac
 15.2159 +done
 15.2160 +else
 15.2161 +  echo "$as_me: failed program was:" >&5
 15.2162 +cat conftest.$ac_ext >&5
 15.2163 +fi
 15.2164 +
 15.2165 +rm -f a.out a.exe conftest$ac_cv_exeext
 15.2166 +
 15.2167 +# We have not set ac_exeext yet which is needed by `ac_link'.
 15.2168 +ac_exeext=$ac_cv_exeext
 15.2169 +if { (eval echo "$as_me:2166: \"$ac_link\"") >&5
 15.2170 +  (eval $ac_link) 2>&5
 15.2171 +  ac_status=$?
 15.2172 +  echo "$as_me:2169: \$? = $ac_status" >&5
 15.2173 +  (exit $ac_status); }; then
 15.2174 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 15.2175 +# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 15.2176 +# work properly (i.e., refer to `conftest.exe'), while it won't with
 15.2177 +# `rm'.
 15.2178 +for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
 15.2179 +  case $ac_file in
 15.2180 +    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
 15.2181 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 15.2182 +          export ac_cv_exeext
 15.2183 +          break;;
 15.2184 +    * ) break;;
 15.2185 +  esac
 15.2186 +done
 15.2187 +else
 15.2188 +  { { echo "$as_me:2185: error: cannot compute EXEEXT: cannot compile and link" >&5
 15.2189 +echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
 15.2190 +   { (exit 1); exit 1; }; }
 15.2191 +fi
 15.2192 +
 15.2193 +rm -f conftest.$ac_ext conftest$ac_cv_exeext
 15.2194 +
 15.2195 +fi
 15.2196 +echo "$as_me:2193: result: $ac_cv_exeext" >&5
 15.2197 +echo "${ECHO_T}$ac_cv_exeext" >&6
 15.2198 +EXEEXT=$ac_cv_exeext
 15.2199 +ac_exeext=$EXEEXT
 15.2200 +echo "$as_me:2197: checking whether the C compiler works" >&5
 15.2201 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 15.2202 +cat >conftest.$ac_ext <<_ACEOF
 15.2203 +#line 2200 "configure"
 15.2204 +#include "confdefs.h"
 15.2205 +
 15.2206 +int
 15.2207 +main ()
 15.2208 +{
 15.2209 +
 15.2210 +  ;
 15.2211 +  return 0;
 15.2212 +}
 15.2213 +_ACEOF
 15.2214 +rm -f conftest.$ac_objext conftest$ac_exeext
 15.2215 +if { (eval echo "$as_me:2212: \"$ac_link\"") >&5
 15.2216 +  (eval $ac_link) 2>&5
 15.2217 +  ac_status=$?
 15.2218 +  echo "$as_me:2215: \$? = $ac_status" >&5
 15.2219 +  (exit $ac_status); } &&
 15.2220 +         { (eval echo "$as_me:2217: \"test -s conftest$ac_exeext\"") >&5
 15.2221 +  (eval test -s conftest$ac_exeext) 2>&5
 15.2222 +  ac_status=$?
 15.2223 +  echo "$as_me:2220: \$? = $ac_status" >&5
 15.2224 +  (exit $ac_status); }; then
 15.2225 +  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
 15.2226 +# If not cross compiling, check that we can run a simple program.
 15.2227 +if test "$cross_compiling" != yes; then
 15.2228 +  if { (eval echo "$as_me:2225: \"./conftest$ac_exeext\"") >&5
 15.2229 +  (eval ./conftest$ac_exeext) 2>&5
 15.2230 +  ac_status=$?
 15.2231 +  echo "$as_me:2228: \$? = $ac_status" >&5
 15.2232 +  (exit $ac_status); }; then
 15.2233 +    cross_compiling=no
 15.2234 +  else
 15.2235 +    if test "$cross_compiling" = maybe; then
 15.2236 +      cross_compiling=yes
 15.2237 +    else
 15.2238 +      { { echo "$as_me:2235: error: cannot run C compiled programs.
 15.2239 +To enable cross compilation, use \`--host'." >&5
 15.2240 +echo "$as_me: error: cannot run C compiled programs.
 15.2241 +To enable cross compilation, use \`--host'." >&2;}
 15.2242 +   { (exit 1); exit 1; }; }
 15.2243 +    fi
 15.2244 +  fi
 15.2245 +fi
 15.2246 +echo "$as_me:2243: result: yes" >&5
 15.2247 +echo "${ECHO_T}yes" >&6
 15.2248 +else
 15.2249 +  echo "$as_me: failed program was:" >&5
 15.2250 +cat conftest.$ac_ext >&5
 15.2251 +echo "$as_me:2248: result: no" >&5
 15.2252 +echo "${ECHO_T}no" >&6
 15.2253 +{ { echo "$as_me:2250: error: C compiler cannot create executables" >&5
 15.2254 +echo "$as_me: error: C compiler cannot create executables" >&2;}
 15.2255 +   { (exit 77); exit 77; }; }
 15.2256 +fi
 15.2257 +rm -f conftest$ac_exeext conftest.$ac_ext
 15.2258 +echo "$as_me:2255: checking whether we are cross compiling" >&5
 15.2259 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 15.2260 +echo "$as_me:2257: result: $cross_compiling" >&5
 15.2261 +echo "${ECHO_T}$cross_compiling" >&6
 15.2262 +
 15.2263 +echo "$as_me:2260: checking whether we are using the GNU C compiler" >&5
 15.2264 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 15.2265 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
 15.2266 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2267 +else
 15.2268 +  cat >conftest.$ac_ext <<_ACEOF
 15.2269 +#line 2266 "configure"
 15.2270 +#include "confdefs.h"
 15.2271 +
 15.2272 +int
 15.2273 +main ()
 15.2274 +{
 15.2275 +#ifndef __GNUC__
 15.2276 +       choke me
 15.2277 +#endif
 15.2278 +
 15.2279 +  ;
 15.2280 +  return 0;
 15.2281 +}
 15.2282 +_ACEOF
 15.2283 +rm -f conftest.$ac_objext
 15.2284 +if { (eval echo "$as_me:2281: \"$ac_compile\"") >&5
 15.2285 +  (eval $ac_compile) 2>&5
 15.2286 +  ac_status=$?
 15.2287 +  echo "$as_me:2284: \$? = $ac_status" >&5
 15.2288 +  (exit $ac_status); } &&
 15.2289 +         { (eval echo "$as_me:2286: \"test -s conftest.$ac_objext\"") >&5
 15.2290 +  (eval test -s conftest.$ac_objext) 2>&5
 15.2291 +  ac_status=$?
 15.2292 +  echo "$as_me:2289: \$? = $ac_status" >&5
 15.2293 +  (exit $ac_status); }; then
 15.2294 +  ac_compiler_gnu=yes
 15.2295 +else
 15.2296 +  echo "$as_me: failed program was:" >&5
 15.2297 +cat conftest.$ac_ext >&5
 15.2298 +ac_compiler_gnu=no
 15.2299 +fi
 15.2300 +rm -f conftest.$ac_objext conftest.$ac_ext
 15.2301 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
 15.2302 +
 15.2303 +fi
 15.2304 +echo "$as_me:2301: result: $ac_cv_c_compiler_gnu" >&5
 15.2305 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 15.2306 +GCC=`test $ac_compiler_gnu = yes && echo yes`
 15.2307 +ac_test_CFLAGS=${CFLAGS+set}
 15.2308 +ac_save_CFLAGS=$CFLAGS
 15.2309 +CFLAGS="-g"
 15.2310 +echo "$as_me:2307: checking whether $CC accepts -g" >&5
 15.2311 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 15.2312 +if test "${ac_cv_prog_cc_g+set}" = set; then
 15.2313 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2314 +else
 15.2315 +  cat >conftest.$ac_ext <<_ACEOF
 15.2316 +#line 2313 "configure"
 15.2317 +#include "confdefs.h"
 15.2318 +
 15.2319 +int
 15.2320 +main ()
 15.2321 +{
 15.2322 +
 15.2323 +  ;
 15.2324 +  return 0;
 15.2325 +}
 15.2326 +_ACEOF
 15.2327 +rm -f conftest.$ac_objext
 15.2328 +if { (eval echo "$as_me:2325: \"$ac_compile\"") >&5
 15.2329 +  (eval $ac_compile) 2>&5
 15.2330 +  ac_status=$?
 15.2331 +  echo "$as_me:2328: \$? = $ac_status" >&5
 15.2332 +  (exit $ac_status); } &&
 15.2333 +         { (eval echo "$as_me:2330: \"test -s conftest.$ac_objext\"") >&5
 15.2334 +  (eval test -s conftest.$ac_objext) 2>&5
 15.2335 +  ac_status=$?
 15.2336 +  echo "$as_me:2333: \$? = $ac_status" >&5
 15.2337 +  (exit $ac_status); }; then
 15.2338 +  ac_cv_prog_cc_g=yes
 15.2339 +else
 15.2340 +  echo "$as_me: failed program was:" >&5
 15.2341 +cat conftest.$ac_ext >&5
 15.2342 +ac_cv_prog_cc_g=no
 15.2343 +fi
 15.2344 +rm -f conftest.$ac_objext conftest.$ac_ext
 15.2345 +fi
 15.2346 +echo "$as_me:2343: result: $ac_cv_prog_cc_g" >&5
 15.2347 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 15.2348 +if test "$ac_test_CFLAGS" = set; then
 15.2349 +  CFLAGS=$ac_save_CFLAGS
 15.2350 +elif test $ac_cv_prog_cc_g = yes; then
 15.2351 +  if test "$GCC" = yes; then
 15.2352 +    CFLAGS="-g -O2"
 15.2353 +  else
 15.2354 +    CFLAGS="-g"
 15.2355 +  fi
 15.2356 +else
 15.2357 +  if test "$GCC" = yes; then
 15.2358 +    CFLAGS="-O2"
 15.2359 +  else
 15.2360 +    CFLAGS=
 15.2361 +  fi
 15.2362 +fi
 15.2363 +# Some people use a C++ compiler to compile C.  Since we use `exit',
 15.2364 +# in C++ we need to declare it.  In case someone uses the same compiler
 15.2365 +# for both compiling C and C++ we need to have the C++ compiler decide
 15.2366 +# the declaration of exit, since it's the most demanding environment.
 15.2367 +cat >conftest.$ac_ext <<_ACEOF
 15.2368 +#ifndef __cplusplus
 15.2369 +  choke me
 15.2370 +#endif
 15.2371 +_ACEOF
 15.2372 +rm -f conftest.$ac_objext
 15.2373 +if { (eval echo "$as_me:2370: \"$ac_compile\"") >&5
 15.2374 +  (eval $ac_compile) 2>&5
 15.2375 +  ac_status=$?
 15.2376 +  echo "$as_me:2373: \$? = $ac_status" >&5
 15.2377 +  (exit $ac_status); } &&
 15.2378 +         { (eval echo "$as_me:2375: \"test -s conftest.$ac_objext\"") >&5
 15.2379 +  (eval test -s conftest.$ac_objext) 2>&5
 15.2380 +  ac_status=$?
 15.2381 +  echo "$as_me:2378: \$? = $ac_status" >&5
 15.2382 +  (exit $ac_status); }; then
 15.2383 +  for ac_declaration in \
 15.2384 +   ''\
 15.2385 +   '#include <stdlib.h>' \
 15.2386 +   'extern "C" void std::exit (int) throw (); using std::exit;' \
 15.2387 +   'extern "C" void std::exit (int); using std::exit;' \
 15.2388 +   'extern "C" void exit (int) throw ();' \
 15.2389 +   'extern "C" void exit (int);' \
 15.2390 +   'void exit (int);'
 15.2391 +do
 15.2392 +  cat >conftest.$ac_ext <<_ACEOF
 15.2393 +#line 2390 "configure"
 15.2394 +#include "confdefs.h"
 15.2395 +#include <stdlib.h>
 15.2396 +$ac_declaration
 15.2397 +int
 15.2398 +main ()
 15.2399 +{
 15.2400 +exit (42);
 15.2401 +  ;
 15.2402 +  return 0;
 15.2403 +}
 15.2404 +_ACEOF
 15.2405 +rm -f conftest.$ac_objext
 15.2406 +if { (eval echo "$as_me:2403: \"$ac_compile\"") >&5
 15.2407 +  (eval $ac_compile) 2>&5
 15.2408 +  ac_status=$?
 15.2409 +  echo "$as_me:2406: \$? = $ac_status" >&5
 15.2410 +  (exit $ac_status); } &&
 15.2411 +         { (eval echo "$as_me:2408: \"test -s conftest.$ac_objext\"") >&5
 15.2412 +  (eval test -s conftest.$ac_objext) 2>&5
 15.2413 +  ac_status=$?
 15.2414 +  echo "$as_me:2411: \$? = $ac_status" >&5
 15.2415 +  (exit $ac_status); }; then
 15.2416 +  :
 15.2417 +else
 15.2418 +  echo "$as_me: failed program was:" >&5
 15.2419 +cat conftest.$ac_ext >&5
 15.2420 +continue
 15.2421 +fi
 15.2422 +rm -f conftest.$ac_objext conftest.$ac_ext
 15.2423 +  cat >conftest.$ac_ext <<_ACEOF
 15.2424 +#line 2421 "configure"
 15.2425 +#include "confdefs.h"
 15.2426 +$ac_declaration
 15.2427 +int
 15.2428 +main ()
 15.2429 +{
 15.2430 +exit (42);
 15.2431 +  ;
 15.2432 +  return 0;
 15.2433 +}
 15.2434 +_ACEOF
 15.2435 +rm -f conftest.$ac_objext
 15.2436 +if { (eval echo "$as_me:2433: \"$ac_compile\"") >&5
 15.2437 +  (eval $ac_compile) 2>&5
 15.2438 +  ac_status=$?
 15.2439 +  echo "$as_me:2436: \$? = $ac_status" >&5
 15.2440 +  (exit $ac_status); } &&
 15.2441 +         { (eval echo "$as_me:2438: \"test -s conftest.$ac_objext\"") >&5
 15.2442 +  (eval test -s conftest.$ac_objext) 2>&5
 15.2443 +  ac_status=$?
 15.2444 +  echo "$as_me:2441: \$? = $ac_status" >&5
 15.2445 +  (exit $ac_status); }; then
 15.2446 +  break
 15.2447 +else
 15.2448 +  echo "$as_me: failed program was:" >&5
 15.2449 +cat conftest.$ac_ext >&5
 15.2450 +fi
 15.2451 +rm -f conftest.$ac_objext conftest.$ac_ext
 15.2452 +done
 15.2453 +echo '#ifdef __cplusplus' >>confdefs.h
 15.2454 +echo $ac_declaration      >>confdefs.h
 15.2455 +echo '#endif'             >>confdefs.h
 15.2456 +
 15.2457 +else
 15.2458 +  echo "$as_me: failed program was:" >&5
 15.2459 +cat conftest.$ac_ext >&5
 15.2460 +fi
 15.2461 +rm -f conftest.$ac_objext conftest.$ac_ext
 15.2462 +ac_ext=c
 15.2463 +ac_cpp='$CPP $CPPFLAGS'
 15.2464 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.2465 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.2466 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 15.2467 +
 15.2468 +depcc="$CC"
 15.2469 +depcpp="$CPP"
 15.2470 +
 15.2471 +echo "$as_me:2468: checking dependency style of $depcc" >&5
 15.2472 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 15.2473 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 15.2474 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2475 +else
 15.2476 +  if test -z "$AMDEP"; then
 15.2477 +  echo '#include "conftest.h"' > conftest.c
 15.2478 +  echo 'int i;' > conftest.h
 15.2479 +
 15.2480 +  am_cv_CC_dependencies_compiler_type=none
 15.2481 +  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
 15.2482 +    case "$depmode" in
 15.2483 +    nosideeffect)
 15.2484 +      # after this tag, mechanisms are not by side-effect, so they'll
 15.2485 +      # only be used when explicitly requested
 15.2486 +      if test "x$enable_dependency_tracking" = xyes; then
 15.2487 +	continue
 15.2488 +      else
 15.2489 +	break
 15.2490 +      fi
 15.2491 +      ;;
 15.2492 +    none) break ;;
 15.2493 +    esac
 15.2494 +    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 15.2495 +    # mode.  It turns out that the SunPro C++ compiler does not properly
 15.2496 +    # handle `-M -o', and we need to detect this.
 15.2497 +    if depmode="$depmode" \
 15.2498 +       source=conftest.c object=conftest.o \
 15.2499 +       depfile=conftest.Po tmpdepfile=conftest.TPo \
 15.2500 +       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
 15.2501 +       grep conftest.h conftest.Po > /dev/null 2>&1; then
 15.2502 +      am_cv_CC_dependencies_compiler_type="$depmode"
 15.2503 +      break
 15.2504 +    fi
 15.2505 +  done
 15.2506 +
 15.2507 +  rm -f conftest.*
 15.2508 +else
 15.2509 +  am_cv_CC_dependencies_compiler_type=none
 15.2510 +fi
 15.2511 +
 15.2512 +fi
 15.2513 +echo "$as_me:2510: result: $am_cv_CC_dependencies_compiler_type" >&5
 15.2514 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 15.2515 +CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
 15.2516 +
 15.2517 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
 15.2518 +if test "${with_gnu_ld+set}" = set; then
 15.2519 +  withval="$with_gnu_ld"
 15.2520 +  test "$withval" = no || with_gnu_ld=yes
 15.2521 +else
 15.2522 +  with_gnu_ld=no
 15.2523 +fi;
 15.2524 +ac_prog=ld
 15.2525 +if test "$ac_cv_c_compiler_gnu" = yes; then
 15.2526 +  # Check if gcc -print-prog-name=ld gives a path.
 15.2527 +  echo "$as_me:2524: checking for ld used by GCC" >&5
 15.2528 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
 15.2529 +  ac_prog=`($CC -print-prog-name=ld) 2>&5`
 15.2530 +  case "$ac_prog" in
 15.2531 +    # Accept absolute paths.
 15.2532 +    [\\/]* | [A-Za-z]:[\\/]*)
 15.2533 +      re_direlt='/[^/][^/]*/\.\./'
 15.2534 +      # Canonicalize the path of ld
 15.2535 +      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 15.2536 +      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 15.2537 +	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 15.2538 +      done
 15.2539 +      test -z "$LD" && LD="$ac_prog"
 15.2540 +      ;;
 15.2541 +  "")
 15.2542 +    # If it fails, then pretend we aren't using GCC.
 15.2543 +    ac_prog=ld
 15.2544 +    ;;
 15.2545 +  *)
 15.2546 +    # If it is relative, then search for the first ld in PATH.
 15.2547 +    with_gnu_ld=unknown
 15.2548 +    ;;
 15.2549 +  esac
 15.2550 +elif test "$with_gnu_ld" = yes; then
 15.2551 +  echo "$as_me:2548: checking for GNU ld" >&5
 15.2552 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 15.2553 +else
 15.2554 +  echo "$as_me:2551: checking for non-GNU ld" >&5
 15.2555 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 15.2556 +fi
 15.2557 +if test "${ac_cv_path_LD+set}" = set; then
 15.2558 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2559 +else
 15.2560 +  if test -z "$LD"; then
 15.2561 +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 15.2562 +  for ac_dir in $PATH; do
 15.2563 +    test -z "$ac_dir" && ac_dir=.
 15.2564 +    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 15.2565 +      ac_cv_path_LD="$ac_dir/$ac_prog"
 15.2566 +      # Check to see if the program is GNU ld.  I'd rather use --version,
 15.2567 +      # but apparently some GNU ld's only accept -v.
 15.2568 +      # Break only if it was the GNU/non-GNU ld that we prefer.
 15.2569 +      if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
 15.2570 +	test "$with_gnu_ld" != no && break
 15.2571 +      else
 15.2572 +	test "$with_gnu_ld" != yes && break
 15.2573 +      fi
 15.2574 +    fi
 15.2575 +  done
 15.2576 +  IFS="$ac_save_ifs"
 15.2577 +else
 15.2578 +  ac_cv_path_LD="$LD" # Let the user override the test with a path.
 15.2579 +fi
 15.2580 +fi
 15.2581 +
 15.2582 +LD="$ac_cv_path_LD"
 15.2583 +if test -n "$LD"; then
 15.2584 +  echo "$as_me:2581: result: $LD" >&5
 15.2585 +echo "${ECHO_T}$LD" >&6
 15.2586 +else
 15.2587 +  echo "$as_me:2584: result: no" >&5
 15.2588 +echo "${ECHO_T}no" >&6
 15.2589 +fi
 15.2590 +test -z "$LD" && { { echo "$as_me:2587: error: no acceptable ld found in \$PATH" >&5
 15.2591 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 15.2592 +   { (exit 1); exit 1; }; }
 15.2593 +echo "$as_me:2590: checking if the linker ($LD) is GNU ld" >&5
 15.2594 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 15.2595 +if test "${ac_cv_prog_gnu_ld+set}" = set; then
 15.2596 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2597 +else
 15.2598 +  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 15.2599 +if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
 15.2600 +  ac_cv_prog_gnu_ld=yes
 15.2601 +else
 15.2602 +  ac_cv_prog_gnu_ld=no
 15.2603 +fi
 15.2604 +fi
 15.2605 +echo "$as_me:2602: result: $ac_cv_prog_gnu_ld" >&5
 15.2606 +echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6
 15.2607 +
 15.2608 +echo "$as_me:2605: checking for BSD-compatible nm" >&5
 15.2609 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 15.2610 +if test "${ac_cv_path_NM+set}" = set; then
 15.2611 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2612 +else
 15.2613 +  if test -n "$NM"; then
 15.2614 +  # Let the user override the test.
 15.2615 +  ac_cv_path_NM="$NM"
 15.2616 +else
 15.2617 +  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 15.2618 +  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
 15.2619 +    test -z "$ac_dir" && ac_dir=.
 15.2620 +    if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
 15.2621 +      # Check to see if the nm accepts a BSD-compat flag.
 15.2622 +      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 15.2623 +      #   nm: unknown option "B" ignored
 15.2624 +      if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
 15.2625 +	ac_cv_path_NM="$ac_dir/nm -B"
 15.2626 +	break
 15.2627 +      elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
 15.2628 +	ac_cv_path_NM="$ac_dir/nm -p"
 15.2629 +	break
 15.2630 +      else
 15.2631 +	ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
 15.2632 +	continue # so that we can try to find one that supports BSD flags
 15.2633 +      fi
 15.2634 +    fi
 15.2635 +  done
 15.2636 +  IFS="$ac_save_ifs"
 15.2637 +  test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
 15.2638 +fi
 15.2639 +fi
 15.2640 +
 15.2641 +NM="$ac_cv_path_NM"
 15.2642 +echo "$as_me:2639: result: $NM" >&5
 15.2643 +echo "${ECHO_T}$NM" >&6
 15.2644 +
 15.2645 +echo "$as_me:2642: checking whether ln -s works" >&5
 15.2646 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 15.2647 +LN_S=$as_ln_s
 15.2648 +if test "$LN_S" = "ln -s"; then
 15.2649 +  echo "$as_me:2646: result: yes" >&5
 15.2650 +echo "${ECHO_T}yes" >&6
 15.2651 +else
 15.2652 +  echo "$as_me:2649: result: no, using $LN_S" >&5
 15.2653 +echo "${ECHO_T}no, using $LN_S" >&6
 15.2654 +fi
 15.2655 +
 15.2656 +case "$target" in
 15.2657 +NONE) lt_target="$host" ;;
 15.2658 +*) lt_target="$target" ;;
 15.2659 +esac
 15.2660 +
 15.2661 +# Check for any special flags to pass to ltconfig.
 15.2662 +libtool_flags="--cache-file=$cache_file"
 15.2663 +test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
 15.2664 +test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
 15.2665 +test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
 15.2666 +test "$ac_cv_c_compiler_gnu" = yes && libtool_flags="$libtool_flags --with-gcc"
 15.2667 +test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
 15.2668 +
 15.2669 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 15.2670 +if test "${enable_libtool_lock+set}" = set; then
 15.2671 +  enableval="$enable_libtool_lock"
 15.2672 +
 15.2673 +fi;
 15.2674 +test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
 15.2675 +test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
 15.2676 +
 15.2677 +# Some flags need to be propagated to the compiler or linker for good
 15.2678 +# libtool support.
 15.2679 +case "$lt_target" in
 15.2680 +*-*-irix6*)
 15.2681 +  # Find out which ABI we are using.
 15.2682 +  echo '#line 2679 "configure"' > conftest.$ac_ext
 15.2683 +  if { (eval echo "$as_me:2680: \"$ac_compile\"") >&5
 15.2684 +  (eval $ac_compile) 2>&5
 15.2685 +  ac_status=$?
 15.2686 +  echo "$as_me:2683: \$? = $ac_status" >&5
 15.2687 +  (exit $ac_status); }; then
 15.2688 +    case "`/usr/bin/file conftest.o`" in
 15.2689 +    *32-bit*)
 15.2690 +      LD="${LD-ld} -32"
 15.2691 +      ;;
 15.2692 +    *N32*)
 15.2693 +      LD="${LD-ld} -n32"
 15.2694 +      ;;
 15.2695 +    *64-bit*)
 15.2696 +      LD="${LD-ld} -64"
 15.2697 +      ;;
 15.2698 +    esac
 15.2699 +  fi
 15.2700 +  rm -rf conftest*
 15.2701 +  ;;
 15.2702 +
 15.2703 +*-*-sco3.2v5*)
 15.2704 +  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 15.2705 +  SAVE_CFLAGS="$CFLAGS"
 15.2706 +  CFLAGS="$CFLAGS -belf"
 15.2707 +  echo "$as_me:2704: checking whether the C compiler needs -belf" >&5
 15.2708 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 15.2709 +if test "${lt_cv_cc_needs_belf+set}" = set; then
 15.2710 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2711 +else
 15.2712 +  cat >conftest.$ac_ext <<_ACEOF
 15.2713 +#line 2710 "configure"
 15.2714 +#include "confdefs.h"
 15.2715 +
 15.2716 +int
 15.2717 +main ()
 15.2718 +{
 15.2719 +
 15.2720 +  ;
 15.2721 +  return 0;
 15.2722 +}
 15.2723 +_ACEOF
 15.2724 +rm -f conftest.$ac_objext conftest$ac_exeext
 15.2725 +if { (eval echo "$as_me:2722: \"$ac_link\"") >&5
 15.2726 +  (eval $ac_link) 2>&5
 15.2727 +  ac_status=$?
 15.2728 +  echo "$as_me:2725: \$? = $ac_status" >&5
 15.2729 +  (exit $ac_status); } &&
 15.2730 +         { (eval echo "$as_me:2727: \"test -s conftest$ac_exeext\"") >&5
 15.2731 +  (eval test -s conftest$ac_exeext) 2>&5
 15.2732 +  ac_status=$?
 15.2733 +  echo "$as_me:2730: \$? = $ac_status" >&5
 15.2734 +  (exit $ac_status); }; then
 15.2735 +  lt_cv_cc_needs_belf=yes
 15.2736 +else
 15.2737 +  echo "$as_me: failed program was:" >&5
 15.2738 +cat conftest.$ac_ext >&5
 15.2739 +lt_cv_cc_needs_belf=no
 15.2740 +fi
 15.2741 +rm -f conftest$ac_exeext conftest.$ac_ext
 15.2742 +fi
 15.2743 +echo "$as_me:2740: result: $lt_cv_cc_needs_belf" >&5
 15.2744 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 15.2745 +  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 15.2746 +    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 15.2747 +    CFLAGS="$SAVE_CFLAGS"
 15.2748 +  fi
 15.2749 +  ;;
 15.2750 +
 15.2751 +esac
 15.2752 +
 15.2753 +# Save cache, so that ltconfig can load it
 15.2754 +cat >confcache <<\_ACEOF
 15.2755 +# This file is a shell script that caches the results of configure
 15.2756 +# tests run on this system so they can be shared between configure
 15.2757 +# scripts and configure runs, see configure's option --config-cache.
 15.2758 +# It is not useful on other systems.  If it contains results you don't
 15.2759 +# want to keep, you may remove or edit it.
 15.2760 +#
 15.2761 +# config.status only pays attention to the cache file if you give it
 15.2762 +# the --recheck option to rerun configure.
 15.2763 +#
 15.2764 +# `ac_cv_env_foo' variables (set or unset) will be overriden when
 15.2765 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
 15.2766 +# following values.
 15.2767 +
 15.2768 +_ACEOF
 15.2769 +
 15.2770 +# The following way of writing the cache mishandles newlines in values,
 15.2771 +# but we know of no workaround that is simple, portable, and efficient.
 15.2772 +# So, don't put newlines in cache variables' values.
 15.2773 +# Ultrix sh set writes to stderr and can't be redirected directly,
 15.2774 +# and sets the high bit in the cache file unless we assign to the vars.
 15.2775 +{
 15.2776 +  (set) 2>&1 |
 15.2777 +    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 15.2778 +    *ac_space=\ *)
 15.2779 +      # `set' does not quote correctly, so add quotes (double-quote
 15.2780 +      # substitution turns \\\\ into \\, and sed turns \\ into \).
 15.2781 +      sed -n \
 15.2782 +        "s/'/'\\\\''/g;
 15.2783 +    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 15.2784 +      ;;
 15.2785 +    *)
 15.2786 +      # `set' quotes correctly as required by POSIX, so do not add quotes.
 15.2787 +      sed -n \
 15.2788 +        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 15.2789 +      ;;
 15.2790 +    esac;
 15.2791 +} |
 15.2792 +  sed '
 15.2793 +     t clear
 15.2794 +     : clear
 15.2795 +     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 15.2796 +     t end
 15.2797 +     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 15.2798 +     : end' >>confcache
 15.2799 +if cmp -s $cache_file confcache; then :; else
 15.2800 +  if test -w $cache_file; then
 15.2801 +    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 15.2802 +    cat confcache >$cache_file
 15.2803 +  else
 15.2804 +    echo "not updating unwritable cache $cache_file"
 15.2805 +  fi
 15.2806 +fi
 15.2807 +rm -f confcache
 15.2808 +
 15.2809 +# Actually configure libtool.  ac_aux_dir is where install-sh is found.
 15.2810 +CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
 15.2811 +LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
 15.2812 +LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
 15.2813 +DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
 15.2814 +${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
 15.2815 +$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
 15.2816 +|| { { echo "$as_me:2813: error: libtool configure failed" >&5
 15.2817 +echo "$as_me: error: libtool configure failed" >&2;}
 15.2818 +   { (exit 1); exit 1; }; }
 15.2819 +
 15.2820 +# Reload cache, that may have been modified by ltconfig
 15.2821 +if test -r "$cache_file"; then
 15.2822 +  # Some versions of bash will fail to source /dev/null (special
 15.2823 +  # files actually), so we avoid doing that.
 15.2824 +  if test -f "$cache_file"; then
 15.2825 +    { echo "$as_me:2822: loading cache $cache_file" >&5
 15.2826 +echo "$as_me: loading cache $cache_file" >&6;}
 15.2827 +    case $cache_file in
 15.2828 +      [\\/]* | ?:[\\/]* ) . $cache_file;;
 15.2829 +      *)                      . ./$cache_file;;
 15.2830 +    esac
 15.2831 +  fi
 15.2832 +else
 15.2833 +  { echo "$as_me:2830: creating cache $cache_file" >&5
 15.2834 +echo "$as_me: creating cache $cache_file" >&6;}
 15.2835 +  >$cache_file
 15.2836 +fi
 15.2837 +
 15.2838 +# This can be used to rebuild libtool when needed
 15.2839 +LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
 15.2840 +
 15.2841 +# Always use our own libtool.
 15.2842 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 15.2843 +
 15.2844 +# Redirect the config.log output again, so that the ltconfig log is not
 15.2845 +# clobbered by the next message.
 15.2846 +exec 5>>./config.log
 15.2847 +
 15.2848 +case "$host_os" in
 15.2849 +  irix*)
 15.2850 +    if test x"${AR+set}" != x"set"; then
 15.2851 +      echo "modifying libtool"
 15.2852 +      mv libtool libtool.orig
 15.2853 +      sed -e 's/\\\$AR cru/\\\$CC -ar -o/' < libtool.orig > libtool
 15.2854 +      chmod 755 libtool
 15.2855 +    fi
 15.2856 +    ;;
 15.2857 +  *)
 15.2858 +    ;;
 15.2859 +esac
 15.2860 +
 15.2861 +#  These are used for constructing the coin-config file.
 15.2862 +# COIN_EXTRA_CPPFLAGS=$CPPFLAGS
 15.2863 +# COIN_EXTRA_LDFLAGS=$LDFLAGS
 15.2864 +# COIN_EXTRA_LIBS=$LIBS
 15.2865 +# AC_SUBST(COIN_EXTRA_CPPFLAGS)
 15.2866 +# AC_SUBST(COIN_EXTRA_LDFLAGS)
 15.2867 +# AC_SUBST(COIN_EXTRA_LIBS)
 15.2868 +
 15.2869 +# **************************************************************************
 15.2870 +#  Locate C++ compiler and set C++ as the default language to use
 15.2871 +#  in tests. The configure script will automatically terminate if
 15.2872 +#  it doesn't find a C++ compiler.
 15.2873 +ac_ext=cc
 15.2874 +ac_cpp='$CXXCPP $CPPFLAGS'
 15.2875 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.2876 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.2877 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 15.2878 +
 15.2879 +ac_ext=cc
 15.2880 +ac_cpp='$CXXCPP $CPPFLAGS'
 15.2881 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.2882 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.2883 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 15.2884 +if test -n "$ac_tool_prefix"; then
 15.2885 +  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
 15.2886 +  do
 15.2887 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 15.2888 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 15.2889 +echo "$as_me:2886: checking for $ac_word" >&5
 15.2890 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.2891 +if test "${ac_cv_prog_CXX+set}" = set; then
 15.2892 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2893 +else
 15.2894 +  if test -n "$CXX"; then
 15.2895 +  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 15.2896 +else
 15.2897 +  ac_save_IFS=$IFS; IFS=':'
 15.2898 +ac_dummy="$PATH"
 15.2899 +for ac_dir in $ac_dummy; do
 15.2900 +  IFS=$ac_save_IFS
 15.2901 +  test -z "$ac_dir" && ac_dir=.
 15.2902 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.2903 +ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 15.2904 +break
 15.2905 +done
 15.2906 +
 15.2907 +fi
 15.2908 +fi
 15.2909 +CXX=$ac_cv_prog_CXX
 15.2910 +if test -n "$CXX"; then
 15.2911 +  echo "$as_me:2908: result: $CXX" >&5
 15.2912 +echo "${ECHO_T}$CXX" >&6
 15.2913 +else
 15.2914 +  echo "$as_me:2911: result: no" >&5
 15.2915 +echo "${ECHO_T}no" >&6
 15.2916 +fi
 15.2917 +
 15.2918 +    test -n "$CXX" && break
 15.2919 +  done
 15.2920 +fi
 15.2921 +if test -z "$CXX"; then
 15.2922 +  ac_ct_CXX=$CXX
 15.2923 +  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
 15.2924 +do
 15.2925 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
 15.2926 +set dummy $ac_prog; ac_word=$2
 15.2927 +echo "$as_me:2924: checking for $ac_word" >&5
 15.2928 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.2929 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 15.2930 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.2931 +else
 15.2932 +  if test -n "$ac_ct_CXX"; then
 15.2933 +  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 15.2934 +else
 15.2935 +  ac_save_IFS=$IFS; IFS=':'
 15.2936 +ac_dummy="$PATH"
 15.2937 +for ac_dir in $ac_dummy; do
 15.2938 +  IFS=$ac_save_IFS
 15.2939 +  test -z "$ac_dir" && ac_dir=.
 15.2940 +  $as_executable_p "$ac_dir/$ac_word" || continue
 15.2941 +ac_cv_prog_ac_ct_CXX="$ac_prog"
 15.2942 +break
 15.2943 +done
 15.2944 +
 15.2945 +fi
 15.2946 +fi
 15.2947 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 15.2948 +if test -n "$ac_ct_CXX"; then
 15.2949 +  echo "$as_me:2946: result: $ac_ct_CXX" >&5
 15.2950 +echo "${ECHO_T}$ac_ct_CXX" >&6
 15.2951 +else
 15.2952 +  echo "$as_me:2949: result: no" >&5
 15.2953 +echo "${ECHO_T}no" >&6
 15.2954 +fi
 15.2955 +
 15.2956 +  test -n "$ac_ct_CXX" && break
 15.2957 +done
 15.2958 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 15.2959 +
 15.2960 +  CXX=$ac_ct_CXX
 15.2961 +fi
 15.2962 +
 15.2963 +echo "$as_me:2960: checking whether the C++ compiler works" >&5
 15.2964 +echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
 15.2965 +cat >conftest.$ac_ext <<_ACEOF
 15.2966 +#line 2963 "configure"
 15.2967 +#include "confdefs.h"
 15.2968 +
 15.2969 +int
 15.2970 +main ()
 15.2971 +{
 15.2972 +
 15.2973 +  ;
 15.2974 +  return 0;
 15.2975 +}
 15.2976 +_ACEOF
 15.2977 +rm -f conftest.$ac_objext conftest$ac_exeext
 15.2978 +if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
 15.2979 +  (eval $ac_link) 2>&5
 15.2980 +  ac_status=$?
 15.2981 +  echo "$as_me:2978: \$? = $ac_status" >&5
 15.2982 +  (exit $ac_status); } &&
 15.2983 +         { (eval echo "$as_me:2980: \"test -s conftest$ac_exeext\"") >&5
 15.2984 +  (eval test -s conftest$ac_exeext) 2>&5
 15.2985 +  ac_status=$?
 15.2986 +  echo "$as_me:2983: \$? = $ac_status" >&5
 15.2987 +  (exit $ac_status); }; then
 15.2988 +  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
 15.2989 +# If not cross compiling, check that we can run a simple program.
 15.2990 +if test "$cross_compiling" != yes; then
 15.2991 +  if { (eval echo "$as_me:2988: \"./conftest$ac_exeext\"") >&5
 15.2992 +  (eval ./conftest$ac_exeext) 2>&5
 15.2993 +  ac_status=$?
 15.2994 +  echo "$as_me:2991: \$? = $ac_status" >&5
 15.2995 +  (exit $ac_status); }; then
 15.2996 +    cross_compiling=no
 15.2997 +  else
 15.2998 +    if test "$cross_compiling" = maybe; then
 15.2999 +      cross_compiling=yes
 15.3000 +    else
 15.3001 +      { { echo "$as_me:2998: error: cannot run C++ compiled programs.
 15.3002 +To enable cross compilation, use \`--host'." >&5
 15.3003 +echo "$as_me: error: cannot run C++ compiled programs.
 15.3004 +To enable cross compilation, use \`--host'." >&2;}
 15.3005 +   { (exit 1); exit 1; }; }
 15.3006 +    fi
 15.3007 +  fi
 15.3008 +fi
 15.3009 +echo "$as_me:3006: result: yes" >&5
 15.3010 +echo "${ECHO_T}yes" >&6
 15.3011 +else
 15.3012 +  echo "$as_me: failed program was:" >&5
 15.3013 +cat conftest.$ac_ext >&5
 15.3014 +echo "$as_me:3011: result: no" >&5
 15.3015 +echo "${ECHO_T}no" >&6
 15.3016 +{ { echo "$as_me:3013: error: C++ compiler cannot create executables" >&5
 15.3017 +echo "$as_me: error: C++ compiler cannot create executables" >&2;}
 15.3018 +   { (exit 77); exit 77; }; }
 15.3019 +fi
 15.3020 +rm -f conftest$ac_exeext conftest.$ac_ext
 15.3021 +echo "$as_me:3018: checking whether we are cross compiling" >&5
 15.3022 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 15.3023 +echo "$as_me:3020: result: $cross_compiling" >&5
 15.3024 +echo "${ECHO_T}$cross_compiling" >&6
 15.3025 +
 15.3026 +echo "$as_me:3023: checking whether we are using the GNU C++ compiler" >&5
 15.3027 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 15.3028 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 15.3029 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.3030 +else
 15.3031 +  cat >conftest.$ac_ext <<_ACEOF
 15.3032 +#line 3029 "configure"
 15.3033 +#include "confdefs.h"
 15.3034 +
 15.3035 +int
 15.3036 +main ()
 15.3037 +{
 15.3038 +#ifndef __GNUC__
 15.3039 +       choke me
 15.3040 +#endif
 15.3041 +
 15.3042 +  ;
 15.3043 +  return 0;
 15.3044 +}
 15.3045 +_ACEOF
 15.3046 +rm -f conftest.$ac_objext
 15.3047 +if { (eval echo "$as_me:3044: \"$ac_compile\"") >&5
 15.3048 +  (eval $ac_compile) 2>&5
 15.3049 +  ac_status=$?
 15.3050 +  echo "$as_me:3047: \$? = $ac_status" >&5
 15.3051 +  (exit $ac_status); } &&
 15.3052 +         { (eval echo "$as_me:3049: \"test -s conftest.$ac_objext\"") >&5
 15.3053 +  (eval test -s conftest.$ac_objext) 2>&5
 15.3054 +  ac_status=$?
 15.3055 +  echo "$as_me:3052: \$? = $ac_status" >&5
 15.3056 +  (exit $ac_status); }; then
 15.3057 +  ac_compiler_gnu=yes
 15.3058 +else
 15.3059 +  echo "$as_me: failed program was:" >&5
 15.3060 +cat conftest.$ac_ext >&5
 15.3061 +ac_compiler_gnu=no
 15.3062 +fi
 15.3063 +rm -f conftest.$ac_objext conftest.$ac_ext
 15.3064 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 15.3065 +
 15.3066 +fi
 15.3067 +echo "$as_me:3064: result: $ac_cv_cxx_compiler_gnu" >&5
 15.3068 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 15.3069 +GXX=`test $ac_compiler_gnu = yes && echo yes`
 15.3070 +ac_test_CXXFLAGS=${CXXFLAGS+set}
 15.3071 +ac_save_CXXFLAGS=$CXXFLAGS
 15.3072 +CXXFLAGS="-g"
 15.3073 +echo "$as_me:3070: checking whether $CXX accepts -g" >&5
 15.3074 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 15.3075 +if test "${ac_cv_prog_cxx_g+set}" = set; then
 15.3076 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.3077 +else
 15.3078 +  cat >conftest.$ac_ext <<_ACEOF
 15.3079 +#line 3076 "configure"
 15.3080 +#include "confdefs.h"
 15.3081 +
 15.3082 +int
 15.3083 +main ()
 15.3084 +{
 15.3085 +
 15.3086 +  ;
 15.3087 +  return 0;
 15.3088 +}
 15.3089 +_ACEOF
 15.3090 +rm -f conftest.$ac_objext
 15.3091 +if { (eval echo "$as_me:3088: \"$ac_compile\"") >&5
 15.3092 +  (eval $ac_compile) 2>&5
 15.3093 +  ac_status=$?
 15.3094 +  echo "$as_me:3091: \$? = $ac_status" >&5
 15.3095 +  (exit $ac_status); } &&
 15.3096 +         { (eval echo "$as_me:3093: \"test -s conftest.$ac_objext\"") >&5
 15.3097 +  (eval test -s conftest.$ac_objext) 2>&5
 15.3098 +  ac_status=$?
 15.3099 +  echo "$as_me:3096: \$? = $ac_status" >&5
 15.3100 +  (exit $ac_status); }; then
 15.3101 +  ac_cv_prog_cxx_g=yes
 15.3102 +else
 15.3103 +  echo "$as_me: failed program was:" >&5
 15.3104 +cat conftest.$ac_ext >&5
 15.3105 +ac_cv_prog_cxx_g=no
 15.3106 +fi
 15.3107 +rm -f conftest.$ac_objext conftest.$ac_ext
 15.3108 +fi
 15.3109 +echo "$as_me:3106: result: $ac_cv_prog_cxx_g" >&5
 15.3110 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 15.3111 +if test "$ac_test_CXXFLAGS" = set; then
 15.3112 +  CXXFLAGS=$ac_save_CXXFLAGS
 15.3113 +elif test $ac_cv_prog_cxx_g = yes; then
 15.3114 +  if test "$GXX" = yes; then
 15.3115 +    CXXFLAGS="-g -O2"
 15.3116 +  else
 15.3117 +    CXXFLAGS="-g"
 15.3118 +  fi
 15.3119 +else
 15.3120 +  if test "$GXX" = yes; then
 15.3121 +    CXXFLAGS="-O2"
 15.3122 +  else
 15.3123 +    CXXFLAGS=
 15.3124 +  fi
 15.3125 +fi
 15.3126 +for ac_declaration in \
 15.3127 +   ''\
 15.3128 +   '#include <stdlib.h>' \
 15.3129 +   'extern "C" void std::exit (int) throw (); using std::exit;' \
 15.3130 +   'extern "C" void std::exit (int); using std::exit;' \
 15.3131 +   'extern "C" void exit (int) throw ();' \
 15.3132 +   'extern "C" void exit (int);' \
 15.3133 +   'void exit (int);'
 15.3134 +do
 15.3135 +  cat >conftest.$ac_ext <<_ACEOF
 15.3136 +#line 3133 "configure"
 15.3137 +#include "confdefs.h"
 15.3138 +#include <stdlib.h>
 15.3139 +$ac_declaration
 15.3140 +int
 15.3141 +main ()
 15.3142 +{
 15.3143 +exit (42);
 15.3144 +  ;
 15.3145 +  return 0;
 15.3146 +}
 15.3147 +_ACEOF
 15.3148 +rm -f conftest.$ac_objext
 15.3149 +if { (eval echo "$as_me:3146: \"$ac_compile\"") >&5
 15.3150 +  (eval $ac_compile) 2>&5
 15.3151 +  ac_status=$?
 15.3152 +  echo "$as_me:3149: \$? = $ac_status" >&5
 15.3153 +  (exit $ac_status); } &&
 15.3154 +         { (eval echo "$as_me:3151: \"test -s conftest.$ac_objext\"") >&5
 15.3155 +  (eval test -s conftest.$ac_objext) 2>&5
 15.3156 +  ac_status=$?
 15.3157 +  echo "$as_me:3154: \$? = $ac_status" >&5
 15.3158 +  (exit $ac_status); }; then
 15.3159 +  :
 15.3160 +else
 15.3161 +  echo "$as_me: failed program was:" >&5
 15.3162 +cat conftest.$ac_ext >&5
 15.3163 +continue
 15.3164 +fi
 15.3165 +rm -f conftest.$ac_objext conftest.$ac_ext
 15.3166 +  cat >conftest.$ac_ext <<_ACEOF
 15.3167 +#line 3164 "configure"
 15.3168 +#include "confdefs.h"
 15.3169 +$ac_declaration
 15.3170 +int
 15.3171 +main ()
 15.3172 +{
 15.3173 +exit (42);
 15.3174 +  ;
 15.3175 +  return 0;
 15.3176 +}
 15.3177 +_ACEOF
 15.3178 +rm -f conftest.$ac_objext
 15.3179 +if { (eval echo "$as_me:3176: \"$ac_compile\"") >&5
 15.3180 +  (eval $ac_compile) 2>&5
 15.3181 +  ac_status=$?
 15.3182 +  echo "$as_me:3179: \$? = $ac_status" >&5
 15.3183 +  (exit $ac_status); } &&
 15.3184 +         { (eval echo "$as_me:3181: \"test -s conftest.$ac_objext\"") >&5
 15.3185 +  (eval test -s conftest.$ac_objext) 2>&5
 15.3186 +  ac_status=$?
 15.3187 +  echo "$as_me:3184: \$? = $ac_status" >&5
 15.3188 +  (exit $ac_status); }; then
 15.3189 +  break
 15.3190 +else
 15.3191 +  echo "$as_me: failed program was:" >&5
 15.3192 +cat conftest.$ac_ext >&5
 15.3193 +fi
 15.3194 +rm -f conftest.$ac_objext conftest.$ac_ext
 15.3195 +done
 15.3196 +echo '#ifdef __cplusplus' >>confdefs.h
 15.3197 +echo $ac_declaration      >>confdefs.h
 15.3198 +echo '#endif'             >>confdefs.h
 15.3199 +
 15.3200 +ac_ext=cc
 15.3201 +ac_cpp='$CXXCPP $CPPFLAGS'
 15.3202 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.3203 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.3204 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 15.3205 +ac_ext=cc
 15.3206 +ac_cpp='$CXXCPP $CPPFLAGS'
 15.3207 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.3208 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.3209 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 15.3210 +echo "$as_me:3207: checking how to run the C++ preprocessor" >&5
 15.3211 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 15.3212 +if test -z "$CXXCPP"; then
 15.3213 +  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 15.3214 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.3215 +else
 15.3216 +      # Double quotes because CXXCPP needs to be expanded
 15.3217 +    for CXXCPP in "$CXX -E" "/lib/cpp"
 15.3218 +    do
 15.3219 +      # Use a header file that comes with gcc, so configuring glibc
 15.3220 +# with a fresh cross-compiler works.
 15.3221 +# On the NeXT, cc -E runs the code through the compiler's parser,
 15.3222 +# not just through cpp. "Syntax error" is here to catch this case.
 15.3223 +ac_cxx_preproc_warn_flag=maybe
 15.3224 +cat >conftest.$ac_ext <<_ACEOF
 15.3225 +#line 3222 "configure"
 15.3226 +#include "confdefs.h"
 15.3227 +#include <assert.h>
 15.3228 +Syntax error
 15.3229 +_ACEOF
 15.3230 +if { (eval echo "$as_me:3227: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
 15.3231 +  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
 15.3232 +  ac_status=$?
 15.3233 +  egrep -v '^ *\+' conftest.er1 >conftest.err
 15.3234 +  rm -f conftest.er1
 15.3235 +  cat conftest.err >&5
 15.3236 +  echo "$as_me:3233: \$? = $ac_status" >&5
 15.3237 +  (exit $ac_status); }; then
 15.3238 +  if test -s conftest.err; then
 15.3239 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
 15.3240 +  else
 15.3241 +    ac_cpp_err=
 15.3242 +  fi
 15.3243 +else
 15.3244 +  ac_cpp_err=yes
 15.3245 +fi
 15.3246 +if test -z "$ac_cpp_err"; then
 15.3247 +  # Now check whether non-existent headers can be detected and how
 15.3248 +# Skip if ac_cpp_err is not empty - ac_cpp is broken
 15.3249 +if test -z "$ac_cpp_err"; then
 15.3250 +  cat >conftest.$ac_ext <<_ACEOF
 15.3251 +#line 3248 "configure"
 15.3252 +#include "confdefs.h"
 15.3253 +#include <ac_nonexistent.h>
 15.3254 +_ACEOF
 15.3255 +if { (eval echo "$as_me:3252: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
 15.3256 +  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
 15.3257 +  ac_status=$?
 15.3258 +  egrep -v '^ *\+' conftest.er1 >conftest.err
 15.3259 +  rm -f conftest.er1
 15.3260 +  cat conftest.err >&5
 15.3261 +  echo "$as_me:3258: \$? = $ac_status" >&5
 15.3262 +  (exit $ac_status); }; then
 15.3263 +  if test -s conftest.err; then
 15.3264 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
 15.3265 +  else
 15.3266 +    ac_cpp_err=
 15.3267 +  fi
 15.3268 +else
 15.3269 +  ac_cpp_err=yes
 15.3270 +fi
 15.3271 +if test -z "$ac_cpp_err"; then
 15.3272 +  # cannot detect missing includes at all
 15.3273 +ac_cpp_err=yes
 15.3274 +else
 15.3275 +  echo "$as_me: failed program was:" >&5
 15.3276 +  cat conftest.$ac_ext >&5
 15.3277 +  if test "x$ac_cpp_err" = xmaybe; then
 15.3278 +      ac_cxx_preproc_warn_flag=yes
 15.3279 +    else
 15.3280 +      ac_cxx_preproc_warn_flag=
 15.3281 +    fi
 15.3282 +    ac_cpp_err=
 15.3283 +fi
 15.3284 +rm -f conftest.err conftest.$ac_ext
 15.3285 +fi
 15.3286 +else
 15.3287 +  echo "$as_me: failed program was:" >&5
 15.3288 +  cat conftest.$ac_ext >&5
 15.3289 +
 15.3290 +fi
 15.3291 +rm -f conftest.err conftest.$ac_ext
 15.3292 +      if test -z "$ac_cpp_err"; then
 15.3293 +        break
 15.3294 +      fi
 15.3295 +    done
 15.3296 +    ac_cv_prog_CXXCPP=$CXXCPP
 15.3297 +
 15.3298 +fi
 15.3299 +  CXXCPP=$ac_cv_prog_CXXCPP
 15.3300 +else
 15.3301 +  # Use a header file that comes with gcc, so configuring glibc
 15.3302 +# with a fresh cross-compiler works.
 15.3303 +# On the NeXT, cc -E runs the code through the compiler's parser,
 15.3304 +# not just through cpp. "Syntax error" is here to catch this case.
 15.3305 +ac_cxx_preproc_warn_flag=maybe
 15.3306 +cat >conftest.$ac_ext <<_ACEOF
 15.3307 +#line 3304 "configure"
 15.3308 +#include "confdefs.h"
 15.3309 +#include <assert.h>
 15.3310 +Syntax error
 15.3311 +_ACEOF
 15.3312 +if { (eval echo "$as_me:3309: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
 15.3313 +  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
 15.3314 +  ac_status=$?
 15.3315 +  egrep -v '^ *\+' conftest.er1 >conftest.err
 15.3316 +  rm -f conftest.er1
 15.3317 +  cat conftest.err >&5
 15.3318 +  echo "$as_me:3315: \$? = $ac_status" >&5
 15.3319 +  (exit $ac_status); }; then
 15.3320 +  if test -s conftest.err; then
 15.3321 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
 15.3322 +  else
 15.3323 +    ac_cpp_err=
 15.3324 +  fi
 15.3325 +else
 15.3326 +  ac_cpp_err=yes
 15.3327 +fi
 15.3328 +if test -z "$ac_cpp_err"; then
 15.3329 +  # Now check whether non-existent headers can be detected and how
 15.3330 +# Skip if ac_cpp_err is not empty - ac_cpp is broken
 15.3331 +if test -z "$ac_cpp_err"; then
 15.3332 +  cat >conftest.$ac_ext <<_ACEOF
 15.3333 +#line 3330 "configure"
 15.3334 +#include "confdefs.h"
 15.3335 +#include <ac_nonexistent.h>
 15.3336 +_ACEOF
 15.3337 +if { (eval echo "$as_me:3334: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
 15.3338 +  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
 15.3339 +  ac_status=$?
 15.3340 +  egrep -v '^ *\+' conftest.er1 >conftest.err
 15.3341 +  rm -f conftest.er1
 15.3342 +  cat conftest.err >&5
 15.3343 +  echo "$as_me:3340: \$? = $ac_status" >&5
 15.3344 +  (exit $ac_status); }; then
 15.3345 +  if test -s conftest.err; then
 15.3346 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
 15.3347 +  else
 15.3348 +    ac_cpp_err=
 15.3349 +  fi
 15.3350 +else
 15.3351 +  ac_cpp_err=yes
 15.3352 +fi
 15.3353 +if test -z "$ac_cpp_err"; then
 15.3354 +  # cannot detect missing includes at all
 15.3355 +ac_cpp_err=yes
 15.3356 +else
 15.3357 +  echo "$as_me: failed program was:" >&5
 15.3358 +  cat conftest.$ac_ext >&5
 15.3359 +  if test "x$ac_cpp_err" = xmaybe; then
 15.3360 +      ac_cxx_preproc_warn_flag=yes
 15.3361 +    else
 15.3362 +      ac_cxx_preproc_warn_flag=
 15.3363 +    fi
 15.3364 +    ac_cpp_err=
 15.3365 +fi
 15.3366 +rm -f conftest.err conftest.$ac_ext
 15.3367 +fi
 15.3368 +else
 15.3369 +  echo "$as_me: failed program was:" >&5
 15.3370 +  cat conftest.$ac_ext >&5
 15.3371 +
 15.3372 +fi
 15.3373 +rm -f conftest.err conftest.$ac_ext
 15.3374 +  ac_cv_prog_CXXCPP=$CXXCPP
 15.3375 +fi
 15.3376 +echo "$as_me:3373: result: $CXXCPP" >&5
 15.3377 +echo "${ECHO_T}$CXXCPP" >&6
 15.3378 +if test -n "$ac_cpp_err"; then
 15.3379 +  { { echo "$as_me:3376: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
 15.3380 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
 15.3381 +   { (exit 1); exit 1; }; }
 15.3382 +fi
 15.3383 +ac_ext=cc
 15.3384 +ac_cpp='$CXXCPP $CPPFLAGS'
 15.3385 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.3386 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.3387 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 15.3388 +
 15.3389 +depcc="$CXX"
 15.3390 +depcpp="$CXXCPP"
 15.3391 +
 15.3392 +echo "$as_me:3389: checking dependency style of $depcc" >&5
 15.3393 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 15.3394 +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 15.3395 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.3396 +else
 15.3397 +  if test -z "$AMDEP"; then
 15.3398 +  echo '#include "conftest.h"' > conftest.c
 15.3399 +  echo 'int i;' > conftest.h
 15.3400 +
 15.3401 +  am_cv_CXX_dependencies_compiler_type=none
 15.3402 +  for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
 15.3403 +    case "$depmode" in
 15.3404 +    nosideeffect)
 15.3405 +      # after this tag, mechanisms are not by side-effect, so they'll
 15.3406 +      # only be used when explicitly requested
 15.3407 +      if test "x$enable_dependency_tracking" = xyes; then
 15.3408 +	continue
 15.3409 +      else
 15.3410 +	break
 15.3411 +      fi
 15.3412 +      ;;
 15.3413 +    none) break ;;
 15.3414 +    esac
 15.3415 +    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 15.3416 +    # mode.  It turns out that the SunPro C++ compiler does not properly
 15.3417 +    # handle `-M -o', and we need to detect this.
 15.3418 +    if depmode="$depmode" \
 15.3419 +       source=conftest.c object=conftest.o \
 15.3420 +       depfile=conftest.Po tmpdepfile=conftest.TPo \
 15.3421 +       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
 15.3422 +       grep conftest.h conftest.Po > /dev/null 2>&1; then
 15.3423 +      am_cv_CXX_dependencies_compiler_type="$depmode"
 15.3424 +      break
 15.3425 +    fi
 15.3426 +  done
 15.3427 +
 15.3428 +  rm -f conftest.*
 15.3429 +else
 15.3430 +  am_cv_CXX_dependencies_compiler_type=none
 15.3431 +fi
 15.3432 +
 15.3433 +fi
 15.3434 +echo "$as_me:3431: result: $am_cv_CXX_dependencies_compiler_type" >&5
 15.3435 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 15.3436 +CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
 15.3437 +
 15.3438 +# Check whether --enable-rtti or --disable-rtti was given.
 15.3439 +if test "${enable_rtti+set}" = set; then
 15.3440 +  enableval="$enable_rtti"
 15.3441 +  case "${enableval}" in
 15.3442 +    yes) enable_rtti=yes ;;
 15.3443 +    no)  enable_rtti=no ;;
 15.3444 +    *) { { echo "$as_me:3441: error: bad value \"${enableval}\" for --enable-rtti" >&5
 15.3445 +echo "$as_me: error: bad value \"${enableval}\" for --enable-rtti" >&2;}
 15.3446 +   { (exit 1); exit 1; }; } ;;
 15.3447 +  esac
 15.3448 +else
 15.3449 +  enable_rtti=yes
 15.3450 +fi;
 15.3451 +
 15.3452 +if test x"$enable_rtti" = x"no"; then
 15.3453 +  if test x"$GXX" = x"yes"; then
 15.3454 +    CXXFLAGS="$CXXFLAGS -fno-rtti"
 15.3455 +  else
 15.3456 +    { echo "$as_me:3453: WARNING: --enable-rtti only has effect when using GNU g++" >&5
 15.3457 +echo "$as_me: WARNING: --enable-rtti only has effect when using GNU g++" >&2;}
 15.3458 +  fi
 15.3459 +fi
 15.3460 +
 15.3461 +# Check whether --enable-exceptions or --disable-exceptions was given.
 15.3462 +if test "${enable_exceptions+set}" = set; then
 15.3463 +  enableval="$enable_exceptions"
 15.3464 +  case "${enableval}" in
 15.3465 +    yes) enable_exceptions=yes ;;
 15.3466 +    no)  enable_exceptions=no ;;
 15.3467 +    *) { { echo "$as_me:3464: error: bad value \"${enableval}\" for --enable-exceptions" >&5
 15.3468 +echo "$as_me: error: bad value \"${enableval}\" for --enable-exceptions" >&2;}
 15.3469 +   { (exit 1); exit 1; }; } ;;
 15.3470 +  esac
 15.3471 +else
 15.3472 +  enable_exceptions=no
 15.3473 +fi;
 15.3474 +
 15.3475 +if test x"$enable_exceptions" = x"no"; then
 15.3476 +  if test "x$GXX" = "xyes"; then
 15.3477 +    unset _exception_flag
 15.3478 +
 15.3479 +ac_ext=cc
 15.3480 +ac_cpp='$CXXCPP $CPPFLAGS'
 15.3481 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.3482 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.3483 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 15.3484 +
 15.3485 +echo "$as_me:3482: checking whether $CXX accepts -fno-exceptions" >&5
 15.3486 +echo $ECHO_N "checking whether $CXX accepts -fno-exceptions... $ECHO_C" >&6
 15.3487 +
 15.3488 +sim_ac_save_cppflags=$CPPFLAGS
 15.3489 +CPPFLAGS="$CPPFLAGS -fno-exceptions"
 15.3490 +cat >conftest.$ac_ext <<_ACEOF
 15.3491 +#line 3488 "configure"
 15.3492 +#include "confdefs.h"
 15.3493 +
 15.3494 +int
 15.3495 +main ()
 15.3496 +{
 15.3497 +
 15.3498 +  ;
 15.3499 +  return 0;
 15.3500 +}
 15.3501 +_ACEOF
 15.3502 +rm -f conftest.$ac_objext
 15.3503 +if { (eval echo "$as_me:3500: \"$ac_compile\"") >&5
 15.3504 +  (eval $ac_compile) 2>&5
 15.3505 +  ac_status=$?
 15.3506 +  echo "$as_me:3503: \$? = $ac_status" >&5
 15.3507 +  (exit $ac_status); } &&
 15.3508 +         { (eval echo "$as_me:3505: \"test -s conftest.$ac_objext\"") >&5
 15.3509 +  (eval test -s conftest.$ac_objext) 2>&5
 15.3510 +  ac_status=$?
 15.3511 +  echo "$as_me:3508: \$? = $ac_status" >&5
 15.3512 +  (exit $ac_status); }; then
 15.3513 +  sim_ac_accept_result=yes
 15.3514 +else
 15.3515 +  echo "$as_me: failed program was:" >&5
 15.3516 +cat conftest.$ac_ext >&5
 15.3517 +sim_ac_accept_result=no
 15.3518 +fi
 15.3519 +rm -f conftest.$ac_objext conftest.$ac_ext
 15.3520 +echo "$as_me:3517: result: $sim_ac_accept_result" >&5
 15.3521 +echo "${ECHO_T}$sim_ac_accept_result" >&6
 15.3522 +CPPFLAGS=$sim_ac_save_cppflags
 15.3523 +# This need to go last, in case CPPFLAGS is modified in _exception_flag=-fno-exceptions or .
 15.3524 +if test $sim_ac_accept_result = yes; then
 15.3525 +  _exception_flag=-fno-exceptions
 15.3526 +else
 15.3527 +  :
 15.3528 +fi
 15.3529 +
 15.3530 +ac_ext=cc
 15.3531 +ac_cpp='$CXXCPP $CPPFLAGS'
 15.3532 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.3533 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.3534 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 15.3535 +
 15.3536 +    if test x"${_exception_flag+set}" != x"set"; then
 15.3537 +
 15.3538 +ac_ext=cc
 15.3539 +ac_cpp='$CXXCPP $CPPFLAGS'
 15.3540 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.3541 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.3542 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 15.3543 +
 15.3544 +echo "$as_me:3541: checking whether $CXX accepts -fno-handle-exceptions" >&5
 15.3545 +echo $ECHO_N "checking whether $CXX accepts -fno-handle-exceptions... $ECHO_C" >&6
 15.3546 +
 15.3547 +sim_ac_save_cppflags=$CPPFLAGS
 15.3548 +CPPFLAGS="$CPPFLAGS -fno-handle-exceptions"
 15.3549 +cat >conftest.$ac_ext <<_ACEOF
 15.3550 +#line 3547 "configure"
 15.3551 +#include "confdefs.h"
 15.3552 +
 15.3553 +int
 15.3554 +main ()
 15.3555 +{
 15.3556 +
 15.3557 +  ;
 15.3558 +  return 0;
 15.3559 +}
 15.3560 +_ACEOF
 15.3561 +rm -f conftest.$ac_objext
 15.3562 +if { (eval echo "$as_me:3559: \"$ac_compile\"") >&5
 15.3563 +  (eval $ac_compile) 2>&5
 15.3564 +  ac_status=$?
 15.3565 +  echo "$as_me:3562: \$? = $ac_status" >&5
 15.3566 +  (exit $ac_status); } &&
 15.3567 +         { (eval echo "$as_me:3564: \"test -s conftest.$ac_objext\"") >&5
 15.3568 +  (eval test -s conftest.$ac_objext) 2>&5
 15.3569 +  ac_status=$?
 15.3570 +  echo "$as_me:3567: \$? = $ac_status" >&5
 15.3571 +  (exit $ac_status); }; then
 15.3572 +  sim_ac_accept_result=yes
 15.3573 +else
 15.3574 +  echo "$as_me: failed program was:" >&5
 15.3575 +cat conftest.$ac_ext >&5
 15.3576 +sim_ac_accept_result=no
 15.3577 +fi
 15.3578 +rm -f conftest.$ac_objext conftest.$ac_ext
 15.3579 +echo "$as_me:3576: result: $sim_ac_accept_result" >&5
 15.3580 +echo "${ECHO_T}$sim_ac_accept_result" >&6
 15.3581 +CPPFLAGS=$sim_ac_save_cppflags
 15.3582 +# This need to go last, in case CPPFLAGS is modified in _exception_flag=-fno-handle-exceptions or .
 15.3583 +if test $sim_ac_accept_result = yes; then
 15.3584 +  _exception_flag=-fno-handle-exceptions
 15.3585 +else
 15.3586 +  :
 15.3587 +fi
 15.3588 +
 15.3589 +ac_ext=cc
 15.3590 +ac_cpp='$CXXCPP $CPPFLAGS'
 15.3591 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.3592 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.3593 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 15.3594 +
 15.3595 +    fi
 15.3596 +    if test x"${_exception_flag+set}" != x"set"; then
 15.3597 +      { echo "$as_me:3594: WARNING: couldn't find a valid option for avoiding exception handling" >&5
 15.3598 +echo "$as_me: WARNING: couldn't find a valid option for avoiding exception handling" >&2;}
 15.3599 +    else
 15.3600 +      CXXFLAGS="$CXXFLAGS $_exception_flag"
 15.3601 +    fi
 15.3602 +  fi
 15.3603 +else
 15.3604 +  if test x"$GXX" != x"yes"; then
 15.3605 +    { echo "$as_me:3602: WARNING: --enable-exceptions only has effect when using GNU g++" >&5
 15.3606 +echo "$as_me: WARNING: --enable-exceptions only has effect when using GNU g++" >&2;}
 15.3607 +  fi
 15.3608 +fi
 15.3609 +
 15.3610 +for ac_header in windows.h
 15.3611 +do
 15.3612 +ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
 15.3613 +echo "$as_me:3610: checking for $ac_header" >&5
 15.3614 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 15.3615 +if eval "test \"\${$ac_ac_Header+set}\" = set"; then
 15.3616 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.3617 +else
 15.3618 +  cat >conftest.$ac_ext <<_ACEOF
 15.3619 +#line 3616 "configure"
 15.3620 +#include "confdefs.h"
 15.3621 +#include <$ac_header>
 15.3622 +_ACEOF
 15.3623 +if { (eval echo "$as_me:3620: \"$ac_cpp conftest.$ac_ext >/dev/null\"") >&5
 15.3624 +  (eval $ac_cpp conftest.$ac_ext >/dev/null) 2>conftest.er1
 15.3625 +  ac_status=$?
 15.3626 +  egrep -v '^ *\+' conftest.er1 >conftest.err
 15.3627 +  rm -f conftest.er1
 15.3628 +  cat conftest.err >&5
 15.3629 +  echo "$as_me:3626: \$? = $ac_status" >&5
 15.3630 +  (exit $ac_status); }; then
 15.3631 +  if test -s conftest.err; then
 15.3632 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
 15.3633 +  else
 15.3634 +    ac_cpp_err=
 15.3635 +  fi
 15.3636 +else
 15.3637 +  ac_cpp_err=yes
 15.3638 +fi
 15.3639 +if test -z "$ac_cpp_err"; then
 15.3640 +  eval "$ac_ac_Header=yes"
 15.3641 +else
 15.3642 +  echo "$as_me: failed program was:" >&5
 15.3643 +  cat conftest.$ac_ext >&5
 15.3644 +  eval "$ac_ac_Header=no"
 15.3645 +fi
 15.3646 +rm -f conftest.err conftest.$ac_ext
 15.3647 +fi
 15.3648 +echo "$as_me:3645: result: `eval echo '${'$ac_ac_Header'}'`" >&5
 15.3649 +echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 15.3650 +if test `eval echo '${'$ac_ac_Header'}'` = yes; then
 15.3651 +  cat >>confdefs.h <<EOF
 15.3652 +#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 15.3653 +EOF
 15.3654 +
 15.3655 +fi
 15.3656 +done
 15.3657 +
 15.3658 +if test x"${with_inventor+set}" = x"set" &&
 15.3659 +   test x"${with_inventor}" != x"no"; then
 15.3660 +
 15.3661 +: ${sim_ac_want_inventor=false}
 15.3662 +
 15.3663 +# Check whether --with-inventor or --without-inventor was given.
 15.3664 +if test "${with_inventor+set}" = set; then
 15.3665 +  withval="$with_inventor"
 15.3666 +  case "$withval" in
 15.3667 +  no)  sim_ac_want_inventor=false ;;
 15.3668 +  yes) sim_ac_want_inventor=true
 15.3669 +       test -n "$OIVHOME" &&
 15.3670 +
 15.3671 +eval "sim_ac_inventor_path=\"`echo "$OIVHOME" | sed -e 's%\\\\%\\/%g'`\""
 15.3672 + ;;
 15.3673 +  *)   sim_ac_want_inventor=true; sim_ac_inventor_path="$withval" ;;
 15.3674 +  esac
 15.3675 +fi;
 15.3676 +
 15.3677 +if $sim_ac_want_inventor; then
 15.3678 +  sim_ac_save_CPPFLAGS="$CPPFLAGS";
 15.3679 +  sim_ac_save_LDFLAGS="$LDFLAGS";
 15.3680 +  sim_ac_save_LIBS="$LIBS";
 15.3681 +
 15.3682 +if $sim_ac_want_inventor; then
 15.3683 +  sim_ac_inventor_image_save_CPPFLAGS="$CPPFLAGS"
 15.3684 +  sim_ac_inventor_image_save_LDFLAGS="$LDFLAGS"
 15.3685 +  sim_ac_inventor_image_save_LIBS="$LIBS"
 15.3686 +
 15.3687 +  if test s${sim_ac_inventor_path+et} = set; then
 15.3688 +    sim_ac_inventor_image_cppflags="-I${sim_ac_inventor_path}/include"
 15.3689 +    sim_ac_inventor_image_ldflags="-L${sim_ac_inventor_path}/lib"
 15.3690 +  fi
 15.3691 +  sim_ac_inventor_image_libs="-limage"
 15.3692 +
 15.3693 +  echo "$as_me:3690: checking if linking with libimage is possible" >&5
 15.3694 +echo $ECHO_N "checking if linking with libimage is possible... $ECHO_C" >&6
 15.3695 +if test "${sim_cv_have_inventor_image+set}" = set; then
 15.3696 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.3697 +else
 15.3698 +
 15.3699 +    CPPFLAGS="$sim_ac_inventor_image_cppflags $CPPFLAGS"
 15.3700 +    LDFLAGS="$sim_ac_inventor_image_ldflags $LDFLAGS"
 15.3701 +    LIBS="$sim_ac_inventor_image_libs $LIBS"
 15.3702 +    cat >conftest.$ac_ext <<_ACEOF
 15.3703 +#line 3700 "configure"
 15.3704 +#include "confdefs.h"
 15.3705 +
 15.3706 +int
 15.3707 +main ()
 15.3708 +{
 15.3709 +
 15.3710 +  ;
 15.3711 +  return 0;
 15.3712 +}
 15.3713 +_ACEOF
 15.3714 +rm -f conftest.$ac_objext conftest$ac_exeext
 15.3715 +if { (eval echo "$as_me:3712: \"$ac_link\"") >&5
 15.3716 +  (eval $ac_link) 2>&5
 15.3717 +  ac_status=$?
 15.3718 +  echo "$as_me:3715: \$? = $ac_status" >&5
 15.3719 +  (exit $ac_status); } &&
 15.3720 +         { (eval echo "$as_me:3717: \"test -s conftest$ac_exeext\"") >&5
 15.3721 +  (eval test -s conftest$ac_exeext) 2>&5
 15.3722 +  ac_status=$?
 15.3723 +  echo "$as_me:3720: \$? = $ac_status" >&5
 15.3724 +  (exit $ac_status); }; then
 15.3725 +  sim_cv_have_inventor_image=true
 15.3726 +else
 15.3727 +  echo "$as_me: failed program was:" >&5
 15.3728 +cat conftest.$ac_ext >&5
 15.3729 +sim_cv_have_inventor_image=false
 15.3730 +fi
 15.3731 +rm -f conftest$ac_exeext conftest.$ac_ext
 15.3732 +    CPPFLAGS="$sim_ac_inventor_image_save_CPPFLAGS"
 15.3733 +    LDFLAGS="$sim_ac_inventor_image_save_LDFLAGS"
 15.3734 +    LIBS="$sim_ac_inventor_image_save_LIBS"
 15.3735 +
 15.3736 +fi
 15.3737 +echo "$as_me:3734: result: $sim_cv_have_inventor_image" >&5
 15.3738 +echo "${ECHO_T}$sim_cv_have_inventor_image" >&6
 15.3739 +
 15.3740 +  if $sim_cv_have_inventor_image; then
 15.3741 +
 15.3742 +    sim_ac_inventor_cppflags="$sim_ac_inventor_image_cppflags"
 15.3743 +    sim_ac_inventor_ldflags="$sim_ac_inventor_image_ldflags"
 15.3744 +
 15.3745 +  else
 15.3746 +
 15.3747 +    if test s${sim_ac_inventor_path+et} = set; then
 15.3748 +      sim_ac_inventor_cppflags="-I${sim_ac_inventor_path}/include"
 15.3749 +      sim_ac_inventor_ldflags="-L${sim_ac_inventor_path}/lib"
 15.3750 +    fi
 15.3751 +    sim_ac_inventor_image_libs=
 15.3752 +
 15.3753 +  fi
 15.3754 +else
 15.3755 +
 15.3756 +    if test s${sim_ac_inventor_path+et} = set; then
 15.3757 +      sim_ac_inventor_cppflags="-I${sim_ac_inventor_path}/include"
 15.3758 +      sim_ac_inventor_ldflags="-L${sim_ac_inventor_path}/lib"
 15.3759 +    fi
 15.3760 +    sim_ac_inventor_image_libs=
 15.3761 +
 15.3762 +fi
 15.3763 +
 15.3764 +  # Let's at least test for "libInventor".
 15.3765 +  sim_ac_inventor_chk_libs="-lInventor"
 15.3766 +
 15.3767 +  # See if we can get the TGS_VERSION number for including a
 15.3768 +  # check for inv{ver}.lib.
 15.3769 +    cat <<EOF > conftest.c
 15.3770 +#include <Inventor/SbBasic.h>
 15.3771 +PeekInventorVersion: TGS_VERSION
 15.3772 +EOF
 15.3773 +  tgs_version=`$CPP $sim_ac_inventor_cppflags $CPPFLAGS conftest.c 2>/dev/null | grep "^PeekInventorVersion" | sed 's/.* //g'`
 15.3774 +  rm -f conftest.c
 15.3775 +  if test x"$tgs_version" != xTGS_VERSION; then
 15.3776 +    tgs_version=`echo $tgs_version | cut -c-3`
 15.3777 +    sim_ac_inventor_chk_libs="$sim_ac_inventor_chk_libs -linv${tgs_version}"
 15.3778 +  fi
 15.3779 +
 15.3780 +  echo "$as_me:3777: checking for Open Inventor library" >&5
 15.3781 +echo $ECHO_N "checking for Open Inventor library... $ECHO_C" >&6
 15.3782 +  sim_ac_inventor_libs=UNRESOLVED
 15.3783 +
 15.3784 +  for sim_ac_iv_cppflags_loop in "" "-DWIN32"; do
 15.3785 +    for sim_ac_iv_libcheck in $sim_ac_inventor_chk_libs; do
 15.3786 +      if test "x$sim_ac_inventor_libs" = "xUNRESOLVED"; then
 15.3787 +        CPPFLAGS="$sim_ac_iv_cppflags_loop $sim_ac_inventor_cppflags $sim_ac_save_CPPFLAGS"
 15.3788 +        LDFLAGS="$sim_ac_inventor_ldflags $sim_ac_save_LDFLAGS"
 15.3789 +        LIBS="$sim_ac_iv_libcheck $sim_ac_inventor_image_libs $sim_ac_save_LIBS"
 15.3790 +        cat >conftest.$ac_ext <<_ACEOF
 15.3791 +#line 3788 "configure"
 15.3792 +#include "confdefs.h"
 15.3793 +#include <Inventor/SoDB.h>
 15.3794 +int
 15.3795 +main ()
 15.3796 +{
 15.3797 +SoDB::init();
 15.3798 +  ;
 15.3799 +  return 0;
 15.3800 +}
 15.3801 +_ACEOF
 15.3802 +rm -f conftest.$ac_objext conftest$ac_exeext
 15.3803 +if { (eval echo "$as_me:3800: \"$ac_link\"") >&5
 15.3804 +  (eval $ac_link) 2>&5
 15.3805 +  ac_status=$?
 15.3806 +  echo "$as_me:3803: \$? = $ac_status" >&5
 15.3807 +  (exit $ac_status); } &&
 15.3808 +         { (eval echo "$as_me:3805: \"test -s conftest$ac_exeext\"") >&5
 15.3809 +  (eval test -s conftest$ac_exeext) 2>&5
 15.3810 +  ac_status=$?
 15.3811 +  echo "$as_me:3808: \$? = $ac_status" >&5
 15.3812 +  (exit $ac_status); }; then
 15.3813 +  sim_ac_inventor_libs="$sim_ac_iv_libcheck $sim_ac_inventor_image_libs"
 15.3814 +                     sim_ac_inventor_cppflags="$sim_ac_iv_cppflags_loop $sim_ac_inventor_cppflags"
 15.3815 +else
 15.3816 +  echo "$as_me: failed program was:" >&5
 15.3817 +cat conftest.$ac_ext >&5
 15.3818 +fi
 15.3819 +rm -f conftest$ac_exeext conftest.$ac_ext
 15.3820 +      fi
 15.3821 +    done
 15.3822 +  done
 15.3823 +
 15.3824 +  CPPFLAGS="$sim_ac_save_CPPFLAGS"
 15.3825 +  LDFLAGS="$sim_ac_save_LDFLAGS"
 15.3826 +  LIBS="$sim_ac_save_LIBS"
 15.3827 +
 15.3828 +  if test "x$sim_ac_inventor_libs" != "xUNRESOLVED"; then
 15.3829 +    echo "$as_me:3826: result: $sim_ac_inventor_cppflags $sim_ac_inventor_ldflags $sim_ac_inventor_libs" >&5
 15.3830 +echo "${ECHO_T}$sim_ac_inventor_cppflags $sim_ac_inventor_ldflags $sim_ac_inventor_libs" >&6
 15.3831 +    CPPFLAGS="$sim_ac_inventor_cppflags $CPPFLAGS"
 15.3832 +     LDFLAGS="$sim_ac_inventor_ldflags $LDFLAGS"
 15.3833 +     LIBS="$sim_ac_inventor_libs $LIBS"
 15.3834 +     SOQT_EXTRA_CPPFLAGS="$sim_ac_inventor_cppflags $SOQT_EXTRA_CPPFLAGS"
 15.3835 +     SOQT_EXTRA_LDFLAGS="$sim_ac_inventor_ldflags $SOQT_EXTRA_LDFLAGS"
 15.3836 +     SOQT_EXTRA_LIBS="$sim_ac_inventor_libs $SOQT_EXTRA_LIBS"
 15.3837 +  else
 15.3838 +    echo "$as_me:3835: result: unavailable" >&5
 15.3839 +echo "${ECHO_T}unavailable" >&6
 15.3840 +    { { echo "$as_me:3837: error: couldn't compile and link against Open Inventor" >&5
 15.3841 +echo "$as_me: error: couldn't compile and link against Open Inventor" >&2;}
 15.3842 +   { (exit 1); exit 1; }; }
 15.3843 +  fi
 15.3844 +else
 15.3845 +  { { echo "$as_me:3842: error: couldn't compile and link against Open Inventor" >&5
 15.3846 +echo "$as_me: error: couldn't compile and link against Open Inventor" >&2;}
 15.3847 +   { (exit 1); exit 1; }; }
 15.3848 +fi
 15.3849 +
 15.3850 +else
 15.3851 +
 15.3852 +# official variables
 15.3853 +sim_ac_coin_avail=false
 15.3854 +sim_ac_coin_cppflags=
 15.3855 +sim_ac_coin_ldflags=
 15.3856 +sim_ac_coin_libs=
 15.3857 +sim_ac_coin_datadir=
 15.3858 +sim_ac_coin_version=
 15.3859 +
 15.3860 +# internal variables
 15.3861 +: ${sim_ac_coin_desired=true}
 15.3862 +sim_ac_coin_extrapath=
 15.3863 +
 15.3864 +# Check whether --with-coin or --without-coin was given.
 15.3865 +if test "${with_coin+set}" = set; then
 15.3866 +  withval="$with_coin"
 15.3867 +   case $withval in
 15.3868 +    no)  sim_ac_coin_desired=false ;;
 15.3869 +    yes) sim_ac_coin_desired=true ;;
 15.3870 +    *)   sim_ac_coin_desired=true
 15.3871 +         sim_ac_coin_extrapath=$withval ;;
 15.3872 +    esac
 15.3873 +fi;
 15.3874 +
 15.3875 +if $sim_ac_coin_desired; then
 15.3876 +  sim_ac_path=$PATH
 15.3877 +  test -z "$sim_ac_coin_extrapath" || ## search in --with-coin path
 15.3878 +    sim_ac_path=$sim_ac_coin_extrapath/bin:$sim_ac_path
 15.3879 +  test x"$prefix" = xNONE ||          ## search in --prefix path
 15.3880 +    sim_ac_path=$sim_ac_path:$prefix/bin
 15.3881 +
 15.3882 +  # Extract the first word of "coin-config", so it can be a program name with args.
 15.3883 +set dummy coin-config; ac_word=$2
 15.3884 +echo "$as_me:3881: checking for $ac_word" >&5
 15.3885 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 15.3886 +if test "${ac_cv_path_sim_ac_coin_configcmd+set}" = set; then
 15.3887 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.3888 +else
 15.3889 +  case $sim_ac_coin_configcmd in
 15.3890 +  [\\/]* | ?:[\\/]*)
 15.3891 +  ac_cv_path_sim_ac_coin_configcmd="$sim_ac_coin_configcmd" # Let the user override the test with a path.
 15.3892 +  ;;
 15.3893 +  *)
 15.3894 +  ac_save_IFS=$IFS; IFS=':'
 15.3895 +ac_dummy="$sim_ac_path"
 15.3896 +for ac_dir in $ac_dummy; do
 15.3897 +  IFS=$ac_save_IFS
 15.3898 +  test -z "$ac_dir" && ac_dir=.
 15.3899 +  if $as_executable_p "$ac_dir/$ac_word"; then
 15.3900 +   ac_cv_path_sim_ac_coin_configcmd="$ac_dir/$ac_word"
 15.3901 +   break
 15.3902 +fi
 15.3903 +done
 15.3904 +
 15.3905 +  test -z "$ac_cv_path_sim_ac_coin_configcmd" && ac_cv_path_sim_ac_coin_configcmd="false"
 15.3906 +  ;;
 15.3907 +esac
 15.3908 +fi
 15.3909 +sim_ac_coin_configcmd=$ac_cv_path_sim_ac_coin_configcmd
 15.3910 +
 15.3911 +if test -n "$sim_ac_coin_configcmd"; then
 15.3912 +  echo "$as_me:3909: result: $sim_ac_coin_configcmd" >&5
 15.3913 +echo "${ECHO_T}$sim_ac_coin_configcmd" >&6
 15.3914 +else
 15.3915 +  echo "$as_me:3912: result: no" >&5
 15.3916 +echo "${ECHO_T}no" >&6
 15.3917 +fi
 15.3918 +
 15.3919 +  if $sim_ac_coin_configcmd; then
 15.3920 +# FIXME: use --alternate=$CONFIG or nothing (in case of old script)
 15.3921 +#    test -n "`echo -- $CPPFLAGS $CFLAGS $CXXFLAGS | grep -- '-g\\>'`" &&
 15.3922 +#      sim_ac_coin_configcmd="$sim_ac_coin_configcmd --debug"
 15.3923 +    sim_ac_coin_cppflags=`$sim_ac_coin_configcmd --cppflags`
 15.3924 +    sim_ac_coin_ldflags=`$sim_ac_coin_configcmd --ldflags`
 15.3925 +    sim_ac_coin_libs=`$sim_ac_coin_configcmd --libs`
 15.3926 +    sim_ac_coin_datadir=`$sim_ac_coin_configcmd --datadir`
 15.3927 +    sim_ac_coin_version=`$sim_ac_coin_configcmd --version`
 15.3928 +    echo "$as_me:3925: checking whether libCoin is available" >&5
 15.3929 +echo $ECHO_N "checking whether libCoin is available... $ECHO_C" >&6
 15.3930 +if test "${sim_cv_coin_avail+set}" = set; then
 15.3931 +  echo $ECHO_N "(cached) $ECHO_C" >&6
 15.3932 +else
 15.3933 +  sim_ac_save_cppflags=$CPPFLAGS
 15.3934 +      sim_ac_save_ldflags=$LDFLAGS
 15.3935 +      sim_ac_save_libs=$LIBS
 15.3936 +      CPPFLAGS="$CPPFLAGS $sim_ac_coin_cppflags"
 15.3937 +      LDFLAGS="$LDFLAGS $sim_ac_coin_ldflags"
 15.3938 +      LIBS="$sim_ac_coin_libs $LIBS"
 15.3939 +      ac_ext=cc
 15.3940 +ac_cpp='$CXXCPP $CPPFLAGS'
 15.3941 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.3942 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.3943 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 15.3944 +
 15.3945 +      cat >conftest.$ac_ext <<_ACEOF
 15.3946 +#line 3943 "configure"
 15.3947 +#include "confdefs.h"
 15.3948 +#include <Inventor/SoDB.h>
 15.3949 +int
 15.3950 +main ()
 15.3951 +{
 15.3952 +SoDB::init();
 15.3953 +  ;
 15.3954 +  return 0;
 15.3955 +}
 15.3956 +_ACEOF
 15.3957 +rm -f conftest.$ac_objext conftest$ac_exeext
 15.3958 +if { (eval echo "$as_me:3955: \"$ac_link\"") >&5
 15.3959 +  (eval $ac_link) 2>&5
 15.3960 +  ac_status=$?
 15.3961 +  echo "$as_me:3958: \$? = $ac_status" >&5
 15.3962 +  (exit $ac_status); } &&
 15.3963 +         { (eval echo "$as_me:3960: \"test -s conftest$ac_exeext\"") >&5
 15.3964 +  (eval test -s conftest$ac_exeext) 2>&5
 15.3965 +  ac_status=$?
 15.3966 +  echo "$as_me:3963: \$? = $ac_status" >&5
 15.3967 +  (exit $ac_status); }; then
 15.3968 +  sim_cv_coin_avail=true
 15.3969 +else
 15.3970 +  echo "$as_me: failed program was:" >&5
 15.3971 +cat conftest.$ac_ext >&5
 15.3972 +sim_cv_coin_avail=false
 15.3973 +fi
 15.3974 +rm -f conftest$ac_exeext conftest.$ac_ext
 15.3975 +      ac_ext=cc
 15.3976 +ac_cpp='$CXXCPP $CPPFLAGS'
 15.3977 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15.3978 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15.3979 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 15.3980 +
 15.3981 +      CPPFLAGS=$sim_ac_save_cppflags
 15.3982 +      LDFLAGS=$sim_ac_save_ldflags
 15.3983 +      LIBS=$sim_ac_save_libs
 15.3984 +
 15.3985 +fi
 15.3986 +echo "$as_me:3983: result: $sim_cv_coin_avail" >&5
 15.3987 +echo "${ECHO_T}$sim_cv_coin_avail" >&6
 15.3988 +    sim_ac_coin_avail=$sim_cv_coin_avail
 15.3989 +  else
 15.3990 +    locations=`IFS=:; for p in $sim_ac_path; do echo " -> $p/coin-config"; done`
 15.3991 +    { echo "$as_me:3988: WARNING: cannot find 'coin-config' at any of these locations:
 15.3992 +$locations" >&5
 15.3993 +echo "$as_me: WARNING: cannot find 'coin-config' at any of these locations:
 15.3994 +$locations" >&2;}
 15.3995 +  fi
 15.3996 +fi
 15.3997 +
 15.3998 +if $sim_ac_coin_avail; then
 15.3999 +
 15.4000 +    CPPFLAGS="$CPPFLAGS $sim_ac_coin_cppflags"
 15.4001 +    LDFLAGS="$LDFLAGS $sim_ac_coin_ldflags"
 15.4002 +    LIBS="$sim_ac_coin_libs $LIBS"
 15.4003 +    SOQT_EXTRA_CPPFLAGS="$SOQT_EXTRA_CPPFLAGS $sim_ac_coin_cppflags"
 15.4004 +    SOQT_EXTRA_LDFLAGS="$SOQT_EXTRA_LDFLAGS $sim_ac_coin_ldflags"
 15.4005 +    SOQT_EXTRA_LIBS="$sim_ac_coin_libs $SOQT_EXTRA_LIBS"
 15.4006 +
 15.4007 +else
 15.4008 +  { { echo "$as_me:4005: error: couldn't compile and link against Coin" >&5
 15.4009 +echo "$as_me: error: couldn't compile and link against Coin" >&2;}
 15.4010 +   { (exit 1); exit 1; }; }
 15.4011 +fi
 15.4012 +
 15.4013 +fi
 15.4014 +
 15.4015 +ac_config_files="$ac_config_files Makefile src/Makefile src/nodekits/Makefile src/nodes/Makefile src/elements/Makefile"
 15.4016 +cat >confcache <<\_ACEOF
 15.4017 +# This file is a shell script that caches the results of configure
 15.4018 +# tests run on this system so they can be shared between configure
 15.4019 +# scripts and configure runs, see configure's option --config-cache.
 15.4020 +# It is not useful on other systems.  If it contains results you don't
 15.4021 +# want to keep, you may remove or edit it.
 15.4022 +#
 15.4023 +# config.status only pays attention to the cache file if you give it
 15.4024 +# the --recheck option to rerun configure.
 15.4025 +#
 15.4026 +# `ac_cv_env_foo' variables (set or unset) will be overriden when
 15.4027 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
 15.4028 +# following values.
 15.4029 +
 15.4030 +_ACEOF
 15.4031 +
 15.4032 +# The following way of writing the cache mishandles newlines in values,
 15.4033 +# but we know of no workaround that is simple, portable, and efficient.
 15.4034 +# So, don't put newlines in cache variables' values.
 15.4035 +# Ultrix sh set writes to stderr and can't be redirected directly,
 15.4036 +# and sets the high bit in the cache file unless we assign to the vars.
 15.4037 +{
 15.4038 +  (set) 2>&1 |
 15.4039 +    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 15.4040 +    *ac_space=\ *)
 15.4041 +      # `set' does not quote correctly, so add quotes (double-quote
 15.4042 +      # substitution turns \\\\ into \\, and sed turns \\ into \).
 15.4043 +      sed -n \
 15.4044 +        "s/'/'\\\\''/g;
 15.4045 +    	  s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 15.4046 +      ;;
 15.4047 +    *)
 15.4048 +      # `set' quotes correctly as required by POSIX, so do not add quotes.
 15.4049 +      sed -n \
 15.4050 +        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 15.4051 +      ;;
 15.4052 +    esac;
 15.4053 +} |
 15.4054 +  sed '
 15.4055 +     t clear
 15.4056 +     : clear
 15.4057 +     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 15.4058 +     t end
 15.4059 +     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 15.4060 +     : end' >>confcache
 15.4061 +if cmp -s $cache_file confcache; then :; else
 15.4062 +  if test -w $cache_file; then
 15.4063 +    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 15.4064 +    cat confcache >$cache_file
 15.4065 +  else
 15.4066 +    echo "not updating unwritable cache $cache_file"
 15.4067 +  fi
 15.4068 +fi
 15.4069 +rm -f confcache
 15.4070 +
 15.4071 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
 15.4072 +# Let make expand exec_prefix.
 15.4073 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 15.4074 +
 15.4075 +# VPATH is dangerous, but if there is a colon in the path, we need to
 15.4076 +# keep it.
 15.4077 +if test "x$srcdir" = x.; then
 15.4078 +  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
 15.4079 +fi
 15.4080 +
 15.4081 +DEFS=-DHAVE_CONFIG_H
 15.4082 +
 15.4083 +: ${CONFIG_STATUS=./config.status}
 15.4084 +ac_clean_files_save=$ac_clean_files
 15.4085 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 15.4086 +{ echo "$as_me:4083: creating $CONFIG_STATUS" >&5
 15.4087 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
 15.4088 +cat >$CONFIG_STATUS <<\_ACEOF
 15.4089 +#! /bin/sh
 15.4090 +# Generated automatically by configure.
 15.4091 +# Run this file to recreate the current configuration.
 15.4092 +# Compiler output produced by configure, useful for debugging
 15.4093 +# configure, is in config.log if it exists.
 15.4094 +
 15.4095 +debug=false
 15.4096 +as_me=`echo "$0" | sed 's,.*/,,'`
 15.4097 +SHELL=${CONFIG_SHELL-/bin/sh}
 15.4098 +
 15.4099 +# Be Bourne compatible
 15.4100 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 15.4101 +  emulate sh
 15.4102 +  NULLCMD=:
 15.4103 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 15.4104 +  set -o posix
 15.4105 +fi
 15.4106 +
 15.4107 +if expr a : '\(a\)' >/dev/null 2>&1; then
 15.4108 +  as_expr=expr
 15.4109 +else
 15.4110 +  as_expr=false
 15.4111 +fi
 15.4112 +
 15.4113 +rm -f conftest conftest.exe conftest.file
 15.4114 +echo >conftest.file
 15.4115 +if ln -s conftest.file conftest 2>/dev/null; then
 15.4116 +  # We could just check for DJGPP; but this test a) works b) is more generic
 15.4117 +  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 15.4118 +  if test -f conftest.exe; then
 15.4119 +    # Don't use ln at all; we don't have any links
 15.4120 +    as_ln_s='cp -p'
 15.4121 +  else
 15.4122 +    as_ln_s='ln -s'
 15.4123 +  fi
 15.4124 +elif ln conftest.file conftest 2>/dev/null; then
 15.4125 +  as_ln_s=ln
 15.4126 +else
 15.4127 +  as_ln_s='cp -p'
 15.4128 +fi
 15.4129 +rm -f conftest conftest.exe conftest.file
 15.4130 +
 15.4131 +# Find out how to test for executable files. Don't use a zero-byte file,
 15.4132 +# as systems may use methods other than mode bits to determine executability.
 15.4133 +cat >conftest.file <<_ASEOF
 15.4134 +#! /bin/sh
 15.4135 +exit 0
 15.4136 +_ASEOF
 15.4137 +chmod +x conftest.file
 15.4138 +if test -x conftest.file >/dev/null 2>&1; then
 15.4139 +  as_executable_p="test -x"
 15.4140 +elif test -f conftest.file >/dev/null 2>&1; then
 15.4141 +  as_executable_p="test -f"
 15.4142 +else
 15.4143 +  { { echo "$as_me:4140: error: cannot check whether a file is executable on this system" >&5
 15.4144 +echo "$as_me: error: cannot check whether a file is executable on this system" >&2;}
 15.4145 +   { (exit 1); exit 1; }; }
 15.4146 +fi
 15.4147 +rm -f conftest.file
 15.4148 +
 15.4149 +# Support unset when possible.
 15.4150 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 15.4151 +  as_unset=unset
 15.4152 +else
 15.4153 +  as_unset=false
 15.4154 +fi
 15.4155 +
 15.4156 +# NLS nuisances.
 15.4157 +$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
 15.4158 +$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
 15.4159 +$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
 15.4160 +$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
 15.4161 +$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
 15.4162 +$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
 15.4163 +$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
 15.4164 +$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
 15.4165 +
 15.4166 +# IFS
 15.4167 +# We need space, tab and new line, in precisely that order.
 15.4168 +as_nl='
 15.4169 +'
 15.4170 +IFS=" 	$as_nl"
 15.4171 +
 15.4172 +# CDPATH.
 15.4173 +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
 15.4174 +
 15.4175 +# File descriptor usage:
 15.4176 +# 0 standard input
 15.4177 +# 1 file creation
 15.4178 +# 2 errors and warnings
 15.4179 +# 5 compiler messages saved in config.log
 15.4180 +# 6 checking for... messages and results
 15.4181 +exec 5>>config.log
 15.4182 +exec 6>&1
 15.4183 +
 15.4184 +cat >&5 << EOF
 15.4185 +
 15.4186 +## ----------------------- ##
 15.4187 +## Running config.status.  ##
 15.4188 +## ----------------------- ##
 15.4189 +
 15.4190 +This file was extended by $as_me 2.49d, executed with
 15.4191 + > $0 $@
 15.4192 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
 15.4193 +
 15.4194 +EOF
 15.4195 +
 15.4196 +_ACEOF
 15.4197 +
 15.4198 +# Files that config.status was made for.
 15.4199 +if test -n "$ac_config_files"; then
 15.4200 +  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 15.4201 +fi
 15.4202 +
 15.4203 +if test -n "$ac_config_headers"; then
 15.4204 +  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 15.4205 +fi
 15.4206 +
 15.4207 +if test -n "$ac_config_links"; then
 15.4208 +  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 15.4209 +fi
 15.4210 +
 15.4211 +if test -n "$ac_config_commands"; then
 15.4212 +  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 15.4213 +fi
 15.4214 +
 15.4215 +cat >>$CONFIG_STATUS <<\EOF
 15.4216 +
 15.4217 +ac_cs_usage="\
 15.4218 +\`$as_me' instantiates files from templates according to the
 15.4219 +current configuration.
 15.4220 +
 15.4221 +Usage: $0 [OPTIONS] [FILE]...
 15.4222 +
 15.4223 +  -h, --help       print this help, then exit
 15.4224 +  -V, --version    print version number, then exit
 15.4225 +  -d, --debug      don't remove temporary files
 15.4226 +      --recheck    update $as_me by reconfiguring in the same conditions
 15.4227 +  --file=FILE[:TEMPLATE]
 15.4228 +                   instantiate the configuration file FILE
 15.4229 +  --header=FILE[:TEMPLATE]
 15.4230 +                   instantiate the configuration header FILE
 15.4231 +
 15.4232 +Configuration files:
 15.4233 +$config_files
 15.4234 +
 15.4235 +Configuration headers:
 15.4236 +$config_headers
 15.4237 +
 15.4238 +Configuration commands:
 15.4239 +$config_commands
 15.4240 +
 15.4241 +Report bugs to <bug-autoconf@gnu.org>."
 15.4242 +EOF
 15.4243 +
 15.4244 +cat >>$CONFIG_STATUS <<EOF
 15.4245 +ac_cs_version="\\
 15.4246 +$CONFIG_STATUS generated by $as_me (Autoconf 2.49d).
 15.4247 +Configured on host $ac_hostname by
 15.4248 +  `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
 15.4249 +srcdir=$srcdir
 15.4250 +INSTALL="$INSTALL"
 15.4251 +EOF
 15.4252 +
 15.4253 +cat >>$CONFIG_STATUS <<\EOF
 15.4254 +# If no file are specified by the user, then we need to provide default
 15.4255 +# value.  By we need to know if files were specified by the user.
 15.4256 +ac_need_defaults=:
 15.4257 +while test $# != 0
 15.4258 +do
 15.4259 +  case $1 in
 15.4260 +  --*=*)
 15.4261 +    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 15.4262 +    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 15.4263 +    shift
 15.4264 +    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
 15.4265 +    shift
 15.4266 +    ;;
 15.4267 +  -*);;
 15.4268 +  *) # This is not an option, so the user has probably given explicit
 15.4269 +     # arguments.
 15.4270 +     ac_need_defaults=false;;
 15.4271 +  esac
 15.4272 +
 15.4273 +  case $1 in
 15.4274 +  # Handling of the options.
 15.4275 +EOF
 15.4276 +cat >>$CONFIG_STATUS <<EOF
 15.4277 +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 15.4278 +    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
 15.4279 +    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
 15.4280 +EOF
 15.4281 +cat >>$CONFIG_STATUS <<\EOF
 15.4282 +  --version | --vers* | -V )
 15.4283 +    echo "$ac_cs_version"; exit 0 ;;
 15.4284 +  --he | --h)
 15.4285 +    # Conflict between --help and --header
 15.4286 +    { { echo "$as_me:4283: error: ambiguous option: $1
 15.4287 +Try \`$0 --help' for more information." >&5
 15.4288 +echo "$as_me: error: ambiguous option: $1
 15.4289 +Try \`$0 --help' for more information." >&2;}
 15.4290 +   { (exit 1); exit 1; }; };;
 15.4291 +  --help | --hel | -h )
 15.4292 +    echo "$ac_cs_usage"; exit 0 ;;
 15.4293 +  --debug | --d* | -d )
 15.4294 +    debug=: ;;
 15.4295 +  --file | --fil | --fi | --f )
 15.4296 +    shift
 15.4297 +    CONFIG_FILES="$CONFIG_FILES $1"
 15.4298 +    ac_need_defaults=false;;
 15.4299 +  --header | --heade | --head | --hea )
 15.4300 +    shift
 15.4301 +    CONFIG_HEADERS="$CONFIG_HEADERS $1"
 15.4302 +    ac_need_defaults=false;;
 15.4303 +
 15.4304 +  # Handling of arguments.
 15.4305 +  'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 15.4306 +  'src/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 15.4307 +  'src/nodekits/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/nodekits/Makefile" ;;
 15.4308 +  'src/nodes/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/nodes/Makefile" ;;
 15.4309 +  'src/elements/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/elements/Makefile" ;;
 15.4310 +  'default-1' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 15.4311 +  'default-2' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
 15.4312 +  'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 15.4313 +
 15.4314 +  # This is an error.
 15.4315 +  -*) { { echo "$as_me:4312: error: unrecognized option: $1
 15.4316 +Try \`$0 --help' for more information." >&5
 15.4317 +echo "$as_me: error: unrecognized option: $1
 15.4318 +Try \`$0 --help' for more information." >&2;}
 15.4319 +   { (exit 1); exit 1; }; } ;;
 15.4320 +  *) { { echo "$as_me:4317: error: invalid argument: $1" >&5
 15.4321 +echo "$as_me: error: invalid argument: $1" >&2;}
 15.4322 +   { (exit 1); exit 1; }; };;
 15.4323 +  esac
 15.4324 +  shift
 15.4325 +done
 15.4326 +
 15.4327 +EOF
 15.4328 +
 15.4329 +cat >>$CONFIG_STATUS <<\EOF
 15.4330 +# If the user did not use the arguments to specify the items to instantiate,
 15.4331 +# then the envvar interface is used.  Set only those that are not.
 15.4332 +# We use the long form for the default assignment because of an extremely
 15.4333 +# bizarre bug on SunOS 4.1.3.
 15.4334 +if $ac_need_defaults; then
 15.4335 +  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 15.4336 +  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 15.4337 +  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 15.4338 +fi
 15.4339 +
 15.4340 +# Create a temporary directory, and hook for its removal unless debugging.
 15.4341 +$debug ||
 15.4342 +{
 15.4343 +  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 15.4344 +  trap '{ (exit $?); exit $?; }' 1 2 13 15
 15.4345 +}
 15.4346 +
 15.4347 +# Create a (secure) tmp directory for tmp files.
 15.4348 +: ${TMPDIR=/tmp}
 15.4349 +{
 15.4350 +  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
 15.4351 +  test -n "$tmp" && test -d "$tmp"
 15.4352 +}  ||
 15.4353 +{
 15.4354 +  tmp=$TMPDIR/cs$$-$RANDOM
 15.4355 +  (umask 077 && mkdir $tmp)
 15.4356 +} ||
 15.4357 +{
 15.4358 +   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
 15.4359 +   { (exit 1); exit 1; }
 15.4360 +}
 15.4361 +
 15.4362 +EOF
 15.4363 +
 15.4364 +cat >>$CONFIG_STATUS <<EOF
 15.4365 +#
 15.4366 +# INIT-COMMANDS section.
 15.4367 +#
 15.4368 +
 15.4369 +am_indx=1
 15.4370 +  for am_file in config.h; do
 15.4371 +    case " $CONFIG_HEADERS " in
 15.4372 +    *" $am_file "*)
 15.4373 +      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
 15.4374 +      ;;
 15.4375 +    esac
 15.4376 +    am_indx=\`expr \$am_indx + 1\`
 15.4377 +  done
 15.4378 +AMDEP="$AMDEP"
 15.4379 +ac_aux_dir="$ac_aux_dir"
 15.4380 +
 15.4381 +EOF
 15.4382 +
 15.4383 +cat >>$CONFIG_STATUS <<EOF
 15.4384 +
 15.4385 +#
 15.4386 +# CONFIG_FILES section.
 15.4387 +#
 15.4388 +
 15.4389 +# No need to generate the scripts if there are no CONFIG_FILES.
 15.4390 +# This happens for instance when ./config.status config.h
 15.4391 +if test -n "\$CONFIG_FILES"; then
 15.4392 +  # Protect against being on the right side of a sed subst in config.status.
 15.4393 +  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 15.4394 +   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 15.4395 +s,@SHELL@,$SHELL,;t t
 15.4396 +s,@exec_prefix@,$exec_prefix,;t t
 15.4397 +s,@prefix@,$prefix,;t t
 15.4398 +s,@program_transform_name@,$program_transform_name,;t t
 15.4399 +s,@bindir@,$bindir,;t t
 15.4400 +s,@sbindir@,$sbindir,;t t
 15.4401 +s,@libexecdir@,$libexecdir,;t t
 15.4402 +s,@datadir@,$datadir,;t t
 15.4403 +s,@sysconfdir@,$sysconfdir,;t t
 15.4404 +s,@sharedstatedir@,$sharedstatedir,;t t
 15.4405 +s,@localstatedir@,$localstatedir,;t t
 15.4406 +s,@libdir@,$libdir,;t t
 15.4407 +s,@includedir@,$includedir,;t t
 15.4408 +s,@oldincludedir@,$oldincludedir,;t t
 15.4409 +s,@infodir@,$infodir,;t t
 15.4410 +s,@mandir@,$mandir,;t t
 15.4411 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 15.4412 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 15.4413 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 15.4414 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 15.4415 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 15.4416 +s,@ECHO_C@,$ECHO_C,;t t
 15.4417 +s,@ECHO_N@,$ECHO_N,;t t
 15.4418 +s,@ECHO_T@,$ECHO_T,;t t
 15.4419 +s,@DEFS@,$DEFS,;t t
 15.4420 +s,@LIBS@,$LIBS,;t t
 15.4421 +s,@build@,$build,;t t
 15.4422 +s,@build_cpu@,$build_cpu,;t t
 15.4423 +s,@build_vendor@,$build_vendor,;t t
 15.4424 +s,@build_os@,$build_os,;t t
 15.4425 +s,@host@,$host,;t t
 15.4426 +s,@host_cpu@,$host_cpu,;t t
 15.4427 +s,@host_vendor@,$host_vendor,;t t
 15.4428 +s,@host_os@,$host_os,;t t
 15.4429 +s,@target@,$target,;t t
 15.4430 +s,@target_cpu@,$target_cpu,;t t
 15.4431 +s,@target_vendor@,$target_vendor,;t t
 15.4432 +s,@target_os@,$target_os,;t t
 15.4433 +s,@BUILD_WITH_MSVC@,$BUILD_WITH_MSVC,;t t
 15.4434 +s,@SMALLCHANGE_MAJOR_VERSION@,$SMALLCHANGE_MAJOR_VERSION,;t t
 15.4435 +s,@SMALLCHANGE_MINOR_VERSION@,$SMALLCHANGE_MINOR_VERSION,;t t
 15.4436 +s,@SMALLCHANGE_MICRO_VERSION@,$SMALLCHANGE_MICRO_VERSION,;t t
 15.4437 +s,@SMALLCHANGE_VERSION@,$SMALLCHANGE_VERSION,;t t
 15.4438 +s,@LT_CURRENT@,$LT_CURRENT,;t t
 15.4439 +s,@LT_REVISION@,$LT_REVISION,;t t
 15.4440 +s,@LT_AGE@,$LT_AGE,;t t
 15.4441 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 15.4442 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 15.4443 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 15.4444 +s,@PACKAGE@,$PACKAGE,;t t
 15.4445 +s,@VERSION@,$VERSION,;t t
 15.4446 +s,@ACLOCAL@,$ACLOCAL,;t t
 15.4447 +s,@AUTOCONF@,$AUTOCONF,;t t
 15.4448 +s,@AUTOMAKE@,$AUTOMAKE,;t t
 15.4449 +s,@AUTOHEADER@,$AUTOHEADER,;t t
 15.4450 +s,@MAKEINFO@,$MAKEINFO,;t t
 15.4451 +s,@AMTAR@,$AMTAR,;t t
 15.4452 +s,@install_sh@,$install_sh,;t t
 15.4453 +s,@AWK@,$AWK,;t t
 15.4454 +s,@SET_MAKE@,$SET_MAKE,;t t
 15.4455 +s,@AMDEP@,$AMDEP,;t t
 15.4456 +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 15.4457 +s,@DEPDIR@,$DEPDIR,;t t
 15.4458 +s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
 15.4459 +s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
 15.4460 +s,@MAINT@,$MAINT,;t t
 15.4461 +s,@RANLIB@,$RANLIB,;t t
 15.4462 +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
 15.4463 +s,@CC@,$CC,;t t
 15.4464 +s,@CFLAGS@,$CFLAGS,;t t
 15.4465 +s,@LDFLAGS@,$LDFLAGS,;t t
 15.4466 +s,@ac_ct_CC@,$ac_ct_CC,;t t
 15.4467 +s,@OBJEXT@,$OBJEXT,;t t
 15.4468 +s,@EXEEXT@,$EXEEXT,;t t
 15.4469 +s,@CPP@,$CPP,;t t
 15.4470 +s,@CPPFLAGS@,$CPPFLAGS,;t t
 15.4471 +s,@CCDEPMODE@,$CCDEPMODE,;t t
 15.4472 +s,@LN_S@,$LN_S,;t t
 15.4473 +s,@LIBTOOL@,$LIBTOOL,;t t
 15.4474 +s,@CXX@,$CXX,;t t
 15.4475 +s,@CXXFLAGS@,$CXXFLAGS,;t t
 15.4476 +s,@ac_ct_CXX@,$ac_ct_CXX,;t t
 15.4477 +s,@CXXCPP@,$CXXCPP,;t t
 15.4478 +s,@CXXDEPMODE@,$CXXDEPMODE,;t t
 15.4479 +s,@sim_ac_coin_configcmd@,$sim_ac_coin_configcmd,;t t
 15.4480 +CEOF
 15.4481 +
 15.4482 +EOF
 15.4483 +
 15.4484 +  cat >>$CONFIG_STATUS <<\EOF
 15.4485 +  # Split the substitutions into bite-sized pieces for seds with
 15.4486 +  # small command number limits, like on Digital OSF/1 and HP-UX.
 15.4487 +  ac_max_sed_lines=48
 15.4488 +  ac_sed_frag=1 # Number of current file.
 15.4489 +  ac_beg=1 # First line for current file.
 15.4490 +  ac_end=$ac_max_sed_lines # Line after last line for current file.
 15.4491 +  ac_more_lines=:
 15.4492 +  ac_sed_cmds=
 15.4493 +  while $ac_more_lines; do
 15.4494 +    if test $ac_beg -gt 1; then
 15.4495 +      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 15.4496 +    else
 15.4497 +      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 15.4498 +    fi
 15.4499 +    if test ! -s $tmp/subs.frag; then
 15.4500 +      ac_more_lines=false
 15.4501 +    else
 15.4502 +      # The purpose of the label and of the branching condition is to
 15.4503 +      # speed up the sed processing (if there are no `@' at all, there
 15.4504 +      # is no need to browse any of the substitutions).
 15.4505 +      # These are the two extra sed commands mentioned above.
 15.4506 +      (echo ':t
 15.4507 +  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 15.4508 +      if test -z "$ac_sed_cmds"; then
 15.4509 +  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 15.4510 +      else
 15.4511 +  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 15.4512 +      fi
 15.4513 +      ac_sed_frag=`expr $ac_sed_frag + 1`
 15.4514 +      ac_beg=$ac_end
 15.4515 +      ac_end=`expr $ac_end + $ac_max_sed_lines`
 15.4516 +    fi
 15.4517 +  done
 15.4518 +  if test -z "$ac_sed_cmds"; then
 15.4519 +    ac_sed_cmds=cat
 15.4520 +  fi
 15.4521 +fi # test -n "$CONFIG_FILES"
 15.4522 +
 15.4523 +EOF
 15.4524 +cat >>$CONFIG_STATUS <<\EOF
 15.4525 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 15.4526 +  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 15.4527 +  case $ac_file in
 15.4528 +  - | *:- | *:-:* ) # input from stdin
 15.4529 +        cat >$tmp/stdin
 15.4530 +        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 15.4531 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 15.4532 +  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 15.4533 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 15.4534 +  * )   ac_file_in=$ac_file.in ;;
 15.4535 +  esac
 15.4536 +
 15.4537 +  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 15.4538 +  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 15.4539 +         X"$ac_file" : 'X\(//\)[^/]' \| \
 15.4540 +         X"$ac_file" : 'X\(//\)$' \| \
 15.4541 +         X"$ac_file" : 'X\(/\)' \| \
 15.4542 +         .     : '\(.\)' 2>/dev/null ||
 15.4543 +echo X"$ac_file" |
 15.4544 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 15.4545 +  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 15.4546 +  	  /^X\(\/\/\)$/{ s//\1/; q; }
 15.4547 +  	  /^X\(\/\).*/{ s//\1/; q; }
 15.4548 +  	  s/.*/./; q'`
 15.4549 +  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
 15.4550 +    { case "$ac_dir" in
 15.4551 +  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
 15.4552 +  *)                      as_incr_dir=.;;
 15.4553 +esac
 15.4554 +as_dummy="$ac_dir"
 15.4555 +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
 15.4556 +  case $as_mkdir_dir in
 15.4557 +    # Skip DOS drivespec
 15.4558 +    ?:) as_incr_dir=$as_mkdir_dir ;;
 15.4559 +    *)
 15.4560 +      as_incr_dir=$as_incr_dir/$as_mkdir_dir
 15.4561 +      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
 15.4562 +    ;;
 15.4563 +  esac
 15.4564 +done; }
 15.4565 +
 15.4566 +    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
 15.4567 +    # A "../" for each directory in $ac_dir_suffix.
 15.4568 +    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
 15.4569 +  else
 15.4570 +    ac_dir_suffix= ac_dots=
 15.4571 +  fi
 15.4572 +
 15.4573 +  case $srcdir in
 15.4574 +  .)  ac_srcdir=.
 15.4575 +      if test -z "$ac_dots"; then
 15.4576 +         ac_top_srcdir=.
 15.4577 +      else
 15.4578 +         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
 15.4579 +      fi ;;
 15.4580 +  [\\/]* | ?:[\\/]* )
 15.4581 +      ac_srcdir=$srcdir$ac_dir_suffix;
 15.4582 +      ac_top_srcdir=$srcdir ;;
 15.4583 +  *) # Relative path.
 15.4584 +    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
 15.4585 +    ac_top_srcdir=$ac_dots$srcdir ;;
 15.4586 +  esac
 15.4587 +
 15.4588 +  case $INSTALL in
 15.4589 +  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 15.4590 +  *) ac_INSTALL=$ac_dots$INSTALL ;;
 15.4591 +  esac
 15.4592 +
 15.4593 +  if test x"$ac_file" != x-; then
 15.4594 +    { echo "$as_me:4591: creating $ac_file" >&5
 15.4595 +echo "$as_me: creating $ac_file" >&6;}
 15.4596 +    rm -f "$ac_file"
 15.4597 +  fi
 15.4598 +  # Let's still pretend it is `configure' which instantiates (i.e., don't
 15.4599 +  # use $as_me), people would be surprised to read:
 15.4600 +  #    /* config.h.  Generated automatically by config.status.  */
 15.4601 +  configure_input="Generated automatically from `echo $ac_file_in |
 15.4602 +                                                 sed 's,.*/,,'` by configure."
 15.4603 +
 15.4604 +  # First look for the input files in the build tree, otherwise in the
 15.4605 +  # src tree.
 15.4606 +  ac_file_inputs=`IFS=:
 15.4607 +    for f in $ac_file_in; do
 15.4608 +      case $f in
 15.4609 +      -) echo $tmp/stdin ;;
 15.4610 +      [\\/$]* | ?:[\\/]*)
 15.4611 +         # Absolute
 15.4612 +         test -f "$f" || { { echo "$as_me:4609: error: cannot find input file: $f" >&5
 15.4613 +echo "$as_me: error: cannot find input file: $f" >&2;}
 15.4614 +   { (exit 1); exit 1; }; }
 15.4615 +         echo $f;;
 15.4616 +      *) # Relative
 15.4617 +         if test -f "$f"; then
 15.4618 +           # Build tree
 15.4619 +           echo $f
 15.4620 +         elif test -f "$srcdir/$f"; then
 15.4621 +           # Source tree
 15.4622 +           echo $srcdir/$f
 15.4623 +         else
 15.4624 +           # /dev/null tree
 15.4625 +           { { echo "$as_me:4622: error: cannot find input file: $f" >&5
 15.4626 +echo "$as_me: error: cannot find input file: $f" >&2;}
 15.4627 +   { (exit 1); exit 1; }; }
 15.4628 +         fi;;
 15.4629 +      esac
 15.4630 +    done` || { (exit 1); exit 1; }
 15.4631 +EOF
 15.4632 +cat >>$CONFIG_STATUS <<EOF
 15.4633 +  sed "$ac_vpsub
 15.4634 +$extrasub
 15.4635 +EOF
 15.4636 +cat >>$CONFIG_STATUS <<\EOF
 15.4637 +:t
 15.4638 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 15.4639 +s,@configure_input@,$configure_input,;t t
 15.4640 +s,@srcdir@,$ac_srcdir,;t t
 15.4641 +s,@top_srcdir@,$ac_top_srcdir,;t t
 15.4642 +s,@INSTALL@,$ac_INSTALL,;t t
 15.4643 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 15.4644 +  rm -f $tmp/stdin
 15.4645 +  if test x"$ac_file" != x-; then
 15.4646 +    mv $tmp/out $ac_file
 15.4647 +  else
 15.4648 +    cat $tmp/out
 15.4649 +    rm -f $tmp/out
 15.4650 +  fi
 15.4651 +
 15.4652 +done
 15.4653 +EOF
 15.4654 +cat >>$CONFIG_STATUS <<\EOF
 15.4655 +
 15.4656 +#
 15.4657 +# CONFIG_HEADER section.
 15.4658 +#
 15.4659 +
 15.4660 +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
 15.4661 +# NAME is the cpp macro being defined and VALUE is the value it is being given.
 15.4662 +#
 15.4663 +# ac_d sets the value in "#define NAME VALUE" lines.
 15.4664 +ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
 15.4665 +ac_dB='[ 	].*$,\1#\2'
 15.4666 +ac_dC=' '
 15.4667 +ac_dD=',;t'
 15.4668 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 15.4669 +ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
 15.4670 +ac_uB='$,\1#\2define\3'
 15.4671 +ac_uC=' '
 15.4672 +ac_uD=',;t'
 15.4673 +
 15.4674 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
 15.4675 +  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 15.4676 +  case $ac_file in
 15.4677 +  - | *:- | *:-:* ) # input from stdin
 15.4678 +        cat >$tmp/stdin
 15.4679 +        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 15.4680 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 15.4681 +  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 15.4682 +        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 15.4683 +  * )   ac_file_in=$ac_file.in ;;
 15.4684 +  esac
 15.4685 +
 15.4686 +  test x"$ac_file" != x- && { echo "$as_me:4683: creating $ac_file" >&5
 15.4687 +echo "$as_me: creating $ac_file" >&6;}
 15.4688 +
 15.4689 +  # First look for the input files in the build tree, otherwise in the
 15.4690 +  # src tree.
 15.4691 +  ac_file_inputs=`IFS=:
 15.4692 +    for f in $ac_file_in; do
 15.4693 +      case $f in
 15.4694 +      -) echo $tmp/stdin ;;
 15.4695 +      [\\/$]* | ?:[\\/]*)
 15.4696 +         # Absolute
 15.4697 +         test -f "$f" || { { echo "$as_me:4694: error: cannot find input file: $f" >&5
 15.4698 +echo "$as_me: error: cannot find input file: $f" >&2;}
 15.4699 +   { (exit 1); exit 1; }; }
 15.4700 +         echo $f;;
 15.4701 +      *) # Relative
 15.4702 +         if test -f "$f"; then
 15.4703 +           # Build tree
 15.4704 +           echo $f
 15.4705 +         elif test -f "$srcdir/$f"; then
 15.4706 +           # Source tree
 15.4707 +           echo $srcdir/$f
 15.4708 +         else
 15.4709 +           # /dev/null tree
 15.4710 +           { { echo "$as_me:4707: error: cannot find input file: $f" >&5
 15.4711 +echo "$as_me: error: cannot find input file: $f" >&2;}
 15.4712 +   { (exit 1); exit 1; }; }
 15.4713 +         fi;;
 15.4714 +      esac
 15.4715 +    done` || { (exit 1); exit 1; }
 15.4716 +  # Remove the trailing spaces.
 15.4717 +  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
 15.4718 +
 15.4719 +EOF
 15.4720 +
 15.4721 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
 15.4722 +# `conftest.undefs', that substitutes the proper values into
 15.4723 +# config.h.in to produce config.h.  The first handles `#define'
 15.4724 +# templates, and the second `#undef' templates.
 15.4725 +# And first: Protect against being on the right side of a sed subst in
 15.4726 +# config.status.  Protect against being in an unquoted here document
 15.4727 +# in config.status.
 15.4728 +rm -f conftest.defines conftest.undefs
 15.4729 +# Using a here document instead of a string reduces the quoting nightmare.
 15.4730 +# Putting comments in sed scripts is not portable.
 15.4731 +#
 15.4732 +# `end' is used to avoid that the second main sed command (meant for
 15.4733 +# 0-ary CPP macros) applies to n-ary macro definitions.
 15.4734 +# See the Autoconf documentation for `clear'.
 15.4735 +cat >confdef2sed.sed <<\EOF
 15.4736 +s/[\\&,]/\\&/g
 15.4737 +s,[\\$`],\\&,g
 15.4738 +t clear
 15.4739 +: clear
 15.4740 +s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
 15.4741 +t end
 15.4742 +s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 15.4743 +: end
 15.4744 +EOF
 15.4745 +# If some macros were called several times there might be several times
 15.4746 +# the same #defines, which is useless.  Nevertheless, we may not want to
 15.4747 +# sort them, since we want the *last* AC-DEFINE to be honored.
 15.4748 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 15.4749 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 15.4750 +rm -f confdef2sed.sed
 15.4751 +
 15.4752 +# This sed command replaces #undef with comments.  This is necessary, for
 15.4753 +# example, in the case of _POSIX_SOURCE, which is predefined and required
 15.4754 +# on some systems where configure will not decide to define it.
 15.4755 +cat >>conftest.undefs <<\EOF
 15.4756 +s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 15.4757 +EOF
 15.4758 +
 15.4759 +# Break up conftest.defines because some shells have a limit on the size
 15.4760 +# of here documents, and old seds have small limits too (100 cmds).
 15.4761 +echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 15.4762 +echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 15.4763 +echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 15.4764 +echo '  :' >>$CONFIG_STATUS
 15.4765 +rm -f conftest.tail
 15.4766 +while grep . conftest.defines >/dev/null
 15.4767 +do
 15.4768 +  # Write a limited-size here document to $tmp/defines.sed.
 15.4769 +  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
 15.4770 +  # Speed up: don't consider the non `#define' lines.
 15.4771 +  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
 15.4772 +  # Work around the forget-to-reset-the-flag bug.
 15.4773 +  echo 't clr' >>$CONFIG_STATUS
 15.4774 +  echo ': clr' >>$CONFIG_STATUS
 15.4775 +  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 15.4776 +  echo 'CEOF
 15.4777 +  sed -f $tmp/defines.sed $tmp/in >$tmp/out
 15.4778 +  rm -f $tmp/in
 15.4779 +  mv $tmp/out $tmp/in
 15.4780 +' >>$CONFIG_STATUS
 15.4781 +  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 15.4782 +  rm -f conftest.defines
 15.4783 +  mv conftest.tail conftest.defines
 15.4784 +done
 15.4785 +rm -f conftest.defines
 15.4786 +echo '  fi # egrep' >>$CONFIG_STATUS
 15.4787 +echo >>$CONFIG_STATUS
 15.4788 +
 15.4789 +# Break up conftest.undefs because some shells have a limit on the size
 15.4790 +# of here documents, and old seds have small limits too (100 cmds).
 15.4791 +echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 15.4792 +rm -f conftest.tail
 15.4793 +while grep . conftest.undefs >/dev/null
 15.4794 +do
 15.4795 +  # Write a limited-size here document to $tmp/undefs.sed.
 15.4796 +  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
 15.4797 +  # Speed up: don't consider the non `#undef'
 15.4798 +  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
 15.4799 +  # Work around the forget-to-reset-the-flag bug.
 15.4800 +  echo 't clr' >>$CONFIG_STATUS
 15.4801 +  echo ': clr' >>$CONFIG_STATUS
 15.4802 +  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
 15.4803 +  echo 'CEOF
 15.4804 +  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
 15.4805 +  rm -f $tmp/in
 15.4806 +  mv $tmp/out $tmp/in
 15.4807 +' >>$CONFIG_STATUS
 15.4808 +  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
 15.4809 +  rm -f conftest.undefs
 15.4810 +  mv conftest.tail conftest.undefs
 15.4811 +done
 15.4812 +rm -f conftest.undefs
 15.4813 +
 15.4814 +cat >>$CONFIG_STATUS <<\EOF
 15.4815 +  # Let's still pretend it is `configure' which instantiates (i.e., don't
 15.4816 +  # use $as_me), people would be surprised to read:
 15.4817 +  #    /* config.h.  Generated automatically by config.status.  */
 15.4818 +  if test x"$ac_file" = x-; then
 15.4819 +    echo "/* Generated automatically by configure.  */" >$tmp/config.h
 15.4820 +  else
 15.4821 +    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
 15.4822 +  fi
 15.4823 +  cat $tmp/in >>$tmp/config.h
 15.4824 +  rm -f $tmp/in
 15.4825 +  if test x"$ac_file" != x-; then
 15.4826 +    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
 15.4827 +      { echo "$as_me:4824: $ac_file is unchanged" >&5
 15.4828 +echo "$as_me: $ac_file is unchanged" >&6;}
 15.4829 +    else
 15.4830 +      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 15.4831 +         X"$ac_file" : 'X\(//\)[^/]' \| \
 15.4832 +         X"$ac_file" : 'X\(//\)$' \| \
 15.4833 +         X"$ac_file" : 'X\(/\)' \| \
 15.4834 +         .     : '\(.\)' 2>/dev/null ||
 15.4835 +echo X"$ac_file" |
 15.4836 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 15.4837 +  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 15.4838 +  	  /^X\(\/\/\)$/{ s//\1/; q; }
 15.4839 +  	  /^X\(\/\).*/{ s//\1/; q; }
 15.4840 +  	  s/.*/./; q'`
 15.4841 +      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
 15.4842 +        { case "$ac_dir" in
 15.4843 +  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
 15.4844 +  *)                      as_incr_dir=.;;
 15.4845 +esac
 15.4846 +as_dummy="$ac_dir"
 15.4847 +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
 15.4848 +  case $as_mkdir_dir in
 15.4849 +    # Skip DOS drivespec
 15.4850 +    ?:) as_incr_dir=$as_mkdir_dir ;;
 15.4851 +    *)
 15.4852 +      as_incr_dir=$as_incr_dir/$as_mkdir_dir
 15.4853 +      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
 15.4854 +    ;;
 15.4855 +  esac
 15.4856 +done; }
 15.4857 +
 15.4858 +      fi
 15.4859 +      rm -f $ac_file
 15.4860 +      mv $tmp/config.h $ac_file
 15.4861 +    fi
 15.4862 +  else
 15.4863 +    cat $tmp/config.h
 15.4864 +    rm -f $tmp/config.h
 15.4865 +  fi
 15.4866 +done
 15.4867 +EOF
 15.4868 +cat >>$CONFIG_STATUS <<\EOF
 15.4869 +
 15.4870 +#
 15.4871 +# CONFIG_COMMANDS section.
 15.4872 +#
 15.4873 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
 15.4874 +  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
 15.4875 +  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
 15.4876 +
 15.4877 +  case $ac_dest in
 15.4878 +    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp >	   stamp-h ;;
 15.4879 +    default-2 )
 15.4880 +test x"$AMDEP" != x"" ||
 15.4881 +for mf in $CONFIG_FILES; do
 15.4882 +  case "$mf" in
 15.4883 +  Makefile) dirpart=.;;
 15.4884 +  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
 15.4885 +  *) continue;;
 15.4886 +  esac
 15.4887 +  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
 15.4888 +  # Extract the definition of DEP_FILES from the Makefile without
 15.4889 +  # running `make'.
 15.4890 +  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 15.4891 +  test -z "$DEPDIR" && continue
 15.4892 +  # When using ansi2knr, U may be empty or an underscore; expand it
 15.4893 +  U=`sed -n -e '/^U = / s///p' < "$mf"`
 15.4894 +  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
 15.4895 +  # We invoke sed twice because it is the simplest approach to
 15.4896 +  # changing $(DEPDIR) to its actual value in the expansion.
 15.4897 +  for file in `sed -n -e '
 15.4898 +    /^DEP_FILES = .*\\\\$/ {
 15.4899 +      s/^DEP_FILES = //
 15.4900 +      :loop
 15.4901 +	s/\\\\$//
 15.4902 +	p
 15.4903 +	n
 15.4904 +	/\\\\$/ b loop
 15.4905 +      p
 15.4906 +    }
 15.4907 +    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 15.4908 +       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 15.4909 +    # Make sure the directory exists.
 15.4910 +    test -f "$dirpart/$file" && continue
 15.4911 +    fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
 15.4912 +    $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
 15.4913 +    # echo "creating $dirpart/$file"
 15.4914 +    echo '# dummy' > "$dirpart/$file"
 15.4915 +  done
 15.4916 +done
 15.4917 + ;;
 15.4918 +  esac
 15.4919 +done
 15.4920 +EOF
 15.4921 +
 15.4922 +cat >>$CONFIG_STATUS <<\EOF
 15.4923 +
 15.4924 +exit 0
 15.4925 +EOF
 15.4926 +chmod +x $CONFIG_STATUS
 15.4927 +ac_clean_files=$ac_clean_files_save
 15.4928 +
 15.4929 +test "$no_create" = yes || $SHELL $CONFIG_STATUS || { (exit 1); exit 1; }
 15.4930 +
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/configure.in	Fri Feb 02 17:05:34 2001 +0000
    16.3 @@ -0,0 +1,139 @@
    16.4 +#  This can be any file in the package.
    16.5 +AC_INIT(src/nodes/DepthBuffer.cpp)
    16.6 +AC_CONFIG_AUX_DIR(cfg)
    16.7 +
    16.8 +# If the Microsoft Visual C++ cl.exe compiler is available, set us up for
    16.9 +# compiling with it and to generate an MSWindows .dll file.
   16.10 +
   16.11 +AC_CANONICAL_SYSTEM
   16.12 +
   16.13 +SIM_AC_SETUP_MSVC_IFELSE([], [
   16.14 +  case $host in
   16.15 +  *-cygwin)
   16.16 +    AC_MSG_ERROR([You need Microsoft Visual C++ to build SmallChange on Cygwin])
   16.17 +    ;;
   16.18 +  esac
   16.19 +])
   16.20 +
   16.21 +SMALLCHANGE_MAJOR_VERSION=1
   16.22 +SMALLCHANGE_MINOR_VERSION=0
   16.23 +SMALLCHANGE_MICRO_VERSION=0
   16.24 +SMALLCHANGE_VERSION=$SMALLCHANGE_MAJOR_VERSION.$SMALLCHANGE_MINOR_VERSION.$SMALLCHANGE_MICRO_VERSION
   16.25 +VERSION=$SMALLCHANGE_VERSION
   16.26 +
   16.27 +AC_SUBST(SMALLCHANGE_MAJOR_VERSION)
   16.28 +AC_SUBST(SMALLCHANGE_MINOR_VERSION)
   16.29 +AC_SUBST(SMALLCHANGE_MICRO_VERSION)
   16.30 +AC_SUBST(SMALLCHANGE_VERSION)
   16.31 +
   16.32 +# Libtool versioning
   16.33 +LT_CURRENT=$SMALLCHANGE_MAJOR_VERSION
   16.34 +LT_AGE=0
   16.35 +LT_REVISION=`expr $SMALLCHANGE_MINOR_VERSION \* 100 + $SMALLCHANGE_MICRO_VERSION`
   16.36 +
   16.37 +AC_SUBST(LT_CURRENT)
   16.38 +AC_SUBST(LT_REVISION)
   16.39 +AC_SUBST(LT_AGE)
   16.40 +
   16.41 +AC_DEFINE_UNQUOTED([SMALLCHANGE_MAJOR_VERSION], [$SMALLCHANGE_MAJOR_VERSION],
   16.42 +  [define this to the libSmallchange major version number])
   16.43 +AC_DEFINE_UNQUOTED([SMALLCHANGE_MINOR_VERSION], [$SMALLCHANGE_MINOR_VERSION],
   16.44 +  [define this to the libSmallchange minor version number])
   16.45 +AC_DEFINE_UNQUOTED([SMALLCHANGE_MICRO_VERSION], [$SMALLCHANGE_MICRO_VERSION],
   16.46 +  [define this to the libSmallchange release version number])
   16.47 +AC_DEFINE_UNQUOTED([SMALLCHANGE_VERSION], ["$SMALLCHANGE_VERSION"],
   16.48 +  [define this to the full libSmallchange major.minor.micro version number])
   16.49 +
   16.50 +# *******************************************************************
   16.51 +# Miscellaneous options and initializations.
   16.52 +
   16.53 +smallchange_build_dir=`pwd`
   16.54 +
   16.55 +AM_INIT_AUTOMAKE(libSmallChange, $VERSION)
   16.56 +
   16.57 +#  Files to cram results from the configure tests into.
   16.58 +AM_CONFIG_HEADER(config.h)
   16.59 +
   16.60 +#  Default to not building a shared library.
   16.61 +#  Can be overridden by the user with --enable-shared.
   16.62 +AM_DISABLE_SHARED
   16.63 +
   16.64 +#  Turn off default maintainer make-rules -- use ./bootstrap instead.
   16.65 +AM_MAINTAINER_MODE
   16.66 +
   16.67 +if $BUILD_WITH_MSVC; then
   16.68 +  RANLIB=true
   16.69 +  export RANLIB
   16.70 +fi
   16.71 +
   16.72 +#  Initialize libtool
   16.73 +AC_PROG_LIBTOOL
   16.74 +
   16.75 +case "$host_os" in
   16.76 +  irix*)
   16.77 +    if test x"${AR+set}" != x"set"; then
   16.78 +      echo "modifying libtool"
   16.79 +      mv libtool libtool.orig
   16.80 +      sed -e 's/\\\$AR cru/\\\$CC -ar -o/' < libtool.orig > libtool
   16.81 +      chmod 755 libtool
   16.82 +    fi
   16.83 +    ;;
   16.84 +  *)
   16.85 +    ;;
   16.86 +esac
   16.87 +
   16.88 +#  These are used for constructing the coin-config file.
   16.89 +# COIN_EXTRA_CPPFLAGS=$CPPFLAGS
   16.90 +# COIN_EXTRA_LDFLAGS=$LDFLAGS
   16.91 +# COIN_EXTRA_LIBS=$LIBS
   16.92 +# AC_SUBST(COIN_EXTRA_CPPFLAGS)
   16.93 +# AC_SUBST(COIN_EXTRA_LDFLAGS)
   16.94 +# AC_SUBST(COIN_EXTRA_LIBS)
   16.95 +
   16.96 +# **************************************************************************
   16.97 +#  Locate C++ compiler and set C++ as the default language to use
   16.98 +#  in tests. The configure script will automatically terminate if
   16.99 +#  it doesn't find a C++ compiler.
  16.100 +AC_LANG_CPLUSPLUS
  16.101 +AC_PROG_CXX
  16.102 +
  16.103 +SIM_AC_RTTI_SUPPORT
  16.104 +SIM_EXCEPTION_HANDLING
  16.105 +
  16.106 +AC_CHECK_HEADERS([windows.h])
  16.107 +
  16.108 +if test x"${with_inventor+set}" = x"set" &&
  16.109 +   test x"${with_inventor}" != x"no"; then
  16.110 +
  16.111 +  SIM_AC_HAVE_INVENTOR_IFELSE(
  16.112 +    [CPPFLAGS="$sim_ac_inventor_cppflags $CPPFLAGS"
  16.113 +     LDFLAGS="$sim_ac_inventor_ldflags $LDFLAGS"
  16.114 +     LIBS="$sim_ac_inventor_libs $LIBS"
  16.115 +     SOQT_EXTRA_CPPFLAGS="$sim_ac_inventor_cppflags $SOQT_EXTRA_CPPFLAGS"
  16.116 +     SOQT_EXTRA_LDFLAGS="$sim_ac_inventor_ldflags $SOQT_EXTRA_LDFLAGS"
  16.117 +     SOQT_EXTRA_LIBS="$sim_ac_inventor_libs $SOQT_EXTRA_LIBS"],
  16.118 +    AC_MSG_ERROR(couldn't compile and link against Open Inventor))
  16.119 +
  16.120 +else
  16.121 +
  16.122 +  SIM_AC_HAVE_COIN_IFELSE([
  16.123 +    CPPFLAGS="$CPPFLAGS $sim_ac_coin_cppflags"
  16.124 +    LDFLAGS="$LDFLAGS $sim_ac_coin_ldflags"
  16.125 +    LIBS="$sim_ac_coin_libs $LIBS"
  16.126 +    SOQT_EXTRA_CPPFLAGS="$SOQT_EXTRA_CPPFLAGS $sim_ac_coin_cppflags"
  16.127 +    SOQT_EXTRA_LDFLAGS="$SOQT_EXTRA_LDFLAGS $sim_ac_coin_ldflags"
  16.128 +    SOQT_EXTRA_LIBS="$sim_ac_coin_libs $SOQT_EXTRA_LIBS"
  16.129 +  ], AC_MSG_ERROR(couldn't compile and link against Coin))
  16.130 +
  16.131 +fi
  16.132 +
  16.133 +
  16.134 +AC_OUTPUT([
  16.135 +        Makefile
  16.136 +        src/Makefile
  16.137 +	src/nodekits/Makefile
  16.138 +	src/nodes/Makefile
  16.139 +	src/elements/Makefile
  16.140 +])
  16.141 +
  16.142 +
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/src/.cvsignore	Fri Feb 02 17:05:34 2001 +0000
    17.3 @@ -0,0 +1,4 @@
    17.4 +.libs
    17.5 +.deps
    17.6 +Makefile
    17.7 +*.lo
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/src/Makefile.am	Fri Feb 02 17:05:34 2001 +0000
    18.3 @@ -0,0 +1,15 @@
    18.4 +SUBDIRS = nodekits nodes elements .
    18.5 +
    18.6 +INCLUDES = -I$(top_srcdir)/src
    18.7 +
    18.8 +lib_LTLIBRARIES = libsmallchange.la
    18.9 +
   18.10 +libsmallchange_la_SOURCES =
   18.11 +
   18.12 +libsmallchange_la_LIBADD = \
   18.13 +	nodekits/libnodekits.la nodes/libnodes.la elements/libelements.la
   18.14 +
   18.15 +libsmallchange_la_LDFLAGS = \
   18.16 +	-no-undefined \
   18.17 +	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
   18.18 +
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/src/Makefile.in	Fri Feb 02 17:05:34 2001 +0000
    19.3 @@ -0,0 +1,423 @@
    19.4 +# Makefile.in generated automatically by automake 1.4c from Makefile.am
    19.5 +
    19.6 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
    19.7 +# Free Software Foundation, Inc.
    19.8 +# This Makefile.in is free software; the Free Software Foundation
    19.9 +# gives unlimited permission to copy and/or distribute it,
   19.10 +# with or without modifications, as long as this notice is preserved.
   19.11 +
   19.12 +# This program is distributed in the hope that it will be useful,
   19.13 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
   19.14 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   19.15 +# PARTICULAR PURPOSE.
   19.16 +
   19.17 +SHELL = @SHELL@
   19.18 +
   19.19 +srcdir = @srcdir@
   19.20 +top_srcdir = @top_srcdir@
   19.21 +VPATH = @srcdir@
   19.22 +prefix = @prefix@
   19.23 +exec_prefix = @exec_prefix@
   19.24 +
   19.25 +bindir = @bindir@
   19.26 +sbindir = @sbindir@
   19.27 +libexecdir = @libexecdir@
   19.28 +datadir = @datadir@
   19.29 +sysconfdir = @sysconfdir@
   19.30 +sharedstatedir = @sharedstatedir@
   19.31 +localstatedir = @localstatedir@
   19.32 +libdir = @libdir@
   19.33 +infodir = @infodir@
   19.34 +mandir = @mandir@
   19.35 +includedir = @includedir@
   19.36 +oldincludedir = /usr/include
   19.37 +
   19.38 +pkgdatadir = $(datadir)/@PACKAGE@
   19.39 +pkglibdir = $(libdir)/@PACKAGE@
   19.40 +pkgincludedir = $(includedir)/@PACKAGE@
   19.41 +
   19.42 +top_builddir = ..
   19.43 +
   19.44 +ACLOCAL = @ACLOCAL@
   19.45 +AUTOCONF = @AUTOCONF@
   19.46 +AUTOMAKE = @AUTOMAKE@
   19.47 +AUTOHEADER = @AUTOHEADER@
   19.48 +
   19.49 +INSTALL = @INSTALL@
   19.50 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
   19.51 +INSTALL_DATA = @INSTALL_DATA@
   19.52 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
   19.53 +INSTALL_STRIP_FLAG =
   19.54 +transform = @program_transform_name@
   19.55 +
   19.56 +NORMAL_INSTALL = :
   19.57 +PRE_INSTALL = :
   19.58 +POST_INSTALL = :
   19.59 +NORMAL_UNINSTALL = :
   19.60 +PRE_UNINSTALL = :
   19.61 +POST_UNINSTALL = :
   19.62 +
   19.63 +@SET_MAKE@
   19.64 +build_alias = @build_alias@
   19.65 +build_triplet = @build@
   19.66 +host_alias = @host_alias@
   19.67 +host_triplet = @host@
   19.68 +target_alias = @target_alias@
   19.69 +target_triplet = @target@
   19.70 +AMDEP = @AMDEP@
   19.71 +AMTAR = @AMTAR@
   19.72 +AS = @AS@
   19.73 +AWK = @AWK@
   19.74 +BUILD_WITH_MSVC = @BUILD_WITH_MSVC@
   19.75 +CC = @CC@
   19.76 +CXX = @CXX@
   19.77 +DEPDIR = @DEPDIR@
   19.78 +DLLTOOL = @DLLTOOL@
   19.79 +LIBTOOL = @LIBTOOL@
   19.80 +LN_S = @LN_S@
   19.81 +LT_AGE = @LT_AGE@
   19.82 +LT_CURRENT = @LT_CURRENT@
   19.83 +LT_REVISION = @LT_REVISION@
   19.84 +MAINT = @MAINT@
   19.85 +MAKEINFO = @MAKEINFO@
   19.86 +OBJDUMP = @OBJDUMP@
   19.87 +PACKAGE = @PACKAGE@
   19.88 +RANLIB = @RANLIB@
   19.89 +SMALLCHANGE_MAJOR_VERSION = @SMALLCHANGE_MAJOR_VERSION@
   19.90 +SMALLCHANGE_MICRO_VERSION = @SMALLCHANGE_MICRO_VERSION@
   19.91 +SMALLCHANGE_MINOR_VERSION = @SMALLCHANGE_MINOR_VERSION@
   19.92 +SMALLCHANGE_VERSION = @SMALLCHANGE_VERSION@
   19.93 +VERSION = @VERSION@
   19.94 +install_sh = @install_sh@
   19.95 +sim_ac_coin_configcmd = @sim_ac_coin_configcmd@
   19.96 +
   19.97 +
   19.98 +SUBDIRS = nodekits nodes elements .
   19.99 +
  19.100 +INCLUDES = -I$(top_srcdir)/src
  19.101 +
  19.102 +lib_LTLIBRARIES = libsmallchange.la
  19.103 +
  19.104 +libsmallchange_la_SOURCES = 
  19.105 +
  19.106 +libsmallchange_la_LIBADD = \
  19.107 +	nodekits/libnodekits.la nodes/libnodes.la elements/libelements.la
  19.108 +
  19.109 +
  19.110 +libsmallchange_la_LDFLAGS = \
  19.111 +	-no-undefined \
  19.112 +	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
  19.113 +
  19.114 +subdir = src
  19.115 +mkinstalldirs = $(SHELL) $(top_srcdir)/cfg/mkinstalldirs
  19.116 +CONFIG_HEADER = ../config.h
  19.117 +CONFIG_CLEAN_FILES = 
  19.118 +LTLIBRARIES =  $(lib_LTLIBRARIES)
  19.119 +
  19.120 +
  19.121 +DEFS = @DEFS@ -I. -I$(srcdir) -I..
  19.122 +CPPFLAGS = @CPPFLAGS@
  19.123 +LDFLAGS = @LDFLAGS@
  19.124 +LIBS = @LIBS@
  19.125 +libsmallchange_la_DEPENDENCIES =  nodekits/libnodekits.la \
  19.126 +nodes/libnodes.la elements/libelements.la
  19.127 +libsmallchange_la_OBJECTS =  $(am_libsmallchange_la_OBJECTS)
  19.128 +CFLAGS = @CFLAGS@
  19.129 +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  19.130 +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  19.131 +CCLD = $(CC)
  19.132 +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  19.133 +DIST_SOURCES =  $(libsmallchange_la_SOURCES)
  19.134 +DIST_COMMON =  Makefile.am Makefile.in
  19.135 +
  19.136 +
  19.137 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  19.138 +
  19.139 +GZIP_ENV = --best
  19.140 +DIST_SUBDIRS =  $(SUBDIRS)
  19.141 +SOURCES = $(libsmallchange_la_SOURCES)
  19.142 +OBJECTS = $(am_libsmallchange_la_OBJECTS)
  19.143 +
  19.144 +all: all-redirect
  19.145 +.SUFFIXES:
  19.146 +.SUFFIXES: .c .lo .o
  19.147 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
  19.148 +	cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
  19.149 +
  19.150 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  19.151 +	cd $(top_builddir) \
  19.152 +	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  19.153 +
  19.154 +
  19.155 +mostlyclean-libLTLIBRARIES:
  19.156 +
  19.157 +clean-libLTLIBRARIES:
  19.158 +	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
  19.159 +
  19.160 +distclean-libLTLIBRARIES:
  19.161 +
  19.162 +maintainer-clean-libLTLIBRARIES:
  19.163 +
  19.164 +install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  19.165 +	@$(NORMAL_INSTALL)
  19.166 +	$(mkinstalldirs) $(DESTDIR)$(libdir)
  19.167 +	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  19.168 +	  if test -f $$p; then \
  19.169 +	    echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
  19.170 +	    $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
  19.171 +	  else :; fi; \
  19.172 +	done
  19.173 +
  19.174 +uninstall-libLTLIBRARIES:
  19.175 +	@$(NORMAL_UNINSTALL)
  19.176 +	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  19.177 +	  echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
  19.178 +	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
  19.179 +	done
  19.180 +
  19.181 +mostlyclean-compile:
  19.182 +	-rm -f *.o core *.core
  19.183 +
  19.184 +clean-compile:
  19.185 +
  19.186 +distclean-compile:
  19.187 +	-rm -f *.tab.c
  19.188 +
  19.189 +maintainer-clean-compile:
  19.190 +
  19.191 +mostlyclean-libtool:
  19.192 +	-rm -f *.lo
  19.193 +
  19.194 +clean-libtool:
  19.195 +	-rm -rf .libs _libs
  19.196 +
  19.197 +distclean-libtool:
  19.198 +
  19.199 +maintainer-clean-libtool:
  19.200 +
  19.201 +libsmallchange.la: $(libsmallchange_la_OBJECTS) $(libsmallchange_la_DEPENDENCIES)
  19.202 +	$(LINK) -rpath $(libdir) $(libsmallchange_la_LDFLAGS) $(libsmallchange_la_OBJECTS) $(libsmallchange_la_LIBADD) $(LIBS)
  19.203 +
  19.204 +# This directory's subdirectories are mostly independent; you can cd
  19.205 +# into them and run `make' without going through this Makefile.
  19.206 +# To change the values of `make' variables: instead of editing Makefiles,
  19.207 +# (1) if the variable is set in `config.status', edit `config.status'
  19.208 +#     (which will cause the Makefiles to be regenerated when you run `make');
  19.209 +# (2) otherwise, pass the desired values on the `make' command line.
  19.210 +all-recursive install-data-recursive install-exec-recursive \
  19.211 +installdirs-recursive install-recursive uninstall-recursive  \
  19.212 +check-recursive installcheck-recursive info-recursive dvi-recursive:
  19.213 +	@set fnord $(MAKEFLAGS); amf=$$2; \
  19.214 +	dot_seen=no; \
  19.215 +	target=`echo $@ | sed s/-recursive//`; \
  19.216 +	list='$(SUBDIRS)'; for subdir in $$list; do \
  19.217 +	  echo "Making $$target in $$subdir"; \
  19.218 +	  if test "$$subdir" = "."; then \
  19.219 +	    dot_seen=yes; \
  19.220 +	    local_target="$$target-am"; \
  19.221 +	  else \
  19.222 +	    local_target="$$target"; \
  19.223 +	  fi; \
  19.224 +	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  19.225 +	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  19.226 +	done; \
  19.227 +	if test "$$dot_seen" = "no"; then \
  19.228 +	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  19.229 +	fi; test -z "$$fail"
  19.230 +
  19.231 +mostlyclean-recursive clean-recursive distclean-recursive \
  19.232 +maintainer-clean-recursive:
  19.233 +	@set fnord $(MAKEFLAGS); amf=$$2; \
  19.234 +	dot_seen=no; \
  19.235 +	case "$@" in \
  19.236 +	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  19.237 +	  *) list='$(SUBDIRS)' ;; \
  19.238 +	esac; \
  19.239 +	rev=''; for subdir in $$list; do \
  19.240 +	  if test "$$subdir" = "."; then :; else \
  19.241 +	    rev="$$subdir $$rev"; \
  19.242 +	  fi; \
  19.243 +	done; \
  19.244 +	rev="$$rev ."; \
  19.245 +	target=`echo $@ | sed s/-recursive//`; \
  19.246 +	for subdir in $$rev; do \
  19.247 +	  echo "Making $$target in $$subdir"; \
  19.248 +	  if test "$$subdir" = "."; then \
  19.249 +	    local_target="$$target-am"; \
  19.250 +	  else \
  19.251 +	    local_target="$$target"; \
  19.252 +	  fi; \
  19.253 +	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  19.254 +	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  19.255 +	done && test -z "$$fail"
  19.256 +tags-recursive:
  19.257 +	list='$(SUBDIRS)'; for subdir in $$list; do \
  19.258 +	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  19.259 +	done
  19.260 +
  19.261 +tags: TAGS
  19.262 +
  19.263 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  19.264 +	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
  19.265 +	unique=`for i in $$list; do \
  19.266 +	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  19.267 +	  done | \
  19.268 +	  $(AWK) '    { files[$$0] = 1; } \
  19.269 +	       END { for (i in files) print i; }'`; \
  19.270 +	mkid -fID $$unique $(LISP)
  19.271 +
  19.272 +TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
  19.273 +		$(TAGS_FILES) $(LISP)
  19.274 +	tags=; \
  19.275 +	here=`pwd`; \
  19.276 +	list='$(SUBDIRS)'; for subdir in $$list; do \
  19.277 +   if test "$$subdir" = .; then :; else \
  19.278 +	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
  19.279 +   fi; \
  19.280 +	done; \
  19.281 +	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
  19.282 +	unique=`for i in $$list; do \
  19.283 +	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  19.284 +	  done | \
  19.285 +	  $(AWK) '    { files[$$0] = 1; } \
  19.286 +	       END { for (i in files) print i; }'`; \
  19.287 +	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
  19.288 +	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
  19.289 +
  19.290 +GTAGS:
  19.291 +	here=`CDPATH=: && cd $(top_builddir) && pwd` \
  19.292 +	  && cd $(top_srcdir) \
  19.293 +	  && gtags -i $$here
  19.294 +
  19.295 +mostlyclean-tags:
  19.296 +
  19.297 +clean-tags:
  19.298 +
  19.299 +distclean-tags:
  19.300 +	-rm -f TAGS ID
  19.301 +
  19.302 +maintainer-clean-tags:
  19.303 +
  19.304 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
  19.305 +
  19.306 +distdir: $(DISTFILES)
  19.307 +	@for file in $(DISTFILES); do \
  19.308 +	  d=$(srcdir); \
  19.309 +	  if test -d $$d/$$file; then \
  19.310 +	    cp -pR $$d/$$file $(distdir) \
  19.311 +	    || exit 1; \
  19.312 +	  else \
  19.313 +	    test -f $(distdir)/$$file \
  19.314 +	    || cp -p $$d/$$file $(distdir)/$$file \
  19.315 +	    || exit 1; \
  19.316 +	  fi; \
  19.317 +	done
  19.318 +	for subdir in $(SUBDIRS); do \
  19.319 +	  if test "$$subdir" = .; then :; else \
  19.320 +	    test -d $(distdir)/$$subdir \
  19.321 +	    || mkdir $(distdir)/$$subdir \
  19.322 +	    || exit 1; \
  19.323 +	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
  19.324 +	      || exit 1; \
  19.325 +	  fi; \
  19.326 +	done
  19.327 +info-am:
  19.328 +info: info-recursive
  19.329 +dvi-am:
  19.330 +dvi: dvi-recursive
  19.331 +check-am: all-am
  19.332 +check: check-recursive
  19.333 +installcheck-am:
  19.334 +installcheck: installcheck-recursive
  19.335 +install-exec-am: install-libLTLIBRARIES
  19.336 +install-exec: install-exec-recursive
  19.337 +
  19.338 +install-data-am:
  19.339 +install-data: install-data-recursive
  19.340 +
  19.341 +install-am: all-am
  19.342 +	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  19.343 +install: install-recursive
  19.344 +uninstall-am: uninstall-libLTLIBRARIES
  19.345 +uninstall: uninstall-recursive
  19.346 +all-am: Makefile $(LTLIBRARIES)
  19.347 +all-redirect: all-recursive
  19.348 +install-strip:
  19.349 +	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
  19.350 +installdirs: installdirs-recursive
  19.351 +installdirs-am:
  19.352 +	$(mkinstalldirs)  $(DESTDIR)$(libdir)
  19.353 +
  19.354 +
  19.355 +mostlyclean-generic:
  19.356 +
  19.357 +clean-generic:
  19.358 +
  19.359 +distclean-generic:
  19.360 +	-rm -f Makefile $(CONFIG_CLEAN_FILES)
  19.361 +	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
  19.362 +
  19.363 +maintainer-clean-generic:
  19.364 +	-rm -f Makefile.in
  19.365 +mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
  19.366 +		mostlyclean-libtool mostlyclean-tags \
  19.367 +		mostlyclean-generic
  19.368 +
  19.369 +mostlyclean: mostlyclean-recursive
  19.370 +
  19.371 +clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
  19.372 +		clean-generic mostlyclean-am
  19.373 +
  19.374 +clean: clean-recursive
  19.375 +
  19.376 +distclean-am:  distclean-libLTLIBRARIES distclean-compile \
  19.377 +		distclean-libtool distclean-tags distclean-generic \
  19.378 +		clean-am
  19.379 +	-rm -f libtool
  19.380 +
  19.381 +distclean: distclean-recursive
  19.382 +
  19.383 +maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
  19.384 +		maintainer-clean-compile maintainer-clean-libtool \
  19.385 +		maintainer-clean-tags maintainer-clean-generic \
  19.386 +		distclean-am
  19.387 +	@echo "This command is intended for maintainers to use;"
  19.388 +	@echo "it deletes files that may require special tools to rebuild."
  19.389 +
  19.390 +maintainer-clean: maintainer-clean-recursive
  19.391 +
  19.392 +.PHONY:   all all all-am all-am all-recursive all-recursive \
  19.393 +all-recursive-am all-redirect all-redirect check check check-am \
  19.394 +check-am check-recursive check-recursive clean clean clean-compile \
  19.395 +clean-generic clean-generic clean-hdr clean-libLTLIBRARIES \
  19.396 +clean-libtool clean-recursive clean-recursive clean-tags clean-tags \
  19.397 +distclean distclean distclean-compile distclean-generic \
  19.398 +distclean-generic distclean-hdr distclean-libLTLIBRARIES \
  19.399 +distclean-libtool distclean-recursive distclean-recursive \
  19.400 +distclean-tags distclean-tags distdir distdir dvi dvi dvi-am dvi-am \
  19.401 +dvi-recursive dvi-recursive info info info-am info-am info-recursive \
  19.402 +info-recursive install install install-am install-am install-data \
  19.403 +install-data install-data-am install-data-am install-data-recursive \
  19.404 +install-data-recursive install-exec install-exec install-exec-am \
  19.405 +install-exec-am install-exec-recursive install-exec-recursive \
  19.406 +install-libLTLIBRARIES install-recursive install-recursive \
  19.407 +install-strip install-strip installcheck installcheck installcheck-am \
  19.408 +installcheck-am installcheck-recursive installcheck-recursive \
  19.409 +installdirs installdirs installdirs-am installdirs-am \
  19.410 +installdirs-recursive installdirs-recursive maintainer-clean \
  19.411 +maintainer-clean maintainer-clean-compile maintainer-clean-generic \
  19.412 +maintainer-clean-generic maintainer-clean-hdr \
  19.413 +maintainer-clean-libLTLIBRARIES maintainer-clean-libtool \
  19.414 +maintainer-clean-recursive maintainer-clean-recursive \
  19.415 +maintainer-clean-tags maintainer-clean-tags mostlyclean mostlyclean \
  19.416 +mostlyclean-compile mostlyclean-generic mostlyclean-generic \
  19.417 +mostlyclean-hdr mostlyclean-libLTLIBRARIES mostlyclean-libtool \
  19.418 +mostlyclean-recursive mostlyclean-recursive mostlyclean-tags \
  19.419 +mostlyclean-tags tags tags tags-recursive tags-recursive uninstall \
  19.420 +uninstall uninstall-am uninstall-am uninstall-libLTLIBRARIES \
  19.421 +uninstall-recursive uninstall-recursive
  19.422 +
  19.423 +
  19.424 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  19.425 +# Otherwise a system limit (for SysV at least) may be exceeded.
  19.426 +.NOEXPORT:
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/src/nodes/DepthBuffer.cpp	Fri Feb 02 17:05:34 2001 +0000
    20.3 @@ -0,0 +1,148 @@
    20.4 +/**************************************************************************\
    20.5 + *
    20.6 + *  Copyright (C) 1998-2000 by Systems in Motion.  All rights reserved.
    20.7 + *
    20.8 + *  Systems in Motion AS, Prof. Brochs gate 6, N-7030 Trondheim, NORWAY
    20.9 + *  http://www.sim.no/ sales@sim.no Voice: +47 22114160 Fax: +47 67172912
   20.10 + *
   20.11 +\**************************************************************************/
   20.12 +
   20.13 +/*!
   20.14 +  \class DepthBuffer DepthBuffer.h
   20.15 +  \brief The DepthBuffer class is a node used to control the GL depth buffer. 
   20.16 +  \ingroup nodes
   20.17 +
   20.18 +  It is basically a direct mapping of glDepthFunc(). In addition it is possible
   20.19 +  to enable/disable depth buffer and clear the depth buffer when the node is
   20.20 +  traversed.
   20.21 +*/
   20.22 +
   20.23 +#include "DepthBuffer.h"
   20.24 +#include <Inventor/actions/SoGLRenderAction.h>
   20.25 +
   20.26 +#if HAVE_CONFIG_H
   20.27 +#include <config.h>
   20.28 +#endif // HAVE_CONFIG_H
   20.29 +
   20.30 +#if HAVE_WINDOWS_H
   20.31 +#include <windows.h>
   20.32 +#endif // HAVE_WINDOWS_H
   20.33 +#include <GL/gl.h>
   20.34 +
   20.35 +/*!
   20.36 +  \enum DepthBuffer::Func
   20.37 +  Enumeration for the various depth functions.
   20.38 +*/
   20.39 +
   20.40 +/*!
   20.41 +  \var DepthBuffer::Func DepthBuffer::NEVER
   20.42 +  Never passes.
   20.43 +*/
   20.44 +
   20.45 +/*!
   20.46 +  \var DepthBuffer::Func DepthBuffer::ALWAYS
   20.47 +  Always passes.
   20.48 +*/
   20.49 +
   20.50 +/*!
   20.51 +  \var DepthBuffer::Func DepthBuffer::LESS
   20.52 +  Passes if the incoming depth value is less than the stored depth value.
   20.53 +*/
   20.54 +
   20.55 +/*!
   20.56 +  \var DepthBuffer::Func DepthBuffer::LEQUAL
   20.57 +  Passes if the incoming depth value is less than or equal to the stored depth value.
   20.58 +*/
   20.59 +
   20.60 +/*!
   20.61 +  \var DepthBuffer::Func DepthBuffer::EQUAL
   20.62 +  Passes if the incoming depth value is equal to the stored depth value.
   20.63 +*/
   20.64 +
   20.65 +/*!
   20.66 +  \var DepthBuffer::Func DepthBuffer::GEQUAL
   20.67 +  Passes if the incoming depth value is greater than or equal to the stored depth value.
   20.68 +*/
   20.69 +
   20.70 +/*!
   20.71 +  \var DepthBuffer::Func DepthBuffer::GREATER
   20.72 +  Passes if the incoming depth value is greater than the stored depth value.
   20.73 +*/
   20.74 +
   20.75 +/*!
   20.76 +  \var DepthBuffer::Func DepthBuffer::NOTEQUAL
   20.77 +  Passes if the incoming depth value is not equal to the stored depth value.
   20.78 +*/
   20.79 +
   20.80 +/*!
   20.81 +  \var SoSFEnum DepthBuffer::func
   20.82 +
   20.83 +  Which depth function to use. Defaults to LESS.
   20.84 +*/
   20.85 +
   20.86 +/*!
   20.87 +  \var SoSFBool DepthBuffer::enable
   20.88 +
   20.89 +  Enable depth buffer writes. Defaults to TRUE.
   20.90 +*/
   20.91 +
   20.92 +/*!
   20.93 +  \var SoSFFloat DepthBuffer::clearNow
   20.94 +
   20.95 +  If TRUE, clear buffer when node is traversed. Default is FALSE.
   20.96 +*/
   20.97 +
   20.98 +
   20.99 +SO_NODE_SOURCE(DepthBuffer);
  20.100 +
  20.101 +/*!
  20.102 +  Constructor.
  20.103 +*/
  20.104 +DepthBuffer::DepthBuffer(void)
  20.105 +{
  20.106 +  SO_NODE_CONSTRUCTOR(DepthBuffer);
  20.107 +
  20.108 +  SO_NODE_ADD_FIELD(func, (DepthBuffer::LESS));
  20.109 +  SO_NODE_ADD_FIELD(enable, (TRUE));
  20.110 +  SO_NODE_ADD_FIELD(clearNow, (FALSE));
  20.111 +  
  20.112 +  SO_NODE_DEFINE_ENUM_VALUE(Func, NEVER);
  20.113 +  SO_NODE_DEFINE_ENUM_VALUE(Func, ALWAYS);
  20.114 +  SO_NODE_DEFINE_ENUM_VALUE(Func, LESS);
  20.115 +  SO_NODE_DEFINE_ENUM_VALUE(Func, LEQUAL);
  20.116 +  SO_NODE_DEFINE_ENUM_VALUE(Func, EQUAL);
  20.117 +  SO_NODE_DEFINE_ENUM_VALUE(Func, GEQUAL);
  20.118 +  SO_NODE_DEFINE_ENUM_VALUE(Func, GREATER);
  20.119 +  SO_NODE_DEFINE_ENUM_VALUE(Func, NOTEQUAL);
  20.120 +  SO_NODE_SET_SF_ENUM_TYPE(func, Func);
  20.121 +}
  20.122 +
  20.123 +/*!
  20.124 +  Destructor.
  20.125 +*/
  20.126 +DepthBuffer::~DepthBuffer()
  20.127 +{
  20.128 +}
  20.129 +
  20.130 +/*!
  20.131 +  Required Coin method.
  20.132 +*/
  20.133 +void
  20.134 +DepthBuffer::initClass(void)
  20.135 +{
  20.136 +  SO_NODE_INIT_CLASS(DepthBuffer, SoNode, "Node");
  20.137 +  SO_ENABLE(SoGLRenderAction, GLDepthBufferElement);
  20.138 +}
  20.139 +
  20.140 +/*!
  20.141 +  Coin method.
  20.142 +*/
  20.143 +void
  20.144 +DepthBuffer::GLRender(SoGLRenderAction * action)
  20.145 +{
  20.146 +  GLDepthBufferElement::set(action->getState(), 
  20.147 +                            (GLDepthBufferElement::Func) this->func.getValue(),
  20.148 +                            this->enable.getValue());
  20.149 +  if (this->clearNow.getValue()) glClear(GL_DEPTH_BUFFER_BIT);
  20.150 +}
  20.151 +
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/src/nodes/DepthBuffer.h	Fri Feb 02 17:05:34 2001 +0000
    21.3 @@ -0,0 +1,49 @@
    21.4 +/**************************************************************************\
    21.5 + *
    21.6 + *  Copyright (C) 1998-2000 by Systems in Motion.  All rights reserved.
    21.7 + *
    21.8 + *  Systems in Motion AS, Prof. Brochs gate 6, N-7030 Trondheim, NORWAY
    21.9 + *  http://www.sim.no/ sales@sim.no Voice: +47 22114160 Fax: +47 67172912
   21.10 + *
   21.11 +\**************************************************************************/
   21.12 +
   21.13 +#ifndef COIN_SODEPTHBUFFER_H
   21.14 +#define COIN_SODEPTHBUFFER_H
   21.15 +
   21.16 +#include <elements/GLDepthBufferElement.h>
   21.17 +#include <Inventor/fields/SoSFEnum.h>
   21.18 +#include <Inventor/fields/SoSFBool.h>
   21.19 +#include <Inventor/nodes/SoSubNode.h>
   21.20 +
   21.21 +
   21.22 +class DepthBuffer : public SoNode {
   21.23 +  typedef SoNode inherited;
   21.24 +
   21.25 +  SO_NODE_HEADER(DepthBuffer);
   21.26 +
   21.27 +public:
   21.28 +  static void initClass(void);
   21.29 +  DepthBuffer(void);
   21.30 +
   21.31 +  enum Func {
   21.32 +    NEVER = GLDepthBufferElement::NEVER,
   21.33 +    ALWAYS = GLDepthBufferElement::ALWAYS,
   21.34 +    LESS = GLDepthBufferElement::LESS,
   21.35 +    LEQUAL = GLDepthBufferElement::LEQUAL,
   21.36 +    EQUAL = GLDepthBufferElement::EQUAL,
   21.37 +    GEQUAL = GLDepthBufferElement::GEQUAL,
   21.38 +    GREATER = GLDepthBufferElement::GREATER,
   21.39 +    NOTEQUAL = GLDepthBufferElement::NOTEQUAL
   21.40 +  };
   21.41 +
   21.42 +  SoSFEnum func;
   21.43 +  SoSFBool enable;
   21.44 +  SoSFBool clearNow;
   21.45 +
   21.46 +  virtual void GLRender(SoGLRenderAction * action);
   21.47 +
   21.48 +protected:
   21.49 +  virtual ~DepthBuffer();
   21.50 +};
   21.51 +
   21.52 +#endif // !COIN_SODRAWSTYLE_H
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/src/nodes/Makefile.am	Fri Feb 02 17:05:34 2001 +0000
    22.3 @@ -0,0 +1,14 @@
    22.4 +noinst_LTLIBRARIES = libnodes.la
    22.5 +
    22.6 +INCLUDES = -I$(top_srcdir)/src
    22.7 +
    22.8 +libnodes_la_SOURCES = \
    22.9 +	DepthBuffer.cpp DepthBuffer.h \
   22.10 +	ViewportRegion.cpp ViewportRegion.h
   22.11 +
   22.12 +libnodesincdir = $(includedir)/SmallChange
   22.13 +
   22.14 +libnodesinc_HEADERS = \
   22.15 +	$(top_srcdir)/src/nodes/ViewportRegion.h \
   22.16 +	$(top_srcdir)/src/nodes/DepthBuffer.h
   22.17 +
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/src/nodes/Makefile.in	Fri Feb 02 17:05:34 2001 +0000
    23.3 @@ -0,0 +1,417 @@
    23.4 +# Makefile.in generated automatically by automake 1.4c from Makefile.am
    23.5 +
    23.6 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
    23.7 +# Free Software Foundation, Inc.
    23.8 +# This Makefile.in is free software; the Free Software Foundation
    23.9 +# gives unlimited permission to copy and/or distribute it,
   23.10 +# with or without modifications, as long as this notice is preserved.
   23.11 +
   23.12 +# This program is distributed in the hope that it will be useful,
   23.13 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
   23.14 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   23.15 +# PARTICULAR PURPOSE.
   23.16 +
   23.17 +SHELL = @SHELL@
   23.18 +
   23.19 +srcdir = @srcdir@
   23.20 +top_srcdir = @top_srcdir@
   23.21 +VPATH = @srcdir@
   23.22 +prefix = @prefix@
   23.23 +exec_prefix = @exec_prefix@
   23.24 +
   23.25 +bindir = @bindir@
   23.26 +sbindir = @sbindir@
   23.27 +libexecdir = @libexecdir@
   23.28 +datadir = @datadir@
   23.29 +sysconfdir = @sysconfdir@
   23.30 +sharedstatedir = @sharedstatedir@
   23.31 +localstatedir = @localstatedir@
   23.32 +libdir = @libdir@
   23.33 +infodir = @infodir@
   23.34 +mandir = @mandir@
   23.35 +includedir = @includedir@
   23.36 +oldincludedir = /usr/include
   23.37 +
   23.38 +pkgdatadir = $(datadir)/@PACKAGE@
   23.39 +pkglibdir = $(libdir)/@PACKAGE@
   23.40 +pkgincludedir = $(includedir)/@PACKAGE@
   23.41 +
   23.42 +top_builddir = ../..
   23.43 +
   23.44 +ACLOCAL = @ACLOCAL@
   23.45 +AUTOCONF = @AUTOCONF@
   23.46 +AUTOMAKE = @AUTOMAKE@
   23.47 +AUTOHEADER = @AUTOHEADER@
   23.48 +
   23.49 +INSTALL = @INSTALL@
   23.50 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
   23.51 +INSTALL_DATA = @INSTALL_DATA@
   23.52 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
   23.53 +INSTALL_STRIP_FLAG =
   23.54 +transform = @program_transform_name@
   23.55 +
   23.56 +NORMAL_INSTALL = :
   23.57 +PRE_INSTALL = :
   23.58 +POST_INSTALL = :
   23.59 +NORMAL_UNINSTALL = :
   23.60 +PRE_UNINSTALL = :
   23.61 +POST_UNINSTALL = :
   23.62 +
   23.63 +@SET_MAKE@
   23.64 +build_alias = @build_alias@
   23.65 +build_triplet = @build@
   23.66 +host_alias = @host_alias@
   23.67 +host_triplet = @host@
   23.68 +target_alias = @target_alias@
   23.69 +target_triplet = @target@
   23.70 +AMDEP = @AMDEP@
   23.71 +AMTAR = @AMTAR@
   23.72 +AS = @AS@
   23.73 +AWK = @AWK@
   23.74 +BUILD_WITH_MSVC = @BUILD_WITH_MSVC@
   23.75 +CC = @CC@
   23.76 +CXX = @CXX@
   23.77 +DEPDIR = @DEPDIR@
   23.78 +DLLTOOL = @DLLTOOL@
   23.79 +LIBTOOL = @LIBTOOL@
   23.80 +LN_S = @LN_S@
   23.81 +LT_AGE = @LT_AGE@
   23.82 +LT_CURRENT = @LT_CURRENT@
   23.83 +LT_REVISION = @LT_REVISION@
   23.84 +MAINT = @MAINT@
   23.85 +MAKEINFO = @MAKEINFO@
   23.86 +OBJDUMP = @OBJDUMP@
   23.87 +PACKAGE = @PACKAGE@
   23.88 +RANLIB = @RANLIB@
   23.89 +SMALLCHANGE_MAJOR_VERSION = @SMALLCHANGE_MAJOR_VERSION@
   23.90 +SMALLCHANGE_MICRO_VERSION = @SMALLCHANGE_MICRO_VERSION@
   23.91 +SMALLCHANGE_MINOR_VERSION = @SMALLCHANGE_MINOR_VERSION@
   23.92 +SMALLCHANGE_VERSION = @SMALLCHANGE_VERSION@
   23.93 +VERSION = @VERSION@
   23.94 +install_sh = @install_sh@
   23.95 +sim_ac_coin_configcmd = @sim_ac_coin_configcmd@
   23.96 +
   23.97 +
   23.98 +noinst_LTLIBRARIES = libnodes.la
   23.99 +
  23.100 +INCLUDES = -I$(top_srcdir)/src
  23.101 +
  23.102 +libnodes_la_SOURCES = \
  23.103 +	DepthBuffer.cpp DepthBuffer.h \
  23.104 +	ViewportRegion.cpp ViewportRegion.h
  23.105 +
  23.106 +
  23.107 +libnodesincdir = $(includedir)/SmallChange
  23.108 +
  23.109 +libnodesinc_HEADERS = \
  23.110 +	$(top_srcdir)/src/nodes/ViewportRegion.h \
  23.111 +	$(top_srcdir)/src/nodes/DepthBuffer.h
  23.112 +
  23.113 +subdir = src/nodes
  23.114 +mkinstalldirs = $(SHELL) $(top_srcdir)/cfg/mkinstalldirs
  23.115 +CONFIG_HEADER = ../../config.h
  23.116 +CONFIG_CLEAN_FILES = 
  23.117 +LTLIBRARIES =  $(noinst_LTLIBRARIES)
  23.118 +
  23.119 +
  23.120 +DEFS = @DEFS@ -I. -I$(srcdir) -I../..
  23.121 +CPPFLAGS = @CPPFLAGS@
  23.122 +LDFLAGS = @LDFLAGS@
  23.123 +LIBS = @LIBS@
  23.124 +libnodes_la_LDFLAGS = 
  23.125 +libnodes_la_LIBADD = 
  23.126 +am_libnodes_la_OBJECTS =  DepthBuffer.lo ViewportRegion.lo
  23.127 +libnodes_la_OBJECTS =  $(am_libnodes_la_OBJECTS)
  23.128 +CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  23.129 +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  23.130 +CXXFLAGS = @CXXFLAGS@
  23.131 +CXXLD = $(CXX)
  23.132 +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  23.133 +CFLAGS = @CFLAGS@
  23.134 +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  23.135 +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  23.136 +CCLD = $(CC)
  23.137 +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  23.138 +DIST_SOURCES =  $(libnodes_la_SOURCES)
  23.139 +HEADERS =  $(libnodesinc_HEADERS)
  23.140 +
  23.141 +depcomp = $(SHELL) $(top_srcdir)/cfg/depcomp
  23.142 +DEP_FILES =  @AMDEP@ $(DEPDIR)/DepthBuffer.Plo \
  23.143 +$(DEPDIR)/ViewportRegion.Plo
  23.144 +DIST_COMMON =  $(libnodesinc_HEADERS) Makefile.am Makefile.in
  23.145 +
  23.146 +
  23.147 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  23.148 +
  23.149 +GZIP_ENV = --best
  23.150 +SOURCES = $(libnodes_la_SOURCES)
  23.151 +OBJECTS = $(am_libnodes_la_OBJECTS)
  23.152 +
  23.153 +all: all-redirect
  23.154 +.SUFFIXES:
  23.155 +.SUFFIXES: .c .cpp .h .lo .o
  23.156 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
  23.157 +	cd $(top_srcdir) && $(AUTOMAKE) --gnu src/nodes/Makefile
  23.158 +
  23.159 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  23.160 +	cd $(top_builddir) \
  23.161 +	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  23.162 +
  23.163 +
  23.164 +mostlyclean-noinstLTLIBRARIES:
  23.165 +
  23.166 +clean-noinstLTLIBRARIES:
  23.167 +	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
  23.168 +
  23.169 +distclean-noinstLTLIBRARIES:
  23.170 +
  23.171 +maintainer-clean-noinstLTLIBRARIES:
  23.172 +
  23.173 +mostlyclean-compile:
  23.174 +	-rm -f *.o core *.core
  23.175 +
  23.176 +clean-compile:
  23.177 +
  23.178 +distclean-compile:
  23.179 +	-rm -f *.tab.c
  23.180 +
  23.181 +maintainer-clean-compile:
  23.182 +
  23.183 +mostlyclean-libtool:
  23.184 +	-rm -f *.lo
  23.185 +
  23.186 +clean-libtool:
  23.187 +	-rm -rf .libs _libs
  23.188 +
  23.189 +distclean-libtool:
  23.190 +
  23.191 +maintainer-clean-libtool:
  23.192 +
  23.193 +libnodes.la: $(libnodes_la_OBJECTS) $(libnodes_la_DEPENDENCIES)
  23.194 +	$(CXXLINK)  $(libnodes_la_LDFLAGS) $(libnodes_la_OBJECTS) $(libnodes_la_LIBADD) $(LIBS)
  23.195 +
  23.196 +install-libnodesincHEADERS: $(libnodesinc_HEADERS)
  23.197 +	@$(NORMAL_INSTALL)
  23.198 +	$(mkinstalldirs) $(DESTDIR)$(libnodesincdir)
  23.199 +	@list='$(libnodesinc_HEADERS)'; for p in $$list; do \
  23.200 +	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
  23.201 +	  f="`echo $$p | sed -e 's|^.*/||'`"; \
  23.202 +	  if cmp -s $$d$$p $(DESTDIR)$(libnodesincdir)/$$f; then :; else \
  23.203 +	    echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libnodesincdir)/$$f"; \
  23.204 +	    $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libnodesincdir)/$$f; \
  23.205 +	  fi; \
  23.206 +	done
  23.207 +
  23.208 +uninstall-libnodesincHEADERS:
  23.209 +	@$(NORMAL_UNINSTALL)
  23.210 +	@list='$(libnodesinc_HEADERS)'; for p in $$list; do \
  23.211 +	  f="`echo $$p | sed -e 's|^.*/||'`"; \
  23.212 +	  echo " rm -f $(DESTDIR)$(libnodesincdir)/$$f"; \
  23.213 +	  rm -f $(DESTDIR)$(libnodesincdir)/$$f; \
  23.214 +	done
  23.215 +
  23.216 +tags: TAGS
  23.217 +
  23.218 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  23.219 +	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
  23.220 +	unique=`for i in $$list; do \
  23.221 +	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  23.222 +	  done | \
  23.223 +	  $(AWK) '    { files[$$0] = 1; } \
  23.224 +	       END { for (i in files) print i; }'`; \
  23.225 +	mkid -fID $$unique $(LISP)
  23.226 +
  23.227 +TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
  23.228 +		$(TAGS_FILES) $(LISP)
  23.229 +	tags=; \
  23.230 +	here=`pwd`; \
  23.231 +	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
  23.232 +	unique=`for i in $$list; do \
  23.233 +	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  23.234 +	  done | \
  23.235 +	  $(AWK) '    { files[$$0] = 1; } \
  23.236 +	       END { for (i in files) print i; }'`; \
  23.237 +	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
  23.238 +	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
  23.239 +
  23.240 +GTAGS:
  23.241 +	here=`CDPATH=: && cd $(top_builddir) && pwd` \
  23.242 +	  && cd $(top_srcdir) \
  23.243 +	  && gtags -i $$here
  23.244 +
  23.245 +mostlyclean-tags:
  23.246 +
  23.247 +clean-tags:
  23.248 +
  23.249 +distclean-tags:
  23.250 +	-rm -f TAGS ID
  23.251 +
  23.252 +maintainer-clean-tags:
  23.253 +
  23.254 +@AMDEP@include $(DEPDIR)/DepthBuffer.Plo
  23.255 +@AMDEP@include $(DEPDIR)/ViewportRegion.Plo
  23.256 +
  23.257 +mostlyclean-depend:
  23.258 +
  23.259 +clean-depend:
  23.260 +
  23.261 +distclean-depend:
  23.262 +	-rm -rf $(DEPDIR)
  23.263 +
  23.264 +maintainer-clean-depend:
  23.265 +
  23.266 +@AMDEP@CXXDEPMODE = @CXXDEPMODE@
  23.267 +
  23.268 +.cpp.o:
  23.269 +@AMDEP@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  23.270 +@AMDEP@	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
  23.271 +@AMDEP@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  23.272 +	$(CXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
  23.273 +
  23.274 +.cpp.lo:
  23.275 +@AMDEP@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  23.276 +@AMDEP@	depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
  23.277 +@AMDEP@	$(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  23.278 +	$(LTCXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
  23.279 +
  23.280 +
  23.281 +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
  23.282 +
  23.283 +distdir: $(DISTFILES)
  23.284 +	$(mkinstalldirs) $(distdir)/$(top_srcdir)/src/nodes
  23.285 +	@for file in $(DISTFILES); do \
  23.286 +	  d=$(srcdir); \
  23.287 +	  if test -d $$d/$$file; then \
  23.288 +	    cp -pR $$d/$$file $(distdir) \
  23.289 +	    || exit 1; \
  23.290 +	  else \
  23.291 +	    test -f $(distdir)/$$file \
  23.292 +	    || cp -p $$d/$$file $(distdir)/$$file \
  23.293 +	    || exit 1; \
  23.294 +	  fi; \
  23.295 +	done
  23.296 +info-am:
  23.297 +info: info-am
  23.298 +dvi-am:
  23.299 +dvi: dvi-am
  23.300 +check-am: all-am
  23.301 +check: check-am
  23.302 +installcheck-am:
  23.303 +installcheck: installcheck-am
  23.304 +install-exec-am:
  23.305 +install-exec: install-exec-am
  23.306 +
  23.307 +install-data-am: install-libnodesincHEADERS
  23.308 +install-data: install-data-am
  23.309 +
  23.310 +install-am: all-am
  23.311 +	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  23.312 +install: install-am
  23.313 +uninstall-am: uninstall-libnodesincHEADERS
  23.314 +uninstall: uninstall-am
  23.315 +all-am: Makefile $(LTLIBRARIES) $(HEADERS)
  23.316 +all-redirect: all-am
  23.317 +install-strip:
  23.318 +	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
  23.319 +installdirs:
  23.320 +	$(mkinstalldirs)  $(DESTDIR)$(libnodesincdir)
  23.321 +
  23.322 +
  23.323 +mostlyclean-generic:
  23.324 +
  23.325 +clean-generic:
  23.326 +
  23.327 +distclean-generic:
  23.328 +	-rm -f Makefile $(CONFIG_CLEAN_FILES)
  23.329 +	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
  23.330 +
  23.331 +maintainer-clean-generic:
  23.332 +	-rm -f Makefile.in
  23.333 +mostlyclean-am:  mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
  23.334 +		mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
  23.335 +		mostlyclean-generic
  23.336 +
  23.337 +mostlyclean: mostlyclean-am
  23.338 +
  23.339 +clean-am:  clean-noinstLTLIBRARIES clean-compile clean-libtool \
  23.340 +		clean-tags clean-depend clean-generic mostlyclean-am
  23.341 +
  23.342 +clean: clean-am
  23.343 +
  23.344 +distclean-am:  distclean-noinstLTLIBRARIES distclean-compile \
  23.345 +		distclean-libtool distclean-tags distclean-depend \
  23.346 +		distclean-generic clean-am
  23.347 +	-rm -f libtool
  23.348 +
  23.349 +distclean: distclean-am
  23.350 +
  23.351 +maintainer-clean-am:  maintainer-clean-noinstLTLIBRARIES \
  23.352 +		maintainer-clean-compile maintainer-clean-libtool \
  23.353 +		maintainer-clean-tags maintainer-clean-depend \
  23.354 +		maintainer-clean-generic distclean-am
  23.355 +	@echo "This command is intended for maintainers to use;"
  23.356 +	@echo "it deletes files that may require special tools to rebuild."
  23.357 +
  23.358 +maintainer-clean: maintainer-clean-am
  23.359 +
  23.360 +.PHONY:   all all all all all-am all-am all-am all-am all-recursive \
  23.361 +all-recursive all-recursive-am all-redirect all-redirect all-redirect \
  23.362 +all-redirect check check check check check-am check-am check-am \
  23.363 +check-am check-recursive check-recursive clean clean clean clean \
  23.364 +clean-compile clean-compile clean-compile clean-depend clean-depend \
  23.365 +clean-generic clean-generic clean-generic clean-generic clean-hdr \
  23.366 +clean-libLTLIBRARIES clean-libtool clean-libtool clean-libtool \
  23.367 +clean-noinstLTLIBRARIES clean-noinstLTLIBRARIES clean-recursive \
  23.368 +clean-recursive clean-tags clean-tags clean-tags clean-tags distclean \
  23.369 +distclean distclean distclean distclean-compile distclean-compile \
  23.370 +distclean-compile distclean-depend distclean-depend distclean-generic \
  23.371 +distclean-generic distclean-generic distclean-generic distclean-hdr \
  23.372 +distclean-libLTLIBRARIES distclean-libtool distclean-libtool \
  23.373 +distclean-libtool distclean-noinstLTLIBRARIES \
  23.374 +distclean-noinstLTLIBRARIES distclean-recursive distclean-recursive \
  23.375 +distclean-tags distclean-tags distclean-tags distclean-tags distdir \
  23.376 +distdir distdir distdir dvi dvi dvi dvi dvi-am dvi-am dvi-am dvi-am \
  23.377 +dvi-recursive dvi-recursive info info info info info-am info-am info-am \
  23.378 +info-am info-recursive info-recursive install install install install \
  23.379 +install-am install-am install-am install-am install-data install-data \
  23.380 +install-data install-data install-data-am install-data-am \
  23.381 +install-data-am install-data-am install-data-recursive \
  23.382 +install-data-recursive install-exec install-exec install-exec \
  23.383 +install-exec install-exec-am install-exec-am install-exec-am \
  23.384 +install-exec-am install-exec-recursive install-exec-recursive \
  23.385 +install-libLTLIBRARIES install-libnodekitsincHEADERS \
  23.386 +install-libnodesincHEADERS install-recursive install-recursive \
  23.387 +install-strip install-strip install-strip install-strip installcheck \
  23.388 +installcheck installcheck installcheck installcheck-am installcheck-am \
  23.389 +installcheck-am installcheck-am installcheck-recursive \
  23.390 +installcheck-recursive installdirs installdirs installdirs installdirs \
  23.391 +installdirs-am installdirs-am installdirs-recursive \
  23.392 +installdirs-recursive maintainer-clean maintainer-clean \
  23.393 +maintainer-clean maintainer-clean maintainer-clean-compile \
  23.394 +maintainer-clean-compile maintainer-clean-compile \
  23.395 +maintainer-clean-depend maintainer-clean-depend \
  23.396 +maintainer-clean-generic maintainer-clean-generic \
  23.397 +maintainer-clean-generic maintainer-clean-generic maintainer-clean-hdr \
  23.398 +maintainer-clean-libLTLIBRARIES maintainer-clean-libtool \
  23.399 +maintainer-clean-libtool maintainer-clean-libtool \
  23.400 +maintainer-clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
  23.401 +maintainer-clean-recursive maintainer-clean-recursive \
  23.402 +maintainer-clean-tags maintainer-clean-tags maintainer-clean-tags \
  23.403 +maintainer-clean-tags mostlyclean mostlyclean mostlyclean mostlyclean \
  23.404 +mostlyclean-compile mostlyclean-compile mostlyclean-compile \
  23.405 +mostlyclean-depend mostlyclean-depend mostlyclean-generic \
  23.406 +mostlyclean-generic mostlyclean-generic mostlyclean-generic \
  23.407 +mostlyclean-hdr mostlyclean-libLTLIBRARIES mostlyclean-libtool \
  23.408 +mostlyclean-libtool mostlyclean-libtool mostlyclean-noinstLTLIBRARIES \
  23.409 +mostlyclean-noinstLTLIBRARIES mostlyclean-recursive \
  23.410 +mostlyclean-recursive mostlyclean-tags mostlyclean-tags \
  23.411 +mostlyclean-tags mostlyclean-tags tags tags tags tags tags-recursive \
  23.412 +tags-recursive uninstall uninstall uninstall uninstall uninstall-am \
  23.413 +uninstall-am uninstall-am uninstall-am uninstall-libLTLIBRARIES \
  23.414 +uninstall-libnodekitsincHEADERS uninstall-libnodesincHEADERS \
  23.415 +uninstall-recursive uninstall-recursive
  23.416 +
  23.417 +
  23.418 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  23.419 +# Otherwise a system limit (for SysV at least) may be exceeded.
  23.420 +.NOEXPORT:
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/src/nodes/ViewportRegion.cpp	Fri Feb 02 17:05:34 2001 +0000
    24.3 @@ -0,0 +1,268 @@
    24.4 +/**************************************************************************\
    24.5 + *
    24.6 + *  Copyright (C) 1998-2000 by Systems in Motion.  All rights reserved.
    24.7 + *
    24.8 + *  Systems in Motion AS, Prof. Brochs gate 6, N-7030 Trondheim, NORWAY
    24.9 + *  http://www.sim.no/ sales@sim.no Voice: +47 22114160 Fax: +4722207097
   24.10 + *
   24.11 +\**************************************************************************/
   24.12 +
   24.13 +#include "ViewportRegion.h"
   24.14 +#include <Inventor/elements/SoViewportRegionElement.h>
   24.15 +#include <Inventor/actions/SoGLRenderAction.h>
   24.16 +
   24.17 +#ifdef HAVE_CONFIG_H
   24.18 +#include <config.h>
   24.19 +#endif // HAVE_CONFIG_H
   24.20 +
   24.21 +#ifdef HAVE_WINDOWS_H
   24.22 +#include <windows.h>
   24.23 +#endif // HAVE_WINDOWS_H
   24.24 +
   24.25 +#include <GL/gl.h>
   24.26 +
   24.27 +/*!
   24.28 +  \class ViewportRegion ViewportRegion.h Inventor/nodes/ViewportRegion.h
   24.29 +  \brief The ViewportRegion class is used to specify a sub-viewport.
   24.30 +  \ingroup nodes
   24.31 +*/
   24.32 +
   24.33 +/*!
   24.34 +  \var SoSFVec2f ViewportRegion::origin
   24.35 +  Origin of new viewport. (0,0) is lower left corner of current viewport. (1,1) is upper right.
   24.36 +  Default value is (0,0). The field last written into of origin and pixelOrigin will be 
   24.37 +  used to set the origin when the node is traversed.
   24.38 +
   24.39 +  \sa pixelOrigin
   24.40 +*/
   24.41 +
   24.42 +/*!
   24.43 +  \var SoSFVec2f ViewportRegion::size
   24.44 +  Size of new viewport. (1,1) will create a viewport with the same size as the current.
   24.45 +  Default value is (1,1). The field last written into of size and pixelSize will be 
   24.46 +  used to set the size when the node is traversed.
   24.47 +
   24.48 +  \sa pixelSize
   24.49 +*/
   24.50 +
   24.51 +/*!
   24.52 +  \var SoSFVec2f ViewportRegion::pixelOrigin
   24.53 +  Can be used to set origin directly, in pixels from lower left corner of viewport window.
   24.54 +  Default value is (0,0).
   24.55 +
   24.56 +  \sa origin
   24.57 +*/
   24.58 +
   24.59 +/*!
   24.60 +  \var SoSFVec2f ViewportRegion::pixelSize
   24.61 +  Can be used to set size directly, in pixels.
   24.62 +  Default value is (128,128).
   24.63 +  
   24.64 +  \sa size
   24.65 +*/
   24.66 +
   24.67 +/*!
   24.68 +  \var SoSFBool ViewportRegion::clearDepthBuffer
   24.69 +  Set to TRUE to clear depth buffer for the new viewport when node is traversed.
   24.70 +*/
   24.71 +
   24.72 +/*!
   24.73 +  \var SoSFBool ViewportRegion::clearColorBuffer
   24.74 +  Set to TRUE to clear color buffer for the new viewport when the node is traversed.
   24.75 +*/
   24.76 +
   24.77 +/*!
   24.78 +  \var SoSFColor ViewportRegion::clearColor
   24.79 +  The color used when clearing color buffer. Default is (0,0,0).
   24.80 +*/
   24.81 +
   24.82 +/*!
   24.83 +  \var SoSFBool ViewportRegion::flipY
   24.84 +  Invert the y coordinate. Normally y=0 is at the bottom, setting this to TRUE will make y=0 at the top.
   24.85 +*/
   24.86 +
   24.87 +SO_NODE_SOURCE(ViewportRegion);
   24.88 +
   24.89 +/*!
   24.90 +  Constructor.
   24.91 +*/
   24.92 +ViewportRegion::ViewportRegion()
   24.93 +{
   24.94 +  SO_NODE_CONSTRUCTOR(ViewportRegion);
   24.95 +
   24.96 +  SO_NODE_ADD_FIELD(origin, (0.0f, 0.0f));
   24.97 +  SO_NODE_ADD_FIELD(size, (1.0f, 1.0f));
   24.98 +  SO_NODE_ADD_FIELD(pixelSize, (1.0f, 1.0f));
   24.99 +  SO_NODE_ADD_FIELD(pixelOrigin, (0.0f, 0.0f));
  24.100 +  SO_NODE_ADD_FIELD(clearColorBuffer, (FALSE));
  24.101 +  SO_NODE_ADD_FIELD(clearDepthBuffer, (FALSE));
  24.102 +  SO_NODE_ADD_FIELD(clearColor, (0.0f, 0.0f, 0.0f));
  24.103 +  SO_NODE_ADD_FIELD(flipY, (FALSE));
  24.104 +  SO_NODE_ADD_FIELD(clampSize, (FALSE));
  24.105 +
  24.106 +  this->usepixelsize = FALSE;
  24.107 +  this->usepixelorigin = FALSE;
  24.108 +}
  24.109 +
  24.110 +/*!
  24.111 +  Destructor.
  24.112 +*/
  24.113 +ViewportRegion::~ViewportRegion()
  24.114 +{
  24.115 +}
  24.116 +
  24.117 +/*!
  24.118 +  Required Coin method.
  24.119 +*/
  24.120 +void
  24.121 +ViewportRegion::initClass()
  24.122 +{
  24.123 +  SO_NODE_INIT_CLASS(ViewportRegion, SoNode, "Node");
  24.124 +}
  24.125 +
  24.126 +/*!
  24.127 +  Generic traversal method for this node.
  24.128 +*/
  24.129 +void
  24.130 +ViewportRegion::doAction(SoAction * action)
  24.131 +{
  24.132 +  SoState * state = action->getState();
  24.133 +  SbViewportRegion vp = SoViewportRegionElement::get(state);
  24.134 +  SbVec2s winsize = vp.getWindowSize();
  24.135 +
  24.136 +  SbVec2f siz = this->pixelSize.getValue();
  24.137 +
  24.138 +  if (this->usepixelsize) {
  24.139 +    siz[0] /= float(winsize[0]);
  24.140 +    siz[1] /= float(winsize[1]);
  24.141 +  }
  24.142 +  else {
  24.143 +    siz = this->size.getValue();
  24.144 +  }
  24.145 +
  24.146 +  SbVec2f org = this->pixelOrigin.getValue();
  24.147 +  if (this->usepixelorigin) {
  24.148 +    org[0] /= float(winsize[0]);
  24.149 +    org[1] /= float(winsize[1]);
  24.150 +  }
  24.151 +  else {
  24.152 +    org = this->origin.getValue();
  24.153 +  }
  24.154 +    
  24.155 +  if (siz[0] < 0.0f) siz[0] = 0.0f;
  24.156 +  else if (siz[0] > 1.0f) siz[0] = 1.0f;
  24.157 +  if (siz[1] < 0.0f) siz[1] = 0.0f;
  24.158 +  else if (siz[1] > 1.0f) siz[1] = 1.0f;
  24.159 +
  24.160 +  if (this->clampSize.getValue()) {
  24.161 +    if (org[0] + siz[0] > 1.0f) siz[0] = 1.0f - org[0];
  24.162 +    if (org[1] + siz[1] > 1.0f) siz[1] = 1.0f - org[1];
  24.163 +  }
  24.164 +  else {
  24.165 +    if (org[0] + siz[0] > 1.0f) org[0] = 1.0f - siz[0];
  24.166 +    if (org[1] + siz[1] > 1.0f) org[1] = 1.0f - siz[1];
  24.167 +  }
  24.168 +  if (org[0] < 0.0f) org[0] = 0.0f;
  24.169 +  if (org[1] < 0.0f) org[1] = 0.0f;
  24.170 +
  24.171 +  // write clamped values back into fields
  24.172 +  SbBool nsize, norigin, npsize, nporigin;
  24.173 +  nsize = this->size.enableNotify(FALSE);
  24.174 +  norigin = this->origin.enableNotify(FALSE);
  24.175 +  npsize = this->pixelSize.enableNotify(FALSE);
  24.176 +  nporigin = this->pixelOrigin.enableNotify(FALSE);
  24.177 +
  24.178 +  //  this->size = siz;
  24.179 +  this->origin = org;
  24.180 +  
  24.181 +  // this->pixelSize = SbVec2f(siz[0]*float(winsize[0]), siz[1]*float(winsize[1]));
  24.182 +  this->pixelOrigin = SbVec2f(org[0]*float(winsize[0]), org[1]*float(winsize[1]));
  24.183 +
  24.184 +  this->size.enableNotify(nsize);
  24.185 +  this->origin.enableNotify(norigin);
  24.186 +  this->pixelSize.enableNotify(npsize);
  24.187 +  this->pixelOrigin.enableNotify(nporigin);
  24.188 +
  24.189 +  if (this->flipY.getValue()) {
  24.190 +    org[1] = 1.0f - org[1];
  24.191 +    org[1] -= siz[1];
  24.192 +  }
  24.193 +
  24.194 +  vp.setViewport(org, siz);
  24.195 +  SoViewportRegionElement::set(action->getState(), vp);
  24.196 +  if (action->isOfType(SoGLRenderAction::getClassTypeId())) {
  24.197 +    GLenum mask = 0;
  24.198 +    if (this->clearDepthBuffer.getValue()) mask |= GL_DEPTH_BUFFER_BIT;
  24.199 +    if (this->clearColorBuffer.getValue()) {
  24.200 +      mask |= GL_COLOR_BUFFER_BIT;
  24.201 +      glClearColor(this->clearColor.getValue()[0],
  24.202 +                   this->clearColor.getValue()[1],
  24.203 +                   this->clearColor.getValue()[2],
  24.204 +                   0.0f);
  24.205 +    }
  24.206 +    if (mask) {
  24.207 +      glScissor(vp.getViewportOriginPixels()[0],
  24.208 +                vp.getViewportOriginPixels()[1],
  24.209 +                vp.getViewportSizePixels()[0],
  24.210 +                vp.getViewportSizePixels()[1]);
  24.211 +      glEnable(GL_SCISSOR_TEST);
  24.212 +      glClear(mask);
  24.213 +      glDisable(GL_SCISSOR_TEST);
  24.214 +    }
  24.215 +  }
  24.216 +}
  24.217 +
  24.218 +/*!
  24.219 +  Coin method. Updates SoGLViewportElement.
  24.220 +*/
  24.221 +void
  24.222 +ViewportRegion::GLRender(SoGLRenderAction * action)
  24.223 +{
  24.224 +  ViewportRegion::doAction((SoAction*)action);
  24.225 +}
  24.226 +
  24.227 +/*!
  24.228 +  Coin method. Updates SoViewportElement.
  24.229 +*/
  24.230 +void
  24.231 +ViewportRegion::getMatrix(SoGetMatrixAction * action)
  24.232 +{
  24.233 +  ViewportRegion::doAction((SoAction*)action);
  24.234 +}
  24.235 +
  24.236 +/*!
  24.237 +  Coin method. Updates SoViewportElement.
  24.238 +*/
  24.239 +void
  24.240 +ViewportRegion::handleEvent(SoHandleEventAction * action)
  24.241 +{
  24.242 +  ViewportRegion::doAction((SoAction*)action);
  24.243 +}
  24.244 +
  24.245 +/*!
  24.246 +  Coin method. Updates SoViewportElement.
  24.247 +*/
  24.248 +void
  24.249 +ViewportRegion::pick(SoPickAction * action)
  24.250 +{
  24.251 +  ViewportRegion::doAction((SoAction*)action);
  24.252 +}
  24.253 +
  24.254 +void
  24.255 +ViewportRegion::notify(SoNotList * list)
  24.256 +{
  24.257 +  SoField *f = list->getLastField();
  24.258 +  if (f == &this->pixelSize) {
  24.259 +    this->usepixelsize = TRUE;
  24.260 +  }
  24.261 +  else if (f == &this->size) {
  24.262 +    this->usepixelsize = FALSE;
  24.263 +  }
  24.264 +  else if (f == &this->pixelOrigin) {
  24.265 +    this->usepixelorigin = TRUE;
  24.266 +  }
  24.267 +  else if (f == &this->origin) {
  24.268 +    this->usepixelorigin = FALSE;
  24.269 +  }
  24.270 +  SoNode::notify(list);
  24.271 +}
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/src/nodes/ViewportRegion.h	Fri Feb 02 17:05:34 2001 +0000
    25.3 @@ -0,0 +1,56 @@
    25.4 +/**************************************************************************\
    25.5 + *
    25.6 + *  Copyright (C) 1998-2000 by Systems in Motion.  All rights reserved.
    25.7 + *
    25.8 + *  Systems in Motion AS, Prof. Brochs gate 6, N-7030 Trondheim, NORWAY
    25.9 + *  http://www.sim.no/ sales@sim.no Voice: +47 22114160 Fax: +47 22207097
   25.10 + *
   25.11 +\**************************************************************************/
   25.12 +
   25.13 +#ifndef COIN_VIEWPORTREGION_H
   25.14 +#define COIN_VIEWPORTREGION_H
   25.15 +
   25.16 +#include <Inventor/nodes/SoSubNode.h>
   25.17 +#include <Inventor/nodes/SoNode.h>
   25.18 +#include <Inventor/fields/SoSFVec2f.h>
   25.19 +#include <Inventor/fields/SoSFBool.h>
   25.20 +#include <Inventor/fields/SoSFColor.h>
   25.21 +#include <Inventor/fields/SoSFBool.h>
   25.22 +
   25.23 +class ViewportRegion : public SoNode {
   25.24 +  typedef SoNode inherited;
   25.25 +
   25.26 +  SO_NODE_HEADER(ViewportRegion);
   25.27 +
   25.28 +public:
   25.29 +  static void initClass(void);
   25.30 +
   25.31 +  SoSFVec2f origin;
   25.32 +  SoSFVec2f size;
   25.33 +  SoSFBool flipY;
   25.34 +  SoSFBool clampSize;
   25.35 +
   25.36 +  SoSFVec2f pixelOrigin;
   25.37 +  SoSFVec2f pixelSize;
   25.38 +  SoSFBool clearDepthBuffer;
   25.39 +  SoSFBool clearColorBuffer;
   25.40 +  SoSFColor clearColor;
   25.41 +
   25.42 +  ViewportRegion(void);
   25.43 +
   25.44 +  virtual void doAction(SoAction * action);
   25.45 +  virtual void GLRender(SoGLRenderAction * action);
   25.46 +  virtual void getMatrix(SoGetMatrixAction * action);
   25.47 +  virtual void handleEvent(SoHandleEventAction * action);
   25.48 +  virtual void pick(SoPickAction * action);
   25.49 +
   25.50 +protected:
   25.51 +  virtual ~ViewportRegion();
   25.52 +  virtual void notify(SoNotList * list);
   25.53 +
   25.54 +private:
   25.55 +  SbBool usepixelsize;
   25.56 +  SbBool usepixelorigin;
   25.57 +};
   25.58 +
   25.59 +#endif // COIN_VIEWPORTREGION_H
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/test-code/legendtest.cpp	Fri Feb 02 17:05:34 2001 +0000
    26.3 @@ -0,0 +1,123 @@
    26.4 +
    26.5 +#include <Inventor/Qt/SoQt.h>
    26.6 +#include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
    26.7 +#include <Inventor/SoDB.h>
    26.8 +#include <Inventor/nodes/SoSeparator.h>
    26.9 +#include <Inventor/nodes/SoTranslation.h>
   26.10 +#include <Inventor/nodes/SoCamera.h>
   26.11 +#include <Inventor/actions/SoSearchAction.h>
   26.12 +#include <Inventor/actions/SoWriteAction.h>
   26.13 +#include <Inventor/SoInput.h>
   26.14 +#include <Inventor/SoOutput.h>
   26.15 +#include <assert.h>
   26.16 +#include <SmallChange/LegendKit.h>
   26.17 +#include <SmallChange/GLDepthBufferElement.h>
   26.18 +#include <SmallChange/ViewportRegion.h>
   26.19 +#include <SmallChange/DepthBuffer.h>
   26.20 +#include <Inventor/actions/SoSearchAction.h>
   26.21 +
   26.22 +
   26.23 +// *************************************************************************
   26.24 +
   26.25 +#ifdef CLOD_TRICOUNT // dummy 
   26.26 +int clod_tricount;
   26.27 +#endif
   26.28 +
   26.29 +static uint32_t color_cb(double val, void *)
   26.30 +{
   26.31 +  if (val < 0.25) {
   26.32 +    val += 0.5f;
   26.33 +    return (uint32_t(val*255)<<24)|0x2222ff;
   26.34 +  }
   26.35 +  else if (val < 0.6) {
   26.36 +    val += 0.3f;
   26.37 +    return (uint32_t(val*255)<<16)|0x220022ff;
   26.38 +  }
   26.39 +  else if (val < 0.8) {
   26.40 +    val += 0.2f;
   26.41 +    return (uint32_t(val*255)<<8)|0x222200ff;
   26.42 +  }
   26.43 +  else {
   26.44 +    return (uint32_t(val*255.0)<<24)|(uint32_t(val*255.0)<<16) | 0x22ff;
   26.45 +  }
   26.46 +}
   26.47 +
   26.48 +int
   26.49 +main(
   26.50 +  int argc,
   26.51 +  char ** argv )
   26.52 +{
   26.53 +  assert(argc >= 2);
   26.54 +  QWidget * window = SoQt::init( argv[0] );
   26.55 +
   26.56 +  GLDepthBufferElement::initClass();
   26.57 +  ViewportRegion::initClass();
   26.58 +  DepthBuffer::initClass();
   26.59 +  LegendKit::initClass();
   26.60 +
   26.61 +  SoInput input;
   26.62 +  SbBool ret = input.openFile(argv[1]);
   26.63 +  assert(ret);
   26.64 +
   26.65 +  SoSeparator * root = SoDB::readAll(&input);
   26.66 +  assert(root);
   26.67 +  root->ref();
   26.68 +
   26.69 +  SoSearchAction sa;
   26.70 +  sa.setType(LegendKit::getClassTypeId());
   26.71 +  sa.setInterest(SoSearchAction::FIRST);
   26.72 +  sa.setSearchingAll(FALSE);
   26.73 +  sa.apply(root);
   26.74 +  SoPath * path = sa.getPath();
   26.75 +  if (path) {
   26.76 +    LegendKit * kit = (LegendKit*) path->getTail();
   26.77 +    fprintf(stderr,"found LegendKit\n");
   26.78 +    
   26.79 +    kit->setColorCB(color_cb);
   26.80 +    kit->setImageTransparency(0.2);
   26.81 +    kit->useTextureNotImage(TRUE);
   26.82 +    kit->setBackgroundColor(SbColor(1.0f, 1.0f, 1.0f), 0.2f);
   26.83 +    kit->setTickAndLinesColor(SbColor(0.0f, 0.0f, 0.0f), 0.0f);
   26.84 +    kit->bigTickSize = 8;
   26.85 +    kit->smallTickSize = 4;
   26.86 +    kit->description.setNum(3);
   26.87 +    kit->description.set1Value(0, "Juba, juba, juba, juba");
   26.88 +    kit->description.set1Value(1, "Juba, juba, juba, juba");
   26.89 +    kit->description.set1Value(2, "Juba, juba, juba, juba");
   26.90 +    kit->setPosition(SbVec2s(20, 20));
   26.91 +    kit->set("viewport", "pixelOrigin 10 10");
   26.92 +    kit->descriptionOnTop = FALSE;
   26.93 +
   26.94 +    SbString discrete("juba");
   26.95 +    for (int i = 0; i <= 16; i++) {
   26.96 +      if (!(i & 3)) {
   26.97 +        kit->addBigTick(double(i)/double(16), double(i), &discrete);
   26.98 +      }
   26.99 +      else {
  26.100 +        kit->addSmallTick(double(i)/double(16));
  26.101 +      }
  26.102 +    }
  26.103 +    kit->setDiscreteMode(TRUE);
  26.104 +  }
  26.105 +
  26.106 +  SoQtExaminerViewer * examinerviewer = new SoQtExaminerViewer( window );
  26.107 +  examinerviewer->setSceneGraph( root );
  26.108 +  examinerviewer->show();
  26.109 +  SoQt::show( window );
  26.110 +  SoQt::mainLoop();
  26.111 +
  26.112 +  delete examinerviewer;
  26.113 +
  26.114 +#if 0
  26.115 +  SoOutput out;
  26.116 +  if (out.openFile("legend_out.iv")) {
  26.117 +    SoWriteAction wa(&out);
  26.118 +    wa.apply(root);
  26.119 +  }
  26.120 +#endif  
  26.121 +
  26.122 +  root->unref();
  26.123 +
  26.124 +  return 0;
  26.125 +} // main()
  26.126 +

Kongsberg Oil & Gas Technologies repositories