svn commit: samba r23305 - in branches/SAMBA_3_0/source/lib/replace: .

metze at samba.org metze at samba.org
Sat Jun 2 08:14:27 GMT 2007


Author: metze
Date: 2007-06-02 08:14:27 +0000 (Sat, 02 Jun 2007)
New Revision: 23305

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

Log:
merge from samba4:

fix large file support on HP-UX 11.00 and 11.11

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


Changeset:
Modified: branches/SAMBA_3_0/source/lib/replace/libreplace_cc.m4
===================================================================
--- branches/SAMBA_3_0/source/lib/replace/libreplace_cc.m4	2007-06-02 08:13:54 UTC (rev 23304)
+++ branches/SAMBA_3_0/source/lib/replace/libreplace_cc.m4	2007-06-02 08:14:27 UTC (rev 23305)
@@ -60,9 +60,9 @@
 	*hpux*)
 		# mmap on HPUX is completely broken...
 		AC_DEFINE(MMAP_BLACKLIST, 1, [Whether MMAP is broken])
-		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"
+		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.23"; then
 			AC_MSG_WARN([Enabling HPUX 11.23 machine/sys/getppdp.h bug workaround])



More information about the samba-cvs mailing list