[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] ./configure --disable-resignation-allowed
From: |
bump |
Subject: |
Re: [gnugo-devel] ./configure --disable-resignation-allowed |
Date: |
Sat, 18 Sep 2004 05:24:30 -0700 |
> I'm trying to turn resignation off. Am I doing something wrong?
>
> $ ./configure --disable-resignation-allowed
> ...
> $ grep RESIGN config.h
> #define RESIGNATION_ALLOWED 1
>
> Editing config.h by hand seems to work, though.
There seems to be an error in the configure.in.
I fixed this in the cvs for the 3.6 branch. I did not
fix it in the main branch.
I am in England today, Germany tomorrow. I may
not read my email again until Monday.
Dan
Index: configure
===================================================================
RCS file: /cvsroot/gnugo/gnugo/configure,v
retrieving revision 1.107.2.2
diff -u -r1.107.2.2 configure
--- configure 14 Sep 2004 04:20:25 -0000 1.107.2.2
+++ configure 18 Sep 2004 12:19:28 -0000
@@ -4298,7 +4298,7 @@
fi
-if test "$disable_resignation_allowed" = "yes" ; then
+if test "$enable_resignation_allowed" = "no" ; then
cat >>confdefs.h <<\EOF
#define RESIGNATION_ALLOWED 0
EOF
Index: configure.in
===================================================================
RCS file: /cvsroot/gnugo/gnugo/configure.in,v
retrieving revision 1.111.2.3
diff -u -r1.111.2.3 configure.in
--- configure.in 14 Sep 2004 04:20:25 -0000 1.111.2.3
+++ configure.in 18 Sep 2004 12:19:28 -0000
@@ -413,7 +413,7 @@
AH_TEMPLATE([RESIGNATION_ALLOWED],
[Allow resignation. Default enabled])
-if test "$disable_resignation_allowed" = "yes" ; then
+if test "$enable_resignation_allowed" = "no" ; then
AC_DEFINE(RESIGNATION_ALLOWED, 0)
else
AC_DEFINE(RESIGNATION_ALLOWED, 1)