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
This commit is contained in:
Sven Neumann 2007-08-05 19:39:09 +00:00 committed by Sven Neumann
parent 6fd1822662
commit 9dbf9d5af3
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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)