summaryrefslogtreecommitdiff
path: root/sun.cf
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2004-03-17 17:16:56 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2004-03-17 17:16:56 +0000
commita4079b84696552f6041ef0afd391b565e2ac2a3b (patch)
tree8913f80630699d56a2e0b6e8d71e11c09bad56c5 /sun.cf
parent8d4b6457402e2d775784e3ea9dae82467dfaffa2 (diff)
42. Use system version of FreeType on Solaris 10 and provide instructions
on using it if it's installed on previous releases. (Alan Coopersmith)
Diffstat (limited to 'sun.cf')
-rw-r--r--sun.cf21
1 files changed, 17 insertions, 4 deletions
diff --git a/sun.cf b/sun.cf
index 346b8e2..b1e5895 100644
--- a/sun.cf
+++ b/sun.cf
@@ -1,4 +1,4 @@
-XCOMM $XdotOrg: xc/config/cf/sun.cf,v 1.1.4.8.2.1 2004/03/04 17:45:37 eich Exp $
+XCOMM $XdotOrg: xc/config/cf/sun.cf,v 1.1.4.8.2.2 2004/03/14 03:27:09 alanc Exp $
XCOMM platform: $Xorg: sun.cf,v 1.4 2000/08/17 19:41:48 cpqbld Exp $
@@ -278,16 +278,29 @@ XCOMM SunPro C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion
# define UseExportLists NO
# endif
# endif
-# if OSMinorVersion > 5
+# if OSMinorVersion > 5 /* Solaris 2.6 and later */
# define HasSnprintf YES
# endif
-# if OSMinorVersion > 7
+# if OSMinorVersion > 7 /* Solaris 8 and later */
# define HasStrlcat YES
# define HasStrcasecmp YES
# define HasZlib YES
# endif
-# if OSMinorVersion > 9
+# if OSMinorVersion > 9 /* Solaris 10 and later */
# define HasSetenv YES
+/* Solaris 10 includes FreeType already. It's also available in GNOME 2.0 for
+ * Solaris 8 & 9, and in Solaris 9 4/03 and later, but there's no easy way to
+ * detect that in imake, so users of those releases who want to use the
+ * installed FreeType instead of the one in this tree should copy the following
+ * two settings to their host.def. Those who want to use the in-tree copy
+ * regardless of OS version should add "#define HasFreetype2 NO" to host.def.
+ */
+# ifndef HasFreetype2
+# define HasFreetype2 YES
+# ifndef Freetype2Dir
+# define Freetype2Dir /usr/sfw
+# endif
+# endif
# endif
# define HasVFork NO
# define HasDlopen YES