* config.guess: about target *-hitachi-hiuxwe2, fixed
authorPer Bothner <per@bothner.com>
Tue, 15 Mar 1994 18:56:22 +0000 (18:56 +0000)
committerPer Bothner <per@bothner.com>
Tue, 15 Mar 1994 18:56:22 +0000 (18:56 +0000)
machine guessing order.  [Hitachi's CPU_IS_HP_MC68K
macro is incorrect.]

ChangeLog
config.guess

index c2ef8becd1a9b330c54d72bf7ae4062e908fef55..8bdc3b1c6c5bf6cd6a198b5465aa9408e72ef4c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sun Mar  6 23:13:38 1994  Hisashi MINAMINO  (minamino@sra.co.jp)
+
+       * config.guess: about target *-hitachi-hiuxwe2, fixed
+       machine guessing order.  [Hitachi's CPU_IS_HP_MC68K
+       macro is incorrect.]
+
 Sun Mar 13 09:10:08 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * Makefile.in (TAGS): Just build TAGS in each subdirectory, rather
index 4efa7229f9640312f45d84830786dffb3fc72dc3..c9a3c68cc17adf78094676bee122100abda7f2aa 100755 (executable)
@@ -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);
        }