Magnus has an important point: don't check for an OS, check for what its behavior is. I believe that in this case, we're talking about activating parts of a system-dependent header with this flag. That the flag is system dependent is not at issue; it's how we test that.
If the approach is like this... "Does blah.h work? No? What about if we add -D__LINUX__? Works? Good!" then we're doing The Right Thing (TM). If the approach is like this: "if( uname -a | grep Linux )" then we're way off in left field. Aaron On Fri, 28 Feb 2003, Jesse Norell wrote: > > Hello Magnus, > > > What I suggest is that you test for the LINUX capabilities in the > > configure script. By this way will the software be much more portable to > > other operating systems. > > You apparently misunderstood what Ryan said; this is exactly what > the patch does. Just run ./configure and if you're on a linux system > you get -D__LINUX__ included in your compile. > > > > My belief is that the operating system is of none importance. It's the > > library and system calls that the application depend upon. > > In this case it's a requisite .h file gets included, but it's > follows the same train of thought. > > Jesse > > > -- > Jesse Norell > [EMAIL PROTECTED] > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail >