diff options
| author | Tom Lane | 2018-12-17 18:50:07 +0000 |
|---|---|---|
| committer | Tom Lane | 2018-12-17 18:50:16 +0000 |
| commit | cc92cca43162c4635e6ab5e7c61f7f8728d56d9a (patch) | |
| tree | 56fc978fa66945a4350e192a89b166f29f2c65c1 /configure.in | |
| parent | ca4103025dfe26eaaf6a500dec9170fbb176eebc (diff) | |
Drop support for getting signal descriptions from sys_siglist[].
It appears that all platforms that have sys_siglist[] also have
strsignal(), making that fallback case in pg_strsignal() dead code.
Getting rid of it allows dropping a configure test, which seems worth
more than providing textual signal descriptions on whatever platforms
might still hypothetically have use for the fallback case.
Discussion: https://postgr.es/m/25758.1544983503@sss.pgh.pa.us
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/configure.in b/configure.in index 4fd6b8fc80..89a0fb2470 100644 --- a/configure.in +++ b/configure.in @@ -1787,14 +1787,6 @@ if test "$PORTNAME" = "cygwin"; then AC_LIBOBJ(dirmod) fi -AC_CHECK_DECLS([sys_siglist], [], [], -[#include <signal.h> -/* NetBSD declares sys_siglist in unistd.h. */ -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif -]) - AC_CHECK_FUNC(syslog, [AC_CHECK_HEADER(syslog.h, [AC_DEFINE(HAVE_SYSLOG, 1, [Define to 1 if you have the syslog interface.])])]) |
