On Mon, 19 Jan 2004, Hanspeter Roth wrote: > On Jan 19 at 08:58, Bob Friesenhahn spoke: > > > The key is to not use C++ to execute these tests. Use C while > > checking for library functions. Only set the language to C++ while > > testing C++ related features. > > Does it make sense to run test in C while the function getloadavg() is > used in a C++ Module? Presuming that your C and C++ compilers are ABI compatible and the C++ compiler uses the same C libraries as the C compiler, then certainly it makes sense to check for C functions using the C compiler. It also helps Autoconf work. :-) Bob ====================================== Bob Friesenhahn bfriesen@xxxxxxxxxxxxxxxxxxx http://www.simplesystems.org/users/bfriesen