summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
;;