summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-03-26 19:42:51 +0000
committerJeremy Allison <jra@samba.org>2003-03-26 19:42:51 +0000
commit43c5f197ef7da7ede60091986ad5e2f38a2a8587 (patch)
tree3f1df16122fbbaa335c840318d95f9df97f6e18e /source3
parent4d7388641a087161fb50df5614f437960c8f799c (diff)
downloadsamba-43c5f197ef7da7ede60091986ad5e2f38a2a8587.tar.gz
samba-43c5f197ef7da7ede60091986ad5e2f38a2a8587.tar.bz2
samba-43c5f197ef7da7ede60091986ad5e2f38a2a8587.zip
Add defines for platforms that need them.
Jeremy. (This used to be commit f81128bc0187765f6f9e6d7e05eaebf778cbfec8)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 445461e4f7..999bd3c5f5 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -938,6 +938,7 @@ if test "$enable_shared" = "yes"; then
PICSUFFIX="po.o"
fi
AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block])
+ AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
;;
*sunos*) AC_DEFINE(SUNOS4,1,[Whether the host os is sunos4])
BLDSHARED="true"
@@ -945,6 +946,7 @@ if test "$enable_shared" = "yes"; then
SONAMEFLAG="-Wl,-h,"
PICFLAG="-KPIC" # Is this correct for SunOS
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
+ AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
;;
*netbsd* | *freebsd*) BLDSHARED="true"
LDSHFLAGS="-shared"
@@ -952,6 +954,7 @@ if test "$enable_shared" = "yes"; then
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-fPIC -DPIC"
AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block])
+ AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
;;
*openbsd*) BLDSHARED="true"
LDSHFLAGS="-shared"
@@ -959,6 +962,7 @@ if test "$enable_shared" = "yes"; then
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-fPIC"
AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block])
+ AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
;;
*irix*) AC_DEFINE(IRIX,1,[Whether the host os is irix])
case "$host_os" in
@@ -1001,6 +1005,7 @@ if test "$enable_shared" = "yes"; then
fi
DYNEXP="-Wl,-E"
AC_DEFINE(STAT_ST_BLOCKSIZE,8192,[The size of a block])
+ AC_DEFINE(POSIX_ACL_NEEDS_MASK,1,[Does a POSIX ACL need a mask element])
;;
*qnx*) AC_DEFINE(QNX,1,[Whether the host os is qnx])
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
@@ -1011,6 +1016,7 @@ if test "$enable_shared" = "yes"; then
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-fPIC"
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
+ AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
;;
*sco*) AC_DEFINE(SCO,1,[Whether the host os is sco unix])
AC_DEFINE(STAT_ST_BLOCKSIZE,512)