I'm sorry, this was an attempt to add some low level stuff that would
help out not having to add flags each time you start dx. After
checking the man on sysinfo, I agree that I added the wrong header,
it should be linux/sys.h and linux/kernel.h. I added this as #if
linux because I figured it was at about the kernel level so all of
the linuxes should provide this functionality pretty close. I will
update the include problem but I believe the #if linux should still
suffice. Please let me know if I'm incorrect.
David
The latest changes to memory.c prevent me from building. It seems that I don't
have sys/sysinfo.h. Instead I need linux/kernel.h and linux/sys.h in order to
use the sysinfo function, according to my man pages. Also, using an #if linux
is almost the same as #if computer. There is _so_ much variation with linux
systems that it is almost a useless check. Instead you should be doing a
configure check for the functionality you want. In this case an
AC_CHECK_HEADER(sys/sysinfo.h).
.............................................................................
David L. Thompson The University of Montana
mailto:[EMAIL PROTECTED] Computer Science Department
http://www.cs.umt.edu/u/dthompsn Missoula, MT 59812
Work Phone : (406)257-8530