changeset 3006:7126575622da

* configure.in: Distinguish between hp800's and hp700's by calling "uname -m". * configure.in: Distinguish between hp800's and hp700's by calling "uname -m".
author Jim Blandy <jimb@redhat.com>
date Mon, 24 May 1993 05:06:15 +0000
parents 8a5b38421850
children e41b3dc686bb
files configure1.in
diffstat 1 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure1.in	Mon May 24 05:02:24 1993 +0000
+++ b/configure1.in	Mon May 24 05:06:15 1993 +0000
@@ -499,9 +499,19 @@
     machine=hp9000s300 opsys=hpux
   ;;
 
-  ## HP 9000 series 800, running HP/UX
+  ## HP 9000 series 700 and 800, running HP/UX
   hppa1.0-hp-hpux* )
-    machine=hp9000s800 opsys=hpux
+    machine=hp9000s800 opsys=hpux.h
+  ;;
+  hppa1.1-hp-hpux* )
+    machine=hp9000s800 opsys=hpux8.h
+  ;;
+  hppa*-hp-hpux* )
+    ## Cross-compilation?  Nah!
+    case "`uname -m`" in
+      9000/8?? ) machine=hp9000s800 opsys=hpux.h ;;
+      9000/7?? ) machine=hp9000s800 opsys=hpux8.h ;;
+    esac
   ;;
 
   ## Orion machines
@@ -838,7 +848,7 @@
 
 dnl checks for functions
 AC_ALLOCA
-AC_HAVE_FUNCS(gettimeofday gethostname dup2)
+AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename)
 
 dnl checks for structure members
 AC_STRUCT_TM