From 5558ee11313fd929ed6aeb22228e89de2263e520 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 4 Jul 2012 12:17:10 +0100 Subject: Link Python extensions differently on Windows --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4c7c728..73bd3fa 100644 --- a/configure.ac +++ b/configure.ac @@ -36,6 +36,19 @@ AM_INIT_AUTOMAKE([1.9 -Wno-portability]) AC_CANONICAL_BUILD AC_CANONICAL_HOST +# mingw32, mingw-w64 are native Windows; for our purposes, Cygwin isn't +AC_MSG_CHECKING([for native Windows host]) +case "$host" in + (*-*-mingw*) + windows=yes + ;; + (*) + windows=no + ;; +esac +AC_MSG_RESULT([$windows]) +AM_CONDITIONAL([WINDOWS], [test "x$windows" = xyes]) + AC_DISABLE_STATIC dnl XXXX hack to kill off all the libtool tags ... -- cgit v1.2.1