From ed7639a3042c902bbab8633ef45fd30de85d214c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 26 Sep 2006 03:11:31 +0000 Subject: 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) --- source4/lib/replace/libreplace_cc.m4 | 1 + 1 file changed, 1 insertion(+) 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 -- cgit