[exim-dev] Small patch for HP-UX 11

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Michael Haardt
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] Small patch for HP-UX 11
Hello,

here is a small patch for building on HP-UX 11. In case there are more
than two HP-UX users on the list, please test this as well. :-)

Michael
----------------------------------------------------------------------
--- OS/os.h-HP-UX.orig    2005-06-08 14:46:34.000000000 +0200
+++ OS/os.h-HP-UX    2005-06-08 14:47:42.000000000 +0200
@@ -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
--- OS/Makefile-HP-UX.orig    2005-06-08 14:45:50.000000000 +0200
+++ OS/Makefile-HP-UX    2005-06-08 14:46:23.000000000 +0200
@@ -2,7 +2,11 @@


# 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