changeset 3124:e6338dd6e55f

* configure.in (hppa-hp-hpux): Use uname -r instead of uname -m; the former gives you the operating system rev directly. Use s/hpux.h if we don't recognize what we got.
author Jim Blandy <jimb@redhat.com>
date Wed, 26 May 1993 18:32:19 +0000
parents 0e9f73b6245d
children 4f552542504b
files configure1.in
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure1.in	Wed May 26 18:27:58 1993 +0000
+++ b/configure1.in	Wed May 26 18:32:19 1993 +0000
@@ -526,9 +526,10 @@
   ;;
   hppa*-hp-hpux* )
     ## Cross-compilation?  Nah!
-    case "`uname -m`" in
-      9000/8?? ) machine=hp9000s800 opsys=hpux ;;
-      9000/7?? ) machine=hp9000s800 opsys=hpux8 ;;
+    case "`uname -r`" in
+      *.08.* ) machine=hp9000s800 opsys=hpux ;;
+      *.09.* ) machine=hp9000s800 opsys=hpux8 ;;
+      *) machine=hp9000s800 opsys=hpux ;;
     esac
   ;;