From: shuhei-k Date: Mon, 5 Apr 1999 14:14:19 +0000 (+0000) Subject: (install-prefix): Check whether `system-configuration-options' is X-Git-Tag: apel-9_16~7 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e9b48429c522ef09f5e0c52dcda1ae1936b1f3be;p=elisp%2Fapel.git (install-prefix): Check whether `system-configuration-options' is defined or not before using it. --- 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)