1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 22:51:42 +02:00

53094: remove unused autoconf tests

This commit is contained in:
Oliver Kiddle 2024-09-18 10:58:55 +02:00
parent 06f423f8a9
commit 62131ae049
3 changed files with 5 additions and 14 deletions

View file

@ -1,5 +1,7 @@
2024-09-18 Oliver Kiddle <opk@zsh.org>
* 53094: configure.ac, Src/signals.h: remove unused autoconf tests
* 53093: Src/input.c: silence compiler warning when USE_LSEEK
is not defined

View file

@ -126,10 +126,5 @@
#define queue_signal_level() queueing_enabled
#ifdef BSD_SIGNALS
#define signal_block(S) sigblock(S)
#else
extern sigset_t signal_block (sigset_t);
#endif /* BSD_SIGNALS */
extern sigset_t signal_unblock (sigset_t);

View file

@ -634,7 +634,7 @@ if test "x$enable_pcre" = xyes; then
fi
AC_CHECK_HEADERS(sys/time.h sys/times.h sys/select.h termcap.h termio.h \
termios.h sys/param.h sys/filio.h string.h memory.h \
termios.h sys/param.h sys/filio.h \
limits.h fcntl.h libc.h sys/utsname.h sys/resource.h \
sys/sysctl.h sys/random.h \
locale.h errno.h stdio.h stdarg.h varargs.h stdlib.h \
@ -849,11 +849,6 @@ esac])
AC_SEARCH_LIBS(getpwnam, nsl)
dnl I am told that told that unicos reqire these for nis_list
if test `echo $host_os | sed 's/^\(unicos\).*/\1/'` = unicos; then
LIBS="-lcraylm -lkrb -lnisdb -lnsl -lrpcsvc $LIBS"
fi
if test "x$dynamic" = xyes; then
AC_CHECK_LIB(dl, dlopen)
fi
@ -1258,13 +1253,12 @@ AC_CHECK_FUNCS(strftime strptime mktime timelocal \
fpurge fseeko ftello \
mkfifo _mktemp mkstemp \
waitpid wait3 \
sigaction sigblock sighold sigrelse sigsetmask sigprocmask \
sigqueue \
killpg setpgid setpgrp tcsetpgrp tcgetattr nice \
gethostname gethostbyname2 getipnodebyname \
inet_aton inet_pton inet_ntop \
getlogin getpwent getpwnam getpwuid getgrgid getgrnam \
initgroups nis_list \
initgroups \
setuid seteuid setreuid setresuid setsid \
setgid setegid setregid setresgid \
memcpy memmove strstr strerror strtoul \
@ -1275,7 +1269,7 @@ AC_CHECK_FUNCS(strftime strptime mktime timelocal \
signgam tgamma \
log2 \
scalbn \
putenv getenv setenv unsetenv xw\
putenv getenv setenv unsetenv \
brk sbrk \
pathconf sysconf \
tgetent tigetflag tigetnum tigetstr setupterm initscr resize_term \