site.def: Only build C/en_US locales by default for Linux
[oweals/cde.git] / cde / config / cf / linux.cf
index 21ed5a08079d354623ece19792a9ef806444a331..a5d5c93721625f22bcf09c19c470c71317c77732 100644 (file)
@@ -101,7 +101,7 @@ XCOMM binutils:  (LinuxBinUtilsMajorVersion)
 #endif
 
 #define AvoidNullMakeCommand   YES
-#define StripInstalledPrograms YES
+#define StripInstalledPrograms NO
 #define CompressAllFonts       YES
 #define Malloc0ReturnsNull     YES
 #define NeedConstPrototypes    YES
@@ -143,20 +143,23 @@ XCOMM binutils:  (LinuxBinUtilsMajorVersion)
 XCOMM Lets try XdmAuth instead of the ancient MIT/DES auth
 #define HasXdmAuth  YES
 
-XCOMM If you have the tirpc library on your system, and you have the
-XCOMM libtirpc-dev installed, then define HasTIRPCLib to YES in either
-XCOMM your host.def or site.def file.  Using the tirpc lib should
-XCOMM allow running rpcbind in secure mode (ie: without the -i option).
-XCOMM The default is NO.
+XCOMM TIRPC is enabled by default now on Linux.  The libtirpc-dev package is
+XCOMM required for this support.  If you cannot use tirpc for some reason,
+XCOMM can disable it by defining HasTIRPCLib to NO in either
+XCOMM your host.def or site.def file.  Not using the TIRPC lib will require
+XCOMM that you run rpcbind in insecure mode (ie: with the -i option).
+XCOMM The default is YES.
 
 #ifndef HasTIRPCLib
-# define HasTIRPCLib NO
+# define HasTIRPCLib YES
 #endif
 
 #if HasTIRPCLib
 TIRPCLIB = -ltirpc
+TIRPCINC = -I/usr/include/tirpc
 #else
-TIRPCLIB = 
+TIRPCLIB =
+TIRPCINC =
 #endif
 
 #if !defined(DefaultGcc2i386Opt)
@@ -258,7 +261,7 @@ TIRPCLIB =
 # define StandardCppDefines      -traditional 
 #endif /* Mc68020Architecture */
 
-#define StandardDefines                -Dlinux LinuxMachineDefines LinuxSourceDefines
+#define StandardDefines                -D__linux__ LinuxMachineDefines LinuxSourceDefines
 
 #define ConnectionFlags                -DUNIXCONN -DTCPCONN
 
@@ -288,7 +291,8 @@ XCOMM This is needed for CDE currently
 #define ArchitectureDefines    -DLINUX_ARCHITECTURE
 
 #define TtClientLibs $(TTLIB) $(TIRPCLIB) $(XTOOLLIB) $(XLIB)
-#define TtClientDepLibs $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
+
+#define SharedTtReqs $(TIRPCLIB) $(LDPRELIBS) SharedXReqs $(CXXLIB)
 
 #include <lnxDep.rules>
 #include <lnxLib.rules>