[glib/wip/meson: 12/35] build: Remove function checks for unused functions



commit 691a0411c7f2e68bcb637bab36f018fa66951afa
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 93e95d0..c9fe60f 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 922f8a6..a67e62b 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]