diff options
author | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:23:02 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:23:02 +0000 |
commit | 6db339b3d7a391f196e7c4b725a4ed0bd00f31cf (patch) | |
tree | 7d6fed976b72694d61fc595a745d394e1cd6e1a5 /configure.ac | |
parent | Adding upstream version 0.5.1 (diff) | |
download | w3m-upstream/0.5.2.tar.gz w3m-upstream/0.5.2.zip |
Adding upstream version 0.5.2upstream/0.5.2
Diffstat (limited to '')
-rw-r--r-- | configure.ac (renamed from configure.in) | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/configure.in b/configure.ac index 1001fbc..83ddc34 100644 --- a/configure.in +++ b/configure.ac @@ -1,8 +1,8 @@ dnl w3m autoconf dnl Process this file with autoconf to produce a configure script. -AC_INIT(w3m, 0.5.1, ukai@debian.or.jp) +AC_INIT(w3m, 0.5.2, satodai@w3m.jp) PACKAGE=w3m -VERSION=0.5.1 +VERSION=0.5.2 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") AC_DEFINE_UNQUOTED(VERSION, "$VERSION") AC_SUBST(PACKAGE) @@ -69,7 +69,6 @@ AC_W3M_HISTORY AC_W3M_ALARM AC_W3M_COOKIE -AC_W3M_DIGEST_AUTH AC_W3M_NNTP AC_W3M_GOPHER @@ -89,7 +88,7 @@ do done AC_W3M_IPv6 -AC_W3M_SSL +AC_W3M_SSL_DIGEST_AUTH dnl Checks for libraries. AC_CHECK_FUNC(sqrt,,[AC_CHECK_LIB(m, sqrt)]) @@ -98,8 +97,10 @@ if test x"$enable_mouse" = xyes; then AC_CHECK_LIB(gpm, Gpm_Open, [AC_DEFINE(USE_GPM) W3M_LIBS="$W3M_LIBS -lgpm"]) AC_SUBST(USE_SYSMOUSE) - AC_TRY_CPP([#include <machine/console.h> - MOUSE_GETINFO], [AC_DEFINE(USE_SYSMOUSE)]) + AC_TRY_CPP([#include <sys/consio.h> + MOUSE_GETINFO], [AC_DEFINE(USE_SYSMOUSE)], + [AC_TRY_CPP([#include <machine/console.h> + MOUSE_GETINFO], [AC_DEFINE(USE_SYSMOUSE)])]) fi AC_SUBST(AUXBIN_TARGETS) AC_W3M_TERMLIB @@ -110,7 +111,7 @@ AC_DEFINE(AUXBIN_TARGETS, "$AUXBIN_TARGETS") AC_SUBST(USE_BINMODE_STREAM) case "$host_os" in - *cygwin*) + *cygwin*|*os2-emx*|*mingw*) AC_DEFINE(USE_BINMODE_STREAM) ;; esac @@ -148,6 +149,13 @@ AC_CHECK_FUNCS(strcasecmp strcasestr strchr memcpy strerror bcopy setpgrp chdir AC_FUNC_STRFTIME AC_FUNC_WAIT3 AC_FUNC_SETPGRP +case "$host_os" in + *cygwin*) + ;; + *) + AM_LANGINFO_CODESET + ;; +esac AC_W3M_SYS_ERRLIST AC_W3M_SIGSETJMP AC_W3M_SIGNAL |