diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-04 03:12:28 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-04 03:12:28 +0000 |
commit | 9dc3ec5af335ffea93135129d22461cc66e310c9 (patch) | |
tree | cd5fcb72aed1e26c8eec0d94c27a7a6773d54358 /source3/configure.in | |
parent | f23eae814dc99273032f66b123c0084627539918 (diff) | |
download | samba-9dc3ec5af335ffea93135129d22461cc66e310c9.tar.gz samba-9dc3ec5af335ffea93135129d22461cc66e310c9.tar.bz2 samba-9dc3ec5af335ffea93135129d22461cc66e310c9.zip |
Fix for 64 bit issues with oplocks and allocation size.
Jeremy.
(This used to be commit 4a9c995e50b24e6ee6ec58c46da32100a8197724)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/source3/configure.in b/source3/configure.in index 866380d3f7..774991c00f 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -898,6 +898,7 @@ case "$host_os" in LDSHFLAGS="-G" SONAMEFLAG="-Wl,-h," PICFLAG="-KPIC" # Is this correct for SunOS + AC_DEFINE(STAT_ST_BLOCKSIZE,512) ;; *freebsd*) BLDSHARED="true" LDSHFLAGS="-shared" @@ -955,22 +956,32 @@ case "$host_os" in DYNEXP="-Wl,-E" AC_DEFINE(STAT_ST_BLOCKSIZE,8192,[The size of a block]) ;; - *qnx*) AC_DEFINE(QNX,1,[Whether the host os is qnx]);; + *qnx*) AC_DEFINE(QNX,1,[Whether the host os is qnx]) + AC_DEFINE(STAT_ST_BLOCKSIZE,512) + ;; *osf*) AC_DEFINE(OSF1,1,[Whether the host os is osf1]) BLDSHARED="true" LDSHFLAGS="-shared" SONAMEFLAG="-Wl,-soname," PICFLAG="-fPIC" + AC_DEFINE(STAT_ST_BLOCKSIZE,512) ;; - *sco*) AC_DEFINE(SCO,1,[Whether the host os is sco unix]);; + *sco*) AC_DEFINE(SCO,1,[Whether the host os is sco unix]) + AC_DEFINE(STAT_ST_BLOCKSIZE,512) + ;; *unixware*) AC_DEFINE(UNIXWARE,1,[Whether the host os is unixware]) BLDSHARED="true" LDSHFLAGS="-shared" SONAMEFLAG="-Wl,-soname," PICFLAG="-KPIC" + AC_DEFINE(STAT_ST_BLOCKSIZE,512) ;; - *next2*) AC_DEFINE(NEXT2,1,[Whether the host os is NeXT v2]);; - *dgux*) AC_CHECK_PROG( ROFF, groff, [groff -etpsR -Tascii -man]);; + *next2*) AC_DEFINE(NEXT2,1,[Whether the host os is NeXT v2]) + AC_DEFINE(STAT_ST_BLOCKSIZE,512) + ;; + *dgux*) AC_CHECK_PROG( ROFF, groff, [groff -etpsR -Tascii -man]) + AC_DEFINE(STAT_ST_BLOCKSIZE,512) + ;; *sysv4*) AC_DEFINE(SYSV,1,[Whether this is a system V system]) case "$host" in *-univel-*) if [ test "$GCC" != yes ]; then @@ -981,6 +992,7 @@ case "$host_os" in ;; *mips-sni-sysv4*) AC_DEFINE(RELIANTUNIX,1,[Whether the host os is reliantunix]);; esac + AC_DEFINE(STAT_ST_BLOCKSIZE,512) ;; *sysv5*) AC_DEFINE(SYSV,1,[Whether this is a system V system]) @@ -988,6 +1000,7 @@ case "$host_os" in AC_DEFINE(HAVE_MEMSET,1,[Whether memset() is available]) fi LDSHFLAGS="-G" + AC_DEFINE(STAT_ST_BLOCKSIZE,512) ;; esac AC_SUBST(DYNEXP) |