summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-08-09 22:12:39 +0300
committerTor Lillqvist <tml@iki.fi>2012-08-09 23:01:18 +0300
commit620138a1b7c78a3ab3852dcfd8bd48bfa147e7a4 (patch)
tree7d6daf5edcf6236101d9f1615fd7a6d3fb6ca6d4 /configure.in
parentb803fa2579256979bac83f0b193f2c30d524d76b (diff)
Building the internal Python fails when using a more modern Mac SDK
Change-Id: Iaa63d9b027bc8cb25334303243f761df127c79d5
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 637058f0ed47..0f56209e419e 100644
--- a/configure.in
+++ b/configure.in
@@ -6830,7 +6830,10 @@ no|disable)
dnl MinGW cross-compilation setups.)
AC_MSG_RESULT([internal])
enable_python=internal
- elif test $_os = Darwin -a \( "$with_macosx_version_min_required" = 10.4 -o "$with_macosx_version_min_required" = 10.5 \); then
+ elif test $_os = Darwin -a \( "$with_macosx_version_min_required" = 10.4 -o "$with_macosx_version_min_required" = 10.5 \) \
+ -a \( "$with_macosx_sdk" = 10.4 -o "$with_macosx_sdk" = 10.5 \); then
+ # When building against a more recent SDK the ionternal Python can't be compiled, I can't be bothered to fix that for now,
+ # building against a recent SDK is only for developer's own builds anyway.
AC_MSG_RESULT([internal, the Python in Mac OS X $with_macosx_version_min_required is incompatible with Python3-ified pyuno])
enable_python=internal
else