Index: xc/config/cf/sun.cf =================================================================== RCS file: /cvs/xorg/xc/config/cf/sun.cf,v retrieving revision 1.10 diff -u -2 -0 -r1.10 sun.cf --- xc/config/cf/sun.cf 8 Nov 2004 00:08:21 -0000 1.10 +++ xc/config/cf/sun.cf 7 Mar 2005 21:06:31 -0000 @@ -226,40 +226,46 @@ */ #if OSMajorVersion < 5 # define IncludeCG2HeaderDefine -DINCLUDE_CG2_HEADER #else # define IncludeCG2HeaderDefine /**/ #endif #ifdef i386Architecture # if OSMajorVersion > 4 # if OSMinorVersion >= 8 # define OSServerExtraDefines -D__SOL8__ # endif # if HasSunC # define CompilerServerExtraDefines $(XF86SRC)/os-support/sunos/ia32.il # endif # endif #else # define HasPlugin YES #endif +/* Add |sunmath| library to MathLibrary to enable access to + * shortcuts like |sincos()| */ +#ifndef MathLibrary +# define MathLibrary -lsunmath -lm +#endif + #ifndef CompilerServerExtraDefines # define CompilerServerExtraDefines /**/ #endif #ifndef OSServerExtraDefines # define OSServerExtraDefines /**/ #endif #define ServerOSDefines XFree86ServerOSDefines IncludeCG2HeaderDefine #define ServerExtraDefines AllocateLocalDefines XFree86ServerDefines \ CompilerServerExtraDefines OSServerExtraDefines #ifndef HasPerl /* Solaris 8 comes with perl. Earlier versions don't. */ # if (OSMajorVersion == 5) && (OSMinorVersion >= 8) # define HasPerl YES # else # define HasPerl NO # endif