site.def: Only build C/en_US locales by default for Linux
[oweals/cde.git] / cde / config / cf / site.def
index 14015924af6c219d017968456e6aaea0418b78b3..785d259453e8bd4f24bcbfa11315b79d3cdd3ab1 100644 (file)
@@ -33,8 +33,7 @@ XCOMM site:  $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
  * the two following macros need to be defined directly (accordingly to the
  * TopLevelProject macro defined above).
  */
-# if defined(SunArchitecture) || defined(AIXArchitecture) \
-     || defined(USLArchitecture) || defined(UXPArchitecture)
+# if defined(SunArchitecture) || defined(AIXArchitecture)
 #  ifndef ProjectRulesFile
 #   define ProjectRulesFile    <cde.rules>
 #  endif
@@ -43,10 +42,6 @@ XCOMM site:  $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
 #  endif
 # endif
 
-# ifdef AlphaArchitecture
-#  define HasDECCplusplus      YES
-# endif
-
 # ifdef HPArchitecture
 #  define HasHPCplusplus       YES
 # endif
@@ -56,11 +51,25 @@ XCOMM site:  $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
 # endif
 
 # if defined(SunArchitecture)
-#  define HasSunCplusplus      YES
+#  ifndef HasSunC
+#   define HasSunC             NO
+#  endif
+#  ifndef HasSunCplusplus
+#   define HasSunCplusplus     HasSunC
+#  endif
+#  ifndef HasGcc2
+#   if HasSunC
+#    define HasGcc2            NO
+#   else
+#    define HasGcc2            YES
+#   endif
+#  endif
+#  ifndef HasGcc2ForCplusplus
+#   define HasGcc2ForCplusplus HasGcc2
+#  endif
 # endif
 
-# if defined(UXPArchitecture) || defined(USLArchitecture) \
-     || defined(AIXArchitecture)
+# if defined(AIXArchitecture)
 #  define HasCplusplus         YES
 # endif
 
@@ -91,6 +100,8 @@ XCOMM site:  $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
 #  define MotifProjectRoot     /usr/local
 # elif defined(NetBSDArchitecture)
 #  define MotifProjectRoot     /usr/pkg
+# elif defined(SunArchitecture)
+#  define MotifProjectRoot     /usr/X11
 # endif
 #endif
 
@@ -105,10 +116,6 @@ XCOMM build the DtXinerama support
 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
 #endif
 
-#ifdef UXPArchitecture
-# define DtLocalesToBuild ja_JP.dt-eucJP
-#endif
-
 XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
 XCOMM  or building non-C locales will cause build failures.
 #if defined(BSDArchitecture)
@@ -116,7 +123,10 @@ XCOMM  or building non-C locales will cause build failures.
 #endif
 
 #if defined(LinuxArchitecture)
-# define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8
+XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
+XCOMM  or building non-C locales will cause build failures.
+XCOMM DtLocalesToBuild: de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8
+# define DtLocalesToBuild en_US.UTF-8
 # define UTF8_NLS_SUPPORT
 #endif
 
@@ -143,4 +153,9 @@ XCOMM  or building non-C locales will cause build failures.
 #endif
 #endif
 
+XCOMM define DtDocLocalesToBuild to be the same as DtLocalesToBuild if undefined
+#ifndef DtDocLocalesToBuild
+# define DtDocLocalesToBuild DtLocalesToBuild
+#endif
+
 #endif /* AfterVendorCF */