You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2017/12/01 13:39:10 UTC

svn commit: r1816851 - /openoffice/trunk/main/configure.ac

Author: jim
Date: Fri Dec  1 13:39:09 2017
New Revision: 1816851

URL: http://svn.apache.org/viewvc?rev=1816851&view=rev
Log:
Allow for builder to specify min macOS/OSX build target
from the configure command line.

Modified:
    openoffice/trunk/main/configure.ac

Modified: openoffice/trunk/main/configure.ac
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/configure.ac?rev=1816851&r1=1816850&r2=1816851&view=diff
==============================================================================
--- openoffice/trunk/main/configure.ac (original)
+++ openoffice/trunk/main/configure.ac Fri Dec  1 13:39:09 2017
@@ -932,6 +932,11 @@ AC_ARG_WITH(arm-target,
 
                               Usage: --with-arm-target=7
 ],with_arm_target=$withval,with_arm_target=4)
+AC_ARG_WITH(macosx-target,
+[  --macosx-target            The minimal macOS/OSX deployment and build target
+
+                              Usage: --macosx-target=10.7
+],with_macosx_target=$withval,with_macosx_target=10.7)
 AC_ARG_WITH(rat-scan,
 [  --with-rat-scan         Scan source code for license headers.
                           Use as --with-rat-scan to automatically download pre-built Rat binaries.
@@ -3830,7 +3835,7 @@ dnl ====================================
 dnl Checks for a MacOS platform SDK compatible with an OSX 10.7 deployment target
 dnl ===================================================================
 if test  "$_os" = "Darwin"; then
-   sdk_target=10.7
+   sdk_target=$with_macosx_target
    AC_MSG_CHECKING([checking SDK compatibility with OSX $sdk_target])
 
    sdk_minor=`echo $sdk_target | cut -d"." -f2`