diff options
author | Per Bothner <per@bothner.com> | 1994-03-15 18:56:22 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1994-03-15 18:56:22 +0000 |
commit | e7b02f0e4943674ca63c44d84b8607687b0e741e (patch) | |
tree | b3b88e9f96d037bc0a655a29a56497a420df76c2 /config.guess | |
parent | f93b941bdec27d25d9895af310d174aabb082d59 (diff) | |
download | gdb-e7b02f0e4943674ca63c44d84b8607687b0e741e.zip gdb-e7b02f0e4943674ca63c44d84b8607687b0e741e.tar.gz gdb-e7b02f0e4943674ca63c44d84b8607687b0e741e.tar.bz2 |
* config.guess: about target *-hitachi-hiuxwe2, fixed
machine guessing order. [Hitachi's CPU_IS_HP_MC68K
macro is incorrect.]
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config.guess b/config.guess index 4efa722..c9a3c68 100755 --- a/config.guess +++ b/config.guess @@ -133,9 +133,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in main () { long cpu = sysconf (_SC_CPU_VERSION); - if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else if (CPU_IS_PA_RISC (cpu)) + if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { @@ -145,6 +143,8 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in default: puts ("hppa-hitachi-hiuxwe2"); break; } } + if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } |