diff options
author | Richard Levitte <levitte@openssl.org> | 2002-01-27 15:58:34 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-01-27 15:58:34 +0000 |
commit | c9c21d3b896f3dedd21fddf523bed397831023ab (patch) | |
tree | 55d7e8f86ca9d0a5f4cdda79693ad8ad27ee242c /Configure | |
parent | d0d046eca25f7c210e025a7d951cb683b551566d (diff) | |
download | openssl-c9c21d3b896f3dedd21fddf523bed397831023ab.tar.gz |
Detect one-step shifts of the dso_scheme.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1544,7 +1544,19 @@ sub test_sanity { @fields = split(/\s*:\s*/,$table{$target} . ":" x 30 , -1); - if ($fields[$idx_dso_scheme] !~ /^(dl|dlfcn|win32|vms|)$/) + if ($fields[$idx_dso_scheme-1] =~ /^(dl|dlfcn|win32|vms)$/) + { + $errorcnt++; + print STDERR "SANITY ERROR: '$target' has the dso_scheme [$idx_dso_scheme] values\n"; + print STDERR " in the previous field\n"; + } + elsif ($fields[$idx_dso_scheme+1] =~ /^(dl|dlfcn|win32|vms)$/) + { + $errorcnt++; + print STDERR "SANITY ERROR: '$target' has the dso_scheme [$idx_dso_scheme] values\n"; + print STDERR " in the following field\n"; + } + elsif ($fields[$idx_dso_scheme] !~ /^(dl|dlfcn|win32|vms|)$/) { $errorcnt++; print STDERR "SANITY ERROR: '$target' has the dso_scheme [$idx_dso_scheme] field = ",$fields[$idx_dso_scheme],"\n"; |