svn commit: samba r23304 - in branches/SAMBA_3_0_26/source/lib/replace: .

metze at samba.org metze at samba.org
Sat Jun 2 08:13:54 GMT 2007


Author: metze
Date: 2007-06-02 08:13:54 +0000 (Sat, 02 Jun 2007)
New Revision: 23304

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

Log:
merge from samba4:

fix large file support on HP-UX 11.00 and 11.11

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


Changeset:
Modified: branches/SAMBA_3_0_26/source/lib/replace/libreplace_cc.m4
===================================================================
--- branches/SAMBA_3_0_26/source/lib/replace/libreplace_cc.m4	2007-06-02 08:00:45 UTC (rev 23303)
+++ branches/SAMBA_3_0_26/source/lib/replace/libreplace_cc.m4	2007-06-02 08:13:54 UTC (rev 23304)
@@ -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