summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-06-02 08:00:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:10 -0500
commitd596200dde861f42cb989158d17abb9b693aae99 (patch)
treee90cd412426356218cf511346a180bcbc00ab2b3 /source4
parent67c5b022a4510b3cfcdfc2b486a63220b8f3eef0 (diff)
downloadsamba-d596200dde861f42cb989158d17abb9b693aae99.tar.gz
samba-d596200dde861f42cb989158d17abb9b693aae99.tar.bz2
samba-d596200dde861f42cb989158d17abb9b693aae99.zip
r23303: so HP-UX 11.11 also likes the 11.00 workarround for broken
pread/pwrite when using large file support. metze (This used to be commit d890a2dabf309f15b0b0c87bb3888d0776bd094b)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/replace/libreplace_cc.m49
1 files changed, 2 insertions, 7 deletions
diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4
index fe19995db2..a01bf1b290 100644
--- a/source4/lib/replace/libreplace_cc.m4
+++ b/source4/lib/replace/libreplace_cc.m4
@@ -60,13 +60,8 @@ case "$host_os" in
*hpux*)
# mmap on HPUX is completely broken...
AC_DEFINE(MMAP_BLACKLIST, 1, [Whether MMAP is broken])
- if test "`uname -r`" = "B.11.00"; then
- AC_MSG_WARN([Enabling HPUX 11.00 header bug workaround])
- CFLAGS="$CFLAGS -Dpread=pread64 -Dpwrite=pwrite64"
- fi
- 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