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

metze at samba.org metze at samba.org
Thu May 31 13:59:09 GMT 2007


Author: metze
Date: 2007-05-31 13:59:08 +0000 (Thu, 31 May 2007)
New Revision: 23266

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

Log:
HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need it

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-05-31 12:23:52 UTC (rev 23265)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4	2007-05-31 13:59:08 UTC (rev 23266)
@@ -60,10 +60,10 @@
 	*hpux*)
 		# mmap on HPUX is completely broken...
 		AC_DEFINE(MMAP_BLACKLIST, 1, [Whether MMAP is broken])
-#		if test "`uname -r`" = "B.11.11"; then
+		if test "`uname -r`" = "B.11.00" -o "`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"
-#		fi
+		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