Commit 9dbf9d5a authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

don't build linux-input controller module if KEY_OK is undefined (bug

2007-08-05  Sven Neumann  <sven@gimp.org>

	* configure.in: don't build linux-input controller module if
	KEY_OK is undefined (bug #463729).


svn path=/trunk/; revision=23120
parent 6fd18226
2007-08-05 Sven Neumann <sven@gimp.org>
* configure.in: don't build linux-input controller module if
KEY_OK is undefined (bug #463729).
2007-08-05 Hans Breuer <hans@breuer.org>
* **/makefile.msc app/gimpcore.def : updated msvc build
......@@ -1392,7 +1392,11 @@ AC_ARG_WITH(linux-input, [ --without-linux-input don't build linux input even
have_linux_input=no
if test "x$with_linux_input" != "xno"; then
AC_CHECK_HEADER(linux/input.h, have_linux_input=yes)
AC_CHECK_HEADER(linux/input.h,
AC_CHECK_DECL(KEY_OK,
have_linux_input=yes,
have_linux_input="no (needs Linux 2.6)",
includes=[linux/input.h]))
fi
AM_CONDITIONAL(HAVE_LINUX_INPUT, test $have_linux_input = yes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment