diff -urN gnugo-3.0.0/ChangeLog gnugo-3.0.1pre1/ChangeLog --- gnugo-3.0.0/ChangeLog Fri Aug 24 22:52:15 2001 +++ gnugo-3.0.1pre1/ChangeLog Fri Aug 31 20:50:22 2001 @@ -2,6 +2,13 @@ -- ChangeLog ------------------------------------------------------------------------- +3.0.1pre1 released August 31, 2001 + + - bugfix in load_and_analyze_sgf_file + - bugfix in make_dragon + - add option gtp-input + - add missing section and subsection commands in texinfo documentation + 3.0.0 released August 24, 2001 - komi can be set from CGoban using the command line diff -urN gnugo-3.0.0/Makefile.in gnugo-3.0.1pre1/Makefile.in --- gnugo-3.0.0/Makefile.in Fri Aug 24 22:58:04 2001 +++ gnugo-3.0.1pre1/Makefile.in Sat Sep 1 12:09:06 2001 @@ -92,7 +92,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best all: all-redirect .SUFFIXES: diff -urN gnugo-3.0.0/NEWS gnugo-3.0.1pre1/NEWS --- gnugo-3.0.0/NEWS Fri Aug 24 17:09:57 2001 +++ gnugo-3.0.1pre1/NEWS Fri Aug 31 20:52:31 2001 @@ -1,4 +1,4 @@ -VERSION 3.0.0 +VERSION 3.0.1pre1 New in 3.0 (since 2.6) diff -urN gnugo-3.0.0/config.h.in gnugo-3.0.1pre1/config.h.in --- gnugo-3.0.0/config.h.in Mon Jul 16 06:59:53 2001 +++ gnugo-3.0.1pre1/config.h.in Sat Sep 1 12:07:18 2001 @@ -58,6 +58,9 @@ /* Define if you have the `setlinebuf' function. */ #undef HAVE_SETLINEBUF +/* Define if you have the header file. */ +#undef HAVE_STDINT_H + /* Define if you have the header file. */ #undef HAVE_STDLIB_H @@ -67,8 +70,14 @@ /* Define if you have the header file. */ #undef HAVE_STRING_H +/* Define if you have the header file. */ +#undef HAVE_SYS_STAT_H + /* Define if you have the header file. */ #undef HAVE_SYS_TIME_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_TYPES_H /* Define if you have the header file. */ #undef HAVE_TERM_H diff -urN gnugo-3.0.0/config.vc gnugo-3.0.1pre1/config.vc --- gnugo-3.0.0/config.vc Fri Aug 24 22:53:47 2001 +++ gnugo-3.0.1pre1/config.vc Sat Sep 1 12:09:05 2001 @@ -104,6 +104,6 @@ #define PACKAGE "gnugo" /* Version number of package */ -#define VERSION "3.0.0" +#define VERSION "3.0.1pre1" #pragma warning(disable: 4244 4305) diff -urN gnugo-3.0.0/configure gnugo-3.0.1pre1/configure --- gnugo-3.0.0/configure Fri Aug 24 22:52:39 2001 +++ gnugo-3.0.1pre1/configure Sat Sep 1 12:07:02 2001 @@ -1,12 +1,25 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by Autoconf 2.50. +# Generated by Autoconf 2.52. # # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. +# 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 + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" + # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh @@ -91,22 +104,16 @@ # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} -# Avoid depending upon Character Ranges. -ac_cr_az='abcdefghijklmnopqrstuvwxyz' -ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -ac_cr_09='0123456789' -ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09 - -# Sed expression to map a string onto a valid sh and CPP variable names. -ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g" -ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g" - ac_unique_file="engine/dragon.c" # Factoring default headers for most tests. ac_includes_default="\ #include -#include -#include +#if HAVE_SYS_TYPES_H +# include +#endif +#if HAVE_SYS_STAT_H +# include +#endif #if STDC_HEADERS # include # include @@ -120,13 +127,16 @@ # include # endif # include -#else -# if HAVE_STRINGS_H -# include -# endif +#endif +#if HAVE_STRINGS_H +# include #endif #if HAVE_INTTYPES_H # include +#else +# if HAVE_STDINT_H +# include +# endif #endif #if HAVE_UNISTD_H # include @@ -222,7 +232,7 @@ -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` @@ -231,7 +241,7 @@ -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` @@ -413,7 +423,7 @@ -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` @@ -426,7 +436,7 @@ -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` @@ -458,7 +468,7 @@ *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null && + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` @@ -468,7 +478,7 @@ *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null && + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; @@ -483,14 +493,23 @@ fi # Be sure to have absolute paths. +for ac_var in exec_prefix prefix +do + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* | NONE | '' ) ;; + *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; + esac +done + +# Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ - localstatedir libdir includedir oldincludedir infodir mandir \ - exec_prefix prefix + localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; - NONE ) ;; *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac @@ -736,7 +755,7 @@ running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was -generated by GNU Autoconf 2.50. Invocation command line was +generated by GNU Autoconf 2.52. Invocation command line was $ $0 $@ @@ -815,11 +834,11 @@ *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; - s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ - "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } >&5 @@ -840,7 +859,7 @@ exit $exit_status ' 0 for ac_signal in 1 2 13 15; do - trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 @@ -860,7 +879,7 @@ fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then - { echo "$as_me:863: loading site script $ac_site_file" >&5 + { echo "$as_me:882: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} cat "$ac_site_file" >&5 . "$ac_site_file" @@ -871,7 +890,7 @@ # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then - { echo "$as_me:874: loading cache $cache_file" >&5 + { echo "$as_me:893: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; @@ -879,14 +898,14 @@ esac fi else - { echo "$as_me:882: creating cache $cache_file" >&5 + { echo "$as_me:901: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. -ac_suggest_removing_cache=false +ac_cache_corrupted=false for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do eval ac_old_set=\$ac_cv_env_${ac_var}_set @@ -895,31 +914,44 @@ eval ac_new_val="\$ac_env_${ac_var}_value" case $ac_old_set,$ac_new_set in set,) - { echo "$as_me:898: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_suggest_removing_cache=: ;; + { echo "$as_me:917: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; ,set) - { echo "$as_me:902: WARNING: \`$ac_var' was not set in the previous run" >&5 -echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;} - ac_suggest_removing_cache=: ;; + { echo "$as_me:921: error: \`$ac_var' was not set in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:908: WARNING: \`$ac_var' has changed since the previous run:" >&5 -echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:910: WARNING: former value: $ac_old_val" >&5 -echo "$as_me: WARNING: former value: $ac_old_val" >&2;} - { echo "$as_me:912: WARNING: current value: $ac_new_val" >&5 -echo "$as_me: WARNING: current value: $ac_new_val" >&2;} - ac_suggest_removing_cache=: + { echo "$as_me:927: error: \`$ac_var' has changed since the previous run:" >&5 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { echo "$as_me:929: former value: $ac_old_val" >&5 +echo "$as_me: former value: $ac_old_val" >&2;} + { echo "$as_me:931: current value: $ac_new_val" >&5 +echo "$as_me: current value: $ac_new_val" >&2;} + ac_cache_corrupted=: fi;; esac + # Pass precious variables to config.status. It doesn't matter if + # we pass some twice (in addition to the command line arguments). + if test "$ac_new_set" = set; then + case $ac_new_val in + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` + ac_configure_args="$ac_configure_args '$ac_arg'" + ;; + *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" + ;; + esac + fi done -if $ac_suggest_removing_cache; then - { echo "$as_me:919: WARNING: changes in the environment can compromise the build" >&5 -echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;} - { echo "$as_me:921: WARNING: consider removing $cache_file and starting over" >&5 -echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;} +if $ac_cache_corrupted; then + { echo "$as_me:950: error: changes in the environment can compromise the build" >&5 +echo "$as_me: error: changes in the environment can compromise the build" >&2;} + { { echo "$as_me:952: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} + { (exit 1); exit 1; }; } fi ac_ext=c @@ -937,10 +969,10 @@ echo "#! $SHELL" >conftest.sh echo "exit 0" >>conftest.sh chmod +x conftest.sh -if { (echo "$as_me:940: PATH=\".;.\"; conftest.sh") >&5 +if { (echo "$as_me:972: PATH=\".;.\"; conftest.sh") >&5 (PATH=".;."; conftest.sh) 2>&5 ac_status=$? - echo "$as_me:943: \$? = $ac_status" >&5 + echo "$as_me:975: \$? = $ac_status" >&5 (exit $ac_status); }; then ac_path_separator=';' else @@ -970,7 +1002,7 @@ fi done if test -z "$ac_aux_dir"; then - { { echo "$as_me:973: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 + { { echo "$as_me:1005: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi @@ -990,7 +1022,7 @@ # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. -echo "$as_me:993: checking for a BSD compatible install" >&5 +echo "$as_me:1025: checking for a BSD compatible install" >&5 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then @@ -1039,7 +1071,7 @@ INSTALL=$ac_install_sh fi fi -echo "$as_me:1042: result: $INSTALL" >&5 +echo "$as_me:1074: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. @@ -1050,7 +1082,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -echo "$as_me:1053: checking whether build environment is sane" >&5 +echo "$as_me:1085: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 @@ -1073,7 +1105,7 @@ # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". - { { echo "$as_me:1076: error: ls -t appears to fail. Make sure there is not a broken + { { echo "$as_me:1108: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} @@ -1086,35 +1118,29 @@ # Ok. : else - { { echo "$as_me:1089: error: newly created file is older than distributed files! + { { echo "$as_me:1121: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest* -echo "$as_me:1096: result: yes" >&5 +echo "$as_me:1128: result: yes" >&5 echo "${ECHO_T}yes" >&6 -if test "$program_transform_name" = s,x,x,; then - program_transform_name= -else - # Double any \ or $. echo might interpret backslashes. - cat <<\EOF >conftest.sed -s,\\,\\\\,g; s,\$,$$,g -EOF - program_transform_name=`echo $program_transform_name | sed -f conftest.sed` - rm -f conftest.sed -fi test "$program_prefix" != NONE && - program_transform_name="s,^,${program_prefix},;$program_transform_name" + 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" - -# sed with no file args requires a program. -test -z "$program_transform_name" && program_transform_name="s,x,x," + program_transform_name="s,\$,$program_suffix,;$program_transform_name" +# Double any \ or $. echo might interpret backslashes. +# By default was `s,x,x', remove it if useless. +cat <<\_ACEOF >conftest.sed +s/[\\$]/&&/g;s/;s,x,x,$// +_ACEOF +program_transform_name=`echo $program_transform_name | sed -f conftest.sed` +rm conftest.sed -echo "$as_me:1117: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "$as_me:1143: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then @@ -1134,21 +1160,21 @@ rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$as_me:1137: result: yes" >&5 + echo "$as_me:1163: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else - echo "$as_me:1141: result: no" >&5 + echo "$as_me:1167: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi PACKAGE=gnugo -VERSION=3.0.0 +VERSION=3.0.1pre1 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - { { echo "$as_me:1151: error: source directory already configured; run \"make distclean\" there first" >&5 + { { echo "$as_me:1177: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi @@ -1162,78 +1188,78 @@ EOF missing_dir=`cd $ac_aux_dir && pwd` -echo "$as_me:1165: checking for working aclocal" >&5 +echo "$as_me:1191: checking for working aclocal" >&5 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (aclocal --version) < /dev/null > /dev/null 2>&1; then ACLOCAL=aclocal - echo "$as_me:1172: result: found" >&5 + echo "$as_me:1198: result: found" >&5 echo "${ECHO_T}found" >&6 else ACLOCAL="$missing_dir/missing aclocal" - echo "$as_me:1176: result: missing" >&5 + echo "$as_me:1202: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi -echo "$as_me:1180: checking for working autoconf" >&5 +echo "$as_me:1206: checking for working autoconf" >&5 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf - echo "$as_me:1187: result: found" >&5 + echo "$as_me:1213: result: found" >&5 echo "${ECHO_T}found" >&6 else AUTOCONF="$missing_dir/missing autoconf" - echo "$as_me:1191: result: missing" >&5 + echo "$as_me:1217: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi -echo "$as_me:1195: checking for working automake" >&5 +echo "$as_me:1221: checking for working automake" >&5 echo $ECHO_N "checking for working automake... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (automake --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake - echo "$as_me:1202: result: found" >&5 + echo "$as_me:1228: result: found" >&5 echo "${ECHO_T}found" >&6 else AUTOMAKE="$missing_dir/missing automake" - echo "$as_me:1206: result: missing" >&5 + echo "$as_me:1232: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi -echo "$as_me:1210: checking for working autoheader" >&5 +echo "$as_me:1236: checking for working autoheader" >&5 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader - echo "$as_me:1217: result: found" >&5 + echo "$as_me:1243: result: found" >&5 echo "${ECHO_T}found" >&6 else AUTOHEADER="$missing_dir/missing autoheader" - echo "$as_me:1221: result: missing" >&5 + echo "$as_me:1247: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi -echo "$as_me:1225: checking for working makeinfo" >&5 +echo "$as_me:1251: checking for working makeinfo" >&5 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo - echo "$as_me:1232: result: found" >&5 + echo "$as_me:1258: result: found" >&5 echo "${ECHO_T}found" >&6 else MAKEINFO="$missing_dir/missing makeinfo" - echo "$as_me:1236: result: missing" >&5 + echo "$as_me:1262: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi @@ -1242,7 +1268,7 @@ #define GNU_PACKAGE "$GNU_PACKAGE" EOF -echo "$as_me:1245: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "$as_me:1271: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then @@ -1251,7 +1277,7 @@ else USE_MAINTAINER_MODE=no fi; - echo "$as_me:1254: result: $USE_MAINTAINER_MODE" >&5 + echo "$as_me:1280: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 if test $USE_MAINTAINER_MODE = yes; then @@ -1302,7 +1328,7 @@ case "${enableval}" in yes) dfa_c=dfa ;; no) dfa_c = ;; - *) { { echo "$as_me:1305: error: bad value ${enableval} for --enable-dfa" >&5 + *) { { echo "$as_me:1331: error: bad value ${enableval} for --enable-dfa" >&5 echo "$as_me: error: bad value ${enableval} for --enable-dfa" >&2;} { (exit 1); exit 1; }; } ;; esac @@ -1324,7 +1350,7 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -echo "$as_me:1327: checking for $ac_word" >&5 +echo "$as_me:1353: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1339,7 +1365,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CC="${ac_tool_prefix}gcc" -echo "$as_me:1342: found $ac_dir/$ac_word" >&5 +echo "$as_me:1368: found $ac_dir/$ac_word" >&5 break done @@ -1347,10 +1373,10 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1350: result: $CC" >&5 + echo "$as_me:1376: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1353: result: no" >&5 + echo "$as_me:1379: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1359,7 +1385,7 @@ ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -echo "$as_me:1362: checking for $ac_word" >&5 +echo "$as_me:1388: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1374,7 +1400,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_CC="gcc" -echo "$as_me:1377: found $ac_dir/$ac_word" >&5 +echo "$as_me:1403: found $ac_dir/$ac_word" >&5 break done @@ -1382,10 +1408,10 @@ fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1385: result: $ac_ct_CC" >&5 + echo "$as_me:1411: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1388: result: no" >&5 + echo "$as_me:1414: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1398,7 +1424,7 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -echo "$as_me:1401: checking for $ac_word" >&5 +echo "$as_me:1427: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1413,7 +1439,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CC="${ac_tool_prefix}cc" -echo "$as_me:1416: found $ac_dir/$ac_word" >&5 +echo "$as_me:1442: found $ac_dir/$ac_word" >&5 break done @@ -1421,10 +1447,10 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1424: result: $CC" >&5 + echo "$as_me:1450: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1427: result: no" >&5 + echo "$as_me:1453: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1433,7 +1459,7 @@ ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo "$as_me:1436: checking for $ac_word" >&5 +echo "$as_me:1462: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1448,7 +1474,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_CC="cc" -echo "$as_me:1451: found $ac_dir/$ac_word" >&5 +echo "$as_me:1477: found $ac_dir/$ac_word" >&5 break done @@ -1456,10 +1482,10 @@ fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1459: result: $ac_ct_CC" >&5 + echo "$as_me:1485: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1462: result: no" >&5 + echo "$as_me:1488: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1472,7 +1498,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo "$as_me:1475: checking for $ac_word" >&5 +echo "$as_me:1501: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1492,7 +1518,7 @@ continue fi ac_cv_prog_CC="cc" -echo "$as_me:1495: found $ac_dir/$ac_word" >&5 +echo "$as_me:1521: found $ac_dir/$ac_word" >&5 break done @@ -1514,10 +1540,10 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1517: result: $CC" >&5 + echo "$as_me:1543: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1520: result: no" >&5 + echo "$as_me:1546: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1528,7 +1554,7 @@ do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:1531: checking for $ac_word" >&5 +echo "$as_me:1557: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1543,7 +1569,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CC="$ac_tool_prefix$ac_prog" -echo "$as_me:1546: found $ac_dir/$ac_word" >&5 +echo "$as_me:1572: found $ac_dir/$ac_word" >&5 break done @@ -1551,10 +1577,10 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1554: result: $CC" >&5 + echo "$as_me:1580: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1557: result: no" >&5 + echo "$as_me:1583: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1567,7 +1593,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:1570: checking for $ac_word" >&5 +echo "$as_me:1596: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1582,7 +1608,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_CC="$ac_prog" -echo "$as_me:1585: found $ac_dir/$ac_word" >&5 +echo "$as_me:1611: found $ac_dir/$ac_word" >&5 break done @@ -1590,10 +1616,10 @@ fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1593: result: $ac_ct_CC" >&5 + echo "$as_me:1619: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1596: result: no" >&5 + echo "$as_me:1622: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1605,12 +1631,32 @@ fi -test -z "$CC" && { { echo "$as_me:1608: error: no acceptable cc found in \$PATH" >&5 +test -z "$CC" && { { echo "$as_me:1634: error: no acceptable cc found in \$PATH" >&5 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} { (exit 1); exit 1; }; } +# Provide some information about the compiler. +echo "$as_me:1639:" \ + "checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (eval echo "$as_me:1642: \"$ac_compiler --version &5\"") >&5 + (eval $ac_compiler --version &5) 2>&5 + ac_status=$? + echo "$as_me:1645: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:1647: \"$ac_compiler -v &5\"") >&5 + (eval $ac_compiler -v &5) 2>&5 + ac_status=$? + echo "$as_me:1650: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:1652: \"$ac_compiler -V &5\"") >&5 + (eval $ac_compiler -V &5) 2>&5 + ac_status=$? + echo "$as_me:1655: \$? = $ac_status" >&5 + (exit $ac_status); } + cat >conftest.$ac_ext <<_ACEOF -#line 1613 "configure" +#line 1659 "configure" #include "confdefs.h" int @@ -1624,23 +1670,29 @@ ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe" # Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compiler, and finding out an intuition +# It will help us diagnose broken compilers, and finding out an intuition # of exeext. -echo "$as_me:1629: checking for C compiler default output" >&5 +echo "$as_me:1675: checking for C compiler default output" >&5 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -if { (eval echo "$as_me:1632: \"$ac_link_default\"") >&5 +if { (eval echo "$as_me:1678: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? - echo "$as_me:1635: \$? = $ac_status" >&5 + echo "$as_me:1681: \$? = $ac_status" >&5 (exit $ac_status); }; then - for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do + # Find the output, starting from the most likely. This scheme is +# not robust to junk in `.', hence go to wildcards (a.*) only as a last +# resort. +for ac_file in `ls a.exe conftest.exe 2>/dev/null; + ls a.out conftest 2>/dev/null; + ls a.* conftest.* 2>/dev/null`; do case $ac_file in *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; a.out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + # FIXME: I believe we export ac_cv_exeext for Libtool --akim. export ac_cv_exeext break;; * ) break;; @@ -1649,34 +1701,34 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -{ { echo "$as_me:1652: error: C compiler cannot create executables" >&5 +{ { echo "$as_me:1704: error: C compiler cannot create executables" >&5 echo "$as_me: error: C compiler cannot create executables" >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext -echo "$as_me:1658: result: $ac_file" >&5 +echo "$as_me:1710: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -echo "$as_me:1663: checking whether the C compiler works" >&5 +echo "$as_me:1715: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' - { (eval echo "$as_me:1669: \"$ac_try\"") >&5 + { (eval echo "$as_me:1721: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1672: \$? = $ac_status" >&5 + echo "$as_me:1724: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { echo "$as_me:1679: error: cannot run C compiled programs. + { { echo "$as_me:1731: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'." >&2;} @@ -1684,24 +1736,24 @@ fi fi fi -echo "$as_me:1687: result: yes" >&5 +echo "$as_me:1739: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -echo "$as_me:1694: checking whether we are cross compiling" >&5 +echo "$as_me:1746: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 -echo "$as_me:1696: result: $cross_compiling" >&5 +echo "$as_me:1748: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 -echo "$as_me:1699: checking for executable suffix" >&5 +echo "$as_me:1751: checking for executable suffix" >&5 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 -if { (eval echo "$as_me:1701: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1753: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1704: \$? = $ac_status" >&5 + echo "$as_me:1756: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will @@ -1717,25 +1769,25 @@ esac done else - { { echo "$as_me:1720: error: cannot compute EXEEXT: cannot compile and link" >&5 + { { echo "$as_me:1772: error: cannot compute EXEEXT: cannot compile and link" >&5 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext -echo "$as_me:1726: result: $ac_cv_exeext" >&5 +echo "$as_me:1778: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT -echo "$as_me:1732: checking for object suffix" >&5 +echo "$as_me:1784: checking for object suffix" >&5 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 1738 "configure" +#line 1790 "configure" #include "confdefs.h" int @@ -1747,10 +1799,10 @@ } _ACEOF rm -f conftest.o conftest.obj -if { (eval echo "$as_me:1750: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1802: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1753: \$? = $ac_status" >&5 + echo "$as_me:1805: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in @@ -1762,24 +1814,24 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -{ { echo "$as_me:1765: error: cannot compute OBJEXT: cannot compile" >&5 +{ { echo "$as_me:1817: error: cannot compute OBJEXT: cannot compile" >&5 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -echo "$as_me:1772: result: $ac_cv_objext" >&5 +echo "$as_me:1824: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -echo "$as_me:1776: checking whether we are using the GNU C compiler" >&5 +echo "$as_me:1828: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 1782 "configure" +#line 1834 "configure" #include "confdefs.h" int @@ -1794,16 +1846,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1797: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1849: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1800: \$? = $ac_status" >&5 + echo "$as_me:1852: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1803: \"$ac_try\"") >&5 + { (eval echo "$as_me:1855: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1806: \$? = $ac_status" >&5 + echo "$as_me:1858: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else @@ -1815,19 +1867,19 @@ ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -echo "$as_me:1818: result: $ac_cv_c_compiler_gnu" >&5 +echo "$as_me:1870: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" -echo "$as_me:1824: checking whether $CC accepts -g" >&5 +echo "$as_me:1876: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 1830 "configure" +#line 1882 "configure" #include "confdefs.h" int @@ -1839,16 +1891,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1842: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1894: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1845: \$? = $ac_status" >&5 + echo "$as_me:1897: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1848: \"$ac_try\"") >&5 + { (eval echo "$as_me:1900: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1851: \$? = $ac_status" >&5 + echo "$as_me:1903: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else @@ -1858,7 +1910,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:1861: result: $ac_cv_prog_cc_g" >&5 +echo "$as_me:1913: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS @@ -1885,16 +1937,16 @@ #endif _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1888: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1940: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1891: \$? = $ac_status" >&5 + echo "$as_me:1943: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1894: \"$ac_try\"") >&5 + { (eval echo "$as_me:1946: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1897: \$? = $ac_status" >&5 + echo "$as_me:1949: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ ''\ @@ -1906,7 +1958,7 @@ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF -#line 1909 "configure" +#line 1961 "configure" #include "confdefs.h" #include $ac_declaration @@ -1919,16 +1971,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1922: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1974: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1925: \$? = $ac_status" >&5 + echo "$as_me:1977: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1928: \"$ac_try\"") >&5 + { (eval echo "$as_me:1980: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1931: \$? = $ac_status" >&5 + echo "$as_me:1983: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -1938,7 +1990,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF -#line 1941 "configure" +#line 1993 "configure" #include "confdefs.h" $ac_declaration int @@ -1950,16 +2002,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:1953: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2005: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1956: \$? = $ac_status" >&5 + echo "$as_me:2008: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1959: \"$ac_try\"") >&5 + { (eval echo "$as_me:2011: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1962: \$? = $ac_status" >&5 + echo "$as_me:2014: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else @@ -1968,9 +2020,12 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext done -echo '#ifdef __cplusplus' >>confdefs.h -echo $ac_declaration >>confdefs.h -echo '#endif' >>confdefs.h +rm -f conftest* +if test -n "$ac_declaration"; then + echo '#ifdef __cplusplus' >>confdefs.h + echo $ac_declaration >>confdefs.h + echo '#endif' >>confdefs.h +fi else echo "$as_me: failed program was:" >&5 @@ -1983,7 +2038,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:1986: checking for library containing pow" >&5 +echo "$as_me:2041: checking for library containing pow" >&5 echo $ECHO_N "checking for library containing pow... $ECHO_C" >&6 if test "${ac_cv_search_pow+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1991,7 +2046,7 @@ ac_func_search_save_LIBS=$LIBS ac_cv_search_pow=no cat >conftest.$ac_ext <<_ACEOF -#line 1994 "configure" +#line 2049 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -2010,16 +2065,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:2013: \"$ac_link\"") >&5 +if { (eval echo "$as_me:2068: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:2016: \$? = $ac_status" >&5 + echo "$as_me:2071: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:2019: \"$ac_try\"") >&5 + { (eval echo "$as_me:2074: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2022: \$? = $ac_status" >&5 + echo "$as_me:2077: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_pow="none required" else @@ -2031,7 +2086,7 @@ for ac_lib in m; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 2034 "configure" +#line 2089 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -2050,16 +2105,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:2053: \"$ac_link\"") >&5 +if { (eval echo "$as_me:2108: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:2056: \$? = $ac_status" >&5 + echo "$as_me:2111: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:2059: \"$ac_try\"") >&5 + { (eval echo "$as_me:2114: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2062: \$? = $ac_status" >&5 + echo "$as_me:2117: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_pow="-l$ac_lib" break @@ -2072,20 +2127,20 @@ fi LIBS=$ac_func_search_save_LIBS fi -echo "$as_me:2075: result: $ac_cv_search_pow" >&5 +echo "$as_me:2130: result: $ac_cv_search_pow" >&5 echo "${ECHO_T}$ac_cv_search_pow" >&6 if test "$ac_cv_search_pow" != no; then test "$ac_cv_search_pow" = "none required" || LIBS="$ac_cv_search_pow $LIBS" fi -echo "$as_me:2082: checking for mingw32" >&5 +echo "$as_me:2137: checking for mingw32" >&5 echo $ECHO_N "checking for mingw32... $ECHO_C" >&6 if test "${ac_cv_mingw32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2088 "configure" +#line 2143 "configure" #include "confdefs.h" int @@ -2097,16 +2152,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:2100: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2155: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2103: \$? = $ac_status" >&5 + echo "$as_me:2158: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2106: \"$ac_try\"") >&5 + { (eval echo "$as_me:2161: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2109: \$? = $ac_status" >&5 + echo "$as_me:2164: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_mingw32="yes" else @@ -2117,7 +2172,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:2120: result: $ac_cv_mingw32" >&5 +echo "$as_me:2175: result: $ac_cv_mingw32" >&5 echo "${ECHO_T}$ac_cv_mingw32" >&6 if test $ac_cv_mingw32 = yes;then @@ -2129,7 +2184,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:2132: checking how to run the C preprocessor" >&5 +echo "$as_me:2187: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then @@ -2142,7 +2197,6 @@ # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do - # break 2 since there is a loop in there. ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do @@ -2151,18 +2205,18 @@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF -#line 2154 "configure" +#line 2208 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:2159: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2213: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2165: \$? = $ac_status" >&5 + echo "$as_me:2219: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2185,17 +2239,17 @@ # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF -#line 2188 "configure" +#line 2242 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:2192: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2246: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2198: \$? = $ac_status" >&5 + echo "$as_me:2252: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2221,7 +2275,7 @@ # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then - break 2 + break fi done @@ -2232,7 +2286,7 @@ else ac_cv_prog_CPP=$CPP fi -echo "$as_me:2235: result: $CPP" >&5 +echo "$as_me:2289: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes @@ -2242,18 +2296,18 @@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF -#line 2245 "configure" +#line 2299 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:2250: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2304: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2256: \$? = $ac_status" >&5 + echo "$as_me:2310: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2276,17 +2330,17 @@ # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF -#line 2279 "configure" +#line 2333 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:2283: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2337: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2289: \$? = $ac_status" >&5 + echo "$as_me:2343: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2314,7 +2368,7 @@ if $ac_preproc_ok; then : else - { { echo "$as_me:2317: error: C preprocessor \"$CPP\" fails sanity check" >&5 + { { echo "$as_me:2371: error: C preprocessor \"$CPP\" fails sanity check" >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} { (exit 1); exit 1; }; } fi @@ -2326,14 +2380,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test $ac_cv_c_compiler_gnu = yes; then - echo "$as_me:2329: checking whether $CC needs -traditional" >&5 + echo "$as_me:2383: checking whether $CC needs -traditional" >&5 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 if test "${ac_cv_prog_gcc_traditional+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_pattern="Autoconf.*'x'" cat >conftest.$ac_ext <<_ACEOF -#line 2336 "configure" +#line 2390 "configure" #include "confdefs.h" #include Autoconf TIOCGETP @@ -2348,7 +2402,7 @@ if test $ac_cv_prog_gcc_traditional = no; then cat >conftest.$ac_ext <<_ACEOF -#line 2351 "configure" +#line 2405 "configure" #include "confdefs.h" #include Autoconf TCGETA @@ -2361,7 +2415,7 @@ fi fi -echo "$as_me:2364: result: $ac_cv_prog_gcc_traditional" >&5 +echo "$as_me:2418: result: $ac_cv_prog_gcc_traditional" >&5 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" @@ -2371,7 +2425,7 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -echo "$as_me:2374: checking for $ac_word" >&5 +echo "$as_me:2428: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2386,7 +2440,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -echo "$as_me:2389: found $ac_dir/$ac_word" >&5 +echo "$as_me:2443: found $ac_dir/$ac_word" >&5 break done @@ -2394,10 +2448,10 @@ fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - echo "$as_me:2397: result: $RANLIB" >&5 + echo "$as_me:2451: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 else - echo "$as_me:2400: result: no" >&5 + echo "$as_me:2454: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2406,7 +2460,7 @@ ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -echo "$as_me:2409: checking for $ac_word" >&5 +echo "$as_me:2463: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2421,7 +2475,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_RANLIB="ranlib" -echo "$as_me:2424: found $ac_dir/$ac_word" >&5 +echo "$as_me:2478: found $ac_dir/$ac_word" >&5 break done @@ -2430,10 +2484,10 @@ fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - echo "$as_me:2433: result: $ac_ct_RANLIB" >&5 + echo "$as_me:2487: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 else - echo "$as_me:2436: result: no" >&5 + echo "$as_me:2490: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2442,7 +2496,7 @@ RANLIB="$ac_cv_prog_RANLIB" fi -echo "$as_me:2445: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "$as_me:2499: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then @@ -2462,22 +2516,22 @@ rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$as_me:2465: result: yes" >&5 + echo "$as_me:2519: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else - echo "$as_me:2469: result: no" >&5 + echo "$as_me:2523: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi -echo "$as_me:2474: checking whether sys/types.h defines makedev" >&5 +echo "$as_me:2528: checking whether sys/types.h defines makedev" >&5 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2480 "configure" +#line 2534 "configure" #include "confdefs.h" #include @@ -2490,16 +2544,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:2493: \"$ac_link\"") >&5 +if { (eval echo "$as_me:2547: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:2496: \$? = $ac_status" >&5 + echo "$as_me:2550: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:2499: \"$ac_try\"") >&5 + { (eval echo "$as_me:2553: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2502: \$? = $ac_status" >&5 + echo "$as_me:2556: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_sys_types_h_makedev=yes else @@ -2510,27 +2564,27 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:2513: result: $ac_cv_header_sys_types_h_makedev" >&5 +echo "$as_me:2567: result: $ac_cv_header_sys_types_h_makedev" >&5 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6 if test $ac_cv_header_sys_types_h_makedev = no; then -echo "$as_me:2517: checking for sys/mkdev.h" >&5 +echo "$as_me:2571: checking for sys/mkdev.h" >&5 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2523 "configure" +#line 2577 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:2527: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2581: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2533: \$? = $ac_status" >&5 + echo "$as_me:2587: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2549,7 +2603,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:2552: result: $ac_cv_header_sys_mkdev_h" >&5 +echo "$as_me:2606: result: $ac_cv_header_sys_mkdev_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6 if test $ac_cv_header_sys_mkdev_h = yes; then @@ -2560,23 +2614,23 @@ fi if test $ac_cv_header_sys_mkdev_h = no; then - echo "$as_me:2563: checking for sys/sysmacros.h" >&5 + echo "$as_me:2617: checking for sys/sysmacros.h" >&5 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2569 "configure" +#line 2623 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:2573: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2627: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2579: \$? = $ac_status" >&5 + echo "$as_me:2633: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2595,7 +2649,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:2598: result: $ac_cv_header_sys_sysmacros_h" >&5 +echo "$as_me:2652: result: $ac_cv_header_sys_sysmacros_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6 if test $ac_cv_header_sys_sysmacros_h = yes; then @@ -2608,13 +2662,13 @@ fi fi -echo "$as_me:2611: checking whether time.h and sys/time.h may both be included" >&5 +echo "$as_me:2665: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2617 "configure" +#line 2671 "configure" #include "confdefs.h" #include #include @@ -2623,22 +2677,23 @@ int main () { -struct tm *tp; +if ((struct tm *) 0) +return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:2632: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2687: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2635: \$? = $ac_status" >&5 + echo "$as_me:2690: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2638: \"$ac_try\"") >&5 + { (eval echo "$as_me:2693: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2641: \$? = $ac_status" >&5 + echo "$as_me:2696: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_time=yes else @@ -2648,7 +2703,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:2651: result: $ac_cv_header_time" >&5 +echo "$as_me:2706: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 if test $ac_cv_header_time = yes; then @@ -2658,7 +2713,7 @@ fi -echo "$as_me:2661: checking for $CC option to accept ANSI C" >&5 +echo "$as_me:2716: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2666,7 +2721,7 @@ ac_cv_prog_cc_stdc=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF -#line 2669 "configure" +#line 2724 "configure" #include "confdefs.h" #include #include @@ -2715,16 +2770,16 @@ do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext -if { (eval echo "$as_me:2718: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2773: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2721: \$? = $ac_status" >&5 + echo "$as_me:2776: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2724: \"$ac_try\"") >&5 + { (eval echo "$as_me:2779: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2727: \$? = $ac_status" >&5 + echo "$as_me:2782: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break @@ -2741,21 +2796,21 @@ case "x$ac_cv_prog_cc_stdc" in x|xno) - echo "$as_me:2744: result: none needed" >&5 + echo "$as_me:2799: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) - echo "$as_me:2747: result: $ac_cv_prog_cc_stdc" >&5 + echo "$as_me:2802: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac -echo "$as_me:2752: checking for an ANSI C-conforming const" >&5 +echo "$as_me:2807: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2758 "configure" +#line 2813 "configure" #include "confdefs.h" int @@ -2813,16 +2868,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:2816: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2871: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2819: \$? = $ac_status" >&5 + echo "$as_me:2874: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2822: \"$ac_try\"") >&5 + { (eval echo "$as_me:2877: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2825: \$? = $ac_status" >&5 + echo "$as_me:2880: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_const=yes else @@ -2832,7 +2887,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:2835: result: $ac_cv_c_const" >&5 +echo "$as_me:2890: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then @@ -2844,24 +2899,24 @@ for ac_header in unistd.h sys/time.h curses.h term.h do -ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` -echo "$as_me:2848: checking for $ac_header" >&5 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +echo "$as_me:2903: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$ac_ac_Header+set}\" = set"; then +if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2854 "configure" +#line 2909 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:2858: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2913: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2864: \$? = $ac_status" >&5 + echo "$as_me:2919: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2872,31 +2927,31 @@ ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then - eval "$ac_ac_Header=yes" + eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 - eval "$ac_ac_Header=no" + eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:2883: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 -if test `eval echo '${'$ac_ac_Header'}'` = yes; then +echo "$as_me:2938: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:2948: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2899 "configure" +#line 2954 "configure" #include "confdefs.h" #include #include @@ -2904,13 +2959,13 @@ #include _ACEOF -if { (eval echo "$as_me:2907: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:2962: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2913: \$? = $ac_status" >&5 + echo "$as_me:2968: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -2932,7 +2987,7 @@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line 2935 "configure" +#line 2990 "configure" #include "confdefs.h" #include @@ -2950,7 +3005,7 @@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF -#line 2953 "configure" +#line 3008 "configure" #include "confdefs.h" #include @@ -2971,7 +3026,7 @@ : else cat >conftest.$ac_ext <<_ACEOF -#line 2974 "configure" +#line 3029 "configure" #include "confdefs.h" #include #if ((' ' & 0x0FF) == 0x020) @@ -2997,15 +3052,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:3000: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3055: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3003: \$? = $ac_status" >&5 + echo "$as_me:3058: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:3005: \"$ac_try\"") >&5 + { (eval echo "$as_me:3060: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3008: \$? = $ac_status" >&5 + echo "$as_me:3063: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -3014,11 +3069,11 @@ cat conftest.$ac_ext >&5 ac_cv_header_stdc=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi -echo "$as_me:3021: result: $ac_cv_header_stdc" >&5 +echo "$as_me:3076: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then @@ -3028,61 +3083,60 @@ fi -for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h +# 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 -ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` -echo "$as_me:3034: checking for $ac_header" >&5 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +echo "$as_me:3092: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$ac_ac_Header+set}\" = set"; then +if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3040 "configure" +#line 3098 "configure" #include "confdefs.h" +$ac_includes_default #include <$ac_header> _ACEOF -if { (eval echo "$as_me:3044: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:3104: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:3050: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - eval "$ac_ac_Header=yes" + echo "$as_me:3107: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:3110: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:3113: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 - eval "$ac_ac_Header=no" +cat conftest.$ac_ext >&5 +eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3069: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 -if test `eval echo '${'$ac_ac_Header'}'` = yes; then +echo "$as_me:3123: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:3133: checking for int" >&5 echo $ECHO_N "checking for int... $ECHO_C" >&6 if test "${ac_cv_type_int+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3085 "configure" +#line 3139 "configure" #include "confdefs.h" $ac_includes_default int @@ -3097,16 +3151,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3100: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3154: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3103: \$? = $ac_status" >&5 + echo "$as_me:3157: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3106: \"$ac_try\"") >&5 + { (eval echo "$as_me:3160: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3109: \$? = $ac_status" >&5 + echo "$as_me:3163: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_int=yes else @@ -3116,10 +3170,10 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3119: result: $ac_cv_type_int" >&5 +echo "$as_me:3173: result: $ac_cv_type_int" >&5 echo "${ECHO_T}$ac_cv_type_int" >&6 -echo "$as_me:3122: checking size of int" >&5 +echo "$as_me:3176: checking size of int" >&5 echo $ECHO_N "checking size of int... $ECHO_C" >&6 if test "${ac_cv_sizeof_int+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3128,7 +3182,7 @@ if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF -#line 3131 "configure" +#line 3185 "configure" #include "confdefs.h" $ac_includes_default int @@ -3140,21 +3194,21 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3143: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3197: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3146: \$? = $ac_status" >&5 + echo "$as_me:3200: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3149: \"$ac_try\"") >&5 + { (eval echo "$as_me:3203: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3152: \$? = $ac_status" >&5 + echo "$as_me:3206: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 3157 "configure" +#line 3211 "configure" #include "confdefs.h" $ac_includes_default int @@ -3166,16 +3220,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3169: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3223: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3172: \$? = $ac_status" >&5 + echo "$as_me:3226: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3175: \"$ac_try\"") >&5 + { (eval echo "$as_me:3229: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3178: \$? = $ac_status" >&5 + echo "$as_me:3232: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else @@ -3191,7 +3245,7 @@ ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 3194 "configure" +#line 3248 "configure" #include "confdefs.h" $ac_includes_default int @@ -3203,16 +3257,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3206: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3260: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3209: \$? = $ac_status" >&5 + echo "$as_me:3263: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3212: \"$ac_try\"") >&5 + { (eval echo "$as_me:3266: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3215: \$? = $ac_status" >&5 + echo "$as_me:3269: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else @@ -3228,7 +3282,7 @@ while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF -#line 3231 "configure" +#line 3285 "configure" #include "confdefs.h" $ac_includes_default int @@ -3240,16 +3294,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3243: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3297: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3246: \$? = $ac_status" >&5 + echo "$as_me:3300: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3249: \"$ac_try\"") >&5 + { (eval echo "$as_me:3303: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3252: \$? = $ac_status" >&5 + echo "$as_me:3306: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else @@ -3262,12 +3316,12 @@ ac_cv_sizeof_int=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:3265: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:3319: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF -#line 3270 "configure" +#line 3324 "configure" #include "confdefs.h" $ac_includes_default int @@ -3283,15 +3337,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:3286: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3340: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3289: \$? = $ac_status" >&5 + echo "$as_me:3343: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:3291: \"$ac_try\"") >&5 + { (eval echo "$as_me:3345: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3294: \$? = $ac_status" >&5 + echo "$as_me:3348: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_int=`cat conftest.val` else @@ -3299,7 +3353,7 @@ echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val @@ -3307,19 +3361,19 @@ ac_cv_sizeof_int=0 fi fi -echo "$as_me:3310: result: $ac_cv_sizeof_int" >&5 +echo "$as_me:3364: result: $ac_cv_sizeof_int" >&5 echo "${ECHO_T}$ac_cv_sizeof_int" >&6 cat >>confdefs.h <&5 +echo "$as_me:3370: checking for long" >&5 echo $ECHO_N "checking for long... $ECHO_C" >&6 if test "${ac_cv_type_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3322 "configure" +#line 3376 "configure" #include "confdefs.h" $ac_includes_default int @@ -3334,16 +3388,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3337: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3391: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3340: \$? = $ac_status" >&5 + echo "$as_me:3394: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3343: \"$ac_try\"") >&5 + { (eval echo "$as_me:3397: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3346: \$? = $ac_status" >&5 + echo "$as_me:3400: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_long=yes else @@ -3353,10 +3407,10 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3356: result: $ac_cv_type_long" >&5 +echo "$as_me:3410: result: $ac_cv_type_long" >&5 echo "${ECHO_T}$ac_cv_type_long" >&6 -echo "$as_me:3359: checking size of long" >&5 +echo "$as_me:3413: checking size of long" >&5 echo $ECHO_N "checking size of long... $ECHO_C" >&6 if test "${ac_cv_sizeof_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3365,7 +3419,7 @@ if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF -#line 3368 "configure" +#line 3422 "configure" #include "confdefs.h" $ac_includes_default int @@ -3377,21 +3431,21 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3380: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3434: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3383: \$? = $ac_status" >&5 + echo "$as_me:3437: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3386: \"$ac_try\"") >&5 + { (eval echo "$as_me:3440: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3389: \$? = $ac_status" >&5 + echo "$as_me:3443: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 3394 "configure" +#line 3448 "configure" #include "confdefs.h" $ac_includes_default int @@ -3403,16 +3457,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3406: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3460: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3409: \$? = $ac_status" >&5 + echo "$as_me:3463: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3412: \"$ac_try\"") >&5 + { (eval echo "$as_me:3466: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3415: \$? = $ac_status" >&5 + echo "$as_me:3469: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else @@ -3428,7 +3482,7 @@ ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 3431 "configure" +#line 3485 "configure" #include "confdefs.h" $ac_includes_default int @@ -3440,16 +3494,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3443: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3497: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3446: \$? = $ac_status" >&5 + echo "$as_me:3500: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3449: \"$ac_try\"") >&5 + { (eval echo "$as_me:3503: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3452: \$? = $ac_status" >&5 + echo "$as_me:3506: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else @@ -3465,7 +3519,7 @@ while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF -#line 3468 "configure" +#line 3522 "configure" #include "confdefs.h" $ac_includes_default int @@ -3477,16 +3531,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3480: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3534: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3483: \$? = $ac_status" >&5 + echo "$as_me:3537: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3486: \"$ac_try\"") >&5 + { (eval echo "$as_me:3540: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3489: \$? = $ac_status" >&5 + echo "$as_me:3543: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else @@ -3499,12 +3553,12 @@ ac_cv_sizeof_long=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:3502: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:3556: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF -#line 3507 "configure" +#line 3561 "configure" #include "confdefs.h" $ac_includes_default int @@ -3520,15 +3574,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:3523: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3577: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3526: \$? = $ac_status" >&5 + echo "$as_me:3580: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:3528: \"$ac_try\"") >&5 + { (eval echo "$as_me:3582: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3531: \$? = $ac_status" >&5 + echo "$as_me:3585: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_long=`cat conftest.val` else @@ -3536,7 +3590,7 @@ echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f conftest.val @@ -3544,7 +3598,7 @@ ac_cv_sizeof_long=0 fi fi -echo "$as_me:3547: result: $ac_cv_sizeof_long" >&5 +echo "$as_me:3601: result: $ac_cv_sizeof_long" >&5 echo "${ECHO_T}$ac_cv_sizeof_long" >&6 cat >>confdefs.h <&5 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:3610: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$ac_ac_var+set}\" = set"; then +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3562 "configure" +#line 3616 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -3590,30 +3644,30 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3593: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3647: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3596: \$? = $ac_status" >&5 + echo "$as_me:3650: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3599: \"$ac_try\"") >&5 + { (eval echo "$as_me:3653: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3602: \$? = $ac_status" >&5 + echo "$as_me:3656: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$ac_ac_var=yes" + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -eval "$ac_ac_var=no" +eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:3612: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 -if test `eval echo '${'$ac_ac_var'}'` = yes; then +echo "$as_me:3666: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:3679: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_glibconfig+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3637,7 +3691,7 @@ test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_glibconfig="yes" -echo "$as_me:3640: found $ac_dir/$ac_word" >&5 +echo "$as_me:3694: found $ac_dir/$ac_word" >&5 break done @@ -3646,10 +3700,10 @@ fi glibconfig=$ac_cv_prog_glibconfig if test -n "$glibconfig"; then - echo "$as_me:3649: result: $glibconfig" >&5 + echo "$as_me:3703: result: $glibconfig" >&5 echo "${ECHO_T}$glibconfig" >&6 else - echo "$as_me:3652: result: no" >&5 + echo "$as_me:3706: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3661,14 +3715,14 @@ for ac_func in g_vsnprintf do -ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` -echo "$as_me:3665: checking for $ac_func" >&5 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:3719: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$ac_ac_var+set}\" = set"; then +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3671 "configure" +#line 3725 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -3699,30 +3753,30 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3702: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3756: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3705: \$? = $ac_status" >&5 + echo "$as_me:3759: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3708: \"$ac_try\"") >&5 + { (eval echo "$as_me:3762: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3711: \$? = $ac_status" >&5 + echo "$as_me:3765: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$ac_ac_var=yes" + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -eval "$ac_ac_var=no" +eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:3721: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 -if test `eval echo '${'$ac_ac_var'}'` = yes; then +echo "$as_me:3775: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +echo "$as_me:3788: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$ac_ac_Header+set}\" = set"; then +if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3740 "configure" +#line 3794 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:3744: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:3798: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:3750: \$? = $ac_status" >&5 + echo "$as_me:3804: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -3758,32 +3812,32 @@ ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then - eval "$ac_ac_Header=yes" + eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 - eval "$ac_ac_Header=no" + eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:3769: result: `eval echo '${'$ac_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 -if test `eval echo '${'$ac_ac_Header'}'` = yes; then +echo "$as_me:3823: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <&5 echo "$as_me: WARNING: glib installation problem. Continuing without glib " >&2;} fi else - { echo "$as_me:3786: WARNING: Neither vsnprintf nor glib found. Gnugo is + { echo "$as_me:3840: WARNING: Neither vsnprintf nor glib found. Gnugo is compiled but it is safer to get glib at http://www.gtk.org/" >&5 echo "$as_me: WARNING: Neither vsnprintf nor glib found. Gnugo is @@ -3792,13 +3846,13 @@ fi fi -echo "$as_me:3795: checking for __FUNCTION__" >&5 +echo "$as_me:3849: checking for __FUNCTION__" >&5 echo $ECHO_N "checking for __FUNCTION__... $ECHO_C" >&6 if test "${gnugo_cv_c___function__+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3801 "configure" +#line 3855 "configure" #include "confdefs.h" int @@ -3810,16 +3864,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3813: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3867: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3816: \$? = $ac_status" >&5 + echo "$as_me:3870: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3819: \"$ac_try\"") >&5 + { (eval echo "$as_me:3873: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3822: \$? = $ac_status" >&5 + echo "$as_me:3876: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gnugo_cv_c___function__="yes" else @@ -3830,7 +3884,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3833: result: $gnugo_cv_c___function__" >&5 +echo "$as_me:3887: result: $gnugo_cv_c___function__" >&5 echo "${ECHO_T}$gnugo_cv_c___function__" >&6 if test "$gnugo_cv_c___function__" = "yes";then cat >>confdefs.h <<\EOF @@ -3839,13 +3893,13 @@ fi -echo "$as_me:3842: checking for variadic cpp define" >&5 +echo "$as_me:3896: checking for variadic cpp define" >&5 echo $ECHO_N "checking for variadic cpp define... $ECHO_C" >&6 if test "${gnugo_cv_cpp_variadic_define+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3848 "configure" +#line 3902 "configure" #include "confdefs.h" #include #define zz(fmt,arg...) printf(fmt,##arg) @@ -3858,16 +3912,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3861: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3915: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3864: \$? = $ac_status" >&5 + echo "$as_me:3918: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3867: \"$ac_try\"") >&5 + { (eval echo "$as_me:3921: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3870: \$? = $ac_status" >&5 + echo "$as_me:3924: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gnugo_cv_cpp_variadic_define="yes" else @@ -3878,7 +3932,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3881: result: $gnugo_cv_cpp_variadic_define" >&5 +echo "$as_me:3935: result: $gnugo_cv_cpp_variadic_define" >&5 echo "${ECHO_T}$gnugo_cv_cpp_variadic_define" >&6 if test "$gnugo_cv_cpp_variadic_define" = "yes";then cat >>confdefs.h <<\EOF @@ -3888,7 +3942,7 @@ fi if test "$ac_cv_header_curses_h" = "yes" -a "$ac_cv_mingw32" = "no";then - echo "$as_me:3891: checking for library containing initscr" >&5 + echo "$as_me:3945: checking for library containing initscr" >&5 echo $ECHO_N "checking for library containing initscr... $ECHO_C" >&6 if test "${ac_cv_search_initscr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3896,7 +3950,7 @@ ac_func_search_save_LIBS=$LIBS ac_cv_search_initscr=no cat >conftest.$ac_ext <<_ACEOF -#line 3899 "configure" +#line 3953 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -3915,16 +3969,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3918: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3972: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3921: \$? = $ac_status" >&5 + echo "$as_me:3975: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3924: \"$ac_try\"") >&5 + { (eval echo "$as_me:3978: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3927: \$? = $ac_status" >&5 + echo "$as_me:3981: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_initscr="none required" else @@ -3936,7 +3990,7 @@ for ac_lib in ncurses curses pdcurses termcap terminfo termlib; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 3939 "configure" +#line 3993 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -3955,16 +4009,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3958: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4012: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3961: \$? = $ac_status" >&5 + echo "$as_me:4015: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3964: \"$ac_try\"") >&5 + { (eval echo "$as_me:4018: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3967: \$? = $ac_status" >&5 + echo "$as_me:4021: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_initscr="-l$ac_lib" break @@ -3977,7 +4031,7 @@ fi LIBS=$ac_func_search_save_LIBS fi -echo "$as_me:3980: result: $ac_cv_search_initscr" >&5 +echo "$as_me:4034: result: $ac_cv_search_initscr" >&5 echo "${ECHO_T}$ac_cv_search_initscr" >&6 if test "$ac_cv_search_initscr" != no; then test "$ac_cv_search_initscr" = "none required" || LIBS="$ac_cv_search_initscr $LIBS" @@ -3991,14 +4045,14 @@ for ac_func in vwprintw keypad do -ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` -echo "$as_me:3995: checking for $ac_func" >&5 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:4049: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$ac_ac_var+set}\" = set"; then +if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4001 "configure" +#line 4055 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -4029,42 +4083,42 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4032: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4086: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4035: \$? = $ac_status" >&5 + echo "$as_me:4089: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4038: \"$ac_try\"") >&5 + { (eval echo "$as_me:4092: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4041: \$? = $ac_status" >&5 + echo "$as_me:4095: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$ac_ac_var=yes" + eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -eval "$ac_ac_var=no" +eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4051: result: `eval echo '${'$ac_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 -if test `eval echo '${'$ac_ac_var'}'` = yes; then +echo "$as_me:4105: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <&5 + echo "$as_me:4115: checking for KEY_UP" >&5 echo $ECHO_N "checking for KEY_UP... $ECHO_C" >&6 if test "${gnugo_cv_decl_key_up+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4067 "configure" +#line 4121 "configure" #include "confdefs.h" #include int @@ -4076,16 +4130,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4079: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4133: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4082: \$? = $ac_status" >&5 + echo "$as_me:4136: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4085: \"$ac_try\"") >&5 + { (eval echo "$as_me:4139: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4088: \$? = $ac_status" >&5 + echo "$as_me:4142: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gnugo_cv_decl_key_up="yes" else @@ -4096,7 +4150,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:4099: result: $gnugo_cv_decl_key_up" >&5 +echo "$as_me:4153: result: $gnugo_cv_decl_key_up" >&5 echo "${ECHO_T}$gnugo_cv_decl_key_up" >&6 if test "$gnugo_cv_decl_key_up" = "yes";then cat >>confdefs.h <<\EOF @@ -4114,7 +4168,7 @@ if test "$ac_cv_header_term_h$ac_cv_header_curses_h" = "yesyes" ; then - echo "$as_me:4117: checking for library containing tparm" >&5 + echo "$as_me:4171: checking for library containing tparm" >&5 echo $ECHO_N "checking for library containing tparm... $ECHO_C" >&6 if test "${ac_cv_search_tparm+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -4122,7 +4176,7 @@ ac_func_search_save_LIBS=$LIBS ac_cv_search_tparm=no cat >conftest.$ac_ext <<_ACEOF -#line 4125 "configure" +#line 4179 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4141,16 +4195,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4144: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4198: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4147: \$? = $ac_status" >&5 + echo "$as_me:4201: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4150: \"$ac_try\"") >&5 + { (eval echo "$as_me:4204: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4153: \$? = $ac_status" >&5 + echo "$as_me:4207: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_tparm="none required" else @@ -4162,7 +4216,7 @@ for ac_lib in ncurses curses pdcurses termcap terminfo termlib; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 4165 "configure" +#line 4219 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4181,16 +4235,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4184: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4238: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4187: \$? = $ac_status" >&5 + echo "$as_me:4241: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4190: \"$ac_try\"") >&5 + { (eval echo "$as_me:4244: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4193: \$? = $ac_status" >&5 + echo "$as_me:4247: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_tparm="-l$ac_lib" break @@ -4203,7 +4257,7 @@ fi LIBS=$ac_func_search_save_LIBS fi -echo "$as_me:4206: result: $ac_cv_search_tparm" >&5 +echo "$as_me:4260: result: $ac_cv_search_tparm" >&5 echo "${ECHO_T}$ac_cv_search_tparm" >&6 if test "$ac_cv_search_tparm" != no; then test "$ac_cv_search_tparm" = "none required" || LIBS="$ac_cv_search_tparm $LIBS" @@ -4229,9 +4283,9 @@ fi -echo "$as_me:4232: checking for color support" >&5 +echo "$as_me:4286: checking for color support" >&5 echo $ECHO_N "checking for color support... $ECHO_C" >&6 -echo "$as_me:4234: result: $tmp_color_result" >&5 +echo "$as_me:4288: result: $tmp_color_result" >&5 echo "${ECHO_T}$tmp_color_result" >&6 if test "$enable_grid_opt" = "distrust" ; then @@ -4360,12 +4414,12 @@ # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; - s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + 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 \ - "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | @@ -4410,7 +4464,7 @@ : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:4413: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:4467: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -4542,7 +4596,7 @@ cat >>$CONFIG_STATUS <&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} @@ -4604,29 +4658,15 @@ CONFIG_HEADERS="$CONFIG_HEADERS $1" ac_need_defaults=false;; - # Handling of arguments. - '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" ;; - 'interface/debugboard/Makefile' ) CONFIG_FILES="$CONFIG_FILES interface/debugboard/Makefile" ;; - 'config.vc' ) CONFIG_FILES="$CONFIG_FILES config.vc:config.vcin" ;; - 'default-1' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; - 'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - # This is an error. - -*) { { echo "$as_me:4622: error: unrecognized option: $1 + -*) { { echo "$as_me:4662: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; - *) { { echo "$as_me:4627: error: invalid argument: $1" >&5 -echo "$as_me: error: invalid argument: $1" >&2;} - { (exit 1); exit 1; }; };; + + *) ac_config_targets="$ac_config_targets $1" ;; + esac shift done @@ -4638,14 +4678,47 @@ ## Running config.status. ## ## ----------------------- ## -This file was extended by $as_me 2.50, executed with +This file was extended by $as_me 2.52, executed with + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS > $ac_cs_invocation on `(hostname || uname -n) 2>/dev/null | sed 1q` _ACEOF EOF +cat >>$CONFIG_STATUS <>$CONFIG_STATUS <<\EOF +for ac_config_target in $ac_config_targets +do + case "$ac_config_target" in + # Handling of arguments. + "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" ;; + "interface/debugboard/Makefile" ) CONFIG_FILES="$CONFIG_FILES interface/debugboard/Makefile" ;; + "config.vc" ) CONFIG_FILES="$CONFIG_FILES config.vc:config.vcin" ;; + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + *) { { echo "$as_me:4716: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +done + # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely @@ -4660,7 +4733,7 @@ $debug || { trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 - trap '{ (exit $?); exit $?; }' 1 2 13 15 + trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. @@ -4681,13 +4754,6 @@ EOF cat >>$CONFIG_STATUS <>$CONFIG_STATUS <&5 + { echo "$as_me:4944: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -4890,7 +4959,7 @@ -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:4893: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:4962: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -4903,7 +4972,7 @@ echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:4906: error: cannot find input file: $f" >&5 + { { echo "$as_me:4975: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -4964,7 +5033,7 @@ * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:4967: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:5036: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -4975,7 +5044,7 @@ -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:4978: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:5047: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -4988,7 +5057,7 @@ echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:4991: error: cannot find input file: $f" >&5 + { { echo "$as_me:5060: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -5105,7 +5174,7 @@ rm -f $tmp/in if test x"$ac_file" != x-; then if cmp -s $ac_file $tmp/config.h 2>/dev/null; then - { echo "$as_me:5108: $ac_file is unchanged" >&5 + { echo "$as_me:5177: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ diff -urN gnugo-3.0.0/configure.in gnugo-3.0.1pre1/configure.in --- gnugo-3.0.0/configure.in Fri Aug 24 17:09:50 2001 +++ gnugo-3.0.1pre1/configure.in Fri Aug 31 21:01:37 2001 @@ -18,7 +18,7 @@ [Define to the version of the distribution.]) dnl this defines VERSION and PACKAGE -AM_INIT_AUTOMAKE([gnugo], [3.0.0]) +AM_INIT_AUTOMAKE([gnugo], [3.0.1pre1]) GNU_PACKAGE="GNU $PACKAGE" AC_DEFINE_UNQUOTED(GNU_PACKAGE, "$GNU_PACKAGE") diff -urN gnugo-3.0.0/doc/Makefile.in gnugo-3.0.1pre1/doc/Makefile.in --- gnugo-3.0.0/doc/Makefile.in Fri Aug 24 22:52:44 2001 +++ gnugo-3.0.1pre1/doc/Makefile.in Sat Sep 1 12:07:23 2001 @@ -112,7 +112,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best all: all-redirect .SUFFIXES: diff -urN gnugo-3.0.0/doc/gnugo.info gnugo-3.0.1pre1/doc/gnugo.info --- gnugo-3.0.0/doc/gnugo.info Fri Aug 24 22:34:24 2001 +++ gnugo-3.0.1pre1/doc/gnugo.info Fri Aug 31 20:42:03 2001 @@ -8,16 +8,16 @@  Indirect: gnugo.info-1: 186 -gnugo.info-2: 49510 -gnugo.info-3: 95882 -gnugo.info-4: 145646 -gnugo.info-5: 195247 -gnugo.info-6: 244211 -gnugo.info-7: 293742 -gnugo.info-8: 339371 -gnugo.info-9: 378955 -gnugo.info-10: 419177 -gnugo.info-11: 469151 +gnugo.info-2: 49547 +gnugo.info-3: 95919 +gnugo.info-4: 145683 +gnugo.info-5: 195339 +gnugo.info-6: 244303 +gnugo.info-7: 293834 +gnugo.info-8: 339557 +gnugo.info-9: 379168 +gnugo.info-10: 419478 +gnugo.info-11: 469452  Tag Table: (Indirect) @@ -31,175 +31,175 @@ Node: Installation12458 Node: GNU/Linux and Unix13038 Node: Configure Options14986 -Node: Ram Cache15371 -Node: Default Level16768 -Node: DFA Option17581 -Node: Windows and MS-DOS18009 -Node: DJGPP19908 -Node: Cygwin20901 -Node: MinGW3221888 -Node: VC22518 -Node: Macintosh26514 -Node: User Guide26771 -Node: Documentation27356 -Node: CGoban29050 -Node: Ascii30597 -Node: Emacs31473 -Node: Jago33106 -Node: GMP and GTP33621 -Node: Tournaments34451 -Node: SGF Support35058 -Node: Invoking GNU Go35389 -Node: Overview48767 -Node: Definitions49510 -Node: Move Generation Basics50689 -Node: Examining the Position56126 -Node: Sequence of Events59015 -Node: Roadmap59855 -Node: Coding Styles70301 -Node: Navigating the Source73295 -Node: Analyzing74087 -Node: Traces74928 -Node: Output File75883 -Node: Decide string76933 -Node: Decide dragon80031 -Node: GTP and GDB techniques80464 -Node: Debugboard81199 -Node: Scoring81706 -Node: Colored Display83268 -Node: API86399 -Node: Getting Started90590 -Node: Basic Data Structures91590 -Node: The Position Struct92602 -Node: Positional Functions95882 -Node: SGF105571 -Ref: sgfAddPlay111984 -Ref: sgfAddPlayLast112515 -Ref: sgfStartVariant114755 -Ref: sgfStartVariantFirst115042 -Node: Libboard120991 -Node: Board Data Structures122708 -Node: Board Setup Functions124252 -Node: Move Functions125244 -Node: Status Functions130227 -Node: String Functions132240 -Node: Move Generation137127 -Node: MG Intro137715 -Node: MG Overview139439 -Node: MG Info139963 -Node: MG Reasons141118 -Node: MG Details143341 -Node: Attack and Defense144209 -Node: Threats to Attack or Defend145646 -Node: Non-Working Moves146324 -Node: Multi Attack or Defense146815 -Node: Cutting and Connecting147168 -Node: Semeai148136 -Node: Making eyes148907 -Node: Antisuji moves149515 -Node: Territorial moves149901 -Node: Owl attack and defense150451 -Node: Combination Attacks152088 -Node: Valuation152506 -Node: Territorial value155244 -Node: Influence value156308 -Node: Strategical value156853 -Node: Shape factor157430 -Node: Minimum Value158382 -Node: Secondary Value158773 -Node: Threats and Followup Value159040 -Node: Move Generation Functions159659 -Node: Local MG Functions165257 -Node: End Game171163 -Node: Worms and Dragons171548 -Node: Worms174346 -Node: Amalgamation187490 -Node: Connection191732 -Node: Half Eyes193573 -Node: Dragons195247 -Node: Dragons in Color202038 -Node: Worm and Dragon Functions203507 -Node: Dragon2206218 -Node: Eyes207568 -Node: Local Games208631 -Node: Eye Space209700 -Node: Eye Space as Local Game211784 -Node: Eye Example214601 -Node: Graphs215362 -Node: Eye Shape217079 -Node: Eye Topology218054 -Node: False Margins220089 -Node: Eye Functions220682 -Node: Patterns227051 -Node: Patterns Overview228191 -Node: Pattern Classification231893 -Node: Pattern Values236865 -Node: Helper Functions237839 -Node: Autohelpers and Constraints240741 -Node: Autohelper Actions243174 -Node: Autohelper Functions244211 -Node: Attack and Defense DB255124 -Node: Connections Database256428 -Node: Connection Functions258724 -Node: Tuning260734 -Node: PM Implementation268748 -Node: Symmetry & transformations270115 -Node: Details271988 -Node: grid optimization274199 -Node: Joseki Compiler275722 -Node: Ladders in Joseki279306 -Node: DFA281221 -Node: Using DFA282458 -Node: Scan Path282952 -Node: What is a DFA284162 -Node: Pattern matching with DFA288822 -Node: Building the DFA291417 -Node: Incremental Algorithm293742 -Node: DFA Optimizations294920 -Node: Tactical Reading295390 -Node: Reading Basics296628 -Node: Hashing306515 -Node: Hash Calculation308092 -Node: Hash Organization309627 -Node: Hash Structures312230 -Node: Hash Functions315490 -Node: Persistent Cache320776 -Node: Ko323410 -Node: A Ko Example326688 -Node: Another Ko Example328760 -Node: Alternate Komaster Schemes330303 -Node: Superstrings332006 -Node: Reading Functions333351 -Node: Debugging339371 -Node: Life and Death Reading343915 -Node: The Owl Code345074 -Node: Owl Functions350059 -Node: Influence354570 -Node: Influential Concepts355140 -Node: The Influence Core357481 -Node: The Influence Algorithm360650 -Node: Permeability363841 -Node: Escape365383 -Node: Influential Functions368663 -Node: Influential Display371044 -Node: Moyo373073 -Node: Moyo history373456 -Node: Bouzy374822 -Node: Utility Functions378288 -Node: General Utilities378955 -Node: Print Utilities390570 -Node: Incremental Board392996 -Node: GTP400724 -Node: The Go Text Protocol401085 -Node: Protocol applications404815 -Node: Protocol conventions407068 -Node: Regression with GTP411614 -Node: Regression412244 -Node: Copying418721 -Node: GPL419177 -Node: GFDL438362 -Node: GTP License458225 -Node: Concept Index459927 -Node: Functions Index469151 +Node: Ram Cache15408 +Node: Default Level16805 +Node: DFA Option17618 +Node: Windows and MS-DOS18046 +Node: DJGPP19945 +Node: Cygwin20938 +Node: MinGW3221925 +Node: VC22555 +Node: Macintosh26551 +Node: User Guide26808 +Node: Documentation27393 +Node: CGoban29087 +Node: Ascii30634 +Node: Emacs31510 +Node: Jago33143 +Node: GMP and GTP33658 +Node: Tournaments34488 +Node: SGF Support35095 +Node: Invoking GNU Go35426 +Node: Overview48804 +Node: Definitions49547 +Node: Move Generation Basics50726 +Node: Examining the Position56163 +Node: Sequence of Events59052 +Node: Roadmap59892 +Node: Coding Styles70338 +Node: Navigating the Source73332 +Node: Analyzing74124 +Node: Traces74965 +Node: Output File75920 +Node: Decide string76970 +Node: Decide dragon80068 +Node: GTP and GDB techniques80501 +Node: Debugboard81236 +Node: Scoring81743 +Node: Colored Display83305 +Node: API86436 +Node: Getting Started90627 +Node: Basic Data Structures91627 +Node: The Position Struct92639 +Node: Positional Functions95919 +Node: SGF105608 +Ref: sgfAddPlay112021 +Ref: sgfAddPlayLast112552 +Ref: sgfStartVariant114792 +Ref: sgfStartVariantFirst115079 +Node: Libboard121028 +Node: Board Data Structures122745 +Node: Board Setup Functions124289 +Node: Move Functions125281 +Node: Status Functions130264 +Node: String Functions132277 +Node: Move Generation137164 +Node: MG Intro137752 +Node: MG Overview139476 +Node: MG Info140000 +Node: MG Reasons141155 +Node: MG Details143378 +Node: Attack and Defense144246 +Node: Threats to Attack or Defend145683 +Node: Non-Working Moves146361 +Node: Multi Attack or Defense146852 +Node: Cutting and Connecting147205 +Node: Semeai148173 +Node: Making eyes148944 +Node: Antisuji moves149552 +Node: Territorial moves149938 +Node: Owl attack and defense150488 +Node: Combination Attacks152125 +Node: Valuation152543 +Node: Territorial value155281 +Node: Influence value156345 +Node: Strategical value156890 +Node: Shape factor157467 +Node: Minimum Value158419 +Node: Secondary Value158810 +Node: Threats and Followup Value159077 +Node: Move Generation Functions159751 +Node: Local MG Functions165349 +Node: End Game171255 +Node: Worms and Dragons171640 +Node: Worms174438 +Node: Amalgamation187582 +Node: Connection191824 +Node: Half Eyes193665 +Node: Dragons195339 +Node: Dragons in Color202130 +Node: Worm and Dragon Functions203599 +Node: Dragon2206310 +Node: Eyes207660 +Node: Local Games208723 +Node: Eye Space209792 +Node: Eye Space as Local Game211876 +Node: Eye Example214693 +Node: Graphs215454 +Node: Eye Shape217171 +Node: Eye Topology218146 +Node: False Margins220181 +Node: Eye Functions220774 +Node: Patterns227143 +Node: Patterns Overview228283 +Node: Pattern Classification231985 +Node: Pattern Values236957 +Node: Helper Functions237931 +Node: Autohelpers and Constraints240833 +Node: Autohelper Actions243266 +Node: Autohelper Functions244303 +Node: Attack and Defense DB255216 +Node: Connections Database256520 +Node: Connection Functions258816 +Node: Tuning260826 +Node: PM Implementation268840 +Node: Symmetry & transformations270207 +Node: Details272080 +Node: grid optimization274291 +Node: Joseki Compiler275814 +Node: Ladders in Joseki279398 +Node: DFA281313 +Node: Using DFA282550 +Node: Scan Path283044 +Node: What is a DFA284254 +Node: Pattern matching with DFA288914 +Node: Building the DFA291509 +Node: Incremental Algorithm293834 +Node: DFA Optimizations295012 +Node: Tactical Reading295482 +Node: Reading Basics296720 +Node: Hashing306607 +Node: Hash Calculation308184 +Node: Hash Organization309719 +Node: Hash Structures312322 +Node: Hash Functions315582 +Node: Persistent Cache320868 +Node: Ko323502 +Node: A Ko Example326780 +Node: Another Ko Example328852 +Node: Alternate Komaster Schemes330434 +Node: Superstrings332192 +Node: Reading Functions333537 +Node: Debugging339557 +Node: Life and Death Reading344101 +Node: The Owl Code345260 +Node: Owl Functions350245 +Node: Influence354756 +Node: Influential Concepts355326 +Node: The Influence Core357667 +Node: The Influence Algorithm360836 +Node: Permeability364027 +Node: Escape365569 +Node: Influential Functions368849 +Node: Influential Display371230 +Node: Moyo373259 +Node: Moyo history373642 +Node: Bouzy375035 +Node: Utility Functions378501 +Node: General Utilities379168 +Node: Print Utilities390783 +Node: Incremental Board393209 +Node: GTP400937 +Node: The Go Text Protocol401298 +Node: Protocol applications405028 +Node: Protocol conventions407326 +Node: Regression with GTP411915 +Node: Regression412545 +Node: Copying419022 +Node: GPL419478 +Node: GFDL438663 +Node: GTP License458526 +Node: Concept Index460228 +Node: Functions Index469452  End Tag Table diff -urN gnugo-3.0.0/doc/gnugo.info-1 gnugo-3.0.1pre1/doc/gnugo.info-1 --- gnugo-3.0.0/doc/gnugo.info-1 Fri Aug 24 22:34:24 2001 +++ gnugo-3.0.1pre1/doc/gnugo.info-1 Fri Aug 31 20:42:03 2001 @@ -370,6 +370,9 @@  File: gnugo.info, Node: Configure Options, Next: Windows and MS-DOS, Prev: GNU/Linux and Unix, Up: Installation +Configure Options +================= + There are three options which you should consider configuring, particularly if you are dissatisfied with GNU Go's performance. diff -urN gnugo-3.0.0/doc/gnugo.info-4 gnugo-3.0.1pre1/doc/gnugo.info-4 --- gnugo-3.0.0/doc/gnugo.info-4 Fri Aug 24 22:34:24 2001 +++ gnugo-3.0.1pre1/doc/gnugo.info-4 Fri Aug 31 20:42:03 2001 @@ -330,6 +330,9 @@  File: gnugo.info, Node: Threats and Followup Value, Prev: Secondary Value, Up: Valuation +Threats and Followup Value +-------------------------- + Followup value refers to value which may acrue if we get two moves in a row in a local area. It is assigned by the function `add_followup_value', for example through the `followup_value' diff -urN gnugo-3.0.0/doc/gnugo.info-7 gnugo-3.0.1pre1/doc/gnugo.info-7 --- gnugo-3.0.0/doc/gnugo.info-7 Fri Aug 24 22:34:24 2001 +++ gnugo-3.0.1pre1/doc/gnugo.info-7 Fri Aug 31 20:42:03 2001 @@ -875,6 +875,9 @@  File: gnugo.info, Node: Another Ko Example, Next: Alternate Komaster Schemes, Prev: A Ko Example, Up: Tactical Reading +Another Ko Example +================== + We now consider an example to show why the komaster is reset to EMPTY if the ko is resolved in the komaster's favor. This means that the ko is filled, or else that is becomes no longer a ko and it is @@ -922,6 +925,9 @@  File: gnugo.info, Node: Alternate Komaster Schemes, Next: Superstrings, Prev: Another Ko Example, Up: Tactical Reading + +Alternate Komaster Schemes +========================== The following alternate schemes have been proposed. It is assumed that `O' is the player about to move. diff -urN gnugo-3.0.0/doc/gnugo.info-8 gnugo-3.0.1pre1/doc/gnugo.info-8 --- gnugo-3.0.0/doc/gnugo.info-8 Fri Aug 24 22:34:24 2001 +++ gnugo-3.0.1pre1/doc/gnugo.info-8 Fri Aug 31 20:42:03 2001 @@ -831,6 +831,9 @@  File: gnugo.info, Node: Moyo history, Next: Bouzy, Prev: Moyo, Up: Moyo +Moyo history +============ + In GNU Go 2.6 extensive use was made of an algorithm from Bruno Bouzy's dissertation, which is available at: This diff -urN gnugo-3.0.0/doc/gnugo.info-9 gnugo-3.0.1pre1/doc/gnugo.info-9 --- gnugo-3.0.0/doc/gnugo.info-9 Fri Aug 24 22:34:24 2001 +++ gnugo-3.0.1pre1/doc/gnugo.info-9 Fri Aug 31 20:42:03 2001 @@ -632,6 +632,9 @@  File: gnugo.info, Node: Protocol applications, Next: Protocol conventions, Prev: The Go Text Protocol, Up: GTP +Protocol applications +===================== + The protocol is asymmetric and involves two parties, which we may call `A' and `B'. `A' is typically some kind of arbiter or relay and `B' is a go engine. All communication is initiated by `A' in form of @@ -683,6 +686,9 @@  File: gnugo.info, Node: Protocol conventions, Next: Regression with GTP, Prev: Protocol applications, Up: GTP + +Protocol conventions +==================== The GTP is currently unfinished and unstandardized. It is hoped that it will grow to fill the needs currently served by the GMP and perhaps diff -urN gnugo-3.0.0/doc/gtp.texi gnugo-3.0.1pre1/doc/gtp.texi --- gnugo-3.0.0/doc/gtp.texi Thu Aug 23 03:40:50 2001 +++ gnugo-3.0.1pre1/doc/gtp.texi Fri Aug 31 20:38:25 2001 @@ -155,6 +155,7 @@ comments of the functions in @file{interface/play_gtp.c}. @node Protocol applications, Protocol conventions, The Go Text Protocol, GTP +@section Protocol applications The protocol is asymmetric and involves two parties, which we may call @samp{A} and @samp{B}. @samp{A} is typically some kind of arbiter or @@ -218,6 +219,7 @@ @file{interface/gtp_examples/2ptkgo.pl}). @node Protocol conventions, Regression with GTP, Protocol applications, GTP +@section Protocol conventions The GTP is currently unfinished and unstandardized. It is hoped that it will grow to fill the needs currently served by the GMP and perhaps diff -urN gnugo-3.0.0/doc/install.texi gnugo-3.0.1pre1/doc/install.texi --- gnugo-3.0.0/doc/install.texi Thu Aug 23 06:39:02 2001 +++ gnugo-3.0.1pre1/doc/install.texi Fri Aug 31 20:38:48 2001 @@ -80,6 +80,7 @@ @xref{Jago}, for Jago. @node Configure Options, Windows and MS-DOS, GNU/Linux and Unix, Installation +@section Configure Options There are three options which you should consider configuring, particularly if you are dissatisfied with GNU Go's performance. diff -urN gnugo-3.0.0/doc/move_generation.texi gnugo-3.0.1pre1/doc/move_generation.texi --- gnugo-3.0.0/doc/move_generation.texi Fri Aug 24 05:36:53 2001 +++ gnugo-3.0.1pre1/doc/move_generation.texi Fri Aug 31 20:39:06 2001 @@ -520,6 +520,7 @@ can tip the scales if all other factors are equal. @node Threats and Followup Value, , Secondary Value, Valuation +@subsection Threats and Followup Value Followup value refers to value which may acrue if we get two moves in a row in a local area. It is assigned by the function diff -urN gnugo-3.0.0/doc/moyo.texi gnugo-3.0.1pre1/doc/moyo.texi --- gnugo-3.0.0/doc/moyo.texi Wed Aug 22 03:06:55 2001 +++ gnugo-3.0.1pre1/doc/moyo.texi Fri Aug 31 20:39:14 2001 @@ -9,6 +9,7 @@ the @option{-m} option (@pxref{Colored Display}). @node Moyo history, Bouzy, Moyo, Moyo +@section Moyo history In GNU Go 2.6 extensive use was made of an algorithm from Bruno Bouzy's dissertation, which is available at: diff -urN gnugo-3.0.0/doc/reading.texi gnugo-3.0.1pre1/doc/reading.texi --- gnugo-3.0.0/doc/reading.texi Fri Aug 24 05:28:25 2001 +++ gnugo-3.0.1pre1/doc/reading.texi Fri Aug 31 20:39:18 2001 @@ -1003,6 +1003,7 @@ @node Another Ko Example, Alternate Komaster Schemes, A Ko Example, Tactical Reading @comment node-name, next, previous, up +@section Another Ko Example We now consider an example to show why the komaster is reset to EMPTY if the ko is resolved in the komaster's favor. This @@ -1063,6 +1064,7 @@ @node Alternate Komaster Schemes, Superstrings, Another Ko Example, Tactical Reading @comment node-name, next, previous, up +@section Alternate Komaster Schemes The following alternate schemes have been proposed. It is assumed that @samp{O} is the player about to move. diff -urN gnugo-3.0.0/engine/Makefile.in gnugo-3.0.1pre1/engine/Makefile.in --- gnugo-3.0.0/engine/Makefile.in Fri Aug 24 22:58:13 2001 +++ gnugo-3.0.1pre1/engine/Makefile.in Sat Sep 1 12:09:13 2001 @@ -123,7 +123,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best SOURCES = $(libengine_a_SOURCES) $(libboard_a_SOURCES) OBJECTS = $(libengine_a_OBJECTS) $(libboard_a_OBJECTS) @@ -221,67 +221,6 @@ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -aftermath.o: aftermath.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h -board.o: board.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../utils/gg_utils.h -cache.o: cache.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h cache.h -clock.o: clock.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../utils/gg_utils.h -dragon.o: dragon.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../patterns/patterns.h -filllib.o: filllib.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h -fuseki.o: fuseki.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../patterns/patterns.h \ - ../utils/random.h -genmove.o: genmove.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h -globals.o: globals.c ../sgf/sgftree.h ../sgf/sgf_properties.h liberty.h \ - gnugo.h ../config.h clock.h hash.h -hash.o: hash.c ../config.h liberty.h gnugo.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h cache.h \ - ../utils/random.h -influence.o: influence.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h influence.h \ - ../patterns/patterns.h -interface.o: interface.c ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h liberty.h gnugo.h clock.h hash.h -life.o: life.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h -matchpat.o: matchpat.c ../config.h liberty.h gnugo.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../patterns/patterns.h \ - ../patterns/dfa.h -move_reasons.o: move_reasons.c liberty.h gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h clock.h hash.h \ - ../utils/random.h move_reasons.h -optics.o: optics.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../patterns/eyes.h -owl.o: owl.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../patterns/patterns.h \ - cache.h -printutils.o: printutils.c liberty.h gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h clock.h hash.h \ - ../utils/gg_utils.h -reading.o: reading.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h cache.h -score.o: score.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../utils/gg_utils.h -semeai.o: semeai.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h -sgfdecide.o: sgfdecide.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h -sgffile.o: sgffile.c ../config.h liberty.h gnugo.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h -shapes.o: shapes.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../patterns/patterns.h -showbord.o: showbord.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../utils/gg_utils.h -utils.o: utils.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../utils/gg_utils.h -worm.o: worm.c liberty.h gnugo.h ../config.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h clock.h hash.h ../patterns/patterns.h info-am: info: info-am diff -urN gnugo-3.0.0/engine/dragon.c gnugo-3.0.1pre1/engine/dragon.c --- gnugo-3.0.0/engine/dragon.c Fri Aug 24 01:06:39 2001 +++ gnugo-3.0.1pre1/engine/dragon.c Fri Aug 31 20:36:55 2001 @@ -1247,7 +1247,7 @@ if (((d->origini)==m) && ((d->originj)==n)) { if (p[m][n]) { - gprintf("%m : %s dragon size %d (%f), genus %d, half eyes %d, escape factor %d, status %s%s, matcher status %s, moyo size %d safety %s", + gprintf("%m : %s dragon size %d (%f), genus %d, half eyes %d, escape factor %d, status %s, matcher status %s, moyo size %d safety %s", m,n, p[m][n]==BLACK ? "B" : "W", d->size, diff -urN gnugo-3.0.0/interface/Makefile.in gnugo-3.0.1pre1/interface/Makefile.in --- gnugo-3.0.0/interface/Makefile.in Fri Aug 24 22:58:22 2001 +++ gnugo-3.0.1pre1/interface/Makefile.in Sat Sep 1 12:09:18 2001 @@ -108,12 +108,12 @@ gnugo_OBJECTS = main.o play_ascii.o play_gmp.o play_gtp.o play_solo.o \ play_test.o gmp.o gtp.o gnugo_LDADD = $(LDADD) -@DFA_ENABLED_FALSE@gnugo_DEPENDENCIES = ../engine/libengine.a \ -@DFA_ENABLED_FALSE@../patterns/libpatterns.a ../sgf/libsgf.a \ -@DFA_ENABLED_FALSE@../utils/libutils.a @DFA_ENABLED_TRUE@gnugo_DEPENDENCIES = ../engine/libengine.a \ @DFA_ENABLED_TRUE@../patterns/libpatterns.a ../patterns/libdfa.a \ @DFA_ENABLED_TRUE@../sgf/libsgf.a ../utils/libutils.a +@DFA_ENABLED_FALSE@gnugo_DEPENDENCIES = ../engine/libengine.a \ +@DFA_ENABLED_FALSE@../patterns/libpatterns.a ../sgf/libsgf.a \ +@DFA_ENABLED_FALSE@../utils/libutils.a gnugo_LDFLAGS = CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -126,7 +126,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best SOURCES = $(gnugo_SOURCES) OBJECTS = $(gnugo_OBJECTS) @@ -304,27 +304,6 @@ || exit 1; \ fi; \ done -gmp.o: gmp.c ../config.h gmp.h -gtp.o: gtp.c gtp.h -main.o: main.c ../config.h ../engine/liberty.h ../engine/gnugo.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - ../engine/hash.h ../utils/gg-getopt.h interface.h gmp.h \ - ../utils/random.h -play_ascii.o: play_ascii.c ../config.h ../engine/gnugo.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - ../engine/liberty.h ../engine/hash.h interface.h -play_gmp.o: play_gmp.c interface.h ../engine/gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - gmp.h -play_gtp.o: play_gtp.c ../config.h ../engine/gnugo.h ../sgf/sgftree.h \ - ../sgf/sgf_properties.h ../engine/clock.h interface.h \ - ../engine/liberty.h ../engine/hash.h gtp.h ../utils/random.h -play_solo.o: play_solo.c interface.h ../engine/gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - ../engine/liberty.h ../engine/hash.h ../utils/random.h \ - ../utils/gg_utils.h -play_test.o: play_test.c interface.h ../engine/gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h info-am: info: info-recursive diff -urN gnugo-3.0.0/interface/debugboard/Makefile.in gnugo-3.0.1pre1/interface/debugboard/Makefile.in --- gnugo-3.0.0/interface/debugboard/Makefile.in Fri Aug 24 22:58:24 2001 +++ gnugo-3.0.1pre1/interface/debugboard/Makefile.in Sat Sep 1 12:09:21 2001 @@ -121,7 +121,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best SOURCES = $(debugboard_SOURCES) OBJECTS = $(debugboard_OBJECTS) @@ -229,17 +229,6 @@ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -display.o: display.c ../../config.h display.h ../../engine/gnugo.h \ - ../../sgf/sgftree.h ../../sgf/sgf_properties.h \ - ../../engine/clock.h ../../utils/gg_utils.h -gui.o: gui.c ../../config.h display.h ../../engine/gnugo.h \ - ../../sgf/sgftree.h ../../sgf/sgf_properties.h \ - ../../engine/clock.h gui.h ../../engine/liberty.h \ - ../../engine/hash.h -main.o: main.c ../../config.h ../../engine/gnugo.h ../../sgf/sgftree.h \ - ../../sgf/sgf_properties.h ../../engine/clock.h \ - ../../interface/interface.h ../../utils/random.h display.h \ - gui.h ../../engine/liberty.h ../../engine/hash.h info-am: info: info-am diff -urN gnugo-3.0.0/interface/gtp.c gnugo-3.0.1pre1/interface/gtp.c --- gnugo-3.0.0/interface/gtp.c Sun Aug 19 17:33:20 2001 +++ gnugo-3.0.1pre1/interface/gtp.c Fri Aug 31 20:38:07 2001 @@ -58,9 +58,9 @@ */ static int gtp_boardsize = -1; -/* Read stdin linewise and interpret as GTP commands. */ +/* Read filehandle gtp_input linewise and interpret as GTP commands. */ void -gtp_main_loop(struct gtp_command commands[]) +gtp_main_loop(struct gtp_command commands[], FILE *gtp_input) { char line[GTP_BUFSIZE]; char command[GTP_BUFSIZE]; @@ -71,8 +71,8 @@ int status = GTP_OK; while (status == GTP_OK) { - /* Read a line from stdin. */ - if (!fgets(line, GTP_BUFSIZE, stdin)) + /* Read a line from gtp_input. */ + if (!fgets(line, GTP_BUFSIZE, gtp_input)) break; /* EOF or some error */ /* Remove comments. */ diff -urN gnugo-3.0.0/interface/gtp.h gnugo-3.0.1pre1/interface/gtp.h --- gnugo-3.0.0/interface/gtp.h Mon Jul 16 06:59:54 2001 +++ gnugo-3.0.1pre1/interface/gtp.h Fri Aug 31 20:38:07 2001 @@ -60,7 +60,7 @@ gtp_fn_ptr function; }; -void gtp_main_loop(struct gtp_command commands[]); +void gtp_main_loop(struct gtp_command commands[], FILE *gtp_input); void gtp_internal_set_boardsize(int size); void gtp_mprintf(const char *format, ...); void gtp_printf(const char *format, ...); diff -urN gnugo-3.0.0/interface/interface.h gnugo-3.0.1pre1/interface/interface.h --- gnugo-3.0.0/interface/interface.h Fri Aug 24 18:47:51 2001 +++ gnugo-3.0.1pre1/interface/interface.h Fri Aug 31 20:40:47 2001 @@ -37,7 +37,7 @@ void play_ascii(SGFTree *tree, Gameinfo *gameinfo, char *filename, char *until); void play_ascii_emacs(SGFTree *tree, Gameinfo *gameinfo, char *filename, char *until); -void play_gtp(void); +void play_gtp(FILE *gtp_input); void play_gmp(int boardsize, Gameinfo *gameinfo); void play_solo(Gameinfo *gameinfo, int benchmark); void play_replay(SGFNode *sgf_head, int color_to_test); diff -urN gnugo-3.0.0/interface/main.c gnugo-3.0.1pre1/interface/main.c --- gnugo-3.0.0/interface/main.c Fri Aug 24 18:45:31 2001 +++ gnugo-3.0.1pre1/interface/main.c Fri Aug 31 20:38:07 2001 @@ -76,6 +76,7 @@ OPT_INFILE, OPT_OUTFILE, OPT_QUIET, + OPT_GTP_INPUT, OPT_SHOWCOPYRIGHT, OPT_REPLAY_GAME, OPT_DECIDE_STRING, @@ -144,6 +145,7 @@ {"replay", required_argument, 0, OPT_REPLAY_GAME}, {"quiet", no_argument, 0, OPT_QUIET}, {"silent", no_argument, 0, OPT_QUIET}, + {"gtp-input", required_argument, 0, OPT_GTP_INPUT}, {"infile", required_argument, 0, 'l'}, {"until", required_argument, 0, 'L'}, {"outfile", required_argument, 0, 'o'}, @@ -225,6 +227,7 @@ char *infilename = NULL; char *untilstring = NULL; char *outfile = NULL; + char *gtpfile = NULL; char *printsgffile = NULL; @@ -234,6 +237,7 @@ int benchmark = 0; /* benchmarking mode (-b) */ float komi = 0.0; + FILE *gtp_input_FILE; int seed = 0; /* If seed is zero, GNU Go will play a different game each time. If it is set using -r, GNU Go will play the @@ -330,6 +334,10 @@ quiet = 1; break; + case OPT_GTP_INPUT: + gtpfile = optarg; + break; + case OPT_SHOWTIME: showtime = 1; break; @@ -829,7 +837,16 @@ case MODE_GTP: if (!sgftree.root) sgftreeCreateHeaderNode(&sgftree, boardsize, komi); - play_gtp(); + if (gtpfile != NULL) { + gtp_input_FILE = fopen(gtpfile, "r"); + if (gtp_input_FILE == NULL) { + fprintf(stderr, "gnugo: Cannot open file %s\n", gtpfile); + return (EXIT_FAILURE); + } + } else { + gtp_input_FILE = stdin; + } + play_gtp(gtp_input_FILE); break; case MODE_ASCII_EMACS: @@ -923,10 +940,11 @@ If no terminal is detected GMP (Go Modem Protocol)\n\ will be assumed.\n\ --quiet Don't print copyright and informational messages\n\ + --gtp-input Read gtp commands from file instead of stdin\n\ -l, --infile Load name sgf file\n\ -L, --until Stop loading just before move is played. \n\ can be the move number or location (eg L10).\n\ - -o, --outfile file Write sgf output to file\n\ + -o, --outfile Write sgf output to file\n\ --printsgf Write position as a diagram to file (use with -l)\n\ \n\ Options that affect strength (higher = stronger, slower):\n\ diff -urN gnugo-3.0.0/interface/play_gtp.c gnugo-3.0.1pre1/interface/play_gtp.c --- gnugo-3.0.0/interface/play_gtp.c Fri Aug 24 16:40:24 2001 +++ gnugo-3.0.1pre1/interface/play_gtp.c Fri Aug 31 20:38:07 2001 @@ -194,7 +194,7 @@ /* Start playing using the Go Text Protocol. */ void -play_gtp() +play_gtp(FILE *gtp_input) { /* Try to make sure that we have a useful level of buffering of stdout. */ #ifdef HAVE_SETLINEBUF @@ -211,7 +211,7 @@ reset_engine(); move_stack_pointer = 0; store_position(&starting_position); - gtp_main_loop(commands); + gtp_main_loop(commands, gtp_input); } @@ -1124,7 +1124,7 @@ gtp_print_vertex(best_movei[k], best_movej[k]); gtp_printf(" %.2f ", best_move_values[k]); } - gtp_printf("\n"); + gtp_printf("\n\n"); return GTP_OK; } @@ -1140,7 +1140,7 @@ gtp_print_vertex(best_movei[k], best_movej[k]); gtp_printf(" %.2f ", best_move_values[k]); } - gtp_printf("\n"); + gtp_printf("\n\n"); return GTP_OK; } diff -urN gnugo-3.0.0/interface/play_solo.c gnugo-3.0.1pre1/interface/play_solo.c --- gnugo-3.0.0/interface/play_solo.c Sun Aug 19 04:36:23 2001 +++ gnugo-3.0.1pre1/interface/play_solo.c Fri Aug 31 20:30:20 2001 @@ -152,12 +152,12 @@ if (benchmark) { for (r = 0; r < benchmark; ++r) { - genmove(&i, &j, next); + gnugo_genmove(&gameinfo->position, &i, &j, next, gameinfo->move_number); next = OTHER_COLOR(next); } } else { - genmove(&i, &j, next); + gnugo_genmove(&gameinfo->position, &i, &j, next, gameinfo->move_number); if (is_pass(i, j)) { gprintf("%s move: PASS!\n", next == WHITE ? "white (o)" : "black (X)"); @@ -181,6 +181,9 @@ * move - load file until move is reached and estimate territorial balance * * aftermath - like 'end' but also plays out the aftermath + * + * FIXME: Should not call genmove_conservative() directly. Should instead + * be gnugo_something(). */ void diff -urN gnugo-3.0.0/patterns/Makefile.in gnugo-3.0.1pre1/patterns/Makefile.in --- gnugo-3.0.0/patterns/Makefile.in Fri Aug 24 22:58:17 2001 +++ gnugo-3.0.1pre1/patterns/Makefile.in Sat Sep 1 12:09:16 2001 @@ -163,8 +163,8 @@ transpat_DEPENDENCIES = transpat_LDFLAGS = mkpat_OBJECTS = mkpat.o transform.o -@DFA_ENABLED_FALSE@mkpat_DEPENDENCIES = ../utils/libutils.a @DFA_ENABLED_TRUE@mkpat_DEPENDENCIES = ./libdfa.a ../utils/libutils.a +@DFA_ENABLED_FALSE@mkpat_DEPENDENCIES = ../utils/libutils.a mkpat_LDFLAGS = joseki_OBJECTS = joseki.o joseki_DEPENDENCIES = ../engine/libboard.a ../sgf/libsgf.a \ @@ -192,7 +192,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best SOURCES = $(libpatterns_a_SOURCES) $(libdfa_a_SOURCES) $(transpat_SOURCES) $(mkpat_SOURCES) $(joseki_SOURCES) $(mkeyes_SOURCES) $(extract_fuseki_SOURCES) OBJECTS = $(libpatterns_a_OBJECTS) $(libdfa_a_OBJECTS) $(transpat_OBJECTS) $(mkpat_OBJECTS) $(joseki_OBJECTS) $(mkeyes_OBJECTS) $(extract_fuseki_OBJECTS) @@ -339,63 +339,6 @@ fi; \ done $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook -apatterns.o: apatterns.c ../engine/liberty.h ../engine/gnugo.h \ - ../config.h ../sgf/sgftree.h ../sgf/sgf_properties.h \ - ../engine/clock.h ../engine/hash.h patterns.h -barriers.o: barriers.c ../engine/liberty.h ../engine/gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - ../engine/hash.h patterns.h -conn.o: conn.c ../engine/liberty.h ../engine/gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - ../engine/hash.h patterns.h -connections.o: connections.c ../engine/liberty.h ../engine/gnugo.h \ - ../config.h ../sgf/sgftree.h ../sgf/sgf_properties.h \ - ../engine/clock.h ../engine/hash.h patterns.h -dfa.o: dfa.c patterns.h ../config.h dfa.h -dpatterns.o: dpatterns.c ../engine/liberty.h ../engine/gnugo.h \ - ../config.h ../sgf/sgftree.h ../sgf/sgf_properties.h \ - ../engine/clock.h ../engine/hash.h patterns.h -endgame.o: endgame.c ../engine/liberty.h ../engine/gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - ../engine/hash.h patterns.h -extract_fuseki.o: extract_fuseki.c ../sgf/sgftree.h \ - ../sgf/sgf_properties.h ../engine/liberty.h ../engine/gnugo.h \ - ../config.h ../engine/clock.h ../engine/hash.h \ - ../utils/random.h -eyes.o: eyes.c eyes.h -fuseki19.o: fuseki19.c ../engine/liberty.h ../engine/gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - ../engine/hash.h patterns.h -fuseki9.o: fuseki9.c ../engine/liberty.h ../engine/gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - ../engine/hash.h patterns.h -helpers.o: helpers.c ../engine/liberty.h ../engine/gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - ../engine/hash.h patterns.h -influence.o: influence.c ../engine/liberty.h ../engine/gnugo.h \ - ../config.h ../sgf/sgftree.h ../sgf/sgf_properties.h \ - ../engine/clock.h ../engine/hash.h patterns.h -joseki.o: joseki.c ../sgf/sgftree.h ../sgf/sgf_properties.h \ - ../engine/liberty.h ../engine/gnugo.h ../config.h \ - ../engine/clock.h ../engine/hash.h -josekidb.o: josekidb.c ../engine/liberty.h ../engine/gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - ../engine/hash.h patterns.h -mkeyes.o: mkeyes.c -mkpat.o: mkpat.c ../config.h patterns.h ../utils/gg-getopt.h -owl_attackpat.o: owl_attackpat.c ../engine/liberty.h ../engine/gnugo.h \ - ../config.h ../sgf/sgftree.h ../sgf/sgf_properties.h \ - ../engine/clock.h ../engine/hash.h patterns.h -owl_defendpat.o: owl_defendpat.c ../engine/liberty.h ../engine/gnugo.h \ - ../config.h ../sgf/sgftree.h ../sgf/sgf_properties.h \ - ../engine/clock.h ../engine/hash.h patterns.h -owl_vital_apat.o: owl_vital_apat.c ../engine/liberty.h ../engine/gnugo.h \ - ../config.h ../sgf/sgftree.h ../sgf/sgf_properties.h \ - ../engine/clock.h ../engine/hash.h patterns.h -patterns.o: patterns.c ../engine/liberty.h ../engine/gnugo.h ../config.h \ - ../sgf/sgftree.h ../sgf/sgf_properties.h ../engine/clock.h \ - ../engine/hash.h patterns.h -transform.o: transform.c info-am: info: info-am diff -urN gnugo-3.0.0/regression/Makefile.in gnugo-3.0.1pre1/regression/Makefile.in --- gnugo-3.0.0/regression/Makefile.in Fri Aug 24 22:58:29 2001 +++ gnugo-3.0.1pre1/regression/Makefile.in Sat Sep 1 12:09:24 2001 @@ -93,7 +93,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best all: all-redirect .SUFFIXES: diff -urN gnugo-3.0.0/sgf/Makefile.in gnugo-3.0.1pre1/sgf/Makefile.in --- gnugo-3.0.0/sgf/Makefile.in Fri Aug 24 22:58:10 2001 +++ gnugo-3.0.1pre1/sgf/Makefile.in Sat Sep 1 12:09:11 2001 @@ -126,7 +126,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best SOURCES = $(libsgf_a_SOURCES) $(sgfgen_SOURCES) OBJECTS = $(libsgf_a_OBJECTS) $(sgfgen_OBJECTS) @@ -232,13 +232,6 @@ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -sgf_utils.o: sgf_utils.c sgftree.h sgf_properties.h -sgfgen.o: sgfgen.c -sgfnode.o: sgfnode.c ../config.h ../engine/liberty.h ../engine/gnugo.h \ - sgftree.h sgf_properties.h ../engine/clock.h ../engine/hash.h \ - ../utils/gg_utils.h -sgftree.o: sgftree.c ../utils/gg_utils.h ../config.h sgftree.h \ - sgf_properties.h info-am: info: info-am diff -urN gnugo-3.0.0/utils/Makefile.in gnugo-3.0.1pre1/utils/Makefile.in --- gnugo-3.0.0/utils/Makefile.in Fri Aug 24 22:58:07 2001 +++ gnugo-3.0.1pre1/utils/Makefile.in Sat Sep 1 12:09:09 2001 @@ -107,7 +107,7 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best SOURCES = $(libutils_a_SOURCES) OBJECTS = $(libutils_a_OBJECTS) @@ -200,10 +200,6 @@ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -getopt.o: getopt.c gg-getopt.h -getopt1.o: getopt1.c gg-getopt.h -gg_utils.o: gg_utils.c gg_utils.h ../config.h -random.o: random.c random.h info-am: info: info-am