OpenBSD 6+: use installed X11 and Motif

This commit removes the need to setup X11 and motif import symlinks
before building CDE.  With OpenBSD v6+, the installed versions of X11 and
Motif will be used.

This may work with earlier versions of OpenBSD as well, but I don't
have access to those older versions.  If you try it, and it works,
send a patch to the CDE mailing list.

This was tested on OpenBSD 6.2
This commit is contained in:
Jon Trulson
2018-06-14 12:59:21 -06:00
parent f598ed2358
commit 59b83865ef
2 changed files with 6 additions and 1 deletions

View File

@@ -148,6 +148,11 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# endif
#endif
/* Use installed versions of Xm and X11 */
#if OSMajorVersion >= 6
# define UseInstalledX11 YES
#endif
/*
* Compiler Features
*/