Hello again,
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.
I did not mean that you should test if the operating system is Linux, I
think you should test if the operating system has some specific
capabilities. Otherwhise you will get -D__WINDOWSXP__ or more
realisticly -D__SOLARIS__, -D__NETBSB__, -D__HPUX__
I do not know what the compile flag -D__LINUX__ stands for, but I
strongly beleive that you should not test for a whole family of
capabilities (i.e. LINUX), you should test each required capability
singularly. I believe this is within the spirit of autoconf.
Magnus
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