about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2024-09-18 10:58:55 +0200
committerOliver Kiddle <opk@zsh.org>2024-09-18 11:08:08 +0200
commit62131ae0499da56ecad237e5f82007a73cfff4fd (patch)
tree62319ed7b159e8e7e967c1ad4acfd034e0bad82f
parent06f423f8a99a3a1d40551cc88cfdcb3a3fe84616 (diff)
downloadzsh-62131ae0499da56ecad237e5f82007a73cfff4fd.tar.gz
zsh-62131ae0499da56ecad237e5f82007a73cfff4fd.tar.xz
zsh-62131ae0499da56ecad237e5f82007a73cfff4fd.zip
53094: remove unused autoconf tests
-rw-r--r--ChangeLog2
-rw-r--r--Src/signals.h5
-rw-r--r--configure.ac12
3 files changed, 5 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index aae14e249..f1f23bd31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
diff --git a/Src/signals.h b/Src/signals.h
index a9c12679f..0540d4b0b 100644
--- a/Src/signals.h
+++ b/Src/signals.h
@@ -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);
diff --git a/configure.ac b/configure.ac
index 474f0ccee..7073f4e2c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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 \