diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2020-11-22 12:42:15 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2020-11-22 12:42:15 +0000 |
commit | c76a188ea800cda935999196fa7c9d9e733e6ee0 (patch) | |
tree | 01e63c3972f5c4d3ccab2340794c65ce1f5f93f9 | |
parent | Fix compilation error "too few arguments to function 'longjmp'" (diff) | |
download | w3m-c76a188ea800cda935999196fa7c9d9e733e6ee0.tar.gz w3m-c76a188ea800cda935999196fa7c9d9e733e6ee0.zip |
Drop HAVE_SYS_ERRLIST
-rw-r--r-- | acinclude.m4 | 15 | ||||
-rw-r--r-- | config.h.dist | 1 | ||||
-rw-r--r-- | config.h.in | 1 | ||||
-rwxr-xr-x | configure | 24 | ||||
-rw-r--r-- | configure.ac | 1 |
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 @@ -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 |