changeset 43235:19bef4fcdae8

Don't warn about "x-*" symbols when building a non-GUI version.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 11 Feb 2002 07:06:55 +0000
parents 6cb802d18720
children e71102774d9b
files lisp/cus-start.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cus-start.el	Mon Feb 11 06:25:53 2002 +0000
+++ b/lisp/cus-start.el	Mon Feb 11 07:06:55 2002 +0000
@@ -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!