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) AC_MSG_RESULT($glib_ssize_type)
# Check for some functions # 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(lchmod lchown fchmod fchown utimes getresuid)
AC_CHECK_FUNCS(getmntent_r setmntent endmntent hasmntopt getfsstat getvfsstat fallocate) 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 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]) AC_MSG_ERROR([Could not determine values for MSG_* constants])
fi 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], [ AS_IF([test $glib_native_win32 = yes], [
# <wspiapi.h> in the Windows SDK and in mingw-w64 has wrappers for # <wspiapi.h> in the Windows SDK and in mingw-w64 has wrappers for

View File

@ -276,7 +276,6 @@ functions = [
'readlink', 'readlink',
'symlink', 'symlink',
'fdwalk', 'fdwalk',
'memmem',
'lchmod', 'lchmod',
'lchown', 'lchown',
'fchmod', 'fchmod',
@ -309,7 +308,6 @@ functions = [
'kqueue', 'kqueue',
'kevent', 'kevent',
'endservent', 'endservent',
'getprotobyname_r',
'if_indextoname', 'if_indextoname',
'if_nametoindex', 'if_nametoindex',
'sendmmsg', 'sendmmsg',