aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2020-11-22 12:42:15 +0000
committerTatsuya Kinoshita <tats@debian.org>2020-11-22 12:42:15 +0000
commitc76a188ea800cda935999196fa7c9d9e733e6ee0 (patch)
tree01e63c3972f5c4d3ccab2340794c65ce1f5f93f9
parentFix compilation error "too few arguments to function 'longjmp'" (diff)
downloadw3m-c76a188ea800cda935999196fa7c9d9e733e6ee0.tar.gz
w3m-c76a188ea800cda935999196fa7c9d9e733e6ee0.zip
Drop HAVE_SYS_ERRLIST
-rw-r--r--acinclude.m415
-rw-r--r--config.h.dist1
-rw-r--r--config.h.in1
-rwxr-xr-xconfigure24
-rw-r--r--configure.ac1
5 files changed, 0 insertions, 42 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 28a8aa6..b09f4e6 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -860,21 +860,6 @@ if test x"$enable_ipv6" = xyes; then
fi])
#
# ----------------------------------------------------------------
-# AC_W3M_SYS_ERRLIST
-# ----------------------------------------------------------------
-AC_DEFUN([AC_W3M_SYS_ERRLIST],
-[AC_SUBST(HAVE_SYS_ERRLIST)
-AC_MSG_CHECKING(for sys_errlist)
-AC_TRY_COMPILE(
-changequote(<<,>>)dnl
-<<extern char *sys_errlist[];>>,
-<<printf("%s", sys_errlist[0]);>>,
-changequote([,])dnl
-[have_sys_errlist="yes"; AC_DEFINE(HAVE_SYS_ERRLIST)],
-[have_sys_errlist="no"])
-AC_MSG_RESULT($have_sys_errlist)])
-#
-# ----------------------------------------------------------------
# AC_W3M_SIGSETJMP
# ----------------------------------------------------------------
AC_DEFUN([AC_W3M_SIGSETJMP],
diff --git a/config.h.dist b/config.h.dist
index 4d9c119..37aa804 100644
--- a/config.h.dist
+++ b/config.h.dist
@@ -194,7 +194,6 @@ typedef long clen_t;
#define HAVE_STRCASESTR
#define HAVE_STRCHR
#define HAVE_STRERROR
-#define HAVE_SYS_ERRLIST
#define HAVE_BCOPY
#define HAVE_WAITPID
#define HAVE_WAIT3
diff --git a/config.h.in b/config.h.in
index 7c03d3c..e87d6ba 100644
--- a/config.h.in
+++ b/config.h.in
@@ -127,7 +127,6 @@ typedef long clen_t;
#undef HAVE_STRCASESTR
#undef HAVE_STRCHR
#undef HAVE_STRERROR
-#undef HAVE_SYS_ERRLIST
#undef HAVE_BCOPY
#undef HAVE_WAITPID
#undef HAVE_WAIT3
diff --git a/configure b/configure
index 130460b..c43bdcf 100755
--- a/configure
+++ b/configure
@@ -601,7 +601,6 @@ HELP_DIR
SIGNAL_RETURN
RETSIGTYPE
HAVE_SIGSETJMP
-HAVE_SYS_ERRLIST
USE_BINMODE_STREAM
LIBGC
AUXBIN_TARGETS
@@ -8973,29 +8972,6 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
;;
esac
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_errlist" >&5
-$as_echo_n "checking for sys_errlist... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-extern char *sys_errlist[];
-int
-main ()
-{
-printf("%s", sys_errlist[0]);
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- have_sys_errlist="yes"; $as_echo "#define HAVE_SYS_ERRLIST 1" >>confdefs.h
-
-else
- have_sys_errlist="no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_errlist" >&5
-$as_echo "$have_sys_errlist" >&6; }
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
$as_echo_n "checking for sigsetjmp... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
diff --git a/configure.ac b/configure.ac
index 6a6d557..d863255 100644
--- a/configure.ac
+++ b/configure.ac
@@ -161,7 +161,6 @@ case "$host_os" in
AM_LANGINFO_CODESET
;;
esac
-AC_W3M_SYS_ERRLIST
AC_W3M_SIGSETJMP
AC_W3M_SIGNAL