In message <[EMAIL PROTECTED]> on Wed, 17 Jul 2002 13:33:09
-0500, Stephen Sprunk <[EMAIL PROTECTED]> said:
stephen> I'd like to take on moving OpenSSL towards an autoconf
stephen> system. First of all, if anyone else is working on this,
stephen> please let me know :)
Others have done that, but it's so far not been a hot topic. The
trouble with autoconf is that it's very sh-bound (or at least the end
result is), which means is largely Unix-bound, and it generates a
number of variables that are often difficult to keep up woth manually
no the systems where autoconf and sh don't exist or work badly.
I'd like to encourage you to help us look for some other
configurator. The criteria *I* follow is the following:
- Generates perl files. This is very important, since Perl is the
most well-supported scripting language on a lot of Operating
systems.
- Modular, meaning different tests should be easy to insert in the
system.
- Fairly compatible with autoconf, or at least having the
approximate same functionality.
stephen> Second, I'd like to move all OS-specific defines and includes to a
stephen> common place, such as <openssl/common.h>. This would hopefully
stephen> eliminate the need for <openssl/e_os2.h> entirely. Comments?
So basically, you'd like e_os2.h to be renamed to common.h. Or did
you want to throw in the stuff that you find in e_os.h as well? You
need to understand that e_os.h is private to OpenSSL (it can mess
things up if used outside of OpenSSL) while e_os2.h is the public
part, so mixing them in the same file would be a bad idea.
stephen> Third, I'd like to re-type all variables in the form of
stephen> "uint8" et al. Any arguments or places I should be worried
stephen> about messing with?
I would avoid that as much as possible. However, conversion to size_t
where appropriate would be a good thing. I'm working on that, but
would appreciate any help I can get.
The reason to stay away from things likt uint8 is that it isn't
standardised yet. On some compilers, __uint8 is available instead, on
others it's u_int8 or u_int_8... Basically, we would have to define
our own in terms of whatever we find out there...
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]