summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-02-11 07:06:55 +0000
committerEli Zaretskii <eliz@gnu.org>2002-02-11 07:06:55 +0000
commit197a09bf1b79d4523d16a29737527fedefc63190 (patch)
treea0ccbdcdd2f61b2b846931fd14c388083a0104dd /lisp
parenta81b56d56b509258b3a5422764e1878d694e1352 (diff)
downloademacs-197a09bf1b79d4523d16a29737527fedefc63190.tar.gz
Don't warn about "x-*" symbols when building a non-GUI version.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/cus-start.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index fd41f44fd1d..0275624842a 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -284,6 +284,8 @@
(eq system-type 'ms-dos))
((string-match "\\`w32-" (symbol-name symbol))
(eq system-type 'windows-nt))
+ ((string-match "\\`x-" (symbol-name symbol))
+ (fboundp 'x-create-frame))
(t t))))
(if (not (boundp symbol))
;; If variables are removed from C code, give an error here!