svn commit: samba r23303 - in branches/SAMBA_4_0/source/lib/replace: .

metze at samba.org metze at samba.org
Sat Jun 2 08:00:47 GMT 2007


Author: metze
Date: 2007-06-02 08:00:45 +0000 (Sat, 02 Jun 2007)
New Revision: 23303

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23303

Log:
so HP-UX 11.11 also likes the 11.00 workarround for broken
pread/pwrite when using large file support.

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4	2007-06-02 06:28:38 UTC (rev 23302)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4	2007-06-02 08:00:45 UTC (rev 23303)
@@ -60,15 +60,10 @@
 	*hpux*)
 		# mmap on HPUX is completely broken...
 		AC_DEFINE(MMAP_BLACKLIST, 1, [Whether MMAP is broken])
-		if test "`uname -r`" = "B.11.00"; then
-			AC_MSG_WARN([Enabling HPUX 11.00 header bug workaround])
+		if test "`uname -r`" = "B.11.00" -o "`uname -r`" = "B.11.11"; then
+			AC_MSG_WARN([Enabling HPUX 11.00/11.11 header bug workaround])
 			CFLAGS="$CFLAGS -Dpread=pread64 -Dpwrite=pwrite64"
 		fi
-		if test "`uname -r`" = "B.11.11"; then
-			AC_MSG_WARN([Enabling HPUX 11.11 header bug workaround])
-			#CFLAGS="$CFLAGS -D_LARGEFILE64_SUPPORT -D__LP64__ -DO_LARGEFILE=04000"
-			CFLAGS="$CFLAGS -Dpread=pread64 -Dpwrite=pwrite64"
-		fi
 		if test "`uname -r`" = "B.11.23"; then
 			AC_MSG_WARN([Enabling HPUX 11.23 machine/sys/getppdp.h bug workaround])
 			CFLAGS="$CFLAGS -D_MACHINE_SYS_GETPPDP_INCLUDED"



More information about the samba-cvs mailing list