diff options
-rw-r--r-- | config_host.mk.in | 1 | ||||
-rw-r--r-- | configure.ac | 12 |
2 files changed, 11 insertions, 2 deletions
diff --git a/config_host.mk.in b/config_host.mk.in index 82b20288a311..1bc0da000e60 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -359,6 +359,7 @@ export LIBXSLT_LIBS=$(gb_SPACE)@LIBXSLT_LIBS@ export LINK_X64_BINARY=@LINK_X64_BINARY@ @x_Cygwin@ export LS=@WIN_LS@ export MACOSX_BUNDLE_IDENTIFIER=@MACOSX_BUNDLE_IDENTIFIER@ +export MACOSX_APP_NAME=@MACOSX_APP_NAME@ export MACOSX_CODESIGNING_IDENTITY=@MACOSX_CODESIGNING_IDENTITY@ export MACOSX_DEPLOYMENT_TARGET=@MACOSX_DEPLOYMENT_TARGET@ export MACOSX_SDK_PATH=@MACOSX_SDK_PATH@ diff --git a/configure.ac b/configure.ac index 799558830c5e..9cc15839c5b9 100644 --- a/configure.ac +++ b/configure.ac @@ -1306,6 +1306,11 @@ AC_ARG_WITH(macosx-bundle-identifier, org.libreoffice.script ("script", huh?).]), ,with_macosx_bundle_identifier=org.libreoffice.script) +AC_ARG_WITH(macosx-app-name, + AS_HELP_STRING([--with-macosx-app-name='My Own Office Suite'], + [Define the OS X app name. Default is AC_PACKAGE_NAME.]), +,with_macosx_app_name=$PRODUCTNAME) + AC_ARG_ENABLE(ios-simulator, AS_HELP_STRING([--enable-ios-simulator], [Build for the iOS Simulator, not iOS device.]), @@ -2994,11 +2999,13 @@ if test $_os = Darwin; then fi AC_MSG_CHECKING([what OS X app bundle identifier to use]) - MACOSX_BUNDLE_IDENTIFIER=$with_macosx_bundle_identifier - AC_MSG_RESULT([$MACOSX_BUNDLE_IDENTIFIER]) + AC_MSG_CHECKING([what OS X app name to use]) + MACOSX_APP_NAME="$with_macosx_app_name" + AC_MSG_RESULT([$MACOSX_APP_NAME]) + AC_MSG_CHECKING([build with mac retina support]) if test "$enable_macosx_retina" = yes ; then MACOSX_HIGH_RESOLUTION_VALUE=true @@ -3017,6 +3024,7 @@ AC_SUBST(LIBTOOL) # Note that the OS X libtool command is unrelated to GNU libto AC_SUBST(MACOSX_CODESIGNING_IDENTITY) AC_SUBST(ENABLE_MACOSX_SANDBOX) AC_SUBST(MACOSX_BUNDLE_IDENTIFIER) +AC_SUBST(MACOSX_APP_NAME) AC_SUBST(MACOSX_HIGH_RESOLUTION_VALUE) dnl =================================================================== |