diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-07-06 20:25:10 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-07-10 18:00:38 +0000 |
commit | c3cd0f6e192da887d62db8ff78e567d8522e4d58 (patch) | |
tree | 4a7671b9961032316af30abce534e26d1b25f9f1 /config.tests | |
parent | c12072c685f7e93d5b84e289ca23106482379eff (diff) |
configure: Remove test for unused feature "mremap"
It's a Linux-specific call that was added to the kernel in pre
historical times (before Git). Sqlite3 uses mremap(2) but it has its own
checking. Nothing else in Qt uses this.
Looks like the last user was the QPF font engine, removed in commit
d7e424ee6686f663f5134666e09c2875bb3e42b6 almost four years ago. And
that's considering that the QPF font engine wasn't in use since Qt 5.0
because QWS was no more...
Change-Id: Idaa189413f404cffb1eafffd14ceee7488514c1d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/unix/mremap/mremap.cpp | 49 | ||||
-rw-r--r-- | config.tests/unix/mremap/mremap.pro | 2 |
2 files changed, 0 insertions, 51 deletions
diff --git a/config.tests/unix/mremap/mremap.cpp b/config.tests/unix/mremap/mremap.cpp deleted file mode 100644 index 0b8743e340..0000000000 --- a/config.tests/unix/mremap/mremap.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the config.tests of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <unistd.h> -#include <sys/mman.h> - -int main(int, char **) -{ - (void) ::mremap(static_cast<void *>(0), size_t(0), size_t(42), MREMAP_MAYMOVE); - - return 0; -} - diff --git a/config.tests/unix/mremap/mremap.pro b/config.tests/unix/mremap/mremap.pro deleted file mode 100644 index 1dbd3b7a7e..0000000000 --- a/config.tests/unix/mremap/mremap.pro +++ /dev/null @@ -1,2 +0,0 @@ -SOURCES = mremap.cpp -CONFIG -= qt dylib |