Regularly check for user input when searching, to have a chance to catch EOF from...
[gnushogi.git] / configure.ac
index 85d880b..6894c87 100644 (file)
@@ -5,7 +5,7 @@
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.57)
-AC_INIT([gnushogi],[1.3.2],[mvanier@cs.caltech.edu])
+AC_INIT([gnushogi],[1.4.0+],[https://savannah.gnu.org/bugs/?group=gnushogi])
 AC_CONFIG_SRCDIR([version.h])
 AC_CONFIG_HEADER(config.h)
 
@@ -169,11 +169,11 @@ SECOND_SHOGI_PROGRAM=gnushogi
 FIRST_HOST=localhost
 SECOND_HOST=localhost
 
-AC_ARG_WITH(xshogi,
-[  --with-xshogi
+AC_ARG_ENABLE(xshogi,
+[  --enable-xshogi
         Compile the xshogi graphical interface to GNU shogi (default: no)],
-with_xshogi=$withval,
-with_xshogi=no)
+enable_xshogi=$enableval,
+enable_xshogi=no)
 
 AC_ARG_WITH(top-part-bitmaps,
 [  --with-top-part-bitmaps    Use top part of Kanji bitmaps only in xshogi.],
@@ -186,7 +186,7 @@ FIRST_SHOGI_PROGRAM=$withval)
 
 AC_ARG_WITH(second-shogi-program,
 [  --with-second-shogi-program=PROGNAME    
-        Use PROGNAME as the second shogi program in xshogi(default: gnushogi)],
+        Use PROGNAME as the second shogi program in xshogi (default: gnushogi)],
 SECOND_SHOGI_PROGRAM=$withval)
 
 AC_ARG_WITH(first-host,
@@ -207,7 +207,7 @@ AC_SUBST(SECOND_SHOGI_PROGRAM)
 AC_SUBST(FIRST_HOST)
 AC_SUBST(SECOND_HOST)
 
-if [[ $with_xshogi = yes ]]
+if [[ $enable_xshogi = yes ]]
 then
 XSHOGI=xshogi_compile
 XSHOGIINSTALL=xshogi_install