diff options
-rw-r--r-- | config_host/config_features.h.in | 11 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in index 3b92e879330e..7d045df4c43b 100644 --- a/config_host/config_features.h.in +++ b/config_host/config_features.h.in @@ -88,6 +88,17 @@ #define HAVE_FEATURE_MACOSX_SANDBOX 0 +/* MACOSX_MACLIKE_APP_STRUCTURE - LibreOffice.app substructure style + * + * Whether the structure of the LibreOffice.app bundle is more + * "Mac-like" and what it has been previously, for instance with all + * dylibs in the "Frameworks" folder and all non-code data in a the + * "Resources" folder. For now coupled to HAVE_FEATURE_MACOSX_SANDBOX + * in configure.ac. + */ + +#define HAVE_FEATURE_MACOSX_MACLIKE_APP_STRUCTURE 0 + /* READONLY_INSTALLSET - whether to treat the installation as read-only * * Prevents attempts by LibreOffice to write into its installation. That means diff --git a/configure.ac b/configure.ac index 3ade88ecaf60..c7c9638f4e09 100644 --- a/configure.ac +++ b/configure.ac @@ -2870,6 +2870,7 @@ if test $_os = Darwin -a "$ENABLE_MACOSX_SANDBOX" = YES; then LIBO_URE_LIB_FOLDER=Frameworks LIBO_URE_SHARE_FOLDER=Resources/ure LIBO_URE_SHARE_JAVA_FOLDER=Resources/java + AC_DEFINE(HAVE_FEATURE_MACOSX_MACLIKE_APP_STRUCTURE) elif $_os = WINNT; then LIBO_BIN_FOLDER=program LIBO_ETC_FOLDER=program |