summaryrefslogtreecommitdiff
path: root/X11.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'X11.tmpl')
-rw-r--r--X11.tmpl22
1 files changed, 19 insertions, 3 deletions
diff --git a/X11.tmpl b/X11.tmpl
index e1a33d6..22a5d1f 100644
--- a/X11.tmpl
+++ b/X11.tmpl
@@ -1,6 +1,6 @@
XCOMM ----------------------------------------------------------------------
XCOMM X Window System Build Parameters and Rules
-XCOMM $XdotOrg: xc/config/cf/X11.tmpl,v 1.35 2004/09/03 16:18:18 kem Exp $
+XCOMM $XdotOrg$
XCOMM $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
XCOMM
XCOMM
@@ -473,7 +473,10 @@ XCOMM $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
#define BuildCup YES
#endif
#ifndef HasPlugin
-#define HasPlugin NO
+/* Browser plugins are shared libraries - only build them if the OS
+ * supports shared libs.
+ */
+#define HasPlugin HasSharedLibraries
#endif
#ifndef BuildPlugin
#define BuildPlugin HasPlugin
@@ -680,6 +683,10 @@ XCOMM $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
#define BuildXevieLibrary !BuildServersOnly
#endif
+#ifndef BuildRootless
+#define BuildRootless NO
+#endif
+
#ifndef BuildXterm
#define BuildXterm BuildClients
#endif
@@ -1237,6 +1244,14 @@ FCHOWN_DEFINES = -DHAS_FCHOWN
#endif
#endif
+#ifndef RootlessDefines
+#if BuildRootless
+#define RootlessDefines -DROOTLESS
+#else
+#define RootlessDefines /**/
+#endif
+#endif
+
#ifndef SitePervasiveExtensionDefines
#define SitePervasiveExtensionDefines /**/
#endif
@@ -1247,7 +1262,8 @@ FCHOWN_DEFINES = -DHAS_FCHOWN
XF86BigfontExtensionDefines DPMSDefines \
LowMemDefines XprintDefines XineramaDefines \
SitePervasiveExtensionDefines RenderDefines RandRDefines \
- XfixesDefines XDamageDefines CompositeDefines XevieDefines
+ XfixesDefines XDamageDefines CompositeDefines XevieDefines \
+ RootlessDefines
#endif
#ifndef SiteExtensionDefines
#define SiteExtensionDefines /**/