summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-02-12 20:40:29 +0000
committerJeremy Allison <jra@samba.org>2003-02-12 20:40:29 +0000
commit7fe6742d04f05c28af9e5bda37bc1dce734fe559 (patch)
tree3bfa6bea1f12fce60aa4a8ca4e5313d46dad76f9 /source3/configure.in
parent3bfd4406201593c1b5b7a97825bc514e700aea7a (diff)
downloadsamba-7fe6742d04f05c28af9e5bda37bc1dce734fe559.tar.gz
samba-7fe6742d04f05c28af9e5bda37bc1dce734fe559.tar.bz2
samba-7fe6742d04f05c28af9e5bda37bc1dce734fe559.zip
Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
Jeremy. (This used to be commit e9b4fb8b9aedda9afc01af976264298002be3096)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index d57495a67a..7952a5070f 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -247,7 +247,7 @@ case "$host_os" in
#
case `uname -r` in
*9*|*10*)
- CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4"
+ CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4 -DMAX_POSITIVE_LOCK_OFFSET=0x1ffffffffffLL"
AC_DEFINE(USE_BOTH_CRYPT_CALLS, 1, [Whether to use both of HPUX' crypt calls])
AC_DEFINE(_HPUX_SOURCE, 1, [Whether to use HPUX extensions])
AC_DEFINE(_POSIX_SOURCE, 1, [Whether to use POSIX compatible functions])
@@ -255,7 +255,7 @@ case "$host_os" in
AC_DEFINE(_MAX_ALIGNMENT,4,[Maximum alignment])
;;
*11*)
- CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4"
+ CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4 -DMAX_POSITIVE_LOCK_OFFSET=0x1ffffffffffLL"
AC_DEFINE(USE_BOTH_CRYPT_CALLS, 1, [Whether to use both of HPUX' crypt calls])
AC_DEFINE(_HPUX_SOURCE, 1, [Whether to use HPUX extensions])
AC_DEFINE(_POSIX_SOURCE, 1, [Whether to use POSIX compatible functions])