Hello all!

Please consider the following lines in Configure script (from 1.0.0e):

  1804          (system $make_command.$make_targets) == 0 or exit $?
  1805                  if $make_targets ne "";

AFAIU intent was to return from Configure whatever error 'make' returned when the it failed.
But in fact this doesn't work (checked on Linux and Solaris):

$ perl -e '(system "false") == 0 or exit $?'
$ echo $?
0

To return exit code of the 'make' $? should be shifted right by 8 bits.
But this will return 0 if 'make' crashed for some reason.
So I think the best solution is simply exit with return code 1 (or call 'die').

Bye!
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to