The Samba-Bugzilla – Attachment 4903 Details for
Bug 6856
GPFS VFS module cannot be built with headers only
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch provided by Metze
0001-s3-configure-only-check-for-gpfs_gpl.h.patch (text/plain), 2.04 KB, created by
Karolin Seeger
on 2009-10-29 05:47:04 UTC
(
hide
)
Description:
proposed patch provided by Metze
Filename:
MIME Type:
Creator:
Karolin Seeger
Created:
2009-10-29 05:47:04 UTC
Size:
2.04 KB
patch
obsolete
>From 54d8b2fcb14ee1b165feda764b0c2f16c4a6dc95 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Wed, 28 Oct 2009 11:21:27 +0100 >Subject: [PATCH] s3:configure: only check for gpfs_gpl.h > >The header is everything we need in order to build vfs_gpfs. > >metze > >Signed-off-by: Michael Adam <obnox@samba.org> >(cherry picked from commit ee13e9c0becc2b4a4d3b233613d5e3e9bfb54938) >--- > source3/configure.in | 30 +++++------------------------- > 1 files changed, 5 insertions(+), 25 deletions(-) > >diff --git a/source3/configure.in b/source3/configure.in >index be93ce5..b75ea76 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -1031,33 +1031,13 @@ AC_CHECK_LIB(exc, trace_back_stack) > # check for sysctlbyname for BSD systems > AC_CHECK_FUNCS(sysctlbyname) > >-printf "%s" "checking for GPFS GPL libs... " >-save_LIBS="$LIBS" >-LIBS="$LIBS -lgpfs_gpl" >-AC_TRY_LINK([#include <gpfs_gpl.h>], >- [gpfs_set_share(0,GPFS_SHARE_READ,GPFS_DENY_NONE)], >- samba_cv_HAVE_GPFS=yes, >- samba_cv_HAVE_GPFS=no) >-echo $samba_cv_HAVE_GPFS >-if test x"$samba_cv_HAVE_GPFS" = x"yes"; then >- AC_DEFINE(HAVE_GPFS,1,[Whether GPFS GPL libs are available]) >+############################# >+# check if building with gpfs >+AC_CHECK_HEADERS(gpfs_gpl.h) >+if test x"$ac_cv_header_gpfs_gpl_h" = x"yes"; then >+ AC_DEFINE(HAVE_GPFS,1,[Whether GPFS GPL headers are available]) > default_shared_modules="$default_shared_modules vfs_gpfs" > fi >-LIBS="$save_LIBS" >- >-printf "%s" "checking for GPFS libs (with 3.2.1 PTF8 available as GPL)... " >-save_LIBS="$LIBS" >-LIBS="$LIBS -lgpfs" >-AC_TRY_LINK([#include <gpfs.h>], >- [gpfs_set_share(0,GPFS_SHARE_READ,GPFS_DENY_NONE)], >- samba_cv_HAVE_GPFS=yes, >- samba_cv_HAVE_GPFS=no) >-echo $samba_cv_HAVE_GPFS >-if test x"$samba_cv_HAVE_GPFS" = x"yes"; then >- AC_DEFINE(HAVE_GPFS,1,[Whether GPFS GPL libs are available]) >- default_shared_modules="$default_shared_modules vfs_gpfs" >-fi >-LIBS="$save_LIBS" > > ############################################# > # check if building on Isilon OneFS >-- >1.6.0.2 >
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:
obnox
:
review+
Actions:
View
Attachments on
bug 6856
: 4903 |
5177