]> code.delx.au - gnu-emacs/commitdiff
* configure.in (hppa-hp-hpux): Use uname -r instead of uname -m;
authorJim Blandy <jimb@redhat.com>
Wed, 26 May 1993 18:32:19 +0000 (18:32 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 26 May 1993 18:32:19 +0000 (18:32 +0000)
the former gives you the operating system rev directly.  Use
s/hpux.h if we don't recognize what we got.

configure1.in

index af9ed64e4a40fe4bd60f648374bc9afd3eeebf5f..b949da92abfd414a48037d76aa0f795bf8a9154c 100755 (executable)
@@ -526,9 +526,10 @@ case "${configuration}" in
   ;;
   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
   ;;