From: Volker Lendecke Date: Fri, 4 Oct 2019 08:40:18 +0000 (+0200) Subject: lib/replace: Remove libaio support X-Git-Tag: talloc-2.3.1~480 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b62c4f7addba3ce47f1d0d5f2b64103602b7ca2;p=thirdparty%2Fsamba.git lib/replace: Remove libaio support io_uring is the way to go these days, libaio was never really useful for Samba Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Oct 4 18:18:41 UTC 2019 on sn-devel-184 --- diff --git a/lib/replace/system/aio.h b/lib/replace/system/aio.h deleted file mode 100644 index 784d77fa280..00000000000 --- a/lib/replace/system/aio.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef _system_aio_h -#define _system_aio_h -/* - Unix SMB/CIFS implementation. - - AIO system include wrappers - - Copyright (C) Andrew Tridgell 2006 - - ** NOTE! The following LGPL license applies to the replace - ** library. This does NOT imply that all of Samba is released - ** under the LGPL - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 3 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, see . -*/ - -#ifdef HAVE_LIBAIO_H -#include -#endif - -#endif diff --git a/lib/replace/tests/testsuite.c b/lib/replace/tests/testsuite.c index dba545e27a2..7f9801e9f98 100644 --- a/lib/replace/tests/testsuite.c +++ b/lib/replace/tests/testsuite.c @@ -46,7 +46,6 @@ #include "system/terminal.h" #include "system/time.h" #include "system/wait.h" -#include "system/aio.h" #define TESTFILE "testfile.dat" diff --git a/lib/replace/wscript b/lib/replace/wscript index 93379a7aefe..c9d27e13df8 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -37,7 +37,7 @@ def configure(conf): conf.CHECK_HEADERS('linux/types.h crypt.h locale.h acl/libacl.h compat.h') conf.CHECK_HEADERS('acl/libacl.h attr/xattr.h compat.h ctype.h dustat.h') conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h') - conf.CHECK_HEADERS('libaio.h locale.h ndir.h pwd.h') + conf.CHECK_HEADERS('locale.h ndir.h pwd.h') conf.CHECK_HEADERS('shadow.h sys/acl.h') conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h') conf.CHECK_HEADERS('port.h')