Ticket #1419: ./configure issue: GPM-related

configure.ac: terminate with error if gpm not found and
    --with-gpm-mouse option used

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
This commit is contained in:
Stan. S. Krupoderov 2009-09-23 19:56:02 +04:00
parent ea631fa018
commit 8cbc12fbb9

View File

@ -325,8 +325,12 @@ linux*)
[Define to enable gpm mouse support on Linux])
mouse_lib="gpm and xterm"
MCLIBS="$MCLIBS -lgpm"],
[AC_MSG_WARN([libgpm is missing or older than 0.18])
])
if test "x$with_gpm_mouse" = "xyes"; then
[AC_MSG_ERROR([libgpm is missing or older than 0.18])]
else
[AC_MSG_WARN([libgpm is missing or older than 0.18])]
fi
)
fi
;;
esac