diff options
author | lloyd <[email protected]> | 2008-10-11 17:48:16 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-11 17:48:16 +0000 |
commit | 4f6590532f04af9d70074b90c42559aec1e82ebb (patch) | |
tree | fe282458e737f150e38d3595dd7168600d711d29 /src/math/gfpmath | |
parent | cc68844d3f908738c1aaf01299668abd4abdb3ba (diff) |
Only run uname if Perl's -f operator returns true for
'/bin/uname', '/usr/bin/uname', or '/bin/sh' - the existence of
these files gives us some hope that exec'ing uname will work,
and avoids an error on Windows builds.
Only run uname once (uname -a), collecting it into $$config{'uname'}
(previously configure.pl might run it as many as three times,
uname -s, uname -p, and uname -m).
Only submodels were being searched longest to shortest. Modify
guess_cpu_from_this to also search arch names and aliases in this
manner. This allows Config{'archname'} of 'x86_64-linux' to be
correctly detected as x86-64 (was being detected as x86, since
before the search was ordered by the Perl hash order).
Diffstat (limited to 'src/math/gfpmath')
0 files changed, 0 insertions, 0 deletions