From d4152b113b6bd2d13ec598a3b87e04dbcde002ec Mon Sep 17 00:00:00 2001 From: Dai Sato Date: Tue, 29 May 2007 12:17:14 +0000 Subject: unbreak sysmouse support. [w3m-dev 04262] --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.ac') 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 - MOUSE_GETINFO], [AC_DEFINE(USE_SYSMOUSE)]) + AC_TRY_CPP([#include + MOUSE_GETINFO], [AC_DEFINE(USE_SYSMOUSE)], + [AC_TRY_CPP([#include + MOUSE_GETINFO], [AC_DEFINE(USE_SYSMOUSE)])]) fi AC_SUBST(AUXBIN_TARGETS) AC_W3M_TERMLIB -- cgit v1.2.3