1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

Minor corrections and cleanup to sun.cf

This commit is contained in:
Matthew R. Trower 2018-06-11 23:10:39 -05:00 committed by Jon Trulson
parent 408f8256cd
commit b2540645a3

View file

@ -29,8 +29,7 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
* configuration varibles used here. * configuration varibles used here.
* *
* If you don't tell us which C compiler you have, we assume you have * If you don't tell us which C compiler you have, we assume you have
* the Gcc C compiler under Solaris 5.x. * the Gcc C compiler under Solaris 2.x.
* under SunOS 4.1.x
* *
* === C++ Compiler Setup ========================================== * === C++ Compiler Setup ==========================================
* *
@ -43,8 +42,8 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
* In any case, you may also need to set CplusplusDependIncludes. * In any case, you may also need to set CplusplusDependIncludes.
* *
* If you say you have the SunPro C++ compiler, we assume you have * If you say you have the SunPro C++ compiler, we assume you have
* version 5.0.x of the compiler. If you have version 4.0.x instead, * version 5.0.x of the compiler. If you have an earlier version
* define CplusplusCompilerMajorVersion as 4 in host.def. * instead, define CplusplusCompilerMajorVersion in host.def.
* *
*/ */
@ -182,8 +181,10 @@ XCOMM Gnu C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion
# define OptimizedCplusplusDebugFlags -O2 -erroff=attrskipunsup # define OptimizedCplusplusDebugFlags -O2 -erroff=attrskipunsup
#endif #endif
#ifndef CplusplusDependIncludes #ifndef CplusplusDependIncludes
#if CplusplusCompilerMajorVersion > 3 #if CplusplusCompilerMajorVersion > 4
# define CplusplusDependIncludes -I/opt/solarisstudio/prod/include/CC -I/opt/solarisstudio/prod/include/CC/Cstd -I/opt/solarisstudio/prod/include/CC/std # define CplusplusDependIncludes -I/opt/solarisstudio/prod/include/CC -I/opt/solarisstudio/prod/include/CC/Cstd -I/opt/solarisstudio/prod/include/CC/std
#elif CplusplusCompilerMajorVersion > 3
# define CplusplusDependIncludes -I/opt/SUNWspro/SC4.0/include/CC
#elif CplusplusCompilerMajorVersion > 2 #elif CplusplusCompilerMajorVersion > 2
# define CplusplusDependIncludes -I/opt/SUNWspro/SC3.0/include/CC # define CplusplusDependIncludes -I/opt/SUNWspro/SC3.0/include/CC
#else #else