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

tridge at samba.org tridge at samba.org
Tue Sep 26 05:40:58 GMT 2006


Author: tridge
Date: 2006-09-26 05:40:57 +0000 (Tue, 26 Sep 2006)
New Revision: 18914

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

Log:

this bug fix needs to be for just hpux 11.11

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	2006-09-26 03:11:31 UTC (rev 18913)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4	2006-09-26 05:40:57 UTC (rev 18914)
@@ -60,7 +60,10 @@
 	*hpux*)
 		# mmap on HPUX is completely broken...
 		AC_DEFINE(MMAP_BLACKLIST, 1, [Whether MMAP is broken])
-		CFLAGS="$CFLAGS -D_LARGEFILE64_SUPPORT -D__LP64__ -DO_LARGEFILE=04000"
+		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"
+		fi
 		;;
 	*aix*)
 		if test "${GCC}" != "yes"; then



More information about the samba-cvs mailing list