summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-10-08 21:09:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:49 -0500
commit2e059dec541e580df3cb9c62f47c275051bae899 (patch)
tree67e782680ea1cd3d4f268a1f0d2db20e765bba5e /source4/lib
parenta3a619a3643edbf87882550d04e34484bd251fc4 (diff)
downloadsamba-2e059dec541e580df3cb9c62f47c275051bae899.tar.gz
samba-2e059dec541e580df3cb9c62f47c275051bae899.tar.bz2
samba-2e059dec541e580df3cb9c62f47c275051bae899.zip
r19173: see if HPUX 11.23 needs the same workaround as 11.11
metze (This used to be commit 896326d5081da6a20babacf4c28c556fa44216c5)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/libreplace_cc.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4
index 77bb5a0598..6bbea2977b 100644
--- a/source4/lib/replace/libreplace_cc.m4
+++ b/source4/lib/replace/libreplace_cc.m4
@@ -64,6 +64,10 @@ case "$host_os" in
AC_MSG_WARN([Enabling HPUX 11.11 header bug workaround])
CFLAGS="$CFLAGS -D_LARGEFILE64_SUPPORT -D__LP64__ -DO_LARGEFILE=04000"
fi
+ if test "`uname -r`" = "B.11.23"; then
+ AC_MSG_WARN([Enabling HPUX 11.23 header bug workaround])
+ CFLAGS="$CFLAGS -D_LARGEFILE64_SUPPORT -D__LP64__ -DO_LARGEFILE=04000"
+ fi
;;
*aix*)
AC_DEFINE(BROKEN_STRNDUP, 1, [Whether strndup is broken])