Brian Cameron wrote: >>> Assuming that isn't possible, and they need to provide different >>> styles of packages for Solaris versus OpenSolaris, then what is the >>> recommended interface to use to identify whether the codeina client is >>> running on Solaris versus OpenSolaris? >> i'm not sure this distinction needs to be made. afaik, for all >> the subsystems that fluendo should be dependant on, both solaris and >> opensolaris will be delivering the same binaries in the same locations. >> so they should be able to compile one set of binaries for use on both >> platforms. the only difference would be in the packaging. > > Since the codeina application steps the user through the process of > purchasing the plugins, then downloading and installing them, then > the codeina client would obviously need to differentiate between the > two since the installation process would be different (assuming that > they decide to support an OpenSolaris IPS repository in the future). > > So, I am still wondering what the best interface for differentiating > between a Solaris Nevada versus OpenSolaris client would be.
Follow the GNU autoconf philosophy - don't test for OS names and assume you know the feature set of all versions, past, present and future, of that OS -- test for the features you care about. If you write some complex test now to determine which is OpenSolaris 2008.11 and which is Solaris, what happens if Solaris 11 ships with IPS packaging? -- -Alan Coopersmith- [EMAIL PROTECTED] Sun Microsystems, Inc. - X Window System Engineering _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org