emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/configure.in


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/configure.in
Date: Tue, 14 Jan 2003 04:56:12 -0500

Index: emacs/configure.in
diff -c emacs/configure.in:1.320 emacs/configure.in:1.321
*** emacs/configure.in:1.320    Mon Jan  6 16:21:50 2003
--- emacs/configure.in  Tue Jan  7 00:46:31 2003
***************
*** 114,119 ****
--- 114,123 ----
  [  --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,2035 ****
--- 2034,2048 ----
  
  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,2400 ****
--- 2408,2414 ----
  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.])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]