Applied Michael Haardt's HP-UX patch.
authorPhilip Hazel <ph10@hermes.cam.ac.uk>
Fri, 17 Jun 2005 09:02:40 +0000 (09:02 +0000)
committerPhilip Hazel <ph10@hermes.cam.ac.uk>
Fri, 17 Jun 2005 09:02:40 +0000 (09:02 +0000)
doc/doc-txt/ChangeLog
src/OS/Makefile-HP-UX
src/OS/os.h-HP-UX

index dcd09de..ffcb6e1 100644 (file)
@@ -1,4 +1,4 @@
-$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.159 2005/06/16 20:02:42 tom Exp $
+$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.160 2005/06/17 09:02:40 ph10 Exp $
 
 Change log file for Exim from version 4.21
 -------------------------------------------
@@ -140,6 +140,9 @@ TK/09 Added "prvs" and "prvscheck" expansion items. These help a lot with
       implementing BATV in an Exim configuration. See NewStuff for the gory
       details.
 
+PH/17 Applied Michael Haardt's patch for HP-UX, affecting only the os.h and
+      Makefile that are specific to HP-UX.
+
 
 Exim version 4.51
 -----------------
index a5d5374..7b77b10 100644 (file)
@@ -1,8 +1,13 @@
-# $Cambridge: exim/src/OS/Makefile-HP-UX,v 1.1 2004/10/06 15:07:39 ph10 Exp $
+# $Cambridge: exim/src/OS/Makefile-HP-UX,v 1.2 2005/06/17 09:02:40 ph10 Exp $
 
 # Exim: OS-specific make file for HP-UX later than 9
 
-CFLAGS=-O
+# HP ANSI C compiler
+#CC=cc
+#CFLAGS=+O1 +Onolimit -z -D_XOPEN_SOURCE_EXTENDED
+# gcc
+CFLAGS=-O -Wl,-z -D_XOPEN_SOURCE_EXTENDED
+
 BASENAME_COMMAND=/bin/basename
 HAVE_ICONV=yes
 HAVE_SETRESUID=YES
index 027cf92..2040815 100644 (file)
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/OS/os.h-HP-UX,v 1.2 2005/05/03 14:22:12 ph10 Exp $ */
+/* $Cambridge: exim/src/OS/os.h-HP-UX,v 1.3 2005/06/17 09:02:40 ph10 Exp $ */
 
 /* Exim: OS-specific C header file for HP-UX versions greater than 9 */
 
@@ -9,7 +9,7 @@
 #define HAVE_DEV_KMEM
 #define LOAD_AVG_TYPE   double
 #define LOAD_AVG_SYMBOL "avenrun"
-#define KERNEL_PATH     "/hp-ux"
+#define KERNEL_PATH     "/stand/vmunix"
 #define FSCALE          1.0
 
 #define HAVE_SYS_STATVFS_H