From bc7f9c90263523dc9c19c63c520cbc8f46c3cbdb Mon Sep 17 00:00:00 2001 From: Dai Sato Date: Wed, 5 Apr 2006 14:18:53 +0000 Subject: apply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006. --- acinclude.m4 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'acinclude.m4') diff --git a/acinclude.m4 b/acinclude.m4 index e10b7ed..7795139 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -70,6 +70,18 @@ test x"$enable_mouse" = xyes && AC_DEFINE(USE_MOUSE) AC_MSG_RESULT($enable_mouse)]) # # ---------------------------------------------------------------- +# AC_W3M_REMOTE +# ---------------------------------------------------------------- +AC_DEFUN([AC_W3M_REMOTE], +[AC_SUBST(USE_MOUSE) +AC_MSG_CHECKING(if remote operation enabled) +AC_ARG_ENABLE(remote, + [ --disable-remote disable remote operation],, + [enable_remote="yes"]) +test x"$enable_remote" = xyes && AC_DEFINE(USE_REMOTE) +AC_MSG_RESULT($enable_remote)]) +# +# ---------------------------------------------------------------- # AC_W3M_COOKIE # ---------------------------------------------------------------- AC_DEFUN([AC_W3M_COOKIE], @@ -877,3 +889,27 @@ AC_DEFUN([AC_W3M_SIGNAL], else AC_DEFINE(SIGNAL_RETURN,return 0) fi]) +# +# ---------------------------------------------------------------- +# AC_W3M_SO_PEERCRED +# ---------------------------------------------------------------- +AC_DEFUN([AC_W3M_SO_PEERCRED], +[AC_SUBST(HAVE_SO_PEERCRED) +AC_MSG_CHECKING(for SO_PEERCRED) +AC_TRY_COMPILE( +[#include ], +[ int sopt = SO_PEERCRED; + exit(sopt);], +[have_so_peercred="yes"; AC_DEFINE(HAVE_SO_PEERCRED)], +[have_so_peercred="no"]) +AC_MSG_RESULT($have_so_peercred)]) +# +# ---------------------------------------------------------------- +# AC_W3M_GETPEEREID +# ---------------------------------------------------------------- +AC_DEFUN([AC_W3M_GETPEEREID], +[AC_SUBST(HAVE_GETPEEREID) +AC_MSG_CHECKING(for getpeereid) +AC_CHECK_FUNC(getpeereid, +[have_getpeereid="yes"; AC_DEFINE(HAVE_GETPEEREID)], +[have_getpeereid="no"])]) -- cgit v1.2.3