summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-10-04 10:40:18 +0200
committerJeremy Allison <jra@samba.org>2019-10-04 18:18:40 +0000
commit4b62c4f7addba3ce47f1d0d5f2b64103602b7ca2 (patch)
treec006843ff3f14223aac34950fa724ff92f25aeea /lib/replace
parentbcbadeb82656fafb68b506a3067999c03c481cd2 (diff)
downloadsamba-4b62c4f7addba3ce47f1d0d5f2b64103602b7ca2.tar.gz
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 <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Oct 4 18:18:41 UTC 2019 on sn-devel-184
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/system/aio.h32
-rw-r--r--lib/replace/tests/testsuite.c1
-rw-r--r--lib/replace/wscript2
3 files changed, 1 insertions, 34 deletions
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 <http://www.gnu.org/licenses/>.
-*/
-
-#ifdef HAVE_LIBAIO_H
-#include <libaio.h>
-#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')