The Samba-Bugzilla – Attachment 8626 Details for
Bug 9707
configure fails when --with-sendfile-support option specified in Solaris
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Created patch for 4.0
samba-4.0.3-strict-check-sendfile-option.patch (text/plain), 3.20 KB, created by
KAMEI Yutaka (mail address dead)
on 2013-03-10 01:47:16 UTC
(
hide
)
Description:
Created patch for 4.0
Filename:
MIME Type:
Creator:
KAMEI Yutaka (mail address dead)
Created:
2013-03-10 01:47:16 UTC
Size:
3.20 KB
patch
obsolete
>From e6eccd233abc2db9603d5044bef211d6c820cd81 Mon Sep 17 00:00:00 2001 >From: kamei <kamei@osstech.co.jp> >Date: Sat, 9 Mar 2013 10:49:27 +0900 >Subject: [PATCH] Strictly check --with-sendfile-support > >--- > source3/configure.in | 17 ++++++++++------- > 1 file changed, 10 insertions(+), 7 deletions(-) > >diff --git a/source3/configure.in b/source3/configure.in >index d0c2a48..f1f4291 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -5510,7 +5510,7 @@ samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)]) > if test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then > AC_DEFINE(HAVE_SENDFILE,1,[Whether sendfile() support is available]) > AC_DEFINE(FREEBSD_SENDFILE_API,1,[Whether the FreeBSD sendfile() API is available]) >- AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() support should be included]) >+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() should be used]) > else > AC_MSG_RESULT(no); > fi >@@ -5543,7 +5543,7 @@ samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)]) > if test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then > AC_DEFINE(HAVE_SENDFILE,1,[Whether sendfile() support is available]) > AC_DEFINE(DARWIN_SENDFILE_API,1,[Whether the Darwin sendfile() API is available]) >- AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() support should be included]) >+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() should be used]) > else > AC_MSG_RESULT(no); > fi >@@ -5569,7 +5569,7 @@ samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)]) > if test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then > AC_DEFINE(HAVE_SENDFILE,1,[Whether sendfile() is available]) > AC_DEFINE(HPUX_SENDFILE_API,1,[Whether the osf/hpux sendfile() API is available]) >- AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() support should be included]) >+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() should be used]) > else > AC_MSG_RESULT(no); > fi >@@ -5605,7 +5605,7 @@ samba_cv_HAVE_SENDFILEV=yes,samba_cv_HAVE_SENDFILEV=no)]) > if test x"$samba_cv_HAVE_SENDFILEV" = x"yes"; then > AC_DEFINE(HAVE_SENDFILEV,1,[Whether sendfilev() is available]) > AC_DEFINE(SOLARIS_SENDFILE_API,1,[Whether the solaris sendfile() API is available]) >- AC_DEFINE(WITH_SENDFILE,1,[Whether to include sendfile() support]) >+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() should be used]) > else > AC_MSG_RESULT(no); > fi >@@ -5634,7 +5634,7 @@ samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)]) > if test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then > AC_DEFINE(HAVE_SENDFILE,1,[Whether sendfile() is available]) > AC_DEFINE(AIX_SENDFILE_API,1,[Whether the AIX send_file() API is available]) >- AC_DEFINE(WITH_SENDFILE,1,[Whether to include sendfile() support]) >+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() should be used]) > else > AC_MSG_RESULT(no); > fi >@@ -5644,8 +5644,11 @@ samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)]) > esac > fi > >-if test x$with_sendfile_support = xyes -a x"$samba_cv_HAVE_SENDFILE" != xyes ; then >- AC_MSG_ERROR(sendfile support requested but sendfile not available ) >+if test x$with_sendfile_support = xyes; then >+ if test x"$samba_cv_HAVE_SENDFILE" != xyes -a \ >+ x"$samba_cv_HAVE_SENDFILEV" != xyes ; then >+ AC_MSG_ERROR(sendfile support requested but sendfile not available ) >+ fi > fi > > ############################################ >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9707
:
8624
|
8625
| 8626 |
15202