On OS X affix -debug to the bundle name when --enable-debug is used.

Originally committed to SVN as r2738.
This commit is contained in:
Amar Takhar 2009-02-17 06:37:39 +00:00
parent 28b8c45b54
commit a2a793e344
2 changed files with 8 additions and 2 deletions

View File

@ -28,10 +28,10 @@ SUBDIRS = \
desktop
osx-bundle:
@SHELL@ scripts/osx-bundle.sh @PACKAGE_TARNAME@-@PACKAGE_VERSION@ @AEGISUB_VERSION_DATA@
@SHELL@ scripts/osx-bundle.sh @PACKAGE_TARNAME@-@PACKAGE_VERSION@@PACKAGE_DEBUG@ @AEGISUB_VERSION_DATA@
osx-dmg:
@SHELL@ scripts/osx-dmg.sh @PACKAGE_TARNAME@-@PACKAGE_VERSION@ "@PACKAGE_TARNAME@ @PACKAGE_VERSION@"
@SHELL@ scripts/osx-dmg.sh @PACKAGE_TARNAME@-@PACKAGE_VERSION@@PACKAGE_DEBUG@ "@PACKAGE_TARNAME@ @PACKAGE_VERSION@"
EXTRA_DIST = \
intltool-extract.in \

View File

@ -69,6 +69,7 @@ case "$target_or_host" in
;;
esac
# Used for universalchardet.
AC_AGI_MDCPUCFG($target_or_host)
@ -1062,6 +1063,11 @@ else
AC_MSG_RESULT([no])
fi
if test "$enable_debug" = "yes"; then
PACKAGE_DEBUG="-debug"
AC_SUBST(PACKAGE_DEBUG)
fi
###########
# Profiling