mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r25248: According to the build-farm all this defines are not needed
for HPUX large file support. But it would be nice if someone could verify that. metze (This used to be commit b09024928d036933a47e4f1c2e246426fb3792aa)
This commit is contained in:
parent
6f5869461c
commit
d454fda242
@ -755,24 +755,8 @@ case "$host_os" in
|
||||
# password hashing - hence the USE_BOTH_CRYPT_CALLS define.
|
||||
#
|
||||
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"
|
||||
*9*|*10*|*11)
|
||||
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(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"
|
||||
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(MAX_POSITIVE_LOCK_OFFSET,0x1ffffffffffLL,[Maximun positive lock offset])
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user