gnugo-3.8/AUTHORS 0000644 0001750 0001750 00000001051 11146627413 010476 0000000 0000000 GNU Go authors (in chronological order of contribution) are Man Li, Wayne
Iba, Daniel Bump, David Denholm, Gunnar Farneback, Nils Lohner, Jerome
Dumonteil, Tommy Thorn, Nicklas Ekstrand, Inge Wallin, Thomas Traber,
Douglas Ridgway, Teun Burgers, Tanguy Urvoy, Thien-Thi Nguyen, Heikki
Levanto, Mark Vytlacil, Adriaan van Kessel, Wolfgang Manner, Jens Yllman,
Don Dailey, Mans Ullerstam, Arend Bayer, Trevor Morris, Evan Berggren
Daniel, Fernando Portela, Paul Pogonyshev, S.P. Lee, Stéphane Nicolet,
Martin Holters, Grzegorz Leszczynski and Lee Fisher.
gnugo-3.8/CMakeLists.txt 0000644 0001750 0001750 00000003256 11146627413 012177 0000000 0000000 PROJECT(GNUGo)
INCLUDE(CheckIncludeFiles)
CHECK_INCLUDE_FILES(sys/times.h HAVE_SYS_TIMES_H)
CHECK_INCLUDE_FILES(sys/time.h HAVE_SYS_TIME_H)
CHECK_INCLUDE_FILES("sys/time.h;time.h" TIME_WITH_SYS_TIME)
CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILES(curses.h HAVE_CURSES_H)
CHECK_INCLUDE_FILES(glib.h HAVE_GLIB_H)
CHECK_INCLUDE_FILES(ncurses/curses.h HAVE_NCURSES_CURSES_H)
CHECK_INCLUDE_FILES(ncurses/term.h HAVE_NCURSES_TERM_H)
CHECK_INCLUDE_FILES(sys/types.h HAVE_SYS_TYPES_H)
CHECK_INCLUDE_FILES(term.h HAVE_TERM_H)
CHECK_INCLUDE_FILES(crtdbg.h HAVE_CRTDBG_H)
CHECK_INCLUDE_FILES("winsock.h;io.h" HAVE_WINSOCK_IO_H)
INCLUDE(CheckTypeSize)
CHECK_TYPE_SIZE(long SIZEOF_LONG)
INCLUDE(CheckFunctionExists)
CHECK_FUNCTION_EXISTS(times HAVE_TIMES)
CHECK_FUNCTION_EXISTS(usleep HAVE_USLEEP)
CHECK_FUNCTION_EXISTS(gettimeofday HAVE_GETTIMEOFDAY)
CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF)
CHECK_FUNCTION_EXISTS(_vsnprintf HAVE__VSNPRINTF)
# FIXME: Probably necessary to add the glib library for this test to pass.
CHECK_FUNCTION_EXISTS(g_vsnprintf HAVE_G_VSNPRINTF)
SET(PRAGMAS "")
IF(WIN32)
SET(PRAGMAS "#pragma warning(disable: 4244 4305)")
ENDIF(WIN32)
IF(MSVC80)
ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE)
ADD_DEFINITIONS(-D_CRT_NONSTDC_NO_DEPRECATE)
ENDIF(MSVC80)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/config.h)
# Make sure all files know about and can find config.h
ADD_DEFINITIONS(-DHAVE_CONFIG_H)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
# Recurse into subdirectories.
ADD_SUBDIRECTORY(utils)
ADD_SUBDIRECTORY(sgf)
ADD_SUBDIRECTORY(engine)
ADD_SUBDIRECTORY(patterns)
ADD_SUBDIRECTORY(interface)
gnugo-3.8/COPYING 0000644 0001750 0001750 00000104513 11146627413 010470 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
gnugo-3.8/ChangeLog 0000644 0001750 0001750 00001130101 11146655224 011201 0000000 0000000 -------------------------------------------------------------------------
-- ChangeLog
-------------------------------------------------------------------------
3.8 released February 17, 2009
- added Wietze Brandsma to THANKS
- revised config.vc
- revised NEWS
- restored missing mkmcpat.dsp, regress.cmd
3.8rc1 released February 6, 2009
- revisions to montecarlo.texi
- revised .dsp files
- Lee Fisher added to AUTHORS
- WINDOWS doc and install.texi revised per Lee Fisher's changes
- mkmcpat puts 16 items on a line instead of 8
- (unsigned char) and (unsigned short) explicit typings
- missing files added to EXTRA_DIST
- copyrights updated to 2009
3.7.13 released December 23, 2008
- restore cmake files that were missing from the 3.7.12 tarball
- bring copyright date to 2008
- doc revision
- be forgiving with replacement moves conflicting with unconditional analysis
- accept --enable-socket-support even if configure test fails
- add globals.c to mkmcpat for OS/X build
3.7.12 released April 7, 2008
- cmake configuration files for generating MSVC project files
- minor doc revision
- new options --mc-patterns, --mc-list-patterns, and --mc-load-patterns
- tunable local patterns for Monte Carlo simulations
- try harder to find the right move to make seki in find_moves_to_make_seki()
- better heuristics to avoid calling semeai reading in
find_moves_to_make_seki() in hopeless cases
- never amalgamate dragons over three-liberty strings and sometimes not
over two-liberty strings
- send_two_return_one() moved from utils.c to board.c and reimplemented
- new file engine/montecarlo.c
- new options --monte-carlo and --mc-games-per-level to use Monte Carlo UCT
search on 9x9 and smaller boards
- call check_boardsize() from play_gmp.c to avoid crashing on bad board sizes
- new function check_boardsize()
- bugfix in handling of foreground color with ncurses
- orientation invariant board hashes added
- tuning
- add STS-RV semeai regression test suite
- new and revised tests
3.7.11 released November 1, 2007
- gtp-commands.texi is not built automatically
- updates texinfo.tex
- minor doc revision
- revised configure.in, aclocal.m4 and *Makefile.in for recent autotools
- removed acconfig.h
- don't play send-two-return-one in tactical reading attack moves
- bugfix in reevaluate_ko_threats() to avoid a crash
- more efficient aftermath moves
- version 3 of GPL and update copyright for 2007
- new static function remove_eye_filling_moves() in owl.c
- semeai reading revisions
- look more ambitiously for back-capturing moves in attack1()
- generate cut move reasons for cutting moves found during find_connections()
- fix compilation with MAX_BOARD set to low boardsizes (>= 7 tested)
- performance tuning in do_owl_analyze_semeai()
- detect unconditionally meaningless moves
- get_lively_stones() revised to be valid also for stackp>0
- bugfix in compute_owl_escape_values()
- moves can be marked as known_safe_moves by patterns
- bugfix in compute_surroundings()
- owl tuning
- new and revised tests
3.7.10 released May 21, 2006
- gnugo.dsw and uncompress_fuseki.dsp revised
- configure.in revised to improve socket support detection on windows
- gameinfo_play_sgftree_rot() revised to fail gracefully
- new static really_do_trymove() and is_superko_violation() in board.c
- board hashes stored in the move history
- is_legal() no longer depends on allow_suicide
- new is_allowed_move() to determine legality for current suicide and ko rules
- new global variables suicide_rule and ko_rule
- illegal moves replaced with passes near the end of do_genmove()
- reevaluate_ko_threats() revised
- under superko rules look for ko threats also if best move illegal
- new options --forbid-suicide (default) and --allow-all-suicide
- new options --simple-ko (default), --no-ko, --positional-superko,
and --situational-superko
- is_allowed_move() used instead of is_legal() in play_gtp.c, play_ascii.c
and play_solo.c
- identify_thrashing_dragons() called earlier in make_dragons()
- do not play self-atari while splitting eyespaces in aftermath_genmove()
- in do_owl_attack(), don't consider send-two-return-one defender moves
- send-two-return-one moves not tried in find_more_attack_and_defense_moves()
- send-two-return-one moves not tried in find_worm_attacks_and_defenses()
- string connection bonus for ko captures reduced in move_connects_strings()
- maximum bonus from secondary move values limited to 0.4 points
- more legality checking in fill_liberty()
- detect_tactical_blunder() revised to avoid finding illegal defense moves
- semeai.tst reordered
- new option --limit-commands to regress.pike
- new testfile 13x13c.tst
- do not try to add an sgf circle for pass moves in replay_node()
- new enum same_dragon_value in owl.c
- new owl_defendpats.db classification "a" for connecting all friendly
stones to the goal
- owl tuning
- influence tuning
- tuning
- new and revised tests
3.7.9 released March 10, 2006
- new GTP command advance_random_seed
- make update_random_seed() deterministic
- fix assertion failure in semeai()
- semeai attack and defense codes added to struct dragon_data2
- in estimate_territorial_value(), let stones have influence strength also
when their safety depends on ko
- unify internal handling of limit_search and restricted_genmove
- new function play_lib_n() in utils.c and autohelper functions
oplay_lib/xplay_lib
- new static function modify_eyefilling_move() in owl.c
- do not reset permeability around dead stones
- do not consider moves playing into snapback in
do_find_more_owl_attack_and_defense_moves()
- new function playing_into_snapback() in utils.c
- only call do_find_more_owl_attack_and_defense_moves() when stackp==0
- use .strategic_size in estimate_strategical_value()
- new field .strategic_size in dragon_data2, includes bonus for weak neighbors
- use gg_normalize_float2int() in valuate_combinable_pattern_chain() to
address platform dependencies
- carefully select new owl goal origin
- allow excess strategical value for some single-worm dragons
- include played move in atari-atari blunder analysis
- score.c removed from sources
- owl tuning
- tuning
- new and revised tests
3.7.8 released January 30, 2006
- new global variable handicap
- chinese scoring adds the number of handicap stones in addition to the
komi to white's score
- include handicap in sgf headers
- dead code removed from influence_evaluate_position() and the rest moved
to game_status()
- metamachine enabled in ascii mode (as in GNU Go 3.6)
- configure option oracle renamed metamachine (as in GNU Go 3.6)
- new testfile gifu05.tst
- don't try large scale attack if original owl reading was expensive
- teach influence_score() about chinese rules
- copyright notices updated for 2006
- bugfix in unconditional status analysis
- let --capture-all-dead and --play-out-aftermath be effective also when
playing out a game for scoring (e.g. --score finish)
- semeai analysis turned off when there are a huge number of dragons
- MAX_STRINGS value corrected
- new assertions that the next_string pointer hasn't overflowed
- hash flag bits and -H option removed
- default size of reading cache set to a fixed number of entries instead
of a fixed amount of memory, improving platform independence
- update information about valid boardsizes in gnugo.pod
- bugfix for drawing 1x1 board in play_ascii.c
- regress.pike can run multiple engines in parallel (-j option)
- correction of color in order_moves() call in reading.c
- doc revision, updated instruction for setting up HTML regression views
- find_connection_moves() revised
- GTP command dragon_data fixed to give well-formed output also on empty
board
- update regress.pl and regress.plx to count connection nodes instead of
life nodes and expect reg_genmove instead of gg_genmove
- remove gnugo_play_sgftree(), gnugo_genmove(), gameinfo_load_sgfheader(),
and gameinfo_play_move() from engine/interface.c
- 1D conversion of gnugo_play_move()
- new function get_sgfmove()
- let semeai code pass if no riskless move was found
- do not hardwire owl node limit for large scale attacks
- remove many unneeded configure tests
- READLINE compile (warning) fixes
- complete rework of clock.c, using level adaption logic from play_gtp.c
- use more tactical moves in do_owl_analyze_semeai()
- unused function transform2() removed
- report_worm() made static in worm.c
- hashdata_to_string() revised for consistency between 32 and 64 bit platforms
- bugfixes in do_aftermath_genmove()
- adjust readconnect node limit when starting search at higher stackp
- new function get_depth_modification()
- removed functions set_temporary_depth_values()/restore_depth_values()
- always set dragon status to ALIVE if owl_status is UNCHECKED
- correct C-code footer in uncompress_fuseki.c for all values of
NUM_HASHVALUES
- play_replay() and replay_node() partially rewritten
- tuning
- new and revised tests
3.7.7 released October 9, 2005
- FSF address corrected in COPYING
- large scale improvements
- use signed char instead of char most of the time in the engine
- string_to_location(), debug_influence_move(), and report_worm()
converted to 1D
- get_level() removed from genmove.c
- documentation update
- remove long deprecated command hurry from play_ascii
- use signed char in connected_components() in owl.c
- rotation support for --decide_* options removed
- remove trivial wrapper functions from engine/interface.c
- patterns/transpat.c, patterns/patlib.c, and patterns/patlib.h removed
- unused game records in regression/golois removed
- makevcdist.pl updated and re-run
- all Makefile.in regenerated
- debugboard traces from Makefile and configure removed
- endgame1.tst removed from distribution but not from CVS
- cutstone.tst, semeai2.tst, and *_rot.tst removed
- debugboard removed
- support for pattern based reading (EXPERIMENTAL_READING) removed
- support for tree based pattern matching removed
- view.pike: support multiple tests as argument
- test revisions
- consistently initialize global variables in globals.c (not main.c)
- large scale code reorganized
- fullboard support (-f option) remove from mkpat
- atari_atari tuning
- endgame tuning
3.7.6 released September 21, 2005
- a few missing game records restored
- revised patterns.dsp and new uncompress_fuseki.dsp
3.7.5 released September 20, 2005
- revision to patterns.dsp (but more revision needed before VC will compile)
- send usage messages caused by bad input to stderr
- new, larger fuseki database added as compressed files
- new files patterns/compress_fuseki.c and patterns/uncompress_fuseki.c
- use a fullboard hash for fuseki database patterns
- new array comulative_goal in local_owl_data
- don't count former owl goal dragon stones towards escape measure
- removed PROFILE_MATCHER
- handle CRLF newlines correctly in view.pike
- new static function squeeze_moves() in reading.c
- fix komaster problem
- do not trust connection moves to be safe in
estimate_territorial_value()
- add random move value contributions also for pure ko threats
- new and revised tests
3.7.4 released June 12, 2005
- copyright notices updated for 2005 and new FSF address
- bugfix in find_backfilling_move in filllib.c
- make fast_defense() aware of under-the-stones tesuji
- make superstring_break_chain_moves() attack 3-liberty chains
- unused code to compute genus removed from make_dragons()
- owl tuning
- atari-atari tuning
- optics tuning
- tuning
- new and revised tests
3.7.3 released March 22, 2005
- special_rescue_moves() allows self atari moves which may set up a snapback
- increase depth after filling liberties in endgame_find_backfilling_dame()
- try harder to find safe backfilling moves in endgame_find_backfilling_dame()
- revised heuristics to find a font file in view.pike
- avoid crashing on bad engine paths when starting a new engine in view.pike
- move_connects_strings() revised
- outcommented patterns removed
- ignore off board vertices in openregion() in fuseki.c
- Revise diagonal value in topological_eye() to account for damezumari
- owl tuning
- new and revised tests
3.7.2 released January 20, 2005
- gnugo.el: Grid display implemented
- gnugo.el: SGF handling improved
- gnugo.el: Undo and Redo related enhancements
- gnugo.el: Primitive edit mode
- gnugo.el: Regression view mode
- Doc revision (Emacs mode in using.texi)
- use print_numeric_influence() for printing escape influence
- take neighbouring half/false eyes into account when estimating lunch value
- do not trust strategic attack and defense moves to be safe when scoring
- thrash_around_helper() returns false if fuseki is disabled
- value_territory() revised to disable certain reductions of the territory
value when scoring
- regress.pike revised so that previous output can be used as input
with -f to rerun tests with unexpected results
- connection_value() revised
- use influence-based score estimate instead of Bouzy's algorithm
- new global variable white_score, black_score
- should_resign() now depends on optimistic_score instead of average_score
- added support for GTP over TCP/IP sockets on Windows
- new static function all_own_neighbors_inessential() in aftermath.c
- do_aftermath_genmove() revised
- breakage2tst.py now produces command line for regress.pike
- further revision of thrashing dragon heuristic
- try harder to find backfilling moves in fill_liberty()
- find_backfilling_move() in filllib.c revised
- test_attack_either() revised
- fixed anchor building of owl_attackpats.db repaired
- thrashing dragon heuristics revised
- readline support in ASCII mode
- liberties and neighbors list broken out of string_data array in board.c
for speedup
- new functions remove_double_blocks(), check_double_block() to improve
territorial evaluation at places where an intrusion is possible
- stop using worm data at stackp==0 in does_attack() and does_defend()
- concerns_noncritical_dragon() revised
- MIN_BOARD reduced to 1
- free memory allocated in a failed read of an sgf file
- extract_fuseki revisions: statistics on outcomes,
popularity cutoffs based on unique players added to command line
parameters, tweaks and bugfixes in game selection
- atari_atari moves considered blocking in estimate_territorial_value()
- MAX_LIBERTIES reduced to 8
- popgo() bugfix to repair sgf traces
- do_owl_analyze_semeai() revised
- emacs variant of ascii interface removed
- give less bonus to connection moves when scoring
- influence tuning
- owl tuning
- tuning
- new testsuite tiny.tst
- new and revised tests
3.7.1 released November 23, 2004
- new function send_two_return_one() in utils.c
- don't consider send-two-return-one moves in
do_find_more_owl_attack_and_defense_moves()
- does_attack() made ko aware
- new GTP commands does_attack and does_defend
- sgfnode.c (readsgffile): Do not fclose stdin.
- gtp.texi (GTP command reference): Add @cindex.
- gtp-commands.sed: Use @verbatim. Tighten output.
- gtp-commands.sed: Move `Function' field into @item line, sans field name.
- doc/ Makefile.am (gtp-commands.texi): Eliminate redundant use of cat(1).
- revision of gtp-commands.sed
- bugfix in main.c: remember to sgfFreeNode(gameinfo.game_record.root)
- allow PASS_MOVE in trymove() and tryko()
- do_trymove() and popgo() revised
- 'printfsgf -' supported from GTP
- copyright notices added to xpm files
- gnugo.el brought up to Thi's gnugo.el-2.2.8
- new gtp_move_history() for use with gnugo.el
- minor doc revision
- capture_non_invincible_strings() and unconditional_life() moved from
utils.c to unconditional.c
- resignation option reverted from GTP commands genmove_black and
genmove_white
- new heuristic to reduce branching factor in connection reading.
- resign rather than pass when all own stones seem dead
- lively_dragon_exists() based on status rather than crude_status
- potential_moves[] array converted to 1D
- distance measures converted from floating to fixed point arithmetic
in connection reading code.
- owl threats disabled as a command line option
- EXIT_SUCCESS and EXIT_FAILURE used in transpat.c and sgfgen.c
- revised interface to all genmove() type functions
- new global variable depth_offset
- only cache safe_move() results when reading depth is unmodified
- revision of interface/emacs.el
- new interface/xpms/*xpm, make-gnugo-xpms.el and gnugo-xpms.el
- break_chain2_moves() revised
- special_attack4_moves() revised
- defend_secondary_chain_moves() revised and split into two functions
- check_self_atari() in readconnect.c revised
- devalue tactical defenses of owl critical dragons when there are
better owl defenses elsewhere
- find_moves_to_make_seki() extended to examine the case of dead stones
inside the eye of single-eyed dragons
- added support for GTP communication over TCP/IP socket; GNU Go can
both connect and listen
- bugfix in break_in_goal_from_str(): check pos+delta on board
- bugfix in sgfStartVariant
- constrain thrashing dragons more often
- hashing cleanups
- missing files added to EXTRADIST in Makefile.* in doc/ and regression/
- new file logo-36.pdf
- DFA micro optimizations
- Test results updated: cvs tag rel-3-7-1-pre-1
- use int arrays instead of char arrays to mark eyes in
owl_determine_life() and dependent functions
- added .eps-version of new logo
- help string revised
- warnings fixed
- doc revisions
- TODO revised
- basic strategies to break mirror go implemented
- matcher_check verbosity refined
- new function are_neighbors()
- 9x9 opening moves tuned
- view.pike enhancement: switch to new test case
- debugging enhancement: owl goal marked in sgf trees
- new move reasons POTENTIAL_SEMEAI_ATTACK/DEFENSE to defer analysis of
possible semeai winning moves until move valuation
- infrastructure to cut owl goal dragons
- new owl pattern class C: threaten to cut owl goal dragon
- view.pike enhancement: owl_does_defend/attack
- crash in owl_hotspots() fixed
- view.pike enhancement: directly start sgf viewer
- remove special case of CLASS_C in matchpat.c
- influence tuning
- owl tuning
- endgame tuning
- tuning
- implement persistent semeai caching
- don't crash on some .sgf-files from kgs
- NEWS updated
- refer to 3.6 instead of 3.4 in docs
- new and revised tests
3.5.10 released August 7, 2004
- move initalization of ..._vital_points to initialize_dragon_data()
- persistent caches reorganized to share common code
3.5.9 released July 18, 2004
- bugfix in read_eye()
- bugfix in fast_defense()
- improved printing of hashvalues
- bugfix in atari_atari_blunder_size()
- new static function dump_board_sgf() in printutils.c
- abortgo() no longer unwinds the stack but prints an sgf file
- new and revised tests
- doc revision
3.5.8 released June 8, 2004
- make `mkpat' detect duplicate pattern names
- duplicate pattern names renamed
- reduce DFA_MAX_MATCHED 20 times
- calculate actual maximum dfa with new dfa_calculate_max_matched_patterns()
- remove unused configure option --experimental-semeai
- add missing output to --options
- new static function special_rescue4() called from defend2() in reading.c
- fast_defense() now heuristically looks for neighbors to capture
- don't restore random state in hash_init() and keyhash_init()
- major `view.pike' revision, added new "single window" mode
- break_chain2_moves() revised to generate more backfilling moves
- atari_atari_blunder_size() now returns multiple defenses, better verified
- remove %r support from gprintf, use result_to_string() instead
- double_atari_chain2() revised to generate more moves
- new argument recompute_dragons to owl_analyze_semeai_after_move()
- owl_mark_dragon() and init_owl() revised
- detect_tactical_blunder() revised
- value of tactical blunders doubled to twice the effective size of the string
- not a blunder if a string alive in seki is saved when outer liberties filled
- normalize apos, bpos in do_owl_analyze_semeai
- find_cuts() called from make_dragons() instead of make_domains()
- new compute_new_dragons() and new static join_new_dragons() in dragon.c
- new global array cutting_points[]
- cut field removed from struct eye_data
- INHIBIT_CONNECTION bit no longer used in the type field of struct eye_data
- find_cuts() no longer allowed to modify eyespaces
- bugfix in do_owl_analyze_semeai()
- tuning
- new and revised tests
3.5.7 released May 27, 2004
- minor revisions in score.c
- regress.pike measures uncertainty of moves
- global variable hashdata renamed to board_hash
- hashdata_compare() function removed
- fields in struct stats_data updated for new cache
- initialization of Zobrist random numbers in hash.c and cache.c unified
- new function hash_init_zobrist_array() in hash.c
- hashdata_remainder() never uses more than the 32 lowest bits of hash value
- hashdata_NULL, hashdata_clear(), and hashdata_init() macros removed
- any number of MIN_HASHBITS can now be used
- ROUTINE_COSTS revised
- find_connection_moves() revised
- always print copyright string on stdout
- do not include "Version" in the --version output
- old cache implementation removed
- ignore inessential critical dragons in in dilate_erode()
- TRACE_CACHED_RESULT* macros implemented for new caching scheme
- old cache implementation commented out
- new file engine/unconditional.c added
- break-in reading tuned
- safety checks improved for owl defense moves
- bugfix in find_neighbor_dragons()
- attribute "noreturn" for abortgo()
- don't add child to root node in sgffile_printboard()
- remove color parameter from examine_position(), compute_eyes_pessimistic()
- new arrays white_vital_points and black_vital_points
- read_eye() stores vital point in new arrays when add_moves == 1
- new functions find_lunches(), revise_inessentiality(), eye_computations()
broken out of make_dragons()
- VITAL_EYE_MOVE almost retired
- fix bugs in recursive_break()
- owl tuning
- new and revised tests
3.5.6 released April 23, 2004
- new configure and runtime option large-scale
- new change_owl_nodes()
- gprintf supports %r
- cleanup of patterns/*.sgf
- revision of dragon_invincible()
- suppress copyright notice in ASCII playing mode or with --version
- copyright string shortened
- new GTP commands move_probabilities and move_uncertainty
- bugfix in unconditional_life()
- owl_update_goal() overrides same_dragon == 0 in obvious cases
- new and revised tests
3.5.5 released April 15, 2004
- moved TRACE_READ_RESULTS definition to hash.h
- initialize lunch data for single owl move
- bugfix in compute_eyes_pessimistic(): initialize chainlinks[]
- improved sgf trace in trymove: location of tried move noted
- complete conversion to new cache
- add priority to reading results in new cache
- kill unused hash_ng_init()
- minor statistics improvements
- enlarge owl goal when it has had lunch
- komaster and kom_pos made static variables in board.c
- edge_block_moves() proposes more moves
- don't try to undo when stackp is not zero (GTP mode)
- support for multiple engines in view.pike
- more info about semeais in dragon_data2
- double-check owl attack moves against dragons involved in semeai(s)
- be less optimistic about large, but bulky eyespaces
- support for 'make gnugo.pdf' and make 'gnugo.html' in doc/
- slowest move statistics from regress.pike
- update usages of time_report()
- `twogtp.pike' can now use third engine (arbiter) to score games
- breakin and readconnect fixes
- first implementation of owl threat combinator--intended for improving
move ordering
- pattern attributes (shape, followup etc.) are now stored in lists, not
in `pattern' structure
- there is now a possibility to define virtually unlimited number of new
pattern attributes
- common code of shapes_callback() and joseki_callback() is broken into
new static function handle_joseki_patterns()
- new function do_find_more_owl_attack_and_defense_moves() broken out
of find_more_owl_attack_and_defense_moves()
- induce_secondary_move_reasons() tries to upgrade induced reasons to
owl attacks/defenses with do_find_more_owl_attack_and_defense_moves()
- strategical attack move reason is induced for saving certain worms
adjoining weak opponent dragons
- major improvement of analyze_eyegraph functionality in optics.c
- adjust min_level and max_level if --level is set outside their range
- do not malloc() 0 bytes in pattern_list_build_heap()
- aftermath_final_status() declaration moved from gnugo.h to liberty.h
- bugfix in find_connection_moves()
- bugfix in hashdata_init macro
- caching enabled for unbranched owl nodes
- comments added explaining heap in readconnect.c
- provide links to html regression views from regress.sh
- semeai analysis in make_dragons() postponed until after revision of
inessentiality
- identification of thrashing dragons in make_dragons() postponed
until after semeai analysis
- avoid overflow in reading_cache_init()
- converted owl to use new cache implementation
- owl tuning
- new game records and test cases
3.5.4 released January 23, 2004
- copyright 2004 added to copyright notices
- new static function capture_non_invincible_strings() broken out of
unconditional_life()
- unconditional_life() revised
- new semeai_propose_eyespace_filling_move() tries to play inside eyeshapes
- number_of_dragons initialized in initialize_dragon_data()
- new option --gtp-dump-commands to dump all incoming GTP commands to file
- new function and autohelper owl_lunch()
- lunches_are_current field no longer reset in owl_safe_move()
- don't claim levels higher than 10 are unsupported
- new GTP command unconditional_status
- estimate_lunch_eye_value() revised
- avoid calling owl_substantial() when not needed in aa_compute_status()
- value_move_reasons() revised
- special_rescue6_moves() revised
- find_connection_moves() revised
- computation of NUM_HASHVALUES corrected in hash.h
- hashdata_to_string reimplemented
- defend4() and special_rescue_moves() revised
- avoid ko captures when filling outer liberties in semeai reading
- adjust breakin_depth in modify_depth_values()
- atari_atari tuning
- endgame tuning
- eye tuning
- fuseki tuning
- influence tuning
- owl tuning
- tuning
- new test suite unconditional.tst
- new game records and test cases
3.5.3 released January 7, 2004
- new GTP command kgs-genmove_cleanup
- compute_crude_status() revised to consider dragons with big
territorial moyo value as alive
- semeai moves considered safe in mark_changed_dragon
- compare number of eyes when both colors pass in
do_owl_analyze_semeai() instead of always consider it a seki
- do not use the attack point from owl if owl considers a dragon dead
but semeai revises it to critical
- bugfix in break_through_helper() in reading.c
- new static function close_enough_for_proper_semeai() in semeai.c
- liberty_of_dragon() transformed into neighbor_of_dragon() in semeai.c
- in semeai(), be more careful when considering two dragons involved
in a semeai
- new static function max_lunch_eye_value() in value_moves.c
- when restraining thrashing dragons, do not bother connecting
inessential strings which cannot provide an eye (in
estimate_strategical_value())
- new autohelper function adjacent_to_stone_in_atari
- new static bamboo_rescue_moves() in `reading.c'.
- computation of safety and status values in make_dragons() revised to
more robustly handle invincible dragons
- dragon_invincible() revised
- detect_tactical_blunder() revised
- owl stack management reimplemented
- consider semeai worms adjacent to the outside as important in
owl_analyze_semeai_after_move()
- additional semeai debug output
- let stdout be unbuffered instead of line buffered in play_gtp()
- if one dragon is considerably smaller than the other in a semeai,
prefer to get ko over seki in do_owl_analyze_semeai()
- in a semeai, consider also the eyespaces including opponent semeai
worms in order to detect a definite lack of eyespace and to find
certain vital moves
- off-by-one error in loops over semeai_worms[] corrected
- don't allow "safe" common liberties to depend on ko in
do_owl_analyze_semeai()
- new static function find_moves_to_make_seki() in semeai.c
- do semeai analysis for all pairs of critical/dead dragons except
when one is inessential, other exceptional cases removed from semeai()
- defend4() generates superstring moves
- semeai_move_reasons() revised
- induce_secondary_move_reasons() revised; do not allow owl attack moves
to induce strategic defense of neighbors if involved in a semeai
- connection_value() revised to never give points for connection to
inessential strings
- get_influence() revised
- list_move_reasons() revised and made global
- new functions print_all_move_values() and prepare_move_influence_debugging()
- delta_territory cache can be disabled in estimate_territorial_value()
- new GTP commands all_move_values, eye_data, half_eye_data, move_reasons
- GTP command influence replaced by initial_influence, move_influence, and
followup_influence
- GTP command clear_cache now also clears the non-persistent cache
- bugfix in corner_add_pattern() (mkpat.c): labels must be rotated too
- spread_connection_distances() now delays expensive constraint evaluation,
storing pending evaluation on a heap
- new function signed_mark_string()
- computation of active area revised in store_persistent_connection_cache(),
store_persistent_breakin_cache(), and store_persistent_owl_cache()
- move_is_marked_unsafe() in move_reasons.h revised
- modify_stupid_eye_vital_point() revised
- influence tuning
- fuseki tuning
- eye tuning
- endgame tuning
- owl tuning
- tuning
- new test suite seki.tst
- new game records and test cases
3.5.2 released November 5, 2003
- Cosmic GNU Go disabled by default.
- report_dragon() revised
- gtp_worm_data() revised
- pattern tagging
- regress.sh revised
- regress.pike revised
- attack2() revised
- defend4() revised
- slow sorting in get_next_move_from_list() is replaced with heap sorting
- new static functions pattern_list_build_heap() and
pattern_list_get_next_pattern() in `engine/owl.c'
- new command line option --no-cosmic-gnugo
- remove global variables score, lower_bound, upper_bound
- remove (level >= 8) condition for estimate_score() call
- pass our_score instead of score to the move valuation functions
- tuning
- influence tuning
- owl tuning
- joseki tuning
- new game records and test cases
3.5.1 released September 4, 2003
- semeai() revised to better handle certain cases of multiple simultaneous
semeais
- find additional semeai moves in semeai_reasons()
- added more robust handling of .dtr files
- removed option to build pre-rotated DFAs
- unconditional_status in struct worm_data changed to enum dragon_status
- final_status in the aftermath code changed to use enum dragon_status
- enum dragon_status extended with BLACK_TERRITORY, WHITE_TERRITORY,
and DAME
- new GTP command last_move
- threaten_to_capture_helper() and pattern `Sente12' retired
- no buffering on stdout in ascii mode
- roadmap to engine files in overview.texi updated
- move DEBUG_func to showbord.c
- pattern tuning: remove "t" classification from various patterns
- WHITE_BORDER, BLACK_BORDER, GRAY_BORDER retired
- colors and komaster state, safety values and dragon status, cache routine
ids are now "enum"
- board library: remove all stuff that is not directly related to board
(and move it to the engine)
- board library: new file board.h as public interface, new file boardlib.c
to collect global variable of the board library;
- board library documentation updated to reflect changes
- new function: hashdata_to_string()
- small_semeai() and small_semeai_analyzer() removed
- support for !experimental_semeai removed
- old semeai() removed and new_semeai() renamed to semeai()
- analyze_semeai(), add_appropriate_semeai_moves(), and liberty_of_dragon()
removed
- old amalgamation (!experimental_connections) code and patterns removed
- dragon_eye() removed
- basic_cut_helper() and ugly_cutstone_helper() removed
- komaster schemes 1-4 removed
- komaster_is_empty() retired
- komaster_to_string() revised
- KOMASTER_TRACE functionality removed
- new GTP command combination_defend
- revised hash table scheme
- new COSMIC_GNUGO function choose_best_strategy() sets tuning parameters
- new global tuning parameters: minimum_value_weight, maximum_value_weight,
invasion_malus_weight, strategical_weight, territorial_weight,
attack_dragon_weight;
- remove unneeded configure stuff, add -Wundef to SOME_WARNINGS
- replace setlinebuf by setvbuf
- add safety_hash field to delta territory cache, reenable this cache
- cgi interface in interface/html directory removed
- owl tuning
- new game records and test cases
3.4 released July 31, 2003
- breakage2tst.py and gnugo-db.el added to EXTRA_DIST
- wariuchi fuseki: invade between shimaris
- new sgmp mode
- regress.pike added to EXTRA_DIST
- revision of copyright notices
- warnings fixed on some platforms
- doc revision
3.3.23 released July 15, 2003
- bugfix in show_dragons()
- redistribution consistency checking disabled for stable release
- gg_genmove replaced by reg_genmove almost everywhere in the regressions
- twogtp.py and twogtp.pike added to gtp_examples/README
- twogtp and twogtp-a made GTP version 2 compliant
- break-in code turned off below level 10; other level cutoffs revised
- support for ranges in sgf files
- time summaries reported with --showtime in gmp mode
- TODO revised.
- clock_init_autolevel() retired
- new global variables min_level and max_level
- new options --min-level and --max-level
- time handling implemented in play_gtp.c
- speedup: move some functionality of update_liberties() to do_remove_string()
- bugfix in do_play_move()
- doc: delete most lists of functions
- doc: remove move_generation.texi overview sections
- doc: reorder
- doc: Consistently use hierarchical structure instead of next/previous/up
- tuning
- owl tuning
- eye tuning
- doc: complete rewrite of first sections of overview.texi
- doc: subsection on 1D board array moved to board.texi
- doc: references to cavities in dragon amalgamation removed
- new game records and test cases
3.3.22 released June 28, 2003
- break-in code turned off below level 9
- VPATH modifications in regression/Makefile*
- new function thrash_around_helper()
- thrashing patterns in patterns.db
- configure --enable-cosmic-gnugo produces a center-oriented engine
- added cache for results of approxlib() and accuratelib()
- new static functions do_approxlib() and do_accuratelib() in board.c
- finish_sgftrace() will not free the trace tree if not written successfully
- remove tabs from twogtp.py
- twogtp.py checks that board is not empty before indexing it
- active area for persistent breakin cache shrinked
- new HIGH_LIBERTY_BIT2 in persistent caches, used by breakin cache
- new function break_chain4_moves()
- owl moves for non-critical dragons discarded
- do_owl_analyze_semeai() revised
- detect_owl_blunder() also looks for semeai defenses
- estimate_strategical_value() revised
- new function defend_secondary_chain_moves() in reading.c
- new parameter be_aggressive to break_chain2_moves(),
break_chain2_defense_moves() and break_chain3_moves()
- new depth value: break_chain_depth
- defend2() no longer plays on self atari liberties
- superstring_breakchain_moves() renamed superstring_break_chain_moves()
- fix "no moves found" logic in various readconnect.c functions
- new debug flag DEBUG_BREAKIN
- "smaller goal" in breakin.c revised
- be more careful when erasing territory after successful break-in
- break-in move generation bug fix
- endgame_find_backfilling_dame() revised
- new global array forced_backfilling_moves[]
- find_backfilling_move in filllib.c revised
- disable revise_semeai() when doing_scoring
- no bonus for attack or defense of dead potential cutstones when doing_scoring
- reevaluate_ko_threats() revised to avoid playing losing ko threats
- RTRACE and VTRACE retired
- corrected format of AP property in sgf_write_header()
- tuning
- owl_tuning
- new game records and test cases
3.3.21 released June 3, 2003
- revision of owl_strong_dragon()
- extra care is now taken not to waste points on tiny ko threats
- ko threats with large followups always preferred to large reverse followups
- twogtp.py fixed to handle jigo in endgame contests
- made --enable-experimental-break-in the default
- compute_smaller_goal() makes the goal even smaller in the block_off case
- persistent caching for break_in()/block_off()
- inessential dragons handled differently in estimate_territorial_value()
- use smaller goal area when trying to break into territories
- semeai_trymove_and_recurse() propagetes back changes to &owla, &owlb
- copy over old eye_data in do_owl_defend() if escape > MAX_ESCAPE
- new configure option --experimental-break-in
- load_and_score_sgf_file() revised
- detect_tactical_blunder() revised
- ko result codes no longer discarded in owl_analyze_semeai()
- new_semeai() revised
- decide_semeai() in sgfdecide.c revised
- GTP command owl_analyze_semeai renamed to analyze_semeai
- new function owl_analyze_semeai_after_move() and corresponding GTP
command analyze_semeai_after_move
- gtp_owl_analyze_semeai() revised
- new static function semeai_trymove_and_recurse() in owl.c
- all owl_analyze_semeai regression test cases changed to analyze_semeai
and revised for new result format
- bugfixes in breakin.c and block_off()
- new helper functions goal_to_hashvalue(), xor_hashvalues()
- new function get_read_result_hash_modified to enable calling functions
to use a modified hash value when storing/looking up results in cache
- results for recursive_break() and recursive_block() now get cached
- cast to avoid warnings
- documentation revisions
3.3.20 released June 3, 2003
- hoshi.sgf split into hoshi_keima.sgf and hoshi_other.sgf
- new functions recursive_break(), recursive_block() in readconnect.c:
decide whether a string can be connected to an arbitrary goal area
- new functions break_in(), block_off(), frontends to the functions above
- corresponding GTP commands break_in, block_off
- new file breakin.c evaluates whether territories can be broken in
- new command line --experimental-break-in to evaluate territory break-ins
- retire move_safety check in value_moves.c for territorial move valuation
- read_eye() revised
- `num_defends' field of half_eye_data strtucture renamed `num_defenses'
- maximum 15 points of territorial_value will get shape bonus
- change of semantics for --seed option
- new GTP command printsgf
- debugboard repaired
- TODO revised
- new function partition_eyespaces()
- new function owl_find_relevant_eyespaces()
- cpu time support for regress.pike
- broke new spread_connection_distances() out of compute_connection_distances()
- new spread_connection_distances() tuned
- t moves devalued to value 16
- new function edge_distance() in board.c
- CPU time reported by twogtp.py
- new static function endgame_find_backfilling_dame() in endgame.c
- new static function endgame_find_liberties() broken out of
endgame_analyze_worm_liberties()
- new owl_mineye() and owl_maxeye() and corresponding autohelper functions
- move_connects_strings revised not to try connecting invincible strings
- ALL_MOVE move reasons no longer considered to guarantee a safe move
- never give cutstone bonus for an inessential string
- new test suite joseki.tst
- do_push_owl() doesn't copy unnecessary fields of local_owl_data anymore
- retire special meaning of owl pattern values 99 and 100
- bugfix in revise_semeai()
- find_half_and_false_eyes() bugfixed
- improve_lunch_attack() revised
- D219 pattern retired
- new pattern action good_attack_threat overrides heuristics in value_moves.c
- new global known_good_attack_threats[][]
- new functions register_good_attack_threat(), is_known_good_attack_threat()
- make delta territory cache aware of base influence recomputation
- owl_find_lunches() revised
- owl_determine_life() bugfixed
- owl.c made completely 1D and other revisions
- new GTP command analyze_eyegraph
- new functions analyze_eyegraph(), evaluate_eyespace(), tactical_life(),
tactical_life_attack(), and tactical_life_defend() in optics.c
- new functions set_/get_/update_/reuse_random_seed()
- save and restore random_seed where it is set to zero in deterministic
GTP commands
- adjust conection and semeai depth parameters according to levels
- don't forget to switch exchange sgf_messages in order_moves()
- influence tuning
- tuning
- joseki tuning
- owl tuning
- major eye tuning
- atari_atari tuning
- new tests and test revisions
3.3.19 released April 28, 2003
- change USE_BDIST to 1 in owl.c
- who_wins() invokes silent_examine_position()
- bugfix in do_owl_analyze_semeai()
- global variable urgent retired
- num_stones pointer in do_corner_matchpat() replaced with macro
- joseki tuning
- new game records and test cases
3.3.18 released April 22, 2003
- don't even try 'wrong' liberties in simple_ladder_attack()
- major revision of do_owl_analyze_semeai()
- do_owl_analyze_semeai tracks ko results and result certainty
- semeai tactical phase deprecated
- semeai_trymove() eliminated
- semeai worms redefined
- new r format character supported by vgprintf
- uncertain semeais treated as critical
- new function sgf_trace_semeai() in cache.c used by SGFTRACE_SEMEAI() macro
- new dragon2 fields semeai_attack_certain and semeai_defense_certain
- owl_estimate_life() revised for use in semeai reading
- don't attack unconditionally dead stones, even if thrashing
- never play on vertices which are unconditional territory for either player
- bugfix in attack_either()
- back-capturing added in attack1() and code restructured
- new regression script regress.pike
- hashtable_clear() doesn't clear already clean parts of the table
- `stackp' pseudofield in Read_result renamed `remaining_depth'
- endgame1.sgf removed from the distribution
- play_move_no_history() revised to speed up undo
- modify_eye_spaces(), remove_lunch(), and not_lunch_helper() removed
- new function estimate_lunch_eye_value() broken out of sniff_lunch()
- obvious_false_eye() moved from owl.c to optics.c
- lunch invalidating patterns removed from conn.db together with
corresponding code in connections.c
- semeai moves stored in dragon2 array
- new functions collect_move_reasons(), semeai_move_reasons()
- new prevent_attach_threat_helper() adds reverse followup value
- DEBUG_TERRITORY made less confusing
- handle suicides in do_commit_suicide(), not in do_play_move()
- fix prisoner accounting in do_commit_suicide()
- DEBUG_INFLUENCE made less noisy
- bugfix in gnugo_estimate_score()
- reevaluate_ko_threats() revised
- new helper backfill_replace
- revisions of twogtp.py
- bugfix in play_move()
- improved output files from scoring mode
- traces added to find_double_threats()
- semeai tracing improved
- fix arraybound violation in corner_matchpat()
- tuning
- influence tuning
- joseki tuning
- owl tuning
- atari_atari tuning
- eye tuning
- new and revised test cases
3.3.17 released March 2, 2003
- most superstring related move generation broken into new superstring_moves()
- try (a bit) harder in attack_either()
- semeai worms do not have to be adjacent but may instead share a liberty
- only claim win for attacking a semeai worm if the attack is unconditional
- moves to defend a semeai worm are marked as possibly connected to the dragon
- liberty_of_goal() shall consider goal vertices where stones were captured
- allow conditional ko capture in attack4()
- new function is_corner_vertex() in board.c
- mark_dragon() changed from static to global
- global variable time_to_die removed
- revision of new_semeai()
- endgame move generator beginnings implemented in endgame.c
- endgame() in ascii.c renamed ascii_endgame()
- dragon_weak() moved to dragon.c
- bugfix in owl_substantial()
- merge superstring related tactical move generators into superstring_moves()
- resigning of hopeless games implemented (over GTP and in replay mode)
- ascii interface revised to support resignation
- twogtp.py revised to support game resignations and endgame contests
- ascii_endgame() renamed ascii_count()
- new ascii_endgame() in play_ascii.c
- new command-line option --resign-allowed
- twogtp script updated to understand resignation
- owl_* fields moved from struct dragon_data to struct dragon_data2
- more trace output in do_atari_atari()
- update_aa_goal() revised
- new dfa builder implemented in dfa.c
- dfa size reduction algorithm implemented
- dfa transformation hints (.dtr) files added to repository
- speed optimizations in cache.c
- hashtable_unlink_closed_results() renamed hashnode_unlink_closed_results()
- check for snapback/oiotoshi reactivated in check_self_atari()
- joseki patterns are matched using corner matcher
- symmetrical joseki patterns no longer match twice
- antisuji joseki patterns are handled by callback now
- goal_elements and callback_data added to all relevant databases to
drop unnecessary pattern elements
- add missing break in main.c
- do_owl_analyze_semeai doesn't crash on certain inconsistent eye results
- bugfix in adjacent_to_nondead_stone()
- unneeded fflush(stdout) flushed from patterns/connections.c
- new tests
- atari_atari tuning
- joseki tuning
- owl tuning
- tuning
- speed up scan_for_patterns()
- remove DFA_SORT
3.3.16 released January 29, 2003
- redundant patterns removed from hoshi.c
- killer move heuristic in reading.c
- bugfix in evaluate_diagonal_intersection
- do_owl_analyze_semeai doesn't crash on certain inconsistent eye results
- new static functions mark_dragon() and identify_thrashing_dragons()
in dragon.c
- dead friendly neighbors of a thrashing dragon also considered thrashing
- new global array thrashing_stone[] to mark all thrashing dragons
- drop move reasons in add_move_reason() when the lists become full
- bugfix in value_move_reasons()
- MAX_REASONS increased to 120
- persistent connection cache implemented but disabled by default
- bugfix in estimate_score
- bugfix for unsigned char's concerning pessimistic_min
- bugfix: estimate_score was called many places with parameters switched
- don't crash reading a bogus sgf file
- more reading functions use candidate move mechanism
- new fast_defense() looks for fast ways to get liberties
- switch strings sometimes in defend_both
- atari_atari tuning
- influence tuning
- tuning
- new tests and regressions
- doc revision
3.3.15 released January 12, 2003
- evaluate_diagonal_intersection() tries additional moves to defend a diagonal
- does_secure() made global and moved to reading.c
- owl_add_move has a new parameter max_moves
- --allpats works with semeai
- defend_both() revised to require that both strings can be saved without ko
- adjacent_to_nondead_stone() in value_moves.c generalized
- try harder in estimate_territorial_value() to detect when an
ATTACK_THREAT should not yield a followup value
- do not use tactical defense threats as ko threats unless the move
itself is strategically safe
- do not count strategical value for tactically critical dragons
- small bonus to dame moves which have a cut or connect move reason
- threaten_to_capture_helper() revised
- new autohelper adjacent_to_defendable_stone_in_atari
- new corner_point in owl.c
- revision of improve_lunch_attack
- surround code revised
- surround code moved up in in make_dragons() and used to correct escape route
- new utility function square_dist() in board.c
- new alternate gnugo.el in interface/gtp_examples
- semeai nodes increased to 500
- owla life accepted on escape in do_owl_analyze_semeai only if stackp>2
- use status instead of owl_status in find_more_owl_attack_and_defense_moves
- speed optimizations in board.c, particularly fastlib()
- now possible to reduce MAX_BOARD and still get working GNU Go
- mkpat now has amechanism for dropping patterns
- corner database creation implemented
- corner database pattern matcher implemented but not activated
- bugfix in play_ascii.c: allow changing handicap/komi etc. in new games
- fixed broken indentation in play_ascii.c
- bugfix in gtp_known_command
- new visible_along_edge() and autohelpers
- influence tuning
- tuning
- eye tuning
- new game records and regression tests
- doc revision
3.3.14 released January 1, 2003
- life.c removed from the distribution
- semeai module made standard
- never decrement *eyemin to negative
- unnecessary patval elements removed from some pattern databases
- mkpat understands goal_elements and callback_data directives
- new autohelper : owl_eye_size()
- tuning
- owl tuning
- Copyright notices updated for 2003
- code maintenance
3.3.13 released December 22, 2002
- new aa_ pattern A16
- tactical move ordering tuned
- complete rewrite of interface to influence.c
- new macros INITIAL_INFLUENCE(color), OPPOSITE_INFLUENCE(color)
- new functions compute_worm_influence(), get_lively_stones(),
compute_dragon_influence(), get_alive_stones(), set_dragon_strengths(),
mark_inessential_stones(), set_strength_data(), mark_changed_string()
to set up calls to compute_influence()
- new gtp command clear_cache
- new functions clear_persistent_owl_cache, clear_persistent_reading_cache
- joseki preparations: mkpat cleaning
- joseki preparations: some currently unused mkpat options changed
- joseki preparations: autohelpers no longer take `patt' argument
- set_value_helper() retired and replaced with inline code, generated by mkpat
- structures for the coming joseki pattern matcher defined in patterns.h
- use "territorial_influence" for pre-owl initial_influence
- safety values WEAKLY_ALIVE and WEAK removed
- use dragon2[].weakness or new field .weakness_pre_owl instead in most places
- use crude_dragon_weakness() to decide whether owl analysis is needed
- intersections with prisoners only contribute 1.0 to moyo_value
- arrays worms[], dragons[] removed in worms.c and value_moves.c
- new discard rule to enforce definiton of attack either/defend both reasons
- cleanups and improvements in board.c
- new function set_up_snapback_moves() in reading.c
- defend1() and restricted_defend1() revised
- TRACE macros and friends unified
- matchpat.c converted to 1D
- strategic bonus for connecting critical dragons out reintroduced
- strategic effect on critical dragon ignored unless move has owl move reason
- influence debug output enhanced
- defense functions in reading.c reorganized
- eye_vertex and eye_graph structures reorganized
- mkeyes.c rewritten to conform the changes in eyes.h
- adjacent() and buggy hadj() macros in optics.c retired
- recognize_eye(), first_map() and next_map() simplified and sped up
- new static reset_map() in optics.c
- new autohelpers omoyo_opposite and xmoyo_opposite
- CLASS_I added to CLASS_MOVE_REASONS in patterns.h
- compactify_att() removes duplicates from attribute list in DFA
- dfa_rt_t.next now stores offset to next state
- new fucntion dfa_shuffle() to minimize jump sizes between DFA states
- shorten generated pattern files to avoid too many lines warning
- new GTP command restricted_genmove
- new function genmove_restricted() in genmove.c
- new parameter allowed_moves[] to do_genmove(), review_move_reasons(),
and find_best_move()
- always call init_board() when reaching a new_position()
- eyes.db revised
- bugfixes in cut_connect_callback() in connections.c
- tuning
- owl tuning
- influence tuning
- connection tuning
- new tests
3.3.12 released November 20, 2002
- optimization in do_play_move: don't check ko unnecessarily
- revision of critical worms to inessential in make_dragons() revised
- owl vital attack patterns now also used for owl defense
- major revision of connection_value(), using new function
crude_dragon_weakness()
- reading.c: new move for defend1(): try to set up snap back
- reading.c: special_rescue4() generalized to hane_rescue_moves()
- a connection move where amalgamtion is inhibited by cut_possible() may
induce further connection moves
- new oracle.c and oracle.db
- oracle is a second gnugo process communicating with the gtp by unix pipes
- experimental alternative move generation --metamachine using oracle
- demonstration pattern database using oracle
- bugfix: gnugo_get_komi() returns float as it should
- ..goal_list macros converted to functions in owl.c
- bugfix in owl_determine_life()
- new functions min_eye_threat() and max_eye_threat() in optics.c
- somewhere() revised
- new autohelper functions [ox]_alive_somewhere
- autohelper functions [ox]_somewhere revised
- major revision of find_connection_distances()
- other revisions and tuning in readconnect.c
- bugfix in find_defense: compare against fourlib_depth when appropriate
- compiler warnings fixed
- new struct dfa_rt_t allows different run-time DFA structure from build-time
- optional #define USE_BDIST in owl.c for better rotational independance
- new and revised tests
- new eat_lunch_escape_bonus() called by sniff_lunch()
- 'make all' does not cause build of extract_fuseki and debugboard
- owl_determine_life is careful if saving a lunch attacks an eye
- bugfix: typo in store_persistent_reading_cache()
- major cleanup in influence.[ch]
- pre-rotated pattern generation in mkpat. (-p option) implemented.
- %2m added as valid syntax for gprintf
- relabel rotation matrices in transform.c
- bugfix in atari_atari_blunder_size: don't crash on inconsistent defense
- autoharvesting of documentation from play_gtp.c
- tuning
- komoku and hoshi tuning
- eye tuning
- owl tuning
3.3.11 released October 29, 2002
- experimental connection code made default
- configure --help cleanup
- minor changes to twogtp*
- revision of CB20 in conn.db
- calls to accurate_approxlib() replaced by accuratelib()
- owl_find_lunches() revised
- owl tuning
- eye tuning
- new game records and regression tests
3.3.10 released October 20, 2002
- fastlib revised
- new accuratelib intended to replace accurate_approxlib
- incremental_self_atari merged into revised is_self_atari
- accurate_approxlib moved to board.c
- old sgftree is now freed on successful sgf loading
- sgftrees are freed when sgf tracing is finished
- sgffile_printsgf() revised
- gtp_fixed_handicap revised
- comments improved in play_gtp.c.
- play_ascii() revised
- combinations() revised
- atari_atari() generates lots of defense moves and validates them
- do_atari_atari() generates lots of potential defense moves
- decide_combination() revised
- YOUR_ATARI_ATARI_MOVE considered safe in examine_move_safety()
- atari_atari tuning
- new GTP commands attack_either and defend_both
- optimization in compute_connection_distances()
- owl code reorganization
- new clear_owl_move_data() set_single_owl_move(),
- break out reading_limit_reached(), owl_estimate_life()
from do_owl_attack/defend
- mode local_owl_node_counter global variable for owl.c
- made long "if (pass == ...)" statements "switch (pass)" in owl.c
- eliminated unnecessary variable "found_read_result" in owl.c
- new strategic_effective_size()
- computation of strategic effect is modified
- new static read_eye() tries to improve recognize_eye() results
- recognize_eye() sets vp->num_attacks/defenses to 0 when eye is found
- new file surround.c
- new is_surrounded(), does_surround() and surround_map()
- new gtp functions is_surrounded, does_surround and surround_map
- new autohelper macros is_surrounded, does_surround and surround_map
- new command line option --decide-surrounded
- new global variable gtp_version
- new option --gtp_version
- new function simple_showboard() in showbord.c
- new function get_last_player() in board.c
- gtp code revised for GTP version 2 and uses this by default
- new function delete_persistent_reading_entry()
- inconsistent results in attack_and_defend() resolved
- compilation errors for EXPERIMENTAL_READING fixed
- new experimental owl code is aware of tails getting captured
- new move reasons OWL_ATTACK_MOVE_GAIN and OWL_DEFEND_MOVE_LOSS
with corresponding supporting code in value_moves.c and move_reasons.c
- new move reason INVASION_MOVE
- pattern class I (invasions) can now be used in patterns.db et al
and not only in influence patterns
- remove EXPAND_TERRITORY_MOVE from strategic_penalty()
- new static function do_find_break_chain2_efficient_moves() split off
from break_chain2_efficient_moves() and revised
- superstring_breakchain() revised
- speed optimization of compute_primary_domains()
- countlib() calls eliminated in count_common_libs(), find_common_libs(),
and have_common_lib()
- escape_value arrays changed from int to char
- bugfix in code awarding strategical value for attacks/defenses of lunches
- bugfix in ATTACK_THREAT handling in estimate_territorial_value()
- bugfix in owl_substantial(); depth values modified correctly
- depth consistency assertion added in do_genmove()
- bugfix in mkpat.c
- new static functions analyze_false_eye_territory(),
connected_to_eye(), and connected_to_eye_recurse() in dragon.c.
- new global array false_eye_territory[]
- critical dragons only consisting of inessential worms are revised
to be inessential
- new function is_false_eye() in optics.c
- new autohelper functions o_captures_something(),
x_captures_something(), false_eye_territory(), and false_eye()
- owl_tuning
- eye tuning
- influence tuning
- tuning
- new game records and regression tests
3.3.9 released September 29, 2002
- new configure option experimental-owl-ext
- code simplification in safe_move (use REVERSE_RESULT)
- new randomness_scaling field in struct move_data and new scale_randomness()
- moves matching Fj and Ft patterns get extra randomness
- fuseki pattern tuning for kakaris in high handicap games
- persistent cache code moved from reading.c and owl.c to new file persistent.c
- speed optimization in order_moves() in reading.c
- speed optimizations in fastlib(), count_common_libs(), find_common_libs()
- duplicate lines removed from safety_to_string()
- draw_active_area() functions in reading.c and owl.c unified
- new ascii command: freehandicap .
- new function: ascii_free_handicap
- report_worm(): print all attack, defense, threat points/codes
- worm_data::defend_codes is now called defense_codes
- enhanced result_to_string() with new return codes.
- removed strategically_sound_defense()
- mingw build searches for mingwex
- pattern symmetry corrections in owl_defendpats.db and patterns2.db
- bugfix in topological_eye()
- don't spread any influence below INFLUENCE_CUTOFF
- mark_safe_stones() distinguishes between SAFE_STONE and OWL_SAVED_STONE
- detect_owl_blunder() calls owl_confirm_safety() if move may harm own eyes
- bugfix and speedups in accumulate_influence()
- bugfix in value_territory()
- comment play_connect_n()
- document play_connect_n() in the texinfo docs
- bugfix in play_connect_n (trace output)
- fix comment in find_double_threats()
- break_chain2_moves() revised
- do_play_move() revised to improve performance
- corrects quoting of special characters in regress.plx
- sgffile_loadandprint() renamed to sgffile_printsgf() and revised
- use EOF rather than -1 the code to read sgf files in sgfnode.c
- major revision of code to write an sgf tree to file in sgfnode.c
- set_depth_values() reorganized
- new function find_half_and_false_eyes() in optics.c
- blunder_size() code reorganized
- new static detect_owl_blunder() and detect_tactical_blunder() in utils.c
- for walking across dragons new first_worm_in_dragon(), next_worm_in_dragon()
- new next_wormlist[]
- mark_changed_dragon() revised using dragon loop
- bugfix in fill_liberty()
- filllib_confirm_safety() revised
- make_dragon(): resolve inconsistent owl result by calling owl_does_defend()
- add assert on inconsistent do_genmove result() in genmove()
- life code completely disabled
- global variables life and life_eyesize removed
- options --life and --life-eyesize removed
- new eye value scheme; all code handling eye values revised
- new functions set_eyevalue(), min_eyes(), max_eyes(),
add_eyevalues(), eye_move_urgency(), eyevalue_to_string()
- eyes.db revised for new eye value scheme and substantially extended
- configure test for alarm removed
- sigterm_handler() and volatile variable time_to_die removed
- functions special_rescue(), special_rescue2() converted to .._moves()
- break_chain2() removed; use new break_chain2_defense_moves() instead
- defend2() and defend3() simplified
- new reading codes GAIN/LOSS for later use in owl
- more consistent use of WIN and REVERSE_RESULT() macros
- new function sgffile_load_and_print()
- new call convention for sgftree* functions
- sgftreeCreateHeaderNode() revised
- sgffile_debuginfo() renamed to sgffile_add_debuginfo()
- new call convention for sgffile_output()
- --color option effective in scoring mode
- sgftree struct and functions consistently used in play_gmp(),
play_solo(), load_and_analyze_sgf_file(), and load_and_score_sgf_file()
- new arrays close_worms[][], close_white_worms[][],
close_black_worms[][], number_close_worms[],
number_close_white_worms[], number_close_black_worms[]
- compute_surrounding_moyo_sizes() revised
- compute_surrounding_moyo_sizes() variant for experimental-connections option
- new function influence_get_moyo_data()
- tuning
- owl tuning
- new game records and regression tests
3.3.8 released September 5, 2002
- remove unneeded inclusion of stdlib.h in helpers.c
- bugfix in matcher_check
- URL's updated in documentation
- tests updated
3.3.7 released September 4, 2002
- better ko tracking searching for additional worm attacks and defenses
in find_more_attack_and_defense_moves() and make_worms()
- new option --output-flags
- output using sgf trees with -o option
- cleaning and minor bugfixes in play ascii
- sgf handling is disconnected from engine again
- moved sgfAddDebugInfo -> sgffile_debuginfo, outputsgf -> sgffile_output
- write "forced" as comment when this ascii mode command is used
- sgftree_readfile does not change root node to NULL
- new blunder_size(), atari_atari_blunder_size() compute the blunder size
- remove vital_string logic in atari_atari code
- remove allowed_blunder_size heuristic in review_move_reasons()
- instead use blunder size more exactly in new function find_best_move()
- bugfix in hashtable_partially_clear()
- bugfix in gameinfo_play_sgftree_rot()
- bugfix (reading uninitialized memory) in sniff_lunch()
- bugfix (EXPERIMENTAL_CONNECTIONS) in cut_connect_callback()
- bugfix (gameinfo_load_sgfheader) in play_ascii()
- man page revised
- new options --mirror and --mirror-limit
- new global variables play_mirror_go and mirror_stones_limit
- new static find_mirror_move(), test_symmetry_after_move() in genmove.c
- Apply "B" cutting pattern from shapes.db only if connection code confirms
- new function test_attack_either_move; gets invoked by patterns
instead of directly adding the attack-either move reason
- new function mark_changed_dragon() in move_reasons.c
- only mark owl defended stones as safe if also sufficiently tactically safe
- matcher_check can analyze existing sgf files
- twogtp-a kills processes
- break_chain2_moves() revised
- placehand() renamed to place_fixed_handicap()
- new function place_free_handicap() in handicap.c with associated
- static find_free_handicap_pattern(), free_handicap_callback() in handicap.c
- new GTP command place_free_handicap
- new pattern database handicap.db
- new autohelper macros handicap_stones, total_handicap_stones for handicap.db
- mkpat.c revised to avoid compiler warnings for constraints using no labels
- new file engine/handicap.c
- placehand() moved from genmove.c to handicap.c
- bug fix in adjusted_worm_attack_value()
- FIXME added regarding several EITHER_MOVE reasons
- show_dragons() revised
- tuning
- influence tuning
- connection tuning
- owl tuning
- revised tests, many new tests, new game files
- added Evan Berggren Daniel to AUTHORS
3.3.6 released August 13, 2002
- extended_chainlinks() revised
- MAX_REASONS increased from 80 to 100
- modify_stupid_eye_vital_point() revised
- new functions improve_lunch_attack() and improve_lunch_defense()
- backfilling in do_owl_attack() when trying the defender's best move
- sniff_lunch() revised
- new experimental_connections contingent code in shapes_callback()
- induce_secondary_move_reasons() revised
- tuning
- endgame tuning
- owl tuning
- request id no longer passed to callbacks in play_gtp.c
- gtp_printid() renamed to gtp_start_response()
- new preprocessing of command lines in gtp_main_loop()
- GTP command dragon_status revised
- bug fix in estimate_strategical_value: EITHER_MOVE negative values
- j pattern value increased from 22.0 to 24.0
- new gtp experimental_score for metamachine
- new DEBUG_MISCELLANEOUS used only in find_eye_dragons
- connection tuning
- B patterns found by find_cuts inhibit C patterns by find_connections
- new connection tests
- strategic_penalty() adds negative strategical move value a bit more often
- revise_thrashing_dragons() revised
- tuning
- owl tuning
- new tests and game records
3.3.5 released July 5, 2002
- bugfix in break_through_helper()
- bugfix in combinations()
- reduced_init_owl() allocates bigger owl stack with --experimental-semeai
- bugfixes in pop_owl(): don't crash if owl stack has moved
- reduce reading depth by one in influence pattern matching
- new struct reading_moves in reading.c
- owl stack can now handle two local_owl_data structs
- semeai code now uses owl stack
- don't push owl data in owl_analyze_semeai below branch depth
- Don't change critical dragons to dead due to semeai results
- DEBUG_SEMEAI trace enhancements
- semeai refinements
- owl_phase now local variable in do_owl_analyze_semeai
- bugfix in do_owl_defend(): computation of escape parameter
- bugfix in play_ascii.c: don't crash on unusual boardsizes
- dead stones with no neighbors are captured territory
- improved debug traces in score.c
- decide-dragon clears cache between owl attack and defend
- influence pattern tuning
- new tests and regressions
3.3.4 released June 19, 2002
- segment_regions also computes territorial value of regions if available
- dragon2.moyo_size_pre_owl andmoyo_size_post_owl replace dragon2.moyo
- new dragon2.moyo_territorial_value, weakness
- strategic dragon evaluation rewritten, setting dragon2[].weakness
- moved interpolate to gg_interpolate in gg_utils.c
- new struct eyevalue
- moves to connect two dragons which are both adjacent to a thrashing
dragon are appreciated by the move valuation
- experimental connections off by default in VC build
- tuning
- influence tuning
- connection tuning
- eye tuning
- joseki tuning
- owl tuning
- new tests and game records
3.3.3 released June 4, 2002
- new function owl_strong_dragon() and new autohelper with the same name
- vital_chain() returns the max number of eyes
- no amalgamation around eye spaces with experimental_connections enabled
- eye spaces no longer modified by INHIBIT_CONNECTION with
experimental_connections enabled
- bugfix in find_connection_moves()
- pattern classes Y and W introduced in conn.db to identify patterns
which only applies with or without experimental_connections
- patterns with class e in conn.db changed to class I to better
reflect current usage
- connection tuning
- improves DFA compile time by doing fewest possible large syncs
- experimental_influence command line and configure option removed
- new flags dragons_known and is_territorial_influence in influence_data
- struct local_owl_data for speedup only holds eye space of relevant color
- owl_eyespace() and allies use only one eyespace
- dfa doesn't report symmetric patterns multiple times
- escape patterns in owl_defendpats.db given E classification
- owl_determine_life() not called during escape attempt
- only print debug output for eyes during owl reading if owl debug is on
- better traces for unused owl patterns
- --decide-connection also reports ko results
- bugfix in load_and_score_sgf_file()
- new test cases
- edge_block and double_atari_chain2 renamed to *_moves
- do_attack uses simple_ladder_attack when stackp > depth+10
- give up simple_ladder_attack below 20 ply when we are komaster
- unused caching code removed from attack? and defend?
- macros used to make reading code readable
- dragon field in struct eye_data removed
- new function find_eye_dragons() in optics.c
- dragon_invincible() and genus computation in make_dragons() revised
- play_connect_n() uses string_connect() and disconnect()
unconditionally, no longer contingent on experimental_connections
- default value for experimental_connections reset to 0
- new command line option --decide-dragon-data
- consistency checking of replacement patterns reenabled for unstable line
- tuning
- new tests and sgf files
3.3.2 released May 6, 2002
- Macro PATTERN_CHECK_ON_DEMAND retired
- allpats options for owl shape moves repaired
- new function extended_chainlinks() in board.c
- connection and cut move reasons are relative to worms, not dragons
- unused find_worm_pair() and related variables removed from move_reasons.c
- MAX_REASONS increased from 40 to 80
- induce_secondary_move_reasons() reimplemented
- tuning
- new test case
- fix warnings generated by regress.plx
- doc revisions
- add_block_territory_move() removed
- BLOCK_TERRITORY_MOVE reason removed
- compute_shape_factor() and move_connects_strings() moved to value_moves.c
- move_reasons_confirm_safety() moved and renamed value_moves_confirm_safety()
- b patterns changed to e in endgame.db, fuseki.db, patterns.db, patterns2.db
- classification letters ordered consistently in pattern databases
- find_backfilling_move() in filllib.c revised
- new debug flag DEBUG_TOP_MOVES
- environment variables GG_OPTIONS and GNUGO when (make)ing tests
- top moves list maintained when moves are rejected
- bugfixes in metamachine
- regression revisions
3.2 released April 25, 2002
- revision of copyright statements and THANKS
- handtalk games moved to their own directory
- correct move number reported in influence for illegal move error
3.1.34 released April 20, 2002
- "choose best anchor"-platform dependency patch in mkpat.c
- bogus (int) conversion removed in get_next_move_from_list
- 3.0 replaced by 3.2 in WINDOWS
3.1.33 released April 19, 2002
- regression/READING, STRATEGY and NICKLAS removed
- makevcdist.pl, doc/gnugo-32.[jpg|eps]added to EXTRADIST
- eval3.sh and semeai2.tst added to automake control
- TODO list in texinfo updated
- class field in struct pattern and class_mask in made unsigned int
- input_FILE and output_FILE in mkpat.c explicitly initialized
- tree based reading not compiled by default
- consistency checking of replacement patterns disabled for the stable release
- more Handtalk games in CVS
- Jessie Annala THANKed
- new function gg_normalize_float2int to address optics.c-platform dependency
- hash_init behaviour made independent of boardsize
- output cleanup: --statistics, and EITHER_MOVE-trace
- floats normalized in finish_pattern() in mkpat.c
- put GNU Go's passes in permanent move history
- assertion in compute_connection_distances corrected
3.1.32 released April 13, 2002
- new update_random_seed()
- gtp_set_boardsize updates the random seed
- reset engine updates the random seed
- aftermath revisions
- combination of --score aftermath and -o options more useful
- dead function opponent_not_passing() removed from genmove.c
- init_influence() and new_value_territory() revised
- sgftree_printboard() made global
- bugfix in owl_hotspots()
- valuation of attack threats revised to allow more ko threats
- bugfix in estimate_strategical_value()
- solid string connection bonus revised to also favor cuts of opponent
- play_gtp() starts with boardsize of board loaded with -l instead of 19
- no warning by default for FF[1] sgf game records
- bugfix in push_owl
- corrected assertion in examine_cavity()
- shadowed variables fixed in dragon.c
- major aftermath code revisions
- doing_scoring contingent revisions in influence_callback(), shapes(),
shapes_callback(), connection_value(), estimate_strategical_value(),
high_handicap_helper(), and reinforce_helper()
- analyze_neighbor() in filllib.c revised
- size of persistent owl cache increased from 100 to 150 entires
- bugfix in owl_confirm_safety()
- territorial value computed for tactical attacks of dead or defenseless stones
- caching of recent compute_escape_influence() results
- reading cache stores depth-stackp instead of stackp
- infl_followup_value renamed influence_followup_value and initialized
- initialize_dragon_data broken out of make_dragons
- dragon_data initialized even on empty board
- owl reasons ignores empty board positions
- twogtp does not report duplicate scores unless they differ
- new gtp get_random_seed, set_random_seed
- tuning
3.1.31 released April 4, 2002
- boardsize field added to persistent caches in reading.c and owl.c
- break_chain_efficient_moves() revised
- new function reduced_init_owl() in owl.c
- mark_dragon_hotspot_values() revised
- revised handling of inessential stones in init_influence()
- bugfix in strategic_penalty()
- owl speedup: owl data immediately stored in owl_stack
- bugfix in do_owl_defense()
- attack() now always returns PASS as move if there is no attack
- some ASSERTs removed in board.c.
- revision in get_next_move_from_list
- bugfix in find_connection_moves()
- begin_sgftreedump() can take a NULL pointer parameter
- new gtp command ladder_attack
- unneeded include directories removed from sgf/Makefile.*
- seed field removed from Gameinfo struct
- new global variable random_seed
- joseki tuning
- Handtalk games in regression/games
- doc revision
3.1.30 released March 30, 2002
- target sgf_properties.h not built by default
- bugfixes in defend2(), special_rescue(), and special_rescue2()
- MAX_INTRUSIONS doubled in size
- intrusions beyond MAX_INTRUSION silently discarded
- new connect_and_cut_helper2 autohelper macro
- platform dependency resolved in store_persistent_reading_cache
- EXP_J_VALUE increased to 35 in shapes.c
- graph_ renamed to tree_ in mkpat.c & related files
- a few FIXMEs addressed
- tuning
- influence tuning
- new logo-32.jpg and logo-32.eps
- newlogo.eps made smaller using level 2 postscript
- doc revision
3.1.29 released March 26, 2002
- asymmetry in influence computation reduced
- case added in strategic_penalty
- simulation of ko threat + answer in sgf output reinstated in tryko()
- new function gg_normalize_float() in gg_utils.c
- platform dependency fixed in readconnect.c by using gg_normalize_float()
- scoring tweaks and optimizations
- bugfix in gg_cputime()
- new function influence_initial_territory to export territory valuation
- negative strategic value added to invasion type moves
- keima shape bonus removed in CB204b
- tuning
- influence tuning
- code consistency cleanup
- new tests in nngs1.tst
- THANKS updated
3.1.28 released March 24, 2002
- hashing dependent on compiler switches, default 64 bit and no full position
- default cache size set to 8
- --stack option and showstack global variable removed
- cache.o removed from libboard.a
- unneeded include of dfa.h removed from patterns.h
- compiler warnings fixed: dragon2_func prototyped, etc.
- bugfix in confirm_safety() plus 1D conversion
- komaster scheme 5 implemented and made default
- update_aa_goal() in combination.c revised
- heuristics to estimate cost of pattern constraint introduced
- constraint cost used in owl callback for speedup
- twogtp and twogtp-a close the sgf file if an engine crashes
- twogtp-a had coordinates reversed
- global variable last_moves[] removed
- move history added to board state
- static function undo_move() in board.c renamed to undo_trymove()
- new global functions store_board(), restore_board(), undo_move(),
get_last_opponent_move(), and get_last_move() in board.c
- macros do_add_stone() and do_remove_stone() removed from board.c
- Position struct removed
- Gameinfo struct revised
- new board_state struct
- API functions gnugo_* work on an internal board state instead of on
an externally provided board state
- board_size workaround in influence.c obsoleted and removed
- revised order of operations in main.c; in particular playing up the
position specified by -l and -L options centralized
- revised modes for --score option
- all undo implementations in GTP, GMP, and ASCII interfaces replaced
by the new undo_move() function in the board code
- Added several .h files to appropriate .dsp files
- corrected gcc warnings & other cleanup in mkpat.c
- komaster_to_string now takes 2 arguments
- new KOMASTER_TRACE; set to log all komaster_trymove calls
- dfa ise announced only as a debug message
- copyright notices updated
- DRAGON2 macro array bounds checking is not the default
- tuning
- test revision
- doc revision
- additional correct answers added to reading.tst
3.1.27 released March 1, 2002
- important bugfix in store_persistent_owl_cache()
- bugfix in semeai_find_backfilling_move()
- new command line option --debug-flags
- new DEBUG_OWL_PERSISTENT_CACHE
- owl.c:draw_active_area draws the owl point
- new printutils.c:routine_to_string()
- KOMASTER_SCHEME 4 introduced
- Tree-based pattern matching introduced.
- pattern-base reading code supports defense by pattern.
- new command-line switches "(attack|defend)-by-pattern"
- OPT enums re-based to 127, to avoid conflict w/ ASCII values.
- reformatted transform.c to look like matrices.
- DRAGON_WEAK implemented in a function and checks array bounds.
- improved fastlib().
- DRAGON2 macro checks array bounds.
- bugfix in readconnect.c:moves_to_connect_in_three_moves()
- for non-variadic, non-VC compilers, add trace_dummy assignment
- new function init_owl() in owl.c
- re-order conditions in revise_semeai to insure valid DRAGON2 data
- organize include file order to facilitate pre-compiled headers.
- use location_to_string in replay_node()
- improve assertion in sgftreeAddComment()
- removes a bogus "," from Pattern D305
- read_attack.db tuning
- new read_defend.db
- VC builds uses precompiled headers
- VC Release builds generate debug symbols
- new '-s' option to regress.pl to control creation of sgf files.
- instruct robots not to follow regress.plx links.
- unexpected results page orders results correctly
- defaults for config.vc(in) made same as 3.1.27 release.
- new semeai test
- doc revision
3.1.26 released February 24, 2002
- experimental influence, experimental and alternate connections are default
- caching code revised to once more work with TRACE_READ_RESULT enabled
- added EXPERIMENTAL_READING to config.vc(in)
- updated makevcdist.pl
- bugfix in owl.c:dump_pattern_list()
- alternative reorganized owl callback structure for substantial speed-up:
- owl_shapes revised, new functions get_next_move_from_list() et al.
- new function dump_pattern_list(...) for debugging
- pattern cleanup
- spelling fixes
- verbosity revisions with alternate connections in readconnect.c
- bugfix in close_bubbles()
- bugfix in compute_owl_escape_values()
- revised "stepped on a bug" message
- bugfix in update_status in semeai.c
- bugfix in estimate_time_by_move
- replay added to debug helpstring
- revised nonvariadic versions of TRACE and allies
- increased MAXSTACK to MAX_BOARD*MAX_BOARD again
- experimental influence taken down for initial influence when dragons unknown
- doc revision
3.1.25 released February 14, 2002
- updated AUTHORS
- command line option --options reports configure options
- verbose reduced in readconnect.
- do_genmove tries harder to restrain thrashing dragons.
- DFA_SORT set to 0.
- new gtp tryko.
- new function fastlib() helper for approxlib family.
- a pattern can now force the anchor point.
- matchpat can be run forcing anchor to be in the goal.
- simplification of UPDATE_SAVED_KO_RESULT
- reduce overhead in non-variadic macro TRACE definitions
- reduce MAXSTACK
- EXPERIMENTAL_READING code much more interesting.
- moved most of EXPERIMENTAL_READING code out of do_attack.
- [ox]lib request only up to MAX_LIBERTIES liberties.
- bugfix in reevaluate_ko_threats
- floating point exceptions stopped in readconnect.c
- experimental influence: yet another new_value_territory revision
- experimental influence: fixed followup values really taken down (shapes.c)
- experimental influence: pattern tuning
- experimental influence: follow-up specific constraints for B patterns
- experimental influence: new_value_territory revised (center correction)
- experimental influence: most fixed follow-up values taken down
- experimental influence: tuning, joseki values increased, some bugs fixed
- experimental_influence ignored for escape influence
- influential doc revision
- edge_double_sente_helper is now autohelper
- owl threat loop broken out
- new global thrashing_dragon
3.1.24 released February 3, 2002
- cleanup of clock.c, filllib.c, fuseki.c, genmove.c, globals.c,
gnugo.h, hash.h, printutils.c, reading.c, showbord.c, utils.c,
worm.c
- New function gfprintf in printutils.c
- do_owl_analyze_semeai won't read below MAX_SEMEAI_DEPTH
- AFFINE_TRANSFORM() macro
- new (stub) function opponent_not_passing
- new function sgffile_write_circle_mark
- gg_cputime used for time statistics consistently.
- alternate connection reading algorithm appended to readconnect.c
- new option --alternate-connections toggles the connection reading algorithms
- Zobrist hashing implemented in owl_analyze_semeai
- do_owl_analyze_semeai no longer considers unsafe outside liberties
- small_semeai reimplemented
- make_worms takes the save_verbose parameter to allow a few traces
- traces improved in decide_tactical_semeai
- EXPERIMENTAL_READING code (pattern based) added.
- added "tried" parameter to special_rescue
- defend2-[CD] won't re-try moves (avoid cache check).
- faster implementation of accurate_approxlib.
- mkpat takes multiple -i parameters, outputs in binary
- Visual C now uses _vsnprintf
- revision of patterns/mkpat.dsp
- sgf output tweeking.
- bugfix in experimental influence: floating point exception cure
- bugfix in regress.plx: handling of gtp worm_stones
- tuning
- owl tuning
- connection tuning
- test revision
3.1.23 released January 28, 2002
- configure option: alternate-connections
- experimental influence: followup value computed in influence.c
- experimental influence: new_value_territory revised
- experimental influence: new handling for intrusion patterns
- experimental influence: support for standard/experimental specific patterns
- reevaluate_ko_threats now makes checks
- new get_biggest_owl_target()
- DEFEND_BOTH_MOVE reason taken down
- new gtp functions get_komi and get_handicap
- bugfix in gtp worm_stones: did not print newline if board empty
- support for two strings and two results in cache.[ch]
- simplified code to do cache lookup in reading.c and owl.c
- bugfix in estimate_territorial_value()
- bugfix in find_worm_threats()
- readconnect finds connections through ponnuki
- readconnect sgf improvements
- bugfix in estimate_strategical_value(): ALL_MOVE worms were overvalued
- VC build now DFA compliant
- semeai module sets matcher status to ALIVE instead of ALIVE_IN_SEKI
- regression html view enhancements
- fix arraybound violation in compute_aa_values
- constraint diagram checking moved to new check_constraint_diagram()
- Invoke check_constraint_diagram *before* incrementing patno
- atari_atari_find_defense_moves() revised
- ATTACK_EITHER_MOVE taken down
- new ALL_MOVE reason
- new static find_all_data(), all_move_redundant() in move_reasons.c
- new function add_all_move()
- add_defend_both autohelper macro revised
- tuning
- influence tuning
- owl tuning
- hoshi tuning
- new and revised tests
3.1.22 released January 20, 2002
- find_backfilling_move() in filllib.c revised
- dfa made standard
- owl threat computation made optional (and not default)
- comments added, cleanup around discard_redundant_move_reasons
- new (unused) experimental influence configure and run time options
- unsafe tactical moves now taken care by discard_redundant_move_reasons
- FIXME added for reevaluate_ko_threats
- atari_atari_attack_patterns() uses a goal array to limit search area
- new functions compute_aa_values(), get_aa_value(), and update_aa_goal()
- ko contingent defenses excluded in get_saved_worms(), get_saved_dragons()
- valuation of atari_atari move reasons revised
- recognize_eye() revised
- spelling corrections
- fflush() added a few places
- owl tries tactical defense for small groups
- owl logs number of variations per sub-tree in SGF file
- [ox]play_(attack_either|defend_both) handles ko correctly.
- added [ox]play_connect and dis_connect helpers
- allow followup value if defense threat is contingent on ko.
- only allow territory move values if move is deemed safe.
- reduce cutstone values in case of ko.
- debug printing in influence.c slightly restructured
- new function influence_moyo_color_opposite()
- one trace output reenabled in confirm_safety()
- bugfix in sgftreeAddStone
- bugfix in komaster_trymove
- mascot in dragon.c
- tuning
- eye tuning
- atari_atari tuning
- connection tuning
- fuseki tuning
- owl tuning
- test revisions
3.1.21 released January 12, 2002
- revision of compute_surrounding_moyo_sizes()
- bugfix in pattern EE302
- value_moves.c split from move_reasons.c
3.1.20 released January 11, 2002
- ko return codes from owl_does_attack() and owl_does_defend() handled
in analyze_semeai()
- special_rescue2() generalized and reimplemented
- bugfix in edge_clamp()
- mkpat does consistency checking between the diagram and constraint diagram
- new function connect_and_cut_helper() in helpers.c
- least significant bit of move reason now denotes a threat
- bugfix in add_attack_either_move
- new move reason: EITHER_MOVE
- disabled add_attack_either_move
- removed redundant EITHER_MOVEs
- minor cleanup in move_reasons.c
- some cleanup in move_reasons.c
- renamed some move reasons for name consistency
- new function special_rescue6() in reading.c
- defend3() revised
- don't run compute_eyes on eye spaces not attached to a dragon
- avoid giving followup values to non-sente threats in
threaten_to_capture_helper() and in estimate_territorial_value()
- new test_gray_border() in board.c with assertions in genmove.c
- xplay_attack_either returns WIN not 1
- improved debugging and trace output
- checking of sgf GM and FF properties revised
- Makefile.in's converted using Automake 1.5
- html view enhancements
- tuning
- influence tuning
- owl tuning
- fuseki tuning
- performance tuning
- test revisions
3.1.19 released January 2, 2002
- bugfix in aftermath_genmove()
- bugfixes in the atari_atari code
- obsolete atari_atari code removed
- tuning
- owl tuning
- sgf2tst repair
- regress.plx improvements
3.1.18 released December 23, 2001
- 1D conversion of incremental.texi
- new function dragon_looks_inessential() in dragon.c
- adjusted_worm_attack_value() revised
- indented debug output of secondary move values
- new local struct aa_move in combinations.c
- new pattern class 'c' for conditional moves in aa_attackspats.db
- atari_atari() tries to attack smallest targets first
- combinations() finds multiple defenses when opponent has a combination attack
- new gtp commands owl_connection_defends and owl_substantial
- mkpat checks that main diagram and constraint diagram have the same size
- mkpat stricter in parsing of classification field
- new function gg_sort() in gg_utils.c
- all calls to qsort() replaced by calls to gg_sort()
- linear_eye_space() removed
- make RTRACE and VTRACE variatic functions same as macros
- debug output and valuation of attack on defenseless stones corrected
- TODO revised
- fixed value of J patterns no longer scaled with board_size
- bugfix in owl_attackpats.db pattern D1137
- assertion added in owl_escape_value()
- bugfix in moves_to_connect_in_three_moves() in readconnect.c
- support for all tactical worm points in debugboard
- tuning
- owl tuning
- influence tuning
- atari_atari tuning
- test revisions
3.1.17 released December 16, 2001
- new configure and runtime options semeai-variations
- new function semeai_trymove()
- bugfix in catalog_goal
- semeai revisions
- warning avoided in dfa_avoid_string()
- code cleanup
- devalued attacking dead group bonus
- corrected value to final_value in review_move_reasons()
- value_territory() in influence.c revised
- common debug code moved from compute_eyes(), compute_eyes_pessimistic()
to print_eyes()
- inactive support to test against linear_eyes() in compute_eyes_pessimistic()
- MAXPATNO increased to 400 in mkeyes.c
- naive_ladder() replaced by simple_ladder()
- bugfixes in attack_threats()
- new gtp commands reset_connection_node_counter, get_connection_node_counter
- removed small valued lunch attacks and defenses in owl_determine_life()
- new gtp commands owl_threaten_attack, owl_threaten_defense
- better error reporting in mkpat.c
- improved error reporting in owl.c
- html regression view tweeks
- new function second_order_liberty_of_string() in board.c
- readconnect.c revised
- take into account followup values if reverse_followup >= 1
- try a little harder in attack_either
- break_through_helper improved
- tuning
- owl tuning
- eye tuning, adding many patterns with occupied margins
- test revisions
3.1.16 released December 9, 2001
- readconnect revised
- new board.c function breakchain3()
- dsp and config.vc updates
- new function influence_get_moyo_segmentation()
- new function add_influence_source()
- computations of moyo size surrounding a dragon changed
- confirm_safety() takes two new parameters to tell which stones were saved
- atari_atari_confirm_safety() revised
- compute_aa_status() revised
- new is_vital_string() in combinations.c tracks stones not to be sacrificed
- generation of attack moves in do_atari_atari uses patterns
- new pattern database pattern/aa_attackpats.db
- atari_atari_find_defense_moves() improved
- new functions get_saved_worms() and get_saved_dragons() in move_reasons.c
- new function move_reasons_confirm_safety()
- examine_move_safety() revised
- new function decide_combination() in sgfdecide.c
- new option --decide-combination
- new experimental-combination configure option, and command line options
- new gtp command aa_confirm_safety
- bugfix in trymove()
- 1D revisions and cleaning up
- new file: engine/movelist.c
- generalized handling of move lists and moved from worm.c
- attack_threats() enhanced
- AA_THREAT_DEPTH set to 3
- find_worm_threats() uses attack_threats more
- pessimistic_compute_eyes() tries harder to find a vital point
- new atari_atari_find_attack_moves() and atari_atari_find_defense_moves()
- do_atari_atari() restructured
- experimental-semeai configure option
- experimental_semeai command line option
- new function new_semeai()
- owl_analyze_semeai improvements
- split USAGE_DEBUG in half due to VC limitation
- removed final VC warning in dfa.c
- revised trace in value_move_reasons()
- regress.plx improvements
- speedup in gtp_same_dragon
- test revisions
- 13x13 tests
3.1.15 released November 30, 2001
- new field value in struct half_eye_data
- topological_eye(), evaluate_diagonal_intersection() take ko into account
- improved debug output in compute_eyes() and compute_eyes_pessimistic()
- add_half_eye() renamed add_false_eye
- make_proper_eye_space() and remove_eyepoint() removed
- owl_topological_eye() reimplemented to look up stored data
- new function special_rescue5() in reading.c
- defend2() and defend3() revised
- new GTP commands list_stones and tactical_analyze_semeai()
- new command line option --decide-tactical-semeai
- support for marginal eye points with opponent stones in eyes.db
- persistent caching added to owl_does_attack()
- owl_does_defend() and owl_does_attack() now understand ko
- owl_determine_life() revised
- owl_analyze_semeai() revised
- small_semeai() calls owl_analyze_semeai
- new function silent_examine_position()
- find_more_owl_attack_and_defense_moves() revised
- ko valuation revised
- cutting worms are never inessential
- 1D revision of print_eye() in optics.c
- compute_eyes_pessimistic() revised
- bugfixes in evaluate_diagonal_intersection()
- new gtp commands owl_analyze_semeai, owl_does_attack, and owl_does_defend
- revision of owl_analyze_semeai()
- new static catalog_goal in owl.c
- sgfdecide functions made 1D
- empty_corner_value adjusted to board size in fuseki()
- removed tactical reading move pass from owl.c
- contribution of (reverse) followup values revised in value_move_reasons
- comments made 1D in owl.c
- regress.pl now accepts "problem sets"
- regress.plx includes "unexpected result" list
- new gtp_example/sgf2tst.pl
- changed warning to error in mkpat.c
- minor change to regress.pl
- atari_atari now considers general threat the first moves
- new depth parameter aa_threat_depth
- new function: atari_atari_succeeded
- cleanup in atari_atari functions
- compute_escape_influence now 1D
- new function in reading.c: attack_threats
- handling of tactical moves in worm.c no longer static
- replaced abort() in mkeyes with fatal error messages
- patterns.dsp and gnugo.dsw revised
- tuning
- influence tuning
- connection_tuning
- owl tuning
- test revisions
- new trevora tests
- new semeai tests
- doc revision
3.1.14 released November 17, 2001
- recognize_eye() revised
- new function test_eyeshape() in optics.c
- new gtp command test_eyeshape
- vital and num_vital fields removed from struct eye_graph
- mkeyes.c revised
- non-territory patterns introduced in the influence code
- revised formula for addition of followup_value
- better trace output for followup_value and reverse_followup_value
- typo fixed (whose_moyo for whose_area) in value_territory()
- new debug flag DEBUG_TERRITORY
- delta computation of territory, moyo, and area in influence.c restructured
- influence_value part of move valuation removed
- new function is_edge_vertex() in board.c
- guess_eye_space() revised
- compute_eyes_pessimistic revised
- do_owl_defend() revised
- move stupid vital marginals from first to second line in owl_determine_life()
- patterns.dsp doesn't reference invalid file
- regress.pl deals with threads better on Win32
- regress.plx supports view by category
- updated regress.pl
- add file & line numbers to more warnings in mkpat.c
- comments in reading.c made 1D
- DFA_ENABLE ifdefs removed
- remove *.dfa stuff from makefiles keeping only DFA_FLAGS for mkpat.
- configure --enable-dfa touches .db files.
- bugfix in find_double_threats()
- global_matchpat() renamed matchpat()
- regression view includes node counts, SGF link, and -t output.
- GTP echo_err added to allow echoing to STDERR.
- atari_atari moved to combination.c
- restricted_defend1 and restricted attack2 now public functions
- in find_double_threats, make threat reasons into attack_either reasons
- old disabled function remove_move_reason() now enabled
- some simple cleaning
- genmove now 1D
- out of bounds array violation in showbord.c fixed.
- regress.pl records sgf trace for owl_attack & owl_defend.
- regress.plx provides access to sgf trace files if present.
- tuning
- connection tuning
- eye tuning
- owl tuning
- influence tuning
- revision of rot tests
- ld_owl_life.tst removed
- new and revised regression tests
- Some tests in endgame.tst corrected.
3.1.13 released November 6, 2001
- new function are_neighbor_dragons()
- verbose value reduced while running owl_reasons
- influence code revised
- function find_stones_saved_by_move() in move_reasons.c removed
- find_more_owl_attack_and_defense_moves() revised
- owl attacks induce strategical defenses of friendly neighbors
- connection values revised
- territorial value of attacks, defenses, owl attacks, and owl
defenses computed through influence function, not effective_size
- bugfix in computing effects of min and max territory values
- played stone not automatically in goal array in owl_does_defend(),
owl_confirm_safety(), and owl_connection_defends()
- gtp commands debug_influence, debug_move_influence, move_influence removed
- cleanup in mkpat.c
- malformed line warning turned into error in mkpat
- 1D documentation revisions.
- twogtp-a now give a (halfhearted) default to missing goprog.
- twogtp-a works for VC builds now.
- mkpat.c generates more useful errors.
- mkpat.c forces output to have compile error if input also had errors.
- comments in readconnect.c
- snapback only looks at one liberty in readconnect.c
- do_atari_atari confirms the *defense_point is safe before returning
- atari_atari_confirm_safety initializes defense_point
- trivial bugfix in move_reasons.c
- important bugfix in semeai.c, could cause a crash
- tuning
- owl tuning
- influence tuning
- gtp_set_boardsize resets the engine and stack
- new and revised regression tests
- new command-line option --orientation
- -l and decide-* options can be combined with --orientation
- tuning and regression revisions
- regress.plx revisions: total line, time display, command line hint
3.1.12 released October 28, 2001
- break_chain2_efficient_moves() and break_chain2_moves() revised
- add_array() in readconnect.c simplified
- bugfix in moves_to_connect_in_two_moves()
- sgf traces turned off in quiescence_capture()
- new fields owl_attack_code and owl_defense_code in struct dragon_data
- revised definition of WEAK and WEAKLY_ALIVE dragons in make_dragons()
- revised computation of size of surrounding moyo for a dragon
- 1D revisions
- add_attack_move() and relatives also take the result code as parameter
- new move reasons ATTACK_MOVE_GOOD_KO, ATTACK_MOVE_BAD_KO, and so on
- move valuation distinguishes between attacks, defenses, owl attacks
and owl defenses with or without ko
- connections tested as owl defenses when connecting out a critical dragon
- revised valuation of threats and strategical attacks
- compute_eyes_pessimistic() revised
- owl_determine_life() revised
- new static compute_aa_status() broken out of three atari_atari functions
- tuning
- connection tuning
- owl tuning
- joseki tuning
- new and revised regression tests
- new reorientation test suites
- remove rot* subdirs from EXTRA_DIST
- bugfix in score.c (typo from 1D conversion)
- revisions to extract_fuseki: make partial board patterns
- revised fuseki9.db
- Corrected VC build error converting unsigned 64-bit long to double
- regress.pl split into regress.pl & regress.plx
- added -all, to have regress.pl parse Makefile.in for tstfile list.
- html view has better marking of non gg_genmove positions.
- New move generator: combinations() in new file combinations.c
- double attack threats detected
- better valuation of attacks on worms
- general cleanups
3.1.11 released October 21, 2001
- tuning
- owl tuning
- eye tuning
- new function owl_proper_eye() and autohelper with the same name
- valuation of uncertain owl defense moves revised
- evaluate_diagonal_intersection() revised
- new pattern class b in owl_defendpats.db
- handling of same_dragon field in struct owl_data revised
- do_atari_atari() revised
- bugfixes in make_worms()
- 1D revisions all over the engine
- new debug flag DEBUG_READING_CACHE
- same_dragon() renamed is_same_dragon()
- new gtp commands start_sgftrace and finish_sgftrace
- new and revised regression tests
- new gtp command top_moves
- bugfix in draw_back
- Add ON_BOARD1 assertions in liberty_of_string and neighbour_of_string
- Use Win32 API to get CPU time usage for all Win32 builds, not just VC
- Added a few scattered regression comments
- Updated regress.pl to latest ever evolving version.
- Adds several test cases and SGF files to trevor.tst & games/trevor/
- reorientation code moved from gtp.c to play_gtp.c
- owl_rot.tst uses reorientation code
- fixed sscanf problem in (worm|dragon)_(stones|data)
- allow dragon_stones to take color parameter, as well as coord.
- revisions to capture.tst and vie.tst
- further 1D revision in dragon.c
- top_move functionality added to regress.pl
- filllib.c and semeai.c made 1-dimensional
- new gg_cputime in gg_utils.c
- improved configuration for ncurses/{term,curses}.h
- new and improved tests
3.1.10 released October 14, 2001
- portability fix for MINGW. Don't include crtdbg.h
- rename connect to string_connect.
- all move reason handling is 1D
- owl goal and other date are 1D
- new and revised test cases
- bugfix in random.c
- revision of readconnect.c
- bugfix for Cygwin: gtp_dragon_data misreports invalid coordinate
- revision of trevor.tst
- bugfix in inv_rotate: use bs-1 instead of bs
- new gtp function orientation
- new gtp function query_orientation
- in gtp_mprintf use gtp_print_vertex for the %m format specifier.
- revision of regress.pl, Stone.pm
- revision of engine/engine.dsp: remember readconnect.c
- make gtp_loadsgf reorient gamerecords
- make gtp_printvertices orient output points back
- new function count_common_libs() in board.c
- struct worm_data tracks all attack, defense, attack and defense threat points
- remove_attack_move() and remove_defense_move() removed
- attack_move_known(), defense_move_known(), attack_threat_move_known(),
and defense_threat_move_known() moved from move_reasons.c to worm.c
- change_attack() and change_defense() moved from utils.c to worm.c
- new functions change_attack_threat() and change_defense_threat() in worm.c
- new function worm_reasons() in worm.c
- trace messages in worm.c changed to DEBUG_WORMS messages
- remove_opponent_attack_and_defense_moves() and
do_remove_false_attack_and_defense_moves() removed from move_reasons.c
- NON_ATTACK_MOVE and NON_DEFEND_MOVE move reasons removed
- try a little harder to find attack threats
- attack.db and defense.db revised
- indirect_helper() removed from helpers.c
- tuning
- minor owl tuning
- new function have_common_lib() in board.c
- new option --decide-connection
- new function decideconnection() in sgfdecide.c
- bugfixes in board.c, sgfdecide.c, and main.c
- new IS_COLOR macro
- comments moved from regression/STRATEGY to strategy.tst
- time_report has a mintime parameter
- many new tests in strategy4.tst
- new regression/golois/*.sgf
- new connect.tst global.tst vie.tst wolf.tst
- new gtp function cputime
3.1.9 released October 7, 2001
- revised examine_move_safety heuristics
- owl_determine_life() revised
- new gtp functions connect and disconnect
- naive_ladder() made global
- warnings eliminated from readconnect.c
- most functions in readconnect.c made static
- add point reorientation functions
- add some comments to dfa.c
- bugfix and cleanup in naive_ladder()
- new interface/GoImage/Stone.pm
- struct eye_data arrays changed from 2D to 1D
- 9x9 case revised in fuseki()
- bugfix in goal detection in matchpat, don't accept empty goal vertices
- bugfix in gtp_genmove()
- new test cases in owl.tst
- further 1D revisions in worm.c
- find_lunch() moved from utils.c to worm.c
- is_same_worm() converted to 1D
- bugfix in list_move_reasons()
- revised test case in niki.tst
- tuning
- owl tuning
- connection tuning
- new implementation of compute_primary_domains()
- new eye pattern
- bugfix in fuseki.c
- cleanup and further 1D conversion in optics.c
- sgf_decideeye doesn't require owl computation
- 1D revisions in worm.c
- is_worm_origin(), propagate_worms(), does_attack(), does_defend() are 1D
- NNGS customization removed from ascii interface
- gtp_worm_stones can be run with stackp>0 and can take a color argument
- mkpat can take -i and -o options
- MIN_BOARD is 5
3.1.8 released October 1, 2001
- defend2() revised
- attack2() revised
- break_chain2_moves() revised
- connection_value() revised
- most parts of move_reasons.c converted to 1D
- domain calculation in optics.c now 1D
- hash.c is more 1D
- new function is_ko_point() in board.c
- computation of cavities removed from worm.c
- computation of caves removed from dragon.c
- computation of inessential worms moved from make_dragons() to make_worms()
- computation of ko points removed from make_worms()
- printing of cutting stones removed from genmove.c
- examine_cavity() simplified and made static
- cavity_recurse() simplified
- ko field removed from worm_data struct
- border field removed from dragon_data struct
- several fields moved from struct dragon_data to struct dragon_data2
- false_margin field eliminated from struct eye_data
- cleanup of sgf code
- extended functionality of gtp commands dragon_stones and worm_stones
- gtp_dragon_data returns a list of strings
- new gtp functions dragon_stones and worm_stones
- revision of extract_fuseki
- revision of fuseki.c
- bugfix in break_chain3
- bugfix in special_attack4
- warning fixed in mkpat
- formatting errors fixed in decidestring and other places: use %1m
- bugfix: trace in move_reasons.c
- gtp_dragon_data() revised
- new gtp functions dragon_stones and worm_stones
- twogtp-a writes html
- tuning
- owl tuning
- eye tuning
- one new test case in reading.tst
- new regression/games/trevor/* and unsorted tests mv'ed to trevor
- new tests xxlin.tst
- strategy4 target in regression/Makefile.am corrected
- rotated tests revised
- dsp files revised
3.1.7 released September 24, 2001
- heye[] is now stored as a 1-dimensional array
- halfeye() is now called is_halfeye()
- new macro for traversing all points: for_all_board()
- atari_atari and helper functions now 1D
- all goal functions in reading.c now 1D
- calls to the goal functions in reading.c converted to 1D calling standards.
- bufix in do_find_superstring()
- bugfix in aftermath_genmove()
- bugfix in hashdata_recalc()
- bugfix in store_persistent_owl_cache()
- assertions added to are_neighbor_strings()
- analyze_neighbor() in filllib.c revised
- alternative definition of ASSERT1 macro corrected
- revised valuation of vital eye moves
- colored legends with -T output
- make internals of worm[][] 1-dimensional
- make eye data 1-dimensional
- new macros: PASS_MOVE and NO_MOVE
- change_attack and change_defense are now 1-dimensional
- worm handling in move_reasons.c is now 1-dimensional
- dragon.c is now 1-dimensional
- prefix struct option in getopt.c with gg_
- prefix all occurences of optarg with gg_
- improved color support in cygwin and VC++
- brighter colors under VC++
- increase BOARDSIZE by one
- set MAX_BOARD to 19 for development versions
- new functions readsgffilefuseki, gametreefuseki in sgfnode()
- tuning
- owl tuning
- new strategy4.tst and unsorted.tst
- new game record and new and revised filllib regression tests
3.1.6 released September 15, 2001
- limited pushing of p[][] allows one level of recursion in global_matchpat
- bugfix in sgf_utils.c function get_moveX() and get_moveY()
- new functions find_common_libs() and are_neighbor_strings() in board.c
3.1.5 released September 15, 2001
- board changed from 2D to 1D array representation
- major revisions of board.c and reading.c
- smaller revisions more or less anywhere
3.1.4 released September 14, 2001
- do_atari_atari tries harder to find defenses
- confirm_atari_atari checks to see if tried move really causes the combination
- changing a group's status from CRITICAL to DEAD does not satisfy atari_atari
- bugfix in find_more_owl_attack_and_defense_moves()
- new function start_timer() and time_report() in utils.c
- showtime code cleaned up in dragon.c, genmove.c, and move_reasons.c
- move numbers printed correctly in ascii interface
- minor changes and cleanup in ascii interface
- prefix getopt_long and the options struct with gg_
- new functions sgfFreeNode and sgfFreeProperty
- tuning
- influence tuning
3.1.3 released September 6, 2001
- bugfix in the atari_atari code
- obsolete sgf_dump facilities removed
- remove_string removed from gnugo.h
- add_replacement_move() in move_reasons.c revised
- in value_move_reasons() ko threats are affected by shape values
- tuning
- don't call new_position for every stone when playing out an SGF tree.
- new gtp engine metamachine in interface/gtp_examples
- new gtp command query_boardsize
3.1.2 released September 4, 2001
- realloc space for owl stack if needed
- new static functions push_owl and pop_owl
- bugfix in move_reasons.c to avoid overcounting certain attacks
- move replacement mechanism implemented in move_reasons.c
- new autohelper action replace()
- new game record and regression test
- new tests and regressions
3.1.1 released August 31, 2001
- halfeyes valued slightly more guessing eye value for shapes not in eyes.db
- all owl data stored in do_owl_attack() and do_owl_defend()
- revised definition of inessential strings in owl_find_lunches()
- confirm_safety() revised
- owl tuning
- global_matchpat() to perform pattern matching on the whole board.
- removed scan loops from different files.
- matchpat() made static
- size test made one time for all the board.
- reverse spiral implemented to compute the move's row in the spiral path.
- bugfixes and improved trace output in atari_atari functions
- bugfix in dragon.c: broken format crashed printworms option
- bugfix in play_gtp.c: format needed extra newline
- configure --enable-profile implemented
- new game records and regressions
- new gtp_example vanilla.c
- missing subheadings added in doc/*texi
- BREAKAGE reset
3.0.0 released August 24, 2001
- komi can be set from CGoban using the command line
- play_gmp takes a Gameinfo * parameter
- corrected bounds in small_semeai
- simplified bounds check in double_atari
- explicit cast to avert warning in play_gtp.c
- doc revision
2.7.256 released August 23, 2001
- unused dragon.old_safety retired
- bugfix in owl_determine_life: signed char mx
- no long filenames in games/arb
- variations eliminated in dublin1.sgf
- one dublin1 test in connection.tst
- doc revision
2.7.255 released August 22, 2001
- two declarations moved in liberty.h
- dilate_erode, sgftree_printboard and resize_dfa are static
- doc revision
2.7.254 released August 21, 2001
- MAXSTACK expanded
- struct move_data renamed owl_move_data in owl.c
- superstring_breakchain made static
- bugfix in showboard: capture colors switched
- stray | removed from manyfaces.tst
- revised newlogo
- Trevor Morris and Stephan Somogyi THANKed
- initials cleaned and comments edited in patterns.db
- doc revision
2.7.253 released August 20, 2001
- gtp_loadsgf modified to work on Mac OS X
- DEFAULT_LEVEL 10 in config.vc and config.vcin
- newlogo.jpg restored in doc/
- gtp2_6 added to interface/gtp_examples/
- doc revision
2.7.252 released August 19, 2001
- moved interface/gtp/ to interface/gtp_examples/
- pragma disable 4244 4305 added to config.vc and config.vcin again
- placehand does not place a stone if handicap == 1
- gameinfo_play_sgftree default handicap is 0.5 if handicap != 0
- regress.awk strips carriage returns for DOS compatibility
- doc revision
2.7.251 released August 18, 2001
- moved the komi field from Gameinfo to Position
- change usages of komi in various places
- estimate_score no longer declared in gnugo.h
- use gnugo_estimate_score in play_gmp, play_solo, play_ascii, debugboard
- bugfix in gameinfo_load_sgfheader: initialize handicap
- abortgo.sgf reference taken out of abortgo
- gameinfo_play_sgftree does not place a stone if handicap 1
- twogtp default handicap 0, not 1
- twogtp declares file FF[4] not FF[3]
- doc revision
- win/ directory removed
- WINDOWS revised again
2.7.250 released August 17, 2001
- bugfix in main.c: stray hyphen broke compile
- bugfix in interface.c: reject weird handicaps
- bugfix in double_atari: reject off board locations
- bugfix in aftermath: reject off board locations
- new WINDOWS
- new logo
- do_play_move made static
- doc revision
- pragma disable 4244 4305 added to config.vc and config.vcin
- new command load in ascii mode.
- reference of --autolevel in help massege.
- fixed a bug in sgf file saving (to avoid strange handicap)
2.7.249 released August 16, 2001
- print_moyo color parameter eliminated
- All FIXME's classified post 3.0
- bugfix in owl_big_eyespace: check ON_BOARD(oi,oj)
- bugfix in fill_liberty: check ON_BOARD
- bugfix: initialize path in dfa matcher
- moved dfa scan function and others from dfa.c to matchpat.c
- moved dfa_fixup_for_size into dfa_compile_for_match.
- cleanup of dfa code
- removed heavy functions dfa_scan() and dfa_restart()
- new function scan_for_pattern()
- New warning in mkpat for DFA_MAX_MATCHED update.
- a warning fixed in dfa.c
- Any pattern db can use wired dfa's.
- removed load_dfa() and save_dfa() functions.
- removed -d option from mkpat.
- removed unused values from dfa_t struct
- sync_product uses a hash table instead of an huge array
- new stucture test_array_t and new static functions in dfa.c
- DFA_MAX_BOARD set to 21
- revision of all .dsp files
- analyze.h removed from engine/Makefile.am
- unused function dump_data removed from score.c
- bugfix in aftermath_genmove()
- code cleanup
- unchosen fuseki moves from fuseki database awarded a smaller value
- filllib and aftermath moves also recorded with move_considered()
- potential_moves array converted from int to float
- PROFILE_PATTERNS disabled by default
- computation of inessential strings in owl_find_lunches revised
- is_worm_origin() moved from utils.c to worm.c
- test mode option replaced by a replay option
- code in play_test.c heavily rewritten
- owl tuning
- new gtp function top_moves
- new game record and regression tests
- doc revision
- new tests tanguy.tst, dublin1.sgf and dublin2.sgf
2.7.248 released August 7, 2001
- undo implemented in play_gtp
- estimate_score renamed old_estimate_score
- new_estimate_score renamed estimate_score
- gtp commands new_score and prisoners renamed estimate_score and captures
- default level set to 10
- config.guess and config.sub removed from the distribution
- moyo.c and analyze.c removed from the distribution
- obsolete --moyo options retired
- count_territory, evaluate_territory and remove_string removed
- new function gnugo_estimate_score
- doc revision
- cleanup
- minor tuning
- Jens Yllman added to authors
- patterns.dsp replaced
- VC++ warnings addressed
2.7.247 released August 2, 2001
- aftermath_genmove() revised
- bugfix in do_genmove(), no reinforcing moves while scoring
- bugfix in estimate_territorial_value(), no reinforcing moves while scoring
- bugfix in score.c, 19 replaced by board_size
- bugfix in confirm_safety(), verbose not restored in two cases
- values used by worm[][].conditional_status made more consistent
- connection_value returns a higher value if we are ahead
- status INESSENTIAL distrusted by connection_value if we are ahead
- xcut autohelper macro rejects B pattern ! as well as *
- connection tuning
- score, upper_bound and lower_bound are made global variables
- estimate_strategical_value takes score parameter
- revision of score report in play_solo
- new --showscore option
- tuning
- owl tuning
- spelling mistake in regression/Makefile.am fixed
- new regression test and game record
- code cleanup in analyze.c
- assert() changed to gg_assert() in extract_fuseki.c
- mkpat and joseki add copyright notice to built files
- verbose prints the score
- bugfix in report_dragon: if dragon.id = -1 ignore dragon2
- VC++ compatibility changes
- DFAFLAGS is -D instead of -d
- autolevel target is level 10, not 11
- play_gmp uses new_score at game end
- doc revision
- revision of twogtp
- new game records and connection tests
2.7.246 released July 15, 2001
- if ahead, owl_prevent_threat move reasons given real value
- tuning
- owl tuning
- Chinese counting implemented
- ascii mode revised
- files gtp.c and gtp.h under X11 licensing
- autolevel option activated
- bugfix in matchpat.c
- new #define GNUGO_PATH in config.h.in
- fixed some problems with inclusion of dfa in pattern c files.
- mkpat is now called with option -D instead of -d => no more binary dfa files.
- in matchpat.c dfa_match_init do not try to load dfa's files anymore.
- load_dfa() adapted to enable wired dfas
- wired dfas
- new macro gg_assert
- change_dragon_status() replaced by change_matcher_status()
- minor cleanup
- atari_atari_try_combination turns down verbose
- hyphenation of some command line options
- project files *.dsp and *.dsw revised
- color support revised
- doc revision
2.7.245 released July 5, 2001
- aftermath code revised
- new options --allow-suicide, --play-out-aftermath, --capture-all-dead
- unused constant MAX_TRY removed from genmove.c
- option --noinhibit removed
- new function and autohelper max_eye_value()
- new global doing_scoring affecting valuations while scoring
- bugfix in valuation of attack_either and defend_both moves
- neither black nor white used in colored displays
- new gtp commands final_status, final_status_list, and protocol_version
- gtp_playblack and gtp_playwhite revised
- warning eliminated in debugboard/gui.c
- fuseki9.db regenerated from a bigger set of games
- new regression tests and game records
- regressions/niki.tst included (omitted by mistake from 2.7.244)
- new autohelper macro effective_size
- copyright notice added to twogtp
- depth values increased in owl_substantial
- followup contribution cap lowered to tot_value
- tuning
- owl tuning
- hyphens replace underscores in command line options
- doc revision
2.7.244 released July 1, 2001
- followup values are calculated more carefully
- attacks on uncertainly DEAD dragons are now called uncertain defense
- confirm_safety less verbose
- demotion of many fuseki patterns
- tuning
- owl tuning
- reduction of j and t classes
- new function atari_atari_try_combination and autohelper macros
- TRACE_ATARI_ATARI replaced with DEBUG_ATARI_ATARI
- Use double instead of timeval structs for clock time values
- Removed a lot of heavy timeval functions from clock.c
- new function clock_time_graph() for time/move/level stats
- added more traces to clock functions
- pushbutton does not complain when no initialisation is done
- removed a lot of non used memory check in mkpat:
- mkpat never rejects a pattern but complains if it makes the dfa big
- the -d and -D option of mkpat do not require arguments
- -m option is now alway used in Makefiles to save memory on owl pats
- -r option eradicated from mkpat.
- ignore trailing white space in input to mkeyes.c
- remove @SET_MAKE@ from Makefile.am.
- remove config.guess en config.sub from distribution
- revision of coloring part of configure.in
- play_ascii correctly marks the last stone played while GNU Go thinks
- doc revision
- new test nikki.tst
2.7.243 released June 22, 2001
- dragon.owl_status_certain split to owl_attack_certain, owl_defend_certain
- new_estimate_score is run every move if level >= 8
- if safely ahead, uncertain defensive moves are added
- revision of certain connection values
- WEAK safety value reduced
- doc/gtp.texi revised
- aftermath code revised
- warnings eliminated in clock.c
- on board assertions in same_dragon()
- liberty filling code revised
- value of empty corners reduced in fuseki.c
- tweek in influence_callback()
- more careful valuation of ko threats in value_move_reasons()
- confirm_safety() call in review_move_reasons() avoids bad ko threats
- more careful detection of disturbing moves in the persistent owl cache
- new function owl_confirm_safety()
- new function atari_atari_confirm_safety()
- confirm_safety() and double_atari() revised
- gtp_final_score() revised
- new gtp commands fixed_handicap, level, name, and version
- code cleanup
- tuning
- owl tuning
- eye tuning
- new helper backfill_helper() and autohelper function with same name
- new function interface/twogtp
2.7.242 released June 19, 2001
- bonus for uncertain defense/attacks reduced
- bugfix: defense threat move reasons not generated for illegal moves
- tuning
- owl tuning
- more careful to get dragon.owl_status_certain right
- dragon.owl_status_certain can affect dragon.safety
- corrections to -m option
- bugfix: OWL_DEFENSE_THREAT was reported incorrectly
- adjective ``reliable'' disassociated from semeai()
- bugfix in decidedragon: report uncertainty correctly
- revision of gtp_report_uncertainty
- ignore trailing whitespace in patterns
- add prototype in dfa.h for print_c_dfa
- some sgf files standardized
2.7.241 released June 12, 2001
- owl_attack and owl_defend return a certainty value
- new field dragon.owl_status certain
- new UNCERTAIN_OWL_ATTACK and UNCERTAIN_OWL_DEFEND move reasons
- revisions and corrections to some gtp functions
- tuning
- owl tuning
- reduced value of j patterns by one point
- merged new_matchpat.c into matchpat.c
- when no dfa file is found, use standard do_matchpat()
- fixed a reference to nonexistent merged_board[][].
- updated dfa matcher to merged_val optimization.
- removed check_pattern() function.
- dfa board preparation moved to dfa_match_init()
- new constant DFA_MAX_MATCHED
- assertion to check possible DFA_MAX_MATCHED overflows.
- added --clock,--byo_time and --byo_period in --help listing.
- new function print_c_dfa() in dfa.c
- new option -D in mkpat.c puts the dfa into the binary
- doc revision
- new tests and regressions
- corrections to old tests and regressions
2.7.240 released June 12, 2001
- new autohelper function macro owl_threatens
- CAN_THREATEN_ATTACK and CAN_THREATEN_DEFENSE renumbered
- status_to_string revised
- gtp declarations sorted alphabetically
- new gtp command "help" lists gtp commands
- gtp command dragon_data revised
- show_dragon revised
- new function safety_to_string
- tuning
- owl tuning
- game regression/games/pending ssstator.sgf added
- last two moves cached in global last_moves_i, last_moves_j array
- bugfix: sometimes owl_threat_status was wrongly UNCHECKED
- when reading a file even passes are given to gnugo_play_move
- OWL_PREVENT_THREAT reason valued more if opponent adds to a dead dragon
- new vital owl attack pattern VA17
- change ko_i and ko_j to board_ko_i and board_ko_j in new_matchpat.c
- bugfixes in captured_territory() from score.c
- new game records and regression tests
- aftermath code revised
- pure_threat_value increased from 0.0 to 0.4 in genmove()
- new flag worthwhile_threat in the move[][] array used in move_reasons.c
- new function add_worthwhile_threat_move() in move_reasons.c
- new pattern classification W for worthwhile threats
- bugfix in owl_does_defend()
- active area computation in store_persistent_owl_cache() revised
- bugfix in atari_atari code
- print_regions() in score.c reimplemented
- new game records and regression tests
- doc revision
2.7.239 released June 8, 2001
- use gg_gettimeofday routines in stead of gettimeofday
- make autoconf 2.50 script detect mingw32
- include config.h in gnugo.h
- new file score.c
- new function new_estimate_score()
- new gtp function gtp_new_score
- fixed --score last and --score [movenum]
- aftermath code revisions
- new function same_string() in board.c
- global variable threats_enabled renamed disable_threat_computation
- new global variable disable_endgame_patterns
- new function owl_hotspots() and reading_hotspots()
- revision of induce_secondary_move_reasons()
- connect_strings bonus revised
- new functions edge_clamp() and edge_block() in reading.c
- performance improvement in atari_atari() and do_atari_atari()
- improved traces from the atari_atari functions
- minor tweaking of move ordering parameters
- performance improvement in superstring_add_string() in utils.c
- tuning
- owl tuning
- new regression suites blunder.tst and newscore.tst
- new and revised regression tests
- new and revised game records
- missing parameters supplied to is_illegal_ko_capture in value_moves
- bugfix in fuseki
- incorrectly dimensioned arrays fixed in gtp_all_legal
- is_pass() moved to board.c
- A number of FIXMEs addressed
- minor cleanup
2.7.238 released May 28, 2001
- aftermath_genmove() revised
- new global threats_enabled to disable computing worm and dragon threats
- definition of WIN, KO_A, KO_B, LOSE, and CUT only in gnugo.h
- minor optimizations in filllib.c and owl.c
- better debug support for persistent owl cache
- move order tuning in reading.c
- neighbors of invincible worms excluded from active area in persistent cache
- owl tuning
- new game records and regression tests
- new option --autolevel (not activated by default).
- revision of clock.c and clock.h
- broken return codes corrected
- new gtp command worm_cutstone
- doc revision
2.7.237 released May 27, 2001
- revised reading and owl return codes
- incremental_board.c removed from engine/Makefile.am
- parameters to chainlinks() and chainlinks2() revised
- incremental_order_moves() counts stones in atari more accurately
- superstring functions reimplemented
- new function find_superstring_stones_and_liberties
- optimization in owl_does_defend()
- detection of insubstantial strings in owl_determine_life made more efficient
- persistent reading cache size doubled from 50 to 100 entries
- revisions in defend2() and defend3()
- order_moves() revised
- bugfix in break_through_helper
- order_moves doesn't sort singleton lists
- pure threat value in do_genmove set to zero
- more stats with -b option
- globals your_last_move_*, my_last_move_*, no_old_data_exists removed
- superceded dragon data caching scheme taken down
- new tests and regressions
- new gtp command worm_cutstone
- new testsuite cutstone.tst
- new game record wormflaw.sgf
- minor tuning
- doc revisions
- some FIXMEs addressed
- debugboard now shows all worm and most dragon data
- upgrade configure.in to work with autoconf version >= 2.50
- new files config.guess and config.sub
2.7.236 released May 17, 2001
- shadowing and persistent caching of reading functions implemented
- new function get_move_from_stack()
- new functions draw_reading_shadow() and purge_persistent_reading_cache()
- new function attack_and_defend()
- new tests and regressions
- fill_liberty() looks for ko back captures
- minor tuning
- bugfix in double_atari
- bugfix in komaster_trymove: i - j confusion
- new functions: gnugo_play_sgfnode and gnugo_play_sgftree
- new functions: gameinfo_load_sgfheader and gameinfo_play_sgftree
- renamed load_sgf_header, play_sgf_tree, sgfPlayNode and sgfPlayTree
- sgfutils.c removed
- removed incremental_board.c and sgfutils.c from engine/Makefile.am
- renamed neighbor_of to neighbor_of_string
- renamed liberty_of to liberty_of_string
- minor cleanup of gnugo.h
- doc revision
- print more debugging info in worm.c
- rewrite loop in worm.c with deltai and deltaj arrays
- revision of play_test
2.7.235 released May 5, 2001
- aftermath code revised
- owl reuse is off by default
- function komaster_trymove() replaces move_allowed()
- optimization in is_self_atari()
- new function owl_big_eyespace() and corresponding autohelper function
- new field unconditional_status in struct worm_data
- new static function edge_closing backfill in reading.c
- move ordering scores available outside order_moves()
- attack4() rewritten
- propose_edge_moves() revised
- relative_break_chain() obsoleted and removed
- move ordering scores written in sgf output file with variations
- sgf output file records komaster
- changed parameters to unconditional_life()
- unconditional_life() now finds unconditional dead stones and territory
- reinforce_helper() revised
- tuning, owl tuning
- tune_move_ordering() can write c code for inclusion
- new and revised regression tests and game records
- new global variable shadow[][]
2.7.234 released May 4, 2001
- komaster implementation corrected in owl.c
- sgf traces now show komaster in -o output
- bugfix: --no_owl_reuse was broke
- bugfix in sgfutils.c which could crash on some files with IL property
- IL property moved to the end of files reading16.sgf and reading20.sgf
- variable length value for SGFproperty
- numeric keypad can be used for cursor movement in debugboard
- debugboard needs slightly smaller screen
- debugboard shows data for both black and white eyes
- new movement buttons for debugboard: ctrl-a and ctrl-e
2.7.233 released April 29, 2001
- revision of the komaster scheme
- persistent owl caching
- owl_attack is more cautious if an attack can produce a ko
- parameters in acconfig.h sorted in order recommended by comments in file
- config.vcin is once again brought in sync with the current config.h
- bugfix in eyes.db
- SGF IL property can set (board_ko_i, board_ko_j)
- owl test 27 corrected
- new tests manyfaces.tst
- new directory regression/games/seki_exotics
- doc revision
2.7.232 released April 25, 2001
- break_chain2_efficient_moves() revised
- bugfixes in order_moves()
- new tuning parameter safe_atari_score in order_moves()
- bugfix in configure.in
- spelling correction in gnugo.texi
- same_dragon(), report_dragon() and ascii_report_dragon() moved to dragon.c
- speed improvements in filllib.c
- corrected size of defend_not_adjacent_lib_score[] array in reading.c
- bugfix and minor reorganization in review_move_reasons()
- remove incremental_board.[ch] from engine/Makefile.am
- hashtable_unlink_closed_results() can now remove read results selectively
- remove incremental_board.[ch] from engine/Makefile.am
- hashtable_unlink_closed_results() can now remove read results selectively
- attack tuning
- new GTP command: echo
- attack tuning
- tuning
- endgame performance tuning
- minor cleanup
- commented some tests in NICKLAS test suite
- bugfix in nicklas2.tst
- SGF PL property handling in play_ascii.c corrected
- revised order of inclusion of header files in interface/main.c
- Chinese and Japanese rules were switched
- new files "clock.h" and "clock.c"
- new global struct "clk" handeling the timers.
- new global variable "clock_enabled" (set to 1 by --clock XXX).
- new functions clock_isOver(), clock_isByoYomi(), clock_getTimeLeft()
- new options --clock, --byo_time and --byo_period
- compute the clock delta error
- cleanup clock initialisation in main.c
- new games and regressions in arb.tst
- new games mfgg*.sgf and nightmare.sgf in regression/games/pending
- macros abs, max and min renamed gg_abs, gg_max and gg_min
2.7.231 released April 20, 2001
- we do not reuse data unless 2 last moves are on the board
- last moves are set by play_solo
- extra level inserted between levels 6 and 7
- nominal depth variables by mandated depth variables
- revised handling of depth variables set at command line
- new function set_depth_values()
- get_location renamed string_to_location and moved
- review_move_reasons tries harder not to return illegal moves
- same_dragon() moved to board.c
- redundant lunch timing removed from dragon.c
- average move time computed by --showtime
- atari_atari uses restricted_defend1 to find second move
- tuning
- aftermath code revised
- new function aftermath_compute_score()
- new debug flag DEBUG_AFTERMATH
- new functions store_position(), restore_position() in engine/interface.c
- who_wins() moved from moyo.c to utils.c and revised
- superstring_breakchain() now considers ko
- score computations consistently use positive values for white wins
- gtp_loadsgf sets no_old_data_exists=1
- new gtp command final_score()
- scoring option --score aftermath now works properly
- new regression file score.tst
- add configure test for variadic #define
- fix bug in configure test for __FUNCTION__
- remove __ prefix from function prototypes in gg-getopt.h
- new option --chinese_rules
- new configure option --enable-chinese-rules
- new functions ascii_report_dragon and report_dragon for use in gdb
- new game records and test cases
- minor doc revision
2.7.230 released April 13, 2001
- default default level is 8
- default level can be set at configure or run time
- default cache can be set to arbitrary value at configure time
- revised ko handling
- kothreat_needed no longer needed
- aftermath uses genmove_conservative
- tuning
- owl tuning
- influence tuning
- systematic use of faster ON_BOARD macro
- new function is_illegal_ko_capture()
- does_capture_something() made public
- new function genmove_conservative
- improved --showtime information
- minor revision of confirm_safety
- print_top_moves() split out from review_move_reasons()
- configure tests for keypad
- malloc.h inclusions taken down
- help string revised
- new tests and regressions
2.7.229 released April 9, 2001
- caching of owl data implemented and reuse on later moves
- showtime option shows information about owl reading time
- new global variables my_last_move_i, my_last_move_j, no_old_data_exists
- last_move_i, last_move_j renamed your_last_move_i, your_last_move_j
- incremental_order_moves() revised
- order_moves() revised
- attack2() revised
- bugfix in linear_eyes()
- do_owl_attack() and do_owl_defend() revised and simplified
- more robust topological eye analysis in owl_determine_life()
- vital moves for multiple eyespaces recognized in owl_determine_life()
- sniff_lunch() revised
- owl_eyespace() ignores eyespaces which do not yield a single eye
- joseki.c revised
- tuning, owl tuning, eye tuning
- new takamoku joseki
- new game record and test cases
- test results updated
2.7.228 released March 30, 2001
- parameters kom_i and kom_j complement komaster field in many functions
- routine_i_j_stackp renamed compressed_data
- komaster added to cached compressed_data field
- parameters ko_i and ko_j renamed board_ko_i and board_ko_j
- GRAY is a synonym for GRAY_BORDER
- incremental_board.* removed
- incremental board functionality merged into board.c
- revised komaster scheme in reading.c and owl.c
- trick to avoid sorting corners in matchpat.c
- mkpat -m now works in both dfa and non-dfa mode
- compile_for_match() no longer calculates merged values
- revised debug messages in influence.c and sgfnode.c
- tuning
- owl tuning
- influence tuning
- new game records and regression tests
- test results updated
2.7.227 released March 23, 2001
- new file engine/aftermath.c
- temporary option "--score aftermath"
- "connect strings" bonus in move_reasons.c revised
- bugfix in value_move_reasons
- all vital owl attack pattern matches counted
- bugfix in owl_determine_life(), a no longer valid shortcut disabled
- dead code removed from owl_reasons()
- break_chain2() revised
- various FIXMEs addressed
- try kos in play_break_through_n(), play_attack_defend_n(),
and play_attack_defend2_n()
- bugfix in atari_atari
- worm threats on second order liberties.
- new transform.c
- endgame tuning
- tuning
- eye tuning
- owl tuning
- new regression test cases and game records
- more copyright messages updated
- minor doc revision
2.7.226 released March 21, 2001
- bugfix in atari_atari
- minor speedups in matchpat.c
- looks for tactical ko theats
- long USAGE string split in interface/main.c
- removed main.c.zheng and interface.dsp from distribution
- tuning
- owl tuning
- updated copyright messages
2.7.225 released March 15, 2001
- new move reasons: ATTACK_THREAT_MOVE and DEFEND_THREAT_MOVE
- new functions compute_effective_worm_sizes() and
find_worm_attacks_and_defenses() split off from make_worms()
- new function find_worm_threats(), called from make_worms()
- redundant NULLs removed from attack.db, barriers.db, conn.db,
defense.db, endgame.db, fuseki19.db, fuseki9.db, and patterns2.db
- extract_fuseki.c revised not to generate unnecessary NULL string
- owl tuning
- new and revised regression tests and game records
2.7.224 released March 8, 2001
- komaster status stored in reading cache
- several functions in cache.c made static
- new function incremental_order_moves() to support order_moves()
- cleanup in topological_eye() and evaluate_diagonal_intersection()
- improved traces in owl.c
- semeai detecting code in owl_reasons() taken down
- tuning
- eye tuning
- owl tuning
- endgame tuning
- new game record
- new and revised regression test cases
- endgame fix in move_reason.c
- cleanup in helpers.c
- tests for both sides in endgame.tst
- estimate_score only if DEBUG_SCORING
- revision of rotated tests and arb.tst
- vc project files revised
- Yin Zheng and Don Wagner added to acknowledgements
2.7.223 released February 28, 2001
- bugfix in play_move()
- make_domains() distinguishes strictly between owl calls and others
- bugfix in examine_position()
- inessential worms excluded in one time in estimate_strategical value
- false_margin() revised
- inessential strings added in the owl code
- MAXPATNO incresead in mkeyes.c
- tuning
- eye tuning
- owl tuning
- name collisions resolved in pattern databases
- regression/READING revised
- new and revised regression test cases
- bugfix in regressions/Makefile*
- revised nicklas* regressions
2.7.222 released February 26, 2001
- dead code removed from dfa.c, dfa.h, mkpat.c
- o_somewhere and x_somewhere only check matcher_status if stackp==0
- bugfix in atari_atari
- bugfix in analyze_semeai
- dragon.owl_status, status and matcher status initialized
- tactically critical nakade stones reclassified as inessential
- influence code revised
- no strategical attack value for strongly alive dragons
- hardwired values for J, j, and t patterns scaled with the board size
- maximum values for j and t patterns disabled for boards < 17x17
- tuning
- influence tuning
- owl tuning
- endgame tuning
- bugfix in mkpat.c, patterns of class c were unintentionally disabled
- new game records
- new and revised regression test cases
- nonstandard SGF records and missing handicap stones fixed
- Mathias Wagner thanked
2.7.221 released February 19, 2001
- restricted_attack2 and restricted_defend1 remember to set komaster
- matcher_status only initialized to CRITICAL if owl code says so
- bugfix in matchpat(), static variable properly reset
- new debug messages in semeai.c
- tuning
- rotated tests updated
- test results updated
- new test reading 141
2.7.220 released February 17, 2001
- TODO revised
- experimental influence based score estimation
- scoring option in ascii interface uses the influence score estimate
- test for tactically critical O worms restored from 2.7.218
- atari_atari tries harder to find refutations
- influence B patterns do not accept dead stones
- revised connection values
- bonus for moves which both owl defend/attack and connect/cut something
- new autohelper for owl patterns; owl_eyespace()
- defend_both() tries harder to find attackable splitting strings
- class_mask[CRITICAL][color]=CLASS_O in new_matchpat
- open dfa files in binary mode on MS-DOS and Windows
- fix dfa error messages.
- sgf code now understands PL[1] and PL[2]
- new pattern class c, weak connections
- tuning
- owl tuning
- influence tuning
- eye tuning
- new game records
- new and revised regression tests
- test results updated
2.7.219 released February 13, 2001
- redundant test for tactically critical O worms taken down in shapes_callback
- fix bug in glib configuring
- link dfa.c instead of include it.
- extra parens in influence
- add extra brackets to code1 macro in accumulate_influence
- tuning
- bugfix in mkpat.c: autohelper function halfeye() now works
- gnits automake option removed
- new test ego.sgf
2.7.218 released February 7, 2001
- O patterns reject CRITICAL friendly dragons
- in make_worms() if worm.defend==PASS move not tried
- in attack_callback() ignore strings with 5 liberties
- default memory increased to 32Mb
- configure supports 48MB and 64MB models
- minor tuning
- doc revision
- vsnprintf error gives warning, not fatal error
- duplicate owl test 186 renumbered
2.7.217 released February 1, 2001
- worm.c: only add defense move if worm.defend != PASS
- find_defense returns PASS if string is alive as stands
- defend1 pattern gets constraint
- caching scheme revised so that the cache can be cleared on the fly
- new debug flag DEBUG_READING_PERFORMANCE
- only make requested dfa files (currently owl*dfa)
- tuning
- owl tuning
- new game record dniwog.sgf
2.7.216 released January 29, 2001
- missing files generate_owl_dfa.sh and matchtest.sh in minipat2 restored
- local_owl_node_counter initialized in owl_substantial
2.7.215 released January 28, 2001
- bugfix in analyze_semeai()
- bugfix in find_attack_patterns()
- new gtp command combination_attack
- defend_against_atari_helper() revised
- new regression test suite atari_atari.tst
- STRATEGY revised
- new regression tests and game records
- reenable board printing on core dumps
- bugfix in attack_callback: attack patterns are matched again
- integrate rolled and unrolled versions of accumulate_influence
- move invariant code out of loop in accumulate_influence
- put patterns/minipat2 under automake control
- include unistd.h in patterns/dfa.c for sleep function prototype
- add pkgdata_DATA macro to patterns/Makefile.am
- add macro DFAFLAGS
- bugfix in dfa generation: borders constraints now always checked.
- modification in patterns.h to avoid a warning: struct dfa *pdfa
- add experimental check_pattern_light() function only checking
- DEBUG_OWL_PERFORMANCE reports CPU times
- vgprintf uses %.2f for %f
- tuning
- influence tuning
- owl tuning
- attack tuning
- minor cleaning
2.7.214 released January 21, 2001
- combo attack and defend_both/attack_either can't both add to move value
- bugfix in atari_atari()
- eye tuning
- owl tuning
- READING revised
- new and revised regression tests
- test results updated (except nicklas*.tst)
- doc revision
2.7.213 released January 20, 2001
- bigger moyo measure allowed for big dragons before owl code is disabled
- compute_eyes_pessimistic() no longer consults the life code
- cleanup of mkeyes.c
- now possible to specify edge and corner vertices in eyes.db
- mkeyes.c and recognize_eye()
- owl_substantial() revised
- bugfix in special_rescue3()
- loop unrolled in order_moves
- revision of is_hoshi_point
- bugfix in analyze_semeai(): don't try PASS moves
- shape value in j or t pattern now modifies hard-wired value
- atari_atari makes atari even if a chain is already in atari
- environment variable $GNUGO_PATH used to load dfa files
- fixup a Sun portability bug with enable-dfa
- fixup for owl_vital_apats.db with enable-dfa
- tuning
- connection tuning
- eye tuning
- owl tuning
- READING revised
- new regression tests and game records
2.7.212 released January 18, 2001
- assertion added in is_ko()
- revision of compute_eyes_pessimistic()
- vital_apats consulted also by do_owl_defend
- vital_apats only consulted if level >= 9
- followup values reduced in two helpers
- eye tuning
- owl tuning
- two new helpers finish_ko_helper() and squeeze_ko_helper()
- portability patch for dfa in patterns.h
- portability patch for cygwin in mkpat.c
- test revisions
2.7.211 released January 16, 2001
- new file owl_vital_apats.db
- vital_apats are consulted by do_owl_attack regardless of genus
- new static variable match_found in owl.c
- estimate_territorial_value() limits overvaluation of half point kos
- changed order of min and max constraints in value_move_reasons()
- analyze_semeai() revised
- generic_walk made static in utils.c
- tuning
- owl tuning
- eye tuning
- READING and STRATEGY revised
- new and revised regression test cases
- new game records
- rotated tests corrected
2.7.210 released January 14, 2001
- bugfix in reading.c: superstring liberty arrays needed more space
- bugfix in owl_reasons which could cause a crash
- bugfix in owl_threaten_attack(): return value was always 0
- owl threatened groups are WEAKLY_ALIVE
- value of connecting WEAK and WEAKLY_ALIVE groups increased
- owl_threats not evaluated if level <= 7
- tactical reading move order tuned
- tuning
- owl tuning
- tuning of hoshi.sgf and sansan.sgf
- new regression suites endgame.tst, viking.tst and strategy28.sgf
- new tests in owl.tst and strategy2.tst
- new regression game records
- revision of rotated test suites
2.7.209 released January 10, 2001
- new parameter superstring_depth (default 7)
- minor tuning of hoshi.sgf
- tuning
- owl tuning
- connection tuning
- renumbering of owl patterns
- AB property added to handicap games in regression/games
- one new owl test
- doc revision
2.7.208 released January 7, 2001
- new reading function special_rescue3
- break_chain2 and break_chain3 calls removed from defend2 and defend3
- call edge reading function from attack2 and attack3
- superstring_breakchain depth in defend2 changed to backfill2_depth
- defend2 and defend3 try playing a liberty of the superstring
- special_rescue3 called from defend3
- break_chain2_moves tests for self atari
- move ordering adds bonus for saved moves
- doc revision
- basic worm building extracted from make_worms.
- new function: build_worms
- estimate_territorial_value requires owl reasons with VITAL_EYE_MOVE
- better reading at the edge
- some fixes in debugboard
- use same reading depths in debugboard as in gnugo
- minor tuning
2.7.207 released January 4, 2001
- new function break_chain2_efficient_moves
- revision of special_rescue()
- revision of attack2(), attack3(), superstring_breakchain()
- look harder for neighbors of attack moves in examine_move_safety()
- compute_eyes_pessimistic tracks margins adjacent to margins
- owl_find_lunches considers ko captures
- owl_escape_value checks empty before returning -10
- decision to handle tactically moved to semeai_analyzer
- semeai analyzer adds move reasons instead of moving defense
- tuning
- owl tuning
- influence tuning
- revision of rotated tests
2.7.206 released January 3, 2001
- revision of print_influence and print_numeric_influence
- value_move_reasons considers moves with min_territory>0
- reversed level inequality fixed in review_move_reasons
- is_legal replaced by safe_move call in semeai_analyzer
- revision of proper_superstring_chainlinks() and superstring_recurse()
- new patterns in barriers.db
- general cleanup
- tuning of seki patterns
- comments about regression tests
- doc revision
- manpage revision
- new file gnugo.pod
2.7.205 released January 1, 2001
- semeai analyzer looks for owl solution first
- semeai analyzer not invoked for inessential dragons
- owl patterns classified
- bugfix in superstring_breakchain
- minor tuning
- new regessions arion.tst
- revision of rotated tests
- minor doc revision
2.7.204 released December 26, 2000
- superstring technology used in attack2, defend2
- new static functions restricted_attack2, in_list in reading.c
- libi, libj arrays sized 2 (formerly 3) in attack2
- minimum standard joseki value raised to 27
- hurry replaced by level
- print_influence takes dragons_known parameter
- obsolete code removed from optics.c
- minor tuning
- doc revision
- doc/indigo2.sgf removed from distribution
2.7.203 released December 21, 2000
- owl status is checked also for dragons with high escape potential
- new safety value WEAKLY_ALIVE for dragons which are owl alive by escape
- fill_liberty() code revised
- new function filllib_confirm_safety()
- new debug flag DEBUG_FILLLIB and new debug traces in filllib.c
- move valuation slightly revised
- influence code revisions
- maximum move values for standard joseki removed in shapes_callback()
- tuning
- owl tuning
- influence tuning
- new regression test suite filllib.tst
- new tests and game records
- doc revision
- new superstring functions in utils.c
- find_superstring_recurse() renamed superstring_recurse() and generalized
- new superstring_breakchain() and restricted_defend1()
- Separated the SGF library totally from the engine
- integrated sgf_utils.h into sgftree.h
- The Gameinfo struct expanded
- movenum moved to the internals (from gnugo.h to liberty.h)
- Some FIXMEs addressed
- General minor cleanup
2.7.202 released December 17, 2000
- anisotropic attenuation removed from the influence function
- attenuation and strength split into black and white in influence.c
- new semantics for E class patterns in influence_callback()
- new macro ASSERT_ON_BOARD defined in liberty.h
- assertions added in optics.c, move_reasons.c, owl.c, and reading.c
- minor revisions of valuation of defense and connect moves
- bugfix in linear_eye_space()
- bugfix in attack1()
- warnings eliminated in main.c
- workaround in influence.c for bug in main.c
- bugfix in patterns/patterns.h
- bugfix in mkpat for dfa
- tuning
- owl tuning
- default owl_node_limit increased to 600
- revisions of golife.tst, ld_owl.tst, and ld_owl_rot.tst
- doc revisions
2.7.201 released December 8, 2000
- interface/interface.c removed from the distribution
- legal(), suicide() and self_atari() renamed is_legal() etc.
- New API function: gnugo_is_suicide.
- interface/interface.c removed
- playing options quiet is now a global variable
- A number of FIXMEs addressed
- bugfix in linear_eye_space
- minor revision of komoku.sgf and hoshi.sgf
- minor tuning
- unnecessary NULLs removed in patterns.db
- doc revision
2.7.200 released November 30, 2000
- serious bugfix in semeai()
- bugfix in owl.c
- bugfix in pattern ED58
- bugfix in fill_liberty()
- revision of rotated tests
- new file regression/games/me.tst and 3 new strategy2 tests
- test results updated
2.7.199 released November 29, 2000
- color support test restored to 2.7.193 condition in configure.in
- missing doc/api.texi replaced
- analyze_semeai is not called if an owl_substantial worm is en prise
- minor tuning
2.7.198 released November 28, 2000
- bugfixes in owl.c
- new patterns in eyes.db
- tuning
- owl tuning
- minor revisions in analyze_semeai
- revised and new regression tests
- bugfix in dfa.c: gpout was not cleanly reset before synchronization
- if DFA_SORT is set in new_matchpat then sort patterns before check_pattern
- new stat functions update_pattern_stats(), display_pattern_stats(),
reset_pattern_stat()
- dfa_add_pattern is now able to add all transformations into the dfa
- new functions for dfa_add_pattern: permut() and show_pattern_instance()
- fixed some bugs in matcher.c, and matchtest.sh
- removed some unused files.
- option -tm forces the anchor to be in the center and adds all transformations
- added little_owl.tst
- test results updated
2.7.197 released November 27, 2000
- old code removed from moyo.c
- sgffile_decidestring() renamed decidestring() etc.
- owl data structs in owl_attack, etc. made static
- assertion changed in join_dragons
- config.h included in interface.c and main.c
- revisions to owl_analyze_semeai
- show_dragons() lists worm lunches
- assertion corrected in join_dragons()
- new function find_more_owl_attack_and_defense_moves() in move_reasons.c
- strategically_sound_defense() reimplemented
- tuning
- owl tuning
- new file regression/READING reviewing failed reading tests
- new tests in reading.tst and ld_owl.tst
- new game records
- test results updated
2.7.196 released November 23, 2000
- old definition of inessential worms restored
- minor revision of owl_analyze_semeai
- Small rearrangements in board.c
- init_board() renamed to clear_board()
- Some comments and rearrangements in gnugo.h
- major cleanup in hash.h and hash.c
- old definition of inessential worms restored
- #include restored in play_ascii.c, play_gtp.c and hash.c
- new function owl_update_goal()
- revisions of owl_does_defend(), owl_does_attack(),
owl_connection_defends(), and owl_threaten_defense()
- bugfix in owl_threaten_attack()
- doc revision
2.7.195 released November 19, 2000
- owl_analyze_semeai() complete (though still very buggy)
- struct local_owl_data now has a color field
- owl_find_lunches no longer has color parameter
- two missing sgf files restored
- config.h included again in matchpat.c and analyze.c
2.7.194 released November 18, 2000
- continued localization of owl
- new struct local_owl_data for passing goal, boundary and lunches
- new functions owl_update_boundary_marks() and owl_make_domains()
- new function owl_topological_eye()
- name restored in autohelper macro owl_topological_eye
- get_coordinate globalized and moved to printutils.c
- new --decidesemeai option
- new function owl_analyze_semeai()
- Removed all unnecessary inclusion of config.h
- cleanup of worm.c
- Error handing in main.c: get_coordinate()
- shuffling of main.c
- inclusion of cache.h removed from board.c
- definition of inessential worms changed
- dragons classified CRITICAL when owl_attack() and owl_defend() disagree
- join_dragons() revised to choose origin consistently within dragons
- dragon_ring() and dragon_eye() cleaned up and revised
- clear_move_reasons() moved from genmove() to reset_engine()
- revised and extended debug output from influence.c
- strategically_sound_defense() revised
- valuation of inessential dragons corrected
- the owl code doesn't consider escape on the first move
- filter out vital defense moves which are self ataris in owl_determine_eye()
- bugfix in owl_shapes
- bugfixes in owl_substantial()
- attack2() revised
- new function special_attack4() in reading.c
- move ordering retuned
- safe_move() again changed to return 3 for illegal ko captures
- bugfix in shapes_callback()
- gtp_loadsgf() now also calls reset_engine()
- cut_connect_callback revised to deal with join_dragons() changes
- tuning of barriers.db, influence.db, conn.db, and eyes.db
- tuning
- owl tuning
- revision of joseki values
- new game records and test cases
- regression/STRATEGY revised
- mkpat and mkeyes tolerate "\r" for Windows compatibility
- Mingw32 and VC++ compatibility changes in configure.in and debugboard
2.7.193 released November 14, 2000
- owl_topological_eye autohelper macro replaced by topological_eye
- owl goals and boundaries systematically localized
- global owl_goal_color removed
- now O patterns accept critical friendlies if * rescues tactically
- matcher_status used in print_ascii_area (moyo.c)
- new function matcher_status()
- ascii mode save command fixed
- fixme's addressed in play_ascii.c
- tuning
- two ld*sgf files had gotten overwritten by rotated versions--fixed
- revision of test results
2.7.192 released November 12, 2000
- new on board assertions in move_reasons.c
- increased safety value for strongly alive dragons
- territory changes are counted for owl attacks and defenses
- influence changes are counted for semeai moves
- reverse followup values can never more than double the move value
- bugfix in liberty_of_dragon(), check that vertex is empty
- somewhere() function and corresponding autohelpers require that
found stone does not have status dead
- play_attack and play_defend autohelpers return ko results
- tuning of barriers.db, conn.db, endgame.db
- owl tuning
- tuning of patterns.db and patterns2.db
- double_does_break_helper and wide_break_helper replaced by constraints
- new helpers edge_double_sente_helper and defend_against_atari_helper
- new autohelper defend_against_atari
- new target all_batches in regression/Makefile.am
- revision of rotated testsuite
- updating of test results
2.7.191 released November 10, 2000
- bug fix in update_liberties: kmouse_branch_depth
- reading terminates when stackp>mouse_reading_depth
- doc revision
- revised dragon_escape() to allow kosumi directly from dragon
- revised effect of I class influence patterns when computing escape
influence
- find_influence_patterns() add influence barriers "manually" when
computing escape influence
- dragon under consideration is now allowed to contribute influence during
computation of escape influence
- mouse_find_lunches() made static to mouse.c
- new autohelper function mouse_escape_value
- 7 new patterns in mouse_defendpats.db, aiming at escape
- new function mouse_connection_defends() in mouse.c
- code revised in do_mouse_attack(), do_mouse_defend(), and
mouse_mark_dragon()
- mouse_mark_dragon now can take either one or two dragons
- bugfix in do_mouse_attack(), two loop end conditions were off by one
- bugfix in do_mouse_attack() and do_mouse_defend(), the second most
important move was removed when pattern of value 99 found, but not third
most important one
- move_safety field of move_data struct initialized correctly in
move_reasons.c
- examine_move_safety() revised
- order of examine_move_safety() and induce_secondary_move_reasons() calls
reversed in review_move_reasons()
- same_dragon() in utils.c revised to be able to deal with the "no dragon"
case, i.e. (-1, -1) coordinates
- effective_move measure revised to never include intersections further
away than distance 4
2.7.130 released July 11, 2000
- escape2 field removed from dragon_data struct together with code to
compute it
- patterns/escape.db removed
- mouse status and if applicable attack and defense points printed by
show_dragons()
- bugfix in compute_escape_influence() in influence.c
- revised debug and trace messages in mouse.c
- new function examine_move_safety() in move_reasons.c
- strategically_sound_defense() revised
- more restrictions on which move reasons induce a block/expand move reason
2.7.129 released July 9, 2000
- redundant assignments removed from mouse.c
- reading cache cleared after examine_position() call in
sgffile_decidedragon() and sgffile_decideposition()
- new file regression/games/incident262.sgf
2.7.128 released July 8, 2000
- obsolete declarations of black_domain and white_domain removed from
liberty.h
- dragon_escape() and compute_alternative_escape() in dragon.c revised
- new function compute_escape_influence() in influence.c
- new static functions compute_mouse_escape_values() and
mouse_escape_route() in mouse.c
- if --alternative_escape option enabled, do_mouse_attack() and
do_mouse_defend() cut off reading if mouse_escape_route() report a
sufficiently high escape potential
- redundant file interface/debugboard/loadsgffile.c really removed
- removed remaining occurences of return code 2 in do_mouse_attack() and
do_mouse_defend()
- new lunch pattern in patterns/conn.db
2.7.127 released July 6, 2000
- redundant file interface/debugboard/loadsgffile.c removed
- parts of interface/play_solo.c moved into new file
interface/loadsgffile.c
- new library interface/libinterface.a for use by interface/debugboard
- new files sgf/sgfkey.c and sgf/sgfkey.h to handle new abstract type
sgfkey
- find_border() renamed to examine_cavity() in worm.c
- static functions propagate_worm_recursive() and libertiesrec() removed
from worm.c
- code in worm.c simplified and cleaned up
- dragon genus initialized in make_dragons() instead of in make_worms()
- new static functions dragon_escape() and compute_alternative_escape()
in dragon.c
- new option --alternative_escape to enable new escape route measure
- new file /regression/games/incident261.sgf
- one new test in regression/mouse.tst
2.7.126 released July 5, 2000
- change in definition to higher order liberties
2.7.125 released July 4, 2000
- statistics functions reset_mouse_node_counter() and
get_mouse_node_counter() in mouse.c
- corresponding new GTP commands reset_mouse_node_counter and
get_mouse_node_counter
- mouse.tst, ld_mouse.tst, and ld_mouse_life.tst reports the total number of
nodes visited by the mouse reading
- bugfix in mouse_determine_life(), attack and defense points for lunches
were switched
- constraints in some mouse patterns reordered for better performance
- new files incident256.sgf and incident 258.sgf in regression/games
- four new tests in regression/mouse.tst
2.7.124 released July 1, 2000
- tuning of mouse_defendpats.db
- new files incident253.sgf and incident254.sgf in regression/games/
- two new tests in regression/mouse.tst
- restructured and corrected coordinate conversion code in play_ascii.c
2.7.123 released June 27, 2000
- one new pattern in mouse_attackpats.db
- new file regression/games/life_and_death/ld18.sgf
- two new test cases in regression/ld*.tst
- bugfixes in life.c
- new GTP commands debug_move_influence, influence, move_influence,
worm_data, and dragon_data
- new function gtp_mprintf() in interface/gtp.c
- new functions in influence.c to export influence data
2.7.122 released June 22, 2000
- partial implementation of debugboard eyes tab
- black_domain[][] and white_domain[][] now static in optics.c
- make_domains() restructured
- xor() and unique_color() macros removed from showbord.c
- support for boards smaller than 19x19 in debugboard
- worm[][].attacki comparisons with -1 replaced everywhere with
comparisons of worm[][].attack_code with 0
- likewise for worm[][].defendi and worm[][].defend_code
- doc/dragon.texi revised
- new GTP command debug_influence
- code for debug printing restructured in influence.c
2.7.121 released June 20, 2000
- mouse option automatically enabled with decidedragon and decideposition
options
- matchpat() uses mouse status if available
- new file regression/games/incident252.sgf
- one new reading test
2.7.120 released June 17, 2000
- mouse lunches must have attack code 1
- bugfix in tryko sgf output
- many reading functions take komaster argument
- many reading functions made static
- new functions do_attack and do_find_defense (with komaster)
- cleanup in reading.c
- doc revision
- pattern Eye1 in conn.db taken out
2.7.119 released June 16, 2000
- new function gg_vsnprintf in gg_utils.c
- check in configure.in for vwprintf
- gg_vsnprintf used as workaround if vwprintf unavailable
- fcntl/read stuff removed from debugboard
- display_board_cursor() call added at the end of display_refresh()
- leaveok() call removed from display_init()
- debugboard cursor can be controlled by arrow keys
- COLOR_* renamed to GG_COLOR_* to avoid name collision when using
pdcurses
- new file regression/games/life_and_death/ld17.sgf and new ld* test cases
- non-options treated as filenames
- new format strings %H and %C to vgprintf() and relatives
- trymove() and tryko() write hash value together with node number to
output sgf file
- new files incident248.sgf and incident251.sgf in regression/games
- decideeye() moved from utils.c to sgffile.c and renamed
sgffile_decideeye()
- decideeye option now can write variations to an sgf file
- life code revisions
- utils.texi revised
- bugfix in attack_callback() in worm.c
2.7.118 released June 13, 2000
- minor sniff_lunch revision
- new mouse_attack pattern
- new file regression/games/reading03.tst.
- one new reading test
- check for curses also in -lpdcurses
- check for term.h and curses.h in AC_CHECK_HEADERS
instead of separate AC_CHECK_HEADER
- new #define TERMINFO in config.h for the color
code in gg_utils.c, debugboard builds with pdcurses
on DJGPP despite the absence of term.h
- workaround for the case when vwprintw is not available (as in pdcurses)
in display_message() in interface/debugboard/display.c
- print the error message about too small screen after the screen has been
cleared in display_message()
- use O_NONBLOCK as mask instead of FNDELAY since O_NONBLOCK
is more widely available
- remove HAVE_STRING_H use
- include instead of for mingw
included with new cygwin-1.1.1 release
- cleanup of regression/Makefile.am
- load_and_score_sgf_file() revised
- life code revisions
- default life eyesize increased from 8 to 10
- bugfix in mouse_attack() and mouse_defend()
- decideeye() in utils.c revised
- terse option removed
- function remove_string_and_mark() removed from board.c
- distance and strategic_distance code removed
2.7.117 released June 11, 2000
- bugfix in regression/Makefile.am
- countsize() renamed to countstones()
- new function findstones()
- life.c completely rewritten
- regression/games/marginal.sgf extended
- new life and optics tests
- depth values no longer reduced while running make_domains()
- revision of topological_eye()-calling code in dragon.c and mouse.c
- doc/utils.texi revised
2.7.116 released June 9, 2000
- goal now static to mouse.c
- mouse_attack() and mouse_defend() usage simplified
- mouse_effective_defense replaced by mouse_does_defend
- doc revision
- debugboard: strings renamed to worms
- debugboard now gives info about dragons
- debugboard now has a help screen
- color_to_string enhanced with eye colors also
- new function status_to_string in utils.c
- regression/Makefile.am revised so that make check also works with a
VPATH build
- STACK_SIZE revised and assertion added in incremental_board.c
- recognize_eyes2() now returns 0 if the eyespace is too large to evaluate
- assertion added in eyehash_index() in life.c
- size of hash table in life.c corrected
- new function location_set_get_size()
- bugfix in hadj() macro in optics.c
- gtp.c keeps track of the board size in a static variable
- one new reading test
2.7.115 released June 7, 2000
- regression/Makefile.am prepared for VPATH build
- compiling without curses works again, debugboard disabled in that case
- assert that color is BLACK or WHITE in do_trymove()
- pass move in minimize_eyes() scored and tested together with the other
legal moves
- bugfix in maximize_eyes()
- new GTP commands genmove_black and genmove_white
- eyes1.sgf, eyes2.sgf, and eyes3.sgf in regression/games/ extended
- new tests in optics.tst and life.tst
2.7.114 released June 6, 2000
- sniff_lunch revised and moved to mouse.c
- mouse code classifies boundary strings
- bugfix: mouse code was unsafe when stackp>0
- new functions do_mouse_attack() and do_mouse_defend
- more careful includes in interface/debugboard/display.c
- bugfix in incremental_sloppy_self_atari()
- regression shell scripts revised
- global variable color_has_played eliminated
- new function stones_on_board() in board.c
- movenum no longer used in fuseki.c
- examine_position() avoids recomputing data that are up to date
- caching of mouse reading results is no longer using code 2 to indicate a
successful result for pass
- new workaround for mangling of cached negative move coordinates
- statistics functions reset_life_node_counter() and
get_life_node_counter() in life.c
- corresponding new GTP commands reset_life_node_counter and
get_life_node_counter
- life.tst, ld_life.tst, and ld_mouse_life.tst reports the total number of
nodes visited by the life code
- make_worms no longer returns anything
- correct answer for mouse test 37 revised
- temporary workaround in recognize_eye2(), chimeras are reported as one
and a half eye
- maximize_eyes() and minimize_eyes() score and sort the moves to test
- performance optimizations in maximize_eyes() and minimize_eyes(),
shortcut loops where possible unless all attack or defense moves are
asked for
- bugfix in maximize_eyes(), check for marginality when counting eyes
2.7.113 released June 5, 2000
- mouse lunches are sniffed
- sniff_lunch revised
- bugfix in mouse_find_lunches
- new global mouse_goal_color
- bugfix in mouse_topological_eye autohelper
- decidedragon messages corrected when tenuki wins
- mouse tuning
- new function location_to_string() in utils.c
- new function position_examine_position() in engine/interface.c
- new program debugboard located in interface/debugboard/
- warning fixed in utils/gg_utils.c
- comments about mapping of colors for linux console moved from showbord.c
to utils/gg_utils.c
- unused define -DBUILDING_GNUGO_ENGINE removed from engine/Makefile.am
- config.h no longer included by moyo.c or showbord.c
- new functions suicide() and self_atari() in board.c
- a few approxlib() calls in reading.c replaced by suicide() and
self_atari()
- new files incident59.sgf, incident74.sgf, and reading02.sgf in
regression/games
- new mouse and reading test cases
2.7.112 released June 5, 2000
- optimizations of false_margin()
- safe_move() no longer called from make_domains() if mouse code enabled
- call to modify_eye_spaces1() from make_domains() disabled if mouse code
enabled
- bugfix in attack2()
- bugfix in break_chain2()
- duplicate comment block removed from reading.c
- new files incident169.sgf, incident246.sgf, incident91.sgf, and
reading01.sgf in regression/games
- regression/games/life_and_death/ld11.sgf slightly revised
- new mouse and reading test cases
2.7.111 released June 4, 2000
- comment added in attack4
- mouse_attack and mouse_defend call make_domains when stackp==0
- new files mouse04.sgf, incident185.sgf, incident186.sgf,
incident199.sgf, and incident225.sgf in regression/games/
- new mouse and reading tests
2.7.110 released June 3, 2000
- init_color() in utils/gg_utils.c renamed to gg_init_color() to avoid
name collision with curses library function
2.7.109 released June 3, 2000
- HASH64 removed from configure.in and acconfig.h
- config.vcin brought in sync with config.h.in
- macro UCHAR_ALIAS replaced by char
- curses initialization and drawing code moved from moyo.c and showbord.c
to utils/gg_utils.c
- argument source_root removed from sgf_write_header
- new files games/mouse02.sgf and games/mouse03.sgf
- new tests, revised results
- MAX_MOVES increased to 3 in mouse.c
- attack4 tries a little harder
- tuning of mouse patterns
- life and death test cases 52-64 completed
2.7.108 released June 1, 2000
- mouse functions use a return code of 2 if tenuki works
- Zobrist hashing extended to mouse_attack and mouse_defend
- new function new_position() in board.c
- warning fixed in life.c
2.7.107 released May 31, 2000
- random.c and random.h moved from engine/ to utils/
- gg_snprintf() and gg_gettimeofday() moved to new file utils/gg_utils.c
and corresponding header file utils/gg_utils.h
- new function gg_version() in utils/gg_utils.c
- safe move cache implemented for mouse_shapes_callback
- topological_eye autohelper function (taken down in 2.7.104) is back for mice
- topological eye takes both eyespaces as parameters
- 32 new life and death test cases, 1 new mouse test
2.7.106 released May 30, 2000
- tuning of mouse patterns
- fuseki9.db rebuilt from a larger set of games
- new game records and test cases
2.7.105 released May 29, 2000
- config.h only included by files which need it
- one new mouse pattern
- new test suite ld.tst with variations for --mouse and --life options;
added for real this time
- new dedicated fullboard pattern matcher for use with the fuseki
databases
- first move patterns in fuseki9.db and fuseki19.db no longer commented
out
- missing borders added in fuseki9.db and fuseki19.db
- number of preambles in mkpat.c reduced from three to one
- mkpat.c revised to also handle patterns for fullboard matcher
- bugfix in make_dragons(), lunches weren't propagated to the whole dragon
- one new pattern in eyes.db
- pattern Lunch2 in conn.db revised
- regression/games/marginal.sgf revised
- new optics and life regression test cases
2.7.104 released May 28, 2000
- topological_eye takes the eye_data as a parameter
- newgoal removed from mouse_attack
- mouse_attack wins if ALL strings of original dragon are taken
- topological_eye autohelper function temporarily taken down
- mouse apat A39 revised
- make_dragons does not add_lunch if lunch already eaten
- doc revision
- new function false_marginal_eye in life.c
- new eye pattern for 4 point linear eye with a false margin
- Tests for life and optics restructured
- New tests for false margins
- config.h only included by files which need it, plus still liberty.h
- new GTP command dragon_status
- new test suite ld.tst with variations for --mouse and --life options
- shell scripts in regression/ revised
- new game records ld1.sgf -- ld8.sgf in regression/games/life_and_death
2.7.103 released May 27, 2000
- new fields height and width added to the pattern struct
- bugfix in fixup_patterns_for_board_size() in matchpat.c; matching now
works correctly also when the board size changes between calls to
matchpat
- bugfixes in does_attack() and does_defend() in utils.c
- bugfix in false_margin() in optics.c
2.7.102 released May 26, 2000
- better documentation of life code in the source
- life.c handles false marginals
- new function: location_set_isempty() in location_set.c
- regression/games/marginal.sgf revised
- new optics and life tests
2.7.101 released May 25, 2000
- revised doc/gnugo-logo.jpg and doc/gnugo-logo.jpg
- new tests in reading.tst and mouse.tst
- bugfixes in test files
2.7.100 released May 24, 2000
- minimize_eyes and maximize_eyes simplified and bugfixed
- better documentation of the hash table in life.c
- some cleanup in life.c, optics.c
- new format character 'x' in vgprintf (utils.c)
- improved printing of pass moves when %m is used in vgprintf
- default life_eyesize increased to 8
- new eye tests
2.7.99 released May 23, 2000
- suffix rules for .gtp and .res in regression/Makefile
- new regression files regression/*.tst
- regression shell scripts revised
- regression/expected removed
- several new files in regression/games
- several new regression tests
- regression/ directory now under control of automake
2.7.98 released May 22, 2000
- false marginals are renamed false margins
- eyespace search revised in mouse_determine_life
- new file regression/expected
- new targets in regression/Makefile
- regression/games/false_marginal.sgf renamed regression/games/marginal.sgf
- mouse tuning
- several new files in regression/games
- several new tests in regression/mouse.gtp, regression/eyes.gtp, and
regression/reading.gtp
- new GTP commands trymove, popgo, dump_stack, increase_depths, and
decrease_depths
- new function gtp_decode_move() in interface/gtp.c
- ko eyes assigned to a dragon so halfeye analysis is performed
- old regression files in regression/obsolete/ removed
2.7.97 released May 21, 2000
- false marginals are detected during make_domains
- new function false_marginal
- new file regression/games/false_marginal.sgf
- regression tests in regression/eyes reimplemented to use GTP
- regression shell scripts revised
- new targets in regression/Makefile to test optics and life code
- new global variable position_number which is increased any time a real
move (not a trymove) is made or the board is permanently changed by some
other means
- safe_move cache modified to use position_number instead of movenum
- caches in moyo.c modified likewise
- new function setup_board() in board.c
- the functions in engine/interface.c no longer modifies the global board
on their own
- new function gtp_finish_response in interface/gtp.c
- new gtp command eval_eye
2.7.96 released May 20, 2000
- GTP documented
- new file doc/gtp.texi
- reading test suite extended
- regression shell scripts revised
- bugfix in gtp_loadsgf()
- output from gtp_attack(), gtp_defend(), gtp_mouse_attack(), and
gtp_mouse_defend() revised
2.7.95 released May 19, 2000
- new interface: GTP, Go Text Protocol
- new files in interface/: gtp.c, gtp.h, and play_gtp.c
- old contents of regression/ moved to regression/obsolete/
- new regression scripts and suits in regression/
- doc/regression.texi revised
2.7.94 released May 18, 2000
- bugfixes in mouse.c
2.7.93 released May 16, 2000
- writesgf() split into sgf_write_header() and writesgf()
2.7.92 released May 14, 2000
- bugfix in utils.c, config.h included before using information from
configure tests
2.7.91 released May 14, 2000
- all functions in sgffile.c are now prefixed with sgffile_ instead of
sgf_ to separate them from functions which handle SGF trees
- some minor cleanup in dragon.c
- globals last_move_i, last_move_j made local to interface/play_ascii.c
- functions save_state() and restore_state() removed together with
variables white_captured_backup and black_captured_backup.
- move reasons are now sorted
- inclusion of sys/time.h made contingent on HAVE_SYS_TIME_H in utils.c
- inclusion of time.h and/or sys/time.h removed from hash.c and
interface/play_solo.c
- one new pattern in eyes.db
2.7.90 released May 12, 2000
- bugfixes in play_gmp.c, play_solo.c, and play_test.c; gameinfo correctly
initialized
- cleanup of play_gmp.c
2.7.89 released May 10, 2000
- bugfixes in main.c; decidestring, decidedragon, and decideeye options
work correctly again
- new function color_to_string() in utils.c
2.7.88 released May 9, 2000
- minor tuning of mouse_attackpats.db
- extended documentation of influence function
- new function unconditional_life() in utils.c
- MAX_STRINGS macro moved from incremental_board.h to liberty.h
- unused variable removed from do_pass() in play_ascii.c
2.7.87 released May 8, 2000
- guess_mode_from_sgf_comment() removed
- coordinates (-1, -1) are now always used for pass moves (rather than
(board_size, board_size))
- obsolete and unused debug flags marked in gnugo.h
- inclusion of sys/types.h removed from gmp.c
- unused function str2short() removed from sgf_utils.c
- cleanup of play_solo.c, play_test.c, and sgf_utils.c
- bugfix: move number again passed from the interfaces to the engine
2.7.86 released May 7, 2000
- doc revision
- more comments in the code for multiple diagonals of a halfeye
- extended debug outputs in optics.c
- bugfix in hash.c
- new datataype Gameinfo
- Gameinfo used everywhere in interface/*.c
- Gameinfo used instead of Position in a few places otherwise
- new function: position_recordhand()
- board_size no longer public; moved from gnugo.h to liberty.h
- several small functions removed from interface/interface.c
- bugfix in regression/Makefile
- bugfix in mkpat.c
2.7.85 released May 5, 2000
- bugfix in recognize_eye()
2.7.84 released May 3, 2000
- multiple vital eye moves in conjunction with topological halfeyes
supported in both optics and life code
- compiler warnings fixed in interface/play_ascii.c and engine/interface.c
- parameter names added to function prototypes in interface/interface.h
2.7.83 released May 1, 2000
- new functions in engine/interface.c
- p[][], ko_i, ko_j, black_captured, white_captured moved from gnugo.h
to liberty.h, i.e. made local to the engine
- attack() and find_defense() also made local to the engine
- board handling functions removed from interface/interface.c
- all interface functions in interface/interface.c now use the Position
datatype
- sgfAddMoveFromTree() and sgfPlayTree() moved from sgfana.c to ttsgf.c
- minor tuning of mouse_defendpats.db
2.7.82 released April 30, 2000
- new file engine/interface.c included for real this time
- removed types SGFNodeP and SGFPropertyP
- play_solo() and play_gmp() now plays on a Position.
- get_moveXY moved from play_solo.c to sgf_utils.c
- minor cleanup in a number of places
- main.h moved from engine/ to interface/
2.7.81 released April 28, 2000
- new function sniff_lunch (unused and untested)
- new function remove_string_and_mark
- originate_eye now public
- add_half_eye now takes half_eye array as an argument
- doc revision
- jump_out_helper() rewritten to use influence function rather than
strategic distance
- matchpat_db() renamed to matchpat()
- redundant autohelper function singleton() removed
2.7.80 released April 27, 2000
- bugfix in hash_rand()
- obsolete -DBUILDING_GNUGO_ENGINE removed from patterns/Makefile.am
- countlib2(), findlib2(), and approxlib2() renamed to countlib(),
findlib(), and approxlib() respectively
- minor tuning of influence.db
2.7.79 released April 26, 2000
- count of hash collisions added to the --statistics option
- new files random.c and random.h with an implementation of a twisted
GFSR random number generator
- all calls to rand() or random() replaced by calls to the local random
number generator
- test for random() removed from configure.in
2.7.78 released April 25, 2000
- sgf/sgf.c moved to the engine and renamed to sgffile.c
- sgf/sgf.h removed; declarations moved to gnugo.h and liberty.h
- removed a few declarations for non-existent functions from sgf_utils.h
- analyzerflag moved to globals.c
- new file: engine/interface.c
- some functions for handling positions.
- ttsgf_read.c and ttsgf_write.c integrated into ttsgf.c
- bugfix in sgfPlayTree()
- old approxlib() removed
- bugfix in life.c
- local random generator removed from hash.c
- cleanup of hash.c
- simplified typedefs in hash.h
2.7.77 released April 24, 2000
- doc of the colored influence displays added
- new function hashdata_diff_dump() for use in assertions
- local random generator in hash.c
- revised types in hashing code
- bugfix in semeai_analyzer()
- order of engine/ and pattern/ builds changed back
- extract_fuseki no longer built by default
- bugfixes in extract_fuseki.c
- tuning of influence.db
- bugfixes in patterns.db
2.7.76 released April 23, 2000
- revised assertions in add_stone() and remove_stone()
- declaration and initialization of color_has_played moved from interface/
to engine/
- hashtable_clear no longer crashes if passed a NULL pointer
- warning if hashtable allocation fails
- new database matching step in the fuseki module
- new experimental option --fusekidb to enable fuseki database matching
- new program patterns/extract_fuseki.c which compiles a fuseki database
in patterns.db format from a collection of game records
- new pattern databases fuseki9.db and fuseki19.db containing 9x9 and
19x19 fuseki databases respectively
- bugfix in influence.c to stop a single stone from claiming the whole board
- libengine is now built before the patterns/ subdirectory is compiled
2.7.75 released April 20, 2000
- recognize_eye() and recognize_eye2() looks for all vital eye points and
passes them to the move generation
- eyes.db format extended for multiple vital moves and database revised
- liberty counting functions in incremental_board.c restructured to agree
with the new corresponding functions in board.c
- approxlib() and countlib() calls converted to countlib2(), findlib2(),
and approxlib2() calls
- countlib() macro removed
- accurate_approxlib() revised and accurate_countlib() macro removed
- autohelper lib() can now be used for stackp>0
- TODO revised
2.7.74 released April 19, 2000
- obsolete code removed from genmove()
- board_t renamed to Intersection
- new Position struct added in gnugo.h
- print_influence() now prints everything to stderr
2.7.73 released April 18, 2000
- revised TODO
- renamed static function compile_for_match_new() back to
compile_for_match()
- removed all external calls to compile_for_match()
- minor cleanup in globals.c
- don't regard marginal eye points as real eyes in the life code
- neighbors to marginal eye points may be captured in the life code
2.7.72 released April 13, 2000
- old board code removed from board.c
- new functions countlib2(), findlib2(), and approxlib2(), intended to
replace approxlib()
2.7.71 released April 12, 2000
- bugfixes in the hashing code, now CHECK_HASHING works again
- pattern database code restructured, explicit calls to compile_for_match()
no longer needed
- apats.db renamed to mouse_attackpats.db and dpats.db renamed to
mouse_defendpats.db
- minor cleanup of dragon.c, life.c, optics.c, and patterns/patterns.h
- documentation of hashing added to doc/reading.texi
- cleanup of filllib.c
2.7.70 released April 10, 2000
- doc revision
- bug fix in fill_liberty
- compiler warning fix
- simplified implementation of double_threat()
- improved trace messages in confirm_safety()
- depth values increased during reading in confirm_safety()
2.7.69 released April 9, 2000
- bugfix in regression/eyes/test.sh
- revision of confirm_safety
- revision of review_move_reasons
- new function double_atari
- new function accurate_approxlib
- accurate_countlib takes *libi, *libj as parameters
- fill_liberty tries to avoid setting up double ataris
- doc revision
- load_and_analyze_sgf_file assumes color_has_played
- bugfix in mouse_determine_life
2.7.68 released April 7, 2000
- New switch --terse for test output
- Various minor cleanups
- life.c much commented
- regression tests for life code using --decideeye in regression/eyes
2.7.67 released April 5, 2000
- check for size of int and long in configure
- configure option --enable-hash64
- separate options --life and --life_eyesize
- reformatting of help string to fit 80 columns
- bugfix in play_ascii.c
- minor tuning of patterns.db
2.7.66 released April 4, 2000
- point of attack and point of defense considered separately by
compute_eyes(), recognize_eye(), topological_eye(), and half_eye_data
- make_dragons() now take color to play as parameter
- (defensei, defensej) renamed (defendi, defendj) in a number of places
- minor tuning of patterns2.db
2.7.65 released April 3, 2000
- removed trailing ',' symbols in enums in main.c and gmp.c
- extraneous declaration of deltai[] and deltaj[] removed from influence.c
- bugfixes in the CHECK_HASHING code
- bugfix in play_ascii.c, repeated save and load now works
- compile_for_match() added in two places
- keep track of attack and defense points of mouse_lunches
- revision of mouse_find_lunches() and mouse_lively()
- minor doc revision
- aesthetic reformatting in eyes.db
- declaration of incremental board functions moved from liberty.h to
incremental_board.h
- new function incremental_mark_string() in incremental_board.c
- replaced mouse_mark_strings() with a generic mark_string() in board.c
2.7.64 released April 2, 2000
- updated DJGPP info
- removed leading white space in windows.texi for more nicely formatted
info files
- removed obsolete workaround for a texi2html missing feature.
- added members defendi and defendj to struct eye_data
- recognize_eye2 now returns point of defense as well as point
of attack for an eye
- compute_eye now reports defense point as well as attack point
- recognize_eye2 now considers if the boundary of the eye is
captured during eye reading
- speed optimizations in recognize_eye2
- 5 new functions in location_set.c
- small bugfix in showbord.c
- small bugfix(?) in main.c
- small cleanup in dragon.c
- new function mouse_effective_defense()
- if the mouse code is enabled, strategically_sound_defense() invokes
mouse_effective_defense()
2.7.63 released April 2, 2000
- new function attack1() to determine whether a string in atari can be
captured
- snapback() made obsolete and removed
2.7.62 released April 1, 2000
- bugfix in evaluate_diagonal_intersection()
- evaluate_diagonal_intersection moved to optics.c and made static
- new function topological_eye
- new autohelper option topological_eye
- doc revision
- mouse tuning
- hashvalue test whether matchpat is properly prepared for the board
position being matched
- compile_for_match() added in a few places
- modify_eye_spaces1() and find_cuts() not used when make_domains() is
called from the mouse code
- minor bugfixes in life.c and board.c
- minor tuning of patterns2.db
2.7.61 released March 31, 2000
- bugfix in recognize_eyes2() so it can be used for stackp>0
- reloading of files in ascii mode is documented
- mouse code tries tenuki if no move of value >40 found
- dpat revision
- eye pattern 524 removed
- obsolete fixme removed from patterns2.db
- new function move_in_stack() in board.c
- improved debug output in life.c
- decideeye() disables trace outputs during make_worms() and make_dragons()
2.7.60 released March 30, 2000
- doc revision
- new option --life to enable the life code
- new function initialize_engine() in genmove.c
- bugfixes in sgf_decidedragon(), sgf_decideposition(), and decideeye()
- modify_eye_spaces1() only called from make_domains() if stackp==0
- loop unrolling in accumulate_influence enabled
2.7.59 released March 29, 2000
- new file life.c with eye reading code
- new file location_set.c with a utility class that contains a set of
locations on the go board
- bew file location_set.h with headers for location_set.c
- bugfix in board.c which makes the allocation of hash nodes correct
- separation of the examination step of genmove() into it's own
function, examine_position(), and calls to this function in a number of
places
- some comments added in mouse.c plus some cleanup
- new option --decideeye which tells the status of an eye
- new function get_coordinate() in main.c
- black_eye and white_eye passed as arguments to make_domains
- private black_eye and white_eye arrays for mouse.c
- eye pattern added to eyes.db
- bugfix in unrolled accumulate_influence()
- bugfix in move_reasons.c
2.7.58 released March 28, 2000
- loop unrolling in accumulate_influence(), initially disabled by default
2.7.57 released March 27, 2000
- doc revision
- compile_for_match() called again after running mouse code from genmove()
- mouse_genmove() removed from utils.c (was unused)
- doc/MOUSE and doc/INFLUENCE removed from distribution, all material is
included in the Texinfo documentation
- matchpat aborts if color==EMPTY
- mouse_attack returns true if trymove captures
- unnecessary test eschewed in mouse_find_lunches
- corrected: debug flag set wrong in main.c with --mouse
2.7.56 released March 25, 2000
- optics.c: redefinition of lively for mousing
- new functions mouse_find_lunches and mouse_lively
- new DEBUG_MOUSE debug option
- does_attack and does_defend no longer require stackp==0
- new apats and dpats
- doc revision
- sethand.c: bugfix in placehand(), use add_stone() instead of
manipulating p[][] directly
2.7.55 released March 25, 2000
- initialize dragon.mouse_attack and dragon.mouse_defend
- revaluation of joseki database
- hashing code revised for 64 bit architectures
- Makefile added to regression subdirectory and regress.sh revised
- minor tuning of patterns.db
- AUTHORS and doc/introduction.texi revised
2.7.54 released March 23, 2000
- revised eye patterns, prefer to play on marginal vital points
- doc revision
- introduction moved from incremental.c to texinfo
- special value 99 implemented for apats and dpats
- new apats and dpats
- AUTHORS and doc/introduction.texi revised
- accurate_countlib revised
- slow_findlib() added in incremental_board.c so that
incremental_findlib() and incremental_countlib() can handle all cases
2.7.53 released March 21, 2000
- bugfixes and other revisions of the incremental board code
- incremental board code enabled by default
- new function accurate_countlib() in utils.c
- a few countlib() calls replaced by accurate_countlib()
- minor bugfix in connection_value2
2.7.52 released March 19, 2000
- bugfix: decidestring and decidedragons were getting depth 0
- new apats and dpats
- minor cleanup of join_dragon invocations
- mouse code reports findings (temporary measure)
- doc revision
2.7.51 released March 18, 2000
- doc revision
- hurry >= 3 turns off some features
- adjust configure.in, config.vc and sgf/ttsgf.c
to test for vsnprintf instead of snprintf
- replace an embedded newline in a #defined
string in main.c with an explicit \n
- remove trailing ',' characters in enum
declarations
- include interface.h in sgf_utils.h so
that enum testmode is defined when declaring
guess_mode_from_sgf_comment.
- bugfix in break_through_helper()
2.7.50 released March 17, 2000
- new option --showtime makes genmove report its time
- new option --hurry decrements depth parameters
- hurry can be set during ascii play
- new global variables hurry and showtime
- gg_gettimeofday made global
- new global variables nominal_depth, nominal_backfill_depth,
nominal_fourlib_depth, and nominal_ko_depth
2.7.49 released March 15, 2000
- bugfix in make_dragons (--mouse could cause crash)
- bugfix in mouse_determine_life
- bugfix in vgprintf
- new function vital_chain
- new autohelper functions singleton and vital_chain
- mouse tuning
- new eye pattern
- mouse code documented
- string.h included in incremental_board.c to stop warning
- sgf functions cleaned up by passing around a file handle instead of
sharing a global one
- minor optimizations in break_chain() and relative_break_chain()
- minor changes and more comments in incremental_board.c
- stack implementation revised in incremental_board.h
2.7.48 released March 14, 2000
- new global variable mouse
- new functions mouse_reasons, add_mouse_attack_move, add_mouse_defend_move
- new option --mouse
- support for loading a position from file and continue playing with the
ascii interface
2.7.47 released March 13, 2000
- singleton() moved from utils.c to board.c
- new files incremental_board.c and incremental_board.h, supplying an
implementation of incremental board updates
- support for incremental board updates added to board.c but still disabled
- updateboard() made static to board.c
- return type of pushgo() and popgo() changed to void
- new function play_move() replaces updateboard() for use from interfaces
2.7.46 released March 10, 2000
- chainlinks() and chain() moved from reading.c to board.c
- find_origin() moved from utils.c to board.c
- count() made static to board.c
2.7.45 released March 9, 2000
- globals global_size, global_lib, global_libi, and global_libj eliminated
- new function countsize() in board.c
- tenuki (?) implemented for autohelpers
- two autohelpers in patterns.db and one in dpats.db use tenuki
- type omitted from findex entries
- decideposition takes a color option
- if (MOUSE) then showboard prints two diagrams
- new apats and dpats
- error messages in mkpat slightly revised
- Martijn van der Kooij and NNGS are thanked
- minor spelling corrections in Texinfo documentation
- windows.texi revised
2.7.44 released March 8, 2000
- globals size, lib, libi, libj renamed global_size, global_lib,
global_libi, global_libj
- new parameters to count(), approxlib(), and countlib() for passing
liberty locations
- bug fixed in mouse_determine_life which could cause crash
- new option --decideposition
- showboard can display mouse_status
- mouse_status computed in dragon.c
- a few new apats and dpats
- findex entries omit parameters
- windows installation instructions added to Texinfo documentation
2.7.43 released March 7, 2000
- connection_value2() revised
- type of potential_move array changed to int
- updated VC project files
2.7.42 released March 6, 2000
- mouse goal array changed from int to char
- C patterns implemented for mouse patterns
- bugfix in mouse_defense: misplaced popgo() popped
- new function goaldump for debugging
- new function mouse_mark (like count but does not mark liberties)
- new mouse patterns
- cleanup of interface.c
- pushgo() made static
- pattern profiling output now computes the total number of hits and
reading nodes
- O symmetry introduced in barriers.db
2.7.41 released March 5, 2000
- documentation revision
- new file doc/influence.texi
- move generation functions are documented in Texinfo
- influence.c functions are documented in Texinfo
- short section on Migration removed from move_generation.texi
- new pattern profiling option --profile_patterns
- minor tuning
- new symmetry class 'O'
- joseki pattern values reduced to a third
2.7.40 released March 4, 2000
- doc revision
- tryko returns 0 if suicide is attempted
- now --printsgf works with -L
- implementation of trymove() and tryko() unified
- minor optimization in attack_either()
- cleanup of utils.c
- experimental pattern CB327 in patterns.db
2.7.39 released March 1, 2000
- revision of patterns/apats.db and patterns.dpats.db
- default depth values restored to 2.6 level
- new functions set_temporary_depth_values() and restore_depth_values()
in utils.c
- depth values temporarily decreased while computing influence
- bugfix in tryko()
2.7.38 released February 29, 2000
- handle handicap stones in sgf files correctly
- bugfix in mouse.c
- trymove() replaced by tryko() in compute_move_influence
2.7.37 released February 28, 2000
- point to strings instead of copying them in mouse.c
- more than two moves per position can now be handled by the mouse code by
increasing the value of MAX_MOVES
- B class patterns in dpats.db inhibit addition of the stone to the dragon
- AUTHORS, THANKS, and doc/introduction.texi revised
- two eye patterns revised
- bugfix in sgfOverwritePropertyInt() in ttsgf.c
- sethand() split into two halves to make it more flexible
- play_ascii.c revised to deal correctly with handicap stones
2.7.36 released February 27, 2000
- dragon.c: serious bug fixed in topological eye evaluation
- substantial revision of mouse.c
- new patterns in apats.db and dpats.db
- sgf.c: revision of decidedragon
- doc expanded of certain autohelper functions
- Jamal Hannah's typing Gnu acknowledged as logo source
- documentation of influence function begun in doc/INFLUENCE
2.7.35 released February 26, 2000
- mouse_attack and mouse_defend avoid some duplicate eyespace evaluations
- missing eye pattern in eyes.db
- sgf_decidedragon correctly invoked from main.c
- close sgf file before reopening it
- do not close stdout in sgf_close_file
- print_eye revised to give nice output also when stackp>0
2.7.34 released February 25, 2000
- experimental mouse code
- gnugo.eps and gnugo.jpg renamed gnugo-logo.eps and gnugo-logo.jpg
2.7.33 released February 23, 2000
- VC project files and WINDOWS revised
2.7.32 released February 22, 2000
- reading cache cleared once it becomes full
- -M option now takes float argument
- -M 0 no longer causes a floating exception
2.7.31 released February 21, 2000
- VC project files adapted from 2.6
- win/ directory with makefile brought over from 2.6
- bugfix in main.c, optind replaced by gg_optind
- WINDOWS revised
- minor assorted cleanups
2.7.30 released February 19, 2000
- cleaned up code for debuginfluence option
- general cleanup of main.c
- minor tuning of patterns2.db
- AUTHORS, THANKS, and README brought up to date with 2.6
- TODO revised
- Added news for 2.6 in NEWS
- WINDOWS brought over from 2.6
- year 2000 added in copyright notices everywhere
- emacs interface added from 2.6
- gnugo.jpg added from 2.6
- gnugo.eps built by encapsulating gnugo.jpg into postscript level 2 using
jpeg2ps
- Texinfo documentation merged with late changes from 2.6
- various other late changes from 2.6 merged
2.7.29 released February 11, 2000
- tuning of barriers.db, endgame.db, and patterns.db
- sprintf replaced by vsprintf in gg_snprintf
- spelling corrections
- TODO revised
- unreachable code in hashdata_init() commented out
- UNUSED and ON_BOARD macros moved to liberty.h
- special_rescue() made more general
- calls to special_rescue() also in defend3()
2.7.28 released February 8, 2000
- bugfix in break_through()
- tuning of conn.db, influence.db, patterns.db, and patterns2.db
- various minor fixes to eliminate warnings on certain platforms
- opterr, optind, and optopt prefixed with gg_ to allow building with
profiling
2.7.27 released February 6, 2000
- copying.texi added for real this time
- minor revision of patterns.texi
- various code revisions in influence.c
- new functions for segmenting connected regions of territory, moyo, and
area added to influence.c
- -m option can take hexadecimal values
- tuning of barriers.db, influence.db, conn.db, patterns.db, and
patterns2.db
- conn.db reorganized
- retuning of joseki patterns
- corner moves in fuseki.c retuned
- minor revisions of move_reasons.c
- workaround to avoid black characters on black background in showbord.c
- we no longer add half eyes when eye.dragoni == -1
2.7.26 released January 31, 2000
- endgame patterns split off from patterns.db to endgame.db and matched
separately
- influence_delta_territory results cached
- tuning of barriers.db, conn.db, patterns.db, and patterns2.db
- new eye pattern from 2.5.63
- new option --debuginfluence to help tuning influence function
- listing of worms includes origins of corresponding dragons
- bugfix in move_reasons.c; don't accept cuts or connections of one dragon
and itself
2.7.25 released January 29, 2000
- AUTHORS, INSTALL, and THANKS revised
- GPL added to texinfo documentation
- small_semeai() documented in texinfo documentation
- autohelper call moved from matchpat() to callback
- possible to pass auxiliary data through matchpat() to callback
- DEPTH decreased from 14 to 12, BACKFILL_DEPTH from 8 to 6, and KO_DEPTH
from 8 to 6
- new functions for drawing boards for debug output
- symbolic names for colors
- influence function implemented in influence.c and influence.h
- new patterns to assist influence function in patterns/barriers.db and
patterns/influence.db
- terri renamed to territory in a number of places
- revised heuristics to decide when a tactical defense is strategically
sound, using influence values
- territorial value estimated with influence_delta_territory() instead of
delta_terri() from moyo module
- influence value estimated with influence module functions instead of
delta_moyo() from moyo module
- secondary_value weighted down substantially in computation of total move
value
- symbolic names for printmoyo values
- local optimizations in shapes_callback() to avoid unnecessary reading
- increased depth values when evaluating reading constraints disabled to
improve speed
- new patterns in conn.db
- local optimization in connections.c, don't evaluate autohelper if there
is nothing to amalgamate
- autohelper functions xarea, oarea, xmoyo, omoyo, xterri, and oterri
changed to use functions from influence module
- separate flag to mkpat to decide anchoring policy
- tuning of patterns.db and patterns2.db
2.7.24 released January 27, 2000
- cleanup of the interface/ files
- minor revision to doc/using.texi
- doc/reading.texi updated from 2.5.62
2.7.23 released January 26, 2000
- removed inclusion of unistd.h where unnecessary
- include io.h on platforms where unistd.h not available
- remove unused files utils/long-options.[ch] utils/closeout.[ch], and
utils/error.h
- fixed getopt warnings by renaming the getopt in utils/ to gg-getopt
- TODO revised
- -M option repaired
- bugfix in init_gnugo() in board.c; don't do everything twice
- default size of reading cache increased from 8 MB to 32 MB
- docs/ directory replaced by doc/ with texinfo documentation from 2.5.60
- gnugo.6 man page moved from top directory to doc/
- /docs/WINDOWS updated from 2.5.60 and moved to top directory
2.7.22 released January 20, 2000
- always use strtok in play_ascii.c and skip strsep
- cleanup in configure.in
- bugfix in play_solo.c
- configure test for gettimeofday in interface/
- HAVE___FUNCTION__ moved to the right position in acconfig.h
- in configure.in, add -lwsock32 to $LIBS for the mingw32 environment
for the select call in gmp.c
- include windows.h and windows32/sockets.h to get definitions for fd_set,
select and FD_* macros in gmp.c
- incorrect "abort;" changed to "abort();" in several places
- TODO item about converting documentation into texinfo marked as done
2.7.21 released January 17, 2000
- confirm_safety() called from review_move_reasons() in order to avoid
certain blunders
- the search for lunches moved to the end of make_worms()
2.7.20 released January 16, 2000
- removed unused file utils/getdate.c from distribution
- pattern Eye2 taken out from conn.db as workaround to a bug
- only victims with attack code 1 or 2 are considered lunch
- separation of interface into a public and a private part; liberty.h
split into gnugo.h for external interface and liberty.h for internal
interface
- dragon_status() renamed to compute_dragon_status()
- new function dragon_status() hiding dragon_data struct
- default cached function is only attack()
- new function is_worm_origin()
- new function confirm_safety()
- update the files getopt.c getopt1.c and getopt.h in utils/ to glibc-2.1.2
- add a file README in the utils directory explaining where the getopt
files come from.
- make utils the first subdirectory to compile
- link in utils/libutils.a when linking mkpat.c
2.7.19 released January 13, 2000
- unsigned char changed into signed char in sgfana.c, ttsgf.c, and
ttsgf_write.c to eliminate DEC-cc warnings.
2.7.18 released January 12, 2000
- src directory renamed to engine
2.7.17 released January 10, 2000
- cleanup in moyo.c, eliminating DEC-cc compiler warnings
- main.c moved from src/ to interface/
- dragon.weak renamed dragon.safety
2.7.16 released January 8, 2000
- cleanup in configure.in
- cleanup in make_proper_eye_space()
- autohelper functions for modifying eyespace
- more debug output for DEBUG_EYES
- tuning
- one new pattern in eyes.db
2.7.15 released January 6, 2000
- cleanup in configure.in
- configure tests for random and alarm
- embedded newline removed from a string in mkeyes.c
- extra pair of braces to avoid ambiguous else in optics.c
- compiler warning about snprintf eliminated from ttsgf.c
- documentation about dragon.status and dragon.weak revised in docs/DRAGON
- attack() is more cautious about snapbacks
- dragon_status() revised to consider a missing case
- docs/PATTERNS fully revised
- slight revision of the definition of higher order liberties, in an attempt
to fix escape_route problem
- reading depths increased with the number of explicitly placed stones
in autohelpers
- minor cleanup in utils.c
- patterns shuffled around in patterns.db and patterns2.db
- two extra matching pattern steps to modify eyespaces, patterns temporarily
hosted in conn.db
- not_lunch patterns moved to conn.db and matched together with eye space
modifying patterns
- autohelpers can now also be used in conn.db patterns with no '*'
- minor revision of escape.db
- dont_attack_helper removed since it was no longer in use
- remaining references to EXPERIMENTAL_MOVEGEN removed
- bugfix in add_half_eye()
- new function make_proper_eye_space() in optics.c for use from autohelpers
- tuning
2.7.14 released January 4, 2000
- four vgprintf calls in utils.c changed to vprintf calls
- variable sized arrays changed to fixed size in sgfana.c
- declaration of board_size in ttsgf.h made consistent with liberty.h
- removed embedded newlines in strings in mkeyes.c and main.c
- escape.db patterns revised
- bugfix in matchpat
- revised heuristics for non-matched eye shapes
- tuning
2.7.13 released January 3, 2000
- help debug prints default hash memory
- decidestring reports even if verbose=0
- print_eye() documented, prototype moved
- documentation in docs/PATTERNS partially updated to reflect changes
in pattern format
- bugfix in mkpat.c
- bugfix in getopt string
- bugfixes in trace messages in shapes.c
- new function dragon_status2() using new escape route measure in
the escape2 field (not yet in actual use)
- new patterns in escape.db
- tuning
2.7.12 released January 2, 2000
- configure option to revert to sprintf if neither snprintf or g_snprintf
found
- command line option -M (--memory) to specify hashtable size
- bugfixes in board.c
2.7.11 released January 2, 2000
- all remaining patterns in patterns.db adapted to new move generation scheme
- format of ":" lines in pattern databases changed
- joseki.c updated to produce new database format
- patterns in conn.db can have action lines
- three new autohelpers: dragonsize(), wormsize(), and potential_cutstone()
- patterns are no longer sorted in mkpat and min weight optimization
removed from matchpat
- updated documentation of autohelpers in docs/PATTERNS
- value field in worm_data and dragon_data obsoleted and removed
- obsolete section removed from docs/PATTERNS
- obsolete pattern classes Q and q removed, remaining ones slightly reordered
- B, C, a, d patterns work on up to five dragons (previously max two or one)
- improved tunability of patterns, possible to specify min and max
territorial and total values
- many helpers converted to constraints and removed
- join_dragons() no longer need to be called with origins of dragons
- wind assistance and moyo assistance functions obsoleted and removed
- connection_value() and compute_score() obsoleted and removed
- attack_either move reason rejected if one of the strings is defenseless
- old style move values no longer used in move generation
- shape value effect changed from additive to multiplicative
- random contribution to move value decreased
- tuning
2.7.10 released December 28, 1999
- changes from 2.5.47--2.5.52 merged into eyes.db
- tuning
- unused helpers and patterns removed
- many patterns in patterns.db adapted to new move generation scheme
- linear eyes of size 6 with one marginal eye fixed in eyes.db
2.7.9 released December 27, 1999
- bugfixes and cleanups in configure.in and various Makefile.am
- bugfix in move valuation
- bugfix in add_half_eye: remember to adjust marginal_neighbors
- bugfix in defend1: consider case of 4 liberties after extend
- breakchain2: try_harder to break chain
- bugfix in singleton()
2.7.8 released December 23, 1999
- break_chain2 considers a few extra possibilities
- stricter syntax checking in mkpat.c
- bugfixes in pattern databases
- caching of read results indexed also on stackp
- warning eliminated in dragon.c
- implementation of tracing of read results revised
- one new pattern in escape.db
- new escape route algorithm documented in docs/DRAGON
2.7.7 released December 21, 1999
- More verbose autoconf test for __FUNCTION__
- bugfix and cleanup in patterns/Makefile.am
- Split utils.c into board.c and utils.c
- Cleanup of both files.
- Fix a warning in fuseki.c
- minor tuning
- one new pattern in conn.db
- improved trace messages for read results, contingent on TRACE_READ_RESULTS
2.7.6 released December 19, 1999
- READ_RETURN0 macro redefined in reading.c
- makes consistent the inequalities in reading.c
- misspelling of "propagate" corrected
- experimental implementation of new escape route algorithm
- new file: patterns/escape.db
- DEBUG_HEY (obsolete) replaced by DEBUG_ESCAPE
- one new pattern in conn.db
- new autohelpers: same_dragon and same_worm
- minor tuning
- bugfix in rr_set_result_ri_rj() macro
- bugfix in compile_for_match()
- don't allocate hash table space in find_defense if more than four liberties
- bugfixes in defend3()
- two compiler warnings eliminated in semeai.c
- bugfixes in attack_callback() and defense_callback in worm.c
2.7.5 released December 18, 1999
- elimination of stackp=depth
- dead code cleaned away from reading.c
2.7.3 released December 16, 1999
- minor tuning
- cleanup of patterns and helpers
- cleanup of matchpat()
- attack and defense patterns moved from patterns.db/patterns2.db to
new files attack.db and defense.db
- attack and defense patterns matched during make_worms()
- error message instead of segmentation fault when using -L without -l
- testmode output modified
- cleanup of ttsgf.c, ttsgf_read.c, and ttsgf_write.c
- improved configure detection of snprintf
- cleanup in Makefile.am and patterns/Makefile.am
- configure tests for gcc specific macro __FUNCTION__
- bugfix in sgf/Makefile.am
- in break_chain, removed stackp7 is alive in recognize_eye
- several eye patterns added
- dragon_status: escape_route bound for CRITICAL upped to 6
- -o and --analyzerfile add handicap stones by AB,AW
- in nonfile modes the handicap stones are added in sethand()
- sethand() checks for max handicap values and returns actually set stones
- reduced MAX_HANDICAP to 19
- main.c checks for MAX_HANDICAP
- sgf_close_file is called only once, when ending ascii mode with "quit"
- GM property added in --analyzerfile
- HA property added in --analyzerfile (in sethand())
- defined MIN_BOARD 3 in liberty.h
- help output shows MIN_BOARD, MAX_BOARD and MAX_HANDICAP
- cleanup of shapes.c, optics.c and moyo.c
2.3.86 released August 21, 1999
- resolved: hashed functions shall be readlad2 and basicnet3
- connection code patch to reconcile amalgamation and cutstone
classification (needs rewriting)
- tuning
- amalgamate over _dead_ ko positions
- bugfix in not_lunch_helper
- Changed semantics of play_attack_defend_n()
- unused color parameter removed from get_read_result
- no compiler warnings under GNU/Linux
- man page docs/gnugo.6 added
- convenient tcsh completion described in docs/MISC
2.3.85 released August 20, 1999
- configure option --disable-hashing now functional
- values are not hashed when stackp>depth
- cleanup of mkpat.c
- cleanup of eyes.h
- tuning
- now prints number of eyes in analyzerfile with --analyze eyeinfo
2.3.84 released August 18, 1999
- tuning
- cleanup of dragon.c
- halfeyes.c removed from the distribution
- configure option --disable-hashing sets HASHING to 0
- sgf.c: avoid trying to close output file twice
- eyes.db: code # has been changed to @ to avoid conflict with comments
- Revised compute_eyes() and split off linear eyes to an own function.
- Made return value from recognize_eye() more consistent.
- New autohelper functions to identify eye space points: eye(),
proper_eye(), and marginal_eye()
- Major revisions of endgame patterns, taking eye space into account
- obsolete functions play_attack_defend2() to play_attack_defend8() removed
2.3.83 released August 15, 1999
- joseki.c upgraded to generate constraints in .db
- 3 new autohelpers in mkpat.c: diff_moyo, area_space, area_stone
- interface/play_test.c: bugfix when --testmode and --analyze are combined
- CHECK_HASHING turned off
2.3.82 released August 14, 1999
- hash codes are now computed incrementally
- bugfix in hash.c
- reading.c: sacrifice only if stackp, replace old --fuseki and --fearless
2.3.79 released August 10, 1999
- hash.h: bugfix which caused reading errors in rr_set_result_ri_rj
- reading.c: savestone2 looks for double ataris to chain when stackp>depth
- updated docs/MISC: analyze functions
- option --analyze works again (was temporarily off by accident)
- option --analyze works in --testmode game, no variations tested
- new analyze functions: moyocolor, recommended, eyeinfo, worminfo
- bug fix in analyze function eyes
- option --score last --analzyerfile saves the potential territory with TW,TB
- option --statistics writes also to analyzerfile
- abortgo() saves analyzerfile
- ttsgf.c: ttsgf_move_made() removed
- play_solo.c: timing added to benchmark mode
2.3.78 released August 7, 1999
- hashing in basicnet3 and savestone3
- bugfix in play_gmp.c: undo now seems to work!
- sgf/sgf_utils.c: bugfixes in get_moveX and get_moveY
- interface/play_solo.c: bugfix in get_moveXY
2.3.77 released August 5, 1999
- showbord.c: revised behavior of -E option
- minor change in moyo.c to have it reinitialized when a game is reloaded
- change in scoring system for compliancy with chinese & japanese style rules
- ascii mode: save territory points to analyzerfile
- gmp mode: log game in sgf tree
- gmp mode: undo implemented by replaying sgf tree
- gmp mode: save result and territory points to analyzerfile
- ttsgf.c: new function sgfOverwritePropertyInt()
- ttsgf.c: new function sgfAddStone()
- sethand.c: sets handicap stones to sgf tree
- hash.diff removed from distribution
2.3.76 released August 4, 1999
- interface/html directory contains cgi interface
- bugfix in optics.c: initialization of domains
- bugfix in reading.c: some variations were being overlooked
- hashing implemented in savestone2
2.3.75 released August 2, 1999
- mark illegal moves in --printsgf with IL property
- Some new macros in hash.h
- Use hashing in readlad2
- Some cleanup of worm.c
- option -f rewritten : opening tuning, including oba moves
- non fuseki part of old -f option became --fearless option
2.3.74 released August 1, 1999
- bugfixes in helpers.c. One of these could cause a crash
- two connection patterns increased substantially
- moved get_komi() and inc_movenumber() to liberty.h
- play_ascii(): new commands to navigate the game tree in ascii mode
- back command (undo) implemented in ascii mode! Newly placed
stones appear as variations in the sgf
- play_ascii(): changed the compare length of some commands. Now q works
for quit, b for back and f for forward.
- removed bug in play_ascii(): user pass after computer pass did not
display result.
- fixed bug in helpanalyzer output
- utils.c: added function intialize board() and removed remove_stone()
- fixed the komi bug reported by Douglas in --analzyerfile
2.3.73 This version may be released later
2.3.72 released July 30, 1999
- bugfix in updateboard ko handling
- Moved obsolete documentation about reading.c to doc about utils.c
- Expanded documentation about reading with hashing
- minor tuning
2.3.71 released July 29, 1999
- bugfix in make_worms: moving point of defense
- fixes to handling of ko after a pass
- updatepassmove() removed
- updateboard now handles pass moves.
- KO handling by trymove is currently broke
- play_ascii.c, play_gmp.c, play_solo.c updated accordingly.
- revisions to ascii interface.
- legal() now reports a pass move to be legal.
- revision of one eye pattern
- tuning to increase attention to connections
- 2 new helpers
- mkpat: weak autohelper option needed ==CRITICAL
- modified worm values
2.3.70 released July 28, 1999
- Zobrist hashing implemented
- new files src/hash.h and src/hash.c
- readlad1 uses hashing
- readlad2 does consider 2 stone sacrifices if stackp19
- depth and backfill_depth are augmented in attacker() and defender()
- bugfix in printsgf mode
- sgf_printboard prints current board position to sgf file
- LOAD_AND_PRINT mode: read file, output final position
2.3.65 released July 21, 1999
- dragon_eye does not amalgamate across an ikken tobi
- play_ascii.c: change depth on the fly
- new option --statistics
- revision of various helpers and 2 new helpers
- mkpat rewritten so constraints can now be on several lines.
- New autohelper functions xplay_attack, oplay_attack, xplay_defend,
and oplay_defend, which take variable number of arguments.
- New functions in utils.c to support the above.
- tuning
- bugfix in sethand.c
- increased DEPTH to 14 and BACKFILL_DEPTH to 7
- change_attack can sometimes reclassify dragons as DEAD
- command line resetting of depth
2.3.64 released July 20, 1999
- reformatting of reading.c
- bugfix in break_chain2
- revised basicnet3: try harder to rescue boundary chains
- revised basicnet3: remember moves tried to avoid redundant reading
- bugfix in find_lunch: pick juciest worm
- sgf property PL implemented in play_solo
- revisions in play_solo.c and fuseki.c for small boards
2.3.63 released July 19, 1999
- delta_moyo, delta_terri work with either color
- 2 new functions diff_terri and diff_moyo,
- cleanup of moyo.c
- -f option revised
- docs/BOUZY revised
- new docs/SCORING
- New autohelper functions.
- New connection patterns and revisions of the connections matching code.
- Bugfix to an eye pattern.
- Much tuning.
- Revised criterion for when to defend or attack a worm.
- Extended the scope of destroyer().
- Experimental worm and cut revaluation in light of dragon formations
- Changed heuristics for eye values of non-matched eye shapes.
- reordered arguments to does_attack() and does_defend()
- bugfix in readlad2: backfill was turned off
- default backfill_depth is now 5
- -l and -o options can be - for stdin and stdout
2.3.62 released July 17, 1999
- New autohelper functions, xlib(), olib(), xcut(), and ocut().
- Revised documentation for autohelper functions.
- Connections database introduced. New files: connections.c and conn.db.
- find_dragon_pairs() disabled, replaced by connection patterns.
- Cutting patterns from the connection database can modify eye spaces.
- Amalgamation in dragon_eye() no longer done over marginal eyes.
- mkpat partially rewritten.
- Minor correction to eyes.db.
- Nakade helpers cleaned away.
- Minor tuning,
- two more nakade like patterns removed, EC63 again C pattern.
- Bug fix in attacker(): discount bad captures, not good ones
- New function destroyer() to capture of strings that can't currently
be defended, but which could be after opponent backfilling
- Some cleaning in genmove.c.
- Attack points of non-defendable strings not moved in make_worms
- defense points added for adjacent non-defendable strings so
dragon amalgamation won't confuse semeai()
- new function read_sgf_header used by load_and_analyse_sgf_file
- new function load_and_score_sgf_file
- new option --score and new mode LOAD_AND_SCORE
- new function evaluate_territory
2.3.61 released July 15, 1999
- nakade patterns are gone
- only linear patterns are currently hand-coded
- many new eye patterns
- not_lunch_helper aids in hane/kill combinations
- undid a change in 2.3.59: amalgamation on first line
2.3.60 released July 15, 1999
- TODO revised
- copyright revised in interface/ files
- new pattern in eyes.db
- halfeyes: require O not dead
- revision of detect_trap_helper
- revision of one pattern in hey.db
- new ko patterns
- other minor changes
- new functions does_attack and does_defend in utils.c
- attacker and defender call these functions
- copyright notice slightly changed in main.c
- reformatting of worm.c
- unwanted handicap printf removed from play_gmp.c
2.3.59 released July 14, 1999
- revision of docs/DRAGON
- several new eye patterns
- fair amount of tuning. Particularly, changes to diag_miai patterns
- dragon.c: we don't amalgamate a dragon if it touches the eyeshape
only on the first line
- COLOR_STACK_SIZE increased to 70
- DEBUG used in optics.c
2.3.58 released July 13, 1999
- mkpat revised. Autohelper functions now can take multiple parameters.
First out is defend_against(a,b) which plays our own stone at a and
then checks whether the opponent can safely play at b.
- some tuning of patterns.
- new function defend_against() in utils.c
- bugfix in compute_eyes(): missing returns
- two new eye patterns
- bugfix in add_half_eye
- more refined testing of att_X case in halfeyes.c
- halfeye: obsolete test that eye and halfeye are in distinct cavities omitted
- halfeye: we check that * is a safe move for X
- restored marginal test in throw_in_atari_helper (removed in 2.3.55)
- superceded docs/GRAPHS removed from distribution
- filllib.c reformatted
2.3.57 released July 12, 1999
- count and chain rewritten for speed
- more graceful error message if no in file specified in testmode
- eye pattern 10 needed a vital point
- find_lunch and make_worms: a ko is not lunch
2.3.56 released July 11, 1999
- add_half_eye: when a half eye's vital point is in another eyeshape
the eyeshapes are amalgamated. This is correct and stops some crashes
- computer tries to compute the score at end of game
- new function who_win in moyo.c
- one chimera pattern included in eyes.db
- bugfix in attdef.c: color in territory test
- bugfix in showbord.c: display of capture count
2.3.55 released July 9, 1999
- integration of half eye and eye code
- separate eye domains for black and white
- revision of docs/EYES to document the algorithm
- a couple of changes that will be undone in a later release:
temporary oversimplification of treatment of att_X in hey_callback
temporary oversimplification of throw_in_atari_helper
- removal of one half eye pattern
- experimental penalty for running inside enemy territory
- bug fix in semeai.c
- revision in showboard for -E option
2.3.53 released July 8, 1999
- reading.c: new function special_rescue finds certain saving moves
- revisions to savestone2 including use of special_rescue
- speedup in find_lunch
- minor revisions to hey.db and eyes.db
- bugfix in mkpat (this could cause compilation failure)
- bug fix in make_dragons (ignore eyes when not relevant)
2.3.52 released July 7, 1999
- bugfix in setup_double_atari_helper (could cause crash)
- minor tuning
- revision make_domains: influence can't creep under third line stone
- revision to find_lunch: if already eaten it's not lunch
- revision in halfeyes.c vis a vis Pattern 12
2.3.51 released July 6, 1999
- revision of mkeyes
- new function recognize_eye() for use by the reading code (unfinished)
- revision of the -f option (move generator based on territory)
- cleanup in helpers.c and replacement of helpers by constraints
2.3.50 released July 4, 1999
- gnugo -f implements search for big moves with delta_moyo>=12
- and delta_terri >=14. Such a move gets value 80.
- tuning
- some work on false eye code
- some work on the eye code
- bugfix in double_atari_helper
2.3.49 released July 2, 1999
- Correction to sgf output from ascii interface.
- Results of safe_move() are cached if stackp==0.
- Helpers and some other code rewritten to use safe_move()
- Bugfixes in block_attack_defend_helper and urgent_connect_helper
- Reading bug fixed in savestone2().
- tuning
- autohelper options safe_xmove,safe_omove,xmoyo,omoyo,xarea,oarea,xterri,oterri
- new function mkeyes to compile the eye database (unfinished)
- docs/GRAPHS explains the approach to the eye code
- revisions to eyes.db and eyes.h
- in halfeyes.c we make an exception to the rule that X can't be captured
- revisions to hey.db
- dragons with one eye and lunch are CRITICAL
- revisions to eye_finder to find such dragons
- eyespaces are not connected through adjacent marginal eyes
- various fields initialized in make_domains()
- bugfixes in make_domains
- bugfix in compute_eyes: sometimes found the wrong end of a linear space
2.3.48 released June 29, 1999
- experimental changes to fuseki.c
- revisions to helpers and patterns
- eye_finder() now calls sgf_move_considered()
- revisions to compute_eyes: eye shapes of size 4
- DEPTH is now 13, BACKFILL_DEPTH is 9
- gnugo --help now prints defaults of depth and backfill_depth
- bugfix in worm.c: some non-kos were incorrectly identified as ko
2.3.47 released June 29, 1999
- substantial speedup in chainlinks
- minor tuning
2.3.46 release June 28, 1999
- tuning, new helpers and patterns
- some half eye code restored to dragon.c
- some further linear patterns in compute_eyes()
- bugfix in savestone3
- speedup in find_lunch: if stackp==0, we used cached info
- in break_chain2 don't try certain foolish moves
- speedup in basicnet3 (avoid unnecessary readlad1)
2.3.45 released June 27, 1999
- 3 new functions delta_terri_color, delta_moyo_color, delta_area_color
- new board stack in moyo.c
- BOUZY updated
- bug fixes regarding half eyes in dragon.c and eyes.c
- new code for some linear patterns
- bugfix: dragons around a ko were getting amalgamated
2.3.44 released June 25, 1999
- bugfix in atari_save_helper (could cause crash)
- revision to CD68 (could cause GNU to play out a ladder)
- bugfix in dragon.c: incrementing msize wrongly
- minor revisions to make_domains()
- new functions int moyo_color(int m,int n) and int terri_color(int m,int n)
returning the color of the intersection as seen by terri & moyo modules
- new function delta_moyo_simple() without meta_connect bonus, delta_moyo()
is now a wrapper to this one (should be a transparent modification)
- diag_miai_helper uses the new moyo_color()
2.3.43 released June 24, 1999
- revisions to ascii interface
- gnugo can resume adjourned games
- gnugo plays through endgame phase of the ascii interface
- much tuning
- revisions to helpers and new helpers
- in this version a weak group has between 0 and 20 points space
- two half eye patterns are back. Half eyes still not working right
- (incomplete) revision of eye code to deal with half eyes
- bug fix in eyes.c regarding opponent stones within eyespace
- tinkering with hoshi.sgf
2.3.42 released June 23, 1999
- weak groups now have between 4 and 20 liberties
- diag_miai_helper won't recommend a move in opponent's territory
- revisions to patterns/hoshi.sgf
- mkpat.c: fields in NULL pattern at end of patterns.c corrected
- mkpat.c: weak option added to pattern compiler
- some tuning
- dragon.c: error eye.msize was preventing us from finding false eyes
- some code moved from eye.c to dragon.c to help finding false eyes
- compute_eyes and propogate_eyes are now public functions
- bugfix in shapes.c: obonus and xbonus should now work correctly
- revisions to documentation
2.3.41 released June 22, 1999
- compute_eyes is partially written (without using matchpat)
- revisions to computation of genus
- openeyes is expunged
- half eye database is invoked earlier
- half eye database used only to find false eyes
- bonus field split into obonus and xbonus
- obonus and xbonus are applied to patterns involving weak groups
- most EB patterns now have bonuses
- 5 point bonus for patterns involving weak groups (2.3.38) is gone
- some tuning
- some bugfixes in eyes.c, dragons.c and semeai.c
2.3.40 released June 21, 1999
- substantial revisions and new code in dragon.c and eye.c
- dragons around an eye shape are now amalgamated
- delta_moyo looks in meta_connect for the tested move
- Bug fixes for two helpers.
- Minor tuning.
- GNU now can read sgf files with missing final ")".
- defender and the attacker try the move suggested by shapes()
- The semeai player now prefers to play on mutual liberties if this
improves the liberty balance.
2.3.39 released June 18, 1999
- some tuning, new helper block_attack_defend_helper
- eye code now fills out an array eye[][] with data
- revision to eye algorithm
- open eye spaces now have origins
- bugfix with -E option
- dead groups are now cyan in showboard (were white)
2.3.38 released June 17, 1999
- experimental bonus of 5 points to patterns involving a weak dragon
- revision of patterns/hoshi.sgf: attachment variations deprecated
- open eye shapes are now computed. Display these with gnugo -E
- some tuning
2.3.37 released June 16, 1999
- weak groups no longer classed dragon.status==CRITICAL. Instead ...
- new field dragon.weak
- old worm.weak and dragon.weak renamed worm.lunch and dragon.lunch
- weak groups (found by moyo) classed dragon.weak==CRITICAL
- dragon.weak field not used by genmove but displayed by showboard
- new helper wedge2_helper
- tuning and other revisions to pattern database
- src/eye.c code is now linked though not used by genmove
- revisions to showboard to display eye domains if xo=1
- int make_worms() (was void) returns 1 if board not empty
- find_weak() renamed find_lunch()
2.3.36 released June 15, 1999
- weak groups are classed CRITICAL so they scrounge eyes
- new function test_weak to find weak groups (in moyo.c)
- revision to print_txt_color
- bugfix in fill_liberties
- revised docs/BOUZY
- bugfix: find_defense no longer checks that strings can be attacked
which required some modifications, slowing us down a little
- DEPTH reduced to 12
2.3.35 released June 15, 1999
- reading code is much faster now and hopefully also more accuracy.
- new function relative_break_chain() used in revised readlad2()
- caching of moves eschewed in break_chain(), break_chain2()
if return pointer is NULL
- DEPTH increased from 10 to 13
- new docs/READING explains using --decidestring -o with gdb
- connect_under_helper() rewritten to use connection_value()
- housecleaning in patterns.db
2.3.34 released June 14, 1999
- test for pass in play_solo.c corrected
- tuning
- new pattern classification: Edge Expansion
- GNU tries in two ways to fill liberties (points in Chinese count)
- before passing, DEAD opponent stones in semeai are reclassed
unknown, then shapes is rerun
- if that doesn't work, new function fill_liberty() tries again
- new field dragon.semeai, new function revise_semeai()
- static_eval() is gone (superceded by moyo())
- reading.c: new function savestone3()
- reading.c: savestone2 no longer tries to find the best move since
we have ways to improve points of attack and defense
- some code taken out of find_defense()
- dump_stack() uses gprintf instead of TRACE and counts variation
2.3.33 released June 12, 1999
- new function meta_connect to test a move against area ownership
(returns true when the move connects/disconnects meta groups)
- area ownership now sees kosumi connections
- minor changes in moyo.c data structures
- in shape.c, added some bonus for meta_connect moves
- in mkpat.c, some bonus added to maxwt for meta_connect moves
- minor tuning
- in readlad2() we consider throwins
- Copyright updated (no longer says 2.0) in src/ and patterns/
2.3.32 released June 11, 1999
- substantial speedup of reading code
- in savestone2, we try to find an easy saving move before reading
- in savestone2, we don't try second move if first works
- in readlad2, we postpone break_chain2 but not break_chain
- option --decidestring -o now outputs variation numbers
- bugfix in extend_to_kill_helper
- embryonic src/eyes.c included in tar file
2.3.31 released June 10, 1999
- new globals last_move_i and last_move_j give the last move made.
This is used to improve(?) ascii output.
- fixed bug ascii play where the captured stones where added wrong
- play_ascii and play_test start with move 0 like play_gmp
- in ascii play the last move is now marked
- bug fixed in ascii play when a pass is made
2.3.30 released June 9, 1999
- reimplementation of of handicap in ascii without writing p[][]
- new functions for saving/restoring game state without using stack
- use inc_movenum instead of movenum++ in play_gmp and play_solo
- revision to ko_important_helper: ko values cut in half
- move_attack() and move_defense() renamed change_attack() and change_defense()
- new komoku pattern
- 2 new patterns
2.3.29 released June 7, 1999
- connection_value moved to src/util.c
- alive11_helper modified
- eschewing of kos by attacker() and defender(), dropped in 2.3.28 is back
- edge_ko_important helper added
- new sente_extend_helper, straight_connect_helper, block_to_kill_helper
extend_to_kill_helper, revise_value_helper
- new half eye pattern
- several new patterns and changes to patterns.db
- moved some CC patterns from wrong section
- now --color should work with ascii interface
2.3.28 released June 6, 1999
- bugfix (worm.c, shapes.c, helpers.c): propogate_worm not used with stackp>0
- attacker() and defender() no longer eschew kos
- unused sgfAddPlay is commented out (fixing a warning)
- fixes to trace (indent is back, caves which are kos are reported correctly)
- default backfill_depth is 7 (arrived at by trial and error)
- option --decidestring no longer requires -o (useful with or without it)
- in make_worms() code to improve worm.attack, worm.defend we now read
one step deeper in the stack to avoid horizon effect
- initialization in propogate_worm() uses memset
2.3.27 released June 5, 1999
- new option -B [depth] should now work
- default values of depth and backfill_depth are 10 and 5
- new function mprintf which is similar to gprintf but writes to stdout
- changed vgprintf to work with different outputs (i.e. stderr, stdout)
- the testmode now write its output to stdout only (never stderr)
- bugfix in backfire_helper
2.3.26 released June 4, 1999
- Backfill depth can now be set with -B [depth]
- very minor revisions to patterns.db
- reading.c: bc was not being initialized when stackp>0 (twice)
2.3.25 released June 1, 1999
- bug fix in new make_worm() code
- connection_value gives a bonus if the connecting move makes 2 eyes
- mystery pattern CB102 removed
2.3.24 released May 30, 1999
- tuning of joseki and patterns
- revised definition of inessential worms --- require worm.weak==-1
- new code in make_worms() to revise points of attack/defense
- BACKFILL_DEPTH reduced to 4 due to increased slowness
- basicnet4 included but turned off
2.3.23 released May 29, 1999
- asymmetry bug in moyo.c fixed: when init_moyo() is launched,
boardsize is not known
- area computation and dilat algorithm bug
- distribution includes reading.c.alt for the experimentally inclined
- tuning and new helpers
- dragon.c split into dragon.c and worm.c
2.3.22 released May 27, 1999
- disabled long jumps into enemy area without a secure connection
- no center pattern can jump down to or along the second line
- revision to the endgame patterns according to docs/ENDGAME
- detect_trap_helper looks for moves attacking two groups at once
- some other tuning
- evaluate_game removed from the distribution
- semeai will not recommend a move which leads to an immediate loss
- bugfix in semeai: bestlib was not getting updated
2.3.21 released May 27, 1999
- Empty corner play moved to src/fuseki.c (new) and reimplemented
- Embryos for 3-4, 3-3, 5-3, and 5-4 joseki databases in patterns/*.sgf
- option -m [level] for debugging moyos
- docs/EYES revised
- bugfix in urgent_connect_helper
- pattern revisions
2.3.20 released May 26, 1999
- readlad2 now tries backfilling. readlad2 and attack return 2 if
a backfill is found but no direct attacking move
- new patterns
- use of macros to simplify helpers
- trymove: sgf --decidestring now gives more information
- solves errors when MAX_DILAT != MOY_DILAT
- now the area ownership uses 4 dilation, which seems better.
- docs/ENDGAME added from Gunnar's email of May 18, 1999
2.3.19 released May 24, 1999
- edge block/expand patterns reordered
- tuning
- a new joseki
- a new helper
- Move evaluate_game functionality into play_test.c
- It is now main.c that loads the sgf file into a tree.
- If no playmode / testmode is supplied, look for a comment
of the form C[testmode=...] in the root node. If found,
this sets the playmode / testmode.
- Other interface fns take the tree, rather than filename, as param.
- testmode is now a local variable, passed as param into play_test,
rather than setting into global state via set_testmode / get_testmode
- Move the tests for acceptable sgf file (GM[1]FF[3/4]) into the
sgf reader, rather than in the user of the tree.
- bugfix in hane_backfill_helper
- semeai now attacks dragons of low vitality
- semeai tries a little harder to choose a smart liberty
2.3.18 released May 23, 1999
- break_chain() and break_chain2() return 2 if saving move can be taken
- savestone2() and find_defense() try harder not to make self-atari
- find_defense() now considers tenuki
- forgot to initialize adjsize and adjlib in chainlinks()
2.3.17 released May 23, 1999
- Complete reordering and some tuning of the fuseki patterns.
- A little tuning elsewhere.
- Documentation of the new features in the patterns.db format.
- The -m option enhanced with another board with delta_moyo values.
- chainlinks test now in basicnet3
- delta_terri(int ti, int tj,int color) : the same as delta_moyo(),
but against the 5/21 evaluation
- area ownership evaluation (using 5/0 algo), with wrapper functions :
area_stone(int m,int n), area_space(int m,int n)
area_color(int m,int n), area_tag(int m,int n)
set_area_tag(int m,int n,int tag)
- the values are computed during make_moyo evaluation, use
"gnugo -m" to see how area are evaluated.
- bugfix in play_test.c
2.3.16 released May 22, 1999
- Wind assistance complemented by moyo assistance.
- Move dependent randomness replaced by pattern dependent randomness.
- Format of patterns.db changed to accomodate new features mentioned above.
- One new joseki line.
- Jump out patterns retuned. They may still be somewhat out of tune
but in a new and different way. Or maybe they even work quite well.
- Some tuning of fuseki patterns.
- Caching of upower and mypower values from testwind.
- Some functions moved from matchpat.c to shapes.c.
2.3.15 released May 22, 1999
- board-setup nodes were being ignored in test-mode
- fixes a bug where moves annotated as bad (MA[]) were reported as good.
- took ascii_showboard out of play_test.c.
- end_sgfdump() tries to pop the stack before closing the file
- DEPTH ramped all the way up to 10, the new reading code is so fast
- evaluation of moves is moved to break_chain and break_chain2
- simplification of readlad1, readlad2, savestone2, find_defense and basicnet3
- a few annotated games against David Fotland's XGO added to regression/
2.3.14 released May 21, 1999
- documentational changes to helpers.c
- minor changes in patterns.db
- all jump_out_helper patterns changed to weight 60 for moyo heuristics
- jump_out_helper() modified to use moyo heuristics
- new function delta_moyo() run quite fastly, using the cache as proposed.
the result of this function go in global variables :
moyo_test[WHITE],moyo_test[BLACK] and the difference from precedent
moyo evaluation is in moyo_test[0]
delta_moyo returns what is expected : the difference from point of view
of "color" player, aka moyo_test[0]
the same for moyo_eval[3] and terri_eval[3]
so all the results are availables for later use.
(see sources for details)
- used #defines for the variables 5/21 and 5/10 (can be 4/10 too), see liberty.h
2.3.13 released May 20, 1999
- further revisions to ttsgf_read.c regarding file buffering
- tuning, new patterns, helpers, half eye patterns
2.3.12 released May 20, 1999
- tuning
- ttsgf_read.c: changed
2.3.11 released May 19, 1999
- reading.c from 2.3.8 is restored
- MAX_FILE_BUFFER increased to 150000 in ttsgf_read.c
- tuning and a new joseki
- hide most of liberty.h from non-src/ code.
- src/ and patterns/ define BUILDING_GNUGO_ENGINE,
and are therefore allowed to see all the internal
symbols. Otherwise, code just sees a few functions,
and sees 'const' versions of the variables.
- (liberty.h defines a macro PUBLIC_VARIABLE which expands
to extern for engine source files, and extern const
for others)
- *NOTE* : we get many warnings about const violations,
where other modules write to these variables. In particular,
ascii_showboard makes temporary changes to p[][].
But it still compiles (with gcc at least). These interface
violations were always there. Now they are visible.
- Moved remove_string() and count_territory() from play_ascii
into src/utils : these need to be part of the engine
since they have intimate access to the state.
- Did a bit of gratuitous changes with play_test.c
No functionality changes.
- lost get_*_a and put_*_a interface functions.
- make_dragons() is no longer predicated on movenum, but
on existence of worms.
- potential_moves[][] is now taken seriously : genmove()
clears it at the start of the move cycle, rather than
having sgf_move_made() clear it at some random time
after genmove has returned.
- semeai criterion slightly changed: my dragon.vitality<0
and your dragon.status==DEAD.
2.3.10 released May 18, 1999
- hane_backfill_helper deprecated
- semeai module now consults vitality field to initiate fighting
- test mode did not pass movenum to engine code: fixed.
did away with the game_info entries for boardsize and move_number,
made the interface use the engine's global variables instead.
Better solution is needed (see TODO)
2.3.9 released May 17, 1999
- play_solo.c: in load_sgf_file() we now use global movenum instead of mv
- play_solo.c: white stones were loading as black (fixed)
- new helpers, tuning, revisions to pattern database
- mkpat.c: maxwt now takes bonus into account
- reading.c: break_chain2 simplified
2.3.8 released May 17, 1999
- backfill.sgf added to regression/
- color added to moyo.c
- bugfix in moyo.c: captures were counted backwards
- BOUZY added to docs/
- bugfix in sente_hane_helper
- joseki patterns are now type 's'
- fix the board_size bug in test mode
- reimplement load_sgf_file() in terms of the sgf parser : gives us
ability to read multiple AB[][]... for free
- move load_sgf_file and load_and_analyse_sgf_file from sgf/ into
interface. (Currently play_solo.c but that's temporary.)
Justification is that these fns have more to do with the engine
than with sgf files.
- put in the emacs variable blocks into some of the files
- remove some extern refs from .c files - according to David
this is a bad practise
- Remove a few remaining // comments, and disable // comments in
GNUGO_SOME_WARNINGS
- Reorganise the --help page, and add long options for most of the
short ones. The --help is modelled after gnu tar.
- Some files had #define _NO_PROTO to hide getopt() prototype, but
these files were not doing option parsing, so assume this is redundant.
- interface game_info structure was used only in interface.c, so
moved the structure defn out of a public header file
- The ttsgf_read.c code only offered to parse an sgf file which had
already been read into a buffer. Moved a code fragment which appeared
in two places to load the file then parse it into a readsgffile()
function.
- Prefixed all the symbols for long option names with OPT_, and mode
names with MODE_to avoid namespace clashes. (DECIDE_STRING was being
used as a mode and an option.)
2.3.7 released May 15, 1999
- Jerome's moyo mode (-m option)
- new patterns and helpers, including backfill patterns CD47 and CD48
- reading.c: trysafe in readlad2 has been removed
- reading.c: in savestone2 if stackp==0 we first try to capture
- a surrounding string. This would lead to thrashing if we tried
- it at deeper levels
- reading.c: bug fix in find_defense (Gunnar)
- reading.c: in break_chain2 we omit harder attacks if string has
- 3 liberties since this causes too many errors.
- reading.c: in basicnet3 we test a little more the attack really works
2.3.6 released May 15, 1999
- bug fixes in patterns/
2.3.5 released May 14, 1999
- tuning, new helper
- initialization in src/evaluate_game.c and interface/play_test.c
2.3.4 released May 13, 1999
- Nils' changes to main.c and src/Makefile.am
- tuning, joseki revisions, new helper wedge_helper
2.3.3 released May 12, 1999
- find_weak eschewed in find_defense
- change to allow build in a directory other than source
- braces to joseki.c to avoid a warning about dangling else
- added --testmode game to analyze games and see if it considered the moves
- added docs/structure.doc describing program structure and APIs
2.3.2 released May 12, 1999
- missing library files restored in utils/Makefile.am
- tuning, invasion under hoshi joseki
- and a cosmetic bug fix in shapes.c.
- patterns for endgame ko
- bugfix in double_attack patterns
2.3.1 released May 11, 1999
- Joseki compiler and beginnings of a Joseki database
- some tuning
- Tweak sgf/Makefile.am to write generated sgf_properties to $(srcdir)/
note : this generates a warning at automake, but I think it is benign.
- remove the GCC_OPTS from the Makefile.am's, and replace with either
@GNUGO_SOME_WARNINGS@ or @GNUGO_ALL_WARNINGS@.
This means we can centralise the choice of which warnings we enable,
rather than having to duplicate the list of warnings in each component.
- Add code to configure.in to generate the above. ALL_WARNINGS switches off use
of // comments (via -Wp,-lang-c89 which runs preprocesser in ansi mode).
SOME_WARNINGS will do the same once all components have been cleaned up.
SOME_WARNINGS is intended for code over which we don't have full control (eg gmp.c)
and so we have to be more liberal in the diagnostics.
- Removed from the build some of the stuff in utils/ which we do not (currently) use.
- fixed clear_board() bug that caused segfaults
- fixed game parameter handling in main() to use interface API
- updated other interfaces to partially use interface API (no more
passing from main!)
- removed // comments where they were not needed
They stil are in the tt* code, that needs to be revisited!!
- patched sgfgen to use stdin and stdout- makes things easier
2.1.25 released May 10, 1999
- added --decidestring option for sgf debugging reading code
- added regression directory: contains a few example test files
- added --quiet option
- added --testmode option: move, annotation, or both
This allows some flexibility in handling differently annotated files
- added --infile and --outfile options
- wrote play_test to handle regression testing
- wrote sgfgen, a program to translate SGF definitions into a header file
- added Tommy Thorn's code for SGF parsing and implemented tree parsing
- updated ASCII interface to rely on interface routines- it works!
- updated interfaces to handle new 'pass' based on int returned from genmove
- made genmove return boardsize, boardsize coordinates for pass
- added interface specification and code-- we now have engine independence!
- moved all SGF code into sgf directory
2.1.23 released May 7, 1999
- sgf debugging of reading code (from gdb only in this release)
2.1.22 released May 6, 1999
- renum target removed from pattern Makefile.am and Makefile.in
- strategic_distance was being calculated incorrectly
- revisions to pattern database
- chainlinks now tabulates the size of adjacent worms in preparation
to trying to sorting them when stackp19, else [] (by SGF standard)
- changed 'pass' moves to send board_size, board_size to sgf routines
2.1.18 released May 3, 1999
- play_ascii: playblack and playwhite are recognized as valid commands.
- play_ascii: Correct use of strtok on Solaris (missing strsep)
- ascii display and showboard now work as stated in the help command
- ascii display doesn't draw the board twice if showboard is enabled.
- ascii force was broken, is no longer.
- added check for getopt.h to configure.in
- fixed PLAY in play_ascii: need to check for two passes!
- prettyfication in main.c: changed strcmp() usage
- fixed seed printing in sgf.c
- play_gmp: handicap was not being passed to sgf_write_game_info
2.1.17 released May 2, 1999
- added counting to ascii interface
- Gunnar's reshuffled patterns
- LDFLAGS = $(COLORLIB) in src/Makefile.am and src/Makefile.in
2.1.16 released May 1, 1999
- further revisions to ascii interface
2.1.15 released May 1, 1999
- further revisions to play_ascii and sgf.c
- Gunnar's pattern classification in patterns.db
- static evaluation of the board position
2.1.13 released April 30, 1999
- moved all sgf routines into sgf.c
- changed pass value: from 19, 19 --> board_size, board_size
- added sgf_open_file() sgf_close_file() and sgf_flush_file() to sgf.c
- also added sgf_write_line() and sgf_write_game_info()
- rewrote play_solo to use new sgf routines
- absolutely no more build errors! (at least on Linux...)
- renamed ascii.* play_ascii.*
- moved play_gmp into play_gmp.c and added header file
- added komi option (doesn't do anything yet, just parses it)
2.1.12 released April 29, 1999
- finished adding long options
- color also works now (--handicap and --boardsize have been working)
- needs a little cleanup with short options- some should become long
- finished ASCII interface
- can display any board size up to 25x25
- has command line options and help
- enhanced error messages
- added 'switch' command to switch colors in the middle of play
2.1.11 realeased April 29, 1999
- Minor changes to the syntax of patterns.db and hey.db as a preparation
for restructuring of patterns.db. Documentation in PATTERNS updated.
- moved ascii play code into ascii.c
- copied showboard code for ascii play into ascii.c (ascii_showboard)
- updated Makefile.am's to reflect changes
- removed posix and error.c files from lib dir- not needed
- added long option parsing; still need to add this to help menu
- moved PATTERNS, DRAGON and OVERVIEW to /docs
2.1.10 released April 28, 1999
- incorporated more reorganizational patches
2.1.9 released April 28, 1999
- Automake-ized (NL)
- Made code which moves dragon[m][n].borders contingent on !worm[m][n].ko
- Set TRUST_GRID back to 1.
--------------------------------------------------------------
This is GNU Go, a Go program. Contact gnugo@gnu.org, or see
http://www.gnu.org/software/gnugo/ for more information.
Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
and 2008 by the Free Software Foundation.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation - version 3 or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License in file COPYING for more details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111, USA.
gnugo-3.8/INSTALL 0000644 0001750 0001750 00000012111 11146627413 010456 0000000 0000000 GNU GO INSTALLATION INSTRUCTIONS
Get the most recent tar file from ftp.gnu.org or a mirror (see
http://www.gnu.org/order/ftp.html for a list).
Untar the sources, change to the directory gnugo-3.6. Now do:
./configure [OPTIONS]
make
Several configure options will be explained below. You do not need to set
these unless you are dissatisfied with GNU Go's performance or wish to vary
the experimental options.
As an example,
./configure --enable-level=9 --enable-cosmic-gnugo
will make a binary in which the default level is 9, and the experimental
"cosmic"' option is enabled. A list of all configure options can be obtained
by running `./configure --help'. Further information about the experimental
options can be found in the next section.
After running configure and make, you have now made a binary called
`interface/gnugo'. Now (running as root) type
make install
to install gnugo in `/usr/local/bin'.
There are different methods of using GNU Go. You may run it from the
command line by just typing:
gnugo
but it is nicer to run it using CGoban 1 (under X Window System) or Jago (on
any platform with a Java Runtime Environment).
You can get the most recent version of CGoban 1 from
http://sourceforge.net/projects/cgoban1/. The earlier version
1.12 is available from http://www.igoweb.org/~wms/comp/cgoban/index.html.
The CGoban version number MUST be 1.9.1 at least or it won't work. CGoban 2
will not work.
See the file README for instructions on how to run GNU Go from Cgoban, or
for Jago.
RAM CACHE
By default, GNU Go makes a cache of 8 Megabytes in RAM for its
internal use. The cache is used to store intermediate results during
its analysis of the position.
Increasing the cache size will often give a modest speed improvement.
If your system has lots of RAM, consider increasing the cache
size. But if the cache is too large, swapping will occur,
causing hard drive accesses and degrading performance. If
your hard drive seems to be running excessively your cache
may be too large. On GNU/Linux systems, you may detect swapping
using the program 'top'. Use the 'f' command to toggle SWAP
display.
You may override the size of the default cache at compile time
by running one of:
./configure --enable-cache-size=n
To set the cache size to n. For example
./configure --enable-cache-size=48
creates a cache of size 48. If you omit this, your default
cache size will be 8. You must recompile and reinstall GNU Go
after reconfiguring it by running make and make install.
You may override the compile-time defaults by running gnugo with
the option `--cache-size n', where n is the size (in megabytes) of
the cache you want, and `--level n' where n is the level desired.
We will discuss setting these parameters next in detail.
DEFAULT LEVEL
GNU Go can play at different levels. Up to level 10 is
supported. At level 10 GNU Go is much more accurate but takes
an average of about 1.6 times longer to play than at level 8.
The level can be set at run time using the --level option.
If you don't set this, the default level will be used. You
can set the default level with the configure option
--enable-level=n. For example
./configure --enable-level=9
sets the default level to 9. If you omit this parameter,
the compiler sets the default level to 10. We recommend
using level 10 unless you find it too slow. If you decide
you want to change the default you may rerun configure
and recompile the program.
DFA
GNU Go has two versions of the pattern matcher. The default
version uses a Discrete Finite Automaton (DFA). It can be
disabled, giving the old matcher (which was the default in
GNU Go 3.0) with './configure --disable-dfa'.
EXPERIMENTAL OPTIONS
--enable-experimental-semeai enables an experimental semeai
module. This will result in an engine that is probably stronger
but slightly slower and less debugged. It is not guaranteed
that the semeai code could not cause crashes in some situations.
--enable-owl-threats will result in an engine that does more
life and death analysis. It will be stronger but slower.
There are other experimental options but we only mention these.
WINDOWS
Windows installation is described in a separate file, called WINDOWS.
MACINTOSH
If you have Mac OS X you can build GNU Go using Apple's compiler,
which is derived from GCC. We recommend adding the flag -no-cpp-precomp
to CFLAGS.
THE MANUAL
You can obtain a printed copy of the manual by running 'make
gnugo.ps' in the doc/ directory, then printing the resulting
postscript file @file{gnugo.ps}. The manual contains a great
deal of information about the algorithms of GNU Go. The first
few sections serve as a user's manual.
On platforms supporting info documentation, you can usually
install the manual by executing `make install' (running as
root) from the doc/ directory. The info documentation can
be read conveniently from within Emacs by executing the
command `Control-h i'.
gnugo-3.8/Makefile.am 0000644 0001750 0001750 00000003567 11146627413 011500 0000000 0000000 ## Process this file with automake to produce Makefile.in
SUBDIRS = utils sgf engine patterns interface doc regression
DISTCLEANFILES = *~
EXTRA_DIST = gnugo.dsw config.vc makevcdist.pl WINDOWS OSX CMakeLists.txt config.h.cmake stamp-h.in
maintainer-check:
# Tag before making distribution. Also, don't make a distribution if
# checks fail. Also, make sure the NEWS file is up-to-date.
cvs-dist: maintainer-check
pkg=`echo "@PACKAGE@" | tr a-z A-Z`; \
ver=`echo "@VERSION@" | sed 's/\./_/g'`; \
tag="$$pkg-$$ver"; \
echo tag=$$tag; \
if cvs -n log -h README| grep -e $$tag > /dev/null; then \
echo "VERSION not new; not releasing" 1>&2; \
exit 1; \
else :; \
fi; \
cvs tag -c $$tag
$(MAKE) dist
dist-hook:
cd $(distdir) \
&& find . '(' -name '*.rej' -o -name '*.orig' ')' -exec rm '{}' ';'
vpathcheck: dist
-rm -rf $(distdir)
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
dc_install_base=`cd $(distdir)/=inst && pwd`; \
cd $(distdir)/=build \
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck
-rm -rf $(distdir)
@banner="Successful VPATH build for $(distdir).tar.gz"; \
dashes=`echo "$$banner" | sed s/./=/g`; \
echo "$$dashes"; \
echo "$$banner"; \
echo "$$dashes"
acdir = m4
@MAINT@aclocal-files: configure.in
@MAINT@ echo 'acfiles = \' > $@-tmp
@MAINT@ find $(acdir) -type f -name '*.m4' -print \
@MAINT@ | sed 's!^!$(top_srcdir)/!' \
@MAINT@ | tr '\012' ' ' \
@MAINT@ >> $@-tmp
@MAINT@ echo >> $@-tmp
@MAINT@ mv $@-tmp $@
@MAINT@include aclocal-files
@MAINT@# Override default rule to use --acdir option
@MAINT@$(srcdir)/aclocal.m4: configure.in $(acfiles)
@MAINT@ cd $(srcdir) && aclocal --acdir=$(acdir)
gnugo-3.8/Makefile.in 0000644 0001750 0001750 00000050562 11146655477 011521 0000000 0000000 # Makefile.in generated by automake 1.9.6 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = .
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(srcdir)/config.vcin $(top_srcdir)/configure AUTHORS COPYING \
ChangeLog INSTALL NEWS THANKS TODO depcomp install-sh missing \
mkinstalldirs
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno configure.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = config.vc
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
html-recursive info-recursive install-data-recursive \
install-exec-recursive install-info-recursive \
install-recursive installcheck-recursive installdirs-recursive \
pdf-recursive ps-recursive uninstall-info-recursive \
uninstall-recursive
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
{ test ! -d $(distdir) \
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -fr $(distdir); }; }
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DFA_ENABLED_FALSE = @DFA_ENABLED_FALSE@
DFA_ENABLED_TRUE = @DFA_ENABLED_TRUE@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GCC_MAJOR_VERSION = @GCC_MAJOR_VERSION@
GCC_MINOR_VERSION = @GCC_MINOR_VERSION@
GCC_ONLY_FALSE = @GCC_ONLY_FALSE@
GCC_ONLY_TRUE = @GCC_ONLY_TRUE@
GNU_GO_WARNINGS = @GNU_GO_WARNINGS@
GREP = @GREP@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
ac_ct_CC = @ac_ct_CC@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build_alias = @build_alias@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
glibconfig = @glibconfig@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
SUBDIRS = utils sgf engine patterns interface doc regression
DISTCLEANFILES = *~
EXTRA_DIST = gnugo.dsw config.vc makevcdist.pl WINDOWS OSX CMakeLists.txt config.h.cmake stamp-h.in
acdir = m4
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
am--refresh:
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
cd $(srcdir) && $(AUTOMAKE) --gnu \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
config.h: stamp-h1
@if test ! -f $@; then \
rm -f stamp-h1; \
$(MAKE) stamp-h1; \
else :; fi
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
cd $(top_srcdir) && $(AUTOHEADER)
rm -f stamp-h1
touch $@
distclean-hdr:
-rm -f config.h stamp-h1
config.vc: $(top_builddir)/config.status $(srcdir)/config.vcin
cd $(top_builddir) && $(SHELL) ./config.status $@
uninstall-info-am:
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
@failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
ctags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique; \
fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
$(am__remove_distdir)
mkdir $(distdir)
$(mkdir_p) $(distdir)/.
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d "$(distdir)/$$subdir" \
|| $(mkdir_p) "$(distdir)/$$subdir" \
|| exit 1; \
distdir=`$(am__cd) $(distdir) && pwd`; \
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$top_distdir" \
distdir="$$distdir/$$subdir" \
distdir) \
|| exit 1; \
fi; \
done
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" distdir="$(distdir)" \
dist-hook
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__remove_distdir)
dist-tarZ: distdir
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__remove_distdir)
dist-shar: distdir
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
$(am__remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__remove_distdir)
dist dist-all: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& cd $(distdir)/_build \
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
$(DISTCHECK_CONFIGURE_FLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
$(am__remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
distuninstallcheck:
@cd $(distuninstallcheck_dir) \
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile config.h
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
dvi: dvi-recursive
dvi-am:
html: html-recursive
info: info-recursive
info-am:
install-data-am:
install-exec-am:
install-info: install-info-recursive
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am: uninstall-info-am
uninstall-info: uninstall-info-recursive
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
check-am clean clean-generic clean-recursive ctags \
ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
dist-shar dist-tarZ dist-zip distcheck distclean \
distclean-generic distclean-hdr distclean-recursive \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \
install-data install-data-am install-exec install-exec-am \
install-info install-info-am install-man install-strip \
installcheck installcheck-am installdirs installdirs-am \
maintainer-clean maintainer-clean-generic \
maintainer-clean-recursive mostlyclean mostlyclean-generic \
mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
uninstall uninstall-am uninstall-info-am
maintainer-check:
# Tag before making distribution. Also, don't make a distribution if
# checks fail. Also, make sure the NEWS file is up-to-date.
cvs-dist: maintainer-check
pkg=`echo "@PACKAGE@" | tr a-z A-Z`; \
ver=`echo "@VERSION@" | sed 's/\./_/g'`; \
tag="$$pkg-$$ver"; \
echo tag=$$tag; \
if cvs -n log -h README| grep -e $$tag > /dev/null; then \
echo "VERSION not new; not releasing" 1>&2; \
exit 1; \
else :; \
fi; \
cvs tag -c $$tag
$(MAKE) dist
dist-hook:
cd $(distdir) \
&& find . '(' -name '*.rej' -o -name '*.orig' ')' -exec rm '{}' ';'
vpathcheck: dist
-rm -rf $(distdir)
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
dc_install_base=`cd $(distdir)/=inst && pwd`; \
cd $(distdir)/=build \
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck
-rm -rf $(distdir)
@banner="Successful VPATH build for $(distdir).tar.gz"; \
dashes=`echo "$$banner" | sed s/./=/g`; \
echo "$$dashes"; \
echo "$$banner"; \
echo "$$dashes"
@MAINT@aclocal-files: configure.in
@MAINT@ echo 'acfiles = \' > $@-tmp
@MAINT@ find $(acdir) -type f -name '*.m4' -print \
@MAINT@ | sed 's!^!$(top_srcdir)/!' \
@MAINT@ | tr '\012' ' ' \
@MAINT@ >> $@-tmp
@MAINT@ echo >> $@-tmp
@MAINT@ mv $@-tmp $@
@MAINT@include aclocal-files
@MAINT@# Override default rule to use --acdir option
@MAINT@$(srcdir)/aclocal.m4: configure.in $(acfiles)
@MAINT@ cd $(srcdir) && aclocal --acdir=$(acdir)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
gnugo-3.8/NEWS 0000644 0001750 0001750 00000004412 11146627413 010131 0000000 0000000 New in 3.8 (since 3.6)
- many small improvements and tuning since 3.6
- experimental Monte Carlo mode (9x9 only)
- support for tiny boards
- GPL v3
New in 3.6 (since 3.4)
- stronger than 3.4
- many small improvements
- GNU Go can now resign games
- emacs mode can display the board graphically using xpms
- basic knowledge of how to break out of mirror go
New in 3.4 (since 3.2)
- stronger than 3.2
- new connection and semeai modules use lookahead
- new break-in code
- improvements to many parts of the program
New in 3.2 (since 3.0)
- stronger than 3.0
- uses less RAM than 3.0
- 1-dimensional board
- experimental dynamic connection analysis
- experimental reading semeai module
- new influence function
- stronger and more agressive
- reads to find combinations
- revised Zobrist hashing
- new html views of the regressions, and many more tests
New in 3.0 (since 2.6)
- stronger than 2.6
- new move generation scheme
- new influence function
- more accurate reading
- board information maintained incrementally during reading
- new "owl" and "life" modules for accurate life and death analysis
- persistent caching of reading and owl results for speed
- revised semeai module
- experimental Deterministic Finite State Automaton (DFA) pattern matcher
- new debugging tools
- level option
New in 2.6 (since 2.4)
- stronger than 2.4
- more portable code
- Texinfo documentation
- Emacs mode
New in 2.4 (since 2.0)
Enhancements for the user:
- stronger: able to give GNU Go 2.0 a 5 stone handicap
- life and death evaluation drastically improved
- more efficient and accurate reading
- (small) joseki database
- takes influence and territory into account
- Ascii interface as an alternative to CGoban
- uses GNU configure
- undo supported
- man page
Enhancements for the developer:
- expanded pattern database
- autohelpers for patterns
- joseki library in Smart Go Format
- fuseki module
- backfilling and numerous other improvements to reading code
- algorithms for estimating territory and influence
- eye_finder module uses a static algorithm for life and death
- eyeshape database
- connection database
- reading code uses Zobrist hashing and other speedups
- greater modularity
- documentation of key algorithms
- expanded support for Smart Go Format
- various debugging tools
gnugo-3.8/OSX 0000644 0001750 0001750 00000000741 11146627413 010027 0000000 0000000 If you have Mac OS X you can build GNU Go using Apple's compiler, which
is derived from GCC. You will need Xcode.
One issue is that the configure test for socket support is too
conservative. On OS/X, the configure test fails, but actually socket
support exists. So if you want to be able to connect to the engine
through tcp/ip (using gtp) you may `configure --enable-socket-support'.
There will be an error message but you may build the engine and socket
support should work.
gnugo-3.8/README 0000644 0001750 0001750 00000021273 11146627413 010316 0000000 0000000 GNU Go
This is GNU Go, a Go program. Development versions of GNU Go may be
found at http://www.gnu.org/software/gnugo/devel.html. Consult TODO if
you are interested in helping.
Installation
In short, './configure; make' will build GNU Go; optionally (running
as root) 'make install' will put it into /usr/local/bin and also
install the man page. You also will probably want to install CGoban.
See INSTALL for details.
Documentation
User documentation can be obtained by running 'gnugo --help' or 'man
gnugo' from any terminal.
Texinfo documentation includes instructions for users as well as
documentation of GNU Go's algorithms and functions for programmers and
developers. Use an info reader or emacs to read the info files, or run
`make gnugo.dvi' or `make gnugo.ps' in the doc/ directory to get
printed documentation. You can also make html documentation from the
Texinfo files. One method of making html documentation is to run the
command 'makeinfo --html gnugo.texi' in the doc/ directory.
Contact us at gnugo@gnu.org if you are interested in helping to
develop this program.
Running GNU Go via CGoban
This is an extremely nice way to run GNU Go. CGoban provides a
beautiful graphic user interface under X Window System.
Start CGoban. When the CGoban Control panel comes up, select ``Go
Modem''. You will get the Go Modem Protocol Setup. Choose one (or
both) of the players to be ``Program,'' and fill out the box with the
path to gnugo. After clicking OK, you get the Game Setup window.
Choose ``Rules Set'' to be Japanese (otherwise handicaps won't work).
Set the board size and handicap if you want. Click OK and you are
ready to go.
In the Go Modem Protocol Setup window, when you specify the path to
GNU Go, you can give it command line options, such as --quiet to
suppress most messages. Since the Go Modem Protocol preempts standard
I/O other messages are sent to stderr, even if they are not error
messages. These will appear in the terminal from which you started
CGoban.
If you want to play with a komi, you should bear in mind that
the GMP does not have any provision for communicating the komi.
Because of this misfeature, unless you set the komi at the command
line GNU Go will have to guess it. It assumes the komi is 5.5 for
even games, 0.5 for handicap games. If this is not what you want,
you can specify the komi at the command line with the --komi
option, in the Go Modem Protocol Setup window. You have to set
the komi again in the Game Setup window, which comes up next.
Click OK and you are ready to go.
Other command line options can be listed by typing 'gnugo --help'
-or- 'man gnugo' from any terminal, or by consulting the Texinfo
documentation.
Ascii Interface
Even if you do not have CGoban installed you can play with GNU Go
using its default Ascii interface. Simply type `gnugo' at the command
line, and GNU Go will draw a board. Typing `help' will give a list of
options. At the end of the game, pass twice, and GNU Go will prompt you
through the counting. You and GNU Go must agree on the dead groups--you
can toggle the status of groups to be removed, and when you are done,
GNU Go will report the score.
GNU Go mode in Emacs
You can run GNU Go from Emacs. This has the advantage that you place
the stones using the cursor arrow keys. This requires Emacs 20.4 or
later. (Tested with Emacs 20.4. Does not work with 20.2.)
Load `interface/gnugo.el', either by `M-x load-file', or by adding a
line
(autoload 'gnugo "gnugo" "GNU Go" t)
in your `.emacs' file. Now you may start GNU Go by `M-x gnugo'. You
will be prompted for command line options *note Invoking GNU Go::.
Using these, you may set the handicap, board size, color and komi.
You can enter commands from the GNU Go ASCII interface after
typing `:'. For example, to take a move back, type `:back', or
to list all commands, type `:help'.
Here are the default keybindings:
* `Return' or `Space'
Select point as the next move. An error is signalled for
invalid locations. Illegal locations, on the other hand,
show up in the GNU Go Console buffer.
* `q' or `Q'
Quit. Both Board and Console buffers are deleted.
* `R'
Resign.
* `C-l'
Refresh. Includes restoring default window configuration.
* `M-_'
Bury both Board and Console buffers (when the boss is near).
* `p'
Pass; i.e., select no location for your move.
* `:'
Extended command. Type in a string to be passed directly to
the inferior GNU Go process."
Running GNU Go via Jago
Jago, like CGoban is a client capable of providing GNU Go with a
graphical user interface. Unlike CGoban, it does not require
X Window System, so it is an attractive alternative under Windows.
You will need a Java Runtime Environment. Obtain Jago at
http://www.rene-grothmann.de/jago and follow the links there for the
Java Runtime Environment.
Go Modem Protocol
The Go Modem Protocol was developed by Bruce Wilcox with input from
David Fotland, Anders Kierulf and others, according to the history in
ftp://www.joy.ne.jp/welcome/igs/Go/programs/protocol.Z . Any Go
program *should* use this protocol since it is standard. Since CGoban
supports this protocol, the user interface for any Go program can be
done entirely through CGoban. The programmer can concentrate on the
real issues without worrying about drawing stones, resizing the board
and other distracting issues.
Options
A few options are described here. A more complete list
may be found in the Texinfo documentation, or by running
gnugo --help.
* `--help', `-h'.
Print a help message describing the options. This will also
tell you the defaults of various parameters, most importantly
the level and cache size. The default values of these
parameters can be set before compiling by `configure'. If
you forget the defaults you can find out using `--help'.
* `--level LEVEL'
GNU Go can play with different strengths and speeds. Level 10
is the default. Decreasing the level will make GNU Go faster
but less accurate in its reading.
* `--quiet', `--silent'
Don't print copyright and other messages. Messages
specifically requested by other command line options, such as
`--trace', are not supressed.
* `-l', `--infile FILENAME'
Load the named SGF file
* `-L', `--until MOVE'
Stop loading just before the indicated move is played. MOVE
can be either the move number or location.
* `-o', `--outfile FILENAME'
Write sgf output to file
* `--mode MODE'
Force the playing mode ('ascii', 'gmp' or 'gtp'). The
default is ASCII, but if no terminal is detected GMP (Go
Modem Protocol) will be assumed. In practice this is usually
what you want, so you may never need this option.
* `-M', `--cache-size MEGS'
Memory in megabytes used for hashing. The default size is 8
unless you configure gnugo with the command `configure
--enable-cache-size=SIZE' before compiling to make SIZE
the default.
* `--chinese-rules'
Use Chinese counting.
* `--japanese-rules'
Use Japanese Rules. This is the default unless you specify
`--enable-chinese-rules' as a configure option.
* `--copyright': Display the copyright notice
* `--version' or `-v': Print the version number
* `--printsgf FILENAME': Create an SGF file containing a diagram of
the board. Useful with `-L' to create diagrams from games.
Copyrights and License
All files Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
2007, 2008 and 2009 by the Free Software Foundation except as noted below.
All files are under the GNU General Public License, which may be
found in the file COPYING, with the following exceptions.
* The files interface/gtp.c and gtp.h are copyright 2001 by
the Free Software Foundation. In the interests of promoting
the Go Text Protocol these two files are licensed under a less
restrictive license than the GPL and are free for unrestricted use.
The GTP license appears in each file.
* The files gmp.c and gmp.h are copyright Bill Shubert. These
are free for unrestricted use.
* The files regression/golois/* and the tests vie.tst, connect.tst,
capture.tst and global.tst are copyright Tristan Cazenave and are
used with his permission
* The SGF files in regression/games/handtalk are copyright Jessie Annala
and are used with permission.
* The SGF files in regression/games/mertin13x13 are copyright Stefan
Mertin and are used with permission.
* The remaining SGF files are either copyright by the FSF or are in
the public domain.
gnugo-3.8/THANKS 0000644 0001750 0001750 00000002655 11146640425 010352 0000000 0000000 Acknowledgements
We would like to thank Arthur Britto, David Doshay, Tim Hunt, Matthias Krings,
Piotr Lakomy, Paul Leonard, Jean-Louis Martineau, Andreas Roever, Pierce
Wetter, Joseph Piche, and Emanuele Cisbani for helpful correspondence.
Thanks to everyone who stepped on a bug (and sent us a report)!
Thanks to Gary Boos, Wietze Brandsma, Peter Gucwa, Martijn van der Kooij, Michael
Margolis, Trevor Morris, Mans Ullerstam, Don Wagner, Yin Zheng for help
with Visual C++.
Thanks to Allan Crossman, Pierce Wetter, Stephan Somogyi and Mathias Wagner
for help with Macintosh. And thanks to Marco Scheurer and Shigeru Mabuchi for
helping us find various problems.
Thanks to Jessie Annala for the Handtalk games, and to Stefan
Mertin for the games from his 13x13 tournament.
Thanks to Ricard Vilà for creating the STS-RV semeai regression test
suite and to Emanuele Cisbani for helping to port it to GNU Go.
Special thanks to Ebba Berggren for creating our logos, logo-34 and
logo-36. Logo-34 is based on a design by Tanguy Urvoy and comments
by Alan Crossman. The old GNU Go logo32 was adapted from Jamal
Hannah's typing GNU: http://www.gnu.org/graphics/atypinggnu.html.
We would like to thank Stuart Cracraft, Richard Stallman and Man Lung Li for
their interest in making this program a part of GNU, William Shubert for
writing CGoban and gmp.c, Rene Grothmann for Jago and Erik van Riper and his
collaborators for NNGS.
gnugo-3.8/TODO 0000644 0001750 0001750 00000023162 11146627413 010125 0000000 0000000 GNU Go Task List
You can help make GNU Go the best Go program.
This is a task-list for anyone who is interested in helping with GNU
Go. If you want to work on such a project you should correspond with
us until we reach a common vision of how the feature will work!
A note about copyright. Before any code can be accepted as a part of
the official release of GNU Go, the Free Software Foundation will want
you to sign a copyright disclaimer. Of course you can work on a forked
version without signing such a disclaimer. If you want your changes to
the program to be incorporated into the version we distribute we need
such a disclaimer. Please contact the GNU Go maintainers, Daniel Bump
(bump@sporadic.stanford.edu) and Gunnar Farneback
(gunnar@lysator.liu.se), to get more information and the papers to
sign.
Below is a list of things YOU could work on. We are already working on
some of these tasks, but don't let that stop you. Please contact us or
the person assigned to task for further discussion.
//--------------------------------------------------------------
// General
//--------------------------------------------------------------
* If you can, send us bug FIXES as well as bug reports. If you see
some bad behavior, figure out what causes it, and what to do about
fixing it. And send us a patch! If you find an interesting bug and
cannot tell us how to fix it, we would be happy to have you tell us
about it anyway. Send us the sgf file (if possible) and attach
other relevant information, such as the GNU Go version number. In
cases of assertion failures and segmentation faults we probably
want to know what operating system and compiler you were using, in
order to determine if the problem is platform dependent.
//--------------------------------------------------------------
// smaller projects
//--------------------------------------------------------------
These issues are of tactical nature, i.e. they concern some specific
feature or the infrastructure of the engine. Some of these are quiet
small, maybe doable in a day for an experienced GNU Go programmer.
They might also be useful project to start with for a new project
member. Some of them are bigger and demand a deeper knowledge of the
engine internals. The issues are presented here in an approximate
order of perceived difficulty.
* Add more checks in patterns/mkpat.c testing whether the main diagram and
the constraint diagram are consistent.
* Break out handling of movelists into its own file and generalize it.
This is started in 3.1.16. Move lists are used, among other places,
in worms.c where it is used to store moves that capture, save,
threaten to capture and threaten to save the worm.
* Implement move lists storing important moves for dragons and eyes
in the same way as it is used for worms. Half eyes are already
halfway done. The moves are stored, but not the attack and defend
codes (LOSE, KO_A, KO_B and WIN).
* Make the cache not waste storage on 64 bit systems.
* The dragon data is split into two arrays, dragon[] and dragon2[].
The dragon2 array only have one entry per dragon, in contrast to
the dragon array where all the data is stored once for every
intersection of the board. Complete the conversion of eye_data,
half_eye_data, worm and dragon to use the same structure as the
dragon2 array.
* Support for ko in eyes.db and optics.c.
* Integrate the time handling code in play_gtp.c with the autolevel
code in clock.c. Alternatively, replace them both with something
better. Basing it on some solid system identification theory and/or
control theory wouldn't hurt.
* Write a script which plays through the joseki databases and checks
that the engine really generates a joseki move for all positions in
the databases. This would also be interesting to run with the
--nojosekidb option.
//--------------------------------------------------------------
// long term issues
//--------------------------------------------------------------
These issues are strategic in nature. They will help us to improve the
playing strength of the program and/or enhance certain aspects of it.
* Extend the regression test suites.
See the texinfo manual in the doc directory for a description of
how to do this. In particular it would be useful with test suites
for common life and death problems. Currently second line groups, L
groups and the tripod shape are reasonably well covered, but there
is for example almost nothing on comb formations, carpenter's
square, and so on. Other areas where test suites would be most
welcome are fuseki, tesuji, and endgame.
* Tuning the pattern databases. These are under constant revision. Tuning
them is a sort of art. It is not necessary to do any programming to do
this since most of the patterns do not require helpers. We would like it if
a few more Dan level players would learn this skill.
* Extend and tune the Joseki database. It might be very useful to implement
a semi-automatic way of doing this. The current method based on sgf files
becomes difficult with existing tools.
* The semeai module is still in need of improvement. (This is underway.)
* GNU Go does not have a move generator that tries explicitly to build
moyos, or reduce/invade opponent's moyos. Such a move generator could
be built using the same type of code that is used in the owl life and
death reader, or the connection reader mentioned in point 5 above.
* A much improved combination module. The combination module of
today only finds combinations of threats to capture enemy groups.
A more useful combination module would e.g. find combinations of
threats to capture a group or enter opponent territory. It would
also be strong enough to find combinations of strategic moves and
more indirect threats (a threat to a threat). Possibly it could
combine threats in AND-OR trees (DAGs?) that could be searched
using ordinary tree search algorithms. (Revision of combination.c
is underway.)
* Speed up the tactical reading. GNU Go is reasonably accurate when
it comes to tactical reading, but not always very fast. The main
problem is that too many ineffective moves are tested, leading to
strange variations that shouldn't need consideration. To improve
one could refine the move generation heuristics in the reading.
Also, one should implement some more of the standard tree search
optimizations used in alpha-beta readers.
* Improve the heuristics for assessment of the safety of a
group. This might take into account number of eyes / half eyes,
moyo in corners, moyo along the edge, moyo in the center, proximity
to living friendly groups, weak opponent groups etc. It is of
particular interest to be able to accurately determine how a move
affects the safety of all groups on the board.
//--------------------------------------------------------------
// Ideas
//--------------------------------------------------------------
These are some ideas that have been floated on the mailing list. Some
of them are down-to-earth, and some are just blue sky ramblings. They
are presented here for inspiration.
* A good GUI.
A start is being made with GoThic, a goban widget based on the Qt
toolkit. This is linked from the GNU Go development web page on
gnu.org. Other starts have been made based on GTK+, but so far
nothing more than a start has been attempted.
* A graphical pattern editor.
This would make it much easier for non-programmers to improve the
strength of GNU Go. It could also be used as a debugging tool for
the programmers. This project has the GUI as a prerequisite.
The challenge here is not to make a tool which makes it easier to
create patterns but to make it easier to overview and maintain the
database.
* Make the engine thread safe and use multiple CPUs on an SMP
machine.
* Making the engine use many machines loosely connected on the
internet or in a cluster.
* Think on the opponent's time.
* A global alpha-beta reader. This would probably be very slow and
could only read 2 or 3 moves ahead. Still it could find fatal
errors and improve the moves that GNU Go makes.
* A strategic module that identifies high-level goals and then gives
these goals to the rest of the engine. It should be able to
identify if we are ahead in territory or thickness, if we should
play safe or if we should play daringly (e.g. if behind). It
should also identify weak areas where we can attack or where we
should defend. Maybe this module doesn't have to be written in C.
Maybe PROLOG, LISP or some other AI language would be better.
* A parameter that makes GNU Go play different styles. Such styles
could be 'play for territory', 'play aggressively', 'play tricky
moves (hamete)', and so on. It could be used to present human
users with different kinds of opponents or to tell GNU Go how to
play certain computer opponents in tournaments.
* Generalize representation and handling of threats so that we have a
graph representation of threats that can be searched to see how
different threats interact.
* An endgame module based on ideas from combinatorial game theory.
To be really useful this would have to deal with early endgame
positions.
* Fuseki tuning by hand is difficult. People who are interested
in doing machine learning experiments with GNU Go could try
working with fuseki. This may be one of the areas with most
potential for substantial and reasonably quick improvements.
* Create a paradigm for handling other types of ko (approach move ko,
multi-step ko, etc) and then write code that handles them.
gnugo-3.8/WINDOWS 0000644 0001750 0001750 00000012456 11146627413 010516 0000000 0000000 Building GNU Go on Windows Platforms
==========================
BUILDING WITH OLDER VISUAL STUDIO
The distribution directories contain some .dsp and .dsw files with
GNU Go. These have been brought up to date in the sense that they
should work if you have the older VC++ with Visual Studio 6
but the distributed .dsp and .dsw files will only be of use with
older version of Visual Studio.
In most cases (unless you are building in Cygwin) the preferred way
to build GNU Go on Windows platforms is to use CMake. CMake
understands about many versions of Visual C/Visual Studio, and will
generate project/solution files for the tools installed on your
system. So even if you have Visual Studio 6 you may use CMake
and dispense with the distributed .dsp and .dsw files.
==========================
BUILDING WITH VISUAL STUDIO PROJECT FILES
Before you compile the GNU Go source, you need to run CMake first, to
generate the build files you'll give to Visual Studio.
From the cmd.exe command prompt, CD into the GNU Go source directory.
To confirm you're in the right place, you should see the file
'CMakeLists.txt' in the top-level directory of the GNU Go code (as well
as others in lower subdirectories).
Direct CMake to generate the new Visual Studio build files by typing:
cmake CMakeLists.txt
Compile the code by invoking the newly-created Solution file:
vcbuild GNUGo.sln
This will take a few moments, as CMake generates 4 debug/retail targets:
debug
release
minsizerel
relwithdebinfo
For each of these targets, Visual Studio is generating a version of
gnugo.exe:
interface\debug\gnugo.exe
interface\release\gnugo.exe
interface\minsizerel\gnugo.exe
interface\relwithdebinfo\gnugo.exe
Additionally, there is an 'Install' target available, that will copy the
the gnugo.exe into the %ProgramFiles% directory. To do this, type:
vcbuild INSTALL.vcproj
This should result in copying GNU/Go into:
"%ProgramFiles%\GNUGo\bin\gnugo.exe" --options
In addition to command line use, CMake also has a GUI version. Users of
the Visual Studio GUI might prefer to use that.
==========================
BUILDING WITH NMAKE MAKEFILES
GNU Go will also build using NMake makefiles. Optionally, instead of
Visual Studio project/solution files, you may direct CMake to generate
NMake makefiles. To generate the makefiles:
cmake -G "NMake Makefiles" CMakeLists.txt
The default rule for the makefile is 'all'. Use the 'help' rule to show
a list of available targets.
nmake -f Makefile help
To compile GNU Go:
nmake -f Makefile all
On some systems, GNU GO may fail to build when using NMake makefiles. It
only fails the first time run, run NMake again with the 'clean all'
targets, and it will compile the second and subsequent times.
nmake -f Makefile clean all
Which will successfully generate a gnugo.exe.
interface\gnugo.exe --options
==========================
BUILDING WITH MINGW MAKEFILES:
GNU Go can be built on Windows systems using MinGW.
This development environment uses: the GCC compiler (gcc.exe, not
cl.exe), the Microsoft C runtime libraries (MSCRT, not GLibC), the GNU
Make build tool (mingw32-make.exe, not NMake), all from the Windows
shell (cmd.exe, not sh/bash).
For CMake to work, in addition to the base MinGW installation, the C++
compiler (g++.exe) and GNU Make (mingw32-make.exe) need to be installed.
This was tested using GCC v3, not the experimental v4. To debug, use
GDB, as the GCC-generated symbols won't work with NTSD/Windbg/Visual Studio.
To create the makfiles, run CMake with the MinGW generator option:
cmake -G "MinGW Makefiles" CMakeLists.txt
To build GNU Go, from a cmd.exe shell, run GNU Make (against the
newly-created 'Makefile' and it's default 'all' target):
mingw32-make
..\interface\gnugo.exe --options
==========================
BUILDING WITH MSYS MAKEFILES (MinGW)
GNU Go can be built on Windows systems using MSYS.
This development environment uses: the GCC compiler (gcc.exe, not
cl.exe), the Microsoft C runtime libraries (MSCRT, not GLibC), the GNU
Make build tool (make, not NMake), all from the GNU Bash (sh.exe, not
cmd.exe).
To create the makfiles, run CMake with the MSYS generator option:
cmake -G "MSYS Makefiles" CMakeLists.txt
Start MSYS's Bash shell, either clicking on a shortcut on from the
command line:
cd /d c:\msys\1.0
msys.bat
To build GNU Go, from a Bash shell, run GNU Make (against the
newly-created 'Makefile' and it's default 'all' target):
make
../interface/gnugo.exe --options
To debug, use GDB, as the GCC-generated symbols won't work with
NTSD/Windbg/Visual Studio.
==========================
BUILDING ON CYGWIN
With Cygwin, you should be able to
tar zxvf gnugo-3.8.tar.gz
cd gnugo-3.8
env CC='gcc -mno-cygwin' ./configure
make
==========================
Testing on Windows:
Regress.cmd is a simplified cmd.exe-centric port of the main gnugo Unix
shell script regress.sh. It can be used to help verify that the
generated binary might be operational. Read the script's comment header
for more information. For access to the full GNU Go tests, use Unix, not
Windows.
To test:
cd regression
regress.cmd ..\interface\gnugo.exe
==========================
gnugo-3.8/aclocal.m4 0000644 0001750 0001750 00000077437 11146627413 011313 0000000 0000000 # generated automatically by aclocal 1.9.6 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_AUTOMAKE_VERSION(VERSION)
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
# Call AM_AUTOMAKE_VERSION so it can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.9.6])])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
#
# Of course, Automake must honor this variable whenever it calls a
# tool from the auxiliary directory. The problem is that $srcdir (and
# therefore $ac_aux_dir as well) can be either absolute or relative,
# depending on how configure is run. This is pretty annoying, since
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
# source directory, any form will work fine, but in subdirectories a
# relative path needs to be adjusted first.
#
# $ac_aux_dir/missing
# fails when called from a subdirectory if $ac_aux_dir is relative
# $top_srcdir/$ac_aux_dir/missing
# fails if $ac_aux_dir is absolute,
# fails when called from a subdirectory in a VPATH build with
# a relative $ac_aux_dir
#
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
# are both prefixed by $srcdir. In an in-source build this is usually
# harmless because $srcdir is `.', but things will broke when you
# start a VPATH build or use an absolute $srcdir.
#
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
# and then we would define $MISSING as
# MISSING="\${SHELL} $am_aux_dir/missing"
# This will work as long as MISSING is not called from configure, because
# unfortunately $(top_srcdir) has no meaning in configure.
# However there are other variables, like CC, which are often used in
# configure, and could therefore not use this "fixed" $ac_aux_dir.
#
# Another solution, used here, is to always expand $ac_aux_dir to an
# absolute PATH. The drawback is that using absolute paths prevent a
# configured tree to be moved without reconfiguration.
AC_DEFUN([AM_AUX_DIR_EXPAND],
[dnl Rely on autoconf to set up CDPATH properly.
AC_PREREQ([2.50])dnl
# expand $ac_aux_dir to an absolute path
am_aux_dir=`cd $ac_aux_dir && pwd`
])
# AM_CONDITIONAL -*- Autoconf -*-
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 7
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# Define a conditional.
AC_DEFUN([AM_CONDITIONAL],
[AC_PREREQ(2.52)dnl
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_SUBST([$1_TRUE])
AC_SUBST([$1_FALSE])
if $2; then
$1_TRUE=
$1_FALSE='#'
else
$1_TRUE='#'
$1_FALSE=
fi
AC_CONFIG_COMMANDS_PRE(
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
AC_MSG_ERROR([[conditional "$1" was never defined.
Usually this means the macro was only invoked conditionally.]])
fi])])
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 8
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
# will think it sees a *use*, and therefore will trigger all it's
# C support machinery. Also note that it means that autoscan, seeing
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
# _AM_DEPENDENCIES(NAME)
# ----------------------
# See how the compiler implements dependency checking.
# NAME is "CC", "CXX", "GCJ", or "OBJC".
# We try a few techniques and use that to set a single cache variable.
#
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
# dependency, and given that the user is not expected to run this macro,
# just rely on AC_PROG_CC.
AC_DEFUN([_AM_DEPENDENCIES],
[AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
AC_CACHE_CHECK([dependency style of $depcc],
[am_cv_$1_dependencies_compiler_type],
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named `D' -- because `-MD' means `put the output
# in D'.
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
cp "$am_depcomp" conftest.dir
cd conftest.dir
# We will build objects and dependencies in a subdirectory because
# it helps to detect inapplicable dependency modes. For instance
# both Tru64's cc and ICC support -MD to output dependencies as a
# side effect of compilation, but ICC will put the dependencies in
# the current directory while Tru64 will put them in the object
# directory.
mkdir sub
am_cv_$1_dependencies_compiler_type=none
if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
fi
for depmode in $am_compiler_list; do
# Setup a source with many dependencies, because some compilers
# like to wrap large dependency lists on column 80 (with \), and
# we should not choose a depcomp mode which is confused by this.
#
# We need to recreate these files for each test, as the compiler may
# overwrite some of them when testing with obscure command lines.
# This happens at least with the AIX C compiler.
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
# Solaris 8's {/usr,}/bin/sh.
touch sub/conftst$i.h
done
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
case $depmode in
nosideeffect)
# after this tag, mechanisms are not by side-effect, so they'll
# only be used when explicitly requested
if test "x$enable_dependency_tracking" = xyes; then
continue
else
break
fi
;;
none) break ;;
esac
# We check with `-c' and `-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
# handle `-M -o', and we need to detect this.
if depmode=$depmode \
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
>/dev/null 2>conftest.err &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
# When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
if (grep 'ignoring option' conftest.err ||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
am_cv_$1_dependencies_compiler_type=$depmode
break
fi
fi
done
cd ..
rm -rf conftest.dir
else
am_cv_$1_dependencies_compiler_type=none
fi
])
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
AM_CONDITIONAL([am__fastdep$1], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
])
# AM_SET_DEPDIR
# -------------
# Choose a directory name for dependency files.
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
AC_DEFUN([AM_SET_DEPDIR],
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
])
# AM_DEP_TRACK
# ------------
AC_DEFUN([AM_DEP_TRACK],
[AC_ARG_ENABLE(dependency-tracking,
[ --disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors])
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
AC_SUBST([AMDEPBACKSLASH])
])
# Generate code to set up dependency tracking. -*- Autoconf -*-
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
#serial 3
# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[for mf in $CONFIG_FILES; do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named `Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# So let's grep whole file.
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")`
else
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
# from the Makefile without running `make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
test -z "am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# When using ansi2knr, U may be empty or an underscore; expand it
U=`sed -n 's/^U = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`AS_DIRNAME(["$file"])`
AS_MKDIR_P([$dirpart/$fdir])
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
# AM_OUTPUT_DEPENDENCY_COMMANDS
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
#
# This code is only required when automatic dependency tracking
# is enabled. FIXME. This creates each `.P' file that we will
# need in order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 8
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 12
# This macro actually does too much. Some checks are only needed if
# your package does certain things. But this isn't really a big deal.
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
# AM_INIT_AUTOMAKE([OPTIONS])
# -----------------------------------------------
# The call with PACKAGE and VERSION arguments is the old style
# call (pre autoconf-2.50), which is being phased out. PACKAGE
# and VERSION should now be passed to AC_INIT and removed from
# the call to AM_INIT_AUTOMAKE.
# We support both call styles for the transition. After
# the next Automake release, Autoconf can make the AC_INIT
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_PREREQ([2.58])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
# test to see if srcdir already configured
if test "`cd $srcdir && pwd`" != "`pwd`" &&
test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
fi
# test whether we have cygpath
if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w'
else
CYGPATH_W=echo
fi
fi
AC_SUBST([CYGPATH_W])
# Define the identity of the package.
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
[_AM_SET_OPTIONS([$1])dnl
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
_AM_IF_OPTION([no-define],,
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
AM_MISSING_PROG(AUTOCONF, autoconf)
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
AM_MISSING_PROG(AUTOHEADER, autoheader)
AM_MISSING_PROG(MAKEINFO, makeinfo)
AM_PROG_INSTALL_SH
AM_PROG_INSTALL_STRIP
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
[_AM_PROG_TAR([v7])])])
_AM_IF_OPTION([no-dependencies],,
[AC_PROVIDE_IFELSE([AC_PROG_CC],
[_AM_DEPENDENCIES(CC)],
[define([AC_PROG_CC],
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
[_AM_DEPENDENCIES(CXX)],
[define([AC_PROG_CXX],
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
])
])
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated. The stamp files are numbered to have different names.
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
# loop where config.status creates the headers, so we can generate
# our stamp files there.
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
[# Compute $1's index in $config_headers.
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
$1 | $1:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_SH
# ------------------
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
install_sh=${install_sh-"$am_aux_dir/install-sh"}
AC_SUBST(install_sh)])
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# Check whether the underlying file-system supports filenames
# with a leading dot. For instance MS-DOS doesn't.
AC_DEFUN([AM_SET_LEADING_DOT],
[rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
am__leading_dot=.
else
am__leading_dot=_
fi
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 4
AC_DEFUN([AM_MAINTAINER_MODE],
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
dnl maintainer-mode is disabled by default
AC_ARG_ENABLE(maintainer-mode,
[ --enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer],
USE_MAINTAINER_MODE=$enableval,
USE_MAINTAINER_MODE=no)
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
MAINT=$MAINTAINER_MODE_TRUE
AC_SUBST(MAINT)dnl
]
)
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 3
# AM_MAKE_INCLUDE()
# -----------------
# Check to see how make treats includes.
AC_DEFUN([AM_MAKE_INCLUDE],
[am_make=${MAKE-make}
cat > confinc << 'END'
am__doit:
@echo done
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# We grep out `Entering directory' and `Leaving directory'
# messages which can occur if `w' ends up in MAKEFLAGS.
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
am__include=include
am__quote=
_am_result=GNU
fi
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
am__include=.include
am__quote="\""
_am_result=BSD
fi
fi
AC_SUBST([am__include])
AC_SUBST([am__quote])
AC_MSG_RESULT([$_am_result])
rm -f confinc confmf
])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 4
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
AC_DEFUN([AM_MISSING_PROG],
[AC_REQUIRE([AM_MISSING_HAS_RUN])
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
# Define MISSING if not defined so far and test if it supports --run.
# If it does, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
am_missing_run="$MISSING --run "
else
am_missing_run=
AC_MSG_WARN([`missing' script is too old or missing])
fi
])
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_MKDIR_P
# ---------------
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
#
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
# created by `make install' are always world readable, even if the
# installer happens to have an overly restrictive umask (e.g. 077).
# This was a mistake. There are at least two reasons why we must not
# use `-m 0755':
# - it causes special bits like SGID to be ignored,
# - it may be too restrictive (some setups expect 775 directories).
#
# Do not use -m 0755 and let people choose whatever they expect by
# setting umask.
#
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
# Some implementations (such as Solaris 8's) are not thread-safe: if a
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
# concurrently, both version can detect that a/ is missing, but only
# one can create it and the other will error out. Consequently we
# restrict ourselves to GNU make (using the --version option ensures
# this.)
AC_DEFUN([AM_PROG_MKDIR_P],
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
# We used to keeping the `.' as first argument, in order to
# allow $(mkdir_p) to be used without argument. As in
# $(mkdir_p) $(somedir)
# where $(somedir) is conditionally defined. However this is wrong
# for two reasons:
# 1. if the package is installed by a user who cannot write `.'
# make install will fail,
# 2. the above comment should most certainly read
# $(mkdir_p) $(DESTDIR)$(somedir)
# so it does not work when $(somedir) is undefined and
# $(DESTDIR) is not.
# To support the latter case, we have to write
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
# so the `.' trick is pointless.
mkdir_p='mkdir -p --'
else
# On NextStep and OpenStep, the `mkdir' command does not
# recognize any option. It will interpret all options as
# directories to create, and then abort because `.' already
# exists.
for d in ./-p ./--version;
do
test -d $d && rmdir $d
done
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
if test -f "$ac_aux_dir/mkinstalldirs"; then
mkdir_p='$(mkinstalldirs)'
else
mkdir_p='$(install_sh) -d'
fi
fi
AC_SUBST([mkdir_p])])
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 3
# _AM_MANGLE_OPTION(NAME)
# -----------------------
AC_DEFUN([_AM_MANGLE_OPTION],
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
# _AM_SET_OPTION(NAME)
# ------------------------------
# Set option NAME. Presently that only means defining a flag for this option.
AC_DEFUN([_AM_SET_OPTION],
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
# _AM_SET_OPTIONS(OPTIONS)
# ----------------------------------
# OPTIONS is a space-separated list of Automake options.
AC_DEFUN([_AM_SET_OPTIONS],
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
# -------------------------------------------
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
# Check to make sure that the build environment is sane. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 4
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
echo timestamp > conftest.file
# Do `set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
if test "$[*]" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftest.file`
fi
rm -f conftest.file
if test "$[*]" != "X $srcdir/configure conftest.file" \
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
# If neither matched, then we have a broken ls. This can happen
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
alias in your environment])
fi
test "$[2]" = conftest.file
)
then
# Ok.
:
else
AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
AC_MSG_RESULT(yes)])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# AM_PROG_INSTALL_STRIP
# ---------------------
# One issue with vendor `install' (even GNU) is that you can't
# specify the program used to strip binaries. This is especially
# annoying in cross-compiling environments, where the build's strip
# is unlikely to handle the host's binaries.
# Fortunately install-sh will honor a STRIPPROG variable, so we
# always use install-sh in `make install-strip', and initialize
# STRIPPROG with the value of the STRIP variable (set by the user).
AC_DEFUN([AM_PROG_INSTALL_STRIP],
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
# Installed binaries are usually stripped using `strip' when the user
# run `make install-strip'. However `strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the `STRIP' environment variable to overrule this program.
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
if test "$cross_compiling" != no; then
AC_CHECK_TOOL([STRIP], [strip], :)
fi
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# Check how to create a tarball. -*- Autoconf -*-
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# _AM_PROG_TAR(FORMAT)
# --------------------
# Check how to create a tarball in format FORMAT.
# FORMAT should be one of `v7', `ustar', or `pax'.
#
# Substitute a variable $(am__tar) that is a command
# writing to stdout a FORMAT-tarball containing the directory
# $tardir.
# tardir=directory && $(am__tar) > result.tar
#
# Substitute a variable $(am__untar) that extract such
# a tarball read from stdin.
# $(am__untar) < result.tar
AC_DEFUN([_AM_PROG_TAR],
[# Always define AMTAR for backward compatibility.
AM_MISSING_PROG([AMTAR], [tar])
m4_if([$1], [v7],
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
[m4_case([$1], [ustar],, [pax],,
[m4_fatal([Unknown tar format])])
AC_MSG_CHECKING([how to create a $1 tar archive])
# Loop over all known methods to create a tar archive until one works.
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
# Do not fold the above two line into one, because Tru64 sh and
# Solaris sh will not grok spaces in the rhs of `-'.
for _am_tool in $_am_tools
do
case $_am_tool in
gnutar)
for _am_tar in tar gnutar gtar;
do
AM_RUN_LOG([$_am_tar --version]) && break
done
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
am__untar="$_am_tar -xf -"
;;
plaintar)
# Must skip GNU tar: if it does not support --format= it doesn't create
# ustar tarball either.
(tar --version) >/dev/null 2>&1 && continue
am__tar='tar chf - "$$tardir"'
am__tar_='tar chf - "$tardir"'
am__untar='tar xf -'
;;
pax)
am__tar='pax -L -x $1 -w "$$tardir"'
am__tar_='pax -L -x $1 -w "$tardir"'
am__untar='pax -r'
;;
cpio)
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
am__untar='cpio -i -H $1 -d'
;;
none)
am__tar=false
am__tar_=false
am__untar=false
;;
esac
# If the value was cached, stop now. We just wanted to have am__tar
# and am__untar set.
test -n "${am_cv_prog_tar_$1}" && break
# tar/untar a dummy directory, and stop if the command works
rm -rf conftest.dir
mkdir conftest.dir
echo GrepMe > conftest.dir/file
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
rm -rf conftest.dir
if test -s conftest.tar; then
AM_RUN_LOG([$am__untar /dev/null 2>&1 && break
fi
done
rm -rf conftest.dir
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
gnugo-3.8/config.h.cmake 0000644 0001750 0001750 00000006647 11146627413 012143 0000000 0000000 /* Ruleset. Default Japanese */
#define CHINESE_RULES 0
/* Allow resignation. Default enabled */
#define RESIGNATION_ALLOWED 1
/* Default level (strength). Up to 10 supported */
#define DEFAULT_LEVEL 10
/* Center oriented influence. Disabled by default. */
#define COSMIC_GNUGO 0
/* Owl Node Limit. 1000 default. */
#define OWL_NODE_LIMIT 1000
/* Semeai Variations. 500 default */
#define SEMEAI_NODE_LIMIT 500
/* Default hash table size in megabytes */
#define DEFAULT_MEMORY -1
/* Compile support for GTP communication over TCP/IP channel. */
#undef ENABLE_SOCKET_SUPPORT
/* GAIN/LOSS codes. Disabled by default. */
#define EXPERIMENTAL_OWL_EXT 0
/* Large Scale Captures. Disabled by default. */
#define LARGE_SCALE 0
/* Oracle. Default not enabled. */
#define ORACLE 0
/* Owl Threats. 0 standard. */
#define OWL_THREATS 0
/* Break-in module. Enabled by default. */
#define USE_BREAK_IN 1
/* Connection module. Default experimental. */
#define EXPERIMENTAL_CONNECTIONS 1
/* Connection module. Default standard. */
#define ALTERNATE_CONNECTIONS 1
/* Define as 1 to use the grid optimisation, or 2 to run it in self-test mode
*/
#define GRID_OPT 1
/* Define to use ansi escape sequences for color debugging */
#undef ANSI_COLOR
/* Define to 1 if you have the header file. */
#cmakedefine HAVE_CURSES_H 1
/* Define to 1 if you have the `gettimeofday' function. */
#cmakedefine HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the header file. */
#cmakedefine HAVE_GLIB_H 1
/* Define to 1 if you have the `g_vsnprintf' function. */
#cmakedefine HAVE_G_VSNPRINTF 1
/* Define to 1 if you have the header file. */
#cmakedefine HAVE_NCURSES_CURSES_H 1
/* Define to 1 if you have the header file. */
#cmakedefine HAVE_NCURSES_TERM_H 1
/* Define to 1 if you have the header file. */
#cmakedefine HAVE_SYS_TIMES_H 1
/* Define to 1 if you have the header file. */
#cmakedefine HAVE_SYS_TIME_H 1
/* Define to 1 if you have the header file. */
#cmakedefine HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the header file. */
#cmakedefine HAVE_TERM_H 1
/* Define to 1 if you have the header file. */
#cmakedefine HAVE_CRTDBG_H 1
/* Define to 1 if you have the and header files. */
#cmakedefine HAVE_WINSOCK_IO_H 1
/* Define to 1 if you have the `times' function. */
#cmakedefine HAVE_TIMES 1
/* Define if your compiler supports transparent unions */
#undef HAVE_TRANSPARENT_UNIONS
/* Define to 1 if you have the header file. */
#cmakedefine HAVE_UNISTD_H 1
/* Define to 1 if you have the `usleep' function. */
#cmakedefine HAVE_USLEEP 1
/* Define if #define can take a variable number of arguments */
#undef HAVE_VARIADIC_DEFINE
/* Define to 1 if you have the `vsnprintf' function. */
#cmakedefine HAVE_VSNPRINTF 1
/* Define to 1 if you have the `_vsnprintf' function. */
#cmakedefine HAVE__VSNPRINTF 1
/* Enable GNU Readline support */
#undef READLINE
/* The size of a `long', as computed by sizeof. */
#cmakedefine SIZEOF_LONG ${SIZEOF_LONG}
/* Define to 1 if termcap/terminfo is available. */
#undef TERMINFO
/* Define to 1 if you can safely include both and . */
#cmakedefine TIME_WITH_SYS_TIME 1
/* Define special valgrind macros. */
#undef USE_VALGRIND
/* Version number of package */
#define VERSION "3.8"
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
${PRAGMAS}
gnugo-3.8/config.h.in 0000644 0001750 0001750 00000010174 11146627413 011457 0000000 0000000 /* config.h.in. Generated from configure.in by autoheader. */
/* Connection module. Default standard. */
#undef ALTERNATE_CONNECTIONS
/* Define to use ansi escape sequences for color debugging */
#undef ANSI_COLOR
/* Ruleset. Default Japanese */
#undef CHINESE_RULES
/* Center oriented influence. Disabled by default. */
#undef COSMIC_GNUGO
/* Default level (strength). Up to 10 supported */
#undef DEFAULT_LEVEL
/* Default hash table size in megabytes */
#undef DEFAULT_MEMORY
/* Compile support for GTP communication over TCP/IP channel. */
#undef ENABLE_SOCKET_SUPPORT
/* Connection module. Default experimental. */
#undef EXPERIMENTAL_CONNECTIONS
/* GAIN/LOSS codes. Disabled by default. */
#undef EXPERIMENTAL_OWL_EXT
/* The concatenation of the strings "GNU ", and PACKAGE. */
#undef GNU_PACKAGE
/* Define as 1 to use the grid optimisation, or 2 to run it in self-test mode
*/
#undef GRID_OPT
/* Define to 1 if you have the header file. */
#undef HAVE_CURSES_H
/* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
/* Define to 1 if you have the header file. */
#undef HAVE_GLIB_H
/* Define to 1 if you have the `g_vsnprintf' function. */
#undef HAVE_G_VSNPRINTF
/* Define to 1 if you have the header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the header file. */
#undef HAVE_NCURSES_CURSES_H
/* Define to 1 if you have the header file. */
#undef HAVE_NCURSES_TERM_H
/* Define to 1 if you have the header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the header file. */
#undef HAVE_SYS_TIMES_H
/* Define to 1 if you have the header file. */
#undef HAVE_SYS_TIME_H
/* Define to 1 if you have the header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the header file. */
#undef HAVE_TERM_H
/* Define to 1 if you have the `times' function. */
#undef HAVE_TIMES
/* Define if your compiler supports transparent unions */
#undef HAVE_TRANSPARENT_UNIONS
/* Define to 1 if you have the header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the `usleep' function. */
#undef HAVE_USLEEP
/* Define if #define can take a variable number of arguments */
#undef HAVE_VARIADIC_DEFINE
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
/* Large Scale Captures. Disabled by default. */
#undef LARGE_SCALE
/* Oracle. Default not enabled. */
#undef ORACLE
/* Owl Node Limit */
#undef OWL_NODE_LIMIT
/* Owl Threats. 0 standard. */
#undef OWL_THREATS
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Enable GNU Readline support */
#undef READLINE
/* Allow resignation. Default enabled */
#undef RESIGNATION_ALLOWED
/* Semeai Variations. 500 default */
#undef SEMEAI_NODE_LIMIT
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define to 1 if termcap/terminfo is available. */
#undef TERMINFO
/* Define to 1 if you can safely include both and . */
#undef TIME_WITH_SYS_TIME
/* Break-in module. Enabled by default. */
#undef USE_BREAK_IN
/* Define special valgrind macros. */
#undef USE_VALGRIND
/* Version number of package */
#undef VERSION
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
gnugo-3.8/config.vc 0000644 0001750 0001750 00000003772 11146655504 011243 0000000 0000000 /* This is the Microsoft Visual C++ version of config.h *
* Replace the distributed config.h with this file *
* See config.h.in for comments on the meanings of most of the *
* defines. This file is autogenerated. Do not modify it. *
* See instead, the perl script makevcdist.pl */
#define HAVE_CRTDBG_H 1
#define HAVE_WINSOCK_IO_H 1
#define HAVE__VSNPRINTF 1
/* Connection module. Default standard. */
#define ALTERNATE_CONNECTIONS 1
/* Ruleset. Default Japanese */
#define CHINESE_RULES 0
/* Center oriented influence. Disabled by default. */
#define COSMIC_GNUGO 0
/* Default level (strength). Up to 10 supported */
#define DEFAULT_LEVEL 10
/* Default hash table size in megabytes */
#define DEFAULT_MEMORY 8
/* Compile support for GTP communication over TCP/IP channel. */
#define ENABLE_SOCKET_SUPPORT 1
/* Connection module. Default experimental. */
#define EXPERIMENTAL_CONNECTIONS 1
/* GAIN/LOSS codes. Disabled by default. */
#define EXPERIMENTAL_OWL_EXT 0
/* Define as 1 to use the grid optimisation, or 2 to run it in self-test mode
*/
#define GRID_OPT 1
/* Large Scale Captures. Disabled by default. */
#define LARGE_SCALE 0
/* Oracle. Default not enabled. */
#define ORACLE 0
/* Owl Node Limit */
#define OWL_NODE_LIMIT 1000
/* Owl Threats. 0 standard. */
#define OWL_THREATS 0
/* Enable GNU Readline support */
#define READLINE 0
/* Allow resignation. Default enabled */
#define RESIGNATION_ALLOWED 1
/* Semeai Variations. 500 default */
#define SEMEAI_NODE_LIMIT 500
/* Break-in module. Enabled by default. */
#define USE_BREAK_IN 1
/* Define special valgrind macros. */
#define USE_VALGRIND 0
/* Version number of package */
#define PACKAGE "gnugo"
/* The concatenation of the strings "GNU ", and PACKAGE. */
#define GNU_PACKAGE "GNU " PACKAGE
/* The number of bytes in a int. */
#define SIZEOF_INT 4
/* The number of bytes in a long. */
#define SIZEOF_LONG 4
/* Version number of package */
#define VERSION "3.8"
#pragma warning(disable: 4244 4305)
gnugo-3.8/config.vcin 0000644 0001750 0001750 00000004000 11146627413 011551 0000000 0000000 /* This is the Microsoft Visual C++ version of config.h *
* Replace the distributed config.h with this file *
* See config.h.in for comments on the meanings of most of the *
* defines. This file is autogenerated. Do not modify it. *
* See instead, the perl script makevcdist.pl */
#define HAVE_CRTDBG_H 1
#define HAVE_WINSOCK_IO_H 1
#define HAVE__VSNPRINTF 1
/* Connection module. Default standard. */
#define ALTERNATE_CONNECTIONS 1
/* Ruleset. Default Japanese */
#define CHINESE_RULES 0
/* Center oriented influence. Disabled by default. */
#define COSMIC_GNUGO 0
/* Default level (strength). Up to 10 supported */
#define DEFAULT_LEVEL 10
/* Default hash table size in megabytes */
#define DEFAULT_MEMORY 8
/* Compile support for GTP communication over TCP/IP channel. */
#define ENABLE_SOCKET_SUPPORT 1
/* Connection module. Default experimental. */
#define EXPERIMENTAL_CONNECTIONS 1
/* GAIN/LOSS codes. Disabled by default. */
#define EXPERIMENTAL_OWL_EXT 0
/* Define as 1 to use the grid optimisation, or 2 to run it in self-test mode
*/
#define GRID_OPT 1
/* Large Scale Captures. Disabled by default. */
#define LARGE_SCALE 0
/* Oracle. Default not enabled. */
#define ORACLE 0
/* Owl Node Limit */
#define OWL_NODE_LIMIT 1000
/* Owl Threats. 0 standard. */
#define OWL_THREATS 0
/* Enable GNU Readline support */
#define READLINE 0
/* Allow resignation. Default enabled */
#define RESIGNATION_ALLOWED 1
/* Semeai Variations. 500 default */
#define SEMEAI_NODE_LIMIT 500
/* Break-in module. Enabled by default. */
#define USE_BREAK_IN 1
/* Define special valgrind macros. */
#define USE_VALGRIND 0
/* Version number of package */
#define PACKAGE "gnugo"
/* The concatenation of the strings "GNU ", and PACKAGE. */
#define GNU_PACKAGE "GNU " PACKAGE
/* The number of bytes in a int. */
#define SIZEOF_INT 4
/* The number of bytes in a long. */
#define SIZEOF_LONG 4
/* Version number of package */
#define VERSION "@VERSION@"
#pragma warning(disable: 4244 4305)
gnugo-3.8/configure 0000755 0001750 0001750 00000653475 11146627450 011365 0000000 0000000 #! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for gnugo 3.8.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization. ##
## --------------------- ##
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in
*posix*) set -o posix ;;
esac
fi
# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
echo "#! /bin/sh" >conf$$.sh
echo "exit 0" >>conf$$.sh
chmod +x conf$$.sh
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
PATH_SEPARATOR=';'
else
PATH_SEPARATOR=:
fi
rm -f conf$$.sh
fi
# Support unset when possible.
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
as_unset=unset
else
as_unset=false
fi
# IFS
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
IFS=" "" $as_nl"
# Find who we are. Look in the path if we contain no directory separator.
case $0 in
*[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS
;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
{ (exit 1); exit 1; }
fi
# Work around bugs in pre-3.0 UWIN ksh.
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
PS1='$ '
PS2='> '
PS4='+ '
# NLS nuisances.
for as_var in \
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
LC_TELEPHONE LC_TIME
do
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
eval $as_var=C; export $as_var
else
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
fi
done
# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
as_expr=expr
else
as_expr=false
fi
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
as_basename=basename
else
as_basename=false
fi
# Name of the executable.
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
# CDPATH.
$as_unset CDPATH
if test "x$CONFIG_SHELL" = x; then
if (eval ":") 2>/dev/null; then
as_have_required=yes
else
as_have_required=no
fi
if test $as_have_required = yes && (eval ":
(as_func_return () {
(exit \$1)
}
as_func_success () {
as_func_return 0
}
as_func_failure () {
as_func_return 1
}
as_func_ret_success () {
return 0
}
as_func_ret_failure () {
return 1
}
exitcode=0
if as_func_success; then
:
else
exitcode=1
echo as_func_success failed.
fi
if as_func_failure; then
exitcode=1
echo as_func_failure succeeded.
fi
if as_func_ret_success; then
:
else
exitcode=1
echo as_func_ret_success failed.
fi
if as_func_ret_failure; then
exitcode=1
echo as_func_ret_failure succeeded.
fi
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
:
else
exitcode=1
echo positional parameters were not saved.
fi
test \$exitcode = 0) || { (exit 1); exit 1; }
(
as_lineno_1=\$LINENO
as_lineno_2=\$LINENO
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
") 2> /dev/null; then
:
else
as_candidate_shells=
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
case $as_dir in
/*)
for as_base in sh bash ksh sh5; do
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
done;;
esac
done
IFS=$as_save_IFS
for as_shell in $as_candidate_shells $SHELL; do
# Try only shells that exist, to save several forks.
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
{ ("$as_shell") 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in
*posix*) set -o posix ;;
esac
fi
:
_ASEOF
}; then
CONFIG_SHELL=$as_shell
as_have_required=yes
if { "$as_shell" 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in
*posix*) set -o posix ;;
esac
fi
:
(as_func_return () {
(exit $1)
}
as_func_success () {
as_func_return 0
}
as_func_failure () {
as_func_return 1
}
as_func_ret_success () {
return 0
}
as_func_ret_failure () {
return 1
}
exitcode=0
if as_func_success; then
:
else
exitcode=1
echo as_func_success failed.
fi
if as_func_failure; then
exitcode=1
echo as_func_failure succeeded.
fi
if as_func_ret_success; then
:
else
exitcode=1
echo as_func_ret_success failed.
fi
if as_func_ret_failure; then
exitcode=1
echo as_func_ret_failure succeeded.
fi
if ( set x; as_func_ret_success y && test x = "$1" ); then
:
else
exitcode=1
echo positional parameters were not saved.
fi
test $exitcode = 0) || { (exit 1); exit 1; }
(
as_lineno_1=$LINENO
as_lineno_2=$LINENO
test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
_ASEOF
}; then
break
fi
fi
done
if test "x$CONFIG_SHELL" != x; then
for as_var in BASH_ENV ENV
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
export CONFIG_SHELL
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
fi
if test $as_have_required = no; then
echo This script requires a shell more modern than all the
echo shells that I found on your system. Please install a
echo modern shell, or manually run the script under such a
echo shell if you do have one.
{ (exit 1); exit 1; }
fi
fi
fi
(eval "as_func_return () {
(exit \$1)
}
as_func_success () {
as_func_return 0
}
as_func_failure () {
as_func_return 1
}
as_func_ret_success () {
return 0
}
as_func_ret_failure () {
return 1
}
exitcode=0
if as_func_success; then
:
else
exitcode=1
echo as_func_success failed.
fi
if as_func_failure; then
exitcode=1
echo as_func_failure succeeded.
fi
if as_func_ret_success; then
:
else
exitcode=1
echo as_func_ret_success failed.
fi
if as_func_ret_failure; then
exitcode=1
echo as_func_ret_failure succeeded.
fi
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
:
else
exitcode=1
echo positional parameters were not saved.
fi
test \$exitcode = 0") || {
echo No shell found that supports shell functions.
echo Please tell autoconf@gnu.org about your system,
echo including any error possibly output before this
echo message
}
as_lineno_1=$LINENO
as_lineno_2=$LINENO
test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
# uniformly replaced by the line number. The first 'sed' inserts a
# line-number line after each line using $LINENO; the second 'sed'
# does the real work. The second script uses 'N' to pair each
# line-number line with the line containing $LINENO, and appends
# trailing '-' during substitution so that $LINENO is not a special
# case at line end.
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
# scripts with optimization help from Paolo Bonzini. Blame Lee
# E. McMahon (1931-1989) for sed's syntax. :-)
sed -n '
p
/[$]LINENO/=
' <$as_myself |
sed '
s/[$]LINENO.*/&-/
t lineno
b
:lineno
N
:loop
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
t loop
s/-\n.*//
' >$as_me.lineno &&
chmod +x "$as_me.lineno" ||
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
{ (exit 1); exit 1; }; }
# Don't try to exec as it changes $[0], causing all sort of problems
# (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensitive to this).
. "./$as_me.lineno"
# Exit status is that of the last command.
exit
}
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false
fi
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
case `echo 'x\c'` in
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
*) ECHO_C='\c';;
esac;;
*)
ECHO_N='-n';;
esac
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
as_expr=expr
else
as_expr=false
fi
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
else
rm -f conf$$.dir
mkdir conf$$.dir
fi
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_s='ln -s'
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
# In both cases, we have to default to `cp -p'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -p'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
if mkdir -p . 2>/dev/null; then
as_mkdir_p=:
else
test -d ./-p && rmdir ./-p
as_mkdir_p=false
fi
if test -x / >/dev/null 2>&1; then
as_test_x='test -x'
else
if ls -dL / >/dev/null 2>&1; then
as_ls_L_option=L
else
as_ls_L_option=
fi
as_test_x='
eval sh -c '\''
if test -d "$1"; then
test -d "$1/.";
else
case $1 in
-*)set "./$1";;
esac;
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
???[sx]*):;;*)false;;esac;fi
'\'' sh
'
fi
as_executable_p=$as_test_x
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
exec 7<&0 &1
# Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
#
# Initializations.
#
ac_default_prefix=/usr/local
ac_clean_files=
ac_config_libobj_dir=.
LIBOBJS=
cross_compiling=no
subdirs=
MFLAGS=
MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='gnugo'
PACKAGE_TARNAME='gnugo'
PACKAGE_VERSION='3.8'
PACKAGE_STRING='gnugo 3.8'
PACKAGE_BUGREPORT=''
ac_unique_file="engine/dragon.c"
# Factoring default headers for most tests.
ac_includes_default="\
#include
#ifdef HAVE_SYS_TYPES_H
# include
#endif
#ifdef HAVE_SYS_STAT_H
# include
#endif
#ifdef STDC_HEADERS
# include
# include
#else
# ifdef HAVE_STDLIB_H
# include
# endif
#endif
#ifdef HAVE_STRING_H
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# include
# endif
# include
#endif
#ifdef HAVE_STRINGS_H
# include
#endif
#ifdef HAVE_INTTYPES_H
# include
#endif
#ifdef HAVE_STDINT_H
# include
#endif
#ifdef HAVE_UNISTD_H
# include
#endif"
ac_subst_vars='SHELL
PATH_SEPARATOR
PACKAGE_NAME
PACKAGE_TARNAME
PACKAGE_VERSION
PACKAGE_STRING
PACKAGE_BUGREPORT
exec_prefix
prefix
program_transform_name
bindir
sbindir
libexecdir
datarootdir
datadir
sysconfdir
sharedstatedir
localstatedir
includedir
oldincludedir
docdir
infodir
htmldir
dvidir
pdfdir
psdir
libdir
localedir
mandir
DEFS
ECHO_C
ECHO_N
ECHO_T
LIBS
build_alias
host_alias
target_alias
INSTALL_PROGRAM
INSTALL_SCRIPT
INSTALL_DATA
CYGPATH_W
PACKAGE
VERSION
ACLOCAL
AUTOCONF
AUTOMAKE
AUTOHEADER
MAKEINFO
install_sh
STRIP
INSTALL_STRIP_PROGRAM
mkdir_p
AWK
SET_MAKE
am__leading_dot
AMTAR
am__tar
am__untar
MAINTAINER_MODE_TRUE
MAINTAINER_MODE_FALSE
MAINT
CC
CFLAGS
LDFLAGS
CPPFLAGS
ac_ct_CC
EXEEXT
OBJEXT
DEPDIR
am__include
am__quote
AMDEP_TRUE
AMDEP_FALSE
AMDEPBACKSLASH
CCDEPMODE
am__fastdepCC_TRUE
am__fastdepCC_FALSE
CPP
RANLIB
GREP
EGREP
glibconfig
DFA_ENABLED_TRUE
DFA_ENABLED_FALSE
GCC_ONLY_TRUE
GCC_ONLY_FALSE
GCC_MAJOR_VERSION
GCC_MINOR_VERSION
GNU_GO_WARNINGS
LIBOBJS
LTLIBOBJS'
ac_subst_files=''
ac_precious_vars='build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
LIBS
CPPFLAGS
CPP'
# Initialize some variables set by options.
ac_init_help=
ac_init_version=false
# The variables have the same names as the options, with
# dashes changed to underlines.
cache_file=/dev/null
exec_prefix=NONE
no_create=
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
verbose=
x_includes=NONE
x_libraries=NONE
# Installation directory options.
# These are left unexpanded so users can "make install exec_prefix=/foo"
# and all the variables that are supposed to be based on exec_prefix
# by default will actually change.
# Use braces instead of parens because sh, perl, etc. also accept them.
# (The list follows the same order as the GNU Coding Standards.)
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datarootdir='${prefix}/share'
datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
ac_prev=
ac_dashdash=
for ac_option
do
# If the previous option needs an argument, assign it.
if test -n "$ac_prev"; then
eval $ac_prev=\$ac_option
ac_prev=
continue
fi
case $ac_option in
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
*) ac_optarg=yes ;;
esac
# Accept the important Cygnus configure options, so we can diagnose typos.
case $ac_dashdash$ac_option in
--)
ac_dashdash=yes ;;
-bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;;
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
bindir=$ac_optarg ;;
-build | --build | --buil | --bui | --bu)
ac_prev=build_alias ;;
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
build_alias=$ac_optarg ;;
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
cache_file=$ac_optarg ;;
--config-cache | -C)
cache_file=config.cache ;;
-datadir | --datadir | --datadi | --datad)
ac_prev=datadir ;;
-datadir=* | --datadir=* | --datadi=* | --datad=*)
datadir=$ac_optarg ;;
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
| --dataroo | --dataro | --datar)
ac_prev=datarootdir ;;
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
datarootdir=$ac_optarg ;;
-disable-* | --disable-*)
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
{ (exit 1); exit 1; }; }
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
eval enable_$ac_feature=no ;;
-docdir | --docdir | --docdi | --doc | --do)
ac_prev=docdir ;;
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
docdir=$ac_optarg ;;
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
ac_prev=dvidir ;;
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
dvidir=$ac_optarg ;;
-enable-* | --enable-*)
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
{ (exit 1); exit 1; }; }
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
eval enable_$ac_feature=\$ac_optarg ;;
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
| --exec | --exe | --ex)
ac_prev=exec_prefix ;;
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
| --exec=* | --exe=* | --ex=*)
exec_prefix=$ac_optarg ;;
-gas | --gas | --ga | --g)
# Obsolete; use --with-gas.
with_gas=yes ;;
-help | --help | --hel | --he | -h)
ac_init_help=long ;;
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
ac_init_help=recursive ;;
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
ac_init_help=short ;;
-host | --host | --hos | --ho)
ac_prev=host_alias ;;
-host=* | --host=* | --hos=* | --ho=*)
host_alias=$ac_optarg ;;
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
ac_prev=htmldir ;;
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
| --ht=*)
htmldir=$ac_optarg ;;
-includedir | --includedir | --includedi | --included | --include \
| --includ | --inclu | --incl | --inc)
ac_prev=includedir ;;
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
| --includ=* | --inclu=* | --incl=* | --inc=*)
includedir=$ac_optarg ;;
-infodir | --infodir | --infodi | --infod | --info | --inf)
ac_prev=infodir ;;
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
infodir=$ac_optarg ;;
-libdir | --libdir | --libdi | --libd)
ac_prev=libdir ;;
-libdir=* | --libdir=* | --libdi=* | --libd=*)
libdir=$ac_optarg ;;
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
| --libexe=* | --libex=* | --libe=*)
libexecdir=$ac_optarg ;;
-localedir | --localedir | --localedi | --localed | --locale)
ac_prev=localedir ;;
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
localedir=$ac_optarg ;;
-localstatedir | --localstatedir | --localstatedi | --localstated \
| --localstate | --localstat | --localsta | --localst | --locals)
ac_prev=localstatedir ;;
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
localstatedir=$ac_optarg ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
mandir=$ac_optarg ;;
-nfp | --nfp | --nf)
# Obsolete; use --without-fp.
with_fp=no ;;
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
| --no-cr | --no-c | -n)
no_create=yes ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
no_recursion=yes ;;
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
| --oldin | --oldi | --old | --ol | --o)
ac_prev=oldincludedir ;;
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
oldincludedir=$ac_optarg ;;
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ac_prev=prefix ;;
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
prefix=$ac_optarg ;;
-program-prefix | --program-prefix | --program-prefi | --program-pref \
| --program-pre | --program-pr | --program-p)
ac_prev=program_prefix ;;
-program-prefix=* | --program-prefix=* | --program-prefi=* \
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
program_prefix=$ac_optarg ;;
-program-suffix | --program-suffix | --program-suffi | --program-suff \
| --program-suf | --program-su | --program-s)
ac_prev=program_suffix ;;
-program-suffix=* | --program-suffix=* | --program-suffi=* \
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
program_suffix=$ac_optarg ;;
-program-transform-name | --program-transform-name \
| --program-transform-nam | --program-transform-na \
| --program-transform-n | --program-transform- \
| --program-transform | --program-transfor \
| --program-transfo | --program-transf \
| --program-trans | --program-tran \
| --progr-tra | --program-tr | --program-t)
ac_prev=program_transform_name ;;
-program-transform-name=* | --program-transform-name=* \
| --program-transform-nam=* | --program-transform-na=* \
| --program-transform-n=* | --program-transform-=* \
| --program-transform=* | --program-transfor=* \
| --program-transfo=* | --program-transf=* \
| --program-trans=* | --program-tran=* \
| --progr-tra=* | --program-tr=* | --program-t=*)
program_transform_name=$ac_optarg ;;
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
ac_prev=pdfdir ;;
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
pdfdir=$ac_optarg ;;
-psdir | --psdir | --psdi | --psd | --ps)
ac_prev=psdir ;;
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
psdir=$ac_optarg ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
| --sbi=* | --sb=*)
sbindir=$ac_optarg ;;
-sharedstatedir | --sharedstatedir | --sharedstatedi \
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
| --sharedst | --shareds | --shared | --share | --shar \
| --sha | --sh)
ac_prev=sharedstatedir ;;
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
| --sha=* | --sh=*)
sharedstatedir=$ac_optarg ;;
-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
site=$ac_optarg ;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
srcdir=$ac_optarg ;;
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
| --syscon | --sysco | --sysc | --sys | --sy)
ac_prev=sysconfdir ;;
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
sysconfdir=$ac_optarg ;;
-target | --target | --targe | --targ | --tar | --ta | --t)
ac_prev=target_alias ;;
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
target_alias=$ac_optarg ;;
-v | -verbose | --verbose | --verbos | --verbo | --verb)
verbose=yes ;;
-version | --version | --versio | --versi | --vers | -V)
ac_init_version=: ;;
-with-* | --with-*)
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid package name: $ac_package" >&2
{ (exit 1); exit 1; }; }
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
eval with_$ac_package=\$ac_optarg ;;
-without-* | --without-*)
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid package name: $ac_package" >&2
{ (exit 1); exit 1; }; }
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
eval with_$ac_package=no ;;
--x)
# Obsolete; use --with-x.
with_x=yes ;;
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
| --x-incl | --x-inc | --x-in | --x-i)
ac_prev=x_includes ;;
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
x_includes=$ac_optarg ;;
-x-libraries | --x-libraries | --x-librarie | --x-librari \
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ac_prev=x_libraries ;;
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
x_libraries=$ac_optarg ;;
-*) { echo "$as_me: error: unrecognized option: $ac_option
Try \`$0 --help' for more information." >&2
{ (exit 1); exit 1; }; }
;;
*=*)
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
# Reject names that are not valid shell variable names.
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
{ (exit 1); exit 1; }; }
eval $ac_envvar=\$ac_optarg
export $ac_envvar ;;
*)
# FIXME: should be removed in autoconf 3.0.
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
;;
esac
done
if test -n "$ac_prev"; then
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
{ echo "$as_me: error: missing argument to $ac_option" >&2
{ (exit 1); exit 1; }; }
fi
# Be sure to have absolute directory names.
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
libdir localedir mandir
do
eval ac_val=\$$ac_var
case $ac_val in
[\\/$]* | ?:[\\/]* ) continue;;
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
esac
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
{ (exit 1); exit 1; }; }
done
# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
# FIXME: To remove some day.
build=$build_alias
host=$host_alias
target=$target_alias
# FIXME: To remove some day.
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
cross_compiling=maybe
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used." >&2
elif test "x$build_alias" != "x$host_alias"; then
cross_compiling=yes
fi
fi
ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-
test "$silent" = yes && exec 6>/dev/null
ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
{ echo "$as_me: error: Working directory cannot be determined" >&2
{ (exit 1); exit 1; }; }
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
{ echo "$as_me: error: pwd does not report name of working directory" >&2
{ (exit 1); exit 1; }; }
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
ac_srcdir_defaulted=yes
# Try the directory containing this script, then the parent directory.
ac_confdir=`$as_dirname -- "$0" ||
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$0" : 'X\(//\)[^/]' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$0" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
srcdir=$ac_confdir
if test ! -r "$srcdir/$ac_unique_file"; then
srcdir=..
fi
else
ac_srcdir_defaulted=no
fi
if test ! -r "$srcdir/$ac_unique_file"; then
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
{ (exit 1); exit 1; }; }
fi
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
{ (exit 1); exit 1; }; }
pwd)`
# When building in place, set srcdir=.
if test "$ac_abs_confdir" = "$ac_pwd"; then
srcdir=.
fi
# Remove unnecessary trailing slashes from srcdir.
# Double slashes in file names in object file debugging info
# mess up M-x gdb in Emacs.
case $srcdir in
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
esac
for ac_var in $ac_precious_vars; do
eval ac_env_${ac_var}_set=\${${ac_var}+set}
eval ac_env_${ac_var}_value=\$${ac_var}
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
eval ac_cv_env_${ac_var}_value=\$${ac_var}
done
#
# Report the --help message.
#
if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures gnugo 3.8 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print \`checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for \`--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or \`..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[$ac_default_prefix]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, \`make install' will install all the files in
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
for instance \`--prefix=\$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/gnugo]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
_ACEOF
cat <<\_ACEOF
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
_ACEOF
fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of gnugo 3.8:";;
esac
cat <<\_ACEOF
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
--enable-color use curses or ansi escape sequences for colored
debug output
--disable-color do not try to generated colored debug output
--enable-grid-opt enable the grid optimisation within the pattern
matcher (default)
--enable-grid-opt=distrust enable the grid optimisation in non-trusting mode
--disable-grid-opt disable the grid optimisation
--enable-cache-size=n reserve n MB RAM for caching (special value -1
default, corresponding to 8-11 MB depending on
platform)
--enable-level=n n = default level (10 standard)
--enable-semeai-node-limit=n n = semeai variations (500 standard)
--enable-owl-node-limit=n n = owl node limit (1000 standard)
--disable-dfa use old non-dfa pattern matcher
--enable-chinese-rules use Chinese (area) counting
--disable-chinese-rules use Japanese counting (default)
--enable-resignation-allowed resign lost games (default)
--disable-resignation-allowed never resign
--enable-metamachine enable metamachine
--disable-metamachine don't enable metamachine (default)
--enable-experimental-break-in use the breakin module (default)
--disable-experimental-break-in don't use the breakin module
--enable-experimental-owl-ext use the experimental GAIN/LOSS codes
--disable-experimental-owl-ext use standard owl module (default)
--enable-cosmic-gnugo use center-oriented influence code
--disable-cosmic-gnugo use standard influence code (default)
--enable-large-scale look for large scale captures
--disable-large-scale don't seek large scale captures (default)
--enable-experimental-connections use experimental connection analysis
(default)
--disable-experimental-connections use standard connection analysis
--enable-alternate-connections use alternate experimental connection
analysis
--disable-alternate-connections use primary experimental connection
analysis (default)
--disable-socket-support don't compile GTP over TCP/IP support
--enable-socket-support compile TCP/IP support (default)
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-readline try to use GNU Readline for command reading
--without-readline do not use GNU Readline (default)
--with-curses try to use curses for colored debugging output (default)
--without-curses do not use curses for colored debugging output
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L if you have libraries in a
nonstandard directory
LIBS libraries to pass to the linker, e.g. -l
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if
you have headers in a nonstandard directory
CPP C preprocessor
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
_ACEOF
ac_status=$?
fi
if test "$ac_init_help" = "recursive"; then
# If there are subdirs, report their specific --help.
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
test -d "$ac_dir" || continue
ac_builddir=.
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
# A ".." for each directory in $ac_dir_suffix.
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
case $srcdir in
.) # We are building in place.
ac_srcdir=.
ac_top_srcdir=$ac_top_builddir_sub
ac_abs_top_srcdir=$ac_pwd ;;
[\\/]* | ?:[\\/]* ) # Absolute name.
ac_srcdir=$srcdir$ac_dir_suffix;
ac_top_srcdir=$srcdir
ac_abs_top_srcdir=$srcdir ;;
*) # Relative name.
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
ac_top_srcdir=$ac_top_build_prefix$srcdir
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
cd "$ac_dir" || { ac_status=$?; continue; }
# Check for guested configure.
if test -f "$ac_srcdir/configure.gnu"; then
echo &&
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
elif test -f "$ac_srcdir/configure"; then
echo &&
$SHELL "$ac_srcdir/configure" --help=recursive
else
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi || ac_status=$?
cd "$ac_pwd" || { ac_status=$?; break; }
done
fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
gnugo configure 3.8
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
exit
fi
cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by gnugo $as_me 3.8, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
_ACEOF
exec 5>>config.log
{
cat <<_ASUNAME
## --------- ##
## Platform. ##
## --------- ##
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
_ASUNAME
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
echo "PATH: $as_dir"
done
IFS=$as_save_IFS
} >&5
cat >&5 <<_ACEOF
## ----------- ##
## Core tests. ##
## ----------- ##
_ACEOF
# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
# Strip out --silent because we don't want to record it for future runs.
# Also quote any args containing shell meta-characters.
# Make two passes to allow for proper duplicate-argument suppression.
ac_configure_args=
ac_configure_args0=
ac_configure_args1=
ac_must_keep_next=false
for ac_pass in 1 2
do
for ac_arg
do
case $ac_arg in
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
continue ;;
*\'*)
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
case $ac_pass in
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2)
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
if test $ac_must_keep_next = true; then
ac_must_keep_next=false # Got value, back to normal.
else
case $ac_arg in
*=* | --config-cache | -C | -disable-* | --disable-* \
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
| -with-* | --with-* | -without-* | --without-* | --x)
case "$ac_configure_args0 " in
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
esac
;;
-* ) ac_must_keep_next=true ;;
esac
fi
ac_configure_args="$ac_configure_args '$ac_arg'"
;;
esac
done
done
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
# When interrupted or exit'd, cleanup temporary files, and complete
# config.log. We remove comments because anyway the quotes in there
# would cause problems or look ugly.
# WARNING: Use '\'' to represent an apostrophe within the trap.
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
trap 'exit_status=$?
# Save into config.log some information that might help in debugging.
{
echo
cat <<\_ASBOX
## ---------------- ##
## Cache variables. ##
## ---------------- ##
_ASBOX
echo
# The following way of writing the cache mishandles newlines in values,
(
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
eval ac_val=\$$ac_var
case $ac_val in #(
*${as_nl}*)
case $ac_var in #(
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
*) $as_unset $ac_var ;;
esac ;;
esac
done
(set) 2>&1 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
*${as_nl}ac_space=\ *)
sed -n \
"s/'\''/'\''\\\\'\'''\''/g;
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
;; #(
*)
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
;;
esac |
sort
)
echo
cat <<\_ASBOX
## ----------------- ##
## Output variables. ##
## ----------------- ##
_ASBOX
echo
for ac_var in $ac_subst_vars
do
eval ac_val=\$$ac_var
case $ac_val in
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
echo "$ac_var='\''$ac_val'\''"
done | sort
echo
if test -n "$ac_subst_files"; then
cat <<\_ASBOX
## ------------------- ##
## File substitutions. ##
## ------------------- ##
_ASBOX
echo
for ac_var in $ac_subst_files
do
eval ac_val=\$$ac_var
case $ac_val in
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
echo "$ac_var='\''$ac_val'\''"
done | sort
echo
fi
if test -s confdefs.h; then
cat <<\_ASBOX
## ----------- ##
## confdefs.h. ##
## ----------- ##
_ASBOX
echo
cat confdefs.h
echo
fi
test "$ac_signal" != 0 &&
echo "$as_me: caught signal $ac_signal"
echo "$as_me: exit $exit_status"
} >&5
rm -f core *.core core.conftest.* &&
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
exit $exit_status
' 0
for ac_signal in 1 2 13 15; do
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
done
ac_signal=0
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -f -r conftest* confdefs.h
# Predefined preprocessor variables.
cat >>confdefs.h <<_ACEOF
#define PACKAGE_NAME "$PACKAGE_NAME"
_ACEOF
cat >>confdefs.h <<_ACEOF
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
_ACEOF
cat >>confdefs.h <<_ACEOF
#define PACKAGE_VERSION "$PACKAGE_VERSION"
_ACEOF
cat >>confdefs.h <<_ACEOF
#define PACKAGE_STRING "$PACKAGE_STRING"
_ACEOF
cat >>confdefs.h <<_ACEOF
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
_ACEOF
# Let the site file select an alternate cache file if it wants to.
# Prefer explicitly selected file to automatically selected ones.
if test -n "$CONFIG_SITE"; then
set x "$CONFIG_SITE"
elif test "x$prefix" != xNONE; then
set x "$prefix/share/config.site" "$prefix/etc/config.site"
else
set x "$ac_default_prefix/share/config.site" \
"$ac_default_prefix/etc/config.site"
fi
shift
for ac_site_file
do
if test -r "$ac_site_file"; then
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;}
sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file"
fi
done
if test -r "$cache_file"; then
# Some versions of bash will fail to source /dev/null (special
# files actually), so we avoid doing that.
if test -f "$cache_file"; then
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . "$cache_file";;
*) . "./$cache_file";;
esac
fi
else
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
for ac_var in $ac_precious_vars; do
eval ac_old_set=\$ac_cv_env_${ac_var}_set
eval ac_new_set=\$ac_env_${ac_var}_set
eval ac_old_val=\$ac_cv_env_${ac_var}_value
eval ac_new_val=\$ac_env_${ac_var}_value
case $ac_old_set,$ac_new_set in
set,)
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
ac_cache_corrupted=: ;;
,set)
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
ac_cache_corrupted=: ;;
,);;
*)
if test "x$ac_old_val" != "x$ac_new_val"; then
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
echo "$as_me: former value: $ac_old_val" >&2;}
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
echo "$as_me: current value: $ac_new_val" >&2;}
ac_cache_corrupted=:
fi;;
esac
# Pass precious variables to config.status.
if test "$ac_new_set" = set; then
case $ac_new_val in
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
*) ac_arg=$ac_var=$ac_new_val ;;
esac
case " $ac_configure_args " in
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
esac
fi
done
if $ac_cache_corrupted; then
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
{ (exit 1); exit 1; }; }
fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_config_headers="$ac_config_headers config.h"
am__api_version="1.9"
ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
break
elif test -f "$ac_dir/install.sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install.sh -c"
break
elif test -f "$ac_dir/shtool"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/shtool install -c"
break
fi
done
if test -z "$ac_aux_dir"; then
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
{ (exit 1); exit 1; }; }
fi
# These three variables are undocumented and unsupported,
# and are intended to be withdrawn in a future Autoconf release.
# They can cause serious problems if a builder's source tree is in a directory
# whose full name contains unusual characters.
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AmigaOS /C/install, which installs bootblocks on floppy discs
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# OS/2's system install, which has a completely different semantic
# ./install, which can be erroneously created by make from ./install.sh.
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
# Account for people who put trailing slashes in PATH elements.
case $as_dir/ in
./ | .// | /cC/* | \
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
/usr/ucb/* ) ;;
*)
# OSF1 and SCO ODT 3.0 have their own names for install.
# Don't use installbsd from OSF since it installs stuff as root
# by default.
for ac_prog in ginstall scoinst install; do
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
if test $ac_prog = install &&
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
# AIX install. It has an incompatible calling convention.
:
elif test $ac_prog = install &&
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
# program-specific install script used by HP pwplus--don't use.
:
else
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
break 3
fi
fi
done
done
;;
esac
done
IFS=$as_save_IFS
fi
if test "${ac_cv_path_install+set}" = set; then
INSTALL=$ac_cv_path_install
else
# As a last resort, use the slow shell script. Don't cache a
# value for INSTALL within a source directory, because that will
# break other packages using the cache if that directory is
# removed, or if the value is a relative name.
INSTALL=$ac_install_sh
fi
fi
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
echo "${ECHO_T}$INSTALL" >&6; }
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
# Just in case
sleep 1
echo timestamp > conftest.file
# Do `set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
if test "$*" = "X"; then
# -L didn't work.
set X `ls -t $srcdir/configure conftest.file`
fi
rm -f conftest.file
if test "$*" != "X $srcdir/configure conftest.file" \
&& test "$*" != "X conftest.file $srcdir/configure"; then
# If neither matched, then we have a broken ls. This can happen
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
alias in your environment" >&5
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
alias in your environment" >&2;}
{ (exit 1); exit 1; }; }
fi
test "$2" = conftest.file
)
then
# Ok.
:
else
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
Check your system clock" >&5
echo "$as_me: error: newly created file is older than distributed files!
Check your system clock" >&2;}
{ (exit 1); exit 1; }; }
fi
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
test "$program_prefix" != NONE &&
program_transform_name="s&^&$program_prefix&;$program_transform_name"
# Use a double $ so make ignores it.
test "$program_suffix" != NONE &&
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
# Double any \ or $. echo might interpret backslashes.
# By default was `s,x,x', remove it if useless.
cat <<\_ACEOF >conftest.sed
s/[\\$]/&&/g;s/;s,x,x,$//
_ACEOF
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
rm -f conftest.sed
# expand $ac_aux_dir to an absolute path
am_aux_dir=`cd $ac_aux_dir && pwd`
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
am_missing_run="$MISSING --run "
else
am_missing_run=
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
fi
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
# We used to keeping the `.' as first argument, in order to
# allow $(mkdir_p) to be used without argument. As in
# $(mkdir_p) $(somedir)
# where $(somedir) is conditionally defined. However this is wrong
# for two reasons:
# 1. if the package is installed by a user who cannot write `.'
# make install will fail,
# 2. the above comment should most certainly read
# $(mkdir_p) $(DESTDIR)$(somedir)
# so it does not work when $(somedir) is undefined and
# $(DESTDIR) is not.
# To support the latter case, we have to write
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
# so the `.' trick is pointless.
mkdir_p='mkdir -p --'
else
# On NextStep and OpenStep, the `mkdir' command does not
# recognize any option. It will interpret all options as
# directories to create, and then abort because `.' already
# exists.
for d in ./-p ./--version;
do
test -d $d && rmdir $d
done
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
if test -f "$ac_aux_dir/mkinstalldirs"; then
mkdir_p='$(mkinstalldirs)'
else
mkdir_p='$(install_sh) -d'
fi
fi
for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_AWK+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$AWK"; then
ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_AWK="$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
{ echo "$as_me:$LINENO: result: $AWK" >&5
echo "${ECHO_T}$AWK" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
test -n "$AWK" && break
done
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.make <<\_ACEOF
SHELL = /bin/sh
all:
@echo '@@@%%%=$(MAKE)=@@@%%%'
_ACEOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
case `${MAKE-make} -f conftest.make 2>/dev/null` in
*@@@%%%=?*=@@@%%%*)
eval ac_cv_prog_make_${ac_make}_set=yes;;
*)
eval ac_cv_prog_make_${ac_make}_set=no;;
esac
rm -f conftest.make
fi
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
SET_MAKE=
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
SET_MAKE="MAKE=${MAKE-make}"
fi
rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
am__leading_dot=.
else
am__leading_dot=_
fi
rmdir .tst 2>/dev/null
# test to see if srcdir already configured
if test "`cd $srcdir && pwd`" != "`pwd`" &&
test -f $srcdir/config.status; then
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
{ (exit 1); exit 1; }; }
fi
# test whether we have cygpath
if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w'
else
CYGPATH_W=echo
fi
fi
# Define the identity of the package.
PACKAGE='gnugo'
VERSION='3.8'
cat >>confdefs.h <<_ACEOF
#define PACKAGE "$PACKAGE"
_ACEOF
cat >>confdefs.h <<_ACEOF
#define VERSION "$VERSION"
_ACEOF
# Some tools Automake needs.
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
install_sh=${install_sh-"$am_aux_dir/install-sh"}
# Installed binaries are usually stripped using `strip' when the user
# run `make install-strip'. However `strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the `STRIP' environment variable to overrule this program.
if test "$cross_compiling" != no; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_STRIP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$STRIP"; then
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
{ echo "$as_me:$LINENO: result: $STRIP" >&5
echo "${ECHO_T}$STRIP" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
fi
if test -z "$ac_cv_prog_STRIP"; then
ac_ct_STRIP=$STRIP
# Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$ac_ct_STRIP"; then
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_STRIP="strip"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
if test -n "$ac_ct_STRIP"; then
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
if test "x$ac_ct_STRIP" = x; then
STRIP=":"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
STRIP=$ac_ct_STRIP
fi
else
STRIP="$ac_cv_prog_STRIP"
fi
fi
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
# Always define AMTAR for backward compatibility.
AMTAR=${AMTAR-"${am_missing_run}tar"}
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
GNU_PACKAGE="GNU $PACKAGE"
cat >>confdefs.h <<_ACEOF
#define GNU_PACKAGE "$GNU_PACKAGE"
_ACEOF
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
# Check whether --enable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
else
USE_MAINTAINER_MODE=no
fi
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
if test $USE_MAINTAINER_MODE = yes; then
MAINTAINER_MODE_TRUE=
MAINTAINER_MODE_FALSE='#'
else
MAINTAINER_MODE_TRUE='#'
MAINTAINER_MODE_FALSE=
fi
MAINT=$MAINTAINER_MODE_TRUE
# Check whether --with-readline was given.
if test "${with_readline+set}" = set; then
withval=$with_readline;
fi
# Check whether --with-curses was given.
if test "${with_curses+set}" = set; then
withval=$with_curses;
fi
# Check whether --enable-color was given.
if test "${enable_color+set}" = set; then
enableval=$enable_color;
fi
# Check whether --enable-grid-opt was given.
if test "${enable_grid_opt+set}" = set; then
enableval=$enable_grid_opt;
fi
default_cache_size=-1
default_level=10
default_semeai_node_limit=500
default_owl_node_limit=1000
# Check whether --enable-cache-size was given.
if test "${enable_cache_size+set}" = set; then
enableval=$enable_cache_size;
fi
# Check whether --enable-level was given.
if test "${enable_level+set}" = set; then
enableval=$enable_level;
fi
# Check whether --enable-semeai-node-limit was given.
if test "${enable_semeai_node_limit+set}" = set; then
enableval=$enable_semeai_node_limit;
fi
# Check whether --enable-level was given.
if test "${enable_level+set}" = set; then
enableval=$enable_level;
fi
# Check whether --enable-dfa was given.
if test "${enable_dfa+set}" = set; then
enableval=$enable_dfa; if test ${enableval} = no; then
dfa_c=
else
dfa_c=dfa
fi
else
dfa_c=dfa
fi
# Check whether --enable-chinese-rules was given.
if test "${enable_chinese_rules+set}" = set; then
enableval=$enable_chinese_rules;
fi
# Check whether --enable-resignation-allowed was given.
if test "${enable_resignation_allowed+set}" = set; then
enableval=$enable_resignation_allowed;
fi
# Check whether --enable-metamachine was given.
if test "${enable_metamachine+set}" = set; then
enableval=$enable_metamachine;
fi
# Check whether --enable-experimental-break-in was given.
if test "${enable_experimental_break_in+set}" = set; then
enableval=$enable_experimental_break_in;
fi
# Check whether --enable-experimental-owl-ext was given.
if test "${enable_experimental_owl_ext+set}" = set; then
enableval=$enable_experimental_owl_ext;
fi
# Check whether --enable-cosmic-gnugo was given.
if test "${enable_cosmic_gnugo+set}" = set; then
enableval=$enable_cosmic_gnugo;
fi
# Check whether --enable-large-scale was given.
if test "${enable_large_scale+set}" = set; then
enableval=$enable_large_scale;
fi
# Check whether --enable-experimental-connections was given.
if test "${enable_experimental_connections+set}" = set; then
enableval=$enable_experimental_connections;
fi
# Check whether --enable-alternate-connections was given.
if test "${enable_alternate_connections+set}" = set; then
enableval=$enable_alternate_connections;
fi
# Check whether --enable-socket-support was given.
if test "${enable_socket_support+set}" = set; then
enableval=$enable_socket_support;
fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_CC="${ac_tool_prefix}gcc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
{ echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
fi
if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_CC="gcc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
if test "x$ac_ct_CC" = x; then
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
else
CC="$ac_cv_prog_CC"
fi
if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_CC="${ac_tool_prefix}cc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
{ echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
fi
fi
if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
ac_prog_rejected=no
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
ac_prog_rejected=yes
continue
fi
ac_cv_prog_CC="cc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC
shift
if test $# != 0; then
# We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be chosen
# first if we set CC to just the basename; use the full file name.
shift
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
fi
fi
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
{ echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
fi
if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
for ac_prog in cl.exe
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
{ echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
test -n "$CC" && break
done
fi
if test -z "$CC"; then
ac_ct_CC=$CC
for ac_prog in cl.exe
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_CC="$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
test -n "$ac_ct_CC" && break
done
if test "x$ac_ct_CC" = x; then
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
fi
fi
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
See \`config.log' for more details." >&5
echo "$as_me: error: no acceptable C compiler found in \$PATH
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }
# Provide some information about the compiler.
echo "$as_me:$LINENO: checking for C compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (ac_try="$ac_compiler --version >&5"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compiler --version >&5") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }
{ (ac_try="$ac_compiler -v >&5"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compiler -v >&5") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }
{ (ac_try="$ac_compiler -V >&5"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compiler -V >&5") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.exe b.out"
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
#
# List of possible output files, starting from the most likely.
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
# only as a last resort. b.out is created by i960 compilers.
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
#
# The IRIX 6 linker writes into existing files which may not be
# executable, retaining their permissions. Remove them first so a
# subsequent execution test works.
ac_rmfiles=
for ac_file in $ac_files
do
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
esac
done
rm -f $ac_rmfiles
if { (ac_try="$ac_link_default"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link_default") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
# in a Makefile. We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
for ac_file in $ac_files ''
do
test -f "$ac_file" || continue
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
;;
[ab].out )
# We found the default executable, but exeext='' is most
# certainly right.
break;;
*.* )
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
then :; else
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fi
# We set ac_cv_exeext here because the later test for it is not
# safe: cross compilers may not add the suffix if given an `-o'
# argument, so we may need to know it at that point already.
# Even if this section looks crufty: it has the advantage of
# actually working.
break;;
* )
break;;
esac
done
test "$ac_cv_exeext" = no && ac_cv_exeext=
else
ac_file=''
fi
{ echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6; }
if test -z "$ac_file"; then
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
See \`config.log' for more details." >&5
echo "$as_me: error: C compiler cannot create executables
See \`config.log' for more details." >&2;}
{ (exit 77); exit 77; }; }
fi
ac_exeext=$ac_cv_exeext
# Check that the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
# If not cross compiling, check that we can run a simple program.
if test "$cross_compiling" != yes; then
if { ac_try='./$ac_file'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
cross_compiling=no
else
if test "$cross_compiling" = maybe; then
cross_compiling=yes
else
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&5
echo "$as_me: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }
fi
fi
fi
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
rm -f a.out a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save
# Check that the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6; }
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
# If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
# work properly (i.e., refer to `conftest.exe'), while it won't with
# `rm'.
for ac_file in conftest.exe conftest conftest.*; do
test -f "$ac_file" || continue
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
break;;
* ) break;;
esac
done
else
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details." >&5
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest$ac_cv_exeext
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6; }
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
if test "${ac_cv_objext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.o conftest.obj
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
for ac_file in conftest.o conftest.obj conftest.*; do
test -f "$ac_file" || continue;
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
break;;
esac
done
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
See \`config.log' for more details." >&5
echo "$as_me: error: cannot compute suffix of object files: cannot compile
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }
fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6; }
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
if test "${ac_cv_c_compiler_gnu+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
main ()
{
#ifndef __GNUC__
choke me
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_compiler_gnu=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_compiler_gnu=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu
fi
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
GCC=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
if test "${ac_cv_prog_cc_g+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_save_c_werror_flag=$ac_c_werror_flag
ac_c_werror_flag=yes
ac_cv_prog_cc_g=no
CFLAGS="-g"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_prog_cc_g=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
CFLAGS=""
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
:
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_c_werror_flag=$ac_save_c_werror_flag
CFLAGS="-g"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_prog_cc_g=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_c_werror_flag=$ac_save_c_werror_flag
fi
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
CFLAGS="-O2"
else
CFLAGS=
fi
fi
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
if test "${ac_cv_prog_cc_c89+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_cv_prog_cc_c89=no
ac_save_CC=$CC
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
#include
#include
#include
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
char **p;
int i;
{
return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
char *s;
va_list v;
va_start (v,p);
s = g (p, va_arg (v,int));
va_end (v);
return s;
}
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
function prototypes and stuff, but not '\xHH' hex character constants.
These don't provoke an error unfortunately, instead are silently treated
as 'x'. The following induces an error, until -std is added to get
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
array size at least. It's necessary to write '\x00'==0 to get something
that's true only with -std. */
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
inside strings and character constants. */
#define FOO(x) 'x'
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
int argc;
char **argv;
int
main ()
{
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
;
return 0;
}
_ACEOF
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
CC="$ac_save_CC $ac_arg"
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_prog_cc_c89=$ac_arg
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f core conftest.err conftest.$ac_objext
test "x$ac_cv_prog_cc_c89" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC
fi
# AC_CACHE_VAL
case "x$ac_cv_prog_cc_c89" in
x)
{ echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6; } ;;
xno)
{ echo "$as_me:$LINENO: result: unsupported" >&5
echo "${ECHO_T}unsupported" >&6; } ;;
*)
CC="$CC $ac_cv_prog_cc_c89"
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
esac
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
DEPDIR="${am__leading_dot}deps"
ac_config_commands="$ac_config_commands depfiles"
am_make=${MAKE-make}
cat > confinc << 'END'
am__doit:
@echo done
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# We grep out `Entering directory' and `Leaving directory'
# messages which can occur if `w' ends up in MAKEFLAGS.
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
am__include=include
am__quote=
_am_result=GNU
fi
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
am__include=.include
am__quote="\""
_am_result=BSD
fi
fi
{ echo "$as_me:$LINENO: result: $_am_result" >&5
echo "${ECHO_T}$_am_result" >&6; }
rm -f confinc confmf
# Check whether --enable-dependency-tracking was given.
if test "${enable_dependency_tracking+set}" = set; then
enableval=$enable_dependency_tracking;
fi
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
fi
if test "x$enable_dependency_tracking" != xno; then
AMDEP_TRUE=
AMDEP_FALSE='#'
else
AMDEP_TRUE='#'
AMDEP_FALSE=
fi
depcc="$CC" am_compiler_list=
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named `D' -- because `-MD' means `put the output
# in D'.
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
cp "$am_depcomp" conftest.dir
cd conftest.dir
# We will build objects and dependencies in a subdirectory because
# it helps to detect inapplicable dependency modes. For instance
# both Tru64's cc and ICC support -MD to output dependencies as a
# side effect of compilation, but ICC will put the dependencies in
# the current directory while Tru64 will put them in the object
# directory.
mkdir sub
am_cv_CC_dependencies_compiler_type=none
if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
fi
for depmode in $am_compiler_list; do
# Setup a source with many dependencies, because some compilers
# like to wrap large dependency lists on column 80 (with \), and
# we should not choose a depcomp mode which is confused by this.
#
# We need to recreate these files for each test, as the compiler may
# overwrite some of them when testing with obscure command lines.
# This happens at least with the AIX C compiler.
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
# Solaris 8's {/usr,}/bin/sh.
touch sub/conftst$i.h
done
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
case $depmode in
nosideeffect)
# after this tag, mechanisms are not by side-effect, so they'll
# only be used when explicitly requested
if test "x$enable_dependency_tracking" = xyes; then
continue
else
break
fi
;;
none) break ;;
esac
# We check with `-c' and `-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
# handle `-M -o', and we need to detect this.
if depmode=$depmode \
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
>/dev/null 2>conftest.err &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
# When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
if (grep 'ignoring option' conftest.err ||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
am_cv_CC_dependencies_compiler_type=$depmode
break
fi
fi
done
cd ..
rm -rf conftest.dir
else
am_cv_CC_dependencies_compiler_type=none
fi
fi
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
if
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
am__fastdepCC_TRUE=
am__fastdepCC_FALSE='#'
else
am__fastdepCC_TRUE='#'
am__fastdepCC_FALSE=
fi
{ echo "$as_me:$LINENO: checking for library containing pow" >&5
echo $ECHO_N "checking for library containing pow... $ECHO_C" >&6; }
if test "${ac_cv_search_pow+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_func_search_save_LIBS=$LIBS
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char pow ();
int
main ()
{
return pow ();
;
return 0;
}
_ACEOF
for ac_lib in '' m; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
ac_cv_search_pow=$ac_res
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext
if test "${ac_cv_search_pow+set}" = set; then
break
fi
done
if test "${ac_cv_search_pow+set}" = set; then
:
else
ac_cv_search_pow=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ echo "$as_me:$LINENO: result: $ac_cv_search_pow" >&5
echo "${ECHO_T}$ac_cv_search_pow" >&6; }
ac_res=$ac_cv_search_pow
if test "$ac_res" != no; then
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
fi
{ echo "$as_me:$LINENO: checking for mingw32" >&5
echo $ECHO_N "checking for mingw32... $ECHO_C" >&6; }
if test "${ac_cv_mingw32+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
main ()
{
return __MINGW32__
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_mingw32="yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_mingw32="no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_mingw32" >&5
echo "${ECHO_T}$ac_cv_mingw32" >&6; }
if test $ac_cv_mingw32 = yes;then
LIBS="$LIBS -lwsock32"
{ echo "$as_me:$LINENO: checking for library containing vsnprintf" >&5
echo $ECHO_N "checking for library containing vsnprintf... $ECHO_C" >&6; }
if test "${ac_cv_search_vsnprintf+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_func_search_save_LIBS=$LIBS
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char vsnprintf ();
int
main ()
{
return vsnprintf ();
;
return 0;
}
_ACEOF
for ac_lib in '' mingwex; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
ac_cv_search_vsnprintf=$ac_res
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext
if test "${ac_cv_search_vsnprintf+set}" = set; then
break
fi
done
if test "${ac_cv_search_vsnprintf+set}" = set; then
:
else
ac_cv_search_vsnprintf=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ echo "$as_me:$LINENO: result: $ac_cv_search_vsnprintf" >&5
echo "${ECHO_T}$ac_cv_search_vsnprintf" >&6; }
ac_res=$ac_cv_search_vsnprintf
if test "$ac_res" != no; then
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
fi
fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
fi
if test -z "$CPP"; then
if test "${ac_cv_prog_CPP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
# Double quotes because CPP needs to be expanded
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
do
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
# Prefer to if __STDC__ is defined, since
# exists even on freestanding compilers.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#ifdef __STDC__
# include
#else
# include
#endif
Syntax error
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err
}; then
:
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
# Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext
# OK, works on sane cases. Now check whether nonexistent headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err
}; then
# Broken: success on invalid input.
continue
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
# Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext
done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
break
fi
done
ac_cv_prog_CPP=$CPP
fi
CPP=$ac_cv_prog_CPP
else
ac_cv_prog_CPP=$CPP
fi
{ echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6; }
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
# Prefer to if __STDC__ is defined, since
# exists even on freestanding compilers.
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. "Syntax error" is here to catch this case.
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#ifdef __STDC__
# include
#else
# include
#endif
Syntax error
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err
}; then
:
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
# Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext
# OK, works on sane cases. Now check whether nonexistent headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err
}; then
# Broken: success on invalid input.
continue
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
# Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext
done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
:
else
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&5
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }
fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
fi
if test -z "$ac_cv_prog_RANLIB"; then
ac_ct_RANLIB=$RANLIB
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$ac_ct_RANLIB"; then
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_RANLIB="ranlib"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
if test "x$ac_ct_RANLIB" = x; then
RANLIB=":"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
RANLIB=$ac_ct_RANLIB
fi
else
RANLIB="$ac_cv_prog_RANLIB"
fi
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.make <<\_ACEOF
SHELL = /bin/sh
all:
@echo '@@@%%%=$(MAKE)=@@@%%%'
_ACEOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
case `${MAKE-make} -f conftest.make 2>/dev/null` in
*@@@%%%=?*=@@@%%%*)
eval ac_cv_prog_make_${ac_make}_set=yes;;
*)
eval ac_cv_prog_make_${ac_make}_set=no;;
esac
rm -f conftest.make
fi
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
SET_MAKE=
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
SET_MAKE="MAKE=${MAKE-make}"
fi
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
if test "${ac_cv_header_time+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
#include
#include
int
main ()
{
if ((struct tm *) 0)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_header_time=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_header_time=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6; }
if test $ac_cv_header_time = yes; then
cat >>confdefs.h <<\_ACEOF
#define TIME_WITH_SYS_TIME 1
_ACEOF
fi
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
if test "${ac_cv_c_const+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
main ()
{
/* FIXME: Include the comments suggested by Paul. */
#ifndef __cplusplus
/* Ultrix mips cc rejects this. */
typedef int charset[2];
const charset cs;
/* SunOS 4.1.1 cc rejects this. */
char const *const *pcpcc;
char **ppc;
/* NEC SVR4.0.2 mips cc rejects this. */
struct point {int x, y;};
static struct point const zero = {0,0};
/* AIX XL C 1.02.0.0 rejects this.
It does not let you subtract one const X* pointer from another in
an arm of an if-expression whose if-part is not a constant
expression */
const char *g = "string";
pcpcc = &g + (g ? g-g : 0);
/* HPUX 7.0 cc rejects these. */
++pcpcc;
ppc = (char**) pcpcc;
pcpcc = (char const *const *) ppc;
{ /* SCO 3.2v4 cc rejects this. */
char *t;
char const *s = 0 ? (char *) 0 : (char const *) 0;
*t++ = 0;
if (s) return 0;
}
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
int x[] = {25, 17};
const int *foo = &x[0];
++foo;
}
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
typedef const int *iptr;
iptr p = 0;
++p;
}
{ /* AIX XL C 1.02.0.0 rejects this saying
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
struct s { int j; const int *ap[3]; };
struct s *b; b->j = 5;
}
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
const int foo = 10;
if (!foo) return 0;
}
return !cs[0] && !zero.x;
#endif
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_c_const=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_c_const=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
echo "${ECHO_T}$ac_cv_c_const" >&6; }
if test $ac_cv_c_const = no; then
cat >>confdefs.h <<\_ACEOF
#define const
_ACEOF
fi
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
if test "${ac_cv_path_GREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
# Extract the first word of "grep ggrep" to use in msg output
if test -z "$GREP"; then
set dummy grep ggrep; ac_prog_name=$2
if test "${ac_cv_path_GREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_path_GREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_prog in grep ggrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
case `"$ac_path_GREP" --version 2>&1` in
*GNU*)
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
*)
ac_count=0
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
echo 'GREP' >> "conftest.nl"
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
ac_count=`expr $ac_count + 1`
if test $ac_count -gt ${ac_path_GREP_max-0}; then
# Best one so far, save it but keep looking for a better one
ac_cv_path_GREP="$ac_path_GREP"
ac_path_GREP_max=$ac_count
fi
# 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break
done
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac
$ac_path_GREP_found && break 3
done
done
done
IFS=$as_save_IFS
fi
GREP="$ac_cv_path_GREP"
if test -z "$GREP"; then
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
{ (exit 1); exit 1; }; }
fi
else
ac_cv_path_GREP=$GREP
fi
fi
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
GREP="$ac_cv_path_GREP"
{ echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
if test "${ac_cv_path_EGREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
then ac_cv_path_EGREP="$GREP -E"
else
# Extract the first word of "egrep" to use in msg output
if test -z "$EGREP"; then
set dummy egrep; ac_prog_name=$2
if test "${ac_cv_path_EGREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_path_EGREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_prog in egrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
case `"$ac_path_EGREP" --version 2>&1` in
*GNU*)
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
*)
ac_count=0
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
echo 'EGREP' >> "conftest.nl"
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
ac_count=`expr $ac_count + 1`
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
# Best one so far, save it but keep looking for a better one
ac_cv_path_EGREP="$ac_path_EGREP"
ac_path_EGREP_max=$ac_count
fi
# 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break
done
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac
$ac_path_EGREP_found && break 3
done
done
done
IFS=$as_save_IFS
fi
EGREP="$ac_cv_path_EGREP"
if test -z "$EGREP"; then
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
{ (exit 1); exit 1; }; }
fi
else
ac_cv_path_EGREP=$EGREP
fi
fi
fi
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
EGREP="$ac_cv_path_EGREP"
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
if test "${ac_cv_header_stdc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
#include
#include
#include
int
main ()
{
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_header_stdc=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_header_stdc=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "memchr" >/dev/null 2>&1; then
:
else
ac_cv_header_stdc=no
fi
rm -f conftest*
fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "free" >/dev/null 2>&1; then
:
else
ac_cv_header_stdc=no
fi
rm -f conftest*
fi
if test $ac_cv_header_stdc = yes; then
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if test "$cross_compiling" = yes; then
:
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
#include
#if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else
# define ISLOWER(c) \
(('a' <= (c) && (c) <= 'i') \
|| ('j' <= (c) && (c) <= 'r') \
|| ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
#endif
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int
main ()
{
int i;
for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i))
|| toupper (i) != TOUPPER (i))
return 2;
return 0;
}
_ACEOF
rm -f conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
:
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status )
ac_cv_header_stdc=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
fi
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
if test $ac_cv_header_stdc = yes; then
cat >>confdefs.h <<\_ACEOF
#define STDC_HEADERS 1
_ACEOF
fi
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
inttypes.h stdint.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_Header=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
for ac_header in unistd.h sys/time.h sys/times.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
else
# Is the header compilable?
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_header_compiler=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
# Is the header present?
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <$ac_header>
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err
}; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
# So? What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: )
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
ac_header_preproc=yes
;;
no:yes:* )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
;;
esac
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
eval "$as_ac_Header=\$ac_header_preproc"
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
for ac_header in curses.h term.h ncurses/curses.h ncurses/term.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
else
# Is the header compilable?
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_header_compiler=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
# Is the header present?
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <$ac_header>
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err
}; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
# So? What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: )
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
ac_header_preproc=yes
;;
no:yes:* )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
;;
esac
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
eval "$as_ac_Header=\$ac_header_preproc"
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
if test "$ac_cv_header_curses_h" = "yes";then
curses_header="curses.h"
elif test "$ac_cv_header_ncurses_curses_h" = "yes";then
curses_header="ncurses/curses.h"
else
curses_header="no"
fi
if test "$ac_cv_header_term_h" = "yes";then
term_header="term.h"
elif test "$ac_cv_header_ncurses_term_h" = "yes";then
term_header="ncurses/term.h"
else
term_header="no"
fi
{ echo "$as_me:$LINENO: checking for long" >&5
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
if test "${ac_cv_type_long+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
typedef long ac__type_new_;
int
main ()
{
if ((ac__type_new_ *) 0)
return 0;
if (sizeof (ac__type_new_))
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_cv_type_long=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_type_long=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
echo "${ECHO_T}$ac_cv_type_long" >&6; }
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
{ echo "$as_me:$LINENO: checking size of long" >&5
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
if test "${ac_cv_sizeof_long+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test "$cross_compiling" = yes; then
# Depending upon the size, compute the lo and hi bounds.
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
typedef long ac__type_sizeof_;
int
main ()
{
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
test_array [0] = 0
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_lo=0 ac_mid=0
while :; do
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
typedef long ac__type_sizeof_;
int
main ()
{
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
test_array [0] = 0
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_hi=$ac_mid; break
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_lo=`expr $ac_mid + 1`
if test $ac_lo -le $ac_mid; then
ac_lo= ac_hi=
break
fi
ac_mid=`expr 2 '*' $ac_mid + 1`
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
typedef long ac__type_sizeof_;
int
main ()
{
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
test_array [0] = 0
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_hi=-1 ac_mid=-1
while :; do
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
typedef long ac__type_sizeof_;
int
main ()
{
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
test_array [0] = 0
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_lo=$ac_mid; break
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_hi=`expr '(' $ac_mid ')' - 1`
if test $ac_mid -le $ac_hi; then
ac_lo= ac_hi=
break
fi
ac_mid=`expr 2 '*' $ac_mid`
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_lo= ac_hi=
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
# Binary search between lo and hi bounds.
while test "x$ac_lo" != "x$ac_hi"; do
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
typedef long ac__type_sizeof_;
int
main ()
{
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
test_array [0] = 0
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_hi=$ac_mid
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_lo=`expr '(' $ac_mid ')' + 1`
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
case $ac_lo in
?*) ac_cv_sizeof_long=$ac_lo;;
'') if test "$ac_cv_type_long" = yes; then
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
See \`config.log' for more details." >&5
echo "$as_me: error: cannot compute sizeof (long)
See \`config.log' for more details." >&2;}
{ (exit 77); exit 77; }; }
else
ac_cv_sizeof_long=0
fi ;;
esac
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
typedef long ac__type_sizeof_;
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
#include
#include
int
main ()
{
FILE *f = fopen ("conftest.val", "w");
if (! f)
return 1;
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
{
long int i = longval ();
if (i != ((long int) (sizeof (ac__type_sizeof_))))
return 1;
fprintf (f, "%ld\n", i);
}
else
{
unsigned long int i = ulongval ();
if (i != ((long int) (sizeof (ac__type_sizeof_))))
return 1;
fprintf (f, "%lu\n", i);
}
return ferror (f) || fclose (f) != 0;
;
return 0;
}
_ACEOF
rm -f conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_try") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sizeof_long=`cat conftest.val`
else
echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status )
if test "$ac_cv_type_long" = yes; then
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
See \`config.log' for more details." >&5
echo "$as_me: error: cannot compute sizeof (long)
See \`config.log' for more details." >&2;}
{ (exit 77); exit 77; }; }
else
ac_cv_sizeof_long=0
fi
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
rm -f conftest.val
fi
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
cat >>confdefs.h <<_ACEOF
#define SIZEOF_LONG $ac_cv_sizeof_long
_ACEOF
for ac_func in vsnprintf gettimeofday usleep times
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Define $ac_func to an innocuous variant, in case declares $ac_func.
For example, HP-UX 11i declares gettimeofday. */
#define $ac_func innocuous_$ac_func
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below.
Prefer to if __STDC__ is defined, since
exists even on freestanding compilers. */
#ifdef __STDC__
# include
#else
# include
#endif
#undef $ac_func
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char $ac_func ();
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined __stub_$ac_func || defined __stub___$ac_func
choke me
#endif
int
main ()
{
return $ac_func ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_var'}'` = yes; then
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
done
if test $ac_cv_func_vsnprintf = no; then
# Extract the first word of "glib-config", so it can be a program name with args.
set dummy glib-config; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_glibconfig+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$glibconfig"; then
ac_cv_prog_glibconfig="$glibconfig" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_glibconfig="yes"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
test -z "$ac_cv_prog_glibconfig" && ac_cv_prog_glibconfig="no"
fi
fi
glibconfig=$ac_cv_prog_glibconfig
if test -n "$glibconfig"; then
{ echo "$as_me:$LINENO: result: $glibconfig" >&5
echo "${ECHO_T}$glibconfig" >&6; }
else
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
if test $ac_cv_prog_glibconfig = yes;then
glib_cflags=`glib-config --cflags`
glib_libs=`glib-config --libs`
CPPFLAGS="$CPPFLAGS $glib_cflags"
LIBS="$LIBS $glib_libs"
for ac_func in g_vsnprintf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Define $ac_func to an innocuous variant, in case declares $ac_func.
For example, HP-UX 11i declares gettimeofday. */
#define $ac_func innocuous_$ac_func
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func (); below.
Prefer to if __STDC__ is defined, since
exists even on freestanding compilers. */
#ifdef __STDC__
# include
#else
# include
#endif
#undef $ac_func
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char $ac_func ();
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined __stub_$ac_func || defined __stub___$ac_func
choke me
#endif
int
main ()
{
return $ac_func ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
if test `eval echo '${'$as_ac_var'}'` = yes; then
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
done
for ac_header in glib.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
else
# Is the header compilable?
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_header_compiler=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
# Is the header present?
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <$ac_header>
_ACEOF
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err
}; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
# So? What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
yes:no: )
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
ac_header_preproc=yes
;;
no:yes:* )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
;;
esac
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
eval "$as_ac_Header=\$ac_header_preproc"
fi
ac_res=`eval echo '${'$as_ac_Header'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
if test $ac_cv_func_g_vsnprintf = no; then
{ echo "$as_me:$LINENO: WARNING: GLib installation problem.
Continuing without GLib " >&5
echo "$as_me: WARNING: GLib installation problem.
Continuing without GLib " >&2;}
fi
else
{ echo "$as_me:$LINENO: WARNING: Neither vsnprintf nor GLib found. GNU Go is
compiled but it is safer to get GLib at
http://www.gtk.org/" >&5
echo "$as_me: WARNING: Neither vsnprintf nor GLib found. GNU Go is
compiled but it is safer to get GLib at
http://www.gtk.org/" >&2;}
fi
fi
{ echo "$as_me:$LINENO: checking for variadic cpp define" >&5
echo $ECHO_N "checking for variadic cpp define... $ECHO_C" >&6; }
if test "${gnugo_cv_cpp_variadic_define+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include
#define zz(fmt,arg...) printf(fmt,##arg)
int
main ()
{
zz("Hello");zz("%s","Hello");zz("%s%s","Hello","World")
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
gnugo_cv_cpp_variadic_define="yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
gnugo_cv_cpp_variadic_define="no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $gnugo_cv_cpp_variadic_define" >&5
echo "${ECHO_T}$gnugo_cv_cpp_variadic_define" >&6; }
if test "$gnugo_cv_cpp_variadic_define" = "yes";then
cat >>confdefs.h <<\_ACEOF
#define HAVE_VARIADIC_DEFINE 1
_ACEOF
fi
{ echo "$as_me:$LINENO: checking whether $CC supports transparent unions" >&5
echo $ECHO_N "checking whether $CC supports transparent unions... $ECHO_C" >&6; }
if test "${gnugo_cv_transparent_unions+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
main ()
{
struct {
union {
int x;
float y;
}
} A = { { .y = 0.0 } };
A.y = 1.0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_compile") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
gnugo_cv_transparent_unions="yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
gnugo_cv_transparent_unions="no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $gnugo_cv_transparent_unions" >&5
echo "${ECHO_T}$gnugo_cv_transparent_unions" >&6; }
if test "$gnugo_cv_transparent_unions" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_TRANSPARENT_UNIONS 1
_ACEOF
fi
tmp_color_result="none"
if test "$with_curses" != no -a "$enable_color" != no ; then
tmp_color_result="none (curses failed)"
if test "$term_header" != "no" -a "$curses_header" != "no" ; then
{ echo "$as_me:$LINENO: checking for library containing tparm" >&5
echo $ECHO_N "checking for library containing tparm... $ECHO_C" >&6; }
if test "${ac_cv_search_tparm+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_func_search_save_LIBS=$LIBS
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char tparm ();
int
main ()
{
return tparm ();
;
return 0;
}
_ACEOF
for ac_lib in '' ncurses curses pdcurses termcap terminfo termlib; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
ac_cv_search_tparm=$ac_res
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext
if test "${ac_cv_search_tparm+set}" = set; then
break
fi
done
if test "${ac_cv_search_tparm+set}" = set; then
:
else
ac_cv_search_tparm=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ echo "$as_me:$LINENO: result: $ac_cv_search_tparm" >&5
echo "${ECHO_T}$ac_cv_search_tparm" >&6; }
ac_res=$ac_cv_search_tparm
if test "$ac_res" != no; then
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
fi
if test "$ac_cv_search_tparm" != "no" ; then
cat >>confdefs.h <<\_ACEOF
#define TERMINFO 1
_ACEOF
tmp_color_result="curses"
fi
fi
fi
if test "$with_curses" = no -a "$enable_color" != no ; then
cat >>confdefs.h <<\_ACEOF
#define ANSI_COLOR 1
_ACEOF
tmp_color_result="ANSI color"
fi
{ echo "$as_me:$LINENO: checking for color support" >&5
echo $ECHO_N "checking for color support... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: $tmp_color_result" >&5
echo "${ECHO_T}$tmp_color_result" >&6; }
if test "$with_readline" = yes ; then
{ echo "$as_me:$LINENO: checking for library containing readline" >&5
echo $ECHO_N "checking for library containing readline... $ECHO_C" >&6; }
if test "${ac_cv_search_readline+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_func_search_save_LIBS=$LIBS
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char readline ();
int
main ()
{
return readline ();
;
return 0;
}
_ACEOF
for ac_lib in '' termcap readline; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
ac_cv_search_readline=$ac_res
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext
if test "${ac_cv_search_readline+set}" = set; then
break
fi
done
if test "${ac_cv_search_readline+set}" = set; then
:
else
ac_cv_search_readline=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ echo "$as_me:$LINENO: result: $ac_cv_search_readline" >&5
echo "${ECHO_T}$ac_cv_search_readline" >&6; }
ac_res=$ac_cv_search_readline
if test "$ac_res" != no; then
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
fi
if test "$ac_cv_search_readline" != "no" ; then
cat >>confdefs.h <<\_ACEOF
#define READLINE 1
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define READLINE 0
_ACEOF
fi
else
cat >>confdefs.h <<\_ACEOF
#define READLINE 0
_ACEOF
fi
if test "$enable_grid_opt" = "distrust" ; then
cat >>confdefs.h <<\_ACEOF
#define GRID_OPT 2
_ACEOF
else
if test "$enable_grid_opt" = "no" ; then
cat >>confdefs.h <<\_ACEOF
#define GRID_OPT 0
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define GRID_OPT 1
_ACEOF
fi
fi
if test "$enable_cache_size" ; then
cat >>confdefs.h <<_ACEOF
#define DEFAULT_MEMORY $enable_cache_size
_ACEOF
else
cat >>confdefs.h <<_ACEOF
#define DEFAULT_MEMORY $default_cache_size
_ACEOF
fi
if test "$enable_level" ; then
cat >>confdefs.h <<_ACEOF
#define DEFAULT_LEVEL $enable_level
_ACEOF
else
cat >>confdefs.h <<_ACEOF
#define DEFAULT_LEVEL $default_level
_ACEOF
fi
if test "$enable_owl_node_limit" ; then
cat >>confdefs.h <<_ACEOF
#define OWL_NODE_LIMIT $enable_owl_node_limit
_ACEOF
else
cat >>confdefs.h <<_ACEOF
#define OWL_NODE_LIMIT $default_owl_node_limit
_ACEOF
fi
if test "$enable_semeai_node_limit" ; then
cat >>confdefs.h <<_ACEOF
#define SEMEAI_NODE_LIMIT $enable_semeai_node_limit
_ACEOF
else
cat >>confdefs.h <<_ACEOF
#define SEMEAI_NODE_LIMIT $default_semeai_node_limit
_ACEOF
fi
if test "$enable_dfa" != "no"; then
DFA_ENABLED_TRUE=
DFA_ENABLED_FALSE='#'
else
DFA_ENABLED_TRUE='#'
DFA_ENABLED_FALSE=
fi
rm -f \
patterns/owl_attackpat.c \
patterns/owl_defendpat.c \
patterns/owl_vital_apat.c
if test "$enable_chinese_rules" = "yes" ; then
cat >>confdefs.h <<\_ACEOF
#define CHINESE_RULES 1
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define CHINESE_RULES 0
_ACEOF
fi
if test "$disable_resignation_allowed" = "yes" ; then
cat >>confdefs.h <<\_ACEOF
#define RESIGNATION_ALLOWED 0
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define RESIGNATION_ALLOWED 1
_ACEOF
fi
if test "$enable_metamachine" = "yes" ; then
cat >>confdefs.h <<\_ACEOF
#define ORACLE 1
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define ORACLE 0
_ACEOF
fi
if test "$enable_experimental_break_in" = "no" ; then
cat >>confdefs.h <<\_ACEOF
#define USE_BREAK_IN 0
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define USE_BREAK_IN 1
_ACEOF
fi
if test "$enable_experimental_owl_ext" = "yes" ; then
cat >>confdefs.h <<\_ACEOF
#define EXPERIMENTAL_OWL_EXT 1
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define EXPERIMENTAL_OWL_EXT 0
_ACEOF
fi
if test "$enable_cosmic_gnugo" = "yes" ; then
cat >>confdefs.h <<\_ACEOF
#define COSMIC_GNUGO 1
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define COSMIC_GNUGO 0
_ACEOF
fi
if test "$enable_large_scale" = "yes" ; then
cat >>confdefs.h <<\_ACEOF
#define LARGE_SCALE 1
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define LARGE_SCALE 0
_ACEOF
fi
if test "$enable_experimental_connections" = "no" ; then
cat >>confdefs.h <<\_ACEOF
#define EXPERIMENTAL_CONNECTIONS 0
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define EXPERIMENTAL_CONNECTIONS 1
_ACEOF
fi
if test "$enable_alternate_connections" = "no" ; then
cat >>confdefs.h <<\_ACEOF
#define ALTERNATE_CONNECTIONS 0
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define ALTERNATE_CONNECTIONS 1
_ACEOF
fi
if test "$enable_owl_threats" = "yes" ; then
cat >>confdefs.h <<\_ACEOF
#define OWL_THREATS 1
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define OWL_THREATS 0
_ACEOF
fi
if test "$enable_valgrind" = "yes" ; then
cat >>confdefs.h <<\_ACEOF
#define USE_VALGRIND 1
_ACEOF
else
cat >>confdefs.h <<\_ACEOF
#define USE_VALGRIND 0
_ACEOF
fi
if test "$ac_compiler_gnu" = "yes"; then
GCC_ONLY_TRUE=
GCC_ONLY_FALSE='#'
else
GCC_ONLY_TRUE='#'
GCC_ONLY_FALSE=
fi
if test "$ac_compiler_gnu" = "yes"; then
GCC_MAJOR_VERSION=`echo __GNUC__ | $CC -E -xc - | tail -n 1`
GCC_MINOR_VERSION=`echo __GNUC_MINOR__ | $CC -E -xc - | tail -n 1`
GNU_GO_WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef'
if (test $GCC_MAJOR_VERSION -eq 3 && test $GCC_MINOR_VERSION -ge 4) || test $GCC_MAJOR_VERSION -gt 3; then
GNU_GO_WARNINGS="$GNU_GO_WARNINGS -Wdeclaration-after-statement"
fi
else
GCC_MAJOR_VERSION=0
GCC_MINOR_VERSION=0
GNU_GO_WARNINGS=''
fi
if test "$enable_socket_support" != "no"; then
# Check for all required headers, macros, structures and functions
# at once.
{ echo "$as_me:$LINENO: checking whether socket support can be compiled" >&5
echo $ECHO_N "checking whether socket support can be compiled... $ECHO_C" >&6; }
if test "${gnugo_cv_sockets_supported+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#if !defined(_WIN32) && !defined(_WIN32_WCE)
#include
#include
#include
#include
#else /* on Windows */
#include
#endif /* on Windows */
int
main ()
{
struct sockaddr_in A;
struct hostent *H;
A.sin_family = AF_INET;
A.sin_addr.s_addr = htonl(INADDR_ANY);
A.sin_port = htons(0);
gethostbyname(0);
socket(PF_INET, SOCK_STREAM, 0);
connect(0, 0, 0);
bind(0, 0, 0);
listen(0, 0);
accept(0, 0, 0);
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
(eval "$ac_link") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
gnugo_cv_sockets_supported="yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
gnugo_cv_sockets_supported="no"
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $gnugo_cv_sockets_supported" >&5
echo "${ECHO_T}$gnugo_cv_sockets_supported" >&6; }
if test "$gnugo_cv_sockets_supported" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define ENABLE_SOCKET_SUPPORT 1
_ACEOF
else
if test "$enable_socket_support" = "yes"; then
{ echo "$as_me:$LINENO: WARNING:
*** Socket support was requested but does not pass configure test. ***
*** Proceed only if you know what you are doing. ***" >&5
echo "$as_me: WARNING:
*** Socket support was requested but does not pass configure test. ***
*** Proceed only if you know what you are doing. ***" >&2;}
cat >>confdefs.h <<\_ACEOF
#define ENABLE_SOCKET_SUPPORT 1
_ACEOF
fi
fi
fi
#AM_GNU_GETTEXT
#AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl)
ac_config_files="$ac_config_files Makefile interface/Makefile patterns/Makefile sgf/Makefile utils/Makefile engine/Makefile doc/Makefile regression/Makefile config.vc:config.vcin"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems. If it contains results you don't
# want to keep, you may remove or edit it.
#
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
# `ac_cv_env_foo' variables (set or unset) will be overridden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values.
_ACEOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, we kill variables containing newlines.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
eval ac_val=\$$ac_var
case $ac_val in #(
*${as_nl}*)
case $ac_var in #(
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
*) $as_unset $ac_var ;;
esac ;;
esac
done
(set) 2>&1 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
*${as_nl}ac_space=\ *)
# `set' does not quote correctly, so add quotes (double-quote
# substitution turns \\\\ into \\, and sed turns \\ into \).
sed -n \
"s/'/'\\\\''/g;
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
;; #(
*)
# `set' quotes correctly as required by POSIX, so do not add quotes.
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
;;
esac |
sort
) |
sed '
/^ac_cv_env_/b end
t clear
:clear
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
t end
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
:end' >>confcache
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
if test -w "$cache_file"; then
test "x$cache_file" != "x/dev/null" &&
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
echo "$as_me: updating cache $cache_file" >&6;}
cat confcache >$cache_file
else
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
fi
fi
rm -f confcache
test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
DEFS=-DHAVE_CONFIG_H
ac_libobjs=
ac_ltlibobjs=
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
# 1. Remove the extension, and $U if already installed.
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
ac_i=`echo "$ac_i" | sed "$ac_script"`
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
# will be set to the directory where LIBOBJS objects are built.
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
done
LIBOBJS=$ac_libobjs
LTLIBOBJS=$ac_ltlibobjs
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
if test -z "${DFA_ENABLED_TRUE}" && test -z "${DFA_ENABLED_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"DFA_ENABLED\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"DFA_ENABLED\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
if test -z "${GCC_ONLY_TRUE}" && test -z "${GCC_ONLY_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"GCC_ONLY\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"GCC_ONLY\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
# Generated by $as_me.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.
debug=false
ac_cs_recheck=false
ac_cs_silent=false
SHELL=\${CONFIG_SHELL-$SHELL}
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
## --------------------- ##
## M4sh Initialization. ##
## --------------------- ##
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in
*posix*) set -o posix ;;
esac
fi
# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
echo "#! /bin/sh" >conf$$.sh
echo "exit 0" >>conf$$.sh
chmod +x conf$$.sh
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
PATH_SEPARATOR=';'
else
PATH_SEPARATOR=:
fi
rm -f conf$$.sh
fi
# Support unset when possible.
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
as_unset=unset
else
as_unset=false
fi
# IFS
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
IFS=" "" $as_nl"
# Find who we are. Look in the path if we contain no directory separator.
case $0 in
*[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS
;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
{ (exit 1); exit 1; }
fi
# Work around bugs in pre-3.0 UWIN ksh.
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
PS1='$ '
PS2='> '
PS4='+ '
# NLS nuisances.
for as_var in \
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
LC_TELEPHONE LC_TIME
do
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
eval $as_var=C; export $as_var
else
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
fi
done
# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
as_expr=expr
else
as_expr=false
fi
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
as_basename=basename
else
as_basename=false
fi
# Name of the executable.
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
# CDPATH.
$as_unset CDPATH
as_lineno_1=$LINENO
as_lineno_2=$LINENO
test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
# uniformly replaced by the line number. The first 'sed' inserts a
# line-number line after each line using $LINENO; the second 'sed'
# does the real work. The second script uses 'N' to pair each
# line-number line with the line containing $LINENO, and appends
# trailing '-' during substitution so that $LINENO is not a special
# case at line end.
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
# scripts with optimization help from Paolo Bonzini. Blame Lee
# E. McMahon (1931-1989) for sed's syntax. :-)
sed -n '
p
/[$]LINENO/=
' <$as_myself |
sed '
s/[$]LINENO.*/&-/
t lineno
b
:lineno
N
:loop
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
t loop
s/-\n.*//
' >$as_me.lineno &&
chmod +x "$as_me.lineno" ||
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
{ (exit 1); exit 1; }; }
# Don't try to exec as it changes $[0], causing all sort of problems
# (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensitive to this).
. "./$as_me.lineno"
# Exit status is that of the last command.
exit
}
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false
fi
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
case `echo 'x\c'` in
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
*) ECHO_C='\c';;
esac;;
*)
ECHO_N='-n';;
esac
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
as_expr=expr
else
as_expr=false
fi
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
else
rm -f conf$$.dir
mkdir conf$$.dir
fi
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_s='ln -s'
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
# In both cases, we have to default to `cp -p'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -p'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
if mkdir -p . 2>/dev/null; then
as_mkdir_p=:
else
test -d ./-p && rmdir ./-p
as_mkdir_p=false
fi
if test -x / >/dev/null 2>&1; then
as_test_x='test -x'
else
if ls -dL / >/dev/null 2>&1; then
as_ls_L_option=L
else
as_ls_L_option=
fi
as_test_x='
eval sh -c '\''
if test -d "$1"; then
test -d "$1/.";
else
case $1 in
-*)set "./$1";;
esac;
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
???[sx]*):;;*)false;;esac;fi
'\'' sh
'
fi
as_executable_p=$as_test_x
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
exec 6>&1
# Save the log message, to keep $[0] and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by gnugo $as_me 3.8, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS
$ $0 $@
on `(hostname || uname -n) 2>/dev/null | sed 1q`
"
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
# Files that config.status was made for.
config_files="$ac_config_files"
config_headers="$ac_config_headers"
config_commands="$ac_config_commands"
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
ac_cs_usage="\
\`$as_me' instantiates files from templates according to the
current configuration.
Usage: $0 [OPTIONS] [FILE]...
-h, --help print this help, then exit
-V, --version print version number and configuration settings, then exit
-q, --quiet do not print progress messages
-d, --debug don't remove temporary files
--recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE]
instantiate the configuration file FILE
--header=FILE[:TEMPLATE]
instantiate the configuration header FILE
Configuration files:
$config_files
Configuration headers:
$config_headers
Configuration commands:
$config_commands
Report bugs to ."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
gnugo config.status 3.8
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
Copyright (C) 2006 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
ac_pwd='$ac_pwd'
srcdir='$srcdir'
INSTALL='$INSTALL'
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
# If no file are specified by the user, then we need to provide default
# value. By we need to know if files were specified by the user.
ac_need_defaults=:
while test $# != 0
do
case $1 in
--*=*)
ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
ac_shift=:
;;
*)
ac_option=$1
ac_optarg=$2
ac_shift=shift
;;
esac
case $ac_option in
# Handling of the options.
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
ac_cs_recheck=: ;;
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
echo "$ac_cs_version"; exit ;;
--debug | --debu | --deb | --de | --d | -d )
debug=: ;;
--file | --fil | --fi | --f )
$ac_shift
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
ac_need_defaults=false;;
--header | --heade | --head | --hea )
$ac_shift
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
ac_need_defaults=false;;
--he | --h)
# Conflict between --help and --header
{ echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2
{ (exit 1); exit 1; }; };;
--help | --hel | -h )
echo "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil | --si | --s)
ac_cs_silent=: ;;
# This is an error.
-*) { echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2
{ (exit 1); exit 1; }; } ;;
*) ac_config_targets="$ac_config_targets $1"
ac_need_defaults=false ;;
esac
shift
done
ac_configure_extra_args=
if $ac_cs_silent; then
exec 6>/dev/null
ac_configure_extra_args="$ac_configure_extra_args --silent"
fi
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
if \$ac_cs_recheck; then
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
CONFIG_SHELL=$SHELL
export CONFIG_SHELL
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
fi
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
exec 5>>config.log
{
echo
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
echo "$ac_log"
} >&5
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
#
# INIT-COMMANDS
#
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
# Handling of arguments.
for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"interface/Makefile") CONFIG_FILES="$CONFIG_FILES interface/Makefile" ;;
"patterns/Makefile") CONFIG_FILES="$CONFIG_FILES patterns/Makefile" ;;
"sgf/Makefile") CONFIG_FILES="$CONFIG_FILES sgf/Makefile" ;;
"utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
"engine/Makefile") CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;;
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
"regression/Makefile") CONFIG_FILES="$CONFIG_FILES regression/Makefile" ;;
"config.vc") CONFIG_FILES="$CONFIG_FILES config.vc:config.vcin" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };;
esac
done
# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used. Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi
# Have a temporary directory for convenience. Make it in the build tree
# simply because there is no reason against having it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
$debug ||
{
tmp=
trap 'exit_status=$?
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
' 0
trap '{ (exit 1); exit 1; }' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.
{
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
test -n "$tmp" && test -d "$tmp"
} ||
{
tmp=./conf$$-$RANDOM
(umask 077 && mkdir "$tmp")
} ||
{
echo "$me: cannot create a temporary directory in ." >&2
{ (exit 1); exit 1; }
}
#
# Set up the sed scripts for CONFIG_FILES section.
#
# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "$CONFIG_FILES"; then
_ACEOF
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
cat >conf$$subs.sed <<_ACEOF
SHELL!$SHELL$ac_delim
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
exec_prefix!$exec_prefix$ac_delim
prefix!$prefix$ac_delim
program_transform_name!$program_transform_name$ac_delim
bindir!$bindir$ac_delim
sbindir!$sbindir$ac_delim
libexecdir!$libexecdir$ac_delim
datarootdir!$datarootdir$ac_delim
datadir!$datadir$ac_delim
sysconfdir!$sysconfdir$ac_delim
sharedstatedir!$sharedstatedir$ac_delim
localstatedir!$localstatedir$ac_delim
includedir!$includedir$ac_delim
oldincludedir!$oldincludedir$ac_delim
docdir!$docdir$ac_delim
infodir!$infodir$ac_delim
htmldir!$htmldir$ac_delim
dvidir!$dvidir$ac_delim
pdfdir!$pdfdir$ac_delim
psdir!$psdir$ac_delim
libdir!$libdir$ac_delim
localedir!$localedir$ac_delim
mandir!$mandir$ac_delim
DEFS!$DEFS$ac_delim
ECHO_C!$ECHO_C$ac_delim
ECHO_N!$ECHO_N$ac_delim
ECHO_T!$ECHO_T$ac_delim
LIBS!$LIBS$ac_delim
build_alias!$build_alias$ac_delim
host_alias!$host_alias$ac_delim
target_alias!$target_alias$ac_delim
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
INSTALL_DATA!$INSTALL_DATA$ac_delim
CYGPATH_W!$CYGPATH_W$ac_delim
PACKAGE!$PACKAGE$ac_delim
VERSION!$VERSION$ac_delim
ACLOCAL!$ACLOCAL$ac_delim
AUTOCONF!$AUTOCONF$ac_delim
AUTOMAKE!$AUTOMAKE$ac_delim
AUTOHEADER!$AUTOHEADER$ac_delim
MAKEINFO!$MAKEINFO$ac_delim
install_sh!$install_sh$ac_delim
STRIP!$STRIP$ac_delim
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
mkdir_p!$mkdir_p$ac_delim
AWK!$AWK$ac_delim
SET_MAKE!$SET_MAKE$ac_delim
am__leading_dot!$am__leading_dot$ac_delim
AMTAR!$AMTAR$ac_delim
am__tar!$am__tar$ac_delim
am__untar!$am__untar$ac_delim
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
MAINT!$MAINT$ac_delim
CC!$CC$ac_delim
CFLAGS!$CFLAGS$ac_delim
LDFLAGS!$LDFLAGS$ac_delim
CPPFLAGS!$CPPFLAGS$ac_delim
ac_ct_CC!$ac_ct_CC$ac_delim
EXEEXT!$EXEEXT$ac_delim
OBJEXT!$OBJEXT$ac_delim
DEPDIR!$DEPDIR$ac_delim
am__include!$am__include$ac_delim
am__quote!$am__quote$ac_delim
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
CCDEPMODE!$CCDEPMODE$ac_delim
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
CPP!$CPP$ac_delim
RANLIB!$RANLIB$ac_delim
GREP!$GREP$ac_delim
EGREP!$EGREP$ac_delim
glibconfig!$glibconfig$ac_delim
DFA_ENABLED_TRUE!$DFA_ENABLED_TRUE$ac_delim
DFA_ENABLED_FALSE!$DFA_ENABLED_FALSE$ac_delim
GCC_ONLY_TRUE!$GCC_ONLY_TRUE$ac_delim
GCC_ONLY_FALSE!$GCC_ONLY_FALSE$ac_delim
GCC_MAJOR_VERSION!$GCC_MAJOR_VERSION$ac_delim
GCC_MINOR_VERSION!$GCC_MINOR_VERSION$ac_delim
GNU_GO_WARNINGS!$GNU_GO_WARNINGS$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
{ (exit 1); exit 1; }; }
else
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fi
done
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
if test -n "$ac_eof"; then
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
ac_eof=`expr $ac_eof + 1`
fi
cat >>$CONFIG_STATUS <<_ACEOF
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
_ACEOF
sed '
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
s/^/s,@/; s/!/@,|#_!!_#|/
:n
t n
s/'"$ac_delim"'$/,g/; t
s/$/\\/; p
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF
:end
s/|#_!!_#|//g
CEOF$ac_eof
_ACEOF
# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
ac_vpsub='/^[ ]*VPATH[ ]*=/{
s/:*\$(srcdir):*/:/
s/:*\${srcdir}:*/:/
s/:*@srcdir@:*/:/
s/^\([^=]*=[ ]*\):*/\1/
s/:*$//
s/^[^=]*=[ ]*$//
}'
fi
cat >>$CONFIG_STATUS <<\_ACEOF
fi # test -n "$CONFIG_FILES"
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
do
case $ac_tag in
:[FHLC]) ac_mode=$ac_tag; continue;;
esac
case $ac_mode$ac_tag in
:[FHL]*:*);;
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
{ (exit 1); exit 1; }; };;
:[FH]-) ac_tag=-:-;;
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
esac
ac_save_IFS=$IFS
IFS=:
set x $ac_tag
IFS=$ac_save_IFS
shift
ac_file=$1
shift
case $ac_mode in
:L) ac_source=$1;;
:[FH])
ac_file_inputs=
for ac_f
do
case $ac_f in
-) ac_f="$tmp/stdin";;
*) # Look for the file first in the build tree, then in the source tree
# (if the path is not absolute). The absolute path cannot be DOS-style,
# because $ac_f cannot contain `:'.
test -f "$ac_f" ||
case $ac_f in
[\\/$]*) false;;
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
esac ||
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
{ (exit 1); exit 1; }; };;
esac
ac_file_inputs="$ac_file_inputs $ac_f"
done
# Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
# /* config.h. Generated by config.status. */
configure_input="Generated from "`IFS=:
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
if test x"$ac_file" != x-; then
configure_input="$ac_file. $configure_input"
{ echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
fi
case $ac_tag in
*:-:* | *:-) cat >"$tmp/stdin";;
esac
;;
esac
ac_dir=`$as_dirname -- "$ac_file" ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$ac_file" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
{ as_dir="$ac_dir"
case $as_dir in #(
-*) as_dir=./$as_dir;;
esac
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
as_dirs=
while :; do
case $as_dir in #(
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
*) as_qdir=$as_dir;;
esac
as_dirs="'$as_qdir' $as_dirs"
as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
test -d "$as_dir" && break
done
test -z "$as_dirs" || eval "mkdir $as_dirs"
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
echo "$as_me: error: cannot create directory $as_dir" >&2;}
{ (exit 1); exit 1; }; }; }
ac_builddir=.
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
# A ".." for each directory in $ac_dir_suffix.
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
case $srcdir in
.) # We are building in place.
ac_srcdir=.
ac_top_srcdir=$ac_top_builddir_sub
ac_abs_top_srcdir=$ac_pwd ;;
[\\/]* | ?:[\\/]* ) # Absolute name.
ac_srcdir=$srcdir$ac_dir_suffix;
ac_top_srcdir=$srcdir
ac_abs_top_srcdir=$srcdir ;;
*) # Relative name.
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
ac_top_srcdir=$ac_top_build_prefix$srcdir
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
case $ac_mode in
:F)
#
# CONFIG_FILE
#
case $INSTALL in
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
esac
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=
case `sed -n '/datarootdir/ {
p
q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p
' $ac_file_inputs` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_datarootdir_hack='
s&@datadir@&$datadir&g
s&@docdir@&$docdir&g
s&@infodir@&$infodir&g
s&@localedir@&$localedir&g
s&@mandir@&$mandir&g
s&\\\${datarootdir}&$datarootdir&g' ;;
esac
_ACEOF
# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
cat >>$CONFIG_STATUS <<_ACEOF
sed "$ac_vpsub
$extrasub
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s&@configure_input@&$configure_input&;t t
s&@top_builddir@&$ac_top_builddir_sub&;t t
s&@srcdir@&$ac_srcdir&;t t
s&@abs_srcdir@&$ac_abs_srcdir&;t t
s&@top_srcdir@&$ac_top_srcdir&;t t
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
s&@builddir@&$ac_builddir&;t t
s&@abs_builddir@&$ac_abs_builddir&;t t
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
s&@INSTALL@&$ac_INSTALL&;t t
$ac_datarootdir_hack
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined." >&5
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined." >&2;}
rm -f "$tmp/stdin"
case $ac_file in
-) cat "$tmp/out"; rm -f "$tmp/out";;
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
esac
;;
:H)
#
# CONFIG_HEADER
#
_ACEOF
# Transform confdefs.h into a sed script `conftest.defines', that
# substitutes the proper values into config.h.in to produce config.h.
rm -f conftest.defines conftest.tail
# First, append a space to every undef/define line, to ease matching.
echo 's/$/ /' >conftest.defines
# Then, protect against being on the right side of a sed subst, or in
# an unquoted here document, in config.status. If some macros were
# called several times there might be several #defines for the same
# symbol, which is useless. But do not sort them, since the last
# AC_DEFINE must be honored.
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
# NAME is the cpp macro being defined, VALUE is the value it is being given.
# PARAMS is the parameter list in the macro definition--in most cases, it's
# just an empty string.
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
ac_dB='\\)[ (].*,\\1define\\2'
ac_dC=' '
ac_dD=' ,'
uniq confdefs.h |
sed -n '
t rset
:rset
s/^[ ]*#[ ]*define[ ][ ]*//
t ok
d
:ok
s/[\\&,]/\\&/g
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
' >>conftest.defines
# Remove the space that was appended to ease matching.
# Then replace #undef with comments. This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
# (The regexp can be short, since the line contains either #define or #undef.)
echo 's/ $//
s,^[ #]*u.*,/* & */,' >>conftest.defines
# Break up conftest.defines:
ac_max_sed_lines=50
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
# et cetera.
ac_in='$ac_file_inputs'
ac_out='"$tmp/out1"'
ac_nxt='"$tmp/out2"'
while :
do
# Write a here document:
cat >>$CONFIG_STATUS <<_ACEOF
# First, check the format of the line:
cat >"\$tmp/defines.sed" <<\\CEOF
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
b
:def
_ACEOF
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
echo 'CEOF
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
grep . conftest.tail >/dev/null || break
rm -f conftest.defines
mv conftest.tail conftest.defines
done
rm -f conftest.defines conftest.tail
echo "ac_result=$ac_in" >>$CONFIG_STATUS
cat >>$CONFIG_STATUS <<\_ACEOF
if test x"$ac_file" != x-; then
echo "/* $configure_input */" >"$tmp/config.h"
cat "$ac_result" >>"$tmp/config.h"
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
else
rm -f $ac_file
mv "$tmp/config.h" $ac_file
fi
else
echo "/* $configure_input */"
cat "$ac_result"
fi
rm -f "$tmp/out12"
# Compute $ac_file's index in $config_headers.
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
$ac_file | $ac_file:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X$ac_file : 'X\(//\)[^/]' \| \
X$ac_file : 'X\(//\)$' \| \
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
echo X$ac_file |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`/stamp-h$_am_stamp_count
;;
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
echo "$as_me: executing $ac_file commands" >&6;}
;;
esac
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named `Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# So let's grep whole file.
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
dirpart=`$as_dirname -- "$mf" ||
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$mf" : 'X\(//\)[^/]' \| \
X"$mf" : 'X\(//\)$' \| \
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$mf" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
else
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
# from the Makefile without running `make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
test -z "am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# When using ansi2knr, U may be empty or an underscore; expand it
U=`sed -n 's/^U = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`$as_dirname -- "$file" ||
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$file" : 'X\(//\)[^/]' \| \
X"$file" : 'X\(//\)$' \| \
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$file" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
{ as_dir=$dirpart/$fdir
case $as_dir in #(
-*) as_dir=./$as_dir;;
esac
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
as_dirs=
while :; do
case $as_dir in #(
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
*) as_qdir=$as_dir;;
esac
as_dirs="'$as_qdir' $as_dirs"
as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
test -d "$as_dir" && break
done
test -z "$as_dirs" || eval "mkdir $as_dirs"
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
echo "$as_me: error: cannot create directory $as_dir" >&2;}
{ (exit 1); exit 1; }; }; }
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
;;
esac
done # for ac_tag
{ (exit 0); exit 0; }
_ACEOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save
# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
# by configure, so config.status won't be able to write to it; its
# output is simply discarded. So we exec the FD to /dev/null,
# effectively closing config.log, so it can be properly (re)opened and
# appended to by config.status. When coming back to configure, we
# need to make the FD available again.
if test "$no_create" != yes; then
ac_cs_success=:
ac_config_status_args=
test "$silent" = yes &&
ac_config_status_args="$ac_config_status_args --quiet"
exec 5>/dev/null
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
exec 5>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
# would make configure fail if this is the last instruction.
$ac_cs_success || { (exit 1); exit 1; }
fi
gnugo-3.8/configure.in 0000644 0001750 0001750 00000040005 11146627432 011742 0000000 0000000 dnl Process this file with autoconf to produce a configure script.
dnl *****************************************************************
dnl IMPORTANT: Don't forget to add corresponding output for --options
dnl if you add a non-trivial configure option here.
dnl *****************************************************************
dnl this is to determine if the config script is running in the proper place
dnl just give it one file relative to where it should be
AC_INIT([gnugo], [3.8])
AC_CONFIG_SRCDIR([engine/dragon.c])
AM_CONFIG_HEADER(config.h)
AC_PREREQ(2.52)dnl dnl Minimum Autoconf version required.
AH_TEMPLATE([PACKAGE],
[Define to the name of the distribution.])
AH_TEMPLATE([GNU_PACKAGE],
[The concatenation of the strings "GNU ", and PACKAGE.])
AH_TEMPLATE([VERSION],
[Define to the version of the distribution.])
dnl this defines VERSION and PACKAGE
AM_INIT_AUTOMAKE
GNU_PACKAGE="GNU $PACKAGE"
AC_DEFINE_UNQUOTED(GNU_PACKAGE, "$GNU_PACKAGE")
AM_MAINTAINER_MODE
dnl See if user has expressed a preference for use of curses and/or color
dnl These set variables $enable_color and $with_curses to "no" if disabled
dnl "yes" if enabled, or undefined if not specified
AC_ARG_WITH(readline,
[ --with-readline try to use GNU Readline for command reading
--without-readline do not use GNU Readline (default)])
AC_ARG_WITH(curses,
[ --with-curses try to use curses for colored debugging output (default)
--without-curses do not use curses for colored debugging output])
AC_ARG_ENABLE(color,
[ --enable-color use curses or ansi escape sequences for colored
debug output
--disable-color do not try to generated colored debug output])
dnl and look to see if they want to disable the grid optimisation
AC_ARG_ENABLE(grid-opt,
[ --enable-grid-opt enable the grid optimisation within the pattern
matcher (default)
--enable-grid-opt=distrust enable the grid optimisation in non-trusting mode
--disable-grid-opt disable the grid optimisation])
default_cache_size=-1
default_level=10
default_semeai_node_limit=500
default_owl_node_limit=1000
AC_ARG_ENABLE(cache-size,
[ --enable-cache-size=n reserve n MB RAM for caching (special value -1
default, corresponding to 8-11 MB depending on
platform)])
AC_ARG_ENABLE(level,
[ --enable-level=n n = default level (10 standard)])
AC_ARG_ENABLE(semeai-node-limit,
[ --enable-semeai-node-limit=n n = semeai variations (500 standard)])
AC_ARG_ENABLE(level,
[ --enable-owl-node-limit=n n = owl node limit (1000 standard)])
AC_ARG_ENABLE(dfa,
[ --disable-dfa use old non-dfa pattern matcher],
[ if test ${enableval} = no; then
dfa_c=
else
dfa_c=dfa
fi] ,
[ dfa_c=dfa ])
AC_ARG_ENABLE(chinese-rules,
[ --enable-chinese-rules use Chinese (area) counting
--disable-chinese-rules use Japanese counting (default)])
AC_ARG_ENABLE(resignation-allowed,
[ --enable-resignation-allowed resign lost games (default)
--disable-resignation-allowed never resign])
AC_ARG_ENABLE(metamachine,
[ --enable-metamachine enable metamachine
--disable-metamachine don't enable metamachine (default)])
AC_ARG_ENABLE(experimental-break-in,
[ --enable-experimental-break-in use the breakin module (default)
--disable-experimental-break-in don't use the breakin module])
AC_ARG_ENABLE(experimental-owl-ext,
[ --enable-experimental-owl-ext use the experimental GAIN/LOSS codes
--disable-experimental-owl-ext use standard owl module (default)])
AC_ARG_ENABLE(cosmic-gnugo,
[ --enable-cosmic-gnugo use center-oriented influence code
--disable-cosmic-gnugo use standard influence code (default)])
AC_ARG_ENABLE(large-scale,
[ --enable-large-scale look for large scale captures
--disable-large-scale don't seek large scale captures (default)])
AC_ARG_ENABLE(experimental-connections,
[ --enable-experimental-connections use experimental connection analysis
(default)
--disable-experimental-connections use standard connection analysis])
AC_ARG_ENABLE(alternate-connections,
[ --enable-alternate-connections use alternate experimental connection
analysis
--disable-alternate-connections use primary experimental connection
analysis (default)])
AC_ARG_ENABLE(socket-support,
[ --disable-socket-support don't compile GTP over TCP/IP support
--enable-socket-support compile TCP/IP support (default)])
AC_PROG_CC
dnl for automake 1.4.x
AC_EXEEXT
dnl add -lm to library list since we use some
dnl math functions such as pow and fabs
AC_SEARCH_LIBS(pow,m)
AC_CACHE_CHECK(
[for mingw32],
ac_cv_mingw32,
AC_TRY_COMPILE(,
[return __MINGW32__],
ac_cv_mingw32="yes",
ac_cv_mingw32="no")
)
if test $ac_cv_mingw32 = yes;then
LIBS="$LIBS -lwsock32"
AC_SEARCH_LIBS(vsnprintf, mingwex)
fi
AC_PROG_CPP
AC_PROG_RANLIB
dnl required since we use SUBDIRS in Makefile.am
AC_PROG_MAKE_SET
AC_HEADER_TIME
AC_C_CONST
AC_CHECK_HEADERS(unistd.h sys/time.h sys/times.h)
AC_CHECK_HEADERS(curses.h term.h ncurses/curses.h ncurses/term.h)
if test "$ac_cv_header_curses_h" = "yes";then
curses_header="curses.h"
elif test "$ac_cv_header_ncurses_curses_h" = "yes";then
curses_header="ncurses/curses.h"
else
curses_header="no"
fi
if test "$ac_cv_header_term_h" = "yes";then
term_header="term.h"
elif test "$ac_cv_header_ncurses_term_h" = "yes";then
term_header="ncurses/term.h"
else
term_header="no"
fi
AC_CHECK_SIZEOF(long,,[#include ])
dnl vsnprintf not universally available
dnl usleep not available in Unicos and mingw32
AC_CHECK_FUNCS(vsnprintf gettimeofday usleep times)
dnl if snprintf not available try to use g_snprintf from GLib
if test $ac_cv_func_vsnprintf = no; then
AC_CHECK_PROG(glibconfig,glib-config,yes,no)
if test $ac_cv_prog_glibconfig = yes;then
glib_cflags=`glib-config --cflags`
glib_libs=`glib-config --libs`
CPPFLAGS="$CPPFLAGS $glib_cflags"
LIBS="$LIBS $glib_libs"
AC_CHECK_FUNCS(g_vsnprintf)
AC_CHECK_HEADERS(glib.h)
if test $ac_cv_func_g_vsnprintf = no; then
AC_MSG_WARN([GLib installation problem.
Continuing without GLib ])
fi
else
AC_MSG_WARN([Neither vsnprintf nor GLib found. GNU Go is
compiled but it is safer to get GLib at
http://www.gtk.org/])
fi
fi
dnl ------ variadic #define -----------------------
AH_TEMPLATE([HAVE_VARIADIC_DEFINE],
[Define if #define can take a variable number of arguments])
AC_CACHE_CHECK(
[for variadic cpp define],
gnugo_cv_cpp_variadic_define,
AC_TRY_COMPILE(
[#include
#define zz(fmt,arg...) printf(fmt,##arg)],
[zz("Hello");zz("%s","Hello");zz("%s%s","Hello","World")],
gnugo_cv_cpp_variadic_define="yes",
gnugo_cv_cpp_variadic_define="no")
)
if test "$gnugo_cv_cpp_variadic_define" = "yes";then
AC_DEFINE(HAVE_VARIADIC_DEFINE)
fi
dnl ------ transparent unions ---------------------
AH_TEMPLATE([HAVE_TRANSPARENT_UNIONS],
[Define if your compiler supports transparent unions])
AC_CACHE_CHECK(
[whether $CC supports transparent unions],
gnugo_cv_transparent_unions,
AC_TRY_COMPILE([],
[[ struct {
union {
int x;
float y;
}
} A = { { .y = 0.0 } };
A.y = 1.0;]],
gnugo_cv_transparent_unions="yes",
gnugo_cv_transparent_unions="no")
)
if test "$gnugo_cv_transparent_unions" = "yes"; then
AC_DEFINE(HAVE_TRANSPARENT_UNIONS)
fi
dnl -------- color debugging support -----------
AH_TEMPLATE([TERMINFO],
[Define to 1 if termcap/terminfo is available.])
AH_TEMPLATE([ANSI_COLOR],
[Define to use ansi escape sequences for color debugging])
tmp_color_result="none"
if test "$with_curses" != no -a "$enable_color" != no ; then
tmp_color_result="none (curses failed)"
dnl Do a separate test for curses and termcap
dnl DJGPP does have pdcurses, but not termcap
dnl make sure that both curses.h and term.h are available
dnl FIXME: better to actually figure out here what headers
dnl are really required
if test "$term_header" != "no" -a "$curses_header" != "no" ; then
dnl check for a working termcap library
AC_SEARCH_LIBS(tparm,ncurses curses pdcurses termcap terminfo termlib)
if test "$ac_cv_search_tparm" != "no" ; then
AC_DEFINE(TERMINFO)
tmp_color_result="curses"
fi
fi
fi
if test "$with_curses" = no -a "$enable_color" != no ; then
dnl we asked for color, but there is no termcap
AC_DEFINE(ANSI_COLOR)
tmp_color_result="ANSI color"
fi
AC_MSG_CHECKING(for color support)
AC_MSG_RESULT($tmp_color_result)
dnl -------- readline support -------------------
AH_TEMPLATE([READLINE], [Enable GNU Readline support])
if test "$with_readline" = yes ; then
dnl check for a working termcap and readline library
AC_SEARCH_LIBS(readline,termcap readline)
if test "$ac_cv_search_readline" != "no" ; then
AC_DEFINE(READLINE,1)
else
AC_DEFINE(READLINE,0)
fi
else
AC_DEFINE(READLINE,0)
fi
dnl ---------- grid optimisation ------------
AH_TEMPLATE([GRID_OPT],
[Define as 1 to use the grid optimisation, or 2 to run it in self-test mode])
if test "$enable_grid_opt" = "distrust" ; then
AC_DEFINE(GRID_OPT, 2)
else
if test "$enable_grid_opt" = "no" ; then
AC_DEFINE(GRID_OPT, 0)
else
AC_DEFINE(GRID_OPT, 1)
fi
fi
dnl ------------ set cache size ----------
AH_TEMPLATE([DEFAULT_MEMORY],
[Default hash table size in megabytes])
if test "$enable_cache_size" ; then
AC_DEFINE_UNQUOTED(DEFAULT_MEMORY, $enable_cache_size)
else
AC_DEFINE_UNQUOTED(DEFAULT_MEMORY, $default_cache_size)
fi
dnl ------------ set default level ----------
AH_TEMPLATE([DEFAULT_LEVEL],
[Default level (strength). Up to 10 supported])
if test "$enable_level" ; then
AC_DEFINE_UNQUOTED(DEFAULT_LEVEL, $enable_level)
else
AC_DEFINE_UNQUOTED(DEFAULT_LEVEL, $default_level)
fi
dnl ------------ set cache size ----------
AH_TEMPLATE([OWL_NODE_LIMIT],
[Owl Node Limit])
if test "$enable_owl_node_limit" ; then
AC_DEFINE_UNQUOTED(OWL_NODE_LIMIT, $enable_owl_node_limit)
else
AC_DEFINE_UNQUOTED(OWL_NODE_LIMIT, $default_owl_node_limit)
fi
dnl ------------ set semeai variations ----------
AH_TEMPLATE([SEMEAI_NODE_LIMIT],
[Semeai Variations. 500 default])
if test "$enable_semeai_node_limit" ; then
AC_DEFINE_UNQUOTED(SEMEAI_NODE_LIMIT, $enable_semeai_node_limit)
else
AC_DEFINE_UNQUOTED(SEMEAI_NODE_LIMIT, $default_semeai_node_limit)
fi
dnl ------------ dfa -------------------
AM_CONDITIONAL(DFA_ENABLED, test "$enable_dfa" != "no")
dnl FIXME: Is there a more elegant approach for this?
dnl force owl c files rebuild
rm -f \
patterns/owl_attackpat.c \
patterns/owl_defendpat.c \
patterns/owl_vital_apat.c
dnl ------------ Chinese Rules -------------------
AH_TEMPLATE([CHINESE_RULES],
[Ruleset. Default Japanese])
if test "$enable_chinese_rules" = "yes" ; then
AC_DEFINE(CHINESE_RULES, 1)
else
AC_DEFINE(CHINESE_RULES, 0)
fi
dnl ------------ Resignation allowed-------------------
AH_TEMPLATE([RESIGNATION_ALLOWED],
[Allow resignation. Default enabled])
if test "$disable_resignation_allowed" = "yes" ; then
AC_DEFINE(RESIGNATION_ALLOWED, 0)
else
AC_DEFINE(RESIGNATION_ALLOWED, 1)
fi
dnl ------------ Oracle enabled-------------------
AH_TEMPLATE([ORACLE],
[Oracle. Default not enabled.])
if test "$enable_metamachine" = "yes" ; then
AC_DEFINE(ORACLE, 1)
else
AC_DEFINE(ORACLE, 0)
fi
dnl ------------ Experimental Breakin enabled-------------------
AH_TEMPLATE([USE_BREAK_IN],
[Break-in module. Enabled by default.])
if test "$enable_experimental_break_in" = "no" ; then
AC_DEFINE(USE_BREAK_IN, 0)
else
AC_DEFINE(USE_BREAK_IN, 1)
fi
dnl ------------ Owl extensions ------------
AH_TEMPLATE([EXPERIMENTAL_OWL_EXT],
[GAIN/LOSS codes. Disabled by default.])
if test "$enable_experimental_owl_ext" = "yes" ; then
AC_DEFINE(EXPERIMENTAL_OWL_EXT, 1)
else
AC_DEFINE(EXPERIMENTAL_OWL_EXT, 0)
fi
dnl ------------ Cosmic Consciousness -------------------
AH_TEMPLATE([COSMIC_GNUGO],
[Center oriented influence. Disabled by default.])
if test "$enable_cosmic_gnugo" = "yes" ; then
AC_DEFINE(COSMIC_GNUGO, 1)
else
AC_DEFINE(COSMIC_GNUGO, 0)
fi
dnl ------------ Large Scale -------------------
AH_TEMPLATE([LARGE_SCALE],
[Large Scale Captures. Disabled by default.])
if test "$enable_large_scale" = "yes" ; then
AC_DEFINE(LARGE_SCALE, 1)
else
AC_DEFINE(LARGE_SCALE, 0)
fi
dnl ------------ Connections -------------------
AH_TEMPLATE([EXPERIMENTAL_CONNECTIONS],
[Connection module. Default experimental.])
if test "$enable_experimental_connections" = "no" ; then
AC_DEFINE(EXPERIMENTAL_CONNECTIONS, 0)
else
AC_DEFINE(EXPERIMENTAL_CONNECTIONS, 1)
fi
dnl ------------ Connections -------------------
AH_TEMPLATE([ALTERNATE_CONNECTIONS],
[Connection module. Default standard.])
if test "$enable_alternate_connections" = "no" ; then
AC_DEFINE(ALTERNATE_CONNECTIONS, 0)
else
AC_DEFINE(ALTERNATE_CONNECTIONS, 1)
fi
dnl ------------ Owl Threats -------------------
AH_TEMPLATE([OWL_THREATS],
[Owl Threats. 0 standard.])
if test "$enable_owl_threats" = "yes" ; then
AC_DEFINE(OWL_THREATS, 1)
else
AC_DEFINE(OWL_THREATS, 0)
fi
dnl ------------ additional valgrind macros ------
AH_TEMPLATE([USE_VALGRIND],
[Define special valgrind macros.])
if test "$enable_valgrind" = "yes" ; then
AC_DEFINE(USE_VALGRIND, 1)
else
AC_DEFINE(USE_VALGRIND, 0)
fi
dnl ----------- special-case use of gcc ---------
dnl Not sure if we are supposed to be accessing this variable, but...
AM_CONDITIONAL(GCC_ONLY, test "$ac_compiler_gnu" = "yes")
dnl Now lines in Makefile.am can be prefixed @GCC_ONLY@.
AC_SUBST(GCC_MAJOR_VERSION)
AC_SUBST(GCC_MINOR_VERSION)
AC_SUBST(GNU_GO_WARNINGS)
if test "$ac_compiler_gnu" = "yes"; then
dnl M4 escaping of brackets
GCC_MAJOR_VERSION=`echo __GNUC__ | $CC -E -xc - | tail -n 1`
GCC_MINOR_VERSION=`echo __GNUC_MINOR__ | $CC -E -xc - | tail -n 1`
GNU_GO_WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef'
if (test $GCC_MAJOR_VERSION -eq 3 && test $GCC_MINOR_VERSION -ge 4) || test $GCC_MAJOR_VERSION -gt 3; then
GNU_GO_WARNINGS="$GNU_GO_WARNINGS -Wdeclaration-after-statement"
fi
else
GCC_MAJOR_VERSION=0
GCC_MINOR_VERSION=0
GNU_GO_WARNINGS=''
fi
dnl FIXME: please add warnings for other compilers!
AH_TEMPLATE([ENABLE_SOCKET_SUPPORT],
[Compile support for GTP communication over TCP/IP channel.])
if test "$enable_socket_support" != "no"; then
# Check for all required headers, macros, structures and functions
# at once.
AC_CACHE_CHECK(
[whether socket support can be compiled],
gnugo_cv_sockets_supported,
AC_TRY_LINK([#if !defined(_WIN32) && !defined(_WIN32_WCE)
#include
#include
#include
#include
#else /* on Windows */
#include
#endif /* on Windows */],
[[ struct sockaddr_in A;
struct hostent *H;
A.sin_family = AF_INET;
A.sin_addr.s_addr = htonl(INADDR_ANY);
A.sin_port = htons(0);
gethostbyname(0);
socket(PF_INET, SOCK_STREAM, 0);
connect(0, 0, 0);
bind(0, 0, 0);
listen(0, 0);
accept(0, 0, 0);]],
gnugo_cv_sockets_supported="yes",
gnugo_cv_sockets_supported="no"))
if test "$gnugo_cv_sockets_supported" = "yes"; then
AC_DEFINE(ENABLE_SOCKET_SUPPORT)
else
if test "$enable_socket_support" = "yes"; then
AC_MSG_WARN(
[[
*** Socket support was requested but does not pass configure test. ***
*** Proceed only if you know what you are doing. ***]])
AC_DEFINE(ENABLE_SOCKET_SUPPORT)
fi
fi
fi
#AM_GNU_GETTEXT
#AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl)
dnl FIXME:
dnl autoconf 2.50 recommends AC_CONFIG_FILES and AC_OUPUT
dnl This however requires automake 1.4p2 or better
AC_OUTPUT([Makefile interface/Makefile patterns/Makefile sgf/Makefile
utils/Makefile engine/Makefile doc/Makefile regression/Makefile config.vc:config.vcin])
gnugo-3.8/depcomp 0000755 0001750 0001750 00000027531 11146627413 011016 0000000 0000000 #! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Originally written by Alexandre Oliva .
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
exit 1
fi
# `libtool' can also be set to `yes' or `no'.
depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`}
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
rm -f "$tmpdepfile"
# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case
# here, because this file can only contain one case statement.
if test "$depmode" = hp; then
# HP compiler uses -M and no extra arg.
gccflag=-M
depmode=gcc
fi
if test "$depmode" = dashXmstdout; then
# This is just like dashmstdout with a different argument.
dashmflag=-xM
depmode=dashmstdout
fi
case "$depmode" in
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
## it if -MD -MP comes after the -MF stuff. Hmm.
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
mv "$tmpdepfile" "$depfile"
;;
gcc)
## There are various ways to get dependency output from gcc. Here's
## why we pick this rather obscure method:
## - Don't want to use -MD because we'd like the dependencies to end
## up in a subdir. Having to rename by hand is ugly.
## (We might end up doing this anyway to support other compilers.)
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
## -MM, not -M (despite what the docs say).
## - Using -M directly means running the compiler twice (even worse
## than renaming).
if test -z "$gccflag"; then
gccflag=-MD,
fi
"$@" -Wp,"$gccflag$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
## The second -e expression handles DOS-style file names with drive letters.
sed -e 's/^[^:]*: / /' \
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
## This next piece of magic avoids the `deleted header file' problem.
## The problem is that when a header file which appears in a .P file
## is deleted, the dependency causes make to die (because there is
## typically no way to rebuild the header). We avoid this by adding
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
tr ' ' '
' < "$tmpdepfile" |
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
sgi)
if test "$libtool" = yes; then
"$@" "-Wp,-MDupdate,$tmpdepfile"
else
"$@" -MDupdate "$tmpdepfile"
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
echo "$object : \\" > "$depfile"
# Clip off the initial element (the dependent). Don't try to be
# clever and replace this with sed code, as IRIX sed won't handle
# lines with more than a fixed number of characters (4096 in
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
# the IRIX cc adds comments like `#:fec' to the end of the
# dependency line.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
tr '
' ' ' >> $depfile
echo >> $depfile
# The second pass generates a dummy entry for each header file.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
>> $depfile
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
aix)
# The C for AIX Compiler uses -M and outputs the dependencies
# in a .u file. This file always lives in the current directory.
# Also, the AIX compiler puts `$object:' at the start of each line;
# $object doesn't have directory information.
stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
tmpdepfile="$stripped.u"
outname="$stripped.o"
if test "$libtool" = yes; then
"$@" -Wc,-M
else
"$@" -M
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
if test -f "$tmpdepfile"; then
# Each line is of the form `foo.o: dependent.h'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
tru64)
# The Tru64 AIX compiler uses -MD to generate dependencies as a side
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
# dependencies in `foo.d' instead, so we check for that too.
# Subdirectories are respected.
tmpdepfile1="$object.d"
tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
if test "$libtool" = yes; then
"$@" -Wc,-MD
else
"$@" -MD
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2"
exit $stat
fi
if test -f "$tmpdepfile1"; then
tmpdepfile="$tmpdepfile1"
else
tmpdepfile="$tmpdepfile2"
fi
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
# That's a space and a tab in the [].
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
#nosideeffect)
# This comment above is used by automake to tell side-effect
# dependency tracking mechanisms from slower ones.
dashmstdout)
# Important note: in order to support this mode, a compiler *must*
# always write the proprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
test -z "$dashmflag" && dashmflag=-M
( IFS=" "
case " $* " in
*" --mode=compile "*) # this is libtool, let us make it quiet
for arg
do # cycle over the arguments
case "$arg" in
"--mode=compile")
# insert --quiet before "--mode=compile"
set fnord "$@" --quiet
shift # fnord
;;
esac
set fnord "$@" "$arg"
shift # fnord
shift # "$arg"
done
;;
esac
"$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
) &
proc=$!
"$@"
stat=$?
wait "$proc"
if test "$stat" != 0; then exit $stat; fi
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
dashXmstdout)
# This case only exists to satisfy depend.m4. It is never actually
# run, as this mode is specially recognized in the preamble.
exit 1
;;
makedepend)
# X makedepend
(
shift
cleared=no
for arg in "$@"; do
case $cleared in no)
set ""; shift
cleared=yes
esac
case "$arg" in
-D*|-I*)
set fnord "$@" "$arg"; shift;;
-*)
;;
*)
set fnord "$@" "$arg"; shift;;
esac
done
obj_suffix="`echo $object | sed 's/^.*\././'`"
touch "$tmpdepfile"
${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@"
) &
proc=$!
"$@"
stat=$?
wait "$proc"
if test "$stat" != 0; then exit $stat; fi
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
tail +3 "$tmpdepfile" | tr ' ' '
' | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile" "$tmpdepfile".bak
;;
cpp)
# Important note: in order to support this mode, a compiler *must*
# always write the proprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
( IFS=" "
case " $* " in
*" --mode=compile "*)
for arg
do # cycle over the arguments
case $arg in
"--mode=compile")
# insert --quiet before "--mode=compile"
set fnord "$@" --quiet
shift # fnord
;;
esac
set fnord "$@" "$arg"
shift # fnord
shift # "$arg"
done
;;
esac
"$@" -E |
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
sed '$ s: \\$::' > "$tmpdepfile"
) &
proc=$!
"$@"
stat=$?
wait "$proc"
if test "$stat" != 0; then exit $stat; fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
cat < "$tmpdepfile" >> "$depfile"
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
msvisualcpp)
# Important note: in order to support this mode, a compiler *must*
# always write the proprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
( IFS=" "
case " $* " in
*" --mode=compile "*)
for arg
do # cycle over the arguments
case $arg in
"--mode=compile")
# insert --quiet before "--mode=compile"
set fnord "$@" --quiet
shift # fnord
;;
esac
set fnord "$@" "$arg"
shift # fnord
shift # "$arg"
done
;;
esac
"$@" -E |
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
) &
proc=$!
"$@"
stat=$?
wait "$proc"
if test "$stat" != 0; then exit $stat; fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
echo " " >> "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
rm -f "$tmpdepfile"
;;
none)
exec "$@"
;;
*)
echo "Unknown depmode $depmode" 1>&2
exit 1
;;
esac
exit 0
gnugo-3.8/doc/ 0000777 0001750 0001750 00000000000 11146655610 010262 5 0000000 0000000 gnugo-3.8/doc/cdfa.pdf 0000644 0001750 0001750 00000026225 11146627413 011575 0000000 0000000 %PDF-1.3
%Çì¢
6 0 obj
<>
stream
xœ}M¯9råþýНlõLFðseØ€1Ëq÷0½ÔŒ»Çl¸Æ€ÿþ0Ή`2¥'é]IÕ@+™7“dy‚ñqÈ—^ó#Ùÿüßß>¾üÇËßý±<þüÿ^òãÿ¾È«ÔǽhJÑÒã#¯rz•YRçkOõÑ{zHNø÷·—Üø«•²\Oãºá‰u5“½Ûñô¬¬Ãþýí%j¶’µOG?~{ùËËÿxÉS¢[¼Œ–F_gö`èîXö;o÷r<»f—»oþ‚õõ°sQ=nÏó[¦Üº§cw—ÑœêÕ=™»{R®îIº îÜÑœ¿€~X=Þ=¯·Ýý|ô‡Ý%z7Yôyi¯Ñ·ž®1mízרѮ¢¡xÚz`u°_Q³•Æ!åQÎ^IiÑ-^Æ\+yM´GÇDeMä2¨—ÑZ¼€ùfõø„óêq»ß²ûãÝ›yw—ÑÜhW÷†ìîv÷ºÏ£ÀîÙånÎ_@?¬ïžWÛÖî~>úÃî©néñÒ›S½¤§²¥§rIOó!=P-.7þä’êa÷¢zÜÖCz»?Þ½±¥ÇËh®_ÒÓ¾¥§í’ž¶Cz,°{í^¼€~ô-½¨·Ç!½ÝŸkz8"¤ß!ÊÙlÿ^ˆ°’ÍýxÚ®"BÛ%³û÷B„•Ðv»Á:¶a·p-΀?;Z·Óñ¼X-/Û]X/P;Õã6ºÐ5rtÏ”žwÏ.ws®%ÑSžÞ=ש¸Ý1£àÝë‡0âôÃêñîyõ¸.ÄóÑv/½Ö†¥
ÿþñ¿¶ì/.£ý€˜uÈc¸ÝõxÞ
l‡—íŽ`ëêa£zÜFÚà«¿Xëïÿ|±¥øãúÿœWÍ^JÎ÷k»øËZiçú¬5§ ?±û~ÍVè¥|VXoXÿv®ñçruÕÅÙcïkízèÃË¿üí®ûéw¿Cýµ?†ê'-tè™ù:øùóUWsíµ ¨ÝŠk$Ú×å±.×#cY%xO‡,{iÔñ*,R•èë±QźîÒùnYª`õ³ä×Ìâ°_µðá’»¥ù¯bolŸfÅÕßÕ4Q(Ã:±ªSWot)«üÊ_ÛX}êCÙ§ÒO½7|i.Ãj„ZDqš@zSk*ë¾*ÄÃ5˺èÕ«ªbÆ¢Ir²h2ì¥y_bÓßS—nYUáÇWHaŽ?\E+âê¶.j_:º°ß[Ø—£ÖQÑH´9µF¦õt÷·%t!¾¦åjUÅ·6Qk($ÑT¬!§¶F]Rl5Ÿ2n-[»1ÛÅŸ6¬·>vmÚ÷ìqíÉæÊõž³cNôŒI3¦¯ÇäšO]3¦¦Ï¶/ ÷=ØHöÑÖ‰Â.Æ;Ÿ ùǪz×뵉k7(·jǼy â„zû2²šÛMd·rCvówd›‚?Ýë둎Äõ7\Ïæ¿×sáìÀõÌê*Èž"®€ì©¦7²§úŒ%²gqåCdÏ*'²çªá@öle {¶ :=Öê…ìÙ«1g'²çH®çÈþ(p=‡€ázŽ +}ýd_oÙQ+p}µ\_ý®wo‰ëý-ÄõþRâz˸ÞR"®·‰ë-aâzËŸ¸Þ£C\ï±#²÷È:²cÜÙ1+Ù1gÙœOŽë˜kçÌ?ý~t’³XùÖ
Û?^ÙÓè^3ò²ÂÏý°ïÓ.T>+¼eÁ\íQÕ!¬w5v=t“ÍÓï~‡(Íz¶ÐÍ*éfÀäùææàæË(§õ2Êi¼ŒrÚ.£ž¦Ëªë°\F;
—ÑO»eŒÓló²Zf:–™O›eÊi²ü.‹e–Ó`™õ´Wf;Í•ÙOkei’ÃX™ã´Uæ¼™*)ÝL•”n¦JÊ7S%É6U’ÜL•¤7S%éÍTIåfª¤z3UR½™*©ÝL•Ôo¦J7S%Í›©²:|š*ë¿ÓTÉr3U²ÞL•\Se-§©²4éiª,ôŸ¦Jî7S%›©’çÍTùFß‚ÜnöÅõÎ'ý±ªžGp?ô'”[µ¡?¶aª8¨ß2UF¹,G1ǰÛ)Ža7Sþr8†±¨8‚}½qûbäö•ŠŽeŒŽ5ŽŽŽÕ‘Ž¥“Žu•ŽE—Ž™ŽåšŽµœŽ…ž+€Þ&1ìæ¼M"x†àm”Ã×oz3Jˆá¨µÜŒ"x%Dð6Jˆàm”ÁÛ(!‚·QBo£„ÞF ¼"x%Dð6Jˆàm”ÃÛ(q‡Qâ£Ä1F‰c˜F‰#8Œ’sŽŸ~7ÚaG\oÝQüÕ=‹ã–‹aKM_"Äýá¥I1Á¬ÿ·Z[³a³uÓDÑêàÊÿú†]rËž˜¢õ…X“
^SE‰šU3í
ª]êwu©Œ‰J…Z4¦
ð+Á¯Å®»Šš†x
k&®w–UŒwºÕD
¯àH”ªÒ[žÔ‡%™š´uB!#{²¯ a“¡ˆ©>„¿©ÝíÝj,ŵֻ^¶ôª¡+Ú-Õ¢¹œ¤¥ÙIJh~YO ÌÚcÀvekã¾+Þ©)ïÚj¨íÔl²dê2ý£g0‰>W(ÔøžZmVÇ·.ŸÅúãr¨ª×eT‡aÒ3§dl¹¶dí‡Ì—âcѤcÔ´À¬âø5ücÛÖâû5ù.x½sz扅™Ò9ß9Ñõãu=®%È2ç¸,ioqßw+ÿ´ø¿hðw{§·ËèÿLXïkî|êÏ÷¼ý¬@Dôò,vÖêþ&ÖýòYáÍ î•=êºäñÎÖô-èùw¿C—Évk¡^&Ûºú@"ýkAÜ{Šøâr±ÜAÜ)· ®2Gwê-ˆ;Ë-ˆ;Ë-ˆ;ë-ˆ;Û-ˆ;ûÄãÄ]ÓèpˆÖjwzD’òéI’Ó'’¤§S´ÜäÓ+’TO·HR;ý"1;årŒ$õÓ3’4NÏhOÏh¯§g$ËìrÏh]žž‘ä|zF«xzF’åôŒ$ëéâéI.§g$¹žž‘˜%pyF’ûéI§g$fÒ2^B><#Y½<<#YÿmÏhMÖÓ3)§g´¦ìé‰1.ÏH¤žÑšÃ§gô%ä¾åtgŽw>òUõ<®ëeÄyƒr«Ö¸ ³/õ7ƒ¸D¶qÛâ:²#ˆëÈŽ ®#;lXG6í[ÇuؾŽë°Œ×a7×Ûª&®·ÍMdo‹œÈ{ݑּ#;l}GvxŽìðÙáE8²ÃÇpd‡âÈÿđދ#›žã:¼ÇuøDÀuøKŽìë·|úKŽl¯•¸Þ-×»?Äõî-q½¿…¸Þ_J\o9×[JÄõ–!q½%L\où×1:Žë;GvŒl ÛÇ=í³"ís&ÝëkŸk·™"ûÝè(—‹s¼uÇöWö4ºÛ8ì‚ ¶|Ø÷it-ŸÞ²`NÐU×!wµv=tÎÓï>+͇´Y4öýJßî°æ¢ð¦,.¶ÑQ×%‹w¶ö¦5÷ü»OË¢ÒÞ”û>[hǼˆÂ[²8©Míyñ¾Öê›óâùwŸŽ)СšËÕáhÑ™ šÆ£5ÑÑb„‘±oÇZ¢ÿϘBËôúShôŠ=¦€HÀŽ)ôŒ¦=¦Ð;£‡A}ˆ˜Â1S‡\Älîˆ)Ø"|ŦҤbLaDS˜Q Äf¡¥e1-"Š å;—™ˆ_S°jäƒELaßGL!Þ±˜BÔÆ˜B´Ã˜{À˜{ƘBô™1…øÆâ[S90¦2bLÒcL!äê1—9b
óˆ)øyLÁÇÏc
>¶Sðq3¦ð¾éÉ8À tÎwn1…®ëip%}(Fiµ‡ ³†Œ§Õ¯.ÿT
¯†ß:FêSÍëtævåÞƒ[>p-zø0æ;,„²—¥%·GB½a¬²«Ei]¨ù.k0¹Û öì6šQѦÛ0jŸØ?MŠY!KGàÚL“V}¡¯6ìMÖ’j56q¯«™¥Õ’·†ï¨3Ó