On Mon, 24 Apr 2006, joerg%britannica.bec.de@localhost wrote:
On Sun, Apr 23, 2006 at 09:01:12PM -0500, Hugo Rivera wrote:You shouldn't let the package detect such things on the build host, because resulting binary packages (e.g. from bulk builds) may be used on incompatible machines. The preferred way is to make them options.That's what I'm trying to do, to make SCons figure out weather or not each machine has SSE/MMX support by using the output of some variable (hopefully with sysctl).What Geert tried to tell you was that this is not desired. Please use the option framework and e.g. --enable-sse or whatever it is and don't force any *compile time* detection. For example I'm building packages on a P4-Xeon, they should also run on a Pentium MMX.
Maybe the question was how to use sysctl(3) to detect it at runtime? -- David Brownlee -- abs%absd.org@localhost ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ pkgsrc-wip-discuss mailing list pkgsrc-wip-discuss%lists.sourceforge.net@localhost https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss