summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index ab2b8b9..3d5a225 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(configure.ac)
-AM_INIT_AUTOMAKE(simple-scan, 2.31.1)
+AM_INIT_AUTOMAKE(simple-scan, 2.31.4)
AM_MAINTAINER_MODE
GNOME_MAINTAINER_MODE_DEFINES
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
@@ -13,7 +13,7 @@ AC_HEADER_STDC
AM_GCONF_SOURCE_2
-GNOME_COMPILE_WARNINGS(yes)
+GNOME_COMPILE_WARNINGS(maximum)
dnl ###########################################################################
dnl Dependencies
@@ -23,11 +23,14 @@ dnl Run-time dependencies:
dnl * gnome-icon-theme
dnl * xdg-utils (for xdg-email)
+GTK_REQUIRED=2.18.0
+
PKG_CHECK_MODULES(SIMPLE_SCAN, [
- gtk+-2.0
+ gtk+-2.0 >= $GTK_REQUIRED
gconf-2.0
gmodule-export-2.0
gthread-2.0
+ zlib
cairo
gdk-pixbuf-2.0
cairo-pdf
@@ -37,6 +40,7 @@ PKG_CHECK_MODULES(SIMPLE_SCAN, [
AC_CHECK_HEADERS([sane/sane.h],[],[AC_MSG_ERROR([SANE not found])])
AC_CHECK_HEADERS([sane/saneopts.h],[],[AC_MSG_ERROR([SANE not found])])
+AC_CHECK_HEADERS([jpeglib.h],[],[AC_MSG_ERROR([libjpeg not found])])
dnl ###########################################################################
dnl Documentation