From: Richard Levitte - VMS Whacker <[EMAIL PROTECTED]>

levitte> we would get:
levitte> 
levitte>   $prefix="/usr/local" if ($prefix eq "");
levitte>   chop $prefix if $prefix =~ /\/$/;
levitte>   $openssldir=prefix."/ssl" if ($openssldir eq "");
levitte> 
levitte> Voil�!  That's even understandable...

Hmm, come to think of it, we probably want to keep the default
behavior (that is, the behavior when neither --prefix nor --openssldir
are given), which would give this:

  # A default preserved for historical reasons
  if ($prefix eq "" && $openssldir eq "")
    { $openssldir="/usr/local/ssl"; $prefix=$openssldir; }

  $prefix="/usr/local" if ($prefix eq "");
  chop $prefix if $prefix =~ /\/$/;

  $openssldir=prefix."/ssl" if ($openssldir eq "");
  chop $openssldir if $openssldir =~ /\/$/;


Looking back, with this, the only difference is when only --openssldir
is given.  As it is now, it does change $prefix as well, with my
scheme it doesn't.

Is there a reason to keep the current behavios and not change to the
scheme proposed above?  If nothing else, I think this new scheme is
easier to understand.

Comments?

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

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]

Reply via email to