]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
source3/wscript: Remove long pending unsupported option
authorAnoop C S <anoopcs@samba.org>
Tue, 2 Jul 2024 05:26:45 +0000 (10:56 +0530)
committerVolker Lendecke <vl@samba.org>
Tue, 2 Jul 2024 08:09:32 +0000 (08:09 +0000)
It has been a while since --with-libcephfs option was dropped. Therefore
stop advertising it through waf scripts.

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/wscript

index d8f04646b0320accce2c3ee07b8408a15e163803..4415b3739131d9e9b965010be1d1b9eff7fee1ee 100644 (file)
@@ -86,10 +86,6 @@ def options(opt):
     opt.samba_add_onoff_option('fake-kaserver',
                           help=("Include AFS fake-kaserver support"), default=False)
 
-    opt.add_option('--with-libcephfs',
-                   help=("Directory under which libcephfs is installed"),
-                   action="store", dest='libcephfs_dir', default=None)
-
     opt.samba_add_onoff_option('glusterfs', with_name="enable", without_name="disable", default=True)
     opt.samba_add_onoff_option('cephfs', with_name="enable", without_name="disable", default=True)
 
@@ -1622,10 +1618,6 @@ int main(void) {
             conf.DEFINE('HAVE_LINUX_IOCTL', '1')
 
     conf.env['CFLAGS_CEPHFS'] = "-D_FILE_OFFSET_BITS=64"
-    if Options.options.libcephfs_dir:
-        Logs.error('''--with-libcephfs no longer supported, please use compiler
-                   flags instead, e.g. GCC LIBRARY_PATH and C_INCLUDE_PATH''')
-        sys.exit(1)
 
     if (Options.options.with_cephfs and
         conf.CHECK_HEADERS('cephfs/libcephfs.h', False, False, 'cephfs') and