Mercurial > emacs
diff configure.in @ 49090:fc1853b3e3dd
* configure.in: New option, --enable-carbon-app, to specify
that the application should be installed
* Makefile.in (install-arch-dep): On Mac OS X, install the
Emacs.app application if carbon-app is enabled
author | Steven Tamm <steventamm@mac.com> |
---|---|
date | Tue, 07 Jan 2003 05:46:31 +0000 |
parents | 9571fdab8d80 |
children | 2cbb0b823e83 |
line wrap: on
line diff
--- a/configure.in Tue Jan 07 01:26:24 2003 +0000 +++ b/configure.in Tue Jan 07 05:46:31 2003 +0000 @@ -114,6 +114,10 @@ [ --without-xim don't use X11 XIM]) AC_ARG_WITH(carbon, [ --without-carbon don't use Carbon GUI on Mac OS X]) +AC_ARG_ENABLE(carbon-app, +[[ --enable-carbon-app[=DIR] [DIR=/Application] + specify install directory for Emacs.app on Mac OS X]], +[ carbon_appdir_x=${enableval}]) #### Make srcdir absolute, if it isn't already. It's important to #### avoid running the path through pwd unnecessarily, since pwd can @@ -2030,6 +2034,15 @@ if test "${HAVE_CARBON}" = "yes"; then AC_DEFINE(HAVE_CARBON, 1, [Define to 1 if you are using the Carbon API on Mac OS X.]) + window_system=mac + ## Specify the install directory + carbon_appdir= + if test "${carbon_appdir_x}" != ""; then + case ${carbon_appdir_x} in + y | ye | yes) carbon_appdir=/Applications ;; + * ) carbon_appdir=${carbon_appdir_x} ;; + esac + fi fi ### Use session management (-lSM -lICE) if available @@ -2395,6 +2408,7 @@ AC_SUBST(machfile) AC_SUBST(opsysfile) AC_SUBST(GETLOADAVG_LIBS) +AC_SUBST(carbon_appdir) AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}", [Define to the canonical Emacs configuration name.])