summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-31 13:59:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:08 -0500
commitf0daf9602d71ac0938fe982c77c6bcf9720305ca (patch)
treedeb9f07e05f538c9a80186220e2ed8e0e266aec6 /source4/lib
parent1e3a49478ed4dcd58d290f708d995ce4eba8d3ea (diff)
downloadsamba-f0daf9602d71ac0938fe982c77c6bcf9720305ca.tar.gz
samba-f0daf9602d71ac0938fe982c77c6bcf9720305ca.tar.bz2
samba-f0daf9602d71ac0938fe982c77c6bcf9720305ca.zip
r23266: HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need it
metze (This used to be commit 6dff6c93fc9073f29b0ae50e4b4abd695918a115)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/libreplace_cc.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4
index 3acd0eda8e..d4b7cfcdff 100644
--- a/source4/lib/replace/libreplace_cc.m4
+++ b/source4/lib/replace/libreplace_cc.m4
@@ -60,10 +60,10 @@ 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.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"