From e9b48429c522ef09f5e0c52dcda1ae1936b1f3be Mon Sep 17 00:00:00 2001 From: shuhei-k Date: Mon, 5 Apr 1999 14:14:19 +0000 Subject: [PATCH] (install-prefix): Check whether `system-configuration-options' is defined or not before using it. --- install.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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) -- 1.7.10.4