summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-26 03:11:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:20 -0500
commited7639a3042c902bbab8633ef45fd30de85d214c (patch)
tree5b7ae14f4cfdbfc4ccc11057460dc9c6a642c39e /source4/lib
parente44df751a17aa5b77c151228b3b0f5af91d4bd12 (diff)
downloadsamba-ed7639a3042c902bbab8633ef45fd30de85d214c.tar.gz
samba-ed7639a3042c902bbab8633ef45fd30de85d214c.tar.bz2
samba-ed7639a3042c902bbab8633ef45fd30de85d214c.zip
r18913: an attempt to get tdb/ldb working on the HPUX box 'gwen'. This idea
come from Don McCall. Don may well be able to provide us with a configure test in the future which does this in a nicer way, I just want to see if it works now. (This used to be commit f7f548a1c79a78a1b15e96732994135cba94aa3d)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/libreplace_cc.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4
index 352d115547..37c1551351 100644
--- a/source4/lib/replace/libreplace_cc.m4
+++ b/source4/lib/replace/libreplace_cc.m4
@@ -60,6 +60,7 @@ 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"
;;
*aix*)
if test "${GCC}" != "yes"; then