(perls)
| 47 | # Being a Perl dummy, the simplest way I can check is if the "Win32" package |
| 48 | # is available. |
| 49 | def find_working_perl(perls): |
| 50 | for perl in perls: |
| 51 | try: |
| 52 | subprocess.check_output([perl, "-e", "use Win32;"]) |
| 53 | except subprocess.CalledProcessError: |
| 54 | continue |
| 55 | else: |
| 56 | return perl |
| 57 | |
| 58 | if perls: |
| 59 | print("The following perl interpreters were found:") |
| 60 | for p in perls: |
| 61 | print(" ", p) |
| 62 | print(" None of these versions appear suitable for building OpenSSL") |
| 63 | else: |
| 64 | print("NO perl interpreters were found on this machine at all!") |
| 65 | print(" Please install ActivePerl and ensure it appears on your path") |
| 66 | |
| 67 | |
| 68 | def copy_includes(makefile, suffix): |
no test coverage detected
searching dependent graphs…