From: Taylor R Campbell Date: Tue, 13 Nov 2018 05:55:56 +0000 (+0000) Subject: Cull configure checks for unused functions. X-Git-Tag: mit-scheme-pucked-10.1.2~16^2~105 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=88462cdcf6fbc28641658ae30b0b3b2ece7f6306;p=mit-scheme.git Cull configure checks for unused functions. --- diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac index 4a49b8db7..704099d74 100644 --- a/src/microcode/configure.ac +++ b/src/microcode/configure.ac @@ -716,17 +716,17 @@ AC_CHECK_FUNCS([frexp fsync fsync_range ftruncate]) AC_CHECK_FUNCS([getcwd gethostbyname gethostname getlogin getpagesize getpgrp]) AC_CHECK_FUNCS([getpt gettimeofday getwd grantpt]) AC_CHECK_FUNCS([kill]) -AC_CHECK_FUNCS([lgamma_r lockf log1p]) +AC_CHECK_FUNCS([lgamma_r log1p]) AC_CHECK_FUNCS([madvise memcpy mkdir mktime modf]) AC_CHECK_FUNCS([nice ntp_adjtime ntp_gettime]) AC_CHECK_FUNCS([openpty]) -AC_CHECK_FUNCS([poll pollts ppoll posix_madvise posix_openpt prealloc]) +AC_CHECK_FUNCS([poll pollts ppoll posix_madvise posix_openpt]) AC_CHECK_FUNCS([rename rmdir]) -AC_CHECK_FUNCS([pselect select setitimer setpgrp setpgrp2 shmat sigaction]) -AC_CHECK_FUNCS([sighold sigsuspend socket statfs strchr strerror strstr strtol]) +AC_CHECK_FUNCS([pselect select setitimer setpgrp setpgrp2 sigaction]) +AC_CHECK_FUNCS([sighold sigsuspend socket statfs strchr strerror]) AC_CHECK_FUNCS([strtoul symlink sync_file_range sysconf]) AC_CHECK_FUNCS([times truncate]) -AC_CHECK_FUNCS([uname utime]) +AC_CHECK_FUNCS([utime]) AC_CHECK_FUNCS([waitpid]) if test ${ac_cv_type_signal} = void; then diff --git a/src/microcode/ntutl/config.h b/src/microcode/ntutl/config.h index 59bc4b714..25d7e2063 100644 --- a/src/microcode/ntutl/config.h +++ b/src/microcode/ntutl/config.h @@ -163,12 +163,6 @@ typedef unsigned char cc_t; /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 -/* Define to 1 if you have the `strstr' function. */ -#define HAVE_STRSTR 1 - -/* Define to 1 if you have the `strtol' function. */ -#define HAVE_STRTOL 1 - /* Define to 1 if you have the `strtoul' function. */ #define HAVE_STRTOUL 1