Kaydet (Commit) bd2f7ef6 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Decouple the "Mac-like" app bundle structure choice from sandboxing choice

Add a switch --enable-canonical-installation-tree-structure. Only implemented
for OS X for now, but the same switch can be used if and when we want to make
it possible to make the Unix installation tree more "standard", too.

Change-Id: Icb0ad500b77d7e986f2f188fd17faabaf2e2fe99
üst c6a73009
......@@ -1141,6 +1141,13 @@ AC_ARG_ENABLE(macosx-sandbox,
adherence to App Store rules.]),
,)
AC_ARG_ENABLE(canonical-installation-tree-structure,
AS_HELP_STRING([--enable-canonical-installation-tree-structure],
[Make the installation tree structure be more canonical for
the platform. Implemented only for OS X. Experimental.]),
,)
AC_ARG_WITH(macosx-bundle-identifier,
AS_HELP_STRING([--with-macosx-bundle-identifier=tld.mumble.orifice.TheOffice],
[Define the OS X bundle identifier. Default is the somewhat weird
......@@ -2853,10 +2860,7 @@ dnl ===================================================================
dnl Structure of install set
dnl ===================================================================
if test $_os = Darwin -a "$ENABLE_MACOSX_SANDBOX" = YES; then
# For now, couple whether to use a more "Mac-like" installation tree structure
# with the choice whether to use sandboxing. Could be a separate choice, or could
# be always on for OS X.
if test $_os = Darwin -a "$enable_canonical_installation_tree_structure" = yes; then
LIBO_BIN_FOLDER=MacOS
LIBO_ETC_FOLDER=Resources
LIBO_LIBEXEC_FOLDER=MacOS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment