mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
r25244: see what the build-farm says when we only use large file support
detection from libreplace...
It would be good if someone could test that on HPUX...
metze
(This used to be commit 00ea030e67
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1edf050ad8
commit
8d61da140a
@ -756,21 +756,23 @@ 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 -DMAX_POSITIVE_LOCK_OFFSET=0x1ffffffffffLL"
|
||||
# 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])
|
||||
AC_DEFINE(_ALIGNMENT_REQUIRED,1,[Required alignment])
|
||||
AC_DEFINE(_MAX_ALIGNMENT,4,[Maximum alignment])
|
||||
# AC_DEFINE(_HPUX_SOURCE, 1, [Whether to use HPUX extensions])
|
||||
# AC_DEFINE(_POSIX_SOURCE, 1, [Whether to use POSIX compatible functions])
|
||||
# AC_DEFINE(_ALIGNMENT_REQUIRED,1,[Required alignment])
|
||||
# AC_DEFINE(_MAX_ALIGNMENT,4,[Maximum alignment])
|
||||
# AC_DEFINE(MAX_POSITIVE_LOCK_OFFSET,0x1ffffffffffLL,[Maximun positive lock offset])
|
||||
;;
|
||||
*11*)
|
||||
CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4 -DMAX_POSITIVE_LOCK_OFFSET=0x1ffffffffffLL"
|
||||
# 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])
|
||||
AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to use large file support])
|
||||
AC_DEFINE(_ALIGNMENT_REQUIRED, 1, [Required alignment])
|
||||
AC_DEFINE(_MAX_ALIGNMENT, 4, [Maximum alignment])
|
||||
# AC_DEFINE(_HPUX_SOURCE, 1, [Whether to use HPUX extensions])
|
||||
# AC_DEFINE(_POSIX_SOURCE, 1, [Whether to use POSIX compatible functions])
|
||||
# AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to use large file support])
|
||||
# AC_DEFINE(_ALIGNMENT_REQUIRED, 1, [Required alignment])
|
||||
# AC_DEFINE(_MAX_ALIGNMENT, 4, [Maximum alignment])
|
||||
# AC_DEFINE(MAX_POSITIVE_LOCK_OFFSET,0x1ffffffffffLL,[Maximun positive lock offset])
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
Reference in New Issue
Block a user