build: Remove function checks for unused functions

These were removed several years ago.
This commit is contained in:
Nirbheek Chauhan 2016-12-21 08:51:50 +05:30 committed by Matthias Clasen
parent 70021b0e83
commit 9096bde3ce
2 changed files with 2 additions and 4 deletions

View File

@ -890,7 +890,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
@ -959,7 +959,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

View File

@ -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',