Hi Everyone:

I'm a little bit confused about how to determine whether Linux is 
installed for CS::Platform::GetPhysicalMemorySize().

Since Linux/UNIX aren't distinguished at configuration time, I am 
probably going to need to tweak the configure.ac file to make sure it 
does a test for the memory checking functions, and apply the appropriate 
functionality.  I was thinking about doing a check for the function 
sysinfo() using AC_CHECK_LIB, but I'm not 100% sure how I would go about 
doing this (I've never written a configure script before).  I'm 
wondering if there's a way to have $host_os specify whether true unix 
(e.g. openbsd) or linux (e.g. redhat-linux, ubuntu, etc...) is being 
used.  I guess my question is what AC_CANONICAL_HOST actually returns 
inside of $host_os.

Any thoughts on this?

~Scott


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to