diff options
author | Dai Sato <satodai@w3m.jp> | 2006-04-05 14:18:53 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2006-04-05 14:18:53 +0000 |
commit | bc7f9c90263523dc9c19c63c520cbc8f46c3cbdb (patch) | |
tree | e7632ff276fbfed9e41e487bad1375f46c1f4fa7 /aclocal.m4 | |
parent | replace pclose passed to localcgi_post/get() with fclose in openURL() (diff) | |
download | w3m-bc7f9c90263523dc9c19c63c520cbc8f46c3cbdb.tar.gz w3m-bc7f9c90263523dc9c19c63c520cbc8f46c3cbdb.zip |
apply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -82,6 +82,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], @@ -890,6 +902,31 @@ AC_DEFUN([AC_W3M_SIGNAL], 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 <sys/socket.h>], +[ 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"])]) + # lib-prefix.m4 serial 3 (gettext-0.13) dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU |