diff options
author | Dai Sato <satodai@w3m.jp> | 2007-05-29 12:17:14 +0000 |
---|---|---|
committer | Dai Sato <satodai@w3m.jp> | 2007-05-29 12:17:14 +0000 |
commit | d4152b113b6bd2d13ec598a3b87e04dbcde002ec (patch) | |
tree | 4c85b9107628efa77847a04916c0c3cbce5ccbd7 /configure.ac | |
parent | delete unused macros, change void to static void. [w3m-dev 04260] (diff) | |
download | w3m-d4152b113b6bd2d13ec598a3b87e04dbcde002ec.tar.gz w3m-d4152b113b6bd2d13ec598a3b87e04dbcde002ec.zip |
unbreak sysmouse support. [w3m-dev 04262]
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 29370a4..a2ee3dc 100644 --- a/configure.ac +++ b/configure.ac @@ -97,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 |