summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-20 06:52:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:54 -0500
commitd454fda2424aeb025824d49b97ddbd0d84e5d75a (patch)
treeb974bbadde2a96ee57fcb5b04b35820f5a050019
parent6f5869461cb0a1ac0bdba931a7f7469503154ce3 (diff)
downloadsamba-d454fda2424aeb025824d49b97ddbd0d84e5d75a.tar.gz
samba-d454fda2424aeb025824d49b97ddbd0d84e5d75a.tar.bz2
samba-d454fda2424aeb025824d49b97ddbd0d84e5d75a.zip
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)
-rw-r--r--source3/configure.in22
1 files changed, 3 insertions, 19 deletions
diff --git a/source3/configure.in b/source3/configure.in
index b7978ef190..1aa3478919 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -755,25 +755,9 @@ 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"
- 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])
- ;;
+ *9*|*10*|*11)
+ AC_DEFINE(USE_BOTH_CRYPT_CALLS, 1, [Whether to use both of HPUX' crypt calls])
+ ;;
esac
;;