summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-19 19:45:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:53 -0500
commit8d61da140a7089f1a82f2c44ecaa96dc9920cba6 (patch)
tree7ca69c029af2e896f0c391dc5827ff91da848d21
parent1edf050ad8682f2cd0781babf9b9db132e1e7493 (diff)
downloadsamba-8d61da140a7089f1a82f2c44ecaa96dc9920cba6.tar.gz
samba-8d61da140a7089f1a82f2c44ecaa96dc9920cba6.tar.bz2
samba-8d61da140a7089f1a82f2c44ecaa96dc9920cba6.zip
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 00ea030e67c519ebb69e5932f607b4ac6e834f0e)
-rw-r--r--source3/configure.in24
1 files changed, 13 insertions, 11 deletions
diff --git a/source3/configure.in b/source3/configure.in
index ce3a430f15..b7978ef190 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -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
;;