diff options
author | Jeremy Allison <jra@samba.org> | 2003-02-12 20:38:02 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-02-12 20:38:02 +0000 |
commit | fbdda574d8bcdae3356bc06a46d42549649a5499 (patch) | |
tree | 90829b008d08b44976e66e62a66d05d0d3628746 /source3/configure.in | |
parent | 8e5585a20fe1ef7ebc6d37b40d65bf730ee93256 (diff) | |
download | samba-fbdda574d8bcdae3356bc06a46d42549649a5499.tar.gz samba-fbdda574d8bcdae3356bc06a46d42549649a5499.tar.bz2 samba-fbdda574d8bcdae3356bc06a46d42549649a5499.zip |
Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
Jeremy.
(This used to be commit ba0f47f78db488bd8dcd59023f48aa77a1cb2c27)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in index 0d9814f681..aaa0499531 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -337,7 +337,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]) @@ -345,7 +345,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]) |