X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=install.el;h=835a47ebbe616eef3ca6780c1341ae067bfef663;hb=3b4f94331ac91f1faa37728ab2d32f7bdbad0195;hp=f2f131e0848a7c5c11a4c47da1fb45edcf8f36ce;hpb=e47c19a9f98b560818385fb4fd7dca6b14f36767;p=elisp%2Fapel.git diff --git a/install.el b/install.el index f2f131e..835a47e 100644 --- a/install.el +++ b/install.el @@ -148,12 +148,13 @@ ;;; @ detect install path ;;; +;; install to shared directory (maybe "/usr/local") (defvar install-prefix (if (or running-emacs-18 running-xemacs - (string= system-configuration-options "NT")) ; for Meadow + (and (boundp 'system-configuration-options) ; 19.29 or later + (string= system-configuration-options "NT"))) ; for Meadow (expand-file-name "../../.." exec-directory) - (expand-file-name "../../../.." data-directory) - )) ; install to shared directory (maybe "/usr/local") + (expand-file-name "../../../.." data-directory))) (defvar install-elisp-prefix (if (>= emacs-major-version 19)