summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-26 05:40:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:20 -0500
commit410256e75aa720b4d88822ae415b44556bb79464 (patch)
tree7639d8869a5de1777922275057171cb167b2220d /source4/lib/replace
parented7639a3042c902bbab8633ef45fd30de85d214c (diff)
downloadsamba-410256e75aa720b4d88822ae415b44556bb79464.tar.gz
samba-410256e75aa720b4d88822ae415b44556bb79464.tar.bz2
samba-410256e75aa720b4d88822ae415b44556bb79464.zip
r18914: this bug fix needs to be for just hpux 11.11
(This used to be commit 2cccede13d34011767159c3345bb6da24ed09bd3)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/libreplace_cc.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4
index 37c1551351..b3b2b0d2bb 100644
--- a/source4/lib/replace/libreplace_cc.m4
+++ b/source4/lib/replace/libreplace_cc.m4
@@ -60,7 +60,10 @@ case "$host_os" in
*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