aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/Game/Code/configure.ac b/Game/Code/configure.ac
index 490df1da..3dd1a6c3 100644
--- a/Game/Code/configure.ac
+++ b/Game/Code/configure.ac
@@ -365,6 +365,18 @@ if [[ x$PKG_CONFIG = x ]]; then
!!! Install it and try again.])
fi
+
+# -----------------------------------------
+# check for OS
+# -----------------------------------------
+
+if [[ x$FPC_PLATFORM = xdarwin ]]; then
+ AC_MSG_CHECKING([for Mac OS X version])
+ MACOSX_VERSION=`sw_vers -productVersion`
+ AC_SPLIT_VERSION(MACOSX, $MACOSX_VERSION)
+ AC_MSG_RESULT(@<:@$MACOSX_VERSION@:>@)
+fi
+
# -----------------------------------------
# check for libraries
# -----------------------------------------