The Samba-Bugzilla – Attachment 6338 Details for
Bug 8033
Backport dmapi configure checks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Backport Patch for v3-5-test
tmp.diff (text/plain), 1.49 KB, created by
Stefan Metzmacher
on 2011-03-22 16:21:18 UTC
(
hide
)
Description:
Backport Patch for v3-5-test
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2011-03-22 16:21:18 UTC
Size:
1.49 KB
patch
obsolete
>From 6d1e755af6f6a8651f8629b90eb6298c87613df7 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= <bj@sernet.de> >Date: Tue, 23 Feb 2010 15:23:27 +0100 >Subject: [PATCH] s3: add explicit configure option whether or not to enable dmapi support > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >(similar to commit ce7727c1cc2fe4caa9b2d6e33530c3483dd5f980) >--- > source3/configure.in | 23 ++++++++++++++++++++++- > 1 files changed, 22 insertions(+), 1 deletions(-) > >diff --git a/source3/configure.in b/source3/configure.in >index 5201302..4528cbf 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -2688,7 +2688,28 @@ AC_SUBST(SMB_FAM_LIBS) > ################################################# > # Check for DMAPI interfaces in libdm/libjfsdm/libxsdm > >-SMB_CHECK_DMAPI([], AC_MSG_NOTICE(DMAPI support not present) ) >+ >+with_dmapi_support=auto >+AC_MSG_CHECKING(whether to use DMAPI support) >+AC_ARG_WITH(dmapi, >+[AS_HELP_STRING([--with-dmapi], [Include DMAPI/XDSM support (default=auto)])], >+[ case "$withval" in >+ yes|no) >+ with_dmapi_support=$withval >+ ;; >+ esac ] >+) >+AC_MSG_RESULT([$with_dmapi_support]) >+ >+if test x"$with_dmapi_support" != xno ; then >+ SMB_CHECK_DMAPI([], [ >+ AC_MSG_NOTICE(DMAPI support not present) >+ if test x"$with_dmapi_support" = xyes ; then >+ AC_MSG_ERROR(no DMAPI support found but requested!) >+ fi >+ ] >+ ) >+fi > > # Add TSM SM VFS module only if there are both GPFS and DMAPI support > # Theoretically it should work with AIX JFS2 too but this needs testing >-- >1.7.0.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
Flags:
bjacke
:
review+
Actions:
View
Attachments on
bug 8033
: 6338