diff options
author | Michael Adam <obnox@samba.org> | 2009-05-09 00:10:51 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-05-12 08:41:01 +0200 |
commit | 66dff4073d0013bfd11ac29e341765141393ea23 (patch) | |
tree | 053073d21c56e300a3cc65410ffb0aab0f7174ac | |
parent | 5fba1e938c59492872d026c452cbbf8d2239c95f (diff) | |
download | samba-66dff4073d0013bfd11ac29e341765141393ea23.tar.gz samba-66dff4073d0013bfd11ac29e341765141393ea23.tar.bz2 samba-66dff4073d0013bfd11ac29e341765141393ea23.zip |
s3:build: extend the support fo Debian GNU/kFooBar to kOpenSolaris
As suggested by Robert Millan.
Michael
-rw-r--r-- | source3/configure.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/configure.in b/source3/configure.in index 01cf176499..8adf24e6ef 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -581,7 +581,7 @@ exit(1); # Systems with LFS support. # - gnu* | k*bsd*-gnu) + gnu* | k*bsd*-gnu | kopensolaris*-gnu) CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS" AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support]) AC_DEFINE(_FILE_OFFSET_BITS, 64, [File offset bits]) @@ -1252,7 +1252,7 @@ AC_DEFINE(HAVE_PRCTL, 1, [Whether prctl is available]),[]) # # case "$host_os" in - *linux* | gnu* | k*bsd*-gnu) + *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) # glibc <= 2.3.2 has a broken getgrouplist AC_TRY_RUN([ #include <unistd.h> @@ -1551,7 +1551,7 @@ DSO_EXPORTS="" # and these are for particular systems case "$host_os" in - *linux* | gnu* | k*bsd*-gnu) + *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) case "$host_os" in *linux*) AC_DEFINE(LINUX,1,[Whether the host os is linux]) ;; esac @@ -5403,7 +5403,7 @@ AC_ARG_WITH(sendfile-support, AC_MSG_RESULT(yes); case "$host_os" in - *linux* | gnu* | k*bsd*-gnu) + *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) AC_CACHE_CHECK([for linux sendfile64 support],samba_cv_HAVE_SENDFILE64,[ AC_TRY_LINK([#include <sys/sendfile.h>], [\ @@ -5774,7 +5774,7 @@ NSSSONAMEVERSIONSUFFIX="" WINBIND_NSS_PTHREAD="" case "$host_os" in - *linux* | gnu* | k*bsd*-gnu) + *linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) NSSSONAMEVERSIONSUFFIX=".2" WINBIND_NSS_EXTRA_OBJS="../nsswitch/winbind_nss_linux.o" ;; |