pax_global_header 0000666 0000000 0000000 00000000064 11504204726 0014513 g ustar 00root root 0000000 0000000 52 comment=e2b23a8cfb35b2d7fda178836d2c4a4b52546a35
gnugo-3.9.1/ 0000775 0000000 0000000 00000000000 11504204726 0012644 5 ustar 00root root 0000000 0000000 gnugo-3.9.1/.cvsignore 0000664 0000000 0000000 00000000113 11504204726 0014637 0 ustar 00root root 0000000 0000000 config.log
config.status
Makefile
config.h
stamp-h
stamp-h1
autom4te.cache
gnugo-3.9.1/AUTHORS 0000664 0000000 0000000 00000001051 11504204726 0013711 0 ustar 00root root 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.9.1/CMakeLists.txt 0000664 0000000 0000000 00000003256 11504204726 0015412 0 ustar 00root root 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.9.1/COPYING 0000664 0000000 0000000 00000104513 11504204726 0013703 0 ustar 00root root 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.9.1/ChangeLog 0000664 0000000 0000000 00001134732 11504204726 0014431 0 ustar 00root root 0000000 0000000 -------------------------------------------------------------------------
-- ChangeLog
-------------------------------------------------------------------------
3.9.1 released December 21, 2010
- removed automake-1.4.patch from doc/Makefile.am
- visual studio project files and config.vc removed in favor of cmake build
- copyright notices updated for 2010
- remove reading_cache_clear() calls between silent_examine_position() and
owl reading functions.
- remove assertion from influence_erase_territory() to avoid crashing
- view.pike updated from GTK 1 to GTK 2
- cross-compilation support added to uncompress_fuseki.c
- revised generation of hashvalues.
- give small bonus to attacking vital moves in owl_determine_life()
- allow tactically unstable owl lunches to be inessential
- new static function test_unstable_lunch_essentiality()
- break out new static function test_lunch_essentiality() from
owl_find_lunches()
- capture big nakade to get out of atari in semeai even if tactical
reading disagrees
- play common liberties in semeai with sufficient remaining liberties,
even if tactical reading believes it is unsafe
- remove redundant function semeai_propose_eyespace_filling_move
- do not play common liberties after having already passed
- fall back to ordinary reading in attack_either and defend_both if the
two strings are in fact the same
- never consider backfilling move for common liberty inside own eyespace
as risk free.
- do_owl_analyze_semeai() can distinguish between outer liberties and
eyefilling moves, also chooses the latter correctly
- recognize_eye() can optionally find out at which points eyefilling can
safely be done
- new static function optical_graph_matcher() broken out of recognize_eye()
- do not make domains for second owl in owl_make_domains()
- do not consider also passing to get seki in semeai reading when stackp>0
- new helper function bent_four_helper()
- analyze_eyegraph improvements
- TODO completely rewritten
- revision of dragon_looks_inessential
- fix overflow in computation of node limits
- do not crash if gtp_aa_confirm_safety is fed an illegal move
- score seki eyes correctly in aftermath scoring with Chinese rules
- avoid overvaluation of eyespaces which are split by a single stone in atari
- avoid playing inside own eyespace to capture lunches in semeais
- do not crash on replacement moves conflicting with unconditional analysis
- guess_eye_space() revised
- major revision of eyes.db
- improve_lunch_attack() in owl.c revised
- filter out send-two-return-one moves in worm_reasons()
- owl tuning
- tuning
- new and revised tests
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.9.1/INSTALL 0000664 0000000 0000000 00000012111 11504204726 0013671 0 ustar 00root root 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.9.1/Makefile.am 0000664 0000000 0000000 00000003525 11504204726 0014705 0 ustar 00root root 0000000 0000000 ## Process this file with automake to produce Makefile.in
SUBDIRS = utils sgf engine patterns interface doc regression
DISTCLEANFILES = *~
EXTRA_DIST = 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.9.1/Makefile.in 0000664 0000000 0000000 00000056232 11504204726 0014721 0 ustar 00root root 0000000 0000000 # Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 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@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
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 \
$(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 config.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
html-recursive info-recursive install-data-recursive \
install-dvi-recursive install-exec-recursive \
install-html-recursive install-info-recursive \
install-pdf-recursive install-ps-recursive install-recursive \
installcheck-recursive installdirs-recursive pdf-recursive \
ps-recursive uninstall-recursive
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
distdir dist dist-all distcheck
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)"; }; }
am__relativize = \
dir0=`pwd`; \
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
sed_rest='s,^[^/]*/*,,'; \
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
sed_butlast='s,/*[^/]*$$,,'; \
while test -n "$$dir1"; do \
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
if test "$$first" != "."; then \
if test "$$first" = ".."; then \
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
else \
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
if test "$$first2" = "$$first"; then \
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
else \
dir2="../$$dir2"; \
fi; \
dir0="$$dir0"/"$$first"; \
fi; \
fi; \
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
done; \
reldir="$$dir2"
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
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@
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@
GNU_GO_WARNINGS = @GNU_GO_WARNINGS@
GREP = @GREP@
INSTALL = @INSTALL@
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@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
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@
builddir = @builddir@
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@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = utils sgf engine patterns interface doc regression
DISTCLEANFILES = *~
EXTRA_DIST = 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'; \
$(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
$(am__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)
$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):
config.h: stamp-h1
@if test ! -f $@; then \
rm -f stamp-h1; \
$(MAKE) $(AM_MAKEFLAGS) 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)
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
rm -f stamp-h1
touch $@
distclean-hdr:
-rm -f config.h stamp-h1
# 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):
@fail= 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; \
($(am__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"
$(RECURSIVE_CLEAN_TARGETS):
@fail= 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; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
ctags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || ($(am__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; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
set x; \
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 || \
set "$$@" "$$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; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
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; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$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; \
fi; \
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
dir1=$$subdir; dir2="$(top_distdir)"; \
$(am__relativize); \
new_top_distdir=$$reldir; \
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
($(am__cd) $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$new_top_distdir" \
distdir="$$new_distdir" \
am__remove_distdir=: \
am__skip_length_check=: \
am__skip_mode_fix=: \
distdir) \
|| exit 1; \
fi; \
done
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" distdir="$(distdir)" \
dist-hook
-test -n "$(am__skip_mode_fix)" \
|| find "$(distdir)" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -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 $(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-lzma: distdir
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
$(am__remove_distdir)
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
$(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) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lzma*) \
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gzip -dc $(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)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
&& $(am__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 \
&& cd "$$am__cwd" \
|| exit 1
$(am__remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@$(am__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 . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_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
html-am:
info: info-recursive
info-am:
install-data-am:
install-dvi: install-dvi-recursive
install-dvi-am:
install-exec-am:
install-html: install-html-recursive
install-html-am:
install-info: install-info-recursive
install-info-am:
install-man:
install-pdf: install-pdf-recursive
install-pdf-am:
install-ps: install-ps-recursive
install-ps-am:
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:
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
ctags-recursive install-am install-strip tags-recursive
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
all all-am am--refresh check check-am clean clean-generic \
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
distcheck distclean distclean-generic distclean-hdr \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \
install-data install-data-am install-dvi install-dvi-am \
install-exec install-exec-am install-html install-html-am \
install-info install-info-am install-man install-pdf \
install-pdf-am install-ps install-ps-am install-strip \
installcheck installcheck-am installdirs installdirs-am \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
uninstall uninstall-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.9.1/NEWS 0000664 0000000 0000000 00000004412 11504204726 0013344 0 ustar 00root root 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.9.1/OSX 0000664 0000000 0000000 00000000741 11504204726 0013242 0 ustar 00root root 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.9.1/README 0000664 0000000 0000000 00000021267 11504204726 0013534 0 ustar 00root root 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, 2009 and 2010 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 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.9.1/THANKS 0000664 0000000 0000000 00000002655 11504204726 0013567 0 ustar 00root root 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.9.1/TODO 0000664 0000000 0000000 00000016702 11504204726 0013342 0 ustar 00root root 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.
* 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.
//--------------------------------------------------------------
// Monte Carlo
//--------------------------------------------------------------
The main strength of recent computer go programs is coming from Monte
Carlo simulation techniques. GNU Go has an implementation of UCT
search but it is behind state of the art and in particular scales very
badly to 19x19.
* Implement RAVE (Rapid Action Value Estimation). [Medium difficulty]
* Implement progressive widening. [Easy to implement, proving that it
improves strength might be harder.]
* Reuse and prune the UCT search tree between moves. [Medium
difficulty]
* Implement other improvements that have been discussed on the
Computer Go mailing list.
* Tune the 3x3 pattern databases better. [Tuning is easy but doing it
well probably quite difficult.]
* Find a way to analyze the effectiveness of the random simulation
policy. It is in general very difficult to understand how the
details of the random simulations affect the strength of the UCT
search so anything that adds insight into this would be most
welcome. [Extremely difficult]
* Implement life and death reading with Monte Carlo simulations for
unclear leaf nodes. The life and death reading in owl.c tends to be
very uninformative when it runs out of nodes. [Difficult]
* Make the Monte Carlo search and/or simulations take advantage of
the tactical/connection/owl/semeai reading results. [Extremely
difficult]
//--------------------------------------------------------------
// Multithreading
//--------------------------------------------------------------
Most of the internal structures of GNU Go were developed in a time
when computers generally were singlethreaded. This means lots of
global data structures and in particular a global board implementation
which would be very hard to adapt for multiple threads. However,
additional computational power is most worthwhile in the Monte Carlo
code, which has its own board code and data structures which were
designed with multithreading in mind.
* Make the Monte Carlo code multithreaded. [Difficult]
* Make the GTP event loop multithreaded. [Medium difficulty]
* Implement pondering (thinking on the opponent's time) for the Monte
Carlo code. This requires at least that reuse of UCT search trees
has been implemented and one of items above. [Medium difficulty]
* Make other interfaces than GTP also use the GTP event loop. The
purpose of this would be to gain the benefits of multithreading
also for other interfaces without having to reimplement it for each
of them. [Difficult]
//--------------------------------------------------------------
// Utilities
//--------------------------------------------------------------
* Improve tuning/development GUI. Today regression/view.pike provides
support for viewing some of the analysis going on inside the engine
but it is far from complete and also has a troublesome dependency
on GTK1. It would in particular be valuable to have a GUI which
could be used to inspect the UCT search tree and other details of
the Monte Carlo code. [Varying difficulty depending on ambition.]
* Infrastructure for evaluating Monte Carlo experiments. It takes
much time to evaluate changes in the Monte Carlo code. Usually
hundreds of games have to be run, preferrably against multiple
opponents, to gather sufficient statistics to determine the value
of the change. This is both time consuming and bothersome to
organize for each developer. Thus it would help to have an
infrastructure that could organize the games and present the
results, and ideally also distribute the games to multiple
computers. [Big and difficult.]
//--------------------------------------------------------------
// Other
//--------------------------------------------------------------
* Implement a proof number search version of tactical reading. The
current tactical reading does a fairly good job but it would be
interesting to see how an algorithm based on proof number search or
one of its variations would do. This could potentially also tie in
to the task of taking advantage of tactical reading for Monte Carlo
search. [Medium difficulty]
* 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. [Easy]
* Improve the heuristics for assessment of the safety of a
group. This should probably involve some kind of Monte Carlo
analysis. [Difficult]
* Support for ko in eyes.db and optics.c. [Difficult]
* Create a paradigm for handling other types of ko (approach move ko,
multi-step ko, etc) and then write code that handles them. [Very
difficult]
* Reimplement patterns/mkpat.c. This code is quite messy after a long
time of evolutionary development and would benefit from a clean
redesign. [Medium difficulty but rather big.]
gnugo-3.9.1/WINDOWS 0000664 0000000 0000000 00000011626 11504204726 0013727 0 ustar 00root root 0000000 0000000 Building GNU Go on Windows Platforms
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.
==========================
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 makefiles, 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
Replace 3.8 with the version number of the release you're building.
==========================
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.9.1/aclocal.m4 0000664 0000000 0000000 00000107663 11504204726 0014521 0 ustar 00root root 0000000 0000000 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006, 2007, 2008, 2009 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.
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
[m4_warning([this file was generated for autoconf 2.65.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 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.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.11'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.11.1], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
# _AM_AUTOCONF_VERSION(VERSION)
# -----------------------------
# aclocal traces this macro to find the Autoconf version.
# This is a private macro too. Using m4_define simplifies
# the logic in aclocal, which can simply ignore this definition.
m4_define([_AM_AUTOCONF_VERSION], [])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.11.1])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# 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, 2006, 2008
# 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 9
# 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])dnl
AC_SUBST([$1_FALSE])dnl
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
m4_define([_AM_COND_VALUE_$1], [$2])dnl
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, 2006, 2009
# 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 10
# 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], UPC, [depcc="$UPC" am_compiler_list=],
[$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
am__universal=false
m4_case([$1], [CC],
[case " $depcc " in #(
*\ -arch\ *\ -arch\ *) am__universal=true ;;
esac],
[CXX],
[case " $depcc " in #(
*\ -arch\ *\ -arch\ *) am__universal=true ;;
esac])
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
# 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. Also, some Intel
# versions had trouble with output in subdirs
am__obj=sub/conftest.${OBJEXT-o}
am__minus_obj="-o $am__obj"
case $depmode in
gcc)
# This depmode causes a compiler race in universal mode.
test "$am__universal" = false || continue
;;
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
;;
msvisualcpp | msvcmsys)
# This compiler won't grok `-c -o', but also, the minuso test has
# not run yet. These depmodes are late enough in the game, and
# so weak that their functioning should not be impacted.
am__obj=conftest.${OBJEXT-o}
am__minus_obj=
;;
none) break ;;
esac
if depmode=$depmode \
source=sub/conftest.c object=$am__obj \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
>/dev/null 2>conftest.err &&
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
grep $am__obj 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])dnl
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
])
# Generate code to set up dependency tracking. -*- Autoconf -*-
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
# 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 5
# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
# Autoconf 2.62 quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
*\'*) eval set x "$CONFIG_FILES" ;;
*) set x $CONFIG_FILES ;;
esac
shift
for mf
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.
# Grep'ing the whole file is not good either: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/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, 2006, 2008, 2009 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 16
# 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.62])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
if test "`cd $srcdir && pwd`" != "`pwd`"; then
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
# is not polluted with repeated "-I."
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
# test to see if srcdir already configured
if test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
fi
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
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
[m4_fatal([AC_INIT should be called with package and version arguments])])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)
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
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
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES(OBJC)],
[define([AC_PROG_OBJC],
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
])
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
])
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
dnl mangled by Autoconf and run in a shell conditional statement.
m4_define([_AC_COMPILER_EXEEXT],
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
# 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_arg=$1
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
$_am_arg | $_am_arg:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001, 2003, 2005, 2008 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
if test x"${install_sh}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
*)
install_sh="\${SHELL} $am_aux_dir/install-sh"
esac
fi
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, 2008
# 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 5
# AM_MAINTAINER_MODE([DEFAULT-MODE])
# ----------------------------------
# Control maintainer-specific portions of Makefiles.
# Default is to disable them, unless `enable' is passed literally.
# For symmetry, `disable' may be passed as well. Anyway, the user
# can override the default with the --enable/--disable switch.
AC_DEFUN([AM_MAINTAINER_MODE],
[m4_case(m4_default([$1], [disable]),
[enable], [m4_define([am_maintainer_other], [disable])],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
(and sometimes confusing) to the casual installer],
[USE_MAINTAINER_MODE=$enableval],
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
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, 2009 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_MAKE_INCLUDE()
# -----------------
# Check to see how make treats includes.
AC_DEFUN([AM_MAKE_INCLUDE],
[am_make=${MAKE-make}
cat > confinc << 'END'
am__doit:
@echo this is the am__doit target
.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
# Ignore all kinds of additional output from `make'.
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=include
am__quote=
_am_result=GNU
;;
esac
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=.include
am__quote="\""
_am_result=BSD
;;
esac
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, 2004, 2005, 2008
# 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 6
# 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
AC_REQUIRE_AUX_FILE([missing])dnl
if test x"${MISSING+set}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
*)
MISSING="\${SHELL} $am_aux_dir/missing" ;;
esac
fi
# 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, 2006 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 for `mkdir -p'.
AC_DEFUN([AM_PROG_MKDIR_P],
[AC_PREREQ([2.60])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
dnl while keeping a definition of mkdir_p for backward compatibility.
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
dnl Makefile.ins that do not define MKDIR_P, so we do our own
dnl adjustment using top_builddir (which is defined more often than
dnl MKDIR_P).
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
case $mkdir_p in
[[\\/$]]* | ?:[[\\/]]*) ;;
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
esac
])
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005, 2008 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_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],
[m4_foreach_w([_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, 2008
# 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 5
# 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
# Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
'
case `pwd` in
*[[\\\"\#\$\&\'\`$am_lf]]*)
AC_MSG_ERROR([unsafe absolute working directory name]);;
esac
case $srcdir in
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
esac
# 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="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# Copyright (C) 2006, 2008 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_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
# This macro is traced by Automake.
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
# 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.9.1/config.h.cmake 0000664 0000000 0000000 00000006651 11504204726 0015351 0 ustar 00root root 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.9.1"
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
${PRAGMAS}
gnugo-3.9.1/config.h.in 0000664 0000000 0000000 00000010300 11504204726 0014661 0 ustar 00root root 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 home page for this package. */
#undef PACKAGE_URL
/* 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.9.1/configure 0000775 0000000 0000000 00000604440 11504204726 0014563 0 ustar 00root root 0000000 0000000 #! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for gnugo 3.9.1.
#
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 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=:
# Pre-4.2 versions of Zsh do 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_nl='
'
export as_nl
# Printing a long string crashes Solaris 7 /usr/bin/printf.
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
# Prefer a ksh shell builtin over an external printf program on Solaris,
# but without wasting forks for bash or zsh.
if test -z "$BASH_VERSION$ZSH_VERSION" \
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
as_echo='print -r --'
as_echo_n='print -rn --'
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
as_echo='printf %s\n'
as_echo_n='printf %s'
else
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
as_echo_n='/usr/ucb/echo -n'
else
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
as_echo_n_body='eval
arg=$1;
case $arg in #(
*"$as_nl"*)
expr "X$arg" : "X\\(.*\\)$as_nl";
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
esac;
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
'
export as_echo_n_body
as_echo_n='sh -c $as_echo_n_body as_echo'
fi
export as_echo_body
as_echo='sh -c $as_echo_body as_echo'
fi
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
PATH_SEPARATOR=:
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
PATH_SEPARATOR=';'
}
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.)
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
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
exit 1
fi
# Unset variables that we do not need and which cause bugs (e.g. in
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
# suppresses any "Segmentation fault" message there. '((' could
# trigger a bug in pdksh 5.2.14.
for as_var in BASH_ENV ENV MAIL MAILPATH
do eval test x\${$as_var+set} = xset \
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done
PS1='$ '
PS2='> '
PS4='+ '
# NLS nuisances.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE
# CDPATH.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
if test "x$CONFIG_SHELL" = x; then
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do 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_required="as_fn_return () { (exit \$1); }
as_fn_success () { as_fn_return 0; }
as_fn_failure () { as_fn_return 1; }
as_fn_ret_success () { return 0; }
as_fn_ret_failure () { return 1; }
exitcode=0
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
else
exitcode=1; echo positional parameters were not saved.
fi
test x\$exitcode = x0 || exit 1"
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
test \$(( 1 + 1 )) = 2 || exit 1"
if (eval "$as_required") 2>/dev/null; then :
as_have_required=yes
else
as_have_required=no
fi
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_found=false
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
as_found=:
case $as_dir in #(
/*)
for as_base in sh bash ksh sh5; do
# Try only shells that exist, to save several forks.
as_shell=$as_dir/$as_base
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
CONFIG_SHELL=$as_shell as_have_required=yes
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
break 2
fi
fi
done;;
esac
as_found=false
done
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
CONFIG_SHELL=$SHELL as_have_required=yes
fi; }
IFS=$as_save_IFS
if test "x$CONFIG_SHELL" != x; then :
# We cannot yet assume a decent shell, so we have to provide a
# neutralization value for shells without unset; and this also
# works around shells that cannot unset nonexistent variables.
BASH_ENV=/dev/null
ENV=/dev/null
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
export CONFIG_SHELL
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
fi
if test x$as_have_required = xno; then :
$as_echo "$0: This script requires a shell more modern than all"
$as_echo "$0: the shells that I found on your system."
if test x${ZSH_VERSION+set} = xset ; then
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
else
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
$0: including any error possibly output before this
$0: message. Then install a modern shell, or manually run
$0: the script under such a shell if you do have one."
fi
exit 1
fi
fi
fi
SHELL=${CONFIG_SHELL-/bin/sh}
export SHELL
# Unset more variables known to interfere with behavior of common tools.
CLICOLOR_FORCE= GREP_OPTIONS=
unset CLICOLOR_FORCE GREP_OPTIONS
## --------------------- ##
## M4sh Shell Functions. ##
## --------------------- ##
# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
{ eval $1=; unset $1;}
}
as_unset=as_fn_unset
# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
return $1
} # as_fn_set_status
# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
set +e
as_fn_set_status $1
exit $1
} # as_fn_exit
# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{
case $as_dir in #(
-*) as_dir=./$as_dir;;
esac
test -d "$as_dir" || eval $as_mkdir_p || {
as_dirs=
while :; do
case $as_dir in #(
*\'*) as_qdir=`$as_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 ||
$as_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" || as_fn_error "cannot create directory $as_dir"
} # as_fn_mkdir_p
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
eval 'as_fn_append ()
{
eval $1+=\$2
}'
else
as_fn_append ()
{
eval $1=\$$1\$2
}
fi # as_fn_append
# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
eval 'as_fn_arith ()
{
as_val=$(( $* ))
}'
else
as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
}
fi # as_fn_arith
# as_fn_error ERROR [LINENO LOG_FD]
# ---------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with status $?, using 1 if that was 0.
as_fn_error ()
{
as_status=$?; test $as_status -eq 0 && as_status=1
if test "$3"; then
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
fi
$as_echo "$as_me: error: $1" >&2
as_fn_exit $as_status
} # as_fn_error
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
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false
fi
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
# 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
as_lineno_1=$LINENO as_lineno_1a=$LINENO
as_lineno_2=$LINENO as_lineno_2a=$LINENO
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
# 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" ||
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_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
}
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
case `echo 'xy\c'` in
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
xy) ECHO_C='\c';;
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
ECHO_T=' ';;
esac;;
*)
ECHO_N='-n';;
esac
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 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
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
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='mkdir -p "$as_dir"'
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'"
test -n "$DJDIR" || 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=
# Identity of this package.
PACKAGE_NAME='gnugo'
PACKAGE_TARNAME='gnugo'
PACKAGE_VERSION='3.9.1'
PACKAGE_STRING='gnugo 3.9.1'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
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='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
GNU_GO_WARNINGS
GCC_MINOR_VERSION
GCC_MAJOR_VERSION
GCC_ONLY_FALSE
GCC_ONLY_TRUE
DFA_ENABLED_FALSE
DFA_ENABLED_TRUE
glibconfig
EGREP
GREP
RANLIB
CPP
am__fastdepCC_FALSE
am__fastdepCC_TRUE
CCDEPMODE
AMDEPBACKSLASH
AMDEP_FALSE
AMDEP_TRUE
am__quote
am__include
DEPDIR
OBJEXT
EXEEXT
ac_ct_CC
CPPFLAGS
LDFLAGS
CFLAGS
CC
MAINT
MAINTAINER_MODE_FALSE
MAINTAINER_MODE_TRUE
am__untar
am__tar
AMTAR
am__leading_dot
SET_MAKE
AWK
mkdir_p
MKDIR_P
INSTALL_STRIP_PROGRAM
STRIP
install_sh
MAKEINFO
AUTOHEADER
AUTOMAKE
AUTOCONF
ACLOCAL
VERSION
PACKAGE
CYGPATH_W
am__isrc
INSTALL_DATA
INSTALL_SCRIPT
INSTALL_PROGRAM
target_alias
host_alias
build_alias
LIBS
ECHO_T
ECHO_N
ECHO_C
DEFS
mandir
localedir
libdir
psdir
pdfdir
dvidir
htmldir
infodir
docdir
oldincludedir
includedir
localstatedir
sharedstatedir
sysconfdir
datadir
datarootdir
libexecdir
sbindir
bindir
program_transform_name
prefix
exec_prefix
PACKAGE_URL
PACKAGE_BUGREPORT
PACKAGE_STRING
PACKAGE_VERSION
PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
enable_maintainer_mode
with_readline
with_curses
enable_color
enable_grid_opt
enable_cache_size
enable_level
enable_semeai_node_limit
enable_dfa
enable_chinese_rules
enable_resignation_allowed
enable_metamachine
enable_experimental_break_in
enable_experimental_owl_ext
enable_cosmic_gnugo
enable_large_scale
enable_experimental_connections
enable_alternate_connections
enable_socket_support
enable_dependency_tracking
'
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
ac_unrecognized_opts=
ac_unrecognized_sep=
# 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_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
as_fn_error "invalid feature name: $ac_useropt"
ac_useropt_orig=$ac_useropt
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"enable_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac
eval enable_$ac_useropt=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_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
as_fn_error "invalid feature name: $ac_useropt"
ac_useropt_orig=$ac_useropt
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"enable_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac
eval enable_$ac_useropt=\$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_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
as_fn_error "invalid package name: $ac_useropt"
ac_useropt_orig=$ac_useropt
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"with_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac
eval with_$ac_useropt=\$ac_optarg ;;
-without-* | --without-*)
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
as_fn_error "invalid package name: $ac_useropt"
ac_useropt_orig=$ac_useropt
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
case $ac_user_opts in
*"
"with_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac
eval with_$ac_useropt=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 ;;
-*) as_fn_error "unrecognized option: \`$ac_option'
Try \`$0 --help' for more information."
;;
*=*)
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
# Reject names that are not valid shell variable names.
case $ac_envvar in #(
'' | [0-9]* | *[!_$as_cr_alnum]* )
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
esac
eval $ac_envvar=\$ac_optarg
export $ac_envvar ;;
*)
# FIXME: should be removed in autoconf 3.0.
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
$as_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'`
as_fn_error "missing argument to $ac_option"
fi
if test -n "$ac_unrecognized_opts"; then
case $enable_option_checking in
no) ;;
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
esac
fi
# Check all directory arguments for consistency.
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
# Remove trailing slashes.
case $ac_val in
*/ )
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
eval $ac_var=\$ac_val;;
esac
# Be sure to have absolute directory names.
case $ac_val in
[\\/$]* | ?:[\\/]* ) continue;;
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
esac
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
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
$as_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 .` ||
as_fn_error "working directory cannot be determined"
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
as_fn_error "pwd does not report name of working directory"
# 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 -- "$as_myself" ||
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_myself" : 'X\(//\)[^/]' \| \
X"$as_myself" : 'X\(//\)$' \| \
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$as_myself" |
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 .."
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
fi
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
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.9.1 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.9.1:";;
esac
cat <<\_ACEOF
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--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 (Objective) C/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.
Report bugs to the package provider.
_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" ||
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && 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=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
# A ".." for each directory in $ac_dir_suffix.
ac_top_builddir_sub=`$as_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
$as_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.9.1
generated by GNU Autoconf 2.65
Copyright (C) 2009 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
## ------------------------ ##
## Autoconf initialization. ##
## ------------------------ ##
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_compile ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_compile") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then :
ac_retval=0
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
as_fn_set_status $ac_retval
} # ac_fn_c_try_compile
# ac_fn_c_try_link LINENO
# -----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_link ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then :
ac_retval=0
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
# interfere with the next link command; also delete a directory that is
# left behind by Apple's compiler. We do this before executing the actions.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
as_fn_set_status $ac_retval
} # ac_fn_c_try_link
# ac_fn_c_try_cpp LINENO
# ----------------------
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_cpp ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
if { { ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } >/dev/null && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err
}; then :
ac_retval=0
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
as_fn_set_status $ac_retval
} # ac_fn_c_try_cpp
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
# -------------------------------------------------------
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
# the include files in INCLUDES and setting the cache variable VAR
# accordingly.
ac_fn_c_check_header_mongrel ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; }
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
$as_echo_n "(cached) " >&6
fi
eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
else
# Is the header compilable?
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
$as_echo_n "checking $2 usability... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
#include <$2>
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_header_compiler=yes
else
ac_header_compiler=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
$as_echo "$ac_header_compiler" >&6; }
# Is the header present?
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
$as_echo_n "checking $2 presence... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <$2>
_ACEOF
if ac_fn_c_try_cpp "$LINENO"; then :
ac_header_preproc=yes
else
ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
$as_echo "$ac_header_preproc" >&6; }
# So? What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
yes:no: )
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
;;
no:yes:* )
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
;;
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; }
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
$as_echo_n "(cached) " >&6
else
eval "$3=\$ac_header_compiler"
fi
eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
} # ac_fn_c_check_header_mongrel
# ac_fn_c_try_run LINENO
# ----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
# that executables *can* be run.
ac_fn_c_try_run ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
if { { ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
{ { case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_try") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; }; then :
ac_retval=0
else
$as_echo "$as_me: program exited with status $ac_status" >&5
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=$ac_status
fi
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
as_fn_set_status $ac_retval
} # ac_fn_c_try_run
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
# -------------------------------------------------------
# Tests whether HEADER exists and can be compiled using the include files in
# INCLUDES, setting the cache variable VAR accordingly.
ac_fn_c_check_header_compile ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; }
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
#include <$2>
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
eval "$3=yes"
else
eval "$3=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
} # ac_fn_c_check_header_compile
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
# --------------------------------------------
# Tries to find the compile-time value of EXPR in a program that includes
# INCLUDES, setting VAR accordingly. Returns whether the value could be
# computed
ac_fn_c_compute_int ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
if test "$cross_compiling" = yes; then
# Depending upon the size, compute the lo and hi bounds.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main ()
{
static int test_array [1 - 2 * !(($2) >= 0)];
test_array [0] = 0
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_lo=0 ac_mid=0
while :; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main ()
{
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
test_array [0] = 0
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_hi=$ac_mid; break
else
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
if test $ac_lo -le $ac_mid; then
ac_lo= ac_hi=
break
fi
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main ()
{
static int test_array [1 - 2 * !(($2) < 0)];
test_array [0] = 0
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_hi=-1 ac_mid=-1
while :; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main ()
{
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
test_array [0] = 0
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_lo=$ac_mid; break
else
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
if test $ac_mid -le $ac_hi; then
ac_lo= ac_hi=
break
fi
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
else
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
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main ()
{
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
test_array [0] = 0
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_hi=$ac_mid
else
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
done
case $ac_lo in #((
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
'') ac_retval=1 ;;
esac
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
static long int longval () { return $2; }
static unsigned long int ulongval () { return $2; }
#include
#include
int
main ()
{
FILE *f = fopen ("conftest.val", "w");
if (! f)
return 1;
if (($2) < 0)
{
long int i = longval ();
if (i != ($2))
return 1;
fprintf (f, "%ld", i);
}
else
{
unsigned long int i = ulongval ();
if (i != ($2))
return 1;
fprintf (f, "%lu", i);
}
/* Do not output a trailing newline, as this causes \r\n confusion
on some platforms. */
return ferror (f) || fclose (f) != 0;
;
return 0;
}
_ACEOF
if ac_fn_c_try_run "$LINENO"; then :
echo >>conftest.val; read $3 &5
$as_echo_n "checking for $2... " >&6; }
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Define $2 to an innocuous variant, in case declares $2.
For example, HP-UX 11i declares gettimeofday. */
#define $2 innocuous_$2
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $2 (); below.
Prefer to if __STDC__ is defined, since
exists even on freestanding compilers. */
#ifdef __STDC__
# include
#else
# include
#endif
#undef $2
/* 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 $2 ();
/* 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_$2 || defined __stub___$2
choke me
#endif
int
main ()
{
return $2 ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
eval "$3=yes"
else
eval "$3=no"
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; }
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
} # ac_fn_c_check_func
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.9.1, which was
generated by GNU Autoconf 2.65. 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=.
$as_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=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
case $ac_pass in
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2)
as_fn_append 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
as_fn_append ac_configure_args " '$ac_arg'"
;;
esac
done
done
{ ac_configure_args0=; unset ac_configure_args0;}
{ ac_configure_args1=; unset 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_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
*) { eval $ac_var=; 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=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
$as_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=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
$as_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 &&
$as_echo "$as_me: caught signal $ac_signal"
$as_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'; as_fn_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
$as_echo "/* confdefs.h */" > 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
cat >>confdefs.h <<_ACEOF
#define PACKAGE_URL "$PACKAGE_URL"
_ACEOF
# Let the site file select an alternate cache file if it wants to.
# Prefer an explicitly selected file to automatically selected ones.
ac_site_file1=NONE
ac_site_file2=NONE
if test -n "$CONFIG_SITE"; then
ac_site_file1=$CONFIG_SITE
elif test "x$prefix" != xNONE; then
ac_site_file1=$prefix/share/config.site
ac_site_file2=$prefix/etc/config.site
else
ac_site_file1=$ac_default_prefix/share/config.site
ac_site_file2=$ac_default_prefix/etc/config.site
fi
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
do
test "x$ac_site_file" = xNONE && continue
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
$as_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. DJGPP emulates it as a regular file.
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
$as_echo "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . "$cache_file";;
*) . "./$cache_file";;
esac
fi
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
$as_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,)
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
ac_cache_corrupted=: ;;
,set)
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
$as_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
# differences in whitespace do not lead to failure.
ac_old_val_w=`echo x $ac_old_val`
ac_new_val_w=`echo x $ac_new_val`
if test "$ac_old_val_w" != "$ac_new_val_w"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
ac_cache_corrupted=:
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
eval $ac_var=\$ac_old_val
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
fi;;
esac
# Pass precious variables to config.status.
if test "$ac_new_set" = set; then
case $ac_new_val in
*\'*) ac_arg=$ac_var=`$as_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.
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
esac
fi
done
if $ac_cache_corrupted; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
fi
## -------------------- ##
## Main body of script. ##
## -------------------- ##
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.11'
ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
for ac_t in install-sh install.sh shtool; do
if test -f "$ac_dir/$ac_t"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/$ac_t -c"
break 2
fi
done
done
if test -z "$ac_aux_dir"; then
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
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.
# Reject install programs that cannot install multiple files.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
$as_echo_n "checking for a BSD-compatible install... " >&6; }
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then :
$as_echo_n "(cached) " >&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
rm -rf conftest.one conftest.two conftest.dir
echo one > conftest.one
echo two > conftest.two
mkdir conftest.dir
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
test -s conftest.one && test -s conftest.two &&
test -s conftest.dir/conftest.one &&
test -s conftest.dir/conftest.two
then
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
break 3
fi
fi
fi
done
done
;;
esac
done
IFS=$as_save_IFS
rm -rf conftest.one conftest.two conftest.dir
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
$as_echo "$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'
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
$as_echo_n "checking whether build environment is sane... " >&6; }
# Just in case
sleep 1
echo timestamp > conftest.file
# Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
'
case `pwd` in
*[\\\"\#\$\&\'\`$am_lf]*)
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
esac
case $srcdir in
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
esac
# 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".
as_fn_error "ls -t appears to fail. Make sure there is not a broken
alias in your environment" "$LINENO" 5
fi
test "$2" = conftest.file
)
then
# Ok.
:
else
as_fn_error "newly created file is older than distributed files!
Check your system clock" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "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 $.
# By default was `s,x,x', remove it if useless.
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
# expand $ac_aux_dir to an absolute path
am_aux_dir=`cd $ac_aux_dir && pwd`
if test x"${MISSING+set}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
*)
MISSING="\${SHELL} $am_aux_dir/missing" ;;
esac
fi
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
am_missing_run="$MISSING --run "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
fi
if test x"${install_sh}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
*)
install_sh="\${SHELL} $am_aux_dir/install-sh"
esac
fi
# 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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_STRIP+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
$as_echo "$STRIP" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
$as_echo "$ac_ct_STRIP" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_ct_STRIP" = x; then
STRIP=":"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
STRIP=$ac_ct_STRIP
fi
else
STRIP="$ac_cv_prog_STRIP"
fi
fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
if test -z "$MKDIR_P"; then
if test "${ac_cv_path_mkdir+set}" = set; then :
$as_echo_n "(cached) " >&6
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_prog in mkdir gmkdir; do
for ac_exec_ext in '' $ac_executable_extensions; do
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
'mkdir (GNU coreutils) '* | \
'mkdir (coreutils) '* | \
'mkdir (fileutils) '4.1*)
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
break 3;;
esac
done
done
done
IFS=$as_save_IFS
fi
test -d ./--version && rmdir ./--version
if test "${ac_cv_path_mkdir+set}" = set; then
MKDIR_P="$ac_cv_path_mkdir -p"
else
# As a last resort, use the slow shell script. Don't cache a
# value for MKDIR_P 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.
MKDIR_P="$ac_install_sh -d"
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
$as_echo "$MKDIR_P" >&6; }
mkdir_p="$MKDIR_P"
case $mkdir_p in
[\\/$]* | ?:[\\/]*) ;;
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
esac
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_AWK+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
$as_echo "$AWK" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
test -n "$AWK" && break
done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
set x ${MAKE-make}
ac_make=`$as_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 :
$as_echo_n "(cached) " >&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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
SET_MAKE=
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "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
if test "`cd $srcdir && pwd`" != "`pwd`"; then
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
# is not polluted with repeated "-I."
am__isrc=' -I$(srcdir)'
# test to see if srcdir already configured
if test -f $srcdir/config.status; then
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
fi
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.9.1'
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"}
# 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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
$as_echo "$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
$as_echo "$CC" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
$as_echo "$ac_ct_CC" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_ct_CC" = x; then
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
$as_echo "$CC" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
$as_echo "$CC" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
$as_echo "$CC" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
$as_echo "$ac_ct_CC" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "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:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
fi
fi
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error "no acceptable C compiler found in \$PATH
See \`config.log' for more details." "$LINENO" 5; }
# Provide some information about the compiler.
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
set X $ac_compile
ac_compiler=$2
for ac_option in --version -v -V -qversion; do
{ { ac_try="$ac_compiler $ac_option >&5"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
sed '10a\
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
fi
rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.out.dSYM 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.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
$as_echo_n "checking whether the C compiler works... " >&6; }
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
# The possible output files:
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
ac_rmfiles=
for ac_file in $ac_files
do
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link_default") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; 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 | *.dSYM | *.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
if test -z "$ac_file"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ as_fn_set_status 77
as_fn_error "C compiler cannot create executables
See \`config.log' for more details." "$LINENO" 5; }; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
$as_echo_n "checking for C compiler default output file name... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
$as_echo "$ac_file" >&6; }
ac_exeext=$ac_cv_exeext
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
$as_echo_n "checking for suffix of executables... " >&6; }
if { { ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; 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 | *.dSYM | *.o | *.obj ) ;;
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
break;;
* ) break;;
esac
done
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error "cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details." "$LINENO" 5; }
fi
rm -f conftest conftest$ac_cv_exeext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
$as_echo "$ac_cv_exeext" >&6; }
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include
int
main ()
{
FILE *f = fopen ("conftest.out", "w");
return ferror (f) || fclose (f) != 0;
;
return 0;
}
_ACEOF
ac_clean_files="$ac_clean_files conftest.out"
# Check that the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
$as_echo_n "checking whether we are cross compiling... " >&6; }
if test "$cross_compiling" != yes; then
{ { ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if { ac_try='./conftest$ac_cv_exeext'
{ { case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_try") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; }; then
cross_compiling=no
else
if test "$cross_compiling" = maybe; then
cross_compiling=yes
else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error "cannot run C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." "$LINENO" 5; }
fi
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
$as_echo "$cross_compiling" >&6; }
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
ac_clean_files=$ac_clean_files_save
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
$as_echo_n "checking for suffix of object files... " >&6; }
if test "${ac_cv_objext+set}" = set; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_compile") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; 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 | *.dSYM ) ;;
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
break;;
esac
done
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error "cannot compute suffix of object files: cannot compile
See \`config.log' for more details." "$LINENO" 5; }
fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
$as_echo "$ac_cv_objext" >&6; }
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
#ifndef __GNUC__
choke me
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_compiler_gnu=yes
else
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
if test $ac_compiler_gnu = yes; then
GCC=yes
else
GCC=
fi
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
$as_echo_n "checking whether $CC accepts -g... " >&6; }
if test "${ac_cv_prog_cc_g+set}" = set; then :
$as_echo_n "(cached) " >&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 confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_prog_cc_g=yes
else
CFLAGS=""
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
else
ac_c_werror_flag=$ac_save_c_werror_flag
CFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_prog_cc_g=yes
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
$as_echo "$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
if test "${ac_cv_prog_cc_c89+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_cv_prog_cc_c89=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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"
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_prog_cc_c89=$ac_arg
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)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
$as_echo "none needed" >&6; } ;;
xno)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
$as_echo "unsupported" >&6; } ;;
*)
CC="$CC $ac_cv_prog_cc_c89"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
esac
if test "x$ac_cv_prog_cc_c89" != xno; then :
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
DEPDIR="${am__leading_dot}deps"
ac_config_commands="$ac_config_commands depfiles"
am_make=${MAKE-make}
cat > confinc << 'END'
am__doit:
@echo this is the am__doit target
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
$as_echo_n "checking for style of include used by $am_make... " >&6; }
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# Ignore all kinds of additional output from `make'.
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=include
am__quote=
_am_result=GNU
;;
esac
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=.include
am__quote="\""
_am_result=BSD
;;
esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
$as_echo "$_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=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
$as_echo_n "checking dependency style of $depcc... " >&6; }
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
$as_echo_n "(cached) " >&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
am__universal=false
case " $depcc " in #(
*\ -arch\ *\ -arch\ *) am__universal=true ;;
esac
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
# 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. Also, some Intel
# versions had trouble with output in subdirs
am__obj=sub/conftest.${OBJEXT-o}
am__minus_obj="-o $am__obj"
case $depmode in
gcc)
# This depmode causes a compiler race in universal mode.
test "$am__universal" = false || continue
;;
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
;;
msvisualcpp | msvcmsys)
# This compiler won't grok `-c -o', but also, the minuso test has
# not run yet. These depmodes are late enough in the game, and
# so weak that their functioning should not be impacted.
am__obj=conftest.${OBJEXT-o}
am__minus_obj=
;;
none) break ;;
esac
if depmode=$depmode \
source=sub/conftest.c object=$am__obj \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
>/dev/null 2>conftest.err &&
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
grep $am__obj 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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
$as_echo "$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
$as_echo_n "checking for library containing pow... " >&6; }
if test "${ac_cv_search_pow+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_pow=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext \
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
$as_echo "$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mingw32" >&5
$as_echo_n "checking for mingw32... " >&6; }
if test "${ac_cv_mingw32+set}" = set; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
return __MINGW32__
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_mingw32="yes"
else
ac_cv_mingw32="no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw32" >&5
$as_echo "$ac_cv_mingw32" >&6; }
if test $ac_cv_mingw32 = yes;then
LIBS="$LIBS -lwsock32"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing vsnprintf" >&5
$as_echo_n "checking for library containing vsnprintf... " >&6; }
if test "${ac_cv_search_vsnprintf+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_vsnprintf=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext \
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_vsnprintf" >&5
$as_echo "$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
$as_echo_n "checking how to run the C preprocessor... " >&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 :
$as_echo_n "(cached) " >&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 confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifdef __STDC__
# include
#else
# include
#endif
Syntax error
_ACEOF
if ac_fn_c_try_cpp "$LINENO"; then :
else
# 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 confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include
_ACEOF
if ac_fn_c_try_cpp "$LINENO"; then :
# Broken: success on invalid input.
continue
else
# 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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
$as_echo "$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 confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifdef __STDC__
# include
#else
# include
#endif
Syntax error
_ACEOF
if ac_fn_c_try_cpp "$LINENO"; then :
else
# 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 confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include
_ACEOF
if ac_fn_c_try_cpp "$LINENO"; then :
# Broken: success on invalid input.
continue
else
# 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
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error "C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." "$LINENO" 5; }
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_RANLIB+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
$as_echo "$RANLIB" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
$as_echo "$ac_ct_RANLIB" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_ct_RANLIB" = x; then
RANLIB=":"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
RANLIB=$ac_ct_RANLIB
fi
else
RANLIB="$ac_cv_prog_RANLIB"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
set x ${MAKE-make}
ac_make=`$as_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 :
$as_echo_n "(cached) " >&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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
SET_MAKE=
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
SET_MAKE="MAKE=${MAKE-make}"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
if test "${ac_cv_header_time+set}" = set; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include
#include
#include
int
main ()
{
if ((struct tm *) 0)
return 0;
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_header_time=yes
else
ac_cv_header_time=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
$as_echo "$ac_cv_header_time" >&6; }
if test $ac_cv_header_time = yes; then
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
if test "${ac_cv_c_const+set}" = set; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_c_const=yes
else
ac_cv_c_const=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
$as_echo "$ac_cv_c_const" >&6; }
if test $ac_cv_c_const = no; then
$as_echo "#define const /**/" >>confdefs.h
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
if test "${ac_cv_path_GREP+set}" = set; then :
$as_echo_n "(cached) " >&6
else
if test -z "$GREP"; then
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
$as_echo_n 0123456789 >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
$as_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
as_fn_arith $ac_count + 1 && ac_count=$as_val
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
if test -z "$ac_cv_path_GREP"; then
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
fi
else
ac_cv_path_GREP=$GREP
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
$as_echo "$ac_cv_path_GREP" >&6; }
GREP="$ac_cv_path_GREP"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
$as_echo_n "checking for egrep... " >&6; }
if test "${ac_cv_path_EGREP+set}" = set; then :
$as_echo_n "(cached) " >&6
else
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
then ac_cv_path_EGREP="$GREP -E"
else
if test -z "$EGREP"; then
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
$as_echo_n 0123456789 >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
$as_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
as_fn_arith $ac_count + 1 && ac_count=$as_val
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
if test -z "$ac_cv_path_EGREP"; then
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
fi
else
ac_cv_path_EGREP=$EGREP
fi
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
$as_echo "$ac_cv_path_EGREP" >&6; }
EGREP="$ac_cv_path_EGREP"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }
if test "${ac_cv_header_stdc+set}" = set; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include
#include
#include
#include
int
main ()
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_header_stdc=yes
else
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 confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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 confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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
if ac_fn_c_try_run "$LINENO"; then :
else
ac_cv_header_stdc=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
$as_echo "$ac_cv_header_stdc" >&6; }
if test $ac_cv_header_stdc = yes; then
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
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=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
"
eval as_val=\$$as_ac_Header
if test "x$as_val" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define `$as_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=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
eval as_val=\$$as_ac_Header
if test "x$as_val" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define `$as_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=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
eval as_val=\$$as_ac_Header
if test "x$as_val" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define `$as_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
# 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.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
$as_echo_n "checking size of long... " >&6; }
if test "${ac_cv_sizeof_long+set}" = set; then :
$as_echo_n "(cached) " >&6
else
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "#include
"; then :
else
if test "$ac_cv_type_long" = yes; then
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ as_fn_set_status 77
as_fn_error "cannot compute sizeof (long)
See \`config.log' for more details." "$LINENO" 5; }; }
else
ac_cv_sizeof_long=0
fi
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
$as_echo "$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=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
eval as_val=\$$as_ac_var
if test "x$as_val" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define `$as_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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_glibconfig+set}" = set; then :
$as_echo_n "(cached) " >&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"
$as_echo "$as_me:${as_lineno-$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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibconfig" >&5
$as_echo "$glibconfig" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "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 :
ac_fn_c_check_func "$LINENO" "g_vsnprintf" "ac_cv_func_g_vsnprintf"
if test "x$ac_cv_func_g_vsnprintf" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_G_VSNPRINTF 1
_ACEOF
fi
done
for ac_header in glib.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "glib.h" "ac_cv_header_glib_h" "$ac_includes_default"
if test "x$ac_cv_header_glib_h" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_GLIB_H 1
_ACEOF
fi
done
if test $ac_cv_func_g_vsnprintf = no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GLib installation problem.
Continuing without GLib " >&5
$as_echo "$as_me: WARNING: GLib installation problem.
Continuing without GLib " >&2;}
fi
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Neither vsnprintf nor GLib found. GNU Go is
compiled but it is safer to get GLib at
http://www.gtk.org/" >&5
$as_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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for variadic cpp define" >&5
$as_echo_n "checking for variadic cpp define... " >&6; }
if test "${gnugo_cv_cpp_variadic_define+set}" = set; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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
if ac_fn_c_try_compile "$LINENO"; then :
gnugo_cv_cpp_variadic_define="yes"
else
gnugo_cv_cpp_variadic_define="no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnugo_cv_cpp_variadic_define" >&5
$as_echo "$gnugo_cv_cpp_variadic_define" >&6; }
if test "$gnugo_cv_cpp_variadic_define" = "yes";then
$as_echo "#define HAVE_VARIADIC_DEFINE 1" >>confdefs.h
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports transparent unions" >&5
$as_echo_n "checking whether $CC supports transparent unions... " >&6; }
if test "${gnugo_cv_transparent_unions+set}" = set; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
struct {
union {
int x;
float y;
}
} A = { { .y = 0.0 } };
A.y = 1.0;
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
gnugo_cv_transparent_unions="yes"
else
gnugo_cv_transparent_unions="no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnugo_cv_transparent_unions" >&5
$as_echo "$gnugo_cv_transparent_unions" >&6; }
if test "$gnugo_cv_transparent_unions" = "yes"; then
$as_echo "#define HAVE_TRANSPARENT_UNIONS 1" >>confdefs.h
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tparm" >&5
$as_echo_n "checking for library containing tparm... " >&6; }
if test "${ac_cv_search_tparm+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_tparm=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext \
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tparm" >&5
$as_echo "$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
$as_echo "#define TERMINFO 1" >>confdefs.h
tmp_color_result="curses"
fi
fi
fi
if test "$with_curses" = no -a "$enable_color" != no ; then
$as_echo "#define ANSI_COLOR 1" >>confdefs.h
tmp_color_result="ANSI color"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for color support" >&5
$as_echo_n "checking for color support... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tmp_color_result" >&5
$as_echo "$tmp_color_result" >&6; }
if test "$with_readline" = yes ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
$as_echo_n "checking for library containing readline... " >&6; }
if test "${ac_cv_search_readline+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_readline=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext \
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_readline" >&5
$as_echo "$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
$as_echo "#define READLINE 1" >>confdefs.h
else
$as_echo "#define READLINE 0" >>confdefs.h
fi
else
$as_echo "#define READLINE 0" >>confdefs.h
fi
if test "$enable_grid_opt" = "distrust" ; then
$as_echo "#define GRID_OPT 2" >>confdefs.h
else
if test "$enable_grid_opt" = "no" ; then
$as_echo "#define GRID_OPT 0" >>confdefs.h
else
$as_echo "#define GRID_OPT 1" >>confdefs.h
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
$as_echo "#define CHINESE_RULES 1" >>confdefs.h
else
$as_echo "#define CHINESE_RULES 0" >>confdefs.h
fi
if test "$disable_resignation_allowed" = "yes" ; then
$as_echo "#define RESIGNATION_ALLOWED 0" >>confdefs.h
else
$as_echo "#define RESIGNATION_ALLOWED 1" >>confdefs.h
fi
if test "$enable_metamachine" = "yes" ; then
$as_echo "#define ORACLE 1" >>confdefs.h
else
$as_echo "#define ORACLE 0" >>confdefs.h
fi
if test "$enable_experimental_break_in" = "no" ; then
$as_echo "#define USE_BREAK_IN 0" >>confdefs.h
else
$as_echo "#define USE_BREAK_IN 1" >>confdefs.h
fi
if test "$enable_experimental_owl_ext" = "yes" ; then
$as_echo "#define EXPERIMENTAL_OWL_EXT 1" >>confdefs.h
else
$as_echo "#define EXPERIMENTAL_OWL_EXT 0" >>confdefs.h
fi
if test "$enable_cosmic_gnugo" = "yes" ; then
$as_echo "#define COSMIC_GNUGO 1" >>confdefs.h
else
$as_echo "#define COSMIC_GNUGO 0" >>confdefs.h
fi
if test "$enable_large_scale" = "yes" ; then
$as_echo "#define LARGE_SCALE 1" >>confdefs.h
else
$as_echo "#define LARGE_SCALE 0" >>confdefs.h
fi
if test "$enable_experimental_connections" = "no" ; then
$as_echo "#define EXPERIMENTAL_CONNECTIONS 0" >>confdefs.h
else
$as_echo "#define EXPERIMENTAL_CONNECTIONS 1" >>confdefs.h
fi
if test "$enable_alternate_connections" = "no" ; then
$as_echo "#define ALTERNATE_CONNECTIONS 0" >>confdefs.h
else
$as_echo "#define ALTERNATE_CONNECTIONS 1" >>confdefs.h
fi
if test "$enable_owl_threats" = "yes" ; then
$as_echo "#define OWL_THREATS 1" >>confdefs.h
else
$as_echo "#define OWL_THREATS 0" >>confdefs.h
fi
if test "$enable_valgrind" = "yes" ; then
$as_echo "#define USE_VALGRIND 1" >>confdefs.h
else
$as_echo "#define USE_VALGRIND 0" >>confdefs.h
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.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether socket support can be compiled" >&5
$as_echo_n "checking whether socket support can be compiled... " >&6; }
if test "${gnugo_cv_sockets_supported+set}" = set; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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
if ac_fn_c_try_link "$LINENO"; then :
gnugo_cv_sockets_supported="yes"
else
gnugo_cv_sockets_supported="no"
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnugo_cv_sockets_supported" >&5
$as_echo "$gnugo_cv_sockets_supported" >&6; }
if test "$gnugo_cv_sockets_supported" = "yes"; then
$as_echo "#define ENABLE_SOCKET_SUPPORT 1" >>confdefs.h
else
if test "$enable_socket_support" = "yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
*** Socket support was requested but does not pass configure test. ***
*** Proceed only if you know what you are doing. ***" >&5
$as_echo "$as_me: WARNING:
*** Socket support was requested but does not pass configure test. ***
*** Proceed only if you know what you are doing. ***" >&2;}
$as_echo "#define ENABLE_SOCKET_SUPPORT 1" >>confdefs.h
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"
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_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
*) { eval $ac_var=; 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" &&
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
$as_echo "$as_me: updating cache $cache_file" >&6;}
cat confcache >$cache_file
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
$as_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=`$as_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.
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
done
LIBOBJS=$ac_libobjs
LTLIBOBJS=$ac_ltlibobjs
if test -n "$EXEEXT"; then
am__EXEEXT_TRUE=
am__EXEEXT_FALSE='#'
else
am__EXEEXT_TRUE='#'
am__EXEEXT_FALSE=
fi
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
as_fn_error "conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
as_fn_error "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${DFA_ENABLED_TRUE}" && test -z "${DFA_ENABLED_FALSE}"; then
as_fn_error "conditional \"DFA_ENABLED\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${GCC_ONLY_TRUE}" && test -z "${GCC_ONLY_FALSE}"; then
as_fn_error "conditional \"GCC_ONLY\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
: ${CONFIG_STATUS=./config.status}
ac_write_fail=0
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
as_write_fail=0
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
#! $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}
export SHELL
_ASEOF
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
## -------------------- ##
## 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=:
# Pre-4.2 versions of Zsh do 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_nl='
'
export as_nl
# Printing a long string crashes Solaris 7 /usr/bin/printf.
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
# Prefer a ksh shell builtin over an external printf program on Solaris,
# but without wasting forks for bash or zsh.
if test -z "$BASH_VERSION$ZSH_VERSION" \
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
as_echo='print -r --'
as_echo_n='print -rn --'
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
as_echo='printf %s\n'
as_echo_n='printf %s'
else
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
as_echo_n='/usr/ucb/echo -n'
else
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
as_echo_n_body='eval
arg=$1;
case $arg in #(
*"$as_nl"*)
expr "X$arg" : "X\\(.*\\)$as_nl";
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
esac;
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
'
export as_echo_n_body
as_echo_n='sh -c $as_echo_n_body as_echo'
fi
export as_echo_body
as_echo='sh -c $as_echo_body as_echo'
fi
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
PATH_SEPARATOR=:
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
PATH_SEPARATOR=';'
}
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.)
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
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
exit 1
fi
# Unset variables that we do not need and which cause bugs (e.g. in
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
# suppresses any "Segmentation fault" message there. '((' could
# trigger a bug in pdksh 5.2.14.
for as_var in BASH_ENV ENV MAIL MAILPATH
do eval test x\${$as_var+set} = xset \
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done
PS1='$ '
PS2='> '
PS4='+ '
# NLS nuisances.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE
# CDPATH.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
# as_fn_error ERROR [LINENO LOG_FD]
# ---------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with status $?, using 1 if that was 0.
as_fn_error ()
{
as_status=$?; test $as_status -eq 0 && as_status=1
if test "$3"; then
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
fi
$as_echo "$as_me: error: $1" >&2
as_fn_exit $as_status
} # as_fn_error
# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
return $1
} # as_fn_set_status
# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
set +e
as_fn_set_status $1
exit $1
} # as_fn_exit
# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
{ eval $1=; unset $1;}
}
as_unset=as_fn_unset
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
eval 'as_fn_append ()
{
eval $1+=\$2
}'
else
as_fn_append ()
{
eval $1=\$$1\$2
}
fi # as_fn_append
# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
eval 'as_fn_arith ()
{
as_val=$(( $* ))
}'
else
as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
}
fi # as_fn_arith
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
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false
fi
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
# 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
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
case `echo 'xy\c'` in
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
xy) ECHO_C='\c';;
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
ECHO_T=' ';;
esac;;
*)
ECHO_N='-n';;
esac
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 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
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
else
as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{
case $as_dir in #(
-*) as_dir=./$as_dir;;
esac
test -d "$as_dir" || eval $as_mkdir_p || {
as_dirs=
while :; do
case $as_dir in #(
*\'*) as_qdir=`$as_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 ||
$as_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" || as_fn_error "cannot create directory $as_dir"
} # as_fn_mkdir_p
if mkdir -p . 2>/dev/null; then
as_mkdir_p='mkdir -p "$as_dir"'
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
## ----------------------------------- ##
## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ##
_ASEOF
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=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.9.1, which was
generated by GNU Autoconf 2.65. 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
case $ac_config_files in *"
"*) set x $ac_config_files; shift; ac_config_files=$*;;
esac
case $ac_config_headers in *"
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
esac
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# 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_write_fail=1
ac_cs_usage="\
\`$as_me' instantiates files and other configuration actions
from templates according to the current configuration. Unless the files
and actions are specified as TAGs, all are instantiated by default.
Usage: $0 [OPTION]... [TAG]...
-h, --help print this help, then exit
-V, --version print version number and configuration settings, then exit
--config print configuration, then exit
-q, --quiet, --silent
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 the package provider."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
gnugo config.status 3.9.1
configured by $0, generated by GNU Autoconf 2.65,
with options \\"\$ac_cs_config\\"
Copyright (C) 2009 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'
MKDIR_P='$MKDIR_P'
AWK='$AWK'
test -n "\$AWK" || AWK=awk
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# The default lists apply if the user does not specify any file.
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 )
$as_echo "$ac_cs_version"; exit ;;
--config | --confi | --conf | --con | --co | --c )
$as_echo "$ac_cs_config"; exit ;;
--debug | --debu | --deb | --de | --d | -d )
debug=: ;;
--file | --fil | --fi | --f )
$ac_shift
case $ac_optarg in
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
as_fn_append CONFIG_FILES " '$ac_optarg'"
ac_need_defaults=false;;
--header | --heade | --head | --hea )
$ac_shift
case $ac_optarg in
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
ac_need_defaults=false;;
--he | --h)
# Conflict between --help and --header
as_fn_error "ambiguous option: \`$1'
Try \`$0 --help' for more information.";;
--help | --hel | -h )
$as_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.
-*) as_fn_error "unrecognized option: \`$1'
Try \`$0 --help' for more information." ;;
*) as_fn_append 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 || ac_write_fail=1
if \$ac_cs_recheck; then
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
shift
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
CONFIG_SHELL='$SHELL'
export CONFIG_SHELL
exec "\$@"
fi
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
exec 5>>config.log
{
echo
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
$as_echo "$ac_log"
} >&5
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
#
# INIT-COMMANDS
#
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# 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" ;;
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
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 'as_fn_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")
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
# This happens for instance with `./config.status config.h'.
if test -n "$CONFIG_FILES"; then
ac_cr=`echo X | tr X '\015'`
# On cygwin, bash can eat \r inside `` if the user requested igncr.
# But we know of no other shell where ac_cr would be empty at this
# point, so we can use a bashism as a fallback.
if test "x$ac_cr" = x; then
eval ac_cr=\$\'\\r\'
fi
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ac_cs_awk_cr='\r'
else
ac_cs_awk_cr=$ac_cr
fi
echo 'BEGIN {' >"$tmp/subs1.awk" &&
_ACEOF
{
echo "cat >conf$$subs.awk <<_ACEOF" &&
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
echo "_ACEOF"
} >conf$$subs.sh ||
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
. ./conf$$subs.sh ||
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
if test $ac_delim_n = $ac_delim_num; then
break
elif $ac_last_try; then
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
else
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fi
done
rm -f conf$$subs.sh
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
_ACEOF
sed -n '
h
s/^/S["/; s/!.*/"]=/
p
g
s/^[^!]*!//
:repl
t repl
s/'"$ac_delim"'$//
t delim
:nl
h
s/\(.\{148\}\)..*/\1/
t more1
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
p
n
b repl
:more1
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
p
g
s/.\{148\}//
t nl
:delim
h
s/\(.\{148\}\)..*/\1/
t more2
s/["\\]/\\&/g; s/^/"/; s/$/"/
p
b
:more2
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
p
g
s/.\{148\}//
t delim
' >$CONFIG_STATUS || ac_write_fail=1
rm -f conf$$subs.awk
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
_ACAWK
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
for (key in S) S_is_set[key] = 1
FS = ""
}
{
line = $ 0
nfields = split(line, field, "@")
substed = 0
len = length(field[1])
for (i = 2; i < nfields; i++) {
key = field[i]
keylen = length(key)
if (S_is_set[key]) {
value = S[key]
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
len += length(value) + length(field[++i])
substed = 1
} else
len += 1 + keylen
}
print line
}
_ACAWK
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
else
cat
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
_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 || ac_write_fail=1
fi # test -n "$CONFIG_FILES"
# Set up the scripts for CONFIG_HEADERS section.
# No need to generate them if there are no CONFIG_HEADERS.
# This happens for instance with `./config.status Makefile'.
if test -n "$CONFIG_HEADERS"; then
cat >"$tmp/defines.awk" <<\_ACAWK ||
BEGIN {
_ACEOF
# Transform confdefs.h into an awk script `defines.awk', embedded as
# here-document in config.status, that substitutes the proper values into
# config.h.in to produce config.h.
# Create a delimiter string that does not exist in confdefs.h, to ease
# handling of long lines.
ac_delim='%!_!# '
for ac_last_try in false false :; do
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
if test -z "$ac_t"; then
break
elif $ac_last_try; then
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
else
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fi
done
# For the awk script, D is an array of macro values keyed by name,
# likewise P contains macro parameters if any. Preserve backslash
# newline sequences.
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
sed -n '
s/.\{148\}/&'"$ac_delim"'/g
t rset
:rset
s/^[ ]*#[ ]*define[ ][ ]*/ /
t def
d
:def
s/\\$//
t bsnl
s/["\\]/\\&/g
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
D["\1"]=" \3"/p
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
d
:bsnl
s/["\\]/\\&/g
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
D["\1"]=" \3\\\\\\n"\\/p
t cont
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
t cont
d
:cont
n
s/.\{148\}/&'"$ac_delim"'/g
t clear
:clear
s/\\$//
t bsnlc
s/["\\]/\\&/g; s/^/"/; s/$/"/p
d
:bsnlc
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
b cont
' >$CONFIG_STATUS || ac_write_fail=1
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
for (key in D) D_is_set[key] = 1
FS = ""
}
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
line = \$ 0
split(line, arg, " ")
if (arg[1] == "#") {
defundef = arg[2]
mac1 = arg[3]
} else {
defundef = substr(arg[1], 2)
mac1 = arg[2]
}
split(mac1, mac2, "(") #)
macro = mac2[1]
prefix = substr(line, 1, index(line, defundef) - 1)
if (D_is_set[macro]) {
# Preserve the white space surrounding the "#".
print prefix "define", macro P[macro] D[macro]
next
} else {
# 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.
if (defundef == "undef") {
print "/*", prefix defundef, macro, "*/"
next
}
}
}
{ print }
_ACAWK
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
as_fn_error "could not setup config headers machinery" "$LINENO" 5
fi # test -n "$CONFIG_HEADERS"
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
shift
for ac_tag
do
case $ac_tag in
:[FHLC]) ac_mode=$ac_tag; continue;;
esac
case $ac_mode$ac_tag in
:[FHL]*:*);;
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
:[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 ||
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
esac
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
as_fn_append 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 '`
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
`' by configure.'
if test x"$ac_file" != x-; then
configure_input="$ac_file. $configure_input"
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
$as_echo "$as_me: creating $ac_file" >&6;}
fi
# Neutralize special characters interpreted by sed in replacement strings.
case $configure_input in #(
*\&* | *\|* | *\\* )
ac_sed_conf_input=`$as_echo "$configure_input" |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
*) ac_sed_conf_input=$configure_input;;
esac
case $ac_tag in
*:-:* | *:-) cat >"$tmp/stdin" \
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
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 ||
$as_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"; as_fn_mkdir_p
ac_builddir=.
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
# A ".." for each directory in $ac_dir_suffix.
ac_top_builddir_sub=`$as_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
ac_MKDIR_P=$MKDIR_P
case $MKDIR_P in
[\\/$]* | ?:[\\/]* ) ;;
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
esac
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# 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=
ac_sed_dataroot='
/datarootdir/ {
p
q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
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 || ac_write_fail=1
ac_sed_extra="$ac_vpsub
$extrasub
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s|@configure_input@|$ac_sed_conf_input|;t t
s&@top_builddir@&$ac_top_builddir_sub&;t t
s&@top_build_prefix@&$ac_top_build_prefix&;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
s&@MKDIR_P@&$ac_MKDIR_P&;t t
$ac_datarootdir_hack
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|| as_fn_error "could not create $ac_file" "$LINENO" 5
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"; } &&
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined." >&5
$as_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 \
|| as_fn_error "could not create $ac_file" "$LINENO" 5
;;
:H)
#
# CONFIG_HEADER
#
if test x"$ac_file" != x-; then
{
$as_echo "/* $configure_input */" \
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
} >"$tmp/config.h" \
|| as_fn_error "could not create $ac_file" "$LINENO" 5
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
$as_echo "$as_me: $ac_file is unchanged" >&6;}
else
rm -f "$ac_file"
mv "$tmp/config.h" "$ac_file" \
|| as_fn_error "could not create $ac_file" "$LINENO" 5
fi
else
$as_echo "/* $configure_input */" \
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|| as_fn_error "could not create -" "$LINENO" 5
fi
# Compute "$ac_file"'s index in $config_headers.
_am_arg="$ac_file"
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
$_am_arg | $_am_arg:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$_am_arg" : 'X\(//\)[^/]' \| \
X"$_am_arg" : 'X\(//\)$' \| \
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$_am_arg" |
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) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
$as_echo "$as_me: executing $ac_file commands" >&6;}
;;
esac
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
# Autoconf 2.62 quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
*\'*) eval set x "$CONFIG_FILES" ;;
*) set x $CONFIG_FILES ;;
esac
shift
for mf
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.
# Grep'ing the whole file is not good either: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/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 ||
$as_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 ||
$as_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; as_fn_mkdir_p
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
}
;;
esac
done # for ac_tag
as_fn_exit 0
_ACEOF
ac_clean_files=$ac_clean_files_save
test $ac_write_fail = 0 ||
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
# 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 || as_fn_exit $?
fi
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
gnugo-3.9.1/configure.in 0000664 0000000 0000000 00000037761 11504204726 0015173 0 ustar 00root root 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.9.1])
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])
gnugo-3.9.1/depcomp 0000775 0000000 0000000 00000027531 11504204726 0014231 0 ustar 00root root 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.9.1/doc/ 0000775 0000000 0000000 00000000000 11504204726 0013411 5 ustar 00root root 0000000 0000000 gnugo-3.9.1/doc/.cvsignore 0000664 0000000 0000000 00000000025 11504204726 0015406 0 ustar 00root root 0000000 0000000 Makefile
gnugo.info*
gnugo-3.9.1/doc/Makefile.am 0000664 0000000 0000000 00000003726 11504204726 0015455 0 ustar 00root root 0000000 0000000 ## Process this file with automake to create Makefile.in
AUTOMAKE_OPTIONS=no-dependencies
info_TEXINFOS = gnugo.texi
gnugo_TEXINFOS = analyze.texi api.texi board.texi copying.texi dfa.texi \
dragon.texi eyes.texi gnugo.texi gtp.texi gtp-commands.texi \
influence.texi introduction.texi move_generation.texi \
moyo.texi overview.texi owl.texi patterns.texi \
reading.texi regression.texi sgf.texi using.texi \
utils.texi install.texi montecarlo.texi
man_MANS = gnugo.6
EPS = cdfa.eps dfa.eps dfa2.eps oldlogo.eps newlogo.eps \
path.eps sync-prod1.eps sync-prod2.eps logo-34.eps \
logo-32.eps logo-36.eps
FIG = cdfa.fig dfa.fig dfa2.fig path.fig sync-prod1.fig sync-prod2.fig
PNG = cdfa.png dfa.png dfa2.png path.png sync-prod1.png sync-prod2.png
JPG = cdfa.jpg dfa.jpg dfa2.jpg oldlogo.jpg path.jpg sync-prod1.jpg \
sync-prod2.jpg newlogo.jpg logo-32.jpg logo-34.jpg logo-36.jpg
PDF = cdfa.pdf dfa2.pdf dfa.pdf logo-34.pdf path.pdf sync-prod1.pdf \
sync-prod2.pdf logo-36.pdf
EXTRA_DIST = gnugo.6 gnugo.pod gtp-commands.sed \
$(EPS) $(FIG) $(PNG) $(JPG) $(PDF)
CLEANFILES = *.log *.dvi *.aux *.vr *.tp *.ky *.pg *.cps *.fns *.toc \
*.fn *.cp *~
TEXI2PDF = texi2pdf
TEXI2HTML = texi2html
gnugo.6: $(srcdir)/gnugo.pod
pod2man $(srcdir)/gnugo.pod --section 6 --release @VERSION@ > gnugo.6
BUILT_SOURCES = gtp-commands.texi
cmdsrc = $(srcdir)/../interface/play_gtp.c
gnugo.pdf: gnugo.texi $(gnugo_TEXINFOS)
$(TEXI2PDF) $<
gnugo.html: gnugo.texi $(gnugo_TEXINFOS)
$(TEXI2HTML) -split=chapter -nosec_nav -expand=tex $<
## Rebuild gtp-commands.texi from play_gtp.c:
gtp-commands:
sed -e '1r '$(srcdir)/gtp-commands.sed \
-e '/static struct gtp_command commands/,/^}/!d' \
-e '/^ /!d' -e '/NULL/d' \
-e 's/ *{"\(.*\)"[^a-z]*\(gtp_[a-z_]*\)}.*/s,\2,\1,g/' \
$(cmdsrc) > TMP.sed
sed -f TMP.sed $(cmdsrc) > $(srcdir)/gtp-commands.texi
rm -f TMP.sed
gnugo-3.9.1/doc/Makefile.in 0000664 0000000 0000000 00000056310 11504204726 0015463 0 ustar 00root root 0000000 0000000 # Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 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@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
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 = doc
DIST_COMMON = $(gnugo_TEXINFOS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in texinfo.tex
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)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
depcomp =
am__depfiles_maybe =
SOURCES =
DIST_SOURCES =
INFO_DEPS = $(srcdir)/gnugo.info
am__TEXINFO_TEX_DIR = $(srcdir)
DVIS = gnugo.dvi
PDFS = gnugo.pdf
PSS = gnugo.ps
HTMLS = gnugo.html
TEXINFOS = gnugo.texi
TEXI2DVI = texi2dvi
MAKEINFOHTML = $(MAKEINFO) --html
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
DVIPS = dvips
am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man6dir)"
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
man6dir = $(mandir)/man6
NROFF = nroff
MANS = $(man_MANS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
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@
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@
GNU_GO_WARNINGS = @GNU_GO_WARNINGS@
GREP = @GREP@
INSTALL = @INSTALL@
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@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
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@
builddir = @builddir@
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@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = no-dependencies
info_TEXINFOS = gnugo.texi
gnugo_TEXINFOS = analyze.texi api.texi board.texi copying.texi dfa.texi \
dragon.texi eyes.texi gnugo.texi gtp.texi gtp-commands.texi \
influence.texi introduction.texi move_generation.texi \
moyo.texi overview.texi owl.texi patterns.texi \
reading.texi regression.texi sgf.texi using.texi \
utils.texi install.texi montecarlo.texi
man_MANS = gnugo.6
EPS = cdfa.eps dfa.eps dfa2.eps oldlogo.eps newlogo.eps \
path.eps sync-prod1.eps sync-prod2.eps logo-34.eps \
logo-32.eps logo-36.eps
FIG = cdfa.fig dfa.fig dfa2.fig path.fig sync-prod1.fig sync-prod2.fig
PNG = cdfa.png dfa.png dfa2.png path.png sync-prod1.png sync-prod2.png
JPG = cdfa.jpg dfa.jpg dfa2.jpg oldlogo.jpg path.jpg sync-prod1.jpg \
sync-prod2.jpg newlogo.jpg logo-32.jpg logo-34.jpg logo-36.jpg
PDF = cdfa.pdf dfa2.pdf dfa.pdf logo-34.pdf path.pdf sync-prod1.pdf \
sync-prod2.pdf logo-36.pdf
EXTRA_DIST = gnugo.6 gnugo.pod gtp-commands.sed \
$(EPS) $(FIG) $(PNG) $(JPG) $(PDF)
CLEANFILES = *.log *.dvi *.aux *.vr *.tp *.ky *.pg *.cps *.fns *.toc \
*.fn *.cp *~
TEXI2PDF = texi2pdf
TEXI2HTML = texi2html
BUILT_SOURCES = gtp-commands.texi
cmdsrc = $(srcdir)/../interface/play_gtp.c
all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-am
.SUFFIXES:
.SUFFIXES: .dvi .html .info .pdf .ps .texi
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu doc/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
.texi.info:
restore=: && backupdir="$(am__leading_dot)am$$$$" && \
am__cwd=`pwd` && $(am__cd) $(srcdir) && \
rm -rf $$backupdir && mkdir $$backupdir && \
if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$$am__cwd"; \
if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
-o $@ $<; \
then \
rc=0; \
$(am__cd) $(srcdir); \
else \
rc=$$?; \
$(am__cd) $(srcdir) && \
$$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
fi; \
rm -rf $$backupdir; exit $$rc
.texi.dvi:
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
$(TEXI2DVI) $<
.texi.pdf:
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
$(TEXI2PDF) $<
.texi.html:
rm -rf $(@:.html=.htp)
if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
-o $(@:.html=.htp) $<; \
then \
rm -rf $@; \
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
else \
if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
exit 1; \
fi
$(srcdir)/gnugo.info: gnugo.texi $(gnugo_TEXINFOS)
gnugo.dvi: gnugo.texi $(gnugo_TEXINFOS)
.dvi.ps:
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
$(DVIPS) -o $@ $<
uninstall-dvi-am:
@$(NORMAL_UNINSTALL)
@list='$(DVIS)'; test -n "$(dvidir)" || list=; \
for p in $$list; do \
$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(dvidir)/$$f'"; \
rm -f "$(DESTDIR)$(dvidir)/$$f"; \
done
uninstall-html-am:
@$(NORMAL_UNINSTALL)
@list='$(HTMLS)'; test -n "$(htmldir)" || list=; \
for p in $$list; do \
$(am__strip_dir) \
echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \
rm -rf "$(DESTDIR)$(htmldir)/$$f"; \
done
uninstall-info-am:
@$(PRE_UNINSTALL)
@if test -d '$(DESTDIR)$(infodir)' && \
(install-info --version && \
install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
list='$(INFO_DEPS)'; \
for file in $$list; do \
relfile=`echo "$$file" | sed 's|^.*/||'`; \
echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
if install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
then :; else test ! -f "$(DESTDIR)$(infodir)/$$relfile" || exit 1; fi; \
done; \
else :; fi
@$(NORMAL_UNINSTALL)
@list='$(INFO_DEPS)'; \
for file in $$list; do \
relfile=`echo "$$file" | sed 's|^.*/||'`; \
relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
(if test -d "$(DESTDIR)$(infodir)" && cd "$(DESTDIR)$(infodir)"; then \
echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
else :; fi); \
done
uninstall-pdf-am:
@$(NORMAL_UNINSTALL)
@list='$(PDFS)'; test -n "$(pdfdir)" || list=; \
for p in $$list; do \
$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(pdfdir)/$$f'"; \
rm -f "$(DESTDIR)$(pdfdir)/$$f"; \
done
uninstall-ps-am:
@$(NORMAL_UNINSTALL)
@list='$(PSS)'; test -n "$(psdir)" || list=; \
for p in $$list; do \
$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(psdir)/$$f'"; \
rm -f "$(DESTDIR)$(psdir)/$$f"; \
done
dist-info: $(INFO_DEPS)
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
list='$(INFO_DEPS)'; \
for base in $$list; do \
case $$base in \
$(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
esac; \
if test -f $$base; then d=.; else d=$(srcdir); fi; \
base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
if test -f $$file; then \
relfile=`expr "$$file" : "$$d/\(.*\)"`; \
test -f "$(distdir)/$$relfile" || \
cp -p $$file "$(distdir)/$$relfile"; \
else :; fi; \
done; \
done
mostlyclean-aminfo:
-rm -rf gnugo.aux gnugo.cp gnugo.cps gnugo.fn gnugo.fns gnugo.ky gnugo.kys \
gnugo.log gnugo.pg gnugo.pgs gnugo.tmp gnugo.toc gnugo.tp \
gnugo.tps gnugo.vr gnugo.vrs
clean-aminfo:
-test -z "gnugo.dvi gnugo.pdf gnugo.ps gnugo.html" \
|| rm -rf gnugo.dvi gnugo.pdf gnugo.ps gnugo.html
maintainer-clean-aminfo:
@list='$(INFO_DEPS)'; for i in $$list; do \
i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
done
install-man6: $(man_MANS)
@$(NORMAL_INSTALL)
test -z "$(man6dir)" || $(MKDIR_P) "$(DESTDIR)$(man6dir)"
@list=''; test -n "$(man6dir)" || exit 0; \
{ for i in $$list; do echo "$$i"; done; \
l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
sed -n '/\.6[a-z]*$$/p'; \
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^6][0-9a-z]*$$,6,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man6dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man6dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man6dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man6dir)" || exit $$?; }; \
done; }
uninstall-man6:
@$(NORMAL_UNINSTALL)
@list=''; test -n "$(man6dir)" || exit 0; \
files=`{ for i in $$list; do echo "$$i"; done; \
l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
sed -n '/\.6[a-z]*$$/p'; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^6][0-9a-z]*$$,6,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
test -z "$$files" || { \
echo " ( cd '$(DESTDIR)$(man6dir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(man6dir)" && rm -f $$files; }
tags: TAGS
TAGS:
ctags: CTAGS
CTAGS:
distdir: $(DISTFILES)
@list='$(MANS)'; if test -n "$$list"; then \
list=`for p in $$list; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
if test -n "$$list" && \
grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
echo " typically \`make maintainer-clean' will remove them" >&2; \
exit 1; \
else :; fi; \
else :; fi
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" distdir="$(distdir)" \
dist-info
check-am: all-am
check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(INFO_DEPS) $(MANS)
installdirs:
for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man6dir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
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:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-am
clean-am: clean-aminfo clean-generic mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am: $(DVIS)
html: html-am
html-am: $(HTMLS)
info: info-am
info-am: $(INFO_DEPS)
install-data-am: install-info-am install-man
install-dvi: install-dvi-am
install-dvi-am: $(DVIS)
@$(NORMAL_INSTALL)
test -z "$(dvidir)" || $(MKDIR_P) "$(DESTDIR)$(dvidir)"
@list='$(DVIS)'; test -n "$(dvidir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(dvidir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(dvidir)" || exit $$?; \
done
install-exec-am:
install-html: install-html-am
install-html-am: $(HTMLS)
@$(NORMAL_INSTALL)
test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
@list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \
for p in $$list; do \
if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \
$(am__strip_dir) \
if test -d "$$d$$p"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \
$(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
$(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \
else \
list2="$$list2 $$d$$p"; \
fi; \
done; \
test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \
done; }
install-info: install-info-am
install-info-am: $(INFO_DEPS)
@$(NORMAL_INSTALL)
test -z "$(infodir)" || $(MKDIR_P) "$(DESTDIR)$(infodir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
esac; \
if test -f $$file; then d=.; else d=$(srcdir); fi; \
file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
$$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
if test -f $$ifile; then \
echo "$$ifile"; \
else : ; fi; \
done; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(infodir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(infodir)" || exit $$?; done
@$(POST_INSTALL)
@if (install-info --version && \
install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
for file in $$list; do \
relfile=`echo "$$file" | sed 's|^.*/||'`; \
echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
done; \
else : ; fi
install-man: install-man6
install-pdf: install-pdf-am
install-pdf-am: $(PDFS)
@$(NORMAL_INSTALL)
test -z "$(pdfdir)" || $(MKDIR_P) "$(DESTDIR)$(pdfdir)"
@list='$(PDFS)'; test -n "$(pdfdir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pdfdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(pdfdir)" || exit $$?; done
install-ps: install-ps-am
install-ps-am: $(PSS)
@$(NORMAL_INSTALL)
test -z "$(psdir)" || $(MKDIR_P) "$(DESTDIR)$(psdir)"
@list='$(PSS)'; test -n "$(psdir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(psdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(psdir)" || exit $$?; done
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-aminfo \
maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-aminfo mostlyclean-generic
pdf: pdf-am
pdf-am: $(PDFS)
ps: ps-am
ps-am: $(PSS)
uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \
uninstall-man uninstall-pdf-am uninstall-ps-am
uninstall-man: uninstall-man6
.MAKE: all check install install-am install-strip
.PHONY: all all-am check check-am clean clean-aminfo clean-generic \
dist-info distclean distclean-generic distdir dvi dvi-am html \
html-am info info-am install install-am install-data \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-man6 install-pdf \
install-pdf-am install-ps install-ps-am install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-aminfo maintainer-clean-generic mostlyclean \
mostlyclean-aminfo mostlyclean-generic pdf pdf-am ps ps-am \
uninstall uninstall-am uninstall-dvi-am uninstall-html-am \
uninstall-info-am uninstall-man uninstall-man6 \
uninstall-pdf-am uninstall-ps-am
gnugo.6: $(srcdir)/gnugo.pod
pod2man $(srcdir)/gnugo.pod --section 6 --release @VERSION@ > gnugo.6
gnugo.pdf: gnugo.texi $(gnugo_TEXINFOS)
$(TEXI2PDF) $<
gnugo.html: gnugo.texi $(gnugo_TEXINFOS)
$(TEXI2HTML) -split=chapter -nosec_nav -expand=tex $<
gtp-commands:
sed -e '1r '$(srcdir)/gtp-commands.sed \
-e '/static struct gtp_command commands/,/^}/!d' \
-e '/^ /!d' -e '/NULL/d' \
-e 's/ *{"\(.*\)"[^a-z]*\(gtp_[a-z_]*\)}.*/s,\2,\1,g/' \
$(cmdsrc) > TMP.sed
sed -f TMP.sed $(cmdsrc) > $(srcdir)/gtp-commands.texi
rm -f TMP.sed
# 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.9.1/doc/analyze.texi 0000664 0000000 0000000 00000023725 11504204726 0015760 0 ustar 00root root 0000000 0000000 In this chapter we will discuss methods of finding
out how GNU Go understands a given position. These
methods will be of interest to anyone working on the
program, or simply curious about its workings.
In practice, most tuning of GNU Go is done in conjunction
with maintaining the @file{regression/} directory
(@pxref{Regression}).
We assume that you have a game GNU Go played saved
as an sgf file, and you want to know why it made a
certain move.
@menu
* Traces:: Analyzing traces in GNU Go 3.6
* Output File:: The Output File
* Decide string:: Checking the reading code
* Decide dragon:: Checking the owl code
* GTP and GDB techniques:: GTP and GDB techniques
* view.pike:: Debugging on a Graphic Board
* Scoring:: Finding out the winner of the game
* Colored Display:: Colored Display
@end menu
@node Traces
@section Interpreting Traces
@cindex traces
@cindex tuning GNU Go
A quick way to find out roughly the reason for a move is to run
@example
gnugo -l @var{filename} -t -L @var{move number}
@end example
(You may also want to add @option{--quiet} to suppress the copyright
message.) In GNU Go 3.6, the moves together with their reasons are
listed, followed by a numerical analysis of the values given to each
move.
If you are tuning (@pxref{Tuning}) you may want to add the @option{-a}
option. This causes GNU Go to report all patterns matched, even ones
that cannot affect the outcome of the move. The reasons for doing
this is that you may want to modify a pattern already matched
instead of introducing a new one.
If you use the @option{-w} option, GNU Go will report the statuses of
worms and dragons around the board. This type of information is
available by different methods, however (@pxref{view.pike},
@pxref{Colored Display}).
@node Output File
@section The Output File
@cindex output file
If GNU Go is invoked with the option @option{-o filename} it will
produce an output file. This option can be added at the command line
in the Go Modem Protocol Setup Window of CGoban. The output file will
show the locations of the moves considered and their weights. It is
worth noting that by enlarging the CGoban window to its fullest size
it can display 3 digit numbers. Dragons with status @code{DEAD} are
labelled with an @samp{X}, and dragons with status @code{CRITICAL} are
labelled with a @samp{!}.
If you have a game file which is not commented this way, or
which was produced by a non-current version of GNU Go you may
ask GNU Go to produce a commented version by running:
@example
gnugo --quiet -l --replay -o
@end example
@noindent
Here can be 'black,' 'white' or 'both'. The replay
option will also help you to find out if your current version
of GNU Go would play differently than the program that created
the file.
@node Decide string
@section Checking the reading code
@cindex decide-string
The @option{--decide-string} option is used to check the tactical reading code
(@pxref{Tactical Reading}). This option takes an argument, which is a location
on the board in the usual algebraic notation (e.g.
@option{--decide-string C17}). This will tell you whether the reading code (in
@file{engine/reading.c}) believes the string can be captured, and if so,
whether it believes it can be defended, which moves it finds to attack or
defend the move, how many nodes it searched in coming to these
conclusions. Note that when GNU Go runs normally (not with
@option{--decide-string}) the points of attack and defense are
computed when @code{make_worms()} runs and cached in
@code{worm.attack} and @code{worm.defend}.
If used with an output file (@option{-o @var{filename}})
@option{--decide-string} will produce a variation tree showing
all the variations which are considered. This is a useful way
of debugging the reading code, and also of educating yourself
with the way it works. The variation tree can be displayed
graphically using CGoban.
At each node, the comment contains some information. For example you
may find a comment:
@example
attack4-B at D12 (variation 6, hash 51180fdf)
break_chain D12: 0
defend3 D12: 1 G12 (trivial extension)
@end example
This is to be interpreted as follows. The node in question
was generated by the function @code{attack3()} in @file{engine/reading.c},
which was called on the string at @code{D12}. The data in
parentheses tell you the values of @code{count_variations} and
@code{hashdata.hashval}.
The second value (``hash'') you probably will not need to know
unless you are debugging the hash code, and we will not discuss it.
But the first value (``variation'') is useful when using the debugger
@command{gdb}. You can first make an output file using
the @option{-o} option, then walk through the reading with
@command{gdb}, and to coordinate the SGF file with the debugger,
display the value of @code{count_variations}. Specifically,
from the debugger you can find out where you are as follows:
@example
(gdb) set dump_stack()
B:D13 W:E12 B:E13 W:F12 B:F11 (variation 6)
@end example
If you place yourself right after the call to @code{trymove()}
which generated the move in question, then the variation number
in the SGF file should match the variation number displayed by
@code{dump_stack()}, and the move in question will be the
last move played (F11 in this example).
This displays the sequence of moves leading up to the variation
in question, and it also prints @code{count_variations-1}.
The second two lines tell you that from this node, the function
@code{break_chain()} was called at D12 and returned 0 meaning
that no way was found of rescuing the string by attacking
an element of the surrounding chain, and the function
@code{defend3()} was called also at D12 and returned 1,
meaning that the string can be defended, and that
G12 is the move that defends it. If you have trouble
finding the function calls which generate these comments,
try setting @code{sgf_dumptree=1} and setting a breakpoint in
@code{sgf_trace}.
@node Decide dragon
@section Checking the Owl Code
@cindex decide-dragon
You can similarly debug the Owl code using the option
@option{--decide-dragon}. Usage is entirely similar to
@option{--decide-string}, and it can be used similarly
to produce variation trees. These should be typically
much smaller than the variation trees produced by
@option{--decide-string}.
@node GTP and GDB techniques
@section GTP and GDB techniques
@cindex GDB
@cindex GTP
You can use the Go Text Protocol (@pxref{GTP}) to determine
the statuses of dragons and other information needed for
debugging. The GTP command @command{dragon_data P12} will list
the dragon data of the dragon at @code{P12} and
@command{worm_data} will list the worm data; other GTP
commands may be useful as well.
You can also conveniently get such information from GDB.
A suggested @file{.gdbinit} file may be found in
@xref{Debugging}. Assuming this file is loaded, you can
list the dragon data with the command:
@example
(gdb) dragon P12
@end example
Similarly you can get the worm data with @command{worm P12}.
@node view.pike
@section Debugging on a Graphical Board
@cindex debugging on a graphical board
The quickest way to analyze most positions is to use the tool
@file{view.pike} in the @file{regression} directory. It can be started
with a testcase specified, e.g. @command{pike view.pike strategy:40} or
at a move in an sgf file, e.g. @command{pike view.pike mistake.sgf:125}.
When started it shows the position on a grapical board on which it also
marks information like move values, dragon status, and so on. By
clicking on the board further information about the valuation of moves,
contents of various data structures, and other data can be made
available.
Specific information on how to use @file{view.pike} for influence tuning
can be found in @xref{Influence Tuning}.
@node Scoring
@section Scoring the game
@cindex scoring
GNU Go can score the game. Normally GNU Go will report its opinion about
the score at the end of the game, but if you want this information about
a game stored in a file, use the @option{--score} option (@pxref{Invoking
GNU Go}).
@node Colored Display
@section Colored Display
@cindex colored display
Various colored displays of the board may be obtained in a color
@command{xterm} or @command{rxvt} window. Xterm will only work if xterm is
compiled with color support. If the colors are not displayed on your xterm,
try @command{rxvt}. You may also use the Linux console. The colored display
will work best if the background color is black; if this is not the case you
may want to edit your @file{.Xdefaults} file or add the options
@option{-bg black -fg white} to @command{xterm} or @command{rxvt}.
On Mac OS X put @command{setenv TERM xterm-color} in your @file{.tcshrc}
file to enable color in the terminal.
@subsection Dragon Display
You can get a colored ASCII display of the board in which each dragon
is assigned a different letter; and the different @code{matcher_status} values
(@code{ALIVE}, @code{DEAD}, @code{UNKNOWN}, @code{CRITICAL}) have different
colors. This is very handy for debugging. Actually two diagrams are generated.
The reason for this is concerns the way the matcher status is computed.
The dragon_status (@pxref{Dragons}) is computed first, then for some, but not
all dragons, a more accurate owl status is computed. The matcher status is
the owl status if available; otherwise it is the dragon_status. Both the
dragon_status and the owl_status are displayed. The color scheme is as
follows:
@example
green = alive
cyan = dead
red = critical
yellow = unknown
magenta = unchecked
@end example
To get the colored display, save a game in sgf format using CGoban, or using
the @option{-o} option with GNU Go itself.
Open an @command{xterm} or @command{rxvt} window.
Execute @command{gnugo -l [filename] -L [movenum] -T} to get the colored
display.
Other useful colored displays may be obtained by using instead:
@subsection Eye Space Display
@cindex eye space display
Instead of @option{-T}, try this with @option{-E}. This gives a colored
display of the eyespaces, with marginal eye spaces marked @samp{!}
(@pxref{Eyes}).
gnugo-3.9.1/doc/api.texi 0000664 0000000 0000000 00000035265 11504204726 0015070 0 ustar 00root root 0000000 0000000 If you want to write your own interface to GNU Go, or if you want to
create a go application using the GNU Go engine, this chapter is of
interest to you.
First an overview: GNU Go consists of two parts: the GNU Go @i{engine}
and a program (user interface) which uses this engine. These are linked
together into one binary. The current program implements the following
user modes:
@itemize @bullet
@item An interactive board playable on ASCII terminals
@item solo play - GNU Go plays against itself
@item replay - a mode which lets the user investigate moves in an existing
SGF file.
@item GMP - Go Modem Protocol, a protocol for automatic play between two
computers.
@item GTP - Go Text Protocol, a more general go protocol, @pxref{GTP}.
@end itemize
@cindex API
The GNU Go engine can be used in other applications. For example, supplied
with GNU Go is another program using the engine, called @file{debugboard},
in the directory @file{interface/debugboard/}. The program debugboard lets the
user load SGF files and can then interactively look at different properties of
the position such as group status and eye status.
The purpose of this Chapter is to show how to interface your own
program such as @code{debugboard} with the GNU Go engine.
Figure 1 describes the structure of a program using the GNU Go
engine.
@example
@group
+-----------------------------------+
| |
| Go application |
| |
+-----+----------+------+ |
| | | | |
| | Game | | |
| | handling | | |
| | | | |
| +----+-----+ | |
| SGF | Move | |
| handling | generation | |
| | | |
+----------+------------+-----------+
| |
| Board handling |
| |
+-----------------------------------+
Figure 1: The structure of a program using the GNU Go engine
@end group
@end example
The foundation is a library called @code{libboard.a} which provides
efficient handling of a go board with rule checks for moves, with
incremental handling of connected strings of stones and with methods to
efficiently hash go positions.
On top of this, there is a library which helps the application use
Smart Game Format (SGF) files, with complete handling of game trees in
memory and in files. This library is called @code{libsgf.a}
The main part of the code within GNU Go is the move generation
library which given a position generates a move. This part of the
engine can also be used to manipulate a go position, add or remove
stones, do tactical and strategic reading and to query the engine for
legal moves. These functions are collected into @code{libengine.a}.
The game handling code helps the application programmer keep tracks
of the moves in a game. Games can be saved to
SGF files and then later be read back again. These are also within
@code{libengine.a}.
The responsibility of the application is to provide the user with a
user interface, graphical or not, and let the user interact with the
engine.
@menu
* Getting Started:: How to use the engine in your program
* Basic Data Structures:: Basic Data Structures in the Engine
* The Board State:: The board_state `struct'
* Positional Functions:: Functions which manipulate a Position
@end menu
@node Getting Started
@section How to use the engine in your own program: getting started
To use the GNU Go engine in your own program you must include
the file @file{gnugo.h}. This file describes the whole public API. There is
another file, @file{liberty.h}, which describes the internal interface within
the engine. If you want to make a new module within the engine, e.g. for
suggesting moves you will have to include this file also. In this section we
will only describe the public interface.
@findex init_gnugo
Before you do anything else, you have to call the function
@code{init_gnugo()}. This function initializes everything within the engine.
It takes one parameter: the number of megabytes the engine can use for
the internal hash table. In addition to this the engine will use a few
megabytes for other purposes such as data describing groups (liberties,
life status, etc), eyes and so on.
@node Basic Data Structures
@section Basic Data Structures in the Engine
@cindex data structures
@cindex position struct
There are some basic definitions in gnugo.h which are used
everywhere. The most important of these are the numeric declarations of
colors. Each intersection on the board is represented by one of these:
@example
@group
color value
EMPTY 0
WHITE 1
BLACK 2
@end group
@end example
There is a macro, @code{OTHER_COLOR(color)} which can be used to get the
other color than the parameter. This macro can only be used on @code{WHITE}
or @code{BLACK}, but not on @code{EMPTY}.
@findex OTHER_COLOR
GNU Go uses two different representations of the board, for
most purposes a one-dimensional one, but for a few purposes a
two dimensional one (@pxref{Libboard}). The one-dimensional
board was introduced before GNU Go 3.2, while the two-dimensional
board dates back to the ancestral program written by Man Lung Li
before 1995. The API still uses the two-dimensional board, so
the API functions have not changed much since GNU Go 3.0.
@node The Board State
@section The board_state struct
@cindex board_state
A basic data structure in the engine is the @code{board_state} struct.
This structure is internal to the engine and is defined in @file{liberty.h}.
@example
@group
typedef unsigned char Intersection;
struct board_state @{
int board_size;
Intersection board[BOARDSIZE];
int board_ko_pos;
int black_captured;
int white_captured;
Intersection initial_board[BOARDSIZE];
int initial_board_ko_pos;
int initial_white_captured;
int initial_black_captured;
int move_history_color[MAX_MOVE_HISTORY];
int move_history_pos[MAX_MOVE_HISTORY];
int move_history_pointer;
float komi;
int move_number;
@};
@end group
@end example
Here @code{Intersection} stores @code{EMPTY}, @code{WHITE} or
@code{BLACK}. It is currently defined as an @code{unsigned char} to make
it reasonably efficient in both storage and access time. The board state
contains an array of @code{Intersection}'s representing the board.
The move history is contained in the struct. Also contained in
the struct is the location of a ko (@code{EMPTY}) if the last
move was not a ko capture, the komi, the number of captures, and
corresponding data for the initial position at the beginning
of the move history.
@node Positional Functions
@section Functions which manipulate a Position
All the functions in the engine that manipulate Positions have names
prefixed by @code{gnugo_}. These functions still use the two-dimensional
representation of the board (@pxref{The Board Array}). Here is a complete
list, as prototyped in @file{gnugo.h}:
@itemize
@item @code{void init_gnugo(float memory)}
@findex init_gnugo
@quotation
Initialize the gnugo engine. This needs to be called
once only.
@end quotation
@item @code{void gnugo_clear_board(int boardsize)}
@findex gnugo_clear_board
@quotation
Clear the board.
@end quotation
@item @code{void gnugo_set_komi(float new_komi)}
@findex gnugo_set_komi
@quotation
Set the komi.
@end quotation
@item @code{void gnugo_add_stone(int i, int j, int color)}
@findex gnugo_add_stone
@quotation
Place a stone on the board
@end quotation
@item @code{void gnugo_remove_stone(int i, int j)}
@findex gnugo_remove_stone
@quotation
Remove a stone from the board
@end quotation
@item @code{int gnugo_is_pass(int i, int j)}
@findex gnugo_is_pass
@quotation
Return true if (i,j) is PASS_MOVE
@end quotation
@item @code{void gnugo_play_move(int i, int j, int color)}
@findex gnugo_play_move
@quotation
Play a move and start the clock
@end quotation
@item @code{int gnugo_undo_move(int n)}
@findex gnugo_undo_move
@quotation
Undo n permanent moves. Returns 1 if successful and 0 if it fails.
If n moves cannot be undone, no move is undone.
@end quotation
@item @code{int gnugo_play_sgfnode(SGFNode *node, int to_move)}
@findex gnugo_play_sgfnode
@quotation
Perform the moves and place the stones from the SGF node on the
board. Return the color of the player whose turn it is to move.
@end quotation
@item @code{int gnugo_play_sgftree(SGFNode *root, int *until, SGFNode **curnode)}
@findex gnugo_play_sgftree
@quotation
Play the moves in ROOT UNTIL movenumber is reached. Return the color of the
player whose turn it is to move.
@end quotation
@item @code{int gnugo_is_legal(int i, int j, int color)}
@findex gnugo_is_legal
@quotation
Interface to @code{is_legal()}.
@end quotation
@item @code{int gnugo_is_suicide(int i, int j, int color)}
@findex gnugo_is_suicide
@quotation
Interface to @code{is_suicide()}.
@end quotation
@item @code{int gnugo_placehand(int handicap)}
@findex gnugo_placehand
@quotation
Interface to placehand. Sets up handicap pieces and
returns the number of placed handicap stones.
@end quotation
@item @code{void gnugo_recordboard(SGFNode *root)}
@findex gnugo_recordboard
@quotation
Interface to @code{sgffile_recordboard()}
@end quotation
@item @code{int gnugo_sethand(int handicap, SGFNode *node)}
@findex gnugo_sethand
@quotation
Interface to placehand. Sets up handicap stones and
returns the number of placed handicap stones, updating the sgf file
@end quotation
@item @code{float gnugo_genmove(int *i, int *j, int color, int *resign)}
@findex gnugo_genmove
@quotation
Interface to @code{genmove()}.
@end quotation
@item @code{int gnugo_attack(int m, int n, int *i, int *j)}
@findex gnugo_attack
@quotation
Interface to @code{attack()}.
@end quotation
@item @code{int gnugo_find_defense(int m, int n, int *i, int *j)}
@findex gnugo_find_defense
@quotation
Interface to @code{find_defense()}.
@end quotation
@item @code{void gnugo_who_wins(int color, FILE *outfile)}
@findex gnugo_who_wins
@quotation
Interface to @code{who_wins()}.
@end quotation
@item @code{float gnugo_estimate_score(float *upper, float *lower)}
@findex gnugo_estimate_score
@quotation
Put upper and lower score estimates into @code{*upper}, @code{*lower} and
return the average. A positive score favors white. In computing
the upper bound, @code{CRITICAL} dragons are awarded to white; in
computing the lower bound, they are awarded to black.
@end quotation
@item @code{void gnugo_examine_position(int color, int how_much)}
@findex gnugo_examine_position
@quotation
Interface to @code{examine_position}.
@end quotation
@item @code{int gnugo_get_komi()}
@findex gnugo_get_komi
@quotation
Report the komi.
@end quotation
@item @code{void gnugo_get_board(int b[MAX_BOARD][MAX_BOARD])}
@findex gnugo_get_board
@quotation
Place the board into the @samp{b} array.
@end quotation
@item @code{int gnugo_get_boardsize()}
@findex gnugo_get_boardsize
@quotation
Report the board size.
@end quotation
@item @code{int gnugo_get_move_number()}
@findex gnugo_get_move_number
@quotation
Report the move number.
@end quotation
@end itemize
@section Game handling
The functions (in @pxref{Positional Functions}) are all that are needed to
create a fully functional go program. But to make the life easier for the
programmer, there is a small set of functions specially designed for handling
ongoing games.
The data structure describing an ongoing game is the @code{Gameinfo}. It
is defined as follows:
@example
@group
typedef struct @{
int handicap;
int to_move; /* whose move it currently is */
SGFTree game_record; /* Game record in sgf format. */
int computer_player; /* BLACK, WHITE, or EMPTY (used as BOTH) */
char outfilename[128]; /* Trickle file */
FILE *outfile;
@} Gameinfo;
@end group
@end example
The meaning of @code{handicap} should be obvious. @code{to_move} is the
color of the side whose turn it is to move.
The SGF tree @code{game_record} is used to store all the moves in the entire
game, including a header node which contains, among other things, komi
and handicap.
If one or both of the opponents is the computer, the field
@code{computer_player} is used. Otherwise it can be ignored.
GNU Go can use a trickle file to continuously save all the moves of an
ongoing game. This file can also contain information about internal
state of the engine such as move reasons for various locations or move
valuations. The name of this file should
be stored in @code{outfilename} and the file pointer to the open file is
stored in @code{outfile}. If no trickle file is used,
@code{outfilename[0]} will contain a null character and @code{outfile}
will be set to @code{NULL}.
@subsection Functions which manipulate a Gameinfo
All the functions in the engine that manipulate Gameinfos have names
prefixed by @code{gameinfo_}. Here is a complete list, as prototyped in
@file{gnugo.h}:
@itemize
@item @code{void gameinfo_clear(Gameinfo *ginfo, int boardsize, float komi)}
@findex gameinfo_clear
@quotation
Initialize the @code{Gameinfo} structure.
@end quotation
@item @code{void gameinfo_print(Gameinfo *ginfo)}
@findex gameinfo_print
@quotation
Print a gameinfo.
@end quotation
@item @code{void gameinfo_load_sgfheader(Gameinfo *gameinfo, SGFNode *head)}
@findex gameinfo_load_sgfheader
@quotation
Reads header info from sgf structure and sets the appropriate variables.
@end quotation
@item @code{void gameinfo_play_move(Gameinfo *ginfo, int i, int j, int color)}
@findex gameinfo_play_move
@quotation
Make a move in the game. Return 1 if the move was legal. In that
case the move is actually done. Otherwise return 0.
@end quotation
@item @code{int gameinfo_play_sgftree_rot(Gameinfo *gameinfo, SGFNode *head, const char *untilstr, int orientation)}
@findex gameinfo_play_sgftree_rot
@quotation
Play the moves in an SGF tree. Walk the main variation, actioning the
properties into the playing board. Returns the color of the next move to be
made. Head is an sgf tree. Untilstr is an optional string of the form either
'L12' or '120' which tells it to stop playing at that move or move
number. When debugging, this is the location of the move being examined.
@end quotation
@item @code{int gameinfo_play_sgftree(Gameinfo *gameinfo, SGFNode *head, const char *untilstr)}
@findex gameinfo_play_sgftree
@quotation
Same as previous function, using standard orientation.
@end quotation
@end itemize
gnugo-3.9.1/doc/board.texi 0000664 0000000 0000000 00000050621 11504204726 0015377 0 ustar 00root root 0000000 0000000 @menu
* Board Data Structures:: Board Data Structures
* The Board Array:: One-dimensional board array
* Incremental Board:: Incremental board data structures
* Some Board Functions:: Explanation of some board functions
@end menu
The foundation of the GNU Go engine is a library of very efficient
routines for handling go boards. This board library, called
@file{libboard}, can be used for those programs that only need a
basic go board but no AI capability. One such program is
@file{patterns/joseki.c}, which compiles joseki pattern
databases from SGF files.
If you want to use the board library in your own program, you need all
the .c-files listed under libboard_SOURCES in engine/Makefile.am, and
the files in the directories sgf/ and utils/. Then you should include
engine/board.h in your code.
The library consists of the following files:
@itemize
@item @file{board.h}
@quotation
The public interface to the board library.
@end quotation
@item @file{board.c}
@quotation
The basic board code. It uses incremental algorithms for keeping track
of strings and liberties on the go board.
@end quotation
@item @file{boardlib.c}
@quotation
This contains all global variable of the board library.
@end quotation
@item @file{hash.c}
@quotation
Code for hashing go positions.
@end quotation
@item @file{sgffile.c}
@quotation
Implementation of output file in SGF format.
@end quotation
@item @file{printutils.c}
@quotation
Utilities for printing go boards and other things.
@end quotation
@end itemize
To use the board library, you must include @file{liberty.h} just like
when you use the whole engine, but of course you cannot use all the
functions declared in it, i.e. the functions that are part of the
engine, but not part of the board library. You must link your
application with @code{libboard.a}.
@node Board Data Structures
@section Board Data structures
The basic data structures of the board correspond tightly to the
@code{board_state} struct described in @xref{The Board State}. They are all
stored in global variables for efficiency reasons, the most important of which
are:
@example
@group
int board_size;
Intersection board[MAXSIZE];
int board_ko_pos;
float komi;
int white_captured;
int black_captured;
Hash_data hashdata;
@end group
@end example
The description of the @code{Position} struct is applicable to these
variables also, so we won't duplicate it here. All these variables are
globals for performance reasons. Behind these variables, there are a
number of other private data structures. These implement incremental
handling of strings, liberties and other properties
(@pxref{Incremental Board}). The variable @code{hashdata} contains information
about the hash value for the current position (@pxref{Hashing}).
These variables should never be manipulated directly, since they are
only the front end for the incremental machinery. They can be read, but
should only be written by using the functions described in the next
section. If you write directly to them, the incremental data structures
will become out of sync with each other, and a crash is the likely
result.
@node The Board Array
@section The Board Array
GNU Go represents the board in a one-dimensional array called
@code{board}. For some purposes a two dimensional indexing of the
board by parameters @code{(i,j)} might be used.
The @code{board} array includes out-of-board markers around the
board. To make the relation to the old two-dimensional board
representation clear, this figure shows how the 1D indices correspond
to the 2D indices when MAX_BOARD is 7.
@example
@group
j -1 0 1 2 3 4 5 6
i +----------------------------------
-1| 0 1 2 3 4 5 6 7
0| 8 9 10 11 12 13 14 15
1| 16 17 18 19 20 21 22 23
2| 24 25 26 27 28 29 30 31
3| 32 33 34 35 36 37 38 39
4| 40 41 42 43 44 45 46 47
5| 48 49 50 51 52 53 54 55
6| 56 57 58 59 60 61 62 63
7| 64 65 66 67 68 69 70 71 72
@end group
@end example
To convert between a 1D index @code{pos} and a 2D index @code{(i,j)},
the macros @code{POS}, @code{I}, and @code{J} are provided, defined as
below:
@example
#define POS(i, j) ((MAX_BOARD + 2) + (i) * (MAX_BOARD + 1) + (j))
#define I(pos) ((pos) / (MAX_BOARD + 1) - 1)
#define J(pos) ((pos) % (MAX_BOARD + 1) - 1)
@end example
All 1D indices not corresponding to points on the board have the out
of board marker value @code{GRAY}. Thus if @code{board_size} and
@code{MAX_BOARD} both are 7, this looks like
@example
@group
j -1 0 1 2 3 4 5 6
i +----------------------------------
-1| # # # # # # # #
0| # . . . . . . .
1| # . . . . . . .
2| # . . . . . . .
3| # . . . . . . .
4| # . . . . . . .
5| # . . . . . . .
6| # . . . . . . .
7| # # # # # # # # #
@end group
@end example
The indices marked @samp{#} have value @code{GRAY}.
If @code{MAX_BOARD} is 7 and @code{board_size} is only 5:
@example
@group
j -1 0 1 2 3 4 5 6
i +----------------------------------
-1| # # # # # # # #
0| # . . . . . # #
1| # . . . . . # #
2| # . . . . . # #
3| # . . . . . # #
4| # . . . . . # #
5| # # # # # # # #
6| # # # # # # # #
7| # # # # # # # # #
@end group
@end example
Navigation on the board is done by the @code{SOUTH}, @code{WEST},
@code{NORTH}, and @code{EAST} macros,
@example
#define NS (MAX_BOARD + 1)
#define WE 1
#define SOUTH(pos) ((pos) + NS)
#define WEST(pos) ((pos) - 1)
#define NORTH(pos) ((pos) - NS)
#define EAST(pos) ((pos) + 1)
@end example
There are also shorthand macros @code{SW}, @code{NW}, @code{NE},
@code{SE}, @code{SS}, @code{WW}, @code{NN}, @code{EE} for two step
movements.
Any movement from a point on the board to an adjacent or diagonal
vertex is guaranteed to produce a valid index into the board array, and
the color found is GRAY if it is not on the board. To do explicit tests
for out of board there are two macros
@example
#define ON_BOARD(pos) (board[pos] != GRAY)
#define ON_BOARD1(pos) (((unsigned) (pos) < BOARDSIZE) && board[pos] != GRAY)
@end example
where the first one should be used in the algorithms and the second
one is useful for assertion tests.
The advantage of a one-dimensional board array is that it gives a
significant performance advantage. We need only one variable to determine
a board position, which means that many functions need less arguments. Also,
often one computation is sufficient for 1D-coordinate where we would need
two with two 2D-coordinates: If we, for example, want to have the
coordinate of the upper right of @code{pos}, we can do this with
@code{NORTH(EAST(pos))} instead of @code{(i+1, j-1)}.
@strong{Important}: The 2D coordinate @code{(-1,-1)}, which is used for
pass and sometimes to indicate no point, maps to the 1D coordinate
@code{0}, not to @code{-1}. Instead of a plain @code{0}, use one of the
macros @code{NO_MOVE} or @code{PASS_MOVE}.
A loop over multiple directions is straightforwardly written:
@example
for (k = 0; k < 4; k++) @{
int d = delta[k];
do_something(pos + d);
@}
@end example
The following constants are useful for loops over the entire board and
allocation of arrays with a 1-1 mapping to the board.
@example
#define BOARDSIZE ((MAX_BOARD + 2) * (MAX_BOARD + 1) + 1)
#define BOARDMIN (MAX_BOARD + 2)
#define BOARDMAX (MAX_BOARD + 1) * (MAX_BOARD + 1)
@end example
@code{BOARDSIZE} is the actual size of the 1D board array,
@code{BOARDMIN} is the first index corresponding to a point on the
board, and @code{BOARDMAX} is one larger than the last index corresponding to
a point on the board.
Often one wants to traverse the board, carrying out some function
at every vertex. Here are two possible ways of doing this:
@example
int m, n;
for (m = 0; m < board_size; m++)
for (n = 0; n < board_size; n++) @{
do_something(POS(m, n));
@}
@end example
Or:
@example
int pos;
for (pos = BOARDMIN; pos < BOARDMAX; pos++) @{
if (ON_BOARD(pos))
do_something(pos);
@}
@end example
@node Incremental Board
@section Incremental Board data structures
In addition to the global board state, the algorithms in @file{board.c}
implement a method of incremental updates that keeps track of the
following information for each string:
@itemize @bullet
@item The color of the string.
@item Number of stones in the string.
@item Origin of the string, i.e. a canonical reference point, defined
to be the stone with smallest 1D board coordinate.
@item A list of the stones in the string.
@item Number of liberties.
@item A list of the liberties. If there are too many liberties the list is
truncated.
@item The number of neighbor strings.
@item A list of the neighbor strings.
@end itemize
The basic data structure is
@example
struct string_data @{
int color; /* Color of string, BLACK or WHITE */
int size; /* Number of stones in string. */
int origin; /* Coordinates of "origin", i.e. */
/* "upper left" stone. */
int liberties; /* Number of liberties. */
int libs[MAX_LIBERTIES]; /* Coordinates of liberties. */
int neighbors; /* Number of neighbor strings */
int neighborlist[MAXCHAIN]; /* List of neighbor string numbers. */
int mark; /* General purpose mark. */
@};
struct string_data string[MAX_STRINGS];
@end example
It should be clear that almost all information is stored in the
@code{string} array. To get a mapping from the board coordinates to the
@code{string} array we have
@example
static int string_number[BOARDMAX];
@end example
@noindent
which contains indices into the @code{string} array. This information is only
valid at nonempty vertices, however, so it is necessary to first
verify that @code{board[pos] != EMPTY}.
The @code{string_data} structure does not include an array of the stone
coordinates. This information is stored in a separate array:
@example
static int next_stone[BOARDMAX];
@end example
This array implements cyclic linked lists of stones. Each vertex
contains a pointer to another (possibly the same) vertex. Starting at
an arbitrary stone on the board, following these pointers should
traverse the entire string in an arbitrary order before coming back to
the starting point. As for the 'string_number' array, this information
is invalid at empty points on the board. This data structure has the
good properties of requiring fixed space (regardless of the number of
strings) and making it easy to add a new stone or join two strings.
Additionally the code makes use of some work variables:
@example
static int ml[BOARDMAX];
static int liberty_mark;
static int string_mark;
static int next_string;
static int strings_initialized = 0;
@end example
The @code{ml} array and @code{liberty_mark} are used to "mark" liberties on
the board, e.g. to avoid counting the same liberty twice. The convention is
that if @code{ml[pos]} has the same value as @code{liberty_mark}, then
@code{pos} is marked. To clear all marks it suffices to increase the value
of @code{liberty_mark}, since it is never allowed to decrease.
The same relation holds between the @code{mark} field of the @code{string_data}
structure and @code{string_mark}. Of course these are used for marking
individual strings.
@code{next_string} gives the number of the next available entry in the
@code{string} array. Then @code{strings_initialized} is set to one when
all data structures are known to be up to date. Given an arbitrary board
position in the @samp{board} array, this is done by calling
@code{incremental_board_init()}. It is not necessary to call this
function explicitly since any other function that needs the information
does this if it has not been done.
The interesting part of the code is the incremental update of the data
structures when a stone is played and subsequently removed. To
understand the strategies involved in adding a stone it is necessary
to first know how undoing a move works. The idea is that as soon as
some piece of information is about to be changed, the old value is
pushed onto a stack which stores the value and its address. The stack
is built from the following structures:
@example
struct change_stack_entry @{
int *address;
int value;
@};
struct change_stack_entry change_stack[STACK_SIZE];
int change_stack_index;
@end example
@noindent
and manipulated with the macros
@example
BEGIN_CHANGE_RECORD()
PUSH_VALUE(v)
POP_MOVE()
@end example
Calling @code{BEGIN_CHANGE_RECORD()} stores a null pointer in the address
field to indicate the start of changes for a new move. As mentioned
earlier @code{PUSH_VALUE()} stores a value and its corresponding address.
Assuming that all changed information has been duly pushed onto the
stack, undoing the move is only a matter of calling @code{POP_MOVE()},
which simply assigns the values to the addresses in the reverse order
until the null pointer is reached. This description is slightly
simplified because this stack can only store 'int' values and we need
to also store changes to the board. Thus we have two parallel stacks
where one stores @code{int} values and the other one stores
@code{Intersection} values.
When a new stone is played on the board, first captured opponent
strings, if any, are removed. In this step we have to push the board
values and the @code{next_stone} pointers for the removed stones, and
update the liberties and neighbor lists for the neighbors of the
removed strings. We do not have to push all information in the
'string' entries of the removed strings however. As we do not reuse
the entries they will remain intact until the move is pushed and they
are back in use.
After this we put down the new stone and get three distinct cases:
@enumerate
@item The new stone is isolated, i.e. it has no friendly neighbor.
@item The new stone has exactly one friendly neighbor.
@item The new stone has at least two friendly neighbors.
@end enumerate
The first case is easiest. Then we create a new string by using the
number given by @code{next_string} and increasing this variable. The string
will have size one, @code{next_stone} points directly back on itself, the
liberties can be found by looking for empty points in the four
directions, possible neighbor strings are found in the same way, and
those need also to remove one liberty and add one neighbor.
In the second case we do not create a new string but extend the
neighbor with the new stone. This involves linking the new stone into
the cyclic chain, if needed moving the origin, and updating liberties
and neighbors. Liberty and neighbor information also needs updating
for the neighbors of the new stone.
In the third case finally, we need to join already existing strings.
In order not to have to store excessive amounts of information, we
create a new string for the new stone and let it assimilate the
neighbor strings. Thus all information about those can simply be left
around in the 'string' array, exactly as for removed strings. Here it
becomes a little more complex to keep track of liberties and neighbors
since those may have been shared by more than one of the joined
strings. Making good use of marks it all becomes rather
straightforward anyway.
The often used construction
@example
pos = FIRST_STONE(s);
do @{
...
pos = NEXT_STONE(pos);
@} while (!BACK_TO_FIRST_STONE(s, pos));
@end example
@noindent
traverses the stones of the string with number @samp{s} exactly once,
with @code{pos} holding the coordinates. In general @code{pos} is
used as board coordinate and @samp{s} as an index into the
@code{string} array or sometimes a pointer to an entry in the
@code{string} array.
@node Some Board Functions
@section Some Board Functions
@strong{Reading}, often called @strong{search} in computer game
theory, is a fundamental process in GNU Go. This is the process
of generating hypothetical future boards in order to determine
the answer to some question, for example "can these stones live."
Since these are hypothetical future positions, it is important
to be able to undo them, ultimately returning to the present
board. Thus a move stack is maintained during reading. When
a move is tried, by the function @code{trymove}, or its
variant @code{tryko}. This function pushes the current board
on the stack and plays a move. The stack pointer @code{stackp},
which keeps track of the position, is incremented. The function
@code{popgo()} pops the move stack, decrementing @code{stackp} and
undoing the last move made.
Every successful @code{trymove()} must be matched with a @code{popgo()}.
Thus the correct way of using this function is:
@example
@group
if (trymove(pos, color, ... )) @{
... [potentially lots of code here]
popgo();
@}
@end group
@end example
@noindent
In case the move is a ko capture, the legality of the capture is subject to
the komaster scheme (@pxref{Ko}).
@itemize @bullet
@item @code{int trymove(int pos, int color, const char *message)}
@findex trymove
@quotation
Returns true if @code{(pos)} is a legal move for @code{color}. In that
case, it pushes the board on the stack and makes the move, incrementing
@code{stackp}. If the reading code is recording reading variations (as
with @option{--decide-string} or with @option{-o}), the string
@code{*message} will be inserted in the SGF file as a comment. The
comment will also refer to the string at @code{str} if this is not
@code{0}. The value of @code{str} can be NO_MOVE if it is not needed but
otherwise the location of @code{str} is included in the comment.
@end quotation
@item @code{int tryko(int pos, int color, const char *message)}
@findex tryko
@quotation
@code{tryko()} pushes the position onto the stack, and makes a move
@code{pos} of @code{color}. The move is allowed even if it is an
illegal ko capture. It is to be imagined that @code{color} has made an
intervening ko threat which was answered and now the continuation is to
be explored. Return 1 if the move is legal with the above
caveat. Returns zero if it is not legal because of suicide.
@end quotation
@item @code{void popgo()}
@findex popgo
@quotation
Pops the move stack. This function must (eventually) be called after a
succesful @code{trymove} or @code{tryko} to restore the board
position. It undoes all the changes done by the call to
@code{trymove/tryko} and leaves the board in the same state as it was
before the call.
@strong{NOTE}: If @code{trymove/tryko} returns @code{0}, i.e. the tried
move was not legal, you must @strong{not} call @code{popgo}.
@end quotation
@item @code{int komaster_trymove(int pos, int color, const char *message, int str, int *is_conditional_ko, int consider_conditional_ko)}
@findex komaster_trymove
@quotation
Variation of @code{trymove}/@code{tryko} where ko captures (both
conditional and unconditional) must follow a komaster scheme
(@pxref{Ko}).
@end quotation
@end itemize
As you see, @code{trymove()} plays a move which can be easily
retracted (with @code{popgo()}) and it is call thousands of
times per actual game move as GNU Go analyzes the board position.
By contrast the function @code{play_move()} plays a move which
is intended to be permanent, though it is still possible to
undo it if, for example, the opponent retracts a move.
@itemize @bullet
@item @code{void play_move(int pos, int color)}
@findex play_move
@quotation
Play a move. If you want to test for legality you should first call
@code{is_legal()}. This function strictly follows the algorithm:
@enumerate
@item Place a stone of given color on the board.
@item If there are any adjacent opponent strings without liberties,
remove them and increase the prisoner count.
@item If the newly placed stone is part of a string without liberties,
remove it and increase the prisoner count.
@end enumerate
In spite of the name ``permanent move'', this move can (usually) be
unplayed by @code{undo_move()}, but it is significantly more costly than
unplaying a temporary move. There are limitations on the available
move history, so under certain circumstances the move may not be
possible to unplay at a later time.
@end quotation
@item @code{int undo_move(int n)}
@findex undo_move
@quotation
Undo @samp{n} permanent moves. Returns 1 if successful and 0 if it fails.
If @samp{n} moves cannot be undone, no move is undone.
@end quotation
@end itemize
Other board functions are documented in @xref{Board Utilities}.
gnugo-3.9.1/doc/cdfa.eps 0000664 0000000 0000000 00000103365 11504204726 0015027 0 ustar 00root root 0000000 0000000 %!PS-Adobe-2.0 EPSF-2.0
%%Title: cdfa.eps
%%Creator: fig2dev Version 3.2 Patchlevel 1
%%CreationDate: Fri Jun 22 18:54:03 2001
%%For: turvoy@semeai.irisa.fr (Tanguy Urvoy, DEA, Paragraphe)
%%Orientation: Portrait
%%BoundingBox: 0 0 411 113
%%Pages: 0
%%BeginSetup
%%EndSetup
%%Magnification: 0.5000
%%EndComments
/$F2psDict 200 dict def
$F2psDict begin
$F2psDict /mtrx matrix put
/col-1 {0 setgray} bind def
/col0 {0.000 0.000 0.000 srgb} bind def
/col1 {0.000 0.000 1.000 srgb} bind def
/col2 {0.000 1.000 0.000 srgb} bind def
/col3 {0.000 1.000 1.000 srgb} bind def
/col4 {1.000 0.000 0.000 srgb} bind def
/col5 {1.000 0.000 1.000 srgb} bind def
/col6 {1.000 1.000 0.000 srgb} bind def
/col7 {1.000 1.000 1.000 srgb} bind def
/col8 {0.000 0.000 0.560 srgb} bind def
/col9 {0.000 0.000 0.690 srgb} bind def
/col10 {0.000 0.000 0.820 srgb} bind def
/col11 {0.530 0.810 1.000 srgb} bind def
/col12 {0.000 0.560 0.000 srgb} bind def
/col13 {0.000 0.690 0.000 srgb} bind def
/col14 {0.000 0.820 0.000 srgb} bind def
/col15 {0.000 0.560 0.560 srgb} bind def
/col16 {0.000 0.690 0.690 srgb} bind def
/col17 {0.000 0.820 0.820 srgb} bind def
/col18 {0.560 0.000 0.000 srgb} bind def
/col19 {0.690 0.000 0.000 srgb} bind def
/col20 {0.820 0.000 0.000 srgb} bind def
/col21 {0.560 0.000 0.560 srgb} bind def
/col22 {0.690 0.000 0.690 srgb} bind def
/col23 {0.820 0.000 0.820 srgb} bind def
/col24 {0.500 0.190 0.000 srgb} bind def
/col25 {0.630 0.250 0.000 srgb} bind def
/col26 {0.750 0.380 0.000 srgb} bind def
/col27 {1.000 0.500 0.500 srgb} bind def
/col28 {1.000 0.630 0.630 srgb} bind def
/col29 {1.000 0.750 0.750 srgb} bind def
/col30 {1.000 0.880 0.880 srgb} bind def
/col31 {1.000 0.840 0.000 srgb} bind def
end
save
-6.0 113.0 translate
1 -1 scale
/cp {closepath} bind def
/ef {eofill} bind def
/gr {grestore} bind def
/gs {gsave} bind def
/sa {save} bind def
/rs {restore} bind def
/l {lineto} bind def
/m {moveto} bind def
/rm {rmoveto} bind def
/n {newpath} bind def
/s {stroke} bind def
/sh {show} bind def
/slc {setlinecap} bind def
/slj {setlinejoin} bind def
/slw {setlinewidth} bind def
/srgb {setrgbcolor} bind def
/rot {rotate} bind def
/sc {scale} bind def
/sd {setdash} bind def
/ff {findfont} bind def
/sf {setfont} bind def
/scf {scalefont} bind def
/sw {stringwidth} bind def
/tr {translate} bind def
/tnt {dup dup currentrgbcolor
4 -2 roll dup 1 exch sub 3 -1 roll mul add
4 -2 roll dup 1 exch sub 3 -1 roll mul add
4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
bind def
/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
4 -2 roll mul srgb} bind def
/DrawEllipse {
/endangle exch def
/startangle exch def
/yrad exch def
/xrad exch def
/y exch def
/x exch def
/savematrix mtrx currentmatrix def
x y tr xrad yrad sc 0 0 1 startangle endangle arc
closepath
savematrix setmatrix
} def
/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
/$F2psEnd {$F2psEnteredState restore end} def
%%EndProlog
$F2psBegin
10 setmiterlimit
n -1000 4750 m -1000 -1000 l 14886 -1000 l 14886 4750 l cp clip
0.03000 0.03000 sc
7.500 slw
% Ellipse
n 900 900 300 300 0 360 DrawEllipse gs col0 s gr
% Ellipse
n 6300 900 300 300 0 360 DrawEllipse gs col0 s gr
% Ellipse
n 4500 900 300 300 0 360 DrawEllipse gs col0 s gr
% Ellipse
n 2700 900 300 300 0 360 DrawEllipse gs col0 s gr
% Ellipse
n 8100 900 300 300 0 360 DrawEllipse gs col0 s gr
% Ellipse
n 9600 900 300 300 0 360 DrawEllipse gs col0 s gr
% Ellipse
n 11100 900 300 300 0 360 DrawEllipse gs col0 s gr
% Ellipse
n 12600 900 300 300 0 360 DrawEllipse gs col0 s gr
% Ellipse
n 2700 2700 300 300 0 360 DrawEllipse gs col0 s gr
% Ellipse
n 4500 2700 300 300 0 360 DrawEllipse gs col0 s gr
% Ellipse
n 6300 2700 300 300 0 360 DrawEllipse gs col0 s gr
% Ellipse
n 9600 2700 300 300 0 360 DrawEllipse gs col21 s gr
% Polyline
gs clippath
5835 870 m 6000 900 l 5835 930 l 6015 930 l 6015 870 l cp
clip
n 4800 900 m 6000 900 l gs col0 s gr gr
% arrowhead
n 5835 870 m 6000 900 l 5835 930 l 5835 900 l 5835 870 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
5859 990 m 6000 900 l 5900 1034 l 6031 912 l 5991 868 l cp
clip
n 4800 900 m 4802 902 l 4807 906 l 4815 914 l 4828 926 l 4846 942 l
4869 963 l 4896 986 l 4926 1013 l 4958 1041 l 4992 1070 l
5027 1099 l 5061 1127 l 5095 1154 l 5128 1178 l 5159 1201 l
5188 1221 l 5216 1238 l 5242 1254 l 5267 1267 l 5291 1277 l
5314 1286 l 5336 1292 l 5358 1297 l 5379 1299 l 5400 1300 l
5421 1299 l 5442 1297 l 5464 1292 l 5486 1286 l 5509 1277 l
5533 1267 l 5558 1254 l 5584 1238 l 5612 1221 l 5641 1201 l
5672 1178 l 5705 1154 l 5739 1127 l 5773 1099 l 5808 1070 l
5842 1041 l 5874 1013 l 5904 986 l 5931 963 l 5954 942 l
5972 926 l 6000 900 l gs col0 s gr gr
% arrowhead
n 5859 990 m 6000 900 l 5900 1034 l 5879 1012 l 5859 990 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
5900 758 m 6000 892 l 5859 802 l 5991 924 l 6031 880 l cp
clip
n 4800 892 m 4802 890 l 4807 886 l 4815 878 l 4828 866 l 4846 850 l
4869 829 l 4896 806 l 4926 779 l 4958 751 l 4992 722 l
5027 693 l 5061 665 l 5095 638 l 5128 614 l 5159 591 l
5188 571 l 5216 554 l 5242 538 l 5267 525 l 5291 515 l
5314 506 l 5336 500 l 5358 495 l 5379 493 l 5400 492 l
5421 493 l 5442 495 l 5464 500 l 5486 506 l 5509 515 l
5533 525 l 5558 538 l 5584 554 l 5612 571 l 5641 591 l
5672 614 l 5705 638 l 5739 665 l 5773 693 l 5808 722 l
5842 751 l 5874 779 l 5904 806 l 5931 829 l 5954 850 l
5972 866 l 6000 892 l gs col0 s gr gr
% arrowhead
n 5900 758 m 6000 892 l 5859 802 l 5879 780 l 5900 758 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
4035 870 m 4200 900 l 4035 930 l 4215 930 l 4215 870 l cp
clip
n 3000 900 m 4200 900 l gs col0 s gr gr
% arrowhead
n 4035 870 m 4200 900 l 4035 930 l 4035 900 l 4035 870 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
4059 990 m 4200 900 l 4100 1034 l 4231 912 l 4191 868 l cp
clip
n 3000 900 m 3002 902 l 3007 906 l 3015 914 l 3028 926 l 3046 942 l
3069 963 l 3096 986 l 3126 1013 l 3158 1041 l 3192 1070 l
3227 1099 l 3261 1127 l 3295 1154 l 3328 1178 l 3359 1201 l
3388 1221 l 3416 1238 l 3442 1254 l 3467 1267 l 3491 1277 l
3514 1286 l 3536 1292 l 3558 1297 l 3579 1299 l 3600 1300 l
3621 1299 l 3642 1297 l 3664 1292 l 3686 1286 l 3709 1277 l
3733 1267 l 3758 1254 l 3784 1238 l 3812 1221 l 3841 1201 l
3872 1178 l 3905 1154 l 3939 1127 l 3973 1099 l 4008 1070 l
4042 1041 l 4074 1013 l 4104 986 l 4131 963 l 4154 942 l
4172 926 l 4200 900 l gs col0 s gr gr
% arrowhead
n 4059 990 m 4200 900 l 4100 1034 l 4079 1012 l 4059 990 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
4100 758 m 4200 892 l 4059 802 l 4191 924 l 4231 880 l cp
clip
n 3000 892 m 3002 890 l 3007 886 l 3015 878 l 3028 866 l 3046 850 l
3069 829 l 3096 806 l 3126 779 l 3158 751 l 3192 722 l
3227 693 l 3261 665 l 3295 638 l 3328 614 l 3359 591 l
3388 571 l 3416 554 l 3442 538 l 3467 525 l 3491 515 l
3514 506 l 3536 500 l 3558 495 l 3579 493 l 3600 492 l
3621 493 l 3642 495 l 3664 500 l 3686 506 l 3709 515 l
3733 525 l 3758 538 l 3784 554 l 3812 571 l 3841 591 l
3872 614 l 3905 638 l 3939 665 l 3973 693 l 4008 722 l
4042 751 l 4074 779 l 4104 806 l 4131 829 l 4154 850 l
4172 866 l 4200 892 l gs col0 s gr gr
% arrowhead
n 4100 758 m 4200 892 l 4059 802 l 4079 780 l 4100 758 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
2247 969 m 2400 900 l 2281 1018 l 2429 916 l 2395 867 l cp
clip
n 1200 900 m 1203 902 l 1209 906 l 1219 913 l 1235 924 l 1257 939 l
1284 957 l 1315 978 l 1350 1000 l 1387 1024 l 1424 1047 l
1461 1070 l 1498 1092 l 1533 1112 l 1566 1129 l 1598 1145 l
1627 1159 l 1655 1170 l 1681 1180 l 1706 1187 l 1730 1193 l
1754 1197 l 1777 1199 l 1800 1200 l 1823 1199 l 1846 1197 l
1870 1193 l 1894 1187 l 1919 1180 l 1945 1170 l 1973 1159 l
2002 1145 l 2034 1129 l 2067 1112 l 2102 1092 l 2139 1070 l
2176 1047 l 2213 1024 l 2250 1000 l 2285 978 l 2316 957 l
2343 939 l 2365 924 l 2400 900 l gs col0 s gr gr
% arrowhead
n 2247 969 m 2400 900 l 2281 1018 l 2264 993 l 2247 969 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
435 870 m 600 900 l 435 930 l 615 930 l 615 870 l cp
clip
n 225 900 m 600 900 l gs col0 s gr gr
% arrowhead
n 435 870 m 600 900 l 435 930 l 435 900 l 435 870 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
7635 870 m 7800 900 l 7635 930 l 7815 930 l 7815 870 l cp
clip
n 6600 900 m 7800 900 l gs col0 s gr gr
% arrowhead
n 7635 870 m 7800 900 l 7635 930 l 7635 900 l 7635 870 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
7659 990 m 7800 900 l 7700 1034 l 7831 912 l 7791 868 l cp
clip
n 6600 900 m 6602 902 l 6607 906 l 6615 914 l 6628 926 l 6646 942 l
6669 963 l 6696 986 l 6726 1013 l 6758 1041 l 6792 1070 l
6827 1099 l 6861 1127 l 6895 1154 l 6928 1178 l 6959 1201 l
6988 1221 l 7016 1238 l 7042 1254 l 7067 1267 l 7091 1277 l
7114 1286 l 7136 1292 l 7158 1297 l 7179 1299 l 7200 1300 l
7221 1299 l 7242 1297 l 7264 1292 l 7286 1286 l 7309 1277 l
7333 1267 l 7358 1254 l 7384 1238 l 7412 1221 l 7441 1201 l
7472 1178 l 7505 1154 l 7539 1127 l 7573 1099 l 7608 1070 l
7642 1041 l 7674 1013 l 7704 986 l 7731 963 l 7754 942 l
7772 926 l 7800 900 l gs col0 s gr gr
% arrowhead
n 7659 990 m 7800 900 l 7700 1034 l 7679 1012 l 7659 990 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
7700 758 m 7800 892 l 7659 802 l 7791 924 l 7831 880 l cp
clip
n 6600 892 m 6602 890 l 6607 886 l 6615 878 l 6628 866 l 6646 850 l
6669 829 l 6696 806 l 6726 779 l 6758 751 l 6792 722 l
6827 693 l 6861 665 l 6895 638 l 6928 614 l 6959 591 l
6988 571 l 7016 554 l 7042 538 l 7067 525 l 7091 515 l
7114 506 l 7136 500 l 7158 495 l 7179 493 l 7200 492 l
7221 493 l 7242 495 l 7264 500 l 7286 506 l 7309 515 l
7333 525 l 7358 538 l 7384 554 l 7412 571 l 7441 591 l
7472 614 l 7505 638 l 7539 665 l 7573 693 l 7608 722 l
7642 751 l 7674 779 l 7704 806 l 7731 829 l 7754 850 l
7772 866 l 7800 892 l gs col0 s gr gr
% arrowhead
n 7700 758 m 7800 892 l 7659 802 l 7679 780 l 7700 758 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
9135 870 m 9300 900 l 9135 930 l 9315 930 l 9315 870 l cp
clip
n 8400 900 m 9300 900 l gs col0 s gr gr
% arrowhead
n 9135 870 m 9300 900 l 9135 930 l 9135 900 l 9135 870 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
10635 870 m 10800 900 l 10635 930 l 10815 930 l 10815 870 l cp
clip
n 9900 900 m 10800 900 l gs col0 s gr gr
% arrowhead
n 10635 870 m 10800 900 l 10635 930 l 10635 900 l 10635 870 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
12135 870 m 12300 900 l 12135 930 l 12315 930 l 12315 870 l cp
clip
n 11400 900 m 12300 900 l gs col0 s gr gr
% arrowhead
n 12135 870 m 12300 900 l 12135 930 l 12135 900 l 12135 870 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
2281 782 m 2400 900 l 2247 831 l 2395 933 l 2429 884 l cp
clip
n 1200 900 m 1203 898 l 1209 894 l 1219 887 l 1235 876 l 1257 861 l
1284 843 l 1315 822 l 1350 800 l 1387 776 l 1424 753 l
1461 730 l 1498 708 l 1533 688 l 1566 671 l 1598 655 l
1627 641 l 1655 630 l 1681 620 l 1706 613 l 1730 607 l
1754 603 l 1777 601 l 1800 600 l 1823 601 l 1846 603 l
1870 607 l 1894 613 l 1919 620 l 1945 630 l 1973 641 l
2002 655 l 2034 671 l 2067 688 l 2102 708 l 2139 730 l
2176 753 l 2213 776 l 2250 800 l 2285 822 l 2316 843 l
2343 861 l 2365 876 l 2400 900 l gs col0 s gr gr
% arrowhead
n 2281 782 m 2400 900 l 2247 831 l 2264 807 l 2281 782 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
2210 2613 m 2359 2688 l 2193 2671 l 2406 2733 l 2423 2675 l cp
clip
n 900 1200 m 901 1202 l 902 1207 l 905 1217 l 909 1231 l 915 1252 l
923 1278 l 932 1310 l 944 1348 l 957 1391 l 971 1438 l
987 1488 l 1004 1540 l 1021 1592 l 1039 1645 l 1057 1697 l
1075 1748 l 1093 1796 l 1111 1843 l 1128 1887 l 1146 1929 l
1163 1968 l 1181 2005 l 1198 2039 l 1216 2071 l 1233 2101 l
1251 2130 l 1270 2156 l 1289 2181 l 1309 2205 l 1329 2228 l
1350 2250 l 1372 2271 l 1395 2291 l 1419 2311 l 1444 2330 l
1470 2349 l 1499 2367 l 1529 2384 l 1561 2402 l 1595 2419 l
1632 2437 l 1671 2454 l 1713 2472 l 1757 2489 l 1804 2507 l
1852 2525 l 1903 2543 l 1955 2561 l 2008 2579 l 2060 2596 l
2112 2613 l 2162 2629 l 2209 2643 l 2252 2656 l 2290 2668 l
2322 2677 l 2348 2685 l 2369 2691 l 2400 2700 l gs col0 s gr gr
% arrowhead
15.000 slw
n 2210 2613 m 2359 2688 l 2193 2671 l 2201 2642 l 2210 2613 l cp gs 0.00 setgray ef gr col0 s
% Polyline
7.500 slw
gs clippath
4035 2670 m 4200 2700 l 4035 2730 l 4215 2730 l 4215 2670 l cp
clip
n 3000 2700 m 4200 2700 l gs col0 s gr gr
% arrowhead
n 4035 2670 m 4200 2700 l 4035 2730 l 4035 2700 l 4035 2670 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
4176 1309 m 4260 1164 l 4232 1330 l 4308 1121 l 4252 1101 l cp
clip
n 2925 2475 m 2927 2474 l 2931 2473 l 2940 2469 l 2952 2464 l 2970 2457 l
2993 2448 l 3022 2437 l 3055 2424 l 3093 2408 l 3134 2391 l
3177 2373 l 3223 2354 l 3269 2335 l 3315 2314 l 3361 2294 l
3406 2274 l 3448 2255 l 3489 2235 l 3528 2216 l 3565 2197 l
3599 2179 l 3632 2161 l 3662 2144 l 3690 2126 l 3717 2109 l
3742 2091 l 3766 2074 l 3788 2056 l 3810 2038 l 3830 2019 l
3850 2000 l 3870 1979 l 3890 1957 l 3909 1935 l 3927 1911 l
3945 1886 l 3963 1860 l 3980 1832 l 3997 1802 l 4015 1770 l
4032 1736 l 4050 1699 l 4068 1661 l 4086 1620 l 4104 1577 l
4123 1533 l 4141 1487 l 4159 1441 l 4177 1395 l 4194 1350 l
4210 1307 l 4225 1267 l 4238 1231 l 4249 1200 l 4258 1175 l
4264 1155 l 4275 1125 l gs col0 s gr gr
% arrowhead
15.000 slw
n 4176 1309 m 4260 1164 l 4232 1330 l 4204 1319 l 4176 1309 l cp gs 0.00 setgray ef gr col0 s
% Polyline
7.500 slw
gs clippath
4099 1238 m 4243 1152 l 4138 1283 l 4306 1138 l 4267 1092 l cp
clip
n 2925 2475 m 2927 2473 l 2930 2469 l 2937 2462 l 2947 2451 l 2961 2436 l
2979 2416 l 3001 2392 l 3026 2364 l 3055 2332 l 3086 2298 l
3118 2263 l 3152 2226 l 3186 2189 l 3219 2152 l 3252 2117 l
3284 2082 l 3315 2049 l 3344 2017 l 3372 1987 l 3399 1958 l
3424 1931 l 3449 1906 l 3472 1881 l 3495 1858 l 3516 1835 l
3538 1813 l 3559 1792 l 3579 1771 l 3600 1750 l 3621 1729 l
3641 1709 l 3662 1688 l 3684 1668 l 3705 1647 l 3728 1625 l
3751 1603 l 3776 1580 l 3801 1556 l 3828 1531 l 3856 1505 l
3885 1478 l 3916 1450 l 3948 1421 l 3981 1391 l 4014 1360 l
4048 1330 l 4082 1299 l 4114 1270 l 4145 1242 l 4174 1216 l
4199 1193 l 4221 1173 l 4239 1157 l 4253 1144 l 4275 1125 l gs col0 s gr gr
% arrowhead
15.000 slw
n 4099 1238 m 4243 1152 l 4138 1283 l 4118 1260 l 4099 1238 l cp gs 0.00 setgray ef gr col0 s
% Polyline
7.500 slw
gs clippath
5907 1250 m 6045 1154 l 5950 1293 l 6107 1136 l 6064 1093 l cp
clip
n 4725 2475 m 6075 1125 l gs col0 s gr gr
% arrowhead
15.000 slw
n 5907 1250 m 6045 1154 l 5950 1293 l 5929 1271 l 5907 1250 l cp gs 0.00 setgray ef gr col0 s
% Polyline
7.500 slw
gs clippath
5862 2604 m 6000 2700 l 5837 2659 l 6001 2734 l 6026 2679 l cp
clip
n 4800 2700 m 4803 2699 l 4809 2696 l 4819 2691 l 4835 2684 l 4857 2674 l
4884 2662 l 4915 2648 l 4950 2633 l 4987 2617 l 5024 2602 l
5061 2586 l 5098 2572 l 5133 2559 l 5166 2547 l 5198 2537 l
5227 2527 l 5255 2520 l 5281 2513 l 5306 2508 l 5330 2505 l
5354 2502 l 5377 2500 l 5400 2500 l 5423 2500 l 5446 2502 l
5470 2505 l 5494 2508 l 5519 2513 l 5545 2520 l 5573 2527 l
5602 2537 l 5634 2547 l 5667 2559 l 5702 2572 l 5739 2586 l
5776 2602 l 5813 2617 l 5850 2633 l 5885 2648 l 5916 2662 l
5943 2674 l 5965 2684 l 6000 2700 l gs col0 s gr gr
% arrowhead
n 5862 2604 m 6000 2700 l 5837 2659 l 5850 2631 l 5862 2604 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
5837 2741 m 6000 2700 l 5862 2796 l 6026 2721 l 6001 2666 l cp
clip
n 4800 2700 m 4803 2701 l 4809 2704 l 4819 2709 l 4835 2716 l 4857 2726 l
4884 2738 l 4915 2752 l 4950 2767 l 4987 2783 l 5024 2798 l
5061 2814 l 5098 2828 l 5133 2841 l 5166 2853 l 5198 2863 l
5227 2873 l 5255 2880 l 5281 2887 l 5306 2892 l 5330 2895 l
5354 2898 l 5377 2900 l 5400 2900 l 5423 2900 l 5446 2898 l
5470 2895 l 5494 2892 l 5519 2887 l 5545 2880 l 5573 2873 l
5602 2863 l 5634 2853 l 5667 2841 l 5702 2828 l 5739 2814 l
5776 2798 l 5813 2783 l 5850 2767 l 5885 2752 l 5916 2738 l
5943 2726 l 5965 2716 l 6000 2700 l gs col0 s gr gr
% arrowhead
n 5837 2741 m 6000 2700 l 5862 2796 l 5850 2769 l 5837 2741 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
6330 3135 m 6300 3300 l 6270 3135 l 6270 3315 l 6330 3315 l cp
clip
n 6300 3000 m 6300 3300 l gs col0 s gr gr
% arrowhead
n 6330 3135 m 6300 3300 l 6270 3135 l 6300 3135 l 6330 3135 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
7674 1182 m 7836 1142 l 7698 1236 l 7901 1146 l 7877 1091 l cp
clip
n 6525 2475 m 6526 2473 l 6527 2468 l 6531 2460 l 6536 2447 l 6542 2428 l
6551 2405 l 6562 2376 l 6575 2343 l 6590 2306 l 6606 2266 l
6623 2225 l 6641 2182 l 6659 2138 l 6677 2096 l 6696 2054 l
6714 2014 l 6732 1976 l 6750 1939 l 6768 1905 l 6785 1873 l
6803 1843 l 6820 1814 l 6837 1787 l 6855 1762 l 6873 1738 l
6891 1714 l 6910 1692 l 6930 1671 l 6950 1650 l 6970 1631 l
6990 1612 l 7012 1594 l 7034 1575 l 7058 1557 l 7083 1539 l
7110 1520 l 7138 1502 l 7168 1482 l 7201 1463 l 7235 1443 l
7272 1422 l 7311 1401 l 7352 1379 l 7394 1357 l 7439 1334 l
7485 1311 l 7531 1288 l 7577 1265 l 7623 1243 l 7666 1222 l
7707 1203 l 7745 1185 l 7778 1170 l 7807 1156 l 7830 1146 l
7848 1137 l 7875 1125 l gs col0 s gr gr
% arrowhead
15.000 slw
n 7674 1182 m 7836 1142 l 7698 1236 l 7686 1209 l 7674 1182 l cp gs 0.00 setgray ef gr col0 s
% Polyline
7.500 slw
gs clippath
7840 1378 m 7933 1238 l 7895 1402 l 7983 1198 l 7928 1174 l cp
clip
n 6525 2475 m 6527 2474 l 6531 2473 l 6540 2470 l 6552 2466 l 6570 2461 l
6594 2453 l 6622 2444 l 6655 2433 l 6693 2420 l 6734 2406 l
6778 2391 l 6824 2375 l 6871 2359 l 6917 2342 l 6963 2325 l
7008 2308 l 7051 2291 l 7093 2274 l 7132 2258 l 7169 2242 l
7204 2226 l 7237 2210 l 7268 2195 l 7297 2179 l 7324 2163 l
7350 2147 l 7375 2131 l 7398 2115 l 7420 2098 l 7442 2080 l
7463 2063 l 7484 2043 l 7505 2022 l 7525 2000 l 7545 1978 l
7564 1953 l 7584 1928 l 7603 1900 l 7622 1871 l 7642 1840 l
7662 1806 l 7682 1770 l 7703 1732 l 7724 1692 l 7745 1650 l
7767 1606 l 7789 1560 l 7811 1514 l 7832 1468 l 7852 1424 l
7871 1381 l 7889 1341 l 7905 1306 l 7918 1275 l 7929 1250 l
7937 1230 l 7950 1200 l gs col0 s gr gr
% arrowhead
15.000 slw
n 7840 1378 m 7933 1238 l 7895 1402 l 7868 1390 l 7840 1378 l cp gs 0.00 setgray ef gr col0 s
% Polyline
7.500 slw
gs clippath
7704 1320 m 7844 1228 l 7745 1364 l 7907 1212 l 7865 1168 l cp
clip
n 6525 2475 m 7875 1200 l gs col0 s gr gr
% arrowhead
15.000 slw
n 7704 1320 m 7844 1228 l 7745 1364 l 7725 1342 l 7704 1320 l cp gs 0.00 setgray ef gr col0 s
% Polyline
7.500 slw
gs clippath
12570 465 m 12600 300 l 12630 465 l 12630 285 l 12570 285 l cp
clip
n 12600 600 m 12600 300 l gs col0 s gr gr
% arrowhead
n 12570 465 m 12600 300 l 12630 465 l 12600 465 l 12570 465 l cp gs 0.00 setgray ef gr col0 s
% Polyline
gs clippath
9179 2380 m 9271 2519 l 9135 2421 l 9289 2582 l 9332 2540 l cp
clip
n 8250 1200 m 8251 1202 l 8254 1206 l 8258 1214 l 8265 1226 l 8275 1243 l
8287 1264 l 8302 1290 l 8319 1319 l 8338 1352 l 8358 1386 l
8379 1422 l 8401 1458 l 8422 1494 l 8443 1529 l 8464 1563 l
8484 1596 l 8504 1627 l 8522 1657 l 8540 1685 l 8558 1712 l
8575 1737 l 8592 1762 l 8608 1785 l 8625 1808 l 8641 1831 l
8658 1853 l 8675 1875 l 8691 1896 l 8708 1916 l 8725 1937 l
8743 1959 l 8761 1980 l 8781 2003 l 8801 2026 l 8823 2051 l
8846 2076 l 8870 2103 l 8896 2131 l 8924 2160 l 8953 2191 l
8983 2223 l 9014 2256 l 9047 2289 l 9079 2323 l 9112 2357 l
9143 2389 l 9173 2420 l 9201 2449 l 9226 2474 l 9247 2496 l
9265 2514 l 9279 2528 l 9300 2550 l gs col21 s gr gr
% arrowhead
15.000 slw
n 9179 2380 m 9271 2519 l 9135 2421 l 9157 2400 l 9179 2380 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
9267 2344 m 9287 2509 l 9210 2361 l 9276 2573 l 9333 2555 l cp
clip
n 8325 1125 m 8327 1126 l 8331 1130 l 8338 1135 l 8348 1144 l 8363 1157 l
8383 1173 l 8406 1193 l 8434 1216 l 8464 1242 l 8497 1271 l
8531 1300 l 8567 1331 l 8602 1362 l 8637 1393 l 8671 1423 l
8703 1453 l 8734 1482 l 8764 1509 l 8791 1536 l 8817 1561 l
8841 1586 l 8863 1609 l 8884 1632 l 8904 1654 l 8923 1676 l
8940 1698 l 8957 1719 l 8972 1741 l 8988 1763 l 9003 1786 l
9018 1810 l 9033 1834 l 9047 1860 l 9061 1886 l 9075 1913 l
9088 1942 l 9102 1973 l 9115 2005 l 9129 2040 l 9143 2076 l
9158 2115 l 9172 2155 l 9187 2197 l 9202 2240 l 9216 2283 l
9230 2326 l 9243 2367 l 9256 2406 l 9267 2442 l 9276 2473 l
9284 2498 l 9290 2518 l 9300 2550 l gs col21 s gr gr
% arrowhead
15.000 slw
n 9267 2344 m 9287 2509 l 9210 2361 l 9238 2352 l 9267 2344 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
9583 2192 m 9590 2359 l 9525 2205 l 9574 2421 l 9633 2408 l cp
clip
n 9600 1200 m 9599 1203 l 9598 1209 l 9596 1219 l 9592 1235 l 9587 1257 l
9581 1284 l 9574 1315 l 9567 1350 l 9559 1387 l 9551 1424 l
9543 1461 l 9536 1498 l 9529 1533 l 9524 1566 l 9518 1598 l
9514 1627 l 9510 1655 l 9507 1681 l 9504 1706 l 9502 1730 l
9501 1754 l 9500 1777 l 9500 1800 l 9500 1823 l 9501 1846 l
9502 1870 l 9504 1894 l 9507 1919 l 9510 1945 l 9514 1973 l
9518 2002 l 9524 2034 l 9529 2067 l 9536 2102 l 9543 2139 l
9551 2176 l 9559 2213 l 9567 2250 l 9574 2285 l 9581 2316 l
9587 2343 l 9592 2365 l 9600 2400 l gs col21 s gr gr
% arrowhead
15.000 slw
n 9583 2192 m 9590 2359 l 9525 2205 l 9554 2198 l 9583 2192 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
9695 2214 m 9613 2360 l 9639 2195 l 9567 2404 l 9624 2424 l cp
clip
n 9600 1200 m 9601 1203 l 9603 1209 l 9607 1219 l 9612 1235 l 9620 1257 l
9629 1284 l 9639 1315 l 9650 1350 l 9662 1387 l 9674 1424 l
9685 1461 l 9696 1498 l 9706 1533 l 9715 1566 l 9723 1598 l
9729 1627 l 9735 1655 l 9740 1681 l 9744 1706 l 9747 1730 l
9749 1754 l 9750 1777 l 9750 1800 l 9750 1823 l 9749 1846 l
9747 1870 l 9744 1894 l 9740 1919 l 9735 1945 l 9729 1973 l
9723 2002 l 9715 2034 l 9706 2067 l 9696 2102 l 9685 2139 l
9674 2176 l 9662 2213 l 9650 2250 l 9639 2285 l 9629 2316 l
9620 2343 l 9612 2365 l 9600 2400 l gs col21 s gr gr
% arrowhead
15.000 slw
n 9695 2214 m 9613 2360 l 9639 2195 l 9667 2204 l 9695 2214 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
10094 2397 m 9936 2453 l 10064 2345 l 9872 2457 l 9902 2508 l cp
clip
n 10950 1200 m 10949 1202 l 10948 1207 l 10945 1217 l 10940 1231 l 10934 1251 l
10926 1277 l 10916 1307 l 10905 1342 l 10892 1381 l 10879 1422 l
10865 1464 l 10850 1507 l 10835 1549 l 10820 1590 l 10805 1629 l
10790 1667 l 10775 1702 l 10761 1735 l 10747 1767 l 10732 1796 l
10718 1823 l 10703 1849 l 10689 1874 l 10674 1897 l 10658 1920 l
10642 1941 l 10625 1962 l 10625 1963 l 10607 1983 l 10589 2003 l
10570 2024 l 10549 2043 l 10527 2064 l 10504 2084 l 10478 2104 l
10451 2126 l 10422 2147 l 10390 2170 l 10356 2193 l 10320 2218 l
10282 2243 l 10242 2268 l 10201 2294 l 10160 2320 l 10118 2345 l
10078 2370 l 10041 2392 l 10006 2413 l 9976 2431 l 9951 2445 l
9931 2457 l 9900 2475 l gs col21 s gr gr
% arrowhead
15.000 slw
n 10094 2397 m 9936 2453 l 10064 2345 l 10079 2371 l 10094 2397 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
9984 2340 m 9852 2443 l 9939 2300 l 9793 2466 l 9838 2506 l cp
clip
n 10950 1200 m 9825 2475 l gs col21 s gr gr
% arrowhead
15.000 slw
n 9984 2340 m 9852 2443 l 9939 2300 l 9962 2320 l 9984 2340 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
9100 2760 m 9261 2717 l 9125 2814 l 9326 2721 l 9301 2666 l cp
clip
n 9300 2700 m 9297 2699 l 9289 2696 l 9277 2692 l 9257 2686 l 9232 2677 l
9202 2667 l 9167 2657 l 9130 2645 l 9093 2634 l 9056 2623 l
9020 2614 l 8987 2606 l 8957 2599 l 8929 2593 l 8904 2590 l
8881 2588 l 8861 2587 l 8844 2588 l 8828 2590 l 8813 2594 l
8800 2600 l 8789 2606 l 8779 2614 l 8770 2622 l 8761 2632 l
8754 2642 l 8747 2654 l 8741 2666 l 8736 2679 l 8733 2693 l
8730 2707 l 8728 2721 l 8728 2736 l 8728 2750 l 8730 2764 l
8733 2778 l 8736 2791 l 8741 2804 l 8747 2815 l 8754 2826 l
8761 2836 l 8770 2844 l 8779 2851 l 8789 2858 l 8800 2863 l
8813 2866 l 8828 2869 l 8844 2869 l 8861 2868 l 8881 2865 l
8904 2860 l 8929 2853 l 8957 2844 l 8987 2833 l 9020 2821 l
9056 2807 l 9093 2792 l 9130 2776 l 9167 2760 l 9202 2745 l
9232 2731 l 9257 2720 l 9300 2700 l cp gs col21 s gr gr
% arrowhead
15.000 slw
n 9100 2760 m 9261 2717 l 9125 2814 l 9112 2787 l 9100 2760 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
9295 3118 m 9364 2965 l 9353 3133 l 9408 2918 l 9350 2903 l cp
clip
n 9375 2925 m 9372 2926 l 9365 2929 l 9352 2935 l 9334 2942 l 9309 2953 l
9280 2966 l 9248 2980 l 9213 2996 l 9178 3013 l 9144 3030 l
9111 3046 l 9082 3062 l 9055 3077 l 9032 3092 l 9012 3106 l
8995 3120 l 8980 3133 l 8969 3147 l 8960 3160 l 8954 3174 l
8950 3188 l 8948 3202 l 8948 3216 l 8949 3232 l 8952 3247 l
8957 3263 l 8964 3279 l 8972 3295 l 8981 3310 l 8992 3326 l
9004 3340 l 9017 3354 l 9031 3367 l 9046 3379 l 9061 3389 l
9076 3398 l 9091 3406 l 9106 3412 l 9121 3416 l 9135 3418 l
9149 3418 l 9162 3416 l 9175 3413 l 9187 3407 l 9199 3399 l
9210 3388 l 9221 3374 l 9232 3358 l 9243 3338 l 9254 3315 l
9266 3288 l 9277 3257 l 9289 3224 l 9301 3187 l 9313 3148 l
9325 3108 l 9336 3069 l 9347 3032 l 9356 2999 l 9363 2972 l
9375 2925 l cp gs col21 s gr gr
% arrowhead
15.000 slw
n 9295 3118 m 9364 2965 l 9353 3133 l 9324 3125 l 9295 3118 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
9660 3200 m 9617 3038 l 9714 3175 l 9621 2974 l 9566 2999 l cp
clip
n 9600 3000 m 9599 3003 l 9596 3011 l 9592 3023 l 9586 3043 l 9577 3068 l
9567 3098 l 9557 3133 l 9545 3170 l 9534 3207 l 9523 3244 l
9514 3280 l 9506 3313 l 9499 3343 l 9493 3371 l 9490 3396 l
9488 3419 l 9487 3439 l 9488 3456 l 9490 3472 l 9494 3487 l
9500 3500 l 9506 3511 l 9514 3521 l 9522 3530 l 9532 3539 l
9542 3546 l 9554 3553 l 9566 3559 l 9579 3564 l 9593 3567 l
9607 3570 l 9621 3572 l 9636 3572 l 9650 3572 l 9664 3570 l
9678 3567 l 9691 3564 l 9704 3559 l 9715 3553 l 9726 3546 l
9736 3539 l 9744 3530 l 9751 3521 l 9758 3511 l 9763 3500 l
9766 3487 l 9769 3472 l 9769 3456 l 9768 3439 l 9765 3419 l
9760 3396 l 9753 3371 l 9744 3343 l 9733 3313 l 9721 3280 l
9707 3244 l 9692 3207 l 9676 3170 l 9660 3133 l 9645 3098 l
9631 3068 l 9620 3043 l 9600 3000 l cp gs col21 s gr gr
% arrowhead
15.000 slw
n 9660 3200 m 9617 3038 l 9714 3175 l 9687 3188 l 9660 3200 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
10102 2905 m 9941 2855 l 10109 2846 l 9889 2818 l 9881 2878 l cp
clip
n 12600 1200 m 12599 1202 l 12598 1206 l 12595 1214 l 12590 1226 l 12583 1244 l
12574 1267 l 12563 1296 l 12549 1331 l 12534 1372 l 12516 1417 l
12496 1467 l 12475 1521 l 12452 1578 l 12428 1637 l 12404 1696 l
12379 1757 l 12355 1817 l 12330 1876 l 12306 1934 l 12282 1990 l
12258 2043 l 12235 2095 l 12213 2144 l 12192 2190 l 12171 2234 l
12151 2275 l 12131 2314 l 12112 2351 l 12093 2385 l 12075 2418 l
12057 2448 l 12039 2477 l 12021 2504 l 12004 2530 l 11986 2555 l
11968 2578 l 11950 2600 l 11928 2625 l 11906 2649 l 11884 2672 l
11861 2694 l 11837 2715 l 11813 2735 l 11788 2754 l 11763 2772 l
11737 2789 l 11710 2805 l 11682 2821 l 11654 2835 l 11625 2849 l
11596 2861 l 11566 2873 l 11536 2883 l 11506 2893 l 11475 2902 l
11444 2910 l 11413 2917 l 11383 2923 l 11352 2929 l 11321 2934 l
11290 2938 l 11260 2941 l 11230 2944 l 11199 2946 l 11169 2947 l
11140 2949 l 11110 2949 l 11080 2950 l 11050 2950 l 11020 2950 l
10989 2949 l 10958 2949 l 10926 2948 l 10893 2946 l 10859 2945 l
10823 2943 l 10786 2940 l 10747 2937 l 10706 2934 l 10663 2930 l
10617 2926 l 10570 2922 l 10520 2917 l 10468 2912 l 10414 2907 l
10360 2901 l 10305 2895 l 10250 2889 l 10196 2883 l 10144 2878 l
10096 2872 l 10052 2867 l 10013 2863 l 9980 2859 l 9953 2856 l
9932 2854 l 9900 2850 l gs col21 s gr gr
% arrowhead
15.000 slw
n 10102 2905 m 9941 2855 l 10109 2846 l 10105 2876 l 10102 2905 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
10107 2805 m 9941 2775 l 10107 2745 l 9885 2745 l 9885 2805 l cp
clip
n 12600 1200 m 12599 1202 l 12597 1206 l 12593 1214 l 12586 1226 l 12577 1244 l
12564 1267 l 12549 1295 l 12531 1328 l 12510 1366 l 12487 1408 l
12462 1453 l 12435 1501 l 12407 1550 l 12379 1600 l 12350 1650 l
12321 1699 l 12293 1747 l 12265 1794 l 12237 1838 l 12210 1881 l
12184 1921 l 12159 1959 l 12134 1995 l 12110 2029 l 12086 2061 l
12063 2091 l 12040 2119 l 12017 2146 l 11994 2171 l 11971 2195 l
11948 2219 l 11924 2241 l 11900 2263 l 11874 2285 l 11847 2306 l
11820 2327 l 11792 2348 l 11763 2368 l 11733 2388 l 11702 2407 l
11671 2426 l 11638 2444 l 11605 2462 l 11571 2480 l 11536 2497 l
11501 2513 l 11466 2529 l 11429 2545 l 11393 2560 l 11357 2574 l
11320 2588 l 11284 2601 l 11247 2613 l 11211 2624 l 11176 2635 l
11141 2646 l 11106 2655 l 11072 2664 l 11038 2673 l 11006 2681 l
10974 2688 l 10942 2695 l 10911 2701 l 10880 2707 l 10850 2713 l
10818 2718 l 10786 2723 l 10755 2728 l 10723 2732 l 10690 2737 l
10657 2740 l 10623 2744 l 10588 2747 l 10552 2750 l 10514 2753 l
10474 2756 l 10433 2758 l 10391 2760 l 10346 2762 l 10301 2764 l
10255 2766 l 10208 2768 l 10162 2769 l 10118 2770 l 10076 2771 l
10037 2772 l 10002 2773 l 9973 2774 l 9948 2774 l 9929 2775 l
9900 2775 l gs col21 s gr gr
% arrowhead
15.000 slw
n 10107 2805 m 9941 2775 l 10107 2745 l 10107 2775 l 10107 2805 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
10109 2689 m 9941 2691 l 10097 2630 l 9879 2674 l 9891 2732 l cp
clip
n 12600 1200 m 12599 1201 l 12596 1204 l 12591 1209 l 12583 1217 l 12571 1228 l
12556 1243 l 12536 1261 l 12512 1284 l 12485 1310 l 12453 1340 l
12418 1373 l 12380 1409 l 12339 1448 l 12296 1488 l 12252 1529 l
12206 1571 l 12160 1614 l 12114 1656 l 12068 1697 l 12023 1738 l
11979 1777 l 11936 1815 l 11893 1852 l 11853 1887 l 11813 1921 l
11775 1953 l 11738 1983 l 11702 2012 l 11667 2039 l 11633 2065 l
11600 2089 l 11567 2113 l 11536 2135 l 11504 2156 l 11473 2176 l
11442 2196 l 11412 2215 l 11381 2233 l 11350 2250 l 11317 2268 l
11284 2285 l 11251 2302 l 11217 2318 l 11182 2334 l 11147 2349 l
11110 2365 l 11073 2380 l 11034 2394 l 10993 2409 l 10951 2424 l
10907 2438 l 10861 2453 l 10813 2468 l 10763 2483 l 10711 2498 l
10657 2513 l 10602 2528 l 10545 2543 l 10487 2559 l 10429 2574 l
10371 2588 l 10313 2603 l 10257 2616 l 10203 2630 l 10152 2642 l
10104 2653 l 10061 2663 l 10023 2672 l 9990 2680 l 9963 2686 l
9941 2691 l 9925 2695 l 9900 2700 l gs col21 s gr gr
% arrowhead
15.000 slw
n 10109 2689 m 9941 2691 l 10097 2630 l 10103 2659 l 10109 2689 l cp gs col21 1.00 shd ef gr col21 s
% Polyline
7.500 slw
gs clippath
10000 3057 m 10095 3195 l 9957 3100 l 10114 3257 l 10157 3214 l cp
clip
n 9825 2925 m 10125 3225 l gs col21 s gr gr
% arrowhead
15.000 slw
n 10000 3057 m 10095 3195 l 9957 3100 l 9979 3079 l 10000 3057 l cp gs col21 1.00 shd ef gr col21 s
/Times-Bold ff 285.00 scf sf
817 960 m
gs 1 -1 sc (1) col0 sh gr
/Times-Bold ff 285.00 scf sf
5400 825 m
gs 1 -1 sc (.) col0 sh gr
/Times-Bold ff 285.00 scf sf
5325 1200 m
gs 1 -1 sc (O) col0 sh gr
/Times-Bold ff 285.00 scf sf
5325 442 m
gs 1 -1 sc (X) col0 sh gr
/Times-Bold ff 285.00 scf sf
3600 825 m
gs 1 -1 sc (.) col0 sh gr
/Times-Bold ff 285.00 scf sf
3525 1200 m
gs 1 -1 sc (O) col0 sh gr
/Times-Bold ff 285.00 scf sf
3525 442 m
gs 1 -1 sc (X) col0 sh gr
/Times-Bold ff 285.00 scf sf
2625 945 m
gs 1 -1 sc (2) col0 sh gr
/Times-Bold ff 285.00 scf sf
4425 945 m
gs 1 -1 sc (3) col0 sh gr
/Times-Bold ff 285.00 scf sf
6225 945 m
gs 1 -1 sc (4) col0 sh gr
/Times-Bold ff 285.00 scf sf
7200 825 m
gs 1 -1 sc (.) col0 sh gr
/Times-Bold ff 285.00 scf sf
7125 1200 m
gs 1 -1 sc (O) col0 sh gr
/Times-Bold ff 285.00 scf sf
7125 442 m
gs 1 -1 sc (X) col0 sh gr
/Times-Bold ff 285.00 scf sf
8025 945 m
gs 1 -1 sc (5) col0 sh gr
/Times-Bold ff 285.00 scf sf
8775 750 m
gs 1 -1 sc (.) col0 sh gr
/Times-Bold ff 285.00 scf sf
9525 975 m
gs 1 -1 sc (6) col0 sh gr
/Times-Bold ff 285.00 scf sf
10275 750 m
gs 1 -1 sc (.) col0 sh gr
/Times-Bold ff 285.00 scf sf
11025 975 m
gs 1 -1 sc (7) col0 sh gr
/Times-Bold ff 285.00 scf sf
11700 825 m
gs 1 -1 sc (X) col0 sh gr
/Times-Bold ff 285.00 scf sf
12525 975 m
gs 1 -1 sc (8) col0 sh gr
/Times-Bold ff 285.00 scf sf
1725 1125 m
gs 1 -1 sc (O) col0 sh gr
/Times-Bold ff 285.00 scf sf
1800 525 m
gs 1 -1 sc (.) col0 sh gr
/Times-Bold ff 285.00 scf sf
1425 2175 m
gs 1 -1 sc (X) col0 sh gr
/Times-Bold ff 285.00 scf sf
2625 2775 m
gs 1 -1 sc (9) col0 sh gr
/Times-Bold ff 285.00 scf sf
4425 2775 m
gs 1 -1 sc (A) col0 sh gr
/Times-Bold ff 285.00 scf sf
3525 2625 m
gs 1 -1 sc (X) col0 sh gr
/Times-Bold ff 285.00 scf sf
6225 2775 m
gs 1 -1 sc (B) col0 sh gr
/Times-Bold ff 285.00 scf sf
5325 2400 m
gs 1 -1 sc (O) col0 sh gr
/Times-Bold ff 285.00 scf sf
5400 2775 m
gs 1 -1 sc (.) col0 sh gr
/Times-Bold ff 285.00 scf sf
5325 3600 m
gs 1 -1 sc (Pattern "XXo") col0 sh gr
/Times-Bold ff 285.00 scf sf
3675 1950 m
gs 1 -1 sc (.) col0 sh gr
/Times-Bold ff 285.00 scf sf
5100 1800 m
gs 1 -1 sc (X) col0 sh gr
/Times-Bold ff 285.00 scf sf
3300 1800 m
gs 1 -1 sc (O) col0 sh gr
/Times-Bold ff 285.00 scf sf
6525 1800 m
gs 1 -1 sc (X) col0 sh gr
/Times-Bold ff 285.00 scf sf
7275 2025 m
gs 1 -1 sc (O) col0 sh gr
/Times-Bold ff 285.00 scf sf
7050 1800 m
gs 1 -1 sc (.) col0 sh gr
/Times-Bold ff 285.00 scf sf
11625 225 m
gs 1 -1 sc (Pattern "????..X") col0 sh gr
/Times-Bold ff 285.00 scf sf
8325 1950 m
gs 1 -1 sc (O) col21 sh gr
/Times-Bold ff 285.00 scf sf
8925 1575 m
gs 1 -1 sc (X) col21 sh gr
/Times-Bold ff 285.00 scf sf
9225 1875 m
gs 1 -1 sc (O) col21 sh gr
/Times-Bold ff 285.00 scf sf
9825 1875 m
gs 1 -1 sc (X) col21 sh gr
/Times-Bold ff 285.00 scf sf
10200 1800 m
gs 1 -1 sc (O) col21 sh gr
/Times-Bold ff 285.00 scf sf
10725 2100 m
gs 1 -1 sc (.) col21 sh gr
/Times-Bold ff 285.00 scf sf
9525 2775 m
gs 1 -1 sc (0) col21 sh gr
/Times-Bold ff 285.00 scf sf
8475 2775 m
gs 1 -1 sc (O) col21 sh gr
/Times-Bold ff 285.00 scf sf
8775 3600 m
gs 1 -1 sc (X) col21 sh gr
/Times-Bold ff 285.00 scf sf
9600 3750 m
gs 1 -1 sc (.) col21 sh gr
/Times-Bold ff 285.00 scf sf
11325 2100 m
gs 1 -1 sc (O) col21 sh gr
/Times-Bold ff 285.00 scf sf
11625 2325 m
gs 1 -1 sc (.) col21 sh gr
/Times-Bold ff 285.00 scf sf
12000 2850 m
gs 1 -1 sc (X) col21 sh gr
/Times-Bold ff 285.00 scf sf
10200 3450 m
gs 1 -1 sc (Error) col21 sh gr
$F2psEnd
rs
gnugo-3.9.1/doc/cdfa.fig 0000664 0000000 0000000 00000017102 11504204726 0014776 0 ustar 00root root 0000000 0000000 #FIG 3.2
Landscape
Center
Inches
Letter
50.00
Single
-2
1200 2
1 3 0 1 0 7 100 0 -1 0.000 1 0.0000 900 900 300 300 900 900 1200 900
1 3 0 1 0 7 100 0 -1 0.000 1 0.0000 6300 900 300 300 6300 900 6600 900
1 3 0 1 0 7 100 0 -1 0.000 1 0.0000 4500 900 300 300 4500 900 4800 900
1 3 0 1 0 7 100 0 -1 0.000 1 0.0000 2700 900 300 300 2700 900 3000 900
1 3 0 1 0 7 100 0 -1 0.000 1 0.0000 8100 900 300 300 8100 900 8400 900
1 3 0 1 0 7 100 0 -1 0.000 1 0.0000 9600 900 300 300 9600 900 9900 900
1 3 0 1 0 7 100 0 -1 0.000 1 0.0000 11100 900 300 300 11100 900 11400 900
1 3 0 1 0 7 100 0 -1 0.000 1 0.0000 12600 900 300 300 12600 900 12900 900
1 3 0 1 0 7 100 0 -1 0.000 1 0.0000 2700 2700 300 300 2700 2700 3000 2700
1 3 0 1 0 7 100 0 -1 0.000 1 0.0000 4500 2700 300 300 4500 2700 4800 2700
1 3 0 1 0 7 100 0 -1 0.000 1 0.0000 6300 2700 300 300 6300 2700 6600 2700
1 3 0 1 21 7 100 0 -1 0.000 1 0.0000 9600 2700 300 300 9600 2700 9900 2700
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 1.00 60.00 165.00
4800 900 6000 900
0.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 1.00 60.00 165.00
4800 900 5400 1500 6000 900
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 1.00 60.00 165.00
4800 892 5400 292 6000 892
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 1.00 60.00 165.00
3000 900 4200 900
0.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 1.00 60.00 165.00
3000 900 3600 1500 4200 900
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 1.00 60.00 165.00
3000 892 3600 292 4200 892
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 1.00 60.00 165.00
1200 900 1800 1350 2400 900
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 1.00 60.00 165.00
225 900 600 900
0.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 1.00 60.00 165.00
6600 900 7800 900
0.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 1.00 60.00 165.00
6600 900 7200 1500 7800 900
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 1.00 60.00 165.00
6600 892 7200 292 7800 892
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 1.00 60.00 165.00
8400 900 9300 900
0.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 1.00 60.00 165.00
9900 900 10800 900
0.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 1.00 60.00 165.00
11400 900 12300 900
0.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 1.00 60.00 165.00
1200 900 1800 450 2400 900
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 2.00 60.00 165.00
900 1200 1200 2400 2400 2700
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 1.00 60.00 165.00
3000 2700 4200 2700
0.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 2.00 60.00 165.00
2925 2475 3975 2100 4275 1125
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 2.00 60.00 165.00
2925 2475 3600 1725 4275 1125
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 2.00 60.00 165.00
4725 2475 6075 1125
0.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 1.00 60.00 165.00
4800 2700 5400 2400 6000 2700
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 1.00 60.00 165.00
4800 2700 5400 3000 6000 2700
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 1.00 60.00 165.00
6300 3000 6300 3300
0.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 2.00 60.00 165.00
6525 2475 6825 1575 7875 1125
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 3
1 1 2.00 60.00 165.00
6525 2475 7575 2175 7950 1200
0.000 1.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 2.00 60.00 165.00
6525 2475 7875 1200
0.000 0.000
3 0 0 1 0 7 100 0 -1 0.000 0 1 0 2
1 1 1.00 60.00 165.00
12600 600 12600 300
0.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 3
1 1 2.00 60.00 165.00
8250 1200 8625 1875 9300 2550
0.000 1.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 3
1 1 2.00 60.00 165.00
8325 1125 9075 1725 9300 2550
0.000 1.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 3
1 1 2.00 60.00 165.00
9600 1200 9450 1800 9600 2400
0.000 1.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 3
1 1 2.00 60.00 165.00
9600 1200 9825 1800 9600 2400
0.000 1.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 3
1 1 2.00 60.00 165.00
10950 1200 10725 2025 9900 2475
0.000 1.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 2
1 1 2.00 60.00 165.00
10950 1200 9825 2475
0.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 4
1 1 2.00 60.00 165.00
9300 2700 8700 2475 8700 3000 9300 2700
0.000 1.000 1.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 4
1 1 2.00 60.00 165.00
9375 2925 8775 3150 9225 3600 9375 2925
0.000 1.000 1.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 4
1 1 2.00 60.00 165.00
9600 3000 9375 3600 9900 3600 9600 3000
0.000 1.000 1.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 4
1 1 2.00 60.00 165.00
12600 1200 12000 2850 11100 3000 9900 2850
0.000 1.000 1.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 4
1 1 2.00 60.00 165.00
12600 1200 12000 2400 10800 2775 9900 2775
0.000 1.000 1.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 3
1 1 2.00 60.00 165.00
12600 1200 11400 2400 9900 2700
0.000 1.000 0.000
3 0 0 1 21 7 100 0 -1 0.000 0 1 0 2
1 1 2.00 60.00 165.00
9825 2925 10125 3225
0.000 0.000
4 0 0 100 0 2 19 0.0000 4 195 135 817 960 1\001
4 0 0 100 0 2 19 0.0000 4 45 75 5400 825 .\001
4 0 0 100 0 2 19 0.0000 4 195 225 5325 1200 O\001
4 0 0 100 0 2 19 0.0000 4 195 210 5325 442 X\001
4 0 0 100 0 2 19 0.0000 4 45 75 3600 825 .\001
4 0 0 100 0 2 19 0.0000 4 195 225 3525 1200 O\001
4 0 0 100 0 2 19 0.0000 4 195 210 3525 442 X\001
4 0 0 100 0 2 19 0.0000 4 195 135 2625 945 2\001
4 0 0 100 0 2 19 0.0000 4 195 135 4425 945 3\001
4 0 0 100 0 2 19 0.0000 4 195 135 6225 945 4\001
4 0 0 100 0 2 19 0.0000 4 45 75 7200 825 .\001
4 0 0 100 0 2 19 0.0000 4 195 225 7125 1200 O\001
4 0 0 100 0 2 19 0.0000 4 195 210 7125 442 X\001
4 0 0 100 0 2 19 0.0000 4 195 135 8025 945 5\001
4 0 0 100 0 2 19 0.0000 4 45 75 8775 750 .\001
4 0 0 100 0 2 19 0.0000 4 195 135 9525 975 6\001
4 0 0 100 0 2 19 0.0000 4 45 75 10275 750 .\001
4 0 0 100 0 2 19 0.0000 4 195 135 11025 975 7\001
4 0 0 100 0 2 19 0.0000 4 195 210 11700 825 X\001
4 0 0 100 0 2 19 0.0000 4 195 135 12525 975 8\001
4 0 0 100 0 2 19 0.0000 4 195 225 1725 1125 O\001
4 0 0 100 0 2 19 0.0000 4 45 75 1800 525 .\001
4 0 0 100 0 2 19 0.0000 4 195 210 1425 2175 X\001
4 0 0 100 0 2 19 0.0000 4 195 135 2625 2775 9\001
4 0 0 100 0 2 19 0.0000 4 195 210 4425 2775 A\001
4 0 0 100 0 2 19 0.0000 4 195 210 3525 2625 X\001
4 0 0 100 0 2 19 0.0000 4 195 195 6225 2775 B\001
4 0 0 100 0 2 19 0.0000 4 195 225 5325 2400 O\001
4 0 0 100 0 2 19 0.0000 4 45 75 5400 2775 .\001
4 0 0 100 0 2 19 0.0000 4 195 1860 5325 3600 Pattern "XXo"\001
4 0 0 100 0 2 19 0.0000 4 45 75 3675 1950 .\001
4 0 0 100 0 2 19 0.0000 4 195 210 5100 1800 X\001
4 0 0 100 0 2 19 0.0000 4 195 225 3300 1800 O\001
4 0 0 100 0 2 19 0.0000 4 195 210 6525 1800 X\001
4 0 0 100 0 2 19 0.0000 4 195 225 7275 2025 O\001
4 0 0 100 0 2 19 0.0000 4 45 75 7050 1800 .\001
4 0 0 100 0 2 19 0.0000 4 195 2205 11625 225 Pattern "????..X"\001
4 0 21 100 0 2 19 0.0000 4 195 225 8325 1950 O\001
4 0 21 100 0 2 19 0.0000 4 195 210 8925 1575 X\001
4 0 21 100 0 2 19 0.0000 4 195 225 9225 1875 O\001
4 0 21 100 0 2 19 0.0000 4 195 210 9825 1875 X\001
4 0 21 100 0 2 19 0.0000 4 195 225 10200 1800 O\001
4 0 21 100 0 2 19 0.0000 4 45 75 10725 2100 .\001
4 0 21 100 0 2 19 0.0000 4 195 135 9525 2775 0\001
4 0 21 100 0 2 19 0.0000 4 195 225 8475 2775 O\001
4 0 21 100 0 2 19 0.0000 4 195 210 8775 3600 X\001
4 0 21 100 0 2 19 0.0000 4 45 75 9600 3750 .\001
4 0 21 100 0 2 19 0.0000 4 195 225 11325 2100 O\001
4 0 21 100 0 2 19 0.0000 4 45 75 11625 2325 .\001
4 0 21 100 0 2 19 0.0000 4 195 210 12000 2850 X\001
4 0 21 100 0 2 19 0.0000 4 195 690 10200 3450 Error\001
gnugo-3.9.1/doc/cdfa.jpg 0000664 0000000 0000000 00000037301 11504204726 0015014 0 ustar 00root root 0000000 0000000 ÿØÿà JFIF P P ÿÛ C
$.' ",#(7),01444'9=82<.342ÿÛ C
2!!22222222222222222222222222222222222222222222222222ÿÀ |È" ÿÄ
ÿÄ µ } !1AQa"q2‘¡#B±ÁRÑð$3br‚
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ
ÿÄ µ w !1AQaq"2B‘¡±Á #3RðbrÑ
$4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ? ÷ú(¢€
(¢€
(¢€
*½Õý‘ö˸-üùV|éy’7ÝEÏV88“V( ¢Š( ¢Š( ¨çž[yn.%Ž"BòI#TP2I'€ ç5%cø‹Äº_†´é.uFÆÖO*I ŽîãÊóŠ0£î«F8BÆþÏS³ŽòÂî»Y3²h$#`pÂü*Åyß„M¦•ã]NÞÃWtýaä¿:v¥Ûß}±˜—h£xÑŒ3ór‡†¯D Š( Š( ©É«i°êérꉨL›â´i”JëÏ*™É+rcéW+Ìüe¬h-·û†»Ú4·‹S³¿°Ýq½Ê‰B—Xž8â%›8H e€=2ŠÏÐïÿ ´ô;+Ãwcw$‘/›5„žd
áü¶î¡ƒžxçšÐ Š( Š( çž[yn.%Ž"BòI#TP2I'€ ç5ýž§gå…Üv²gdÐH$FÁ á‡øVˆ¼K¥økN’çQÔlmdò¤’îî<¯8 É ±ê>ê±ä`€y?›M+ƺ½†¯éúÃÉ~tíJ7·¾ûc1.ÑFñ£
gæå
@‰EPEPEPEPEPEPEPEP\ß4©õ¯Ïaom%ӽū´1ùE™â7| vNÕnƒÐç¥t”P™ßx[\Ònô-ÃË©
ÕØÜOñD²-ÅÆéÃ,rE°¤{öñæü¡CV\þñM¯‡<4ú6Ÿ}¯c¢Me*M©‰ xX©Û7Ý‘ReR‡+º.cئ?`¢€<œxWÅ70jRÏuâ1ttGAuCoÞ” dK‡ù‚ %™Xg%É®ÓCÒf›Ã†‰Ûݼqyoþ•teií^G1‘ v|yn«óÃiö'¤®/Ææ¥¥xÏÁV¶ö·ré÷·³%Ó[FÌwyEc
‚Ϥ 爷ºh=OÁ6i®i-¥ióÃÚ¬š†¥sÀà˜‚‰ùç‚Û„^0Ê‚sNãÃZ„V2»³Ó.þÙqp§I¶3CÃFæxæ¶1ö©f”‡oº ÚÊ}Š àôŸ
IáŸ\ÝÙiš•ņ™ogiÍk¹%“æeÁÛÚ¯ÌP|ŽB’rOhZ‡ˆíìõ½/L“Jñ”ëwl÷1ÂÒ\m²3Ç.B1 ·Í·§p^òŠ çßÚv¿ýŸ«kZO•©§ÙnL_ifò&‡{"åHVØÓH3Œ6yÏ+ ¢€
¯}}o§YÉuu'—
`±$UFK1$ I Ms÷÷Þ8N¹{=C{¥‰Ì+ý¯+n|£ÝAç_¨ëXv·¾/¿—ÂQø³HÓlŒÚ›™ã¶»gÜÉÃÆ-¥@ÁóŠpÝ è'\º·–öÿ YA°D3à†#<
üµšBñŒ–
ƒià;%‰îuÛËwu©£À†IîdQÕ¼`eœ„&“…«À‘Žž9Ó¥Õü
iÖúÛî.m(`ù9Œ#eÈQµ°ÙÎFÜŒœ
Ü‚FšÞ)^ w@Í…K!#î¤ŒŽœ= +›%›Y¸{oÛÇw¢³j²“ö!¸‘ˆÙyÔŒ•\/PdFâ¹?
*\YØYk÷ÓÅáæŠ+mÞM°A%b2:¹id’#aF–ýÛm%}B€9ÿ ì=nÞ\ø¶ú)ÞKKhá›VXåqÇ\»sœ``ÄÞ&Ñî¯E¦¤¢/ïãhïPA-“m'g–NjµMÍgÄ ¤^XÙG§ßj×¾aŠÞ͈wfvTUrÃ%Ô kBÆúßQ³ŽêÖO2È©R$2²œ`AHA Š MÕlu{vžÂæ9ÑÇ ^' ާ”q‘•`îS¾Ô/.o$ÓtS º‹æêxÌÛdª²—‘haµNæ#(¯çãð妽¤êßÛ:–Ÿã‘SNM2´K2™ ÂH|Ò .ì°ùñ¶»‡2_\øD^jÐÇq{v×ʇ8•n$M¹ÉÈUEAÉ¢€p \þÆ×“÷ñøªwºêažÊ´Éê*¬»G;G›‘ÆKs›šV«5ÝÅÅ…ý´vº•²$’ŦXÌnX#£•RA(à‚ªACÆ6³aÙXÝKñçWo
}…V'µûqxºŒì%Ø£3³nŽ5E`¡P9-–)üC“W‚÷HŸÃ†C¬™dT ”±ß\H¹GˆHT ®Ø‘°Œz t—ÚµÃÞI¦éßh»\,×"Ìó>`ÌÛNádò»Œjêõ&›¡[i÷
{#É{©ºßPºT3²d€ª¨T*€3– ±$ãéRø†
.ÝtÍÃífÉæE"k³H$
óoßöb\±%‹KI$œÕ϶xÃþ€Zþfÿ äZ ؾ°³Ôì䳿´‚îÖLo†xÄˆØ Œ©àà€
ÇÝyá®f–ûSÒO¼³=ͩ裻挌ÒËZ<½'UÖd¸Ô-ôÛ_ÝÏÃ5ÜcÄóÜ41 ©Ü˜ÆT€ƒ `àjåý÷Ž#Ó®^Ï@ÐÞébs
ÿ kÊÛŸhÁ·PyÇ—ê:ÐÇöæ–Ú?ö´WðO`xYíßÍYí¡Sfw±o”*ä–àx¬{çÕœš†¯ÁáÍ4aöÇ^t9!TK<¥â9Ï!PaˆØ¿’|<–ùü]§[¦™io¤Þjf}A,.üë»[yäŠ8Te¬¬ä–c*{~ºd[$x4Û»Û…säµ ƒÍ·bŒ¾jùìŽÿ { š ËþÑÔtM;ûN}B
k@X¾Ð÷¿*\E7?v<¹×?(Œ„^Œyè/¯ôë9.®¤òáLB–$’ª¨Éf$€I Iª~ÓfѼ+¤iw
Oee
¼%K"$dŒA^wà×ñŸIgc{gko-õû[æÀ"Æ“ª¤ºF\o,w'™±¬˜pãì7¾!ùõXç°Ó~éÒ™£f¸þÐ˸m's¼°r‹¹ÚÛÅoopÁŽ8Ô*¢€ ¬?¶xÃþ€Zþfÿ äZË×5]fÎÞÚãYµðþŸw
ÑÉ'‰ç¶VB’-Ô8 °är(rû@I/$ÔtÉÿ ³u91æÜC°¹ «:‘ûÅå\…uÜrXø†ÞkÈôÛõû¬ÙÖb@˜€K€&Pì¯*Þü¢¿Û