diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-07-04 12:17:10 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-07-05 11:53:02 +0100 |
commit | 5558ee11313fd929ed6aeb22228e89de2263e520 (patch) | |
tree | 6d5d729a282ea28ba436be8fe643ed8ad8180dde /configure.ac | |
parent | ec2671485a23090c470180eb297e67b86638d9b5 (diff) | |
download | dbus-python-5558ee11313fd929ed6aeb22228e89de2263e520.tar.gz |
Link Python extensions differently on Windows
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
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 ... |