From faf26128359932417787850a389ddfa1bc5bb04b Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Wed, 14 May 2008 18:08:30 +0000 Subject: [PATCH] stuff --- TODO | 14 +++++++++----- configure.in | 12 +++++++++--- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/TODO b/TODO index c5bd6840..f49940a8 100644 --- a/TODO +++ b/TODO @@ -9,15 +9,19 @@ https://sourceforge.net/tracker/index.php?func=detail&aid=1836080&group_id=100050&atid=626186 + + hmm, not clear, we are using + + AM_GLIB_GNU_GETTEXT + + already, isn't that enough? + + do we need AM_GNU_GETTEXT too? check the gnome i18n howto + - docs include figures twice! yuk fixed? not sure, check again -- check for more carefully: don't just test for file-exists, - try compiling a tiny prog - - using icc, for example, breaks some linux headers - - unsharp should work on GREY16? shuld be easy to add GREY16->LABS no, labs is signed short, ranges are all differrent, and the scaling will be diff --git a/configure.in b/configure.in index 8b202583..6a3974fa 100644 --- a/configure.in +++ b/configure.in @@ -284,10 +284,16 @@ if test x"$with_libexif" != "xno"; then fi # Look for linux video +# try a compile as well: if we're using icc the header can break AC_CHECK_HEADER(linux/videodev.h, - AC_DEFINE(HAVE_VIDEODEV,1,[have video4linux 1]),[ - AC_MSG_WARN([linux/videodev.h not found; disabling Linux video support]) -]) + AC_TRY_COMPILE([#include ], [struct video_capability vc;], + with_videodev=yes)) + +if test x"$with_videodev" = x"yes"; then + AC_DEFINE(HAVE_VIDEODEV,1,[have video4linux 1]) +else + AC_MSG_WARN([linux/videodev.h not functional; disabling Linux video support]) +fi # make python binding? AC_ARG_WITH([python], AS_HELP_STRING([--without-python], [build without Python bindings (default: test)]))