From 448a3831c33101566b7e06341366e3e9eb3dc736 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Tue, 4 Feb 2014 23:01:02 +0100 Subject: [PATCH] Activate cross-compilation features in autoconf. --- .gitignore | 2 ++ NEWS | 3 +++ configure.ac | 1 + 3 files changed, 6 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 72174a8..bfbda48 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,8 @@ Makefile.in /ylwrap /stamp-h1 /INSTALL +/config.guess +/config.sub /autom4te.cache/ /config.log diff --git a/NEWS b/NEWS index fc0694d..b32a839 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,9 @@ GNU shogi news Changes in version 1.5.0 (unreleased): * Build system switched from pure autoconf to automake +* Support for cross-compilation using standard "./configure --host=...", + including building windows binaries (both 32bit and 64bit) using + the gcc-mingw toolchain Changes in version 1.4.2 (unreleased): diff --git a/configure.ac b/configure.ac index f800cf9..615b69d 100644 --- a/configure.ac +++ b/configure.ac @@ -13,6 +13,7 @@ AC_CONFIG_HEADER(config.h) ########## AC_MSG_NOTICE([C compiler]) AC_PROG_CC +AC_CANONICAL_BUILD AC_PROG_INSTALL ########## -- 1.7.0.4