[glib/wip/meson: 25/53] build: Remove function checks for unused functions
- From: Tim-Philipp Müller <tpm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/meson: 25/53] build: Remove function checks for unused functions
- Date: Sat, 13 May 2017 14:09:32 +0000 (UTC)
commit 746cf42007322ab6b311d765fc0f17a6aff10f6a
Author: Nirbheek Chauhan <nirbheek centricular com>
Date: Wed Dec 21 08:51:50 2016 +0530
build: Remove function checks for unused functions
These were removed several years ago.
configure.ac | 4 ++--
meson.build | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5c57044..129af0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -889,7 +889,7 @@ int main ()
AC_MSG_RESULT($glib_ssize_type)
# Check for some functions
-AC_CHECK_FUNCS(lstat strsignal vsnprintf stpcpy strcasecmp strncasecmp poll vasprintf setenv unsetenv
getc_unlocked readlink symlink fdwalk memmem)
+AC_CHECK_FUNCS(lstat strsignal vsnprintf stpcpy strcasecmp strncasecmp poll vasprintf setenv unsetenv
getc_unlocked readlink symlink fdwalk)
AC_CHECK_FUNCS(lchmod lchown fchmod fchown utimes getresuid)
AC_CHECK_FUNCS(getmntent_r setmntent endmntent hasmntopt getfsstat getvfsstat fallocate)
case $host_os in aix*) ac_cv_func_splice=no ;; esac # AIX splice() is something else
@@ -958,7 +958,7 @@ if $glib_failed ; then
AC_MSG_ERROR([Could not determine values for MSG_* constants])
fi
-AC_CHECK_FUNCS(getprotobyname_r endservent if_nametoindex if_indextoname sendmmsg recvmmsg)
+AC_CHECK_FUNCS(endservent if_nametoindex if_indextoname sendmmsg recvmmsg)
AS_IF([test $glib_native_win32 = yes], [
# <wspiapi.h> in the Windows SDK and in mingw-w64 has wrappers for
diff --git a/meson.build b/meson.build
index c8555ab..229a605 100644
--- a/meson.build
+++ b/meson.build
@@ -276,7 +276,6 @@ functions = [
'readlink',
'symlink',
'fdwalk',
- 'memmem',
'lchmod',
'lchown',
'fchmod',
@@ -309,7 +308,6 @@ functions = [
'kqueue',
'kevent',
'endservent',
- 'getprotobyname_r',
'if_indextoname',
'if_nametoindex',
'sendmmsg',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]