Bodo Moeller <[EMAIL PROTECTED]> writes:
> On Wed, Jul 07, 1999 at 08:17:22AM +0200, Alessandro Vesely wrote:
>
> [...]
> > Will there still be a Perl based config? if not, another hurrah for
> > that; although it doesn't look like an easy rework to do, there are
> > Perl installations that only are there for installing OpenSSL...
>
> Perl is not just needed for running the configuration script; it is also
> needed for putting together some of the assembler files, changing
> defaults in various files (well, this counts as configuration, I guess),
This is easily taken care of by making 'foo.bar.in' files that get sed'd
into `foo.bar' files with the correct paths in them.
> creating a single Makefile (for Windows builds)
This will probably just have to be a standard NT makefile that is in the
tree instead of a mismash of the unix ones.
> running "make depend" (which you have to do if you delete some of the
> ciphers), etc.
Well, I haven't looked at how OpenSSL does dependencies, but you can deal
with potentially missing subdirectories really easily. What I do with our
product here is in the configure.in script, I do a 'find . -name "*.in"'
and use the result of that in the AC_OUTPUT() macro. So if I move
directories around, add new directories to the main project, etc, the
Makefile.in (or whatever.in) gets automatically picked up.
Judicious use of rules like `if [ -f $(subdir)/Makefile ]; then ( cd
$(subdir) ; $(MAKE) $(target) ); fi' does the rest.
> For library development, Perl is also needed for collecting error codes
> and function prototypes. Some things that are easy to do in Perl would
> make for ugly and slow shell scripts.
The fact that OpenSSL modifies .h files and things like that _in_place_ is
one of the things I hate most about it. :) If I could make that go away as
easily, trust me I would.
And if I get a serious bug up my #%!@ one weekend I'm not out playing with
the kiddo, I will probably give it a try. :)
-Bill P.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]