changeset 63369:fe5c9ccf867c

(all): Don't complain about missing GTK-related variables, unless either `gtk' is boundp or this isn't a `windows-nt' build.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 13 Jun 2005 11:53:36 +0000
parents 2a644add6953
children 3d419f51a884
files lisp/cus-start.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cus-start.el	Mon Jun 13 11:24:32 2005 +0000
+++ b/lisp/cus-start.el	Mon Jun 13 11:53:36 2005 +0000
@@ -322,6 +322,8 @@
 		       (eq system-type 'ms-dos))
 		      ((string-match "\\`w32-" (symbol-name symbol))
 		       (eq system-type 'windows-nt))
+		      ((string-match "\\`x-.*gtk" (symbol-name symbol))
+		       (or (boundp 'gtk) (not (eq system-type 'windows-nt))))
 		      ((string-match "\\`x-" (symbol-name symbol))
 		       (fboundp 'x-create-frame))
 		      (t t))))