lib/replace: Remove libaio support
authorVolker Lendecke <vl@samba.org>
Fri, 4 Oct 2019 08:40:18 +0000 (10:40 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 4 Oct 2019 18:18:40 +0000 (18:18 +0000)
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

lib/replace/system/aio.h [deleted file]
lib/replace/tests/testsuite.c
lib/replace/wscript

diff --git a/lib/replace/system/aio.h b/lib/replace/system/aio.h
deleted file mode 100644 (file)
index 784d77f..0000000
+++ /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
index dba545e27a24343b563e026f481e5e52392c2bc0..7f9801e9f98db0f44b619ed1160d4d76e0793a0a 100644 (file)
@@ -46,7 +46,6 @@
 #include "system/terminal.h"
 #include "system/time.h"
 #include "system/wait.h"
-#include "system/aio.h"
 
 #define TESTFILE "testfile.dat"
 
index 93379a7aefebf24044138e717160d6661c469283..c9d27e13df8121e92516d414bae2b8a9c9f87a5f 100644 (file)
@@ -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')