dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT([gnushogi],[1.4.1+],[https://savannah.gnu.org/bugs/?group=gnushogi])
+AC_INIT([gnushogi],[1.4.2+],[https://savannah.gnu.org/bugs/?group=gnushogi])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([gnushogi/gnushogi.h])
AC_CONFIG_HEADER(config.h)
+AM_MAINTAINER_MODE
##########
AC_MSG_NOTICE([C compiler])
AC_PROG_CC
+AC_CANONICAL_BUILD
AC_PROG_INSTALL
##########
])
##########
+
+# don't build pat2inc when cross-compiling, we don't need it
+if test "$cross_compiling" = no; then
+ AC_SUBST([PAT2INC], [pat2inc])
+ AC_SUBST([PAT2INCEXE], [pat2inc$EXEEXT])
+fi
+
+##########
AC_CONFIG_FILES([Makefile
gnushogi/Makefile
- win32/config.h
doc/Makefile])
AC_OUTPUT